scenv 0.1.0 → 0.1.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.cjs CHANGED
@@ -286,9 +286,6 @@ function senv(name, options = {}) {
286
286
  const ctx = getContextValues();
287
287
  if (ctx[key] !== void 0) return ctx[key];
288
288
  }
289
- if (defaultValue !== void 0) {
290
- return String(defaultValue);
291
- }
292
289
  return void 0;
293
290
  }
294
291
  function shouldPrompt(config, hadValue, hadEnv) {
package/dist/index.js CHANGED
@@ -259,9 +259,6 @@ function senv(name, options = {}) {
259
259
  const ctx = getContextValues();
260
260
  if (ctx[key] !== void 0) return ctx[key];
261
261
  }
262
- if (defaultValue !== void 0) {
263
- return String(defaultValue);
264
- }
265
262
  return void 0;
266
263
  }
267
264
  function shouldPrompt(config, hadValue, hadEnv) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "scenv",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "Environment and context variables with runtime-configurable resolution",
5
5
  "repository": {
6
6
  "type": "git",