Socket
Socket
Sign inDemoInstall

nock

Package Overview
Dependencies
5
Maintainers
4
Versions
422
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 13.1.3 to 13.1.4

2

lib/intercepted_request_router.js

@@ -156,3 +156,3 @@ 'use strict'

if (!buffer || buffer.length === 0) {
if (!buffer) {
return true

@@ -159,0 +159,0 @@ }

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

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

@@ -13,0 +13,0 @@ "repository": {

@@ -1405,2 +1405,10 @@ # Nock

Or, with async/await:
```js
const { nockDone, context } = await nockBack('promisedFixture.json')
// your test code
nockDone()
```
#### Options

@@ -1407,0 +1415,0 @@

SocketSocket SOC 2 Logo

Product

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with āš”ļø by Socket Inc