@constructive-io/graphql-env 2.9.2 → 2.9.4

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/esm/merge.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import deepmerge from 'deepmerge';
2
2
  import { constructiveGraphqlDefaults } from '@constructive-io/graphql-types';
3
- import { getEnvOptions as getPgpmEnvOptions, loadConfigSync, mergeArraysUnique } from '@pgpmjs/env';
3
+ import { getEnvOptions as getPgpmEnvOptions, loadConfigSync, replaceArrays } from '@pgpmjs/env';
4
4
  import { getGraphQLEnvVars } from './env';
5
5
  /**
6
6
  * Get Constructive environment options by merging:
@@ -39,7 +39,7 @@ export const getEnvOptions = (overrides = {}, cwd = process.cwd(), env = process
39
39
  graphqlEnvOptions,
40
40
  overrides
41
41
  ], {
42
- arrayMerge: mergeArraysUnique
42
+ arrayMerge: replaceArrays
43
43
  });
44
44
  };
45
45
  /**
package/merge.js CHANGED
@@ -45,7 +45,7 @@ const getEnvOptions = (overrides = {}, cwd = process.cwd(), env = process.env) =
45
45
  graphqlEnvOptions,
46
46
  overrides
47
47
  ], {
48
- arrayMerge: env_1.mergeArraysUnique
48
+ arrayMerge: env_1.replaceArrays
49
49
  });
50
50
  };
51
51
  exports.getEnvOptions = getEnvOptions;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@constructive-io/graphql-env",
3
- "version": "2.9.2",
3
+ "version": "2.9.4",
4
4
  "author": "Constructive <developers@constructive.io>",
5
5
  "description": "Constructive environment configuration with GraphQL/Graphile support",
6
6
  "main": "index.js",
@@ -29,8 +29,8 @@
29
29
  "test:watch": "jest --watch"
30
30
  },
31
31
  "dependencies": {
32
- "@constructive-io/graphql-types": "^2.13.0",
33
- "@pgpmjs/env": "^2.10.0",
32
+ "@constructive-io/graphql-types": "^2.14.0",
33
+ "@pgpmjs/env": "^2.10.1",
34
34
  "deepmerge": "^4.3.1"
35
35
  },
36
36
  "keywords": [
@@ -44,5 +44,5 @@
44
44
  "devDependencies": {
45
45
  "makage": "^0.1.10"
46
46
  },
47
- "gitHead": "eb66bc6e0ee3f0bcfcfeda2b5885b05c153de517"
47
+ "gitHead": "39b5c59b01b8ce391dc14daf5a9430ca0ff67574"
48
48
  }