@spinajs/configuration
Advanced tools
Comparing version 2.0.281 to 2.0.282
@@ -146,3 +146,7 @@ "use strict"; | ||
} | ||
cfg.__file__ = [file]; | ||
// all root props gets file info saved | ||
// for debugging purposes | ||
for (let k in cfg) { | ||
cfg[k].__file__ = [file]; | ||
} | ||
return cfg; | ||
@@ -172,3 +176,7 @@ } | ||
const cfg = JSON.parse(fs.readFileSync(file, 'utf-8')); | ||
cfg.__file__ = [file]; | ||
// all root props gets file info saved | ||
// for debugging purposes | ||
for (let k in cfg) { | ||
cfg[k].__file__ = [file]; | ||
} | ||
return Promise.resolve(cfg); | ||
@@ -175,0 +183,0 @@ } |
@@ -116,3 +116,7 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { | ||
} | ||
cfg.__file__ = [file]; | ||
// all root props gets file info saved | ||
// for debugging purposes | ||
for (let k in cfg) { | ||
cfg[k].__file__ = [file]; | ||
} | ||
return cfg; | ||
@@ -142,3 +146,7 @@ } | ||
const cfg = JSON.parse(fs.readFileSync(file, 'utf-8')); | ||
cfg.__file__ = [file]; | ||
// all root props gets file info saved | ||
// for debugging purposes | ||
for (let k in cfg) { | ||
cfg[k].__file__ = [file]; | ||
} | ||
return Promise.resolve(cfg); | ||
@@ -145,0 +153,0 @@ } |
{ | ||
"name": "@spinajs/configuration", | ||
"version": "2.0.281", | ||
"version": "2.0.282", | ||
"description": "framework configuration module", | ||
@@ -55,7 +55,7 @@ "main": "lib/cjs/index.js", | ||
"dependencies": { | ||
"@spinajs/configuration-common": "^2.0.281", | ||
"@spinajs/di": "^2.0.281", | ||
"@spinajs/exceptions": "^2.0.281", | ||
"@spinajs/internal-logger": "^2.0.281", | ||
"@spinajs/util": "2.0.281", | ||
"@spinajs/configuration-common": "^2.0.282", | ||
"@spinajs/di": "^2.0.282", | ||
"@spinajs/exceptions": "^2.0.282", | ||
"@spinajs/internal-logger": "^2.0.282", | ||
"@spinajs/util": "2.0.282", | ||
"ajv": "^8.12.0", | ||
@@ -62,0 +62,0 @@ "ajv-formats": "^2.1.1", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
260941
1720
+ Added@spinajs/util@2.0.282(transitive)
- Removed@spinajs/util@2.0.281(transitive)
Updated@spinajs/di@^2.0.282
Updated@spinajs/exceptions@^2.0.282
Updated@spinajs/util@2.0.282