nock 15.0.0-beta.13 → 15.0.0-beta.14

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.
@@ -467,6 +467,8 @@ const expand = (input ) => {
467
467
  } else {
468
468
  resultPtr[part] = {}
469
469
  }
470
+ } else if (typeof resultPtr[part] !== 'object') {
471
+ return undefined
470
472
  }
471
473
  resultPtr = resultPtr[part]
472
474
  }
package/package.json CHANGED
@@ -7,7 +7,7 @@
7
7
  "testing",
8
8
  "isolation"
9
9
  ],
10
- "version": "15.0.0-beta.13",
10
+ "version": "15.0.0-beta.14",
11
11
  "author": "Pedro Teixeira <pedro.teixeira@gmail.com>",
12
12
  "repository": {
13
13
  "type": "git",