{"_id":"@bedrock/config-yaml","_rev":"11-5cc9d3c6e40457db320a5da67dd21391","name":"@bedrock/config-yaml","dist-tags":{"latest":"4.6.0"},"versions":{"3.0.0":{"name":"@bedrock/config-yaml","version":"3.0.0","keywords":["bedrock","yaml"],"author":{"url":"https://digitalbazaar.com","name":"Digital Bazaar, Inc.","email":"support@digitalbazaar.com"},"_id":"@bedrock/config-yaml@3.0.0","maintainers":[{"name":"msporny","email":"msporny@digitalbazaar.com"},{"name":"dlongley","email":"dlongley@digitalbazaar.com"},{"name":"davidlehn","email":"dil@lehn.org"},{"name":"mattcollier","email":"mcollier@digitalbazaar.com"},{"name":"gannan","email":"gannan@digitalbazaar.com"}],"homepage":"https://github.com/digitalbazaar/bedrock-config-yaml","bugs":{"url":"https://github.com/digitalbazaar/bedrock-config-yaml/issues"},"dist":{"shasum":"a3b824233b06ab5c8503f0e49c812d856148728f","tarball":"https://registry.npmjs.org/@bedrock/config-yaml/-/config-yaml-3.0.0.tgz","fileCount":17,"integrity":"sha512-cV3TfFvkCoX/u9Bpqz/kvBIHWnTI6zYv58YfXU1ngqt/GSEEGi0fAdYZwSkvyHQBcak90pIJl3++5CK8VhDVjw==","signatures":[{"sig":"MEYCIQCvTA7Ti0YVC25tb5KyAHltamrpWJZmb1Hx5OeXGZYPJgIhAIfsprKxp0/siFGCzumGQ/WnqB4G3UZHeFeNRf5mymvf","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":16672,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiSxD6ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmpscw//YJbZs4GA/KUG3TtKfQMsGh9rW8ktzECq8t/W5oC8bn+Eowal\r\nRYcqqlNEaS0jBE27tX0HFv1G7ljL1BvoHIhc2rOCfusS/XmGaFScU2J+cwMt\r\nOBwzcj938x77EbVK8l9pVKBLYuwQcTNIhJ0J4Qmz6Yyc6Ks1Hcuc95XfUOkQ\r\n3y03YoR60vAjIbcqZ4IdgcKXkUr7UkKAqIDPus4qCQohdThfRK/1nLCM651r\r\ngVwr+3MmbVvjMY06eN+Ba0/VDG9dW/6AQ/YzLx5eeyOynjB3vY2qlOLH9NC7\r\nSiOl5yRETxAtFDEZctX3lAU03G7myZnHIzQNuvp9uGbGmWZ3+8zykMbR3BSw\r\nIzCn3Kg9HyvKMX0n6Qa4oVxyf9d8vKtONIC4kPsxm3TjLGrNUcWiXRzGizTs\r\n6a5eWaXPKXF8R/dhMx37fG6+O5jOS7kmHw1F036Q/dNdLJyfgPbfu8N9kQY0\r\nOMQOiZcGXDmnZWSi7cp/ygDlJFcRmZTkR8PgsnE+IlFKVSVaxVfUkH+HB1Qb\r\n8x8vbF4msDPkLG1i7xZxHa2BY4g+cLCKxQ5Ki+7J2eIY1cdNcQLLAT1MQE15\r\nra+mKysLSrhbXQRcX5Twq6GCeOYHyM8xXEjX+H8wpfFpThNaSYj8KrgIoPaa\r\nlIPngQtdwEQdFBjsFmC4ajqCogNUXgjN8Lk=\r\n=fvE/\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./lib/index.js","type":"module","gitHead":"047a758136b5da5d8d6f00a625431d5ee29f24bf","scripts":{"lint":"eslint ."},"_npmUser":{"name":"dlongley","email":"dlongley@digitalbazaar.com"},"repository":{"url":"git+https://github.com/digitalbazaar/bedrock-config-yaml.git","type":"git"},"_npmVersion":"6.14.16","description":"Bedrock Config YAML","directories":{"lib":"./lib"},"_nodeVersion":"14.19.1","dependencies":{"js-yaml":"^3.14.0"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^7.13.0","jsdoc-to-markdown":"^7.1.1","eslint-plugin-jsdoc":"^37.9.7","eslint-config-digitalbazaar":"^2.8.0"},"peerDependencies":{"@bedrock/core":"^5.0.0"},"_npmOperationalInternal":{"tmp":"tmp/config-yaml_3.0.0_1649086714668_0.18085122614782856","host":"s3://npm-registry-packages"}},"4.0.0":{"name":"@bedrock/config-yaml","version":"4.0.0","keywords":["bedrock","yaml"],"author":{"url":"https://digitalbazaar.com","name":"Digital Bazaar, Inc.","email":"support@digitalbazaar.com"},"_id":"@bedrock/config-yaml@4.0.0","maintainers":[{"name":"msporny","email":"msporny@digitalbazaar.com"},{"name":"dlongley","email":"dlongley@digitalbazaar.com"},{"name":"davidlehn","email":"dil@lehn.org"},{"name":"mattcollier","email":"mcollier@digitalbazaar.com"},{"name":"gannan","email":"gannan@digitalbazaar.com"}],"homepage":"https://github.com/digitalbazaar/bedrock-config-yaml","bugs":{"url":"https://github.com/digitalbazaar/bedrock-config-yaml/issues"},"dist":{"shasum":"1522150a16f866d3f59579b7b9d7950473bf545a","tarball":"https://registry.npmjs.org/@bedrock/config-yaml/-/config-yaml-4.0.0.tgz","fileCount":17,"integrity":"sha512-DsufTh0wDe5utmk2shcks21b2CFY7+Ifn+I0+Fgg2vEAtPU5R8qjsZzNEfQvhZissRoH8ezEZVW6rDtQRXbA1A==","signatures":[{"sig":"MEYCIQDR1kdOhunAcB13Mmpn8CxKamo7jOUCO8iI26a97NSkuwIhAITa1pkuRfJubnu52n/ISZV56NdBQis4SN9aZ507tftj","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":17700,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJia2NtACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrR6g//ULvuwfSBGOeU2aeIPdm73Djbi0/rci6yWe7vcOxD8AUbzja5\r\n1uS3Fy8fqXUaOjOy87p6dXmvJLybDf5DlyxiH3AZFwlFkgkDG/VpPAnRu0PV\r\nOLVczdP0eJcSD17n3shnw6mXGhghLTYpvwDvkWcRKrwWR9+hZA2VB6sdMmHG\r\nxm5CsXGjlGIHuWG78JNut84jE/JyX2Cnaf4KNcAxnCb6gN3UMAyQISKF9a1Q\r\n+8gUjrj9niI63TwRBNOZ15jy1xxsmbbq6nfDfvBSidjGqF9BWdgTJ7v1upCX\r\n4hcwdSl019jJWzvjnqbtLUEL7O8/ikxGcgcu2fbB9eCa1q6GSkba4N3pOilY\r\neuFso5CGHfVROwdIKPR5ccGMAvk1ISy0psGQH3tFkrErEmN1xL/8wibvs0VB\r\nWRnfOhb5yJN7pGh+uwcrx7eCDDfI9J14bIL2Z0S2tk0JxglXhmTtXZnlbzOb\r\n8wCoZZ5nJrH6jjegX+6/PoZQevw6WjQXKNBUd2OWeSdsBEFy4zrYtXjFQgLc\r\ndJ2tVSp+YFdKNBRzTyrss5VxF1vxnJ7ufWGHytn+tsfSxu92nl06j8gnKqsX\r\nXZX8hj2Y2zbrPS7PEWeqkyYVmgbqCq/xpOqFl4juf2qZEjEEBcojVy7nKfEp\r\nhMGv3FL9DxUSf5ng96lCFvOeg/gXugGJwHA=\r\n=CRjC\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./lib/index.js","type":"module","gitHead":"889701138bd79a3ecf3f85f53b01453164157002","scripts":{"lint":"eslint ."},"_npmUser":{"name":"dlongley","email":"dlongley@digitalbazaar.com"},"repository":{"url":"git+https://github.com/digitalbazaar/bedrock-config-yaml.git","type":"git"},"_npmVersion":"8.5.0","description":"Bedrock Config YAML","directories":{"lib":"./lib"},"_nodeVersion":"16.14.2","dependencies":{"js-yaml":"^3.14.1"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^7.13.0","jsdoc-to-markdown":"^7.1.1","eslint-plugin-jsdoc":"^37.9.7","eslint-config-digitalbazaar":"^2.8.0"},"peerDependencies":{"@bedrock/core":"^6.0.0"},"_npmOperationalInternal":{"tmp":"tmp/config-yaml_4.0.0_1651204973065_0.6362219424147519","host":"s3://npm-registry-packages"}},"4.1.0":{"name":"@bedrock/config-yaml","version":"4.1.0","keywords":["bedrock","yaml"],"author":{"url":"https://digitalbazaar.com","name":"Digital Bazaar, Inc.","email":"support@digitalbazaar.com"},"_id":"@bedrock/config-yaml@4.1.0","maintainers":[{"name":"msporny","email":"msporny@digitalbazaar.com"},{"name":"dlongley","email":"dlongley@digitalbazaar.com"},{"name":"davidlehn","email":"dil@lehn.org"},{"name":"mattcollier","email":"mcollier@digitalbazaar.com"},{"name":"gannan","email":"gannan@digitalbazaar.com"}],"homepage":"https://github.com/digitalbazaar/bedrock-config-yaml","bugs":{"url":"https://github.com/digitalbazaar/bedrock-config-yaml/issues"},"dist":{"shasum":"e681bb146b436d9e7ea6f3148afa10298331c4da","tarball":"https://registry.npmjs.org/@bedrock/config-yaml/-/config-yaml-4.1.0.tgz","fileCount":17,"integrity":"sha512-cQ1atQVHoPh2pH0nHPUC80Az+6COw8JxF3czvCorork1Pz5XfnwpnqZ6g8A6mqw08bfkE/URQT8/14y0AsArMQ==","signatures":[{"sig":"MEQCIHcGurPe3xILO2nj8Pq1ho8s49dyz0v4XBGZZwJ9TAImAiAs+44Ziwl+2yIb0HGRX0RagmwEhhpVxzPBmsjXldemaw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":19524},"main":"./lib/index.js","type":"module","gitHead":"b217f9a300e68be33d813eccb12ea7d7af132683","scripts":{"lint":"eslint ."},"_npmUser":{"name":"mattcollier","email":"mcollier@digitalbazaar.com"},"repository":{"url":"git+https://github.com/digitalbazaar/bedrock-config-yaml.git","type":"git"},"_npmVersion":"10.2.4","description":"Bedrock Config YAML","directories":{"lib":"./lib"},"_nodeVersion":"20.11.1","dependencies":{"js-yaml":"^3.14.1"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^7.13.0","jsdoc-to-markdown":"^7.1.1","eslint-plugin-jsdoc":"^37.9.7","eslint-config-digitalbazaar":"^2.8.0"},"peerDependencies":{"@bedrock/core":"^6.0.0"},"_npmOperationalInternal":{"tmp":"tmp/config-yaml_4.1.0_1708786526416_0.07013537496913358","host":"s3://npm-registry-packages"}},"4.2.0":{"name":"@bedrock/config-yaml","version":"4.2.0","keywords":["bedrock","yaml"],"author":{"url":"https://digitalbazaar.com","name":"Digital Bazaar, Inc.","email":"support@digitalbazaar.com"},"license":"Apache-2.0","_id":"@bedrock/config-yaml@4.2.0","maintainers":[{"name":"msporny","email":"msporny@digitalbazaar.com"},{"name":"dlongley","email":"dlongley@digitalbazaar.com"},{"name":"davidlehn","email":"dil@lehn.org"},{"name":"mattcollier","email":"mcollier@digitalbazaar.com"},{"name":"gannan","email":"gannan@digitalbazaar.com"}],"homepage":"https://github.com/digitalbazaar/bedrock-config-yaml","bugs":{"url":"https://github.com/digitalbazaar/bedrock-config-yaml/issues"},"dist":{"shasum":"aae222c47e402e7e62fd0f6949aedd29eb44ec1e","tarball":"https://registry.npmjs.org/@bedrock/config-yaml/-/config-yaml-4.2.0.tgz","fileCount":22,"integrity":"sha512-DZM74V9ofvK4T1Qri+vHdljCYNK7GsPvYK+P4uhjwy3s6EUal2rhGqKqVxasT+8L4Nshdso4L5AQS4T1j/IgsQ==","signatures":[{"sig":"MEUCIF/rU9P/ro5CmP7heoezlE56C2r0MbIuNpBMSThuMQwEAiEAjzfHmldPXnqdK6qX0aymGqmmtEoXRxxhw5ipWditzag=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":42417},"main":"./lib/index.js","type":"module","gitHead":"fbcf39fd7271c848c6da30cc7d4cfdcc70d88623","scripts":{"lint":"eslint ."},"_npmUser":{"name":"dlongley","email":"dlongley@digitalbazaar.com"},"repository":{"url":"git+https://github.com/digitalbazaar/bedrock-config-yaml.git","type":"git"},"_npmVersion":"10.2.4","description":"Bedrock Config YAML","directories":{"lib":"./lib"},"_nodeVersion":"20.11.0","dependencies":{"js-yaml":"^3.14.1"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^7.13.0","jsdoc-to-markdown":"^7.1.1","eslint-plugin-jsdoc":"^37.9.7","eslint-config-digitalbazaar":"^2.8.0"},"peerDependencies":{"@bedrock/core":"^6.0.0"},"_npmOperationalInternal":{"tmp":"tmp/config-yaml_4.2.0_1709153925027_0.9243722578135574","host":"s3://npm-registry-packages"}},"4.3.0":{"name":"@bedrock/config-yaml","version":"4.3.0","keywords":["bedrock","yaml"],"author":{"url":"https://digitalbazaar.com","name":"Digital Bazaar, Inc.","email":"support@digitalbazaar.com"},"license":"Apache-2.0","_id":"@bedrock/config-yaml@4.3.0","maintainers":[{"name":"msporny","email":"msporny@digitalbazaar.com"},{"name":"dlongley","email":"dlongley@digitalbazaar.com"},{"name":"davidlehn","email":"dil@lehn.org"},{"name":"mattcollier","email":"mcollier@digitalbazaar.com"},{"name":"gannan","email":"gannan@digitalbazaar.com"}],"homepage":"https://github.com/digitalbazaar/bedrock-config-yaml","bugs":{"url":"https://github.com/digitalbazaar/bedrock-config-yaml/issues"},"dist":{"shasum":"6df3a6ad5c1f53f4f58f426c267cd31e2fae8920","tarball":"https://registry.npmjs.org/@bedrock/config-yaml/-/config-yaml-4.3.0.tgz","fileCount":22,"integrity":"sha512-IOyUS8R2inO0rSUObIreuHilFeQvosUxmkHpMeMEQ4CPhk9hIrhdbIAenN9Ny2oy0IOgxO1hyH8h1XRfM2JiiA==","signatures":[{"sig":"MEQCICXBxB1CpmF2Qmbt31KbKgaMtn3ZsuP+EM85w+a9bot0AiBQZgppNlq4386VG6VIuMWQCOq6Ex/1jisAYQGxoSFUhw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":43121},"main":"./lib/index.js","type":"module","engines":{"node":">=18"},"gitHead":"2305b175b6765201ddb378e641ef3f04110416bf","scripts":{"lint":"eslint ."},"_npmUser":{"name":"mattcollier","email":"mcollier@digitalbazaar.com"},"repository":{"url":"git+https://github.com/digitalbazaar/bedrock-config-yaml.git","type":"git"},"_npmVersion":"10.5.0","description":"Bedrock Config YAML","directories":{"lib":"./lib"},"_nodeVersion":"20.12.1","dependencies":{"js-yaml":"^4.1.0"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^8.57.0","jsdoc-to-markdown":"^8.0.1","eslint-plugin-jsdoc":"^48.2.0","eslint-plugin-unicorn":"^51.0.1","eslint-config-digitalbazaar":"^5.0.1"},"peerDependencies":{"@bedrock/core":"^6.0.0"},"_npmOperationalInternal":{"tmp":"tmp/config-yaml_4.3.0_1716409610043_0.4873585452657254","host":"s3://npm-registry-packages"}},"4.3.2":{"name":"@bedrock/config-yaml","version":"4.3.2","keywords":["bedrock","yaml"],"author":{"url":"https://digitalbazaar.com","name":"Digital Bazaar, Inc.","email":"support@digitalbazaar.com"},"license":"Apache-2.0","_id":"@bedrock/config-yaml@4.3.2","maintainers":[{"name":"msporny","email":"msporny@digitalbazaar.com"},{"name":"dlongley","email":"dlongley@digitalbazaar.com"},{"name":"davidlehn","email":"dil@lehn.org"},{"name":"mattcollier","email":"mcollier@digitalbazaar.com"},{"name":"gannan","email":"gannan@digitalbazaar.com"}],"homepage":"https://github.com/digitalbazaar/bedrock-config-yaml","bugs":{"url":"https://github.com/digitalbazaar/bedrock-config-yaml/issues"},"dist":{"shasum":"85ca8cddf43fe0665a08f559682a3166b3e3faae","tarball":"https://registry.npmjs.org/@bedrock/config-yaml/-/config-yaml-4.3.2.tgz","fileCount":23,"integrity":"sha512-t4UeYyXVvaCqAq73lMYmaVm8GsiQCG+uG19sv5GJWTzmri1luNBxLEhPbfgqz6wIvWKwUV93xN8dhq8g1xcLqg==","signatures":[{"sig":"MEUCIBYtS+ACsvH4/vy5Xkk06UgcwVjqvEPnbPvNGbiaAo5FAiEAwUU6ayDG68p6c9cs012UROrNGlJh9flXN9HhrxS/xFE=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":45021},"main":"./lib/index.js","type":"module","engines":{"node":">=18"},"gitHead":"083ddbb3a03d6e6eb9e64e6b966a06ed1194e948","scripts":{"lint":"eslint ."},"_npmUser":{"name":"davidlehn","email":"dil@lehn.org"},"repository":{"url":"git+https://github.com/digitalbazaar/bedrock-config-yaml.git","type":"git"},"_npmVersion":"10.8.2","description":"Bedrock Config YAML","directories":{"lib":"./lib"},"_nodeVersion":"20.13.0","dependencies":{"js-yaml":"^4.1.0"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^8.57.0","jsdoc-to-markdown":"^8.0.1","eslint-plugin-jsdoc":"^48.2.0","eslint-plugin-unicorn":"^51.0.1","eslint-config-digitalbazaar":"^5.0.1"},"peerDependencies":{"@bedrock/core":"^6.0.0"},"_npmOperationalInternal":{"tmp":"tmp/config-yaml_4.3.2_1738884512277_0.9733771396508313","host":"s3://npm-registry-packages-npm-production"}},"4.3.3":{"name":"@bedrock/config-yaml","version":"4.3.3","keywords":["bedrock","yaml"],"author":{"url":"https://digitalbazaar.com","name":"Digital Bazaar, Inc.","email":"support@digitalbazaar.com"},"license":"Apache-2.0","_id":"@bedrock/config-yaml@4.3.3","maintainers":[{"name":"msporny","email":"msporny@digitalbazaar.com"},{"name":"dlongley","email":"dlongley@digitalbazaar.com"},{"name":"davidlehn","email":"dil@lehn.org"},{"name":"mattcollier","email":"mcollier@digitalbazaar.com"},{"name":"gannan","email":"gannan@digitalbazaar.com"}],"homepage":"https://github.com/digitalbazaar/bedrock-config-yaml","bugs":{"url":"https://github.com/digitalbazaar/bedrock-config-yaml/issues"},"dist":{"shasum":"841b0304d557d39403498ae63b6ae920eda32693","tarball":"https://registry.npmjs.org/@bedrock/config-yaml/-/config-yaml-4.3.3.tgz","fileCount":23,"integrity":"sha512-We6FGcwjys+Z/05myUO/vzCsOuo0qci4ZLZOV5dCTi+5qBnLB/9NrVZyThvk7flhR7Vo+Qykan31NFsEndFJQQ==","signatures":[{"sig":"MEUCIQDnesbL8UheE4S817W+8J7fhDsNyVWvPtPMEP4VoJQ03AIgIX1lsGw74hm+gac91ULCK4Y5QAMtLY0W8l12BIeADC0=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":47861},"main":"./lib/index.js","type":"module","engines":{"node":">=18"},"gitHead":"4bbfd781a510afe5308c3da8e908664449e4816e","scripts":{"lint":"eslint ."},"_npmUser":{"name":"dlongley","email":"dlongley@digitalbazaar.com"},"repository":{"url":"git+https://github.com/digitalbazaar/bedrock-config-yaml.git","type":"git"},"_npmVersion":"10.9.1","description":"Bedrock Config YAML","directories":{"lib":"./lib"},"_nodeVersion":"22.11.0","dependencies":{"js-yaml":"^4.1.0"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^8.57.0","jsdoc-to-markdown":"^8.0.1","eslint-plugin-jsdoc":"^48.2.0","eslint-plugin-unicorn":"^51.0.1","eslint-config-digitalbazaar":"^5.0.1"},"peerDependencies":{"@bedrock/core":"^6.0.0"},"_npmOperationalInternal":{"tmp":"tmp/config-yaml_4.3.3_1738946989571_0.871018969770293","host":"s3://npm-registry-packages-npm-production"}},"4.4.0":{"name":"@bedrock/config-yaml","version":"4.4.0","keywords":["bedrock","yaml"],"author":{"url":"https://digitalbazaar.com","name":"Digital Bazaar, Inc.","email":"support@digitalbazaar.com"},"license":"Apache-2.0","_id":"@bedrock/config-yaml@4.4.0","maintainers":[{"name":"msporny","email":"msporny@digitalbazaar.com"},{"name":"dlongley","email":"dlongley@digitalbazaar.com"},{"name":"davidlehn","email":"dil@lehn.org"},{"name":"gannan","email":"gannan@digitalbazaar.com"}],"homepage":"https://github.com/digitalbazaar/bedrock-config-yaml","bugs":{"url":"https://github.com/digitalbazaar/bedrock-config-yaml/issues"},"dist":{"shasum":"1683ffac4e18a238b2a0a5169fe9a4bcc07be38c","tarball":"https://registry.npmjs.org/@bedrock/config-yaml/-/config-yaml-4.4.0.tgz","fileCount":8,"integrity":"sha512-PxWJ4bR/PDq0imz8i+TGAQgU5kUI8NDMN51T+hNEMIoxLPteODQu2UEWOfzSP6ZLpK/aEkpbtXJM0exw961z3w==","signatures":[{"sig":"MEYCIQDb11B7UlhCpHDVRtvW2qv046K8vll41lfKf06TkAt7MAIhAJCucgL1EZXfZcdCoiCIK2gReEpbnsn74mo+oEklQmH3","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":33344},"main":"./lib/index.js","type":"module","engines":{"node":">=22"},"gitHead":"da63fe9c5c36dc1fcdaaddcccceb0b0bf528b2cf","scripts":{"lint":"eslint ."},"_npmUser":{"name":"davidlehn","email":"dil@lehn.org"},"repository":{"url":"git+https://github.com/digitalbazaar/bedrock-config-yaml.git","type":"git"},"_npmVersion":"11.17.0","description":"Bedrock Config YAML","directories":{"lib":"./lib"},"_nodeVersion":"24.17.0","dependencies":{"js-yaml":"^4.2.0"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^10.5.0","@digitalbazaar/eslint-config":"^9.0.0"},"peerDependencies":{"@bedrock/core":"^6.3.0"},"_npmOperationalInternal":{"tmp":"tmp/config-yaml_4.4.0_1782236550944_0.3810751449353744","host":"s3://npm-registry-packages-npm-production"}},"4.5.0":{"name":"@bedrock/config-yaml","version":"4.5.0","keywords":["bedrock","yaml"],"author":{"url":"https://digitalbazaar.com","name":"Digital Bazaar, Inc.","email":"support@digitalbazaar.com"},"license":"Apache-2.0","_id":"@bedrock/config-yaml@4.5.0","maintainers":[{"name":"msporny","email":"msporny@digitalbazaar.com"},{"name":"dlongley","email":"dlongley@digitalbazaar.com"},{"name":"davidlehn","email":"dil@lehn.org"},{"name":"gannan","email":"gannan@digitalbazaar.com"}],"homepage":"https://github.com/digitalbazaar/bedrock-config-yaml","bugs":{"url":"https://github.com/digitalbazaar/bedrock-config-yaml/issues"},"dist":{"shasum":"f2d22ed3c42e1d869c36b395652f45351c901a23","tarball":"https://registry.npmjs.org/@bedrock/config-yaml/-/config-yaml-4.5.0.tgz","fileCount":8,"integrity":"sha512-5HPZdz+1RngqTTswjU5dBFdacbQprZDwF2IxPzejZDgQU/WM5dVNNez1YKGe/lsjJ54ceBIbVchmNFYt3DtKFQ==","signatures":[{"sig":"MEQCIGfGQRth/lqzA1qR+RO5HPGioEShbSdXEacBH1QhBFQkAiBXgVBMWeeTl/1b/knToZOKNqBjsMpF9k5anILIK1fgww==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":35700},"main":"./lib/index.js","type":"module","engines":{"node":">=22"},"gitHead":"8560000237343e2d37893cf9fd5f9923b19b4014","scripts":{"lint":"eslint ."},"_npmUser":{"name":"davidlehn","email":"dil@lehn.org"},"repository":{"url":"git+https://github.com/digitalbazaar/bedrock-config-yaml.git","type":"git"},"_npmVersion":"11.17.0","description":"Bedrock Config YAML","directories":{"lib":"./lib"},"_nodeVersion":"24.17.0","dependencies":{"js-yaml":"^4.2.0"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^10.5.0","@digitalbazaar/eslint-config":"^9.0.0"},"peerDependencies":{"@bedrock/core":"^6.3.0"},"_npmOperationalInternal":{"tmp":"tmp/config-yaml_4.5.0_1785373773285_0.06360390480952405","host":"s3://npm-registry-packages-npm-production"}},"4.6.0":{"name":"@bedrock/config-yaml","version":"4.6.0","type":"module","description":"Bedrock Config YAML","license":"Apache-2.0","main":"./lib/index.js","scripts":{"lint":"eslint ."},"repository":{"type":"git","url":"git+https://github.com/digitalbazaar/bedrock-config-yaml.git"},"keywords":["bedrock","yaml"],"author":{"name":"Digital Bazaar, Inc.","email":"support@digitalbazaar.com","url":"https://digitalbazaar.com"},"bugs":{"url":"https://github.com/digitalbazaar/bedrock-config-yaml/issues"},"homepage":"https://github.com/digitalbazaar/bedrock-config-yaml","dependencies":{"js-yaml":"^4.2.0"},"peerDependencies":{"@bedrock/core":"^6.3.0"},"directories":{"lib":"./lib"},"devDependencies":{"@digitalbazaar/eslint-config":"^9.0.0","eslint":"^10.5.0"},"engines":{"node":">=22"},"gitHead":"e3138fdc52b5588498dd016bfe00ca26eaf1575f","_id":"@bedrock/config-yaml@4.6.0","_nodeVersion":"24.17.0","_npmVersion":"11.17.0","dist":{"integrity":"sha512-Rlb2hPQYoxk5c6UbDnkRLboBcF3GaXS1Ukgv6DYvuJZZHNwCSrt+5987g8xbX3ej21ATS7XiJDWlOmC+5uR8vg==","shasum":"d9151cba96a74e7144c6431abc298fb405e38daf","tarball":"https://registry.npmjs.org/@bedrock/config-yaml/-/config-yaml-4.6.0.tgz","fileCount":11,"unpackedSize":62360,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIGo7ibEErhBM0xKS38bT04XjIT+UWUr01x2UFC7xJvSvAiEAjlNXVC4ZvWLScfwZN02LMJwHkL97gx1xcRDXWC/TSuU="}]},"_npmUser":{"name":"davidlehn","email":"dil@lehn.org"},"maintainers":[{"name":"msporny","email":"msporny@digitalbazaar.com"},{"name":"dlongley","email":"dlongley@digitalbazaar.com"},{"name":"davidlehn","email":"dil@lehn.org"},{"name":"gannan","email":"gannan@digitalbazaar.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/config-yaml_4.6.0_1787586925016_0.4390294205901848"},"_hasShrinkwrap":false}},"time":{"created":"2022-04-04T15:38:34.569Z","modified":"2026-08-24T15:55:25.353Z","3.0.0":"2022-04-04T15:38:34.785Z","4.0.0":"2022-04-29T04:02:53.214Z","4.1.0":"2024-02-24T14:55:26.572Z","4.2.0":"2024-02-28T20:58:45.241Z","4.3.0":"2024-05-22T20:26:50.232Z","4.3.2":"2025-02-06T23:28:32.484Z","4.3.3":"2025-02-07T16:49:49.727Z","4.4.0":"2026-06-23T17:42:31.085Z","4.5.0":"2026-07-30T01:09:33.438Z","4.6.0":"2026-08-24T15:55:25.170Z"},"bugs":{"url":"https://github.com/digitalbazaar/bedrock-config-yaml/issues"},"author":{"name":"Digital Bazaar, Inc.","email":"support@digitalbazaar.com","url":"https://digitalbazaar.com"},"license":"Apache-2.0","homepage":"https://github.com/digitalbazaar/bedrock-config-yaml","keywords":["bedrock","yaml"],"repository":{"type":"git","url":"git+https://github.com/digitalbazaar/bedrock-config-yaml.git"},"description":"Bedrock Config YAML","maintainers":[{"name":"msporny","email":"msporny@digitalbazaar.com"},{"name":"dlongley","email":"dlongley@digitalbazaar.com"},{"name":"davidlehn","email":"dil@lehn.org"},{"name":"gannan","email":"gannan@digitalbazaar.com"}],"readme":"# Bedrock YAML Configuration _(@bedrock/config-yaml)_\n\nThis module is used to layer a deployment Bedrock configuration defined in\na YAML file onto `bedrock.config`. Values defined in the YAML config may add\nand overwrite values in `bedrock.config`. The YAML configuration is applied\nafter all conventional Bedrock module configuration has been completed. If\nthere is no YAML configuration file found in the location specified by the\n`bedrock-config-yaml` config, Bedrock startup proceeds normally and no\nconfiguration changes are applied.\n\n## Install\n\nThis software requires and supports maintained recent versions of Node.js.\nUpdates may remove support for older unmaintained platform versions. Please use\ndependency version lock files and testing to ensure compatibility with this\nsoftware.\n\n### NPM\n\nTo install via NPM:\n\n```\nnpm install --save @bedrock/config-yaml\n```\n\n### Development\n\nTo install locally (for development):\n\n```\ngit clone https://github.com/digitalbazaar/bedrock-config-yaml.git\ncd bedrock-config-yaml\nnpm install\n```\n\n## Usage\n\nTo ensure that no other module will override the YAML configuration,\n`bedrock-config-yaml` should be the last import before `bedrock.start()` is\ncalled. If `bedrock-config-yaml` is not the last `bedrock-cli.parsed` or\n`bedrock.configure` event handler, an error will be thrown that will prevent\napplication startup.\n\nThere are two separate configuration files that are applied when different\nevents occur during Bedrock startup: `core` and `app`.\n\n### Core Config\n\nThe `core` config is used to configure core Bedrock features such as the\nnumber of workers or the default log formatter. The `core` config is applied by\nthe last handler for the `bedrock-cli.parsed` event.  The default location for\nthe `core` config is: `/etc/bedrock-config/core.yaml`.\n\n#### Sample `core.yaml`\n\n```yaml\ncore:\n  workers: 2\nloggers:\n  console:\n    bedrock:\n      formatter: logstash\n```\n\n### App Config\n\nThe `app` config is used to configure Bedrock application/module features.\nThe `app` config is applied by the last handler for the `bedrock.configure`\nevent. The default location for the `app` config is:\n`/etc/bedrock-config/app.yaml`.\n\n#### Sample `app.yaml`\n\n```yaml\ntest-bedrock-module:\n  foo: fromYaml\n  overwriteMe: fromYaml\nanother-bedrock-module:\n  host: example.com\n  port: 18443\n```\n\n### Loading From Environment Variable\n\nIt is possible to load the config YAML from a `BEDROCK_CONFIG` environment\nvariable. The value is a base64 encoded version of the entire YAML config file.\nIf this variable is found, the filesystem based config setup will be skipped.\n\n### Loading From a Compressed Environment Variable\n\nThe config YAML may also be loaded from a `BEDROCK_CONFIG_GZIP` environment\nvariable. The value is the entire YAML config file, gzipped and then base64\nencoded. This is useful when the config is stored somewhere with a size limit,\nsuch as an AWS Secrets Manager secret, which caps a stored value at 64 KB;\nYAML and PEM text typically compress by roughly 3-4x.\n\nTo produce a value:\n\n```\ngzip -c config.yaml | base64\n```\n\nTo inspect one:\n\n```\necho \"$BEDROCK_CONFIG_GZIP\" | base64 -d | gunzip\n```\n\nOnly one of `BEDROCK_CONFIG_GZIP` or `BEDROCK_CONFIG` may be set. Setting both\nis ambiguous and fails at startup rather than silently ignoring one of them.\n\nThe value is decoded strictly: if `BEDROCK_CONFIG_GZIP` is set but is not valid\ngzip, startup fails with a `BEDROCK_CONFIG_GZIP is invalid` error rather than\nfalling back to `BEDROCK_CONFIG`. When `BEDROCK_CONFIG_GZIP` is unset,\n`BEDROCK_CONFIG` behaves exactly as before.\n\n## Config Value Transformers\n\nA config may compute individual values at load time using *transformers*,\naddressed with a `$NAME` key:\n\n```yaml\ndatabase:\n  password: {$SECRET: 'arn:aws:secretsmanager:us-east-1:123456789012:secret:db-Ab1'}\n  host: {$ENV: DB_HOST}\n  port: {$ENV: {name: DB_PORT, type: number, default: 5432}}\n```\n\nThe same syntax works in JSON, since YAML is a superset of it:\n\n```json\n{\n  \"database\": {\n    \"host\": {\"$ENV\": \"DB_HOST\"},\n    \"port\": {\"$ENV\": {\"name\": \"DB_PORT\", \"type\": \"number\", \"default\": 5432}}\n  }\n}\n```\n\nA directive is an object whose **only** key is `$` followed by the uppercased\nname of a transformer. Only uppercase names are reserved, so `{$ref: ...}`,\n`{$schema: ...}`, and MongoDB-style `{$gt: 5}` remain ordinary config values. A\ndirective key sharing its object with other keys is a mistake and fails the\nload rather than being silently treated as a value.\n\nDirectives are resolved after the config is parsed and before it is merged into\n`bedrock.config`, and may be async, which is what makes remote lookups such as\nthe one above possible. Aside from the built-in `env`, this module ships no\ntransformers; applications provide their own. A config that uses none is parsed\nand merged exactly as before.\n\n### Enabling Transformers\n\nA transformer must be both **registered** in application code and **allowed** by\nthe `config-yaml.transformers.allow` config. Registration is usually a side\neffect of an import; the allow list is what actually turns a transformer on.\nNothing is allowed by default:\n\n```js\nimport * as bedrock from '@bedrock/core';\n// application code that registers `secret`, `ssm`, and `kms-decrypt`\nimport './lib/aws-transformers.js';\nimport '@bedrock/config-yaml';\n\n// only these two may be used by a config; `true` allows all registered\nbedrock.config['config-yaml'].transformers.allow = ['env', 'secret'];\n```\n\nA transformer that is not registered, or not allowed, fails startup rather than\nbeing left in the config as an unresolved object.\n\nA deployment config may set `config-yaml.transformers` itself, so an operator\ncan enable a transformer without an application change:\n\n```yaml\nconfig-yaml:\n  transformers:\n    allow: ['env']\n```\n\nSettings carried by a config are applied before the directives in that same\nconfig are resolved, and a `core` config's settings apply to the `app` config\nthat follows it.\n\nRegistration is therefore the security boundary: a config can enable only\ntransformers the application has already registered, and `env` is the only one\nthis module registers on its own. The allow list is the operational switch over\nthat set.\n\n### Built-in `env` Transformer\n\n`$ENV` reads an environment variable. It is registered by default but, like any\ntransformer, must be added to the allow list before it can be used.\n\n```yaml\nhost: {$ENV: DB_HOST}                        # required; fails if unset\nport: {$ENV: {name: DB_PORT, type: number}}  # string, number, boolean, json\ndebug: {$ENV: {name: DEBUG, type: boolean, default: false}}\n```\n\nValues are strings unless `type` is given, so `{$ENV: WORKERS}` yields `\"2\"`,\nnot `2`. An unset variable with no `default` fails the config load rather than\nsilently becoming `undefined`.\n\n`$ENV` lets whoever controls the config read *any* environment variable and\nplace it anywhere in the config. To narrow that:\n\n```js\nconfig['config-yaml'].transformers.env.allow = ['DB_HOST', /^MYAPP_/];\n```\n\n### Writing a Transformer\n\n```js\nimport {registerTransformer, TransformError} from '@bedrock/config-yaml';\n\nregisterTransformer({\n  name: 'secret',                 // used as `{$SECRET: ...}`\n  kinds: ['scalar', 'mapping'],   // value shapes accepted; default: ['scalar']\n  async transform({value, path, settings, configType, signal}) {\n    return await fetchSecret(value, {signal});\n  }\n});\n```\n\n`transform` receives the directive's value as `value` and may return any value,\nincluding an object that expands into a subtree of config. It may be sync or\nasync, and must be registered before `bedrock.start()` is called. `settings` is\nthis transformer's own config, read from `config-yaml.transformers.<name>` --\nthe same place the built-in `env` reads `env.allow` from.\n\nDirectives may be nested, innermost first, so a transformer always receives\nfully resolved input:\n\n```yaml\napiKey: {$BASE64: {value: {$SECRET: 'arn:aws:secretsmanager:...:b64-key-Ab1'}}}\n```\n\nTransformer errors are reported with the transformer name and config path, never\nthe value; the underlying error is logged at `debug` level instead. A\ntransformer may throw a `TransformError` to add the reason it failed, which must\nnot contain config values or resolved secrets:\n\n```\nFailed to load config: config transformer \"$ENV\" at \"database.host\" requires\nthe \"DB_HOST\" environment variable, which is not set\n```\n\n### Other Settings\n\n```js\n// bounds the whole resolution pass, so a hung lookup fails startup\nconfig['config-yaml'].transformers.timeout = 30000;\n// resolve identical directives, e.g. the same secret, once per load\nconfig['config-yaml'].transformers.cache = true;\n```\n\n## License\n\n[Apache License, Version 2.0](LICENSE) Copyright 2011-2024 Digital Bazaar, Inc.\n\nOther Bedrock libraries are available under a non-commercial license for uses\nsuch as self-study, research, personal projects, or for evaluation purposes.\nSee the\n[Bedrock Non-Commercial License v1.0](https://github.com/digitalbazaar/bedrock/blob/main/LICENSES/LicenseRef-Bedrock-NC-1.0.txt)\nfor details.\n\nCommercial licensing and support are available by contacting\n[Digital Bazaar](https://digitalbazaar.com/) <support@digitalbazaar.com>.\n","readmeFilename":"README.md"}