@trenskow/config 3.0.50 → 3.0.52

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/index.js CHANGED
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  import caseit from '@trenskow/caseit';
4
- import merge from 'merge';
4
+ import merge from '@trenskow/merge';
5
5
  import isvalid, { formalize, keyPaths } from 'isvalid';
6
6
  import keyd from 'keyd';
7
7
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@trenskow/config",
3
- "version": "3.0.50",
3
+ "version": "3.0.52",
4
4
  "description": "Converts `process.env` into a neatly packed object.",
5
5
  "main": "index.js",
6
6
  "type": "module",
@@ -26,10 +26,10 @@
26
26
  },
27
27
  "homepage": "https://github.com/trenskow/config#readme",
28
28
  "dependencies": {
29
- "@trenskow/caseit": "^1.4.2",
30
- "isvalid": "^4.1.13",
31
- "keyd": "^2.1.6",
32
- "merge": "^2.1.1"
29
+ "@trenskow/caseit": "^1.4.3",
30
+ "@trenskow/merge": "^0.1.25",
31
+ "isvalid": "^4.1.14",
32
+ "keyd": "^2.1.6"
33
33
  },
34
34
  "devDependencies": {
35
35
  "@eslint/eslintrc": "^3.1.0",
package/test/index.js CHANGED
@@ -1,14 +1,14 @@
1
1
  'use strict';
2
2
 
3
3
  import { use, expect } from 'chai';
4
- import merge from 'merge';
4
+ import merge from '@trenskow/merge';
5
5
  import chaiAsPromised from 'chai-as-promised';
6
6
 
7
7
  use(chaiAsPromised);
8
8
 
9
9
  import config from '../index.js';
10
10
 
11
- process.env = merge(process.env, {
11
+ process.env = merge({}, process.env, {
12
12
  CONFIG_TEST: 'true',
13
13
  CONFIG_TEST_OBJ_STRING: 'string',
14
14
  CONFIG_TEST_OBJ_NUMBER: '200',