configorama 0.4.6 → 0.4.7

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/lib/main.js +1 -1
  2. package/package.json +9 -9
package/lib/main.js CHANGED
@@ -1671,7 +1671,7 @@ Please use ":" to reference sub properties`
1671
1671
 
1672
1672
  function findNestedVariable(split, originalSource) {
1673
1673
  return split.find((thing) => {
1674
- if (originalSource) {
1674
+ if (originalSource && typeof originalSource === 'string') {
1675
1675
  return originalSource.indexOf(`\${${thing}}`) > -1
1676
1676
  }
1677
1677
  return false
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "configorama",
3
- "version": "0.4.6",
3
+ "version": "0.4.7",
4
4
  "description": "Variable support for configuration files",
5
5
  "main": "lib/index.js",
6
6
  "files": [
@@ -31,18 +31,18 @@
31
31
  "dot-prop": "^5.3.0",
32
32
  "find-up": "^3.0.0",
33
33
  "git-url-parse": "^14.0.0",
34
- "js-yaml": "^3.14.0",
35
- "json5": "^2.1.3",
36
- "lodash": "^4.17.20",
37
- "promise.prototype.finally": "^3.1.2",
34
+ "js-yaml": "^3.14.1",
35
+ "json5": "^2.2.3",
36
+ "lodash": "^4.17.21",
37
+ "promise.prototype.finally": "^3.1.8",
38
38
  "replaceall": "^0.1.6",
39
39
  "sync-rpc": "^1.3.6",
40
- "traverse": "^0.6.6"
40
+ "traverse": "^0.6.8"
41
41
  },
42
42
  "devDependencies": {
43
- "ava": "^2.3.0",
44
- "markdown-magic": "^1.0.0",
45
- "minimist": "^1.2.5"
43
+ "ava": "^2.4.0",
44
+ "markdown-magic": "^2.6.1",
45
+ "minimist": "^1.2.8"
46
46
  },
47
47
  "ava": {
48
48
  "files": [