Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Socket
Sign inDemoInstall

nock

Package Overview
Dependencies
Maintainers
3
Versions
431
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

nock - npm Package Compare versions

Comparing version 12.0.1 to 12.0.2

9

lib/back.js

@@ -27,9 +27,2 @@ 'use strict'

let mkdirp
try {
mkdirp = require('mkdirp')
} catch (err) {
// do nothing, probably in browser
}
/**

@@ -180,3 +173,3 @@ * nock the current function with the fixture given

mkdirp.sync(path.dirname(fixture))
fs.mkdirSync(path.dirname(fixture), { recursive: true })
fs.writeFileSync(fixture, outputs)

@@ -183,0 +176,0 @@ }

3

package.json

@@ -10,3 +10,3 @@ {

],
"version": "12.0.1",
"version": "12.0.2",
"author": "Pedro Teixeira <pedro.teixeira@gmail.com>",

@@ -29,3 +29,2 @@ "repository": {

"lodash": "^4.17.13",
"mkdirp": "^1.0.0",
"propagate": "^2.0.0"

@@ -32,0 +31,0 @@ },

@@ -116,11 +116,13 @@ # Nock

| node | nock |
| ---- | --------- |
| 0.10 | up to 8.x |
| 0.11 | up to 8.x |
| 0.12 | up to 8.x |
| 4 | up to 9.x |
| 5 | up to 8.x |
| 7 | up to 9.x |
| 9 | up to 9.x |
| node | nock |
| ---- | ---------- |
| 0.10 | up to 8.x |
| 0.11 | up to 8.x |
| 0.12 | up to 8.x |
| 4 | up to 9.x |
| 5 | up to 8.x |
| 6 | up to 10.x |
| 7 | up to 9.x |
| 8 | up to 11.x |
| 9 | up to 9.x |

@@ -127,0 +129,0 @@ ## Usage

@@ -130,3 +130,2 @@ // TypeScript Version: 3.5

isDone(): boolean
restore(): void
pendingMocks(): string[]

@@ -133,0 +132,0 @@ activeMocks(): string[]

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc