{"_id":"@probot/octokit-plugin-config","_rev":"2956852","name":"@probot/octokit-plugin-config","description":"Get/set persisted configuration using YAML/JSON files in repositories","dist-tags":{"latest":"1.1.6"},"maintainers":[{"name":"bkeepers","email":""},{"name":"gr2m","email":"gregor@martynus.net"},{"name":"lee-dohm","email":"lee@lee-dohm.com"}],"time":{"modified":"2023-04-27T07:40:14.000Z","created":"2020-09-23T17:50:01.430Z","1.1.6":"2022-07-27T16:52:52.780Z","1.1.5":"2022-02-04T18:54:49.477Z","1.1.4":"2021-11-22T14:45:59.689Z","1.1.3":"2021-10-25T13:57:46.123Z","1.1.2":"2021-08-23T15:45:36.497Z","1.1.1":"2021-07-13T00:56:02.795Z","1.1.0":"2021-05-26T19:32:14.698Z","1.0.5":"2021-04-26T15:44:54.202Z","1.0.4":"2021-04-19T23:20:04.939Z","1.0.3":"2021-01-11T16:34:31.982Z","1.0.2":"2021-01-04T18:38:36.352Z","1.0.1":"2020-12-14T06:54:13.484Z","1.0.0":"2020-09-23T17:50:01.430Z"},"users":{},"repository":{"type":"git","url":"git+https://github.com/probot/octokit-plugin-config.git"},"versions":{"1.1.6":{"name":"@probot/octokit-plugin-config","description":"Get/set persisted configuration using YAML/JSON files in repositories","version":"1.1.6","license":"MIT","pika":true,"sideEffects":false,"keywords":["github","api","sdk","toolkit"],"repository":{"type":"git","url":"git+https://github.com/probot/octokit-plugin-config.git"},"dependencies":{"@types/js-yaml":"^4.0.5","js-yaml":"^4.1.0"},"peerDependencies":{"@octokit/core":">=3"},"devDependencies":{"@octokit/core":"^4.0.4","@pika/pack":"^0.5.0","@pika/plugin-build-node":"^0.9.2","@pika/plugin-build-web":"^0.9.2","@pika/plugin-ts-standard-pkg":"^0.9.2","@types/jest":"^27.4.1","@types/node":"^18.6.1","fetch-mock":"^9.11.0","jest":"^26.6.3","prettier":"^2.7.1","semantic-release":"^19.0.2","semantic-release-plugin-update-version-in-files":"^1.1.0","strip-indent":"^3.0.0","ts-jest":"^26.5.6","typescript":"^4.7.4"},"publishConfig":{"access":"public"},"source":"dist-src/index.js","types":"dist-types/index.d.ts","main":"dist-node/index.js","module":"dist-web/index.js","gitHead":"e05d38cd207513f2fa78d289a0053be9d53a3cbd","bugs":{"url":"https://github.com/probot/octokit-plugin-config/issues"},"homepage":"https://github.com/probot/octokit-plugin-config#readme","_id":"@probot/octokit-plugin-config@1.1.6","_nodeVersion":"16.16.0","_npmVersion":"8.3.0","dist":{"shasum":"c450a746f082c8ec9b6d1a481a71778f7720fa9b","size":13917,"noattachment":false,"key":"/@probot/octokit-plugin-config/-/@probot/octokit-plugin-config-1.1.6.tgz","tarball":"http://registry.cnpm.dingdandao.com/@probot/octokit-plugin-config/download/@probot/octokit-plugin-config-1.1.6.tgz"},"_npmUser":{"name":"probotbot","email":"probotbot@martynus.net"},"directories":{},"maintainers":[{"name":"bkeepers","email":""},{"name":"gr2m","email":"gregor@martynus.net"},{"name":"lee-dohm","email":"lee@lee-dohm.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/octokit-plugin-config_1.1.6_1658940772586_0.34243661219049604"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-07-27T17:04:21.354Z","publish_time":1658940772780,"_cnpm_publish_time":1658940772780},"1.1.5":{"name":"@probot/octokit-plugin-config","description":"Get/set persisted configuration using YAML/JSON files in repositories","version":"1.1.5","license":"MIT","pika":true,"sideEffects":false,"keywords":["github","api","sdk","toolkit"],"repository":{"type":"git","url":"git+https://github.com/probot/octokit-plugin-config.git"},"dependencies":{"@types/js-yaml":"^4.0.5","js-yaml":"^4.1.0"},"peerDependencies":{"@octokit/core":">=3"},"devDependencies":{"@octokit/core":"^3.5.1","@pika/pack":"^0.5.0","@pika/plugin-build-node":"^0.9.2","@pika/plugin-build-web":"^0.9.2","@pika/plugin-ts-standard-pkg":"^0.9.2","@types/jest":"^27.4.0","@types/node":"^17.0.13","fetch-mock":"^9.11.0","jest":"^26.6.3","prettier":"^2.5.1","semantic-release":"^18.0.1","semantic-release-plugin-update-version-in-files":"^1.1.0","strip-indent":"^3.0.0","ts-jest":"^26.5.6","typescript":"^4.5.5"},"publishConfig":{"access":"public"},"source":"dist-src/index.js","types":"dist-types/index.d.ts","main":"dist-node/index.js","module":"dist-web/index.js","gitHead":"bac29d8a0eb0386a66c0d7528318b007c4004e3e","bugs":{"url":"https://github.com/probot/octokit-plugin-config/issues"},"homepage":"https://github.com/probot/octokit-plugin-config#readme","_id":"@probot/octokit-plugin-config@1.1.5","_nodeVersion":"16.13.2","_npmVersion":"7.24.2","dist":{"shasum":"169f6da21261c39443681f16c4b37c294d46a437","size":13921,"noattachment":false,"key":"/@probot/octokit-plugin-config/-/@probot/octokit-plugin-config-1.1.5.tgz","tarball":"http://registry.cnpm.dingdandao.com/@probot/octokit-plugin-config/download/@probot/octokit-plugin-config-1.1.5.tgz"},"_npmUser":{"name":"probotbot","email":"probotbot@martynus.net"},"directories":{},"maintainers":[{"name":"bkeepers","email":""},{"name":"gr2m","email":"gregor@martynus.net"},{"name":"lee-dohm","email":"lee@lee-dohm.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/octokit-plugin-config_1.1.5_1644000889303_0.7849417634891278"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-02-04T18:54:57.269Z","publish_time":1644000889477,"_cnpm_publish_time":1644000889477},"1.1.4":{"name":"@probot/octokit-plugin-config","description":"Get/set persisted configuration using YAML/JSON files in repositories","version":"1.1.4","license":"MIT","pika":true,"sideEffects":false,"keywords":["github","api","sdk","toolkit"],"repository":{"type":"git","url":"git+https://github.com/probot/octokit-plugin-config.git"},"dependencies":{"@types/js-yaml":"^4.0.5","js-yaml":"^4.1.0"},"peerDependencies":{"@octokit/core":">=3"},"devDependencies":{"@octokit/core":"^3.5.1","@pika/pack":"^0.5.0","@pika/plugin-build-node":"^0.9.2","@pika/plugin-build-web":"^0.9.2","@pika/plugin-ts-standard-pkg":"^0.9.2","@types/jest":"^27.0.3","@types/node":"^16.11.7","fetch-mock":"^9.11.0","jest":"^26.6.3","prettier":"^2.4.1","semantic-release":"^18.0.0","semantic-release-plugin-update-version-in-files":"^1.1.0","strip-indent":"^3.0.0","ts-jest":"^26.5.6","typescript":"^4.5.2"},"publishConfig":{"access":"public"},"source":"dist-src/index.js","types":"dist-types/index.d.ts","main":"dist-node/index.js","module":"dist-web/index.js","gitHead":"d3fef12af832ff5f7816f7f72edb7fc9f2edb48d","bugs":{"url":"https://github.com/probot/octokit-plugin-config/issues"},"homepage":"https://github.com/probot/octokit-plugin-config#readme","_id":"@probot/octokit-plugin-config@1.1.4","_nodeVersion":"16.13.0","_npmVersion":"7.22.0","dist":{"shasum":"31516fbc77732c781d64b084c0a0e98fc6ee3ce3","size":13870,"noattachment":false,"key":"/@probot/octokit-plugin-config/-/@probot/octokit-plugin-config-1.1.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/@probot/octokit-plugin-config/download/@probot/octokit-plugin-config-1.1.4.tgz"},"_npmUser":{"name":"probotbot","email":"probotbot@martynus.net"},"directories":{},"maintainers":[{"name":"bkeepers","email":""},{"name":"gr2m","email":"gregor@martynus.net"},{"name":"lee-dohm","email":"lee@lee-dohm.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/octokit-plugin-config_1.1.4_1637592359520_0.07847685881310396"},"_hasShrinkwrap":false,"publish_time":1637592359689,"_cnpm_publish_time":1637592359689,"_cnpmcore_publish_time":"2021-12-16T21:26:19.511Z"},"1.1.3":{"name":"@probot/octokit-plugin-config","description":"Get/set persisted configuration using YAML/JSON files in repositories","version":"1.1.3","license":"MIT","pika":true,"sideEffects":false,"keywords":["github","api","sdk","toolkit"],"repository":{"type":"git","url":"git+https://github.com/probot/octokit-plugin-config.git"},"dependencies":{"@types/js-yaml":"^4.0.4","js-yaml":"^4.1.0"},"peerDependencies":{"@octokit/core":">=3"},"devDependencies":{"@octokit/core":"^3.5.1","@pika/pack":"^0.5.0","@pika/plugin-build-node":"^0.9.2","@pika/plugin-build-web":"^0.9.2","@pika/plugin-ts-standard-pkg":"^0.9.2","@types/jest":"^27.0.2","@types/node":"^16.11.4","fetch-mock":"^9.11.0","jest":"^26.6.3","prettier":"^2.4.1","semantic-release":"^18.0.0","semantic-release-plugin-update-version-in-files":"^1.1.0","strip-indent":"^3.0.0","ts-jest":"^26.5.6","typescript":"^4.4.4"},"publishConfig":{"access":"public"},"source":"dist-src/index.js","types":"dist-types/index.d.ts","main":"dist-node/index.js","module":"dist-web/index.js","gitHead":"78aa6415c5f9cf149edee73da2260ec9dd62514f","bugs":{"url":"https://github.com/probot/octokit-plugin-config/issues"},"homepage":"https://github.com/probot/octokit-plugin-config#readme","_id":"@probot/octokit-plugin-config@1.1.3","_nodeVersion":"16.12.0","_npmVersion":"7.22.0","dist":{"shasum":"279c5fb1c17da5cd3287a88c47e17bc2f3837111","size":13871,"noattachment":false,"key":"/@probot/octokit-plugin-config/-/@probot/octokit-plugin-config-1.1.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/@probot/octokit-plugin-config/download/@probot/octokit-plugin-config-1.1.3.tgz"},"_npmUser":{"name":"probotbot","email":"probotbot@martynus.net"},"directories":{},"maintainers":[{"name":"bkeepers","email":""},{"name":"gr2m","email":"gregor@martynus.net"},{"name":"lee-dohm","email":"lee@lee-dohm.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/octokit-plugin-config_1.1.3_1635170265990_0.9409933865139055"},"_hasShrinkwrap":false,"publish_time":1635170266123,"_cnpm_publish_time":1635170266123,"_cnpmcore_publish_time":"2021-12-16T21:26:19.993Z"},"1.1.2":{"name":"@probot/octokit-plugin-config","description":"Get/set persisted configuration using YAML/JSON files in repositories","version":"1.1.2","license":"MIT","pika":true,"sideEffects":false,"keywords":["github","api","sdk","toolkit"],"repository":{"type":"git","url":"git+https://github.com/probot/octokit-plugin-config.git"},"dependencies":{"@types/js-yaml":"^4.0.3","js-yaml":"^4.1.0"},"peerDependencies":{"@octokit/core":">=3"},"devDependencies":{"@octokit/core":"^3.5.1","@pika/pack":"^0.5.0","@pika/plugin-build-node":"^0.9.2","@pika/plugin-build-web":"^0.9.2","@pika/plugin-ts-standard-pkg":"^0.9.2","@types/jest":"^27.0.1","@types/node":"^16.7.1","fetch-mock":"^9.11.0","jest":"^26.6.3","prettier":"^2.3.2","semantic-release":"^17.4.5","semantic-release-plugin-update-version-in-files":"^1.1.0","strip-indent":"^3.0.0","ts-jest":"^26.5.6","typescript":"^4.3.5"},"publishConfig":{"access":"public"},"source":"dist-src/index.js","types":"dist-types/index.d.ts","main":"dist-node/index.js","module":"dist-web/index.js","bugs":{"url":"https://github.com/probot/octokit-plugin-config/issues"},"homepage":"https://github.com/probot/octokit-plugin-config#readme","_id":"@probot/octokit-plugin-config@1.1.2","_nodeVersion":"12.22.5","_npmVersion":"7.20.3","dist":{"shasum":"78bb5944dd3b4128532f5246c8f472ce5026e4d3","size":13871,"noattachment":false,"key":"/@probot/octokit-plugin-config/-/@probot/octokit-plugin-config-1.1.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/@probot/octokit-plugin-config/download/@probot/octokit-plugin-config-1.1.2.tgz"},"_npmUser":{"name":"probotbot","email":"probotbot@martynus.net"},"directories":{},"maintainers":[{"name":"bkeepers","email":""},{"name":"gr2m","email":"gregor@martynus.net"},{"name":"lee-dohm","email":"lee@lee-dohm.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/octokit-plugin-config_1.1.2_1629733536375_0.8419282519996782"},"_hasShrinkwrap":false,"publish_time":1629733536497,"_cnpm_publish_time":1629733536497,"_cnpmcore_publish_time":"2021-12-16T21:26:20.226Z"},"1.1.1":{"name":"@probot/octokit-plugin-config","description":"Get/set persisted configuration using YAML/JSON files in repositories","version":"1.1.1","license":"MIT","pika":true,"sideEffects":false,"keywords":["github","api","sdk","toolkit"],"repository":{"type":"git","url":"git+https://github.com/probot/octokit-plugin-config.git"},"dependencies":{"@types/js-yaml":"^4.0.2","js-yaml":"^4.1.0"},"peerDependencies":{"@octokit/core":">=3"},"devDependencies":{"@octokit/core":"^3.5.1","@pika/pack":"^0.5.0","@pika/plugin-build-node":"^0.9.2","@pika/plugin-build-web":"^0.9.2","@pika/plugin-ts-standard-pkg":"^0.9.2","@types/jest":"^26.0.23","@types/node":"^16.3.1","fetch-mock":"^9.11.0","jest":"^26.6.3","prettier":"^2.3.2","semantic-release":"^17.4.4","semantic-release-plugin-update-version-in-files":"^1.1.0","strip-indent":"^3.0.0","ts-jest":"^26.5.6","typescript":"^4.3.5"},"publishConfig":{"access":"public"},"source":"dist-src/index.js","types":"dist-types/index.d.ts","main":"dist-node/index.js","module":"dist-web/index.js","bugs":{"url":"https://github.com/probot/octokit-plugin-config/issues"},"homepage":"https://github.com/probot/octokit-plugin-config#readme","_id":"@probot/octokit-plugin-config@1.1.1","_nodeVersion":"12.22.1","_npmVersion":"7.17.0","dist":{"shasum":"c4d8356a1834cf7d55904b00d329576473c167b8","size":13867,"noattachment":false,"key":"/@probot/octokit-plugin-config/-/@probot/octokit-plugin-config-1.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/@probot/octokit-plugin-config/download/@probot/octokit-plugin-config-1.1.1.tgz"},"_npmUser":{"name":"probotbot","email":"probotbot@martynus.net"},"directories":{},"maintainers":[{"name":"bkeepers","email":""},{"name":"gr2m","email":"gregor@martynus.net"},{"name":"lee-dohm","email":"lee@lee-dohm.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/octokit-plugin-config_1.1.1_1626137762603_0.6736892473329206"},"_hasShrinkwrap":false,"publish_time":1626137762795,"_cnpm_publish_time":1626137762795,"_cnpmcore_publish_time":"2021-12-16T21:26:20.511Z"},"1.1.0":{"name":"@probot/octokit-plugin-config","description":"Get/set persisted configuration using YAML/JSON files in repositories","version":"1.1.0","license":"MIT","pika":true,"sideEffects":false,"keywords":["github","api","sdk","toolkit"],"repository":{"type":"git","url":"git+https://github.com/probot/octokit-plugin-config.git"},"dependencies":{"@types/js-yaml":"^4.0.1","js-yaml":"^4.1.0"},"peerDependencies":{"@octokit/core":">=3"},"devDependencies":{"@octokit/core":"^3.4.0","@pika/pack":"^0.5.0","@pika/plugin-build-node":"^0.9.2","@pika/plugin-build-web":"^0.9.2","@pika/plugin-ts-standard-pkg":"^0.9.2","@types/jest":"^26.0.23","@types/node":"^15.6.0","fetch-mock":"^9.11.0","jest":"^26.6.3","prettier":"^2.3.0","semantic-release":"^17.4.3","semantic-release-plugin-update-version-in-files":"^1.1.0","strip-indent":"^3.0.0","ts-jest":"^26.5.6","typescript":"^4.2.4"},"publishConfig":{"access":"public"},"source":"dist-src/index.js","types":"dist-types/index.d.ts","main":"dist-node/index.js","module":"dist-web/index.js","bugs":{"url":"https://github.com/probot/octokit-plugin-config/issues"},"homepage":"https://github.com/probot/octokit-plugin-config#readme","_id":"@probot/octokit-plugin-config@1.1.0","_nodeVersion":"12.22.1","_npmVersion":"7.12.1","dist":{"shasum":"1ff226b35e14d170f084487a952ad5ba49f95c3e","size":13864,"noattachment":false,"key":"/@probot/octokit-plugin-config/-/@probot/octokit-plugin-config-1.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@probot/octokit-plugin-config/download/@probot/octokit-plugin-config-1.1.0.tgz"},"_npmUser":{"name":"probotbot","email":"probotbot@martynus.net"},"directories":{},"maintainers":[{"name":"bkeepers","email":""},{"name":"gr2m","email":"gregor@martynus.net"},{"name":"lee-dohm","email":"lee@lee-dohm.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/octokit-plugin-config_1.1.0_1622057534559_0.5114751925132863"},"_hasShrinkwrap":false,"publish_time":1622057534698,"_cnpm_publish_time":1622057534698,"_cnpmcore_publish_time":"2021-12-16T21:26:20.759Z"},"1.0.5":{"name":"@probot/octokit-plugin-config","description":"Get/set persisted configuration using YAML/JSON files in repositories","version":"1.0.5","license":"MIT","pika":true,"sideEffects":false,"keywords":["github","api","sdk","toolkit"],"repository":{"type":"git","url":"git+https://github.com/probot/octokit-plugin-config.git"},"dependencies":{"@types/js-yaml":"^4.0.1","js-yaml":"^4.1.0"},"peerDependencies":{"@octokit/core":">=3"},"devDependencies":{"@octokit/core":"^3.4.0","@pika/pack":"^0.5.0","@pika/plugin-build-node":"^0.9.2","@pika/plugin-build-web":"^0.9.2","@pika/plugin-ts-standard-pkg":"^0.9.2","@types/jest":"^26.0.22","@types/node":"^14.14.41","fetch-mock":"^9.11.0","jest":"^26.6.3","prettier":"^2.2.1","semantic-release":"^17.4.2","semantic-release-plugin-update-version-in-files":"^1.1.0","strip-indent":"^3.0.0","ts-jest":"^26.5.5","typescript":"^4.2.4"},"publishConfig":{"access":"public"},"source":"dist-src/index.js","types":"dist-types/index.d.ts","main":"dist-node/index.js","module":"dist-web/index.js","bugs":{"url":"https://github.com/probot/octokit-plugin-config/issues"},"homepage":"https://github.com/probot/octokit-plugin-config#readme","_id":"@probot/octokit-plugin-config@1.0.5","_nodeVersion":"12.22.1","_npmVersion":"6.14.11","dist":{"shasum":"726f99d2fbfa22fa0832c633fd47f64ebee46f8d","size":13940,"noattachment":false,"key":"/@probot/octokit-plugin-config/-/@probot/octokit-plugin-config-1.0.5.tgz","tarball":"http://registry.cnpm.dingdandao.com/@probot/octokit-plugin-config/download/@probot/octokit-plugin-config-1.0.5.tgz"},"_npmUser":{"name":"probotbot","email":"probotbot@martynus.net"},"directories":{},"maintainers":[{"name":"bkeepers","email":""},{"name":"gr2m","email":"gregor@martynus.net"},{"name":"lee-dohm","email":"lee@lee-dohm.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/octokit-plugin-config_1.0.5_1619451894072_0.7992185363912447"},"_hasShrinkwrap":false,"publish_time":1619451894202,"_cnpm_publish_time":1619451894202,"_cnpmcore_publish_time":"2021-12-16T21:26:21.076Z"},"1.0.4":{"name":"@probot/octokit-plugin-config","description":"Get/set persisted configuration using YAML/JSON files in repositories","version":"1.0.4","license":"MIT","pika":true,"sideEffects":false,"keywords":["github","api","sdk","toolkit"],"repository":{"type":"git","url":"git+https://github.com/probot/octokit-plugin-config.git"},"dependencies":{"@types/js-yaml":"^4.0.0","js-yaml":"^4.1.0"},"peerDependencies":{"@octokit/core":">=3"},"devDependencies":{"@octokit/core":"^3.4.0","@pika/pack":"^0.5.0","@pika/plugin-build-node":"^0.9.2","@pika/plugin-build-web":"^0.9.2","@pika/plugin-ts-standard-pkg":"^0.9.2","@types/jest":"^26.0.22","@types/node":"^14.14.41","fetch-mock":"^9.11.0","jest":"^26.6.3","prettier":"^2.2.1","semantic-release":"^17.4.2","semantic-release-plugin-update-version-in-files":"^1.1.0","strip-indent":"^3.0.0","ts-jest":"^26.5.5","typescript":"^4.2.4"},"publishConfig":{"access":"public"},"source":"dist-src/index.js","types":"dist-types/index.d.ts","main":"dist-node/index.js","module":"dist-web/index.js","bugs":{"url":"https://github.com/probot/octokit-plugin-config/issues"},"homepage":"https://github.com/probot/octokit-plugin-config#readme","_id":"@probot/octokit-plugin-config@1.0.4","_nodeVersion":"12.22.1","_npmVersion":"6.14.11","dist":{"shasum":"b10bc78ca782376a5b51f6b7f228597df40a0b5b","size":13941,"noattachment":false,"key":"/@probot/octokit-plugin-config/-/@probot/octokit-plugin-config-1.0.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/@probot/octokit-plugin-config/download/@probot/octokit-plugin-config-1.0.4.tgz"},"_npmUser":{"name":"probotbot","email":"probotbot@martynus.net"},"directories":{},"maintainers":[{"name":"bkeepers","email":""},{"name":"gr2m","email":"gregor@martynus.net"},{"name":"lee-dohm","email":"lee@lee-dohm.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/octokit-plugin-config_1.0.4_1618874404788_0.410790414106303"},"_hasShrinkwrap":false,"publish_time":1618874404939,"_cnpm_publish_time":1618874404939,"_cnpmcore_publish_time":"2021-12-16T21:26:21.330Z"},"1.0.3":{"name":"@probot/octokit-plugin-config","description":"Get/set persisted configuration using YAML/JSON files in repositories","version":"1.0.3","license":"MIT","pika":true,"sideEffects":false,"keywords":["github","api","sdk","toolkit"],"repository":{"type":"git","url":"git+https://github.com/probot/octokit-plugin-config.git"},"dependencies":{"@types/js-yaml":"^4.0.0","js-yaml":"^4.0.0"},"peerDependencies":{"@octokit/core":">=3"},"devDependencies":{"@octokit/core":"^3.2.4","@pika/pack":"^0.5.0","@pika/plugin-build-node":"^0.9.2","@pika/plugin-build-web":"^0.9.2","@pika/plugin-ts-standard-pkg":"^0.9.2","@types/jest":"^26.0.20","@types/node":"^14.14.19","fetch-mock":"^9.11.0","jest":"^26.6.3","prettier":"^2.2.1","semantic-release":"^17.3.1","semantic-release-plugin-update-version-in-files":"^1.1.0","strip-indent":"^3.0.0","ts-jest":"^26.4.4","typescript":"^4.1.3"},"publishConfig":{"access":"public"},"source":"dist-src/index.js","types":"dist-types/index.d.ts","main":"dist-node/index.js","module":"dist-web/index.js","bugs":{"url":"https://github.com/probot/octokit-plugin-config/issues"},"homepage":"https://github.com/probot/octokit-plugin-config#readme","_id":"@probot/octokit-plugin-config@1.0.3","_nodeVersion":"12.20.0","_npmVersion":"6.14.10","dist":{"shasum":"d1f92de83de36bce3fddcc5899bfbbbc71f42fb1","size":13943,"noattachment":false,"key":"/@probot/octokit-plugin-config/-/@probot/octokit-plugin-config-1.0.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/@probot/octokit-plugin-config/download/@probot/octokit-plugin-config-1.0.3.tgz"},"_npmUser":{"name":"probotbot","email":"probotbot@martynus.net"},"directories":{},"maintainers":[{"name":"bkeepers","email":""},{"name":"gr2m","email":"gregor@martynus.net"},{"name":"lee-dohm","email":"lee@lee-dohm.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/octokit-plugin-config_1.0.3_1610382871848_0.5673871880687593"},"_hasShrinkwrap":false,"publish_time":1610382871982,"_cnpm_publish_time":1610382871982,"_cnpmcore_publish_time":"2021-12-16T21:26:21.612Z"},"1.0.2":{"name":"@probot/octokit-plugin-config","description":"Get/set persisted configuration using YAML/JSON files in repositories","version":"1.0.2","license":"MIT","pika":true,"sideEffects":false,"keywords":["github","api","sdk","toolkit"],"repository":{"type":"git","url":"git+https://github.com/probot/octokit-plugin-config.git"},"dependencies":{"@types/js-yaml":"^3.12.5","js-yaml":"^4.0.0"},"peerDependencies":{"@octokit/core":">=3"},"devDependencies":{"@octokit/core":"^3.2.4","@pika/pack":"^0.5.0","@pika/plugin-build-node":"^0.9.2","@pika/plugin-build-web":"^0.9.2","@pika/plugin-ts-standard-pkg":"^0.9.2","@types/jest":"^26.0.19","@types/node":"^14.14.19","fetch-mock":"^9.11.0","jest":"^26.6.3","prettier":"^2.2.1","semantic-release":"^17.3.1","semantic-release-plugin-update-version-in-files":"^1.1.0","strip-indent":"^3.0.0","ts-jest":"^26.4.4","typescript":"^4.1.3"},"publishConfig":{"access":"public"},"source":"dist-src/index.js","types":"dist-types/index.d.ts","main":"dist-node/index.js","module":"dist-web/index.js","bugs":{"url":"https://github.com/probot/octokit-plugin-config/issues"},"homepage":"https://github.com/probot/octokit-plugin-config#readme","_id":"@probot/octokit-plugin-config@1.0.2","_nodeVersion":"12.20.0","_npmVersion":"6.14.10","dist":{"shasum":"110095af105174ead8bbd8c3b0ad979a61a2719a","size":13946,"noattachment":false,"key":"/@probot/octokit-plugin-config/-/@probot/octokit-plugin-config-1.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/@probot/octokit-plugin-config/download/@probot/octokit-plugin-config-1.0.2.tgz"},"_npmUser":{"name":"probotbot","email":"probotbot@martynus.net"},"directories":{},"maintainers":[{"name":"bkeepers","email":""},{"name":"gr2m","email":"gregor@martynus.net"},{"name":"lee-dohm","email":"lee@lee-dohm.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/octokit-plugin-config_1.0.2_1609785516178_0.013954238914551054"},"_hasShrinkwrap":false,"publish_time":1609785516352,"_cnpm_publish_time":1609785516352,"_cnpmcore_publish_time":"2021-12-16T21:26:21.852Z"},"1.0.1":{"name":"@probot/octokit-plugin-config","description":"Get/set persisted configuration using YAML/JSON files in repositories","version":"1.0.1","license":"MIT","pika":true,"sideEffects":false,"keywords":["github","api","sdk","toolkit"],"repository":{"type":"git","url":"git+https://github.com/probot/octokit-plugin-config.git"},"dependencies":{"@types/js-yaml":"^3.12.5","js-yaml":"^3.14.1"},"peerDependencies":{"@octokit/core":">=3"},"devDependencies":{"@octokit/core":"^3.2.4","@pika/pack":"^0.5.0","@pika/plugin-build-node":"^0.9.2","@pika/plugin-build-web":"^0.9.2","@pika/plugin-ts-standard-pkg":"^0.9.2","@types/jest":"^26.0.19","@types/node":"^14.14.10","fetch-mock":"^9.11.0","jest":"^26.6.3","prettier":"^2.2.1","semantic-release":"^17.2.3","semantic-release-plugin-update-version-in-files":"^1.1.0","strip-indent":"^3.0.0","ts-jest":"^26.4.4","typescript":"^4.1.3"},"publishConfig":{"access":"public"},"source":"dist-src/index.js","types":"dist-types/index.d.ts","main":"dist-node/index.js","module":"dist-web/index.js","bugs":{"url":"https://github.com/probot/octokit-plugin-config/issues"},"homepage":"https://github.com/probot/octokit-plugin-config#readme","_id":"@probot/octokit-plugin-config@1.0.1","_nodeVersion":"12.20.0","_npmVersion":"6.14.9","dist":{"shasum":"94b0094f749064ad8b2a2ccbec0f2e262f053cfa","size":13960,"noattachment":false,"key":"/@probot/octokit-plugin-config/-/@probot/octokit-plugin-config-1.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/@probot/octokit-plugin-config/download/@probot/octokit-plugin-config-1.0.1.tgz"},"_npmUser":{"name":"probotbot","email":"probotbot@martynus.net"},"directories":{},"maintainers":[{"name":"bkeepers","email":""},{"name":"gr2m","email":"gregor@martynus.net"},{"name":"lee-dohm","email":"lee@lee-dohm.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/octokit-plugin-config_1.0.1_1607928853312_0.2621519415983222"},"_hasShrinkwrap":false,"publish_time":1607928853484,"_cnpm_publish_time":1607928853484,"_cnpmcore_publish_time":"2021-12-16T21:26:22.170Z"},"1.0.0":{"name":"@probot/octokit-plugin-config","description":"Get/set persisted configuration using YAML/JSON files in repositories","version":"1.0.0","license":"MIT","pika":true,"sideEffects":false,"keywords":["github","api","sdk","toolkit"],"repository":{"type":"git","url":"git+https://github.com/probot/octokit-plugin-config.git"},"dependencies":{"@types/js-yaml":"^3.12.5","js-yaml":"^3.14.0"},"peerDependencies":{"@octokit/core":">=3"},"devDependencies":{"@octokit/core":"^3.1.2","@pika/pack":"^0.5.0","@pika/plugin-build-node":"^0.9.2","@pika/plugin-build-web":"^0.9.2","@pika/plugin-ts-standard-pkg":"^0.9.2","@types/jest":"^26.0.14","@types/node":"^14.11.1","fetch-mock":"^9.10.7","jest":"^26.4.2","prettier":"^2.1.2","semantic-release":"^17.1.2","semantic-release-plugin-update-version-in-files":"^1.1.0","strip-indent":"^3.0.0","ts-jest":"^26.4.0","typescript":"^4.0.3"},"publishConfig":{"access":"public"},"source":"dist-src/index.js","types":"dist-types/index.d.ts","main":"dist-node/index.js","module":"dist-web/index.js","bugs":{"url":"https://github.com/probot/octokit-plugin-config/issues"},"homepage":"https://github.com/probot/octokit-plugin-config#readme","_id":"@probot/octokit-plugin-config@1.0.0","_nodeVersion":"12.18.3","_npmVersion":"6.14.8","dist":{"shasum":"cd902786d2d4031b35a34ba54fa1a6aed03ef1c6","size":13278,"noattachment":false,"key":"/@probot/octokit-plugin-config/-/@probot/octokit-plugin-config-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@probot/octokit-plugin-config/download/@probot/octokit-plugin-config-1.0.0.tgz"},"maintainers":[{"name":"bkeepers","email":""},{"name":"gr2m","email":"gregor@martynus.net"},{"name":"lee-dohm","email":"lee@lee-dohm.com"}],"_npmUser":{"name":"probotbot","email":"probotbot@martynus.net"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/octokit-plugin-config_1.0.0_1600883401162_0.7661261420412295"},"_hasShrinkwrap":false,"publish_time":1600883401430,"_cnpm_publish_time":1600883401430,"_cnpmcore_publish_time":"2021-12-16T21:26:22.381Z"}},"readme":"# octokit-plugin-config\n\n> Get/set persisted configuration using YAML/JSON files in repositories\n\n[![@latest](https://img.shields.io/npm/v/@probot/octokit-plugin-config.svg)](https://www.npmjs.com/package/@probot/octokit-plugin-config)\n[![Build Status](https://github.com/probot/octokit-plugin-config/workflows/Test/badge.svg)](https://github.com/probot/octokit-plugin-config/actions?query=workflow%3ATest+branch%3Amain)\n[![Dependabot Status](https://api.dependabot.com/badges/status?host=github&repo=probot/octokit-plugin-config)](https://dependabot.com/)\n\nBy default, this plugin loads configuration from a given repository file. If the file doesn't exist, it loads configuration from the same path in the same owner's `.github` repository.\n\nConfiguration can be extended across multiple files using [the `_extends` key](#extends).\n\n## Usage\n\n<table>\n<tbody valign=top align=left>\n<tr><th>\n\nBrowsers\n\n</th><td width=100%>\n\nLoad `@probot/octokit-plugin-config` and [`@octokit/core`](https://github.com/octokit/core.js) (or core-compatible module) directly from [cdn.pika.dev](https://cdn.pika.dev)\n\n```html\n<script type=\"module\">\n  import { Octokit } from \"https://cdn.pika.dev/@octokit/core\";\n  import {\n    config,\n    composeConfigGet,\n  } from \"https://cdn.pika.dev/@probot/octokit-plugin-config\";\n</script>\n```\n\n</td></tr>\n<tr><th>\n\nNode\n\n</th><td>\n\nInstall with `npm install @octokit/core @probot/octokit-plugin-config`. Optionally replace `@octokit/core` with a compatible module\n\n```js\nconst { Octokit } = require(\"@octokit/core\");\nconst { config, composeConfigGet } = require(\"@probot/octokit-plugin-config\");\n```\n\n</td></tr>\n</tbody>\n</table>\n\n```js\n// given that `.github/my-app.yml` in `octocat/hello-world` has the following ocntent\n//\n// comment: 'Thank you for creating the issue!'\n//\nconst { config } = await octokit.config.get({\n  owner: \"octocat\",\n  repo: \"hello-world\",\n  path: \".github/my-app.yml\",\n});\n// config is now { comment: \"Thank you for creating the issue!\" }\n\n// all options and returns\nconst { config, files } = await octokit.config.get({\n  owner: \"octocat\",\n  repo: \"hello-world\",\n  path: \".github/my-app.yml\",\n  defaults: {\n    comment: \"Thank you for creating the issue!\",\n  },\n  branch: \"develop\",\n});\n// files is an array of { owner, repo, path, config } objects\n```\n\n## Options\n\n<table>\n  <thead align=left>\n    <tr>\n      <th>\n        option\n      </th>\n      <th>\n        type\n      </th>\n      <th width=100%>\n        description\n      </th>\n    </tr>\n  </thead>\n  <tbody align=left valign=top>\n    <tr>\n      <th><code>owner</code></th>\n      <td>String</td>\n      <td>\n        <strong>Required.</strong> Repository owner login.\n      </td>\n    </tr>\n    <tr>\n      <th><code>repo</code></th>\n      <td>String</td>\n      <td>\n        <strong>Required.</strong> Repository name.\n      </td>\n    </tr>\n    <tr>\n      <th><code>path</code></th>\n      <td>String</td>\n      <td>\n        <strong>Required.</strong> Path of the configuration file. Supported file extensions are <code>.yml</code>, <code>.yaml</code>, and <code>.json</code>.\n      </td>\n    </tr>\n    <tr>\n      <th><code>defaults</code></th>\n      <td>String</td>\n      <td>\n        Default options that are returned if the configuration file does not exist, or merged with the contents if it does exist. Defaults are merged shallowly using <code>Object.assign</code>. For custom merge strategies, you can set <code>defaults</code> to a function, see <a href=\"#custom-configuration-merging\">Merging configuration</a> below for more information. Defaults to <code>{}</code>.\n      </td>\n    </tr>\n    <tr>\n      <th><code>branch</code></th>\n      <td>String</td>\n      <td>\n        Defaults to the repository's default branch. The branch is only used for the provided repository, not for the <code>.github</code> repository or other configurations linked using <a href=\"extends\">the <code>_extends</code> key</a>.\n      </td>\n    </tr>\n  </tbody>\n</table>\n\n<a name=\"extends\"></a>\n\n### The `_extends` key\n\n`octokit.config.get()` supports sharing configs between repositories. If configuration for your app is not available in the target repository, it will be loaded from the `.github` directory of the same owner's `.github` repository.\n\nYou can choose own shared location. Use the `_extends` option in the configuration file to extend settings from another repository.\n\nFor example, given `.github/test.yml`:\n\n```yml\n_extends: github-settings\n# Override values from the extended config or define new values\nname: myrepo\n```\n\nThis configuration will be merged with the `.github/test.yml` file from the `github-settings` repository, which might look like this:\n\n```yml\nshared1: will be merged\nshared2: will also be merged\n```\n\nJust put common configuration keys in a repository within your organization. Then reference this repository from config files with the same name.\n\nYou can also reference configurations from other owners:\n\n```yml\n_extends: other/probot-settings\nother: DDD\n```\n\nAdditionally, you can specify a specific path for the configuration by appending a colon after the project.\n\n```yml\n_extends: probot-settings:.github/other_test.yml\nother: FFF\n```\n\n<a name=\"custom-configuration-merging\"></a>\n\n### Merging configuration\n\nGiven `.github/test.yml`:\n\n```yml\nsettings:\n  one: value from configuration\n```\n\nAnd\n\n```js\nconst { config } = await octokit.config.get({\n  owner,\n  repo,\n  path: \".github/test.yml\",\n  defaults: {\n    settings: {\n      one: \"default value\",\n      two: \"default value\",\n    },\n  },\n});\n```\n\nThe resulting `config` object is\n\n```js\n{\n  settings: {\n    one: \"value from configuration\";\n  }\n}\n```\n\nAnd not as you might expect\n\n```js\n{\n  settings: {\n    one: \"value from configuration\";\n    two: \"default value\";\n  }\n}\n```\n\nThe reason for that behavior is that merging objects deeply is not supported in JavaScript by default, and there are different strategies and many pitfals. There are many libraries that support deep merging in different ways, but instead making that decision for and significantly increasing the bundle size of this plugin, we let you pass a custom merge strategy instead.\n\nIn order to achive the deeply merged configuration, the `defaults` option can be set to a function. The function receives one `configs` argument, which is an array of configurations loaded from files in reverse order, so that the latter items should take precedence over the former items. The `configs` array can have more than one object if [the `_extends` key](#extends) is used.\n\n```js\nconst defaults = {\n  settings: {\n    one: \"default value\",\n    two: \"default value\",\n  },\n};\nconst { config } = await octokit.config.get({\n  owner,\n  repo,\n  path: \".github/test.yml\",\n  defaults(configs) {\n    const allConfigs = [defaults, ...configs];\n    const fileSettingsConfigs = allConfigs.map(\n      (config: Configuration) => config.settings\n    );\n    return Object.assign({}, ...allConfigs, {\n      settings: Object.assign({}, ...fileSettingsConfigs),\n    });\n  },\n});\n```\n\nOr simpler, using a library such as [deepmerge](https://github.com/TehShrike/deepmerge)\n\n```js\nconst { config } = await octokit.config.get({\n  owner,\n  repo,\n  path: \".github/test.yml\",\n  defaults: (configs) => deepmerge.all([defaults, ...configs]),\n});\n```\n\n## Testing\n\nWriting tests for your app's usage of `octokit.config.get` can be tricky. It's tempting to just mock the method directly, e.g. using [a Jest mock function](https://jestjs.io/docs/en/mock-functions)\n\n```js\noctokit.config.get = jest.fn().mockResolvedValue({\n  comment: \"Thank you for creating the issue!\",\n});\n```\n\nThe problem with this approach is that in future releases of `@probot/octokit-plugin-config`, the method name or parameters might change. Before that happens, we will log a deprecation message, to make the upgrade to the next breaking version easier. If all your tests mock the `.config.get()` method, then you won't see this deprecation message. Even worse, your tests will continue to pass, but fail in production, because the mock will revert any future changes to `.config.get()`.\n\nWe recommend you have at least one test that does not mock the method, but instead mocks the http responses. You can achiev that with [nock](https://github.com/nock/nock/) or [fetch-mock](https://github.com/wheresrhys/fetch-mock)\n\n### Testing with `nock`\n\nWith configuration\n\n```js\nasync function myTest() {\n  nock(\"https://api.github.com\")\n    .get(\"/repos/octocat/hello-world/contents/.github%2Fmy-app.yml\")\n    .reply(200, \"comment: Thank you for creating the issue\");\n\n  const octokit = new Octokit();\n\n  const { config } = await octokit.config.get({\n    owner: \"octocat\",\n    repo: \"hello-world\",\n    path: \".github/my-app.yml\",\n  });\n\n  asert.deepStrictEqual(config, {\n    comment: \"Thank you for creating the issue!\",\n  });\n}\n```\n\nWithout configuration\n\n```js\nasync function myTest() {\n  nock(\"https://api.github.com\")\n    .get(\"/repos/octocat/hello-world/contents/.github%2Fmy-app.yml\")\n    .reply(404);\n    .get(\"/repos/octocat/.github/contents/.github%2Fmy-app.yml\")\n    .reply(404);\n\n  const octokit = new Octokit();\n\n  const { config } = await octokit.config.get({\n    owner: \"octocat\",\n    repo: \"hello-world\",\n    path: \".github/my-app.yml\",\n  });\n\n  asert.deepStrictEqual(config, {});\n}\n```\n\n### Testing with `fetch-mock`\n\nWith configuration\n\n```js\nasync function myTest() {\n  const fetch = fetchMock\n    .sandbox()\n    .getOnce(\n      \"https://api.github.com/repos/octocat/hello-world/contents/.github%2Fmy-app.yml\",\n      \"comment: 'Thank you for creating the issue!'\"\n    );\n  const octokit = new TestOctokit({\n    request: { fetch },\n  });\n\n  const { config } = await octokit.config.get({\n    owner: \"octocat\",\n    repo: \"hello-world\",\n    path: \".github/my-app.yml\",\n  });\n\n  asert.deepStrictEqual(config, {\n    comment: \"Thank you for creating the issue!\",\n  });\n}\n```\n\nWithout configuration\n\n```js\nasync function myTest() {\n  const fetch = fetchMock\n    .sandbox()\n    .getOnce(\n      \"https://api.github.com/repos/octocat/hello-world/contents/.github%2Fmy-app.yml\",\n      404\n    );\n    .getOnce(\n      \"https://api.github.com/repos/octocat/.github/contents/.github%2Fmy-app.yml\",\n      404\n    );\n  const octokit = new TestOctokit({\n    request: { fetch },\n  });\n\n  const { config } = await octokit.config.get({\n    owner: \"octocat\",\n    repo: \"hello-world\",\n    path: \".github/my-app.yml\",\n  });\n\n  asert.deepStrictEqual(config, {});\n}\n```\n\n## Contributing\n\nSee [CONTRIBUTING.md](CONTRIBUTING.md)\n\n## Credits\n\nThe idea for this plugin and some of its code was extracted from [Probot](https://probot.github.io/). It originated as [probot-config](https://github.com/probot/probot-config), created by [Jan Michael Auer](https://github.com/jan-auer) and was later merged into [`probot`](https://github.com/probot/probot).\n\n## License\n\n[ISC](LICENSE)\n","_attachments":{},"homepage":"https://github.com/probot/octokit-plugin-config#readme","bugs":{"url":"https://github.com/probot/octokit-plugin-config/issues"},"license":"MIT"}