configorama 0.9.14 → 0.9.15

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 +1 -1
  2. package/src/main.js +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "configorama",
3
- "version": "0.9.14",
3
+ "version": "0.9.15",
4
4
  "description": "Variable support for configuration files",
5
5
  "main": "src/index.js",
6
6
  "types": "index.d.ts",
package/src/main.js CHANGED
@@ -2381,7 +2381,7 @@ class Configorama {
2381
2381
  }
2382
2382
  }
2383
2383
 
2384
- const originalSrc = valueObject.originalSource || ''
2384
+ const originalSrc = (typeof valueObject.originalSource === 'string') ? valueObject.originalSource : ''
2385
2385
  const hasFilters = originalSrc.match(this.filterMatch)
2386
2386
  let foundFilters = []
2387
2387
  if (hasFilters) {