nock 13.2.0 → 13.2.1

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/lib/back.js CHANGED
@@ -263,6 +263,7 @@ function removeFixture(fixture, options) {
263
263
  }
264
264
 
265
265
  if (fixture && fixtureExists(fixture)) {
266
+ /* istanbul ignore next - fs.unlinkSync is for node 10 support */
266
267
  fs.rmSync ? fs.rmSync(fixture) : fs.unlinkSync(fixture)
267
268
  }
268
269
  context.isLoaded = false
package/lib/common.js CHANGED
@@ -547,7 +547,7 @@ function urlToOptions(url) {
547
547
  * Used for comparing decoded search parameters, request body JSON objects,
548
548
  * and URL decoded request form bodies.
549
549
  *
550
- * Performs a general recursive strict comparision with two caveats:
550
+ * Performs a general recursive strict comparison with two caveats:
551
551
  * - The expected data can use regexp to compare values
552
552
  * - JSON path notation and nested objects are considered equal
553
553
  */
package/package.json CHANGED
@@ -7,7 +7,7 @@
7
7
  "testing",
8
8
  "isolation"
9
9
  ],
10
- "version": "13.2.0",
10
+ "version": "13.2.1",
11
11
  "author": "Pedro Teixeira <pedro.teixeira@gmail.com>",
12
12
  "repository": {
13
13
  "type": "git",
package/types/index.d.ts CHANGED
@@ -240,7 +240,7 @@ declare namespace nock {
240
240
  options?: Options
241
241
  }
242
242
 
243
- type BackMode = 'wild' | 'dryrun' | 'record' | 'lockdown'
243
+ type BackMode = 'wild' | 'dryrun' | 'record' | 'update' | 'lockdown'
244
244
 
245
245
  interface Back {
246
246
  currentMode: BackMode