@trenskow/config 3.1.2 → 3.1.3

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/index.js +1 -1
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -135,7 +135,7 @@ export default async (schema = {}, options = {}) => {
135
135
 
136
136
  try {
137
137
  return await isvalid(
138
- camelCased(schema, merge({}, process.env, readEnvironment(
138
+ camelCased(schema, merge({}, Object.assign({}, process.env), readEnvironment(
139
139
  dirname(resolve(process.cwd(), process.argv[1])) || __dirname))),
140
140
  schema,
141
141
  options);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@trenskow/config",
3
- "version": "3.1.2",
3
+ "version": "3.1.3",
4
4
  "description": "Converts `process.env` into a neatly packed object.",
5
5
  "main": "index.js",
6
6
  "type": "module",