@app-config/extensions
Advanced tools
Comparing version 2.6.0 to 2.6.1
@@ -29,3 +29,3 @@ import { named, forKey, validateOptions, validationFunction, } from '@app-config/extension-utils'; | ||
.catch((error) => { | ||
if (error instanceof NotFoundError && isOptional) { | ||
if (isOptional && NotFoundError.isNotFoundError(error, resolvedPath)) { | ||
return ParsedValue.literal({}); | ||
@@ -32,0 +32,0 @@ } |
@@ -26,3 +26,3 @@ "use strict"; | ||
.catch((error) => { | ||
if (error instanceof core_1.NotFoundError && isOptional) { | ||
if (isOptional && core_1.NotFoundError.isNotFoundError(error, resolvedPath)) { | ||
return core_1.ParsedValue.literal({}); | ||
@@ -29,0 +29,0 @@ } |
{ | ||
"name": "@app-config/extensions", | ||
"description": "Common parsing extensions for @app-config", | ||
"version": "2.6.0", | ||
"version": "2.6.1", | ||
"license": "MPL-2.0", | ||
@@ -33,11 +33,11 @@ "author": { | ||
"dependencies": { | ||
"@app-config/core": "^2.6.0", | ||
"@app-config/extension-utils": "^2.6.0", | ||
"@app-config/logging": "^2.6.0", | ||
"@app-config/node": "^2.6.0", | ||
"@app-config/utils": "^2.6.0", | ||
"@app-config/core": "^2.6.1", | ||
"@app-config/extension-utils": "^2.6.1", | ||
"@app-config/logging": "^2.6.1", | ||
"@app-config/node": "^2.6.1", | ||
"@app-config/utils": "^2.6.1", | ||
"lodash.isequal": "4" | ||
}, | ||
"devDependencies": { | ||
"@app-config/test-utils": "^2.6.0", | ||
"@app-config/test-utils": "^2.6.1", | ||
"@types/lodash.isequal": "4" | ||
@@ -44,0 +44,0 @@ }, |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
111082
Updated@app-config/core@^2.6.1
Updated@app-config/logging@^2.6.1
Updated@app-config/node@^2.6.1
Updated@app-config/utils@^2.6.1