@travetto/config 4.0.0-rc.7 → 4.0.0

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.
Files changed (2) hide show
  1. package/package.json +4 -4
  2. package/src/service.ts +2 -3
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@travetto/config",
3
- "version": "4.0.0-rc.7",
3
+ "version": "4.0.0",
4
4
  "description": "Configuration support",
5
5
  "keywords": [
6
6
  "yaml",
@@ -26,9 +26,9 @@
26
26
  "directory": "module/config"
27
27
  },
28
28
  "dependencies": {
29
- "@travetto/di": "^4.0.0-rc.7",
30
- "@travetto/schema": "^4.0.0-rc.7",
31
- "@travetto/yaml": "^4.0.0-rc.7"
29
+ "@travetto/di": "^4.0.0",
30
+ "@travetto/schema": "^4.0.0",
31
+ "@travetto/yaml": "^4.0.0"
32
32
  },
33
33
  "travetto": {
34
34
  "displayName": "Configuration"
package/src/service.ts CHANGED
@@ -140,7 +140,7 @@ export class ConfigurationService {
140
140
  * Log current configuration state
141
141
  */
142
142
  async initBanner(): Promise<void> {
143
- const og = util.inspect.defaultOptions.depth;
143
+ const ogDepth = util.inspect.defaultOptions.depth;
144
144
  util.inspect.defaultOptions.depth = 100;
145
145
 
146
146
  console.log('Initialized', {
@@ -158,7 +158,6 @@ export class ConfigurationService {
158
158
  },
159
159
  config: await this.exportActive()
160
160
  });
161
-
162
- util.inspect.defaultOptions.depth = og;
161
+ util.inspect.defaultOptions.depth = ogDepth;
163
162
  }
164
163
  }