@powerlines/plugin-env 0.16.66 → 0.16.68
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/_virtual/_rolldown/runtime.cjs +0 -2
- package/dist/_virtual/_rolldown/runtime.mjs +2 -31
- package/dist/babel/plugin.cjs +83 -11
- package/dist/babel/plugin.mjs +83 -11
- package/dist/babel/plugin.mjs.map +1 -1
- package/dist/components/env-builtin.cjs +1 -1
- package/dist/components/env-builtin.mjs +1 -1
- package/dist/helpers/automd-generator.cjs +14 -4
- package/dist/helpers/automd-generator.d.mts +1 -1
- package/dist/helpers/automd-generator.mjs +14 -4
- package/dist/helpers/automd-generator.mjs.map +1 -1
- package/dist/helpers/create-reflection-resource.cjs +8 -0
- package/dist/helpers/create-reflection-resource.mjs +9 -0
- package/dist/helpers/create-reflection-resource.mjs.map +1 -1
- package/dist/helpers/docs-helper.cjs +8 -0
- package/dist/helpers/docs-helper.mjs +8 -0
- package/dist/helpers/docs-helper.mjs.map +1 -1
- package/dist/helpers/index.cjs +1 -0
- package/dist/helpers/index.mjs +2 -2
- package/dist/helpers/load.cjs +61 -10
- package/dist/helpers/load.mjs +60 -9
- package/dist/helpers/load.mjs.map +1 -1
- package/dist/helpers/persistence.cjs +108 -1
- package/dist/helpers/persistence.mjs +108 -1
- package/dist/helpers/persistence.mjs.map +1 -1
- package/dist/helpers/reflect.cjs +156 -3
- package/dist/helpers/reflect.mjs +156 -4
- package/dist/helpers/reflect.mjs.map +1 -1
- package/dist/helpers/source-file-env.cjs +34 -4
- package/dist/helpers/source-file-env.mjs +34 -4
- package/dist/helpers/source-file-env.mjs.map +1 -1
- package/dist/helpers/template-helpers.cjs +33 -5
- package/dist/helpers/template-helpers.mjs +33 -5
- package/dist/helpers/template-helpers.mjs.map +1 -1
- package/dist/types/index.cjs +11 -0
- package/dist/types/index.mjs +4 -1
- package/dist/types/plugin.cjs +137 -0
- package/dist/types/plugin.d.mts +4 -4
- package/dist/types/plugin.mjs +132 -1
- package/dist/types/plugin.mjs.map +1 -0
- package/dist/types/runtime.cjs +244 -0
- package/dist/types/runtime.mjs +242 -1
- package/dist/types/runtime.mjs.map +1 -0
- package/package.json +11 -26
- package/dist/node_modules/.pnpm/c12@3.3.3_magicast@0.5.2/node_modules/c12/dist/index.cjs +0 -346
- package/dist/node_modules/.pnpm/c12@3.3.3_magicast@0.5.2/node_modules/c12/dist/index.mjs +0 -347
- package/dist/node_modules/.pnpm/c12@3.3.3_magicast@0.5.2/node_modules/c12/dist/index.mjs.map +0 -1
- package/dist/node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/_chunks/_format.cjs +0 -23
- package/dist/node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/_chunks/_format.mjs +0 -23
- package/dist/node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/_chunks/_format.mjs.map +0 -1
- package/dist/node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/_chunks/json.cjs +0 -10
- package/dist/node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/_chunks/json.mjs +0 -11
- package/dist/node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/_chunks/json.mjs.map +0 -1
- package/dist/node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/_chunks/libs/js-yaml.cjs +0 -1060
- package/dist/node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/_chunks/libs/js-yaml.mjs +0 -1060
- package/dist/node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/_chunks/libs/js-yaml.mjs.map +0 -1
- package/dist/node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/_chunks/libs/json5.cjs +0 -761
- package/dist/node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/_chunks/libs/json5.mjs +0 -761
- package/dist/node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/_chunks/libs/json5.mjs.map +0 -1
- package/dist/node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/_chunks/libs/jsonc-parser.cjs +0 -388
- package/dist/node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/_chunks/libs/jsonc-parser.mjs +0 -388
- package/dist/node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/_chunks/libs/jsonc-parser.mjs.map +0 -1
- package/dist/node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/_chunks/libs/smol-toml.cjs +0 -639
- package/dist/node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/_chunks/libs/smol-toml.mjs +0 -639
- package/dist/node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/_chunks/libs/smol-toml.mjs.map +0 -1
- package/dist/node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/_chunks/rolldown-runtime.cjs +0 -17
- package/dist/node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/_chunks/rolldown-runtime.mjs +0 -15
- package/dist/node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/_chunks/rolldown-runtime.mjs.map +0 -1
- package/dist/node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/json5.cjs +0 -13
- package/dist/node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/json5.mjs +0 -14
- package/dist/node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/json5.mjs.map +0 -1
- package/dist/node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/jsonc.cjs +0 -11
- package/dist/node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/jsonc.mjs +0 -12
- package/dist/node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/jsonc.mjs.map +0 -1
- package/dist/node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/toml.cjs +0 -11
- package/dist/node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/toml.mjs +0 -12
- package/dist/node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/toml.mjs.map +0 -1
- package/dist/node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/yaml.cjs +0 -11
- package/dist/node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/yaml.mjs +0 -12
- package/dist/node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/yaml.mjs.map +0 -1
- package/dist/node_modules/.pnpm/destr@2.0.5/node_modules/destr/dist/index.cjs +0 -46
- package/dist/node_modules/.pnpm/destr@2.0.5/node_modules/destr/dist/index.mjs +0 -46
- package/dist/node_modules/.pnpm/destr@2.0.5/node_modules/destr/dist/index.mjs.map +0 -1
- package/dist/node_modules/.pnpm/dotenv@17.3.1/node_modules/dotenv/lib/main.cjs +0 -285
- package/dist/node_modules/.pnpm/dotenv@17.3.1/node_modules/dotenv/lib/main.mjs +0 -283
- package/dist/node_modules/.pnpm/dotenv@17.3.1/node_modules/dotenv/lib/main.mjs.map +0 -1
- package/dist/node_modules/.pnpm/dotenv@17.3.1/node_modules/dotenv/package.cjs +0 -71
- package/dist/node_modules/.pnpm/dotenv@17.3.1/node_modules/dotenv/package.mjs +0 -69
- package/dist/node_modules/.pnpm/dotenv@17.3.1/node_modules/dotenv/package.mjs.map +0 -1
- package/dist/node_modules/.pnpm/exsolve@1.0.8/node_modules/exsolve/dist/index.cjs +0 -1013
- package/dist/node_modules/.pnpm/exsolve@1.0.8/node_modules/exsolve/dist/index.mjs +0 -1008
- package/dist/node_modules/.pnpm/exsolve@1.0.8/node_modules/exsolve/dist/index.mjs.map +0 -1
- package/dist/node_modules/.pnpm/giget@2.0.0/node_modules/giget/dist/index.cjs +0 -23
- package/dist/node_modules/.pnpm/giget@2.0.0/node_modules/giget/dist/index.mjs +0 -10
- package/dist/node_modules/.pnpm/giget@2.0.0/node_modules/giget/dist/index.mjs.map +0 -1
- package/dist/node_modules/.pnpm/giget@2.0.0/node_modules/giget/dist/shared/giget.OCaTp9b-.cjs +0 -2695
- package/dist/node_modules/.pnpm/giget@2.0.0/node_modules/giget/dist/shared/giget.OCaTp9b-.mjs +0 -2682
- package/dist/node_modules/.pnpm/giget@2.0.0/node_modules/giget/dist/shared/giget.OCaTp9b-.mjs.map +0 -1
- package/dist/node_modules/.pnpm/jiti@2.6.1/node_modules/jiti/dist/jiti.cjs +0 -4457
- package/dist/node_modules/.pnpm/jiti@2.6.1/node_modules/jiti/dist/jiti.mjs +0 -4455
- package/dist/node_modules/.pnpm/jiti@2.6.1/node_modules/jiti/dist/jiti.mjs.map +0 -1
- package/dist/node_modules/.pnpm/jiti@2.6.1/node_modules/jiti/lib/jiti.cjs +0 -29
- package/dist/node_modules/.pnpm/jiti@2.6.1/node_modules/jiti/lib/jiti.mjs +0 -30
- package/dist/node_modules/.pnpm/jiti@2.6.1/node_modules/jiti/lib/jiti.mjs.map +0 -1
- package/dist/node_modules/.pnpm/node-fetch-native@1.6.7/node_modules/node-fetch-native/dist/chunks/multipart-parser.cjs +0 -181
- package/dist/node_modules/.pnpm/node-fetch-native@1.6.7/node_modules/node-fetch-native/dist/chunks/multipart-parser.mjs +0 -177
- package/dist/node_modules/.pnpm/node-fetch-native@1.6.7/node_modules/node-fetch-native/dist/chunks/multipart-parser.mjs.map +0 -1
- package/dist/node_modules/.pnpm/node-fetch-native@1.6.7/node_modules/node-fetch-native/dist/index.cjs +0 -22
- package/dist/node_modules/.pnpm/node-fetch-native@1.6.7/node_modules/node-fetch-native/dist/index.mjs +0 -18
- package/dist/node_modules/.pnpm/node-fetch-native@1.6.7/node_modules/node-fetch-native/dist/index.mjs.map +0 -1
- package/dist/node_modules/.pnpm/node-fetch-native@1.6.7/node_modules/node-fetch-native/dist/node.cjs +0 -3967
- package/dist/node_modules/.pnpm/node-fetch-native@1.6.7/node_modules/node-fetch-native/dist/node.mjs +0 -3963
- package/dist/node_modules/.pnpm/node-fetch-native@1.6.7/node_modules/node-fetch-native/dist/node.mjs.map +0 -1
- package/dist/node_modules/.pnpm/node-fetch-native@1.6.7/node_modules/node-fetch-native/dist/proxy.cjs +0 -11766
- package/dist/node_modules/.pnpm/node-fetch-native@1.6.7/node_modules/node-fetch-native/dist/proxy.mjs +0 -11762
- package/dist/node_modules/.pnpm/node-fetch-native@1.6.7/node_modules/node-fetch-native/dist/proxy.mjs.map +0 -1
- package/dist/node_modules/.pnpm/node-fetch-native@1.6.7/node_modules/node-fetch-native/dist/shared/node-fetch-native.DhEqb06g.cjs +0 -25
- package/dist/node_modules/.pnpm/node-fetch-native@1.6.7/node_modules/node-fetch-native/dist/shared/node-fetch-native.DhEqb06g.mjs +0 -21
- package/dist/node_modules/.pnpm/node-fetch-native@1.6.7/node_modules/node-fetch-native/dist/shared/node-fetch-native.DhEqb06g.mjs.map +0 -1
- package/dist/node_modules/.pnpm/node-fetch-native@1.6.7/node_modules/node-fetch-native/lib/index.cjs +0 -20
- package/dist/node_modules/.pnpm/node-fetch-native@1.6.7/node_modules/node-fetch-native/lib/index.mjs +0 -18
- package/dist/node_modules/.pnpm/node-fetch-native@1.6.7/node_modules/node-fetch-native/lib/index.mjs.map +0 -1
- package/dist/node_modules/.pnpm/nypm@0.6.5/node_modules/nypm/dist/index.cjs +0 -178
- package/dist/node_modules/.pnpm/nypm@0.6.5/node_modules/nypm/dist/index.mjs +0 -176
- package/dist/node_modules/.pnpm/nypm@0.6.5/node_modules/nypm/dist/index.mjs.map +0 -1
- package/dist/node_modules/.pnpm/ohash@2.0.11/node_modules/ohash/dist/crypto/node/index.cjs +0 -13
- package/dist/node_modules/.pnpm/ohash@2.0.11/node_modules/ohash/dist/crypto/node/index.mjs +0 -13
- package/dist/node_modules/.pnpm/ohash@2.0.11/node_modules/ohash/dist/crypto/node/index.mjs.map +0 -1
- package/dist/node_modules/.pnpm/ohash@2.0.11/node_modules/ohash/dist/index.cjs +0 -3
- package/dist/node_modules/.pnpm/ohash@2.0.11/node_modules/ohash/dist/index.mjs +0 -3
- package/dist/node_modules/.pnpm/pathe@2.0.3/node_modules/pathe/dist/shared/pathe.M-eThtNZ.cjs +0 -145
- package/dist/node_modules/.pnpm/pathe@2.0.3/node_modules/pathe/dist/shared/pathe.M-eThtNZ.mjs +0 -139
- package/dist/node_modules/.pnpm/pathe@2.0.3/node_modules/pathe/dist/shared/pathe.M-eThtNZ.mjs.map +0 -1
- package/dist/node_modules/.pnpm/pkg-types@2.3.0/node_modules/pkg-types/dist/index.cjs +0 -128
- package/dist/node_modules/.pnpm/pkg-types@2.3.0/node_modules/pkg-types/dist/index.mjs +0 -127
- package/dist/node_modules/.pnpm/pkg-types@2.3.0/node_modules/pkg-types/dist/index.mjs.map +0 -1
- package/dist/node_modules/.pnpm/rc9@2.1.2/node_modules/rc9/dist/index.cjs +0 -138
- package/dist/node_modules/.pnpm/rc9@2.1.2/node_modules/rc9/dist/index.mjs +0 -137
- package/dist/node_modules/.pnpm/rc9@2.1.2/node_modules/rc9/dist/index.mjs.map +0 -1
- package/dist/node_modules/.pnpm/tinyexec@1.0.2/node_modules/tinyexec/dist/main.cjs +0 -629
- package/dist/node_modules/.pnpm/tinyexec@1.0.2/node_modules/tinyexec/dist/main.mjs +0 -628
- package/dist/node_modules/.pnpm/tinyexec@1.0.2/node_modules/tinyexec/dist/main.mjs.map +0 -1
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"smol-toml.mjs","names":["#e","#t","#n"],"sources":["../../../../../../../../../../../node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/_chunks/libs/smol-toml.mjs"],"sourcesContent":["/*!\n* Copyright (c) Squirrel Chat et al., All rights reserved.\n* SPDX-License-Identifier: BSD-3-Clause\n*\n* Redistribution and use in source and binary forms, with or without\n* modification, are permitted provided that the following conditions are met:\n*\n* 1. Redistributions of source code must retain the above copyright notice, this\n* list of conditions and the following disclaimer.\n* 2. Redistributions in binary form must reproduce the above copyright notice,\n* this list of conditions and the following disclaimer in the\n* documentation and/or other materials provided with the distribution.\n* 3. Neither the name of the copyright holder nor the names of its contributors\n* may be used to endorse or promote products derived from this software without\n* specific prior written permission.\n*\n* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\" AND\n* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED\n* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE\n* DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE\n* FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL\n* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR\n* SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER\n* CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,\n* OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\n* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n*/\nfunction e(e,t){let n=e.slice(0,t).split(/\\r\\n|\\n|\\r/g);return[n.length,n.pop().length+1]}function t(e,t,n){let r=e.split(/\\r\\n|\\n|\\r/g),i=``,a=(Math.log10(t+1)|0)+1;for(let e=t-1;e<=t+1;e++){let o=r[e-1];o&&(i+=e.toString().padEnd(a,` `),i+=`: `,i+=o,i+=`\n`,e===t&&(i+=` `.repeat(a+n+2),i+=`^\n`))}return i}var n=class extends Error{line;column;codeblock;constructor(n,r){let[i,a]=e(r.toml,r.ptr),o=t(r.toml,i,a);super(`Invalid TOML document: ${n}\\n\\n${o}`,r),this.line=i,this.column=a,this.codeblock=o}};\n/*!\n* Copyright (c) Squirrel Chat et al., All rights reserved.\n* SPDX-License-Identifier: BSD-3-Clause\n*\n* Redistribution and use in source and binary forms, with or without\n* modification, are permitted provided that the following conditions are met:\n*\n* 1. Redistributions of source code must retain the above copyright notice, this\n* list of conditions and the following disclaimer.\n* 2. Redistributions in binary form must reproduce the above copyright notice,\n* this list of conditions and the following disclaimer in the\n* documentation and/or other materials provided with the distribution.\n* 3. Neither the name of the copyright holder nor the names of its contributors\n* may be used to endorse or promote products derived from this software without\n* specific prior written permission.\n*\n* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\" AND\n* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED\n* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE\n* DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE\n* FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL\n* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR\n* SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER\n* CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,\n* OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\n* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n*/\nfunction r(e,t){let n=0;for(;e[t-++n]===`\\\\`;);return--n&&n%2}function i(e,t=0,n=e.length){let r=e.indexOf(`\n`,t);return e[r-1]===`\\r`&&r--,r<=n?r:-1}function a(e,t){for(let r=t;r<e.length;r++){let i=e[r];if(i===`\n`)return r;if(i===`\\r`&&e[r+1]===`\n`)return r+1;if(i<` `&&i!==`\t`||i===``)throw new n(`control characters are not allowed in comments`,{toml:e,ptr:t})}return e.length}function o(e,t,n,r){let i;for(;(i=e[t])===` `||i===`\t`||!n&&(i===`\n`||i===`\\r`&&e[t+1]===`\n`);)t++;return r||i!==`#`?t:o(e,a(e,t),n)}function s(e,t,r,a,o=!1){if(!a)return t=i(e,t),t<0?e.length:t;for(let n=t;n<e.length;n++){let t=e[n];if(t===`#`)n=i(e,n);else if(t===r)return n+1;else if(t===a||o&&(t===`\n`||t===`\\r`&&e[n+1]===`\n`))return n}throw new n(`cannot find end of structure`,{toml:e,ptr:t})}function c(e,t){let n=e[t],i=n===e[t+1]&&e[t+1]===e[t+2]?e.slice(t,t+3):n;t+=i.length-1;do t=e.indexOf(i,++t);while(t>-1&&n!==`'`&&r(e,t));return t>-1&&(t+=i.length,i.length>1&&(e[t]===n&&t++,e[t]===n&&t++)),t}\n/*!\n* Copyright (c) Squirrel Chat et al., All rights reserved.\n* SPDX-License-Identifier: BSD-3-Clause\n*\n* Redistribution and use in source and binary forms, with or without\n* modification, are permitted provided that the following conditions are met:\n*\n* 1. Redistributions of source code must retain the above copyright notice, this\n* list of conditions and the following disclaimer.\n* 2. Redistributions in binary form must reproduce the above copyright notice,\n* this list of conditions and the following disclaimer in the\n* documentation and/or other materials provided with the distribution.\n* 3. Neither the name of the copyright holder nor the names of its contributors\n* may be used to endorse or promote products derived from this software without\n* specific prior written permission.\n*\n* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\" AND\n* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED\n* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE\n* DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE\n* FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL\n* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR\n* SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER\n* CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,\n* OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\n* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n*/\nlet l=/^(\\d{4}-\\d{2}-\\d{2})?[T ]?(?:(\\d{2}):\\d{2}(?::\\d{2}(?:\\.\\d+)?)?)?(Z|[-+]\\d{2}:\\d{2})?$/i;var u=class e extends Date{#e=!1;#t=!1;#n=null;constructor(e){let t=!0,n=!0,r=`Z`;if(typeof e==`string`){let i=e.match(l);i?(i[1]||(t=!1,e=`0000-01-01T${e}`),n=!!i[2],n&&e[10]===` `&&(e=e.replace(` `,`T`)),i[2]&&+i[2]>23?e=``:(r=i[3]||null,e=e.toUpperCase(),!r&&n&&(e+=`Z`))):e=``}super(e),isNaN(this.getTime())||(this.#e=t,this.#t=n,this.#n=r)}isDateTime(){return this.#e&&this.#t}isLocal(){return!this.#e||!this.#t||!this.#n}isDate(){return this.#e&&!this.#t}isTime(){return this.#t&&!this.#e}isValid(){return this.#e||this.#t}toISOString(){let e=super.toISOString();if(this.isDate())return e.slice(0,10);if(this.isTime())return e.slice(11,23);if(this.#n===null)return e.slice(0,-1);if(this.#n===`Z`)return e;let t=this.#n.slice(1,3)*60+ +this.#n.slice(4,6);return t=this.#n[0]===`-`?t:-t,new Date(this.getTime()-t*6e4).toISOString().slice(0,-1)+this.#n}static wrapAsOffsetDateTime(t,n=`Z`){let r=new e(t);return r.#n=n,r}static wrapAsLocalDateTime(t){let n=new e(t);return n.#n=null,n}static wrapAsLocalDate(t){let n=new e(t);return n.#t=!1,n.#n=null,n}static wrapAsLocalTime(t){let n=new e(t);return n.#e=!1,n.#n=null,n}};\n/*!\n* Copyright (c) Squirrel Chat et al., All rights reserved.\n* SPDX-License-Identifier: BSD-3-Clause\n*\n* Redistribution and use in source and binary forms, with or without\n* modification, are permitted provided that the following conditions are met:\n*\n* 1. Redistributions of source code must retain the above copyright notice, this\n* list of conditions and the following disclaimer.\n* 2. Redistributions in binary form must reproduce the above copyright notice,\n* this list of conditions and the following disclaimer in the\n* documentation and/or other materials provided with the distribution.\n* 3. Neither the name of the copyright holder nor the names of its contributors\n* may be used to endorse or promote products derived from this software without\n* specific prior written permission.\n*\n* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\" AND\n* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED\n* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE\n* DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE\n* FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL\n* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR\n* SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER\n* CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,\n* OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\n* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n*/\nlet d=/^((0x[0-9a-fA-F](_?[0-9a-fA-F])*)|(([+-]|0[ob])?\\d(_?\\d)*))$/,f=/^[+-]?\\d(_?\\d)*(\\.\\d(_?\\d)*)?([eE][+-]?\\d(_?\\d)*)?$/,p=/^[+-]?0[0-9_]/,m=/^[0-9a-f]{2,8}$/i,h={b:`\\b`,t:`\t`,n:`\n`,f:`\\f`,r:`\\r`,e:`\\x1B`,'\"':`\"`,\"\\\\\":`\\\\`};function g(e,t=0,r=e.length){let i=e[t]===`'`,a=e[t++]===e[t]&&e[t]===e[t+1];a&&(r-=2,e[t+=2]===`\\r`&&t++,e[t]===`\n`&&t++);let s=0,c,l=``,u=t;for(;t<r-1;){let r=e[t++];if(r===`\n`||r===`\\r`&&e[t]===`\n`){if(!a)throw new n(`newlines are not allowed in strings`,{toml:e,ptr:t-1})}else if(r<` `&&r!==`\t`||r===``)throw new n(`control characters are not allowed in strings`,{toml:e,ptr:t-1});if(c){if(c=!1,r===`x`||r===`u`||r===`U`){let i=e.slice(t,t+=r===`x`?2:r===`u`?4:8);if(!m.test(i))throw new n(`invalid unicode escape`,{toml:e,ptr:s});try{l+=String.fromCodePoint(parseInt(i,16))}catch{throw new n(`invalid unicode escape`,{toml:e,ptr:s})}}else if(a&&(r===`\n`||r===` `||r===`\t`||r===`\\r`)){if(t=o(e,t-1,!0),e[t]!==`\n`&&e[t]!==`\\r`)throw new n(`invalid escape: only line-ending whitespace may be escaped`,{toml:e,ptr:s});t=o(e,t)}else if(r in h)l+=h[r];else throw new n(`unrecognized escape sequence`,{toml:e,ptr:s});u=t}else !i&&r===`\\\\`&&(s=t-1,c=!0,l+=e.slice(u,s))}return l+e.slice(u,r-1)}function _(e,t,r,i){if(e===`true`)return!0;if(e===`false`)return!1;if(e===`-inf`)return-1/0;if(e===`inf`||e===`+inf`)return 1/0;if(e===`nan`||e===`+nan`||e===`-nan`)return NaN;if(e===`-0`)return i?0n:0;let a=d.test(e);if(a||f.test(e)){if(p.test(e))throw new n(`leading zeroes are not allowed`,{toml:t,ptr:r});e=e.replace(/_/g,``);let o=+e;if(isNaN(o))throw new n(`invalid number`,{toml:t,ptr:r});if(a){if((a=!Number.isSafeInteger(o))&&!i)throw new n(`integer value cannot be represented losslessly`,{toml:t,ptr:r});(a||i===!0)&&(o=BigInt(e))}return o}let o=new u(e);if(!o.isValid())throw new n(`invalid value`,{toml:t,ptr:r});return o}\n/*!\n* Copyright (c) Squirrel Chat et al., All rights reserved.\n* SPDX-License-Identifier: BSD-3-Clause\n*\n* Redistribution and use in source and binary forms, with or without\n* modification, are permitted provided that the following conditions are met:\n*\n* 1. Redistributions of source code must retain the above copyright notice, this\n* list of conditions and the following disclaimer.\n* 2. Redistributions in binary form must reproduce the above copyright notice,\n* this list of conditions and the following disclaimer in the\n* documentation and/or other materials provided with the distribution.\n* 3. Neither the name of the copyright holder nor the names of its contributors\n* may be used to endorse or promote products derived from this software without\n* specific prior written permission.\n*\n* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\" AND\n* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED\n* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE\n* DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE\n* FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL\n* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR\n* SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER\n* CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,\n* OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\n* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n*/\nfunction v(e,t,n){let r=e.slice(t,n),i=r.indexOf(`#`);return i>-1&&(a(e,i),r=r.slice(0,i)),[r.trimEnd(),i]}function y(e,t,r,i,a){if(i===0)throw new n(`document contains excessively nested structures. aborting.`,{toml:e,ptr:t});let l=e[t];if(l===`[`||l===`{`){let[s,c]=l===`[`?C(e,t,i,a):S(e,t,i,a);if(r){if(c=o(e,c),e[c]===`,`)c++;else if(e[c]!==r)throw new n(`expected comma or end of structure`,{toml:e,ptr:c})}return[s,c]}let u;if(l===`\"`||l===`'`){u=c(e,t);let i=g(e,t,u);if(r){if(u=o(e,u),e[u]&&e[u]!==`,`&&e[u]!==r&&e[u]!==`\n`&&e[u]!==`\\r`)throw new n(`unexpected character encountered`,{toml:e,ptr:u});u+=+(e[u]===`,`)}return[i,u]}u=s(e,t,`,`,r);let d=v(e,t,u-+(e[u-1]===`,`));if(!d[0])throw new n(`incomplete key-value declaration: no value specified`,{toml:e,ptr:t});return r&&d[1]>-1&&(u=o(e,t+d[1]),u+=+(e[u]===`,`)),[_(d[0],e,t,a),u]}\n/*!\n* Copyright (c) Squirrel Chat et al., All rights reserved.\n* SPDX-License-Identifier: BSD-3-Clause\n*\n* Redistribution and use in source and binary forms, with or without\n* modification, are permitted provided that the following conditions are met:\n*\n* 1. Redistributions of source code must retain the above copyright notice, this\n* list of conditions and the following disclaimer.\n* 2. Redistributions in binary form must reproduce the above copyright notice,\n* this list of conditions and the following disclaimer in the\n* documentation and/or other materials provided with the distribution.\n* 3. Neither the name of the copyright holder nor the names of its contributors\n* may be used to endorse or promote products derived from this software without\n* specific prior written permission.\n*\n* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\" AND\n* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED\n* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE\n* DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE\n* FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL\n* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR\n* SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER\n* CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,\n* OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\n* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n*/\nlet b=/^[a-zA-Z0-9-_]+[ \\t]*$/;function x(e,t,r=`=`){let a=t-1,s=[],l=e.indexOf(r,t);if(l<0)throw new n(`incomplete key-value: cannot find end of key`,{toml:e,ptr:t});do{let o=e[t=++a];if(o!==` `&&o!==`\t`)if(o===`\"`||o===`'`){if(o===e[t+1]&&o===e[t+2])throw new n(`multiline strings are not allowed in keys`,{toml:e,ptr:t});let u=c(e,t);if(u<0)throw new n(`unfinished string encountered`,{toml:e,ptr:t});a=e.indexOf(`.`,u);let d=e.slice(u,a<0||a>l?l:a),f=i(d);if(f>-1)throw new n(`newlines are not allowed in keys`,{toml:e,ptr:t+a+f});if(d.trimStart())throw new n(`found extra tokens after the string part`,{toml:e,ptr:u});if(l<u&&(l=e.indexOf(r,u),l<0))throw new n(`incomplete key-value: cannot find end of key`,{toml:e,ptr:t});s.push(g(e,t,u))}else{a=e.indexOf(`.`,t);let r=e.slice(t,a<0||a>l?l:a);if(!b.test(r))throw new n(`only letter, numbers, dashes and underscores are allowed in keys`,{toml:e,ptr:t});s.push(r.trimEnd())}}while(a+1&&a<l);return[s,o(e,l+1,!0,!0)]}function S(e,t,r,i){let o={},s=new Set,c;for(t++;(c=e[t++])!==`}`&&c;)if(c===`,`)throw new n(`expected value, found comma`,{toml:e,ptr:t-1});else if(c===`#`)t=a(e,t);else if(c!==` `&&c!==`\t`&&c!==`\n`&&c!==`\\r`){let a,c=o,l=!1,[u,d]=x(e,t-1);for(let r=0;r<u.length;r++){if(r&&(c=l?c[a]:c[a]={}),a=u[r],(l=Object.hasOwn(c,a))&&(typeof c[a]!=`object`||s.has(c[a])))throw new n(`trying to redefine an already defined value`,{toml:e,ptr:t});!l&&a===`__proto__`&&Object.defineProperty(c,a,{enumerable:!0,configurable:!0,writable:!0})}if(l)throw new n(`trying to redefine an already defined value`,{toml:e,ptr:t});let[f,p]=y(e,d,`}`,r-1,i);s.add(f),c[a]=f,t=p}if(!c)throw new n(`unfinished table encountered`,{toml:e,ptr:t});return[o,t]}function C(e,t,r,i){let o=[],s;for(t++;(s=e[t++])!==`]`&&s;)if(s===`,`)throw new n(`expected value, found comma`,{toml:e,ptr:t-1});else if(s===`#`)t=a(e,t);else if(s!==` `&&s!==`\t`&&s!==`\n`&&s!==`\\r`){let n=y(e,t-1,`]`,r-1,i);o.push(n[0]),t=n[1]}if(!s)throw new n(`unfinished array encountered`,{toml:e,ptr:t});return[o,t]}\n/*!\n* Copyright (c) Squirrel Chat et al., All rights reserved.\n* SPDX-License-Identifier: BSD-3-Clause\n*\n* Redistribution and use in source and binary forms, with or without\n* modification, are permitted provided that the following conditions are met:\n*\n* 1. Redistributions of source code must retain the above copyright notice, this\n* list of conditions and the following disclaimer.\n* 2. Redistributions in binary form must reproduce the above copyright notice,\n* this list of conditions and the following disclaimer in the\n* documentation and/or other materials provided with the distribution.\n* 3. Neither the name of the copyright holder nor the names of its contributors\n* may be used to endorse or promote products derived from this software without\n* specific prior written permission.\n*\n* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\" AND\n* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED\n* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE\n* DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE\n* FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL\n* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR\n* SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER\n* CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,\n* OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\n* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n*/\nfunction w(e,t,n,r){let i=t,a=n,o,s=!1,c;for(let t=0;t<e.length;t++){if(t){if(i=s?i[o]:i[o]={},a=(c=a[o]).c,r===0&&(c.t===1||c.t===2))return null;if(c.t===2){let e=i.length-1;i=i[e],a=a[e].c}}if(o=e[t],(s=Object.hasOwn(i,o))&&a[o]?.t===0&&a[o]?.d)return null;s||(o===`__proto__`&&(Object.defineProperty(i,o,{enumerable:!0,configurable:!0,writable:!0}),Object.defineProperty(a,o,{enumerable:!0,configurable:!0,writable:!0})),a[o]={t:t<e.length-1&&r===2?3:r,d:!1,i:0,c:{}})}if(c=a[o],c.t!==r&&!(r===1&&c.t===3)||(r===2&&(c.d||(c.d=!0,i[o]=[]),i[o].push(i={}),c.c[c.i++]=c={t:1,d:!1,i:0,c:{}}),c.d))return null;if(c.d=!0,r===1)i=s?i[o]:i[o]={};else if(r===0&&s)return null;return[o,i,c.c]}function T(e,{maxDepth:t=1e3,integersAsBigInt:r}={}){let i={},a={},s=i,c=a;for(let l=o(e,0);l<e.length;){if(e[l]===`[`){let t=e[++l]===`[`,r=x(e,l+=+t,`]`);if(t){if(e[r[1]-1]!==`]`)throw new n(`expected end of table declaration`,{toml:e,ptr:r[1]-1});r[1]++}let o=w(r[0],i,a,t?2:1);if(!o)throw new n(`trying to redefine an already defined table or value`,{toml:e,ptr:l});c=o[2],s=o[1],l=r[1]}else{let i=x(e,l),a=w(i[0],s,c,0);if(!a)throw new n(`trying to redefine an already defined table or value`,{toml:e,ptr:l});let o=y(e,i[1],void 0,t,r);a[1][a[0]]=o[0],l=o[1]}if(l=o(e,l,!0),e[l]&&e[l]!==`\n`&&e[l]!==`\\r`)throw new n(`each key-value declaration must be followed by an end-of-line`,{toml:e,ptr:l});l=o(e,l)}return i}\n/*!\n* Copyright (c) Squirrel Chat et al., All rights reserved.\n* SPDX-License-Identifier: BSD-3-Clause\n*\n* Redistribution and use in source and binary forms, with or without\n* modification, are permitted provided that the following conditions are met:\n*\n* 1. Redistributions of source code must retain the above copyright notice, this\n* list of conditions and the following disclaimer.\n* 2. Redistributions in binary form must reproduce the above copyright notice,\n* this list of conditions and the following disclaimer in the\n* documentation and/or other materials provided with the distribution.\n* 3. Neither the name of the copyright holder nor the names of its contributors\n* may be used to endorse or promote products derived from this software without\n* specific prior written permission.\n*\n* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\" AND\n* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED\n* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE\n* DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE\n* FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL\n* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR\n* SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER\n* CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,\n* OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\n* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n*/\nlet E=/^[a-z0-9-_]+$/i;function D(e){let t=typeof e;if(t===`object`){if(Array.isArray(e))return`array`;if(e instanceof Date)return`date`}return t}function O(e){for(let t=0;t<e.length;t++)if(D(e[t])!==`object`)return!1;return e.length!=0}function k(e){return JSON.stringify(e).replace(/\\x7f/g,`\\\\u007f`)}function A(e,t,n,r){if(n===0)throw Error(`Could not stringify the object: maximum object depth exceeded`);if(t===`number`)return isNaN(e)?`nan`:e===1/0?`inf`:e===-1/0?`-inf`:r&&Number.isInteger(e)?e.toFixed(1):e.toString();if(t===`bigint`||t===`boolean`)return e.toString();if(t===`string`)return k(e);if(t===`date`){if(isNaN(e.getTime()))throw TypeError(`cannot serialize invalid date`);return e.toISOString()}if(t===`object`)return j(e,n,r);if(t===`array`)return M(e,n,r)}function j(e,t,n){let r=Object.keys(e);if(r.length===0)return`{}`;let i=`{ `;for(let a=0;a<r.length;a++){let o=r[a];a&&(i+=`, `),i+=E.test(o)?o:k(o),i+=` = `,i+=A(e[o],D(e[o]),t-1,n)}return i+` }`}function M(e,t,n){if(e.length===0)return`[]`;let r=`[ `;for(let i=0;i<e.length;i++){if(i&&(r+=`, `),e[i]===null||e[i]===void 0)throw TypeError(`arrays cannot contain null or undefined values`);r+=A(e[i],D(e[i]),t-1,n)}return r+` ]`}function N(e,t,n,r){if(n===0)throw Error(`Could not stringify the object: maximum object depth exceeded`);let i=``;for(let a=0;a<e.length;a++)i+=`${i&&`\n`}[[${t}]]\\n`,i+=P(0,e[a],t,n,r);return i}function P(e,t,n,r,i){if(r===0)throw Error(`Could not stringify the object: maximum object depth exceeded`);let a=``,o=``,s=Object.keys(t);for(let e=0;e<s.length;e++){let c=s[e];if(t[c]!==null&&t[c]!==void 0){let e=D(t[c]);if(e===`symbol`||e===`function`)throw TypeError(`cannot serialize values of type '${e}'`);let s=E.test(c)?c:k(c);if(e===`array`&&O(t[c]))o+=(o&&`\n`)+N(t[c],n?`${n}.${s}`:s,r-1,i);else if(e===`object`){let e=n?`${n}.${s}`:s;o+=(o&&`\n`)+P(e,t[c],e,r-1,i)}else a+=s,a+=` = `,a+=A(t[c],e,r,i),a+=`\n`}}return e&&(a||!o)&&(a=a?`[${e}]\\n${a}`:`[${e}]`),a&&o?`${a}\\n${o}`:a||o}function F(e,{maxDepth:t=1e3,numbersAsFloat:n=!1}={}){if(D(e)!==`object`)throw TypeError(`stringify can only be called with an object`);let r=P(0,e,``,t,n);return r[r.length-1]===`\n`?r:r+`\n`}export{T as n,F as t};"],"x_google_ignoreList":[0],"mappings":";;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E,EAAE,GAAE,KAAG,CAAC,GAAE,IAAI;AAAC,OAAG,GAAE;AAAC,QAAG,EAAE,EAAE,KAAG,OAAK,IAAI,OAAM,IAAI,EAAE,qCAAoC;KAAC,MAAK;KAAE,KAAI,EAAE,KAAG;KAAE,CAAC;AAAC,MAAE;;GAAK,IAAI,IAAE,EAAE,EAAE,IAAG,GAAE,GAAE,IAAE,IAAE,EAAE;AAAC,OAAG,CAAC,EAAE,OAAM,IAAI,EAAE,wDAAuD;IAAC,MAAK;IAAE,KAAI;IAAE,CAAC;AAAC,OAAE,EAAE,IAAG,IAAE,EAAE,IAAG,IAAE,EAAE;SAAO;GAAC,IAAI,IAAE,EAAE,GAAE,EAAE,EAAC,IAAE,EAAE,EAAE,IAAG,GAAE,GAAE,EAAE;AAAC,OAAG,CAAC,EAAE,OAAM,IAAI,EAAE,wDAAuD;IAAC,MAAK;IAAE,KAAI;IAAE,CAAC;GAAC,IAAI,IAAE,EAAE,GAAE,EAAE,IAAG,KAAK,GAAE,GAAE,EAAE;AAAC,KAAE,GAAG,EAAE,MAAI,EAAE,IAAG,IAAE,EAAE;;AAAG,MAAG,IAAE,EAAE,GAAE,GAAE,CAAC,EAAE,EAAC,EAAE,MAAI,EAAE,OAAK;KAC3vC,EAAE,OAAK,KAAK,OAAM,IAAI,EAAE,iEAAgE;GAAC,MAAK;GAAE,KAAI;GAAE,CAAC;AAAC,MAAE,EAAE,GAAE,EAAE;;AAAC,QAAO"}
|
package/dist/node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/_chunks/rolldown-runtime.cjs
DELETED
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
let node_module = require("node:module");
|
|
2
|
-
|
|
3
|
-
//#region ../../node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/_chunks/rolldown-runtime.mjs
|
|
4
|
-
var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescriptor, r = Object.getOwnPropertyNames, i = Object.getPrototypeOf, a = Object.prototype.hasOwnProperty, o = (e, t) => () => (t || e((t = { exports: {} }).exports, t), t.exports), s = (e, i, o, s) => {
|
|
5
|
-
if (i && typeof i == `object` || typeof i == `function`) for (var c = r(i), l = 0, u = c.length, d; l < u; l++) d = c[l], !a.call(e, d) && d !== o && t(e, d, {
|
|
6
|
-
get: ((e) => i[e]).bind(null, d),
|
|
7
|
-
enumerable: !(s = n(i, d)) || s.enumerable
|
|
8
|
-
});
|
|
9
|
-
return e;
|
|
10
|
-
}, c = (n, r, a) => (a = n == null ? {} : e(i(n)), s(r || !n || !n.__esModule ? t(a, `default`, {
|
|
11
|
-
value: n,
|
|
12
|
-
enumerable: !0
|
|
13
|
-
}) : a, n));
|
|
14
|
-
|
|
15
|
-
//#endregion
|
|
16
|
-
exports.c = c;
|
|
17
|
-
exports.o = o;
|
package/dist/node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/_chunks/rolldown-runtime.mjs
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
//#region ../../node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/_chunks/rolldown-runtime.mjs
|
|
2
|
-
var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescriptor, r = Object.getOwnPropertyNames, i = Object.getPrototypeOf, a = Object.prototype.hasOwnProperty, o = (e, t) => () => (t || e((t = { exports: {} }).exports, t), t.exports), s = (e, i, o, s) => {
|
|
3
|
-
if (i && typeof i == `object` || typeof i == `function`) for (var c = r(i), l = 0, u = c.length, d; l < u; l++) d = c[l], !a.call(e, d) && d !== o && t(e, d, {
|
|
4
|
-
get: ((e) => i[e]).bind(null, d),
|
|
5
|
-
enumerable: !(s = n(i, d)) || s.enumerable
|
|
6
|
-
});
|
|
7
|
-
return e;
|
|
8
|
-
}, c = (n, r, a) => (a = n == null ? {} : e(i(n)), s(r || !n || !n.__esModule ? t(a, `default`, {
|
|
9
|
-
value: n,
|
|
10
|
-
enumerable: !0
|
|
11
|
-
}) : a, n));
|
|
12
|
-
|
|
13
|
-
//#endregion
|
|
14
|
-
export { c, o };
|
|
15
|
-
//# sourceMappingURL=rolldown-runtime.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"rolldown-runtime.mjs","names":[],"sources":["../../../../../../../../../../node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/_chunks/rolldown-runtime.mjs"],"sourcesContent":["import\"node:module\";var e=Object.create,t=Object.defineProperty,n=Object.getOwnPropertyDescriptor,r=Object.getOwnPropertyNames,i=Object.getPrototypeOf,a=Object.prototype.hasOwnProperty,o=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),s=(e,i,o,s)=>{if(i&&typeof i==`object`||typeof i==`function`)for(var c=r(i),l=0,u=c.length,d;l<u;l++)d=c[l],!a.call(e,d)&&d!==o&&t(e,d,{get:(e=>i[e]).bind(null,d),enumerable:!(s=n(i,d))||s.enumerable});return e},c=(n,r,a)=>(a=n==null?{}:e(i(n)),s(r||!n||!n.__esModule?t(a,`default`,{value:n,enumerable:!0}):a,n));export{c as n,o as t};"],"x_google_ignoreList":[0],"mappings":";AAAoB,IAAI,IAAE,OAAO,QAAO,IAAE,OAAO,gBAAe,IAAE,OAAO,0BAAyB,IAAE,OAAO,qBAAoB,IAAE,OAAO,gBAAe,IAAE,OAAO,UAAU,gBAAe,KAAG,GAAE,aAAS,KAAG,GAAG,IAAE,EAAC,SAAQ,EAAE,EAAC,EAAE,SAAQ,EAAE,EAAC,EAAE,UAAS,KAAG,GAAE,GAAE,GAAE,MAAI;AAAC,KAAG,KAAG,OAAO,KAAG,YAAU,OAAO,KAAG,WAAW,MAAI,IAAI,IAAE,EAAE,EAAE,EAAC,IAAE,GAAE,IAAE,EAAE,QAAO,GAAE,IAAE,GAAE,IAAI,KAAE,EAAE,IAAG,CAAC,EAAE,KAAK,GAAE,EAAE,IAAE,MAAI,KAAG,EAAE,GAAE,GAAE;EAAC,OAAK,MAAG,EAAE,IAAI,KAAK,MAAK,EAAE;EAAC,YAAW,EAAE,IAAE,EAAE,GAAE,EAAE,KAAG,EAAE;EAAW,CAAC;AAAC,QAAO;GAAG,KAAG,GAAE,GAAE,OAAK,IAAE,KAAG,OAAK,EAAE,GAAC,EAAE,EAAE,EAAE,CAAC,EAAC,EAAE,KAAG,CAAC,KAAG,CAAC,EAAE,aAAW,EAAE,GAAE,WAAU;CAAC,OAAM;CAAE,YAAW,CAAC;CAAE,CAAC,GAAC,GAAE,EAAE"}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
const require_rolldown_runtime = require('./_chunks/rolldown-runtime.cjs');
|
|
2
|
-
const require_json5 = require('./_chunks/libs/json5.cjs');
|
|
3
|
-
const require__format = require('./_chunks/_format.cjs');
|
|
4
|
-
|
|
5
|
-
//#region ../../node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/json5.mjs
|
|
6
|
-
var a = require_rolldown_runtime.c(require_json5.r(), 1), o = require_rolldown_runtime.c(require_json5.i(), 1);
|
|
7
|
-
function s(e, n) {
|
|
8
|
-
let r = (0, a.default)(e, n?.reviver);
|
|
9
|
-
return require__format.a(e, r, n), r;
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
//#endregion
|
|
13
|
-
exports.parseJSON5 = s;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { c } from "./_chunks/rolldown-runtime.mjs";
|
|
2
|
-
import { i, r } from "./_chunks/libs/json5.mjs";
|
|
3
|
-
import { a as a$1 } from "./_chunks/_format.mjs";
|
|
4
|
-
|
|
5
|
-
//#region ../../node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/json5.mjs
|
|
6
|
-
var a = c(r(), 1), o = c(i(), 1);
|
|
7
|
-
function s(e, n) {
|
|
8
|
-
let r = (0, a.default)(e, n?.reviver);
|
|
9
|
-
return a$1(e, r, n), r;
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
//#endregion
|
|
13
|
-
export { s as parseJSON5 };
|
|
14
|
-
//# sourceMappingURL=json5.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"json5.mjs","names":["e","t"],"sources":["../../../../../../../../../node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/json5.mjs"],"sourcesContent":["import{n as e}from\"./_chunks/rolldown-runtime.mjs\";import{n as t,t as n}from\"./_chunks/_format.mjs\";import{n as r,t as i}from\"./_chunks/libs/json5.mjs\";var a=e(r(),1),o=e(i(),1);function s(e,n){let r=(0,a.default)(e,n?.reviver);return t(e,r,n),r}function c(e,t){let r=n(e,t),i=(0,o.default)(e,t?.replacer,r.indent);return r.whitespace.start+i+r.whitespace.end}export{s as parseJSON5,c as stringifyJSON5};"],"x_google_ignoreList":[0],"mappings":";;;;;AAAwJ,IAAI,IAAEA,EAAE,GAAG,EAAC,EAAE,EAAC,IAAEA,EAAE,GAAG,EAAC,EAAE;AAAC,SAAS,EAAE,GAAE,GAAE;CAAC,IAAI,KAAG,GAAE,EAAE,SAAS,GAAE,GAAG,QAAQ;AAAC,QAAOC,IAAE,GAAE,GAAE,EAAE,EAAC"}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
const require__format = require('./_chunks/_format.cjs');
|
|
2
|
-
const require_jsonc_parser = require('./_chunks/libs/jsonc-parser.cjs');
|
|
3
|
-
|
|
4
|
-
//#region ../../node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/jsonc.mjs
|
|
5
|
-
function r(n, r) {
|
|
6
|
-
let i = require_jsonc_parser.m(n, r?.errors, r);
|
|
7
|
-
return require__format.a(n, i, r), i;
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
//#endregion
|
|
11
|
-
exports.parseJSONC = r;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { a } from "./_chunks/_format.mjs";
|
|
2
|
-
import { m } from "./_chunks/libs/jsonc-parser.mjs";
|
|
3
|
-
|
|
4
|
-
//#region ../../node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/jsonc.mjs
|
|
5
|
-
function r(n, r) {
|
|
6
|
-
let i = m(n, r?.errors, r);
|
|
7
|
-
return a(n, i, r), i;
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
//#endregion
|
|
11
|
-
export { r as parseJSONC };
|
|
12
|
-
//# sourceMappingURL=jsonc.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"jsonc.mjs","names":["t","e"],"sources":["../../../../../../../../../node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/jsonc.mjs"],"sourcesContent":["import{n as e}from\"./_chunks/_format.mjs\";import{t}from\"./_chunks/libs/jsonc-parser.mjs\";import{n}from\"./_chunks/json.mjs\";function r(n,r){let i=t(n,r?.errors,r);return e(n,i,r),i}function i(e,t){return n(e,t)}export{r as parseJSONC,i as stringifyJSONC};"],"x_google_ignoreList":[0],"mappings":";;;;AAA2H,SAAS,EAAE,GAAE,GAAE;CAAC,IAAI,IAAEA,EAAE,GAAE,GAAG,QAAO,EAAE;AAAC,QAAOC,EAAE,GAAE,GAAE,EAAE,EAAC"}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
const require__format = require('./_chunks/_format.cjs');
|
|
2
|
-
const require_smol_toml = require('./_chunks/libs/smol-toml.cjs');
|
|
3
|
-
|
|
4
|
-
//#region ../../node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/toml.mjs
|
|
5
|
-
function i(t) {
|
|
6
|
-
let r = require_smol_toml.T(t);
|
|
7
|
-
return require__format.a(t, r, { preserveIndentation: !1 }), r;
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
//#endregion
|
|
11
|
-
exports.parseTOML = i;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { a } from "./_chunks/_format.mjs";
|
|
2
|
-
import { T } from "./_chunks/libs/smol-toml.mjs";
|
|
3
|
-
|
|
4
|
-
//#region ../../node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/toml.mjs
|
|
5
|
-
function i(t) {
|
|
6
|
-
let r = T(t);
|
|
7
|
-
return a(t, r, { preserveIndentation: !1 }), r;
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
//#endregion
|
|
11
|
-
export { i as parseTOML };
|
|
12
|
-
//# sourceMappingURL=toml.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"toml.mjs","names":["n","e"],"sources":["../../../../../../../../../node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/toml.mjs"],"sourcesContent":["import{n as e,t}from\"./_chunks/_format.mjs\";import{n,t as r}from\"./_chunks/libs/smol-toml.mjs\";function i(t){let r=n(t);return e(t,r,{preserveIndentation:!1}),r}function a(e){let n=t(e,{preserveIndentation:!1}),i=r(e);return n.whitespace.start+i+n.whitespace.end}export{i as parseTOML,a as stringifyTOML};"],"x_google_ignoreList":[0],"mappings":";;;;AAA+F,SAAS,EAAE,GAAE;CAAC,IAAI,IAAEA,EAAE,EAAE;AAAC,QAAOC,EAAE,GAAE,GAAE,EAAC,qBAAoB,CAAC,GAAE,CAAC,EAAC"}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
const require__format = require('./_chunks/_format.cjs');
|
|
2
|
-
const require_js_yaml = require('./_chunks/libs/js-yaml.cjs');
|
|
3
|
-
|
|
4
|
-
//#region ../../node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/yaml.mjs
|
|
5
|
-
function i(t, r) {
|
|
6
|
-
let i = require_js_yaml.In(t, r);
|
|
7
|
-
return require__format.a(t, i, r), i;
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
//#endregion
|
|
11
|
-
exports.parseYAML = i;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { a } from "./_chunks/_format.mjs";
|
|
2
|
-
import { In } from "./_chunks/libs/js-yaml.mjs";
|
|
3
|
-
|
|
4
|
-
//#region ../../node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/yaml.mjs
|
|
5
|
-
function i(t, r) {
|
|
6
|
-
let i = In(t, r);
|
|
7
|
-
return a(t, i, r), i;
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
//#endregion
|
|
11
|
-
export { i as parseYAML };
|
|
12
|
-
//# sourceMappingURL=yaml.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"yaml.mjs","names":["n","e"],"sources":["../../../../../../../../../node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/yaml.mjs"],"sourcesContent":["import{n as e,t}from\"./_chunks/_format.mjs\";import{n,t as r}from\"./_chunks/libs/js-yaml.mjs\";function i(t,r){let i=n(t,r);return e(t,i,r),i}function a(e,n){let i=t(e,{preserveIndentation:!1}),a=r(e,{indent:typeof i.indent==`string`?i.indent.length:i.indent,...n});return i.whitespace.start+a.trim()+i.whitespace.end}export{i as parseYAML,a as stringifyYAML};"],"x_google_ignoreList":[0],"mappings":";;;;AAA6F,SAAS,EAAE,GAAE,GAAE;CAAC,IAAI,IAAEA,GAAE,GAAE,EAAE;AAAC,QAAOC,EAAE,GAAE,GAAE,EAAE,EAAC"}
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
//#region ../../node_modules/.pnpm/destr@2.0.5/node_modules/destr/dist/index.mjs
|
|
3
|
-
const suspectProtoRx = /"(?:_|\\u0{2}5[Ff]){2}(?:p|\\u0{2}70)(?:r|\\u0{2}72)(?:o|\\u0{2}6[Ff])(?:t|\\u0{2}74)(?:o|\\u0{2}6[Ff])(?:_|\\u0{2}5[Ff]){2}"\s*:/;
|
|
4
|
-
const suspectConstructorRx = /"(?:c|\\u0063)(?:o|\\u006[Ff])(?:n|\\u006[Ee])(?:s|\\u0073)(?:t|\\u0074)(?:r|\\u0072)(?:u|\\u0075)(?:c|\\u0063)(?:t|\\u0074)(?:o|\\u006[Ff])(?:r|\\u0072)"\s*:/;
|
|
5
|
-
const JsonSigRx = /^\s*["[{]|^\s*-?\d{1,16}(\.\d{1,17})?([Ee][+-]?\d+)?\s*$/;
|
|
6
|
-
function jsonParseTransform(key, value) {
|
|
7
|
-
if (key === "__proto__" || key === "constructor" && value && typeof value === "object" && "prototype" in value) {
|
|
8
|
-
warnKeyDropped(key);
|
|
9
|
-
return;
|
|
10
|
-
}
|
|
11
|
-
return value;
|
|
12
|
-
}
|
|
13
|
-
function warnKeyDropped(key) {
|
|
14
|
-
console.warn(`[destr] Dropping "${key}" key to prevent prototype pollution.`);
|
|
15
|
-
}
|
|
16
|
-
function destr(value, options = {}) {
|
|
17
|
-
if (typeof value !== "string") return value;
|
|
18
|
-
if (value[0] === "\"" && value[value.length - 1] === "\"" && value.indexOf("\\") === -1) return value.slice(1, -1);
|
|
19
|
-
const _value = value.trim();
|
|
20
|
-
if (_value.length <= 9) switch (_value.toLowerCase()) {
|
|
21
|
-
case "true": return true;
|
|
22
|
-
case "false": return false;
|
|
23
|
-
case "undefined": return;
|
|
24
|
-
case "null": return null;
|
|
25
|
-
case "nan": return NaN;
|
|
26
|
-
case "infinity": return Number.POSITIVE_INFINITY;
|
|
27
|
-
case "-infinity": return Number.NEGATIVE_INFINITY;
|
|
28
|
-
}
|
|
29
|
-
if (!JsonSigRx.test(value)) {
|
|
30
|
-
if (options.strict) throw new SyntaxError("[destr] Invalid JSON");
|
|
31
|
-
return value;
|
|
32
|
-
}
|
|
33
|
-
try {
|
|
34
|
-
if (suspectProtoRx.test(value) || suspectConstructorRx.test(value)) {
|
|
35
|
-
if (options.strict) throw new Error("[destr] Possible prototype pollution");
|
|
36
|
-
return JSON.parse(value, jsonParseTransform);
|
|
37
|
-
}
|
|
38
|
-
return JSON.parse(value);
|
|
39
|
-
} catch (error) {
|
|
40
|
-
if (options.strict) throw error;
|
|
41
|
-
return value;
|
|
42
|
-
}
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
//#endregion
|
|
46
|
-
exports.destr = destr;
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
//#region ../../node_modules/.pnpm/destr@2.0.5/node_modules/destr/dist/index.mjs
|
|
2
|
-
const suspectProtoRx = /"(?:_|\\u0{2}5[Ff]){2}(?:p|\\u0{2}70)(?:r|\\u0{2}72)(?:o|\\u0{2}6[Ff])(?:t|\\u0{2}74)(?:o|\\u0{2}6[Ff])(?:_|\\u0{2}5[Ff]){2}"\s*:/;
|
|
3
|
-
const suspectConstructorRx = /"(?:c|\\u0063)(?:o|\\u006[Ff])(?:n|\\u006[Ee])(?:s|\\u0073)(?:t|\\u0074)(?:r|\\u0072)(?:u|\\u0075)(?:c|\\u0063)(?:t|\\u0074)(?:o|\\u006[Ff])(?:r|\\u0072)"\s*:/;
|
|
4
|
-
const JsonSigRx = /^\s*["[{]|^\s*-?\d{1,16}(\.\d{1,17})?([Ee][+-]?\d+)?\s*$/;
|
|
5
|
-
function jsonParseTransform(key, value) {
|
|
6
|
-
if (key === "__proto__" || key === "constructor" && value && typeof value === "object" && "prototype" in value) {
|
|
7
|
-
warnKeyDropped(key);
|
|
8
|
-
return;
|
|
9
|
-
}
|
|
10
|
-
return value;
|
|
11
|
-
}
|
|
12
|
-
function warnKeyDropped(key) {
|
|
13
|
-
console.warn(`[destr] Dropping "${key}" key to prevent prototype pollution.`);
|
|
14
|
-
}
|
|
15
|
-
function destr(value, options = {}) {
|
|
16
|
-
if (typeof value !== "string") return value;
|
|
17
|
-
if (value[0] === "\"" && value[value.length - 1] === "\"" && value.indexOf("\\") === -1) return value.slice(1, -1);
|
|
18
|
-
const _value = value.trim();
|
|
19
|
-
if (_value.length <= 9) switch (_value.toLowerCase()) {
|
|
20
|
-
case "true": return true;
|
|
21
|
-
case "false": return false;
|
|
22
|
-
case "undefined": return;
|
|
23
|
-
case "null": return null;
|
|
24
|
-
case "nan": return NaN;
|
|
25
|
-
case "infinity": return Number.POSITIVE_INFINITY;
|
|
26
|
-
case "-infinity": return Number.NEGATIVE_INFINITY;
|
|
27
|
-
}
|
|
28
|
-
if (!JsonSigRx.test(value)) {
|
|
29
|
-
if (options.strict) throw new SyntaxError("[destr] Invalid JSON");
|
|
30
|
-
return value;
|
|
31
|
-
}
|
|
32
|
-
try {
|
|
33
|
-
if (suspectProtoRx.test(value) || suspectConstructorRx.test(value)) {
|
|
34
|
-
if (options.strict) throw new Error("[destr] Possible prototype pollution");
|
|
35
|
-
return JSON.parse(value, jsonParseTransform);
|
|
36
|
-
}
|
|
37
|
-
return JSON.parse(value);
|
|
38
|
-
} catch (error) {
|
|
39
|
-
if (options.strict) throw error;
|
|
40
|
-
return value;
|
|
41
|
-
}
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
//#endregion
|
|
45
|
-
export { destr };
|
|
46
|
-
//# sourceMappingURL=index.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","names":[],"sources":["../../../../../../../../../node_modules/.pnpm/destr@2.0.5/node_modules/destr/dist/index.mjs"],"sourcesContent":["const suspectProtoRx = /\"(?:_|\\\\u0{2}5[Ff]){2}(?:p|\\\\u0{2}70)(?:r|\\\\u0{2}72)(?:o|\\\\u0{2}6[Ff])(?:t|\\\\u0{2}74)(?:o|\\\\u0{2}6[Ff])(?:_|\\\\u0{2}5[Ff]){2}\"\\s*:/;\nconst suspectConstructorRx = /\"(?:c|\\\\u0063)(?:o|\\\\u006[Ff])(?:n|\\\\u006[Ee])(?:s|\\\\u0073)(?:t|\\\\u0074)(?:r|\\\\u0072)(?:u|\\\\u0075)(?:c|\\\\u0063)(?:t|\\\\u0074)(?:o|\\\\u006[Ff])(?:r|\\\\u0072)\"\\s*:/;\nconst JsonSigRx = /^\\s*[\"[{]|^\\s*-?\\d{1,16}(\\.\\d{1,17})?([Ee][+-]?\\d+)?\\s*$/;\nfunction jsonParseTransform(key, value) {\n if (key === \"__proto__\" || key === \"constructor\" && value && typeof value === \"object\" && \"prototype\" in value) {\n warnKeyDropped(key);\n return;\n }\n return value;\n}\nfunction warnKeyDropped(key) {\n console.warn(`[destr] Dropping \"${key}\" key to prevent prototype pollution.`);\n}\nfunction destr(value, options = {}) {\n if (typeof value !== \"string\") {\n return value;\n }\n if (value[0] === '\"' && value[value.length - 1] === '\"' && value.indexOf(\"\\\\\") === -1) {\n return value.slice(1, -1);\n }\n const _value = value.trim();\n if (_value.length <= 9) {\n switch (_value.toLowerCase()) {\n case \"true\": {\n return true;\n }\n case \"false\": {\n return false;\n }\n case \"undefined\": {\n return void 0;\n }\n case \"null\": {\n return null;\n }\n case \"nan\": {\n return Number.NaN;\n }\n case \"infinity\": {\n return Number.POSITIVE_INFINITY;\n }\n case \"-infinity\": {\n return Number.NEGATIVE_INFINITY;\n }\n }\n }\n if (!JsonSigRx.test(value)) {\n if (options.strict) {\n throw new SyntaxError(\"[destr] Invalid JSON\");\n }\n return value;\n }\n try {\n if (suspectProtoRx.test(value) || suspectConstructorRx.test(value)) {\n if (options.strict) {\n throw new Error(\"[destr] Possible prototype pollution\");\n }\n return JSON.parse(value, jsonParseTransform);\n }\n return JSON.parse(value);\n } catch (error) {\n if (options.strict) {\n throw error;\n }\n return value;\n }\n}\nfunction safeDestr(value, options = {}) {\n return destr(value, { ...options, strict: true });\n}\n\nexport { destr as default, destr, safeDestr };\n"],"x_google_ignoreList":[0],"mappings":";AAAA,MAAM,iBAAiB;AACvB,MAAM,uBAAuB;AAC7B,MAAM,YAAY;AAClB,SAAS,mBAAmB,KAAK,OAAO;AACtC,KAAI,QAAQ,eAAe,QAAQ,iBAAiB,SAAS,OAAO,UAAU,YAAY,eAAe,OAAO;AAC9G,iBAAe,IAAI;AACnB;;AAEF,QAAO;;AAET,SAAS,eAAe,KAAK;AAC3B,SAAQ,KAAK,qBAAqB,IAAI,uCAAuC;;AAE/E,SAAS,MAAM,OAAO,UAAU,EAAE,EAAE;AAClC,KAAI,OAAO,UAAU,SACnB,QAAO;AAET,KAAI,MAAM,OAAO,QAAO,MAAM,MAAM,SAAS,OAAO,QAAO,MAAM,QAAQ,KAAK,KAAK,GACjF,QAAO,MAAM,MAAM,GAAG,GAAG;CAE3B,MAAM,SAAS,MAAM,MAAM;AAC3B,KAAI,OAAO,UAAU,EACnB,SAAQ,OAAO,aAAa,EAA5B;EACE,KAAK,OACH,QAAO;EAET,KAAK,QACH,QAAO;EAET,KAAK,YACH;EAEF,KAAK,OACH,QAAO;EAET,KAAK,MACH,QAAO;EAET,KAAK,WACH,QAAO,OAAO;EAEhB,KAAK,YACH,QAAO,OAAO;;AAIpB,KAAI,CAAC,UAAU,KAAK,MAAM,EAAE;AAC1B,MAAI,QAAQ,OACV,OAAM,IAAI,YAAY,uBAAuB;AAE/C,SAAO;;AAET,KAAI;AACF,MAAI,eAAe,KAAK,MAAM,IAAI,qBAAqB,KAAK,MAAM,EAAE;AAClE,OAAI,QAAQ,OACV,OAAM,IAAI,MAAM,uCAAuC;AAEzD,UAAO,KAAK,MAAM,OAAO,mBAAmB;;AAE9C,SAAO,KAAK,MAAM,MAAM;UACjB,OAAO;AACd,MAAI,QAAQ,OACV,OAAM;AAER,SAAO"}
|
|
@@ -1,285 +0,0 @@
|
|
|
1
|
-
const require_runtime = require('../../../../../../_virtual/_rolldown/runtime.cjs');
|
|
2
|
-
const require_package$1 = require('../package.cjs');
|
|
3
|
-
|
|
4
|
-
//#region ../../node_modules/.pnpm/dotenv@17.3.1/node_modules/dotenv/lib/main.js
|
|
5
|
-
var require_main = /* @__PURE__ */ require_runtime.__commonJSMin(((exports, module) => {
|
|
6
|
-
const fs = require("node:fs");
|
|
7
|
-
const path = require("node:path");
|
|
8
|
-
const os = require("node:os");
|
|
9
|
-
const crypto = require("node:crypto");
|
|
10
|
-
const version = require_package$1.default.version;
|
|
11
|
-
const TIPS = [
|
|
12
|
-
"🔐 encrypt with Dotenvx: https://dotenvx.com",
|
|
13
|
-
"🔐 prevent committing .env to code: https://dotenvx.com/precommit",
|
|
14
|
-
"🔐 prevent building .env in docker: https://dotenvx.com/prebuild",
|
|
15
|
-
"🤖 agentic secret storage: https://dotenvx.com/as2",
|
|
16
|
-
"⚡️ secrets for agents: https://dotenvx.com/as2",
|
|
17
|
-
"🛡️ auth for agents: https://vestauth.com",
|
|
18
|
-
"🛠️ run anywhere with `dotenvx run -- yourcommand`",
|
|
19
|
-
"⚙️ specify custom .env file path with { path: '/custom/path/.env' }",
|
|
20
|
-
"⚙️ enable debug logging with { debug: true }",
|
|
21
|
-
"⚙️ override existing env vars with { override: true }",
|
|
22
|
-
"⚙️ suppress all logs with { quiet: true }",
|
|
23
|
-
"⚙️ write to custom object with { processEnv: myObject }",
|
|
24
|
-
"⚙️ load multiple .env files with { path: ['.env.local', '.env'] }"
|
|
25
|
-
];
|
|
26
|
-
function _getRandomTip() {
|
|
27
|
-
return TIPS[Math.floor(Math.random() * TIPS.length)];
|
|
28
|
-
}
|
|
29
|
-
function parseBoolean(value) {
|
|
30
|
-
if (typeof value === "string") return ![
|
|
31
|
-
"false",
|
|
32
|
-
"0",
|
|
33
|
-
"no",
|
|
34
|
-
"off",
|
|
35
|
-
""
|
|
36
|
-
].includes(value.toLowerCase());
|
|
37
|
-
return Boolean(value);
|
|
38
|
-
}
|
|
39
|
-
function supportsAnsi() {
|
|
40
|
-
return process.stdout.isTTY;
|
|
41
|
-
}
|
|
42
|
-
function dim(text) {
|
|
43
|
-
return supportsAnsi() ? `\x1b[2m${text}\x1b[0m` : text;
|
|
44
|
-
}
|
|
45
|
-
const LINE = /(?:^|^)\s*(?:export\s+)?([\w.-]+)(?:\s*=\s*?|:\s+?)(\s*'(?:\\'|[^'])*'|\s*"(?:\\"|[^"])*"|\s*`(?:\\`|[^`])*`|[^#\r\n]+)?\s*(?:#.*)?(?:$|$)/gm;
|
|
46
|
-
function parse(src) {
|
|
47
|
-
const obj = {};
|
|
48
|
-
let lines = src.toString();
|
|
49
|
-
lines = lines.replace(/\r\n?/gm, "\n");
|
|
50
|
-
let match;
|
|
51
|
-
while ((match = LINE.exec(lines)) != null) {
|
|
52
|
-
const key = match[1];
|
|
53
|
-
let value = match[2] || "";
|
|
54
|
-
value = value.trim();
|
|
55
|
-
const maybeQuote = value[0];
|
|
56
|
-
value = value.replace(/^(['"`])([\s\S]*)\1$/gm, "$2");
|
|
57
|
-
if (maybeQuote === "\"") {
|
|
58
|
-
value = value.replace(/\\n/g, "\n");
|
|
59
|
-
value = value.replace(/\\r/g, "\r");
|
|
60
|
-
}
|
|
61
|
-
obj[key] = value;
|
|
62
|
-
}
|
|
63
|
-
return obj;
|
|
64
|
-
}
|
|
65
|
-
function _parseVault(options) {
|
|
66
|
-
options = options || {};
|
|
67
|
-
const vaultPath = _vaultPath(options);
|
|
68
|
-
options.path = vaultPath;
|
|
69
|
-
const result = DotenvModule.configDotenv(options);
|
|
70
|
-
if (!result.parsed) {
|
|
71
|
-
const err = /* @__PURE__ */ new Error(`MISSING_DATA: Cannot parse ${vaultPath} for an unknown reason`);
|
|
72
|
-
err.code = "MISSING_DATA";
|
|
73
|
-
throw err;
|
|
74
|
-
}
|
|
75
|
-
const keys = _dotenvKey(options).split(",");
|
|
76
|
-
const length = keys.length;
|
|
77
|
-
let decrypted;
|
|
78
|
-
for (let i = 0; i < length; i++) try {
|
|
79
|
-
const attrs = _instructions(result, keys[i].trim());
|
|
80
|
-
decrypted = DotenvModule.decrypt(attrs.ciphertext, attrs.key);
|
|
81
|
-
break;
|
|
82
|
-
} catch (error) {
|
|
83
|
-
if (i + 1 >= length) throw error;
|
|
84
|
-
}
|
|
85
|
-
return DotenvModule.parse(decrypted);
|
|
86
|
-
}
|
|
87
|
-
function _warn(message) {
|
|
88
|
-
console.error(`[dotenv@${version}][WARN] ${message}`);
|
|
89
|
-
}
|
|
90
|
-
function _debug(message) {
|
|
91
|
-
console.log(`[dotenv@${version}][DEBUG] ${message}`);
|
|
92
|
-
}
|
|
93
|
-
function _log(message) {
|
|
94
|
-
console.log(`[dotenv@${version}] ${message}`);
|
|
95
|
-
}
|
|
96
|
-
function _dotenvKey(options) {
|
|
97
|
-
if (options && options.DOTENV_KEY && options.DOTENV_KEY.length > 0) return options.DOTENV_KEY;
|
|
98
|
-
if (process.env.DOTENV_KEY && process.env.DOTENV_KEY.length > 0) return process.env.DOTENV_KEY;
|
|
99
|
-
return "";
|
|
100
|
-
}
|
|
101
|
-
function _instructions(result, dotenvKey) {
|
|
102
|
-
let uri;
|
|
103
|
-
try {
|
|
104
|
-
uri = new URL(dotenvKey);
|
|
105
|
-
} catch (error) {
|
|
106
|
-
if (error.code === "ERR_INVALID_URL") {
|
|
107
|
-
const err = /* @__PURE__ */ new Error("INVALID_DOTENV_KEY: Wrong format. Must be in valid uri format like dotenv://:key_1234@dotenvx.com/vault/.env.vault?environment=development");
|
|
108
|
-
err.code = "INVALID_DOTENV_KEY";
|
|
109
|
-
throw err;
|
|
110
|
-
}
|
|
111
|
-
throw error;
|
|
112
|
-
}
|
|
113
|
-
const key = uri.password;
|
|
114
|
-
if (!key) {
|
|
115
|
-
const err = /* @__PURE__ */ new Error("INVALID_DOTENV_KEY: Missing key part");
|
|
116
|
-
err.code = "INVALID_DOTENV_KEY";
|
|
117
|
-
throw err;
|
|
118
|
-
}
|
|
119
|
-
const environment = uri.searchParams.get("environment");
|
|
120
|
-
if (!environment) {
|
|
121
|
-
const err = /* @__PURE__ */ new Error("INVALID_DOTENV_KEY: Missing environment part");
|
|
122
|
-
err.code = "INVALID_DOTENV_KEY";
|
|
123
|
-
throw err;
|
|
124
|
-
}
|
|
125
|
-
const environmentKey = `DOTENV_VAULT_${environment.toUpperCase()}`;
|
|
126
|
-
const ciphertext = result.parsed[environmentKey];
|
|
127
|
-
if (!ciphertext) {
|
|
128
|
-
const err = /* @__PURE__ */ new Error(`NOT_FOUND_DOTENV_ENVIRONMENT: Cannot locate environment ${environmentKey} in your .env.vault file.`);
|
|
129
|
-
err.code = "NOT_FOUND_DOTENV_ENVIRONMENT";
|
|
130
|
-
throw err;
|
|
131
|
-
}
|
|
132
|
-
return {
|
|
133
|
-
ciphertext,
|
|
134
|
-
key
|
|
135
|
-
};
|
|
136
|
-
}
|
|
137
|
-
function _vaultPath(options) {
|
|
138
|
-
let possibleVaultPath = null;
|
|
139
|
-
if (options && options.path && options.path.length > 0) if (Array.isArray(options.path)) {
|
|
140
|
-
for (const filepath of options.path) if (fs.existsSync(filepath)) possibleVaultPath = filepath.endsWith(".vault") ? filepath : `${filepath}.vault`;
|
|
141
|
-
} else possibleVaultPath = options.path.endsWith(".vault") ? options.path : `${options.path}.vault`;
|
|
142
|
-
else possibleVaultPath = path.resolve(process.cwd(), ".env.vault");
|
|
143
|
-
if (fs.existsSync(possibleVaultPath)) return possibleVaultPath;
|
|
144
|
-
return null;
|
|
145
|
-
}
|
|
146
|
-
function _resolveHome(envPath) {
|
|
147
|
-
return envPath[0] === "~" ? path.join(os.homedir(), envPath.slice(1)) : envPath;
|
|
148
|
-
}
|
|
149
|
-
function _configVault(options) {
|
|
150
|
-
const debug = parseBoolean(process.env.DOTENV_CONFIG_DEBUG || options && options.debug);
|
|
151
|
-
const quiet = parseBoolean(process.env.DOTENV_CONFIG_QUIET || options && options.quiet);
|
|
152
|
-
if (debug || !quiet) _log("Loading env from encrypted .env.vault");
|
|
153
|
-
const parsed = DotenvModule._parseVault(options);
|
|
154
|
-
let processEnv = process.env;
|
|
155
|
-
if (options && options.processEnv != null) processEnv = options.processEnv;
|
|
156
|
-
DotenvModule.populate(processEnv, parsed, options);
|
|
157
|
-
return { parsed };
|
|
158
|
-
}
|
|
159
|
-
function configDotenv(options) {
|
|
160
|
-
const dotenvPath = path.resolve(process.cwd(), ".env");
|
|
161
|
-
let encoding = "utf8";
|
|
162
|
-
let processEnv = process.env;
|
|
163
|
-
if (options && options.processEnv != null) processEnv = options.processEnv;
|
|
164
|
-
let debug = parseBoolean(processEnv.DOTENV_CONFIG_DEBUG || options && options.debug);
|
|
165
|
-
let quiet = parseBoolean(processEnv.DOTENV_CONFIG_QUIET || options && options.quiet);
|
|
166
|
-
if (options && options.encoding) encoding = options.encoding;
|
|
167
|
-
else if (debug) _debug("No encoding is specified. UTF-8 is used by default");
|
|
168
|
-
let optionPaths = [dotenvPath];
|
|
169
|
-
if (options && options.path) if (!Array.isArray(options.path)) optionPaths = [_resolveHome(options.path)];
|
|
170
|
-
else {
|
|
171
|
-
optionPaths = [];
|
|
172
|
-
for (const filepath of options.path) optionPaths.push(_resolveHome(filepath));
|
|
173
|
-
}
|
|
174
|
-
let lastError;
|
|
175
|
-
const parsedAll = {};
|
|
176
|
-
for (const path of optionPaths) try {
|
|
177
|
-
const parsed = DotenvModule.parse(fs.readFileSync(path, { encoding }));
|
|
178
|
-
DotenvModule.populate(parsedAll, parsed, options);
|
|
179
|
-
} catch (e) {
|
|
180
|
-
if (debug) _debug(`Failed to load ${path} ${e.message}`);
|
|
181
|
-
lastError = e;
|
|
182
|
-
}
|
|
183
|
-
const populated = DotenvModule.populate(processEnv, parsedAll, options);
|
|
184
|
-
debug = parseBoolean(processEnv.DOTENV_CONFIG_DEBUG || debug);
|
|
185
|
-
quiet = parseBoolean(processEnv.DOTENV_CONFIG_QUIET || quiet);
|
|
186
|
-
if (debug || !quiet) {
|
|
187
|
-
const keysCount = Object.keys(populated).length;
|
|
188
|
-
const shortPaths = [];
|
|
189
|
-
for (const filePath of optionPaths) try {
|
|
190
|
-
const relative = path.relative(process.cwd(), filePath);
|
|
191
|
-
shortPaths.push(relative);
|
|
192
|
-
} catch (e) {
|
|
193
|
-
if (debug) _debug(`Failed to load ${filePath} ${e.message}`);
|
|
194
|
-
lastError = e;
|
|
195
|
-
}
|
|
196
|
-
_log(`injecting env (${keysCount}) from ${shortPaths.join(",")} ${dim(`-- tip: ${_getRandomTip()}`)}`);
|
|
197
|
-
}
|
|
198
|
-
if (lastError) return {
|
|
199
|
-
parsed: parsedAll,
|
|
200
|
-
error: lastError
|
|
201
|
-
};
|
|
202
|
-
else return { parsed: parsedAll };
|
|
203
|
-
}
|
|
204
|
-
function config(options) {
|
|
205
|
-
if (_dotenvKey(options).length === 0) return DotenvModule.configDotenv(options);
|
|
206
|
-
const vaultPath = _vaultPath(options);
|
|
207
|
-
if (!vaultPath) {
|
|
208
|
-
_warn(`You set DOTENV_KEY but you are missing a .env.vault file at ${vaultPath}. Did you forget to build it?`);
|
|
209
|
-
return DotenvModule.configDotenv(options);
|
|
210
|
-
}
|
|
211
|
-
return DotenvModule._configVault(options);
|
|
212
|
-
}
|
|
213
|
-
function decrypt(encrypted, keyStr) {
|
|
214
|
-
const key = Buffer.from(keyStr.slice(-64), "hex");
|
|
215
|
-
let ciphertext = Buffer.from(encrypted, "base64");
|
|
216
|
-
const nonce = ciphertext.subarray(0, 12);
|
|
217
|
-
const authTag = ciphertext.subarray(-16);
|
|
218
|
-
ciphertext = ciphertext.subarray(12, -16);
|
|
219
|
-
try {
|
|
220
|
-
const aesgcm = crypto.createDecipheriv("aes-256-gcm", key, nonce);
|
|
221
|
-
aesgcm.setAuthTag(authTag);
|
|
222
|
-
return `${aesgcm.update(ciphertext)}${aesgcm.final()}`;
|
|
223
|
-
} catch (error) {
|
|
224
|
-
const isRange = error instanceof RangeError;
|
|
225
|
-
const invalidKeyLength = error.message === "Invalid key length";
|
|
226
|
-
const decryptionFailed = error.message === "Unsupported state or unable to authenticate data";
|
|
227
|
-
if (isRange || invalidKeyLength) {
|
|
228
|
-
const err = /* @__PURE__ */ new Error("INVALID_DOTENV_KEY: It must be 64 characters long (or more)");
|
|
229
|
-
err.code = "INVALID_DOTENV_KEY";
|
|
230
|
-
throw err;
|
|
231
|
-
} else if (decryptionFailed) {
|
|
232
|
-
const err = /* @__PURE__ */ new Error("DECRYPTION_FAILED: Please check your DOTENV_KEY");
|
|
233
|
-
err.code = "DECRYPTION_FAILED";
|
|
234
|
-
throw err;
|
|
235
|
-
} else throw error;
|
|
236
|
-
}
|
|
237
|
-
}
|
|
238
|
-
function populate(processEnv, parsed, options = {}) {
|
|
239
|
-
const debug = Boolean(options && options.debug);
|
|
240
|
-
const override = Boolean(options && options.override);
|
|
241
|
-
const populated = {};
|
|
242
|
-
if (typeof parsed !== "object") {
|
|
243
|
-
const err = /* @__PURE__ */ new Error("OBJECT_REQUIRED: Please check the processEnv argument being passed to populate");
|
|
244
|
-
err.code = "OBJECT_REQUIRED";
|
|
245
|
-
throw err;
|
|
246
|
-
}
|
|
247
|
-
for (const key of Object.keys(parsed)) if (Object.prototype.hasOwnProperty.call(processEnv, key)) {
|
|
248
|
-
if (override === true) {
|
|
249
|
-
processEnv[key] = parsed[key];
|
|
250
|
-
populated[key] = parsed[key];
|
|
251
|
-
}
|
|
252
|
-
if (debug) if (override === true) _debug(`"${key}" is already defined and WAS overwritten`);
|
|
253
|
-
else _debug(`"${key}" is already defined and was NOT overwritten`);
|
|
254
|
-
} else {
|
|
255
|
-
processEnv[key] = parsed[key];
|
|
256
|
-
populated[key] = parsed[key];
|
|
257
|
-
}
|
|
258
|
-
return populated;
|
|
259
|
-
}
|
|
260
|
-
const DotenvModule = {
|
|
261
|
-
configDotenv,
|
|
262
|
-
_configVault,
|
|
263
|
-
_parseVault,
|
|
264
|
-
config,
|
|
265
|
-
decrypt,
|
|
266
|
-
parse,
|
|
267
|
-
populate
|
|
268
|
-
};
|
|
269
|
-
module.exports.configDotenv = DotenvModule.configDotenv;
|
|
270
|
-
module.exports._configVault = DotenvModule._configVault;
|
|
271
|
-
module.exports._parseVault = DotenvModule._parseVault;
|
|
272
|
-
module.exports.config = DotenvModule.config;
|
|
273
|
-
module.exports.decrypt = DotenvModule.decrypt;
|
|
274
|
-
module.exports.parse = DotenvModule.parse;
|
|
275
|
-
module.exports.populate = DotenvModule.populate;
|
|
276
|
-
module.exports = DotenvModule;
|
|
277
|
-
}));
|
|
278
|
-
|
|
279
|
-
//#endregion
|
|
280
|
-
Object.defineProperty(exports, 'default', {
|
|
281
|
-
enumerable: true,
|
|
282
|
-
get: function () {
|
|
283
|
-
return require_main();
|
|
284
|
-
}
|
|
285
|
-
});
|