poe-code 10.0.0 → 10.0.1
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/index.js +3 -3
- package/dist/index.js.map +2 -2
- package/package.json +1 -1
- package/packages/safejs/dist/chunks/{chunk-SDKCGJW4.js → chunk-HNGGGIMP.js} +3 -3
- package/packages/safejs/dist/chunks/{chunk-SDKCGJW4.js.map → chunk-HNGGGIMP.js.map} +2 -2
- package/packages/safejs/dist/cli.js +1 -1
- package/packages/safejs/dist/index.js +1 -1
- package/packages/safejs/dist/modules/env.js +2 -2
package/dist/index.js
CHANGED
|
@@ -149453,12 +149453,12 @@ var init_agent3 = __esm({
|
|
|
149453
149453
|
function makeEnvModule(input) {
|
|
149454
149454
|
const options = normalizeEnvOptions(Array.isArray(input) ? { allow: input } : input);
|
|
149455
149455
|
const allowedNames = new Set(options.allow);
|
|
149456
|
-
const values = options.values
|
|
149456
|
+
const values = options.values;
|
|
149457
149457
|
return {
|
|
149458
149458
|
get(name) {
|
|
149459
149459
|
const variable = readEnvName(name, "Environment variable name");
|
|
149460
149460
|
if (!allowedNames.has(variable)) throw new EnvAccessError(variable);
|
|
149461
|
-
return readEnvValue(values, variable);
|
|
149461
|
+
return readEnvValue(values ?? process.env, variable);
|
|
149462
149462
|
}
|
|
149463
149463
|
};
|
|
149464
149464
|
}
|
|
@@ -155167,7 +155167,7 @@ var init_package2 = __esm({
|
|
|
155167
155167
|
"package.json"() {
|
|
155168
155168
|
package_default2 = {
|
|
155169
155169
|
name: "poe-code",
|
|
155170
|
-
version: "10.0.
|
|
155170
|
+
version: "10.0.1",
|
|
155171
155171
|
description: "CLI tool to configure Poe API for developer workflows.",
|
|
155172
155172
|
license: "MIT",
|
|
155173
155173
|
type: "module",
|