Socket
Socket
Sign inDemoInstall

nock

Package Overview
Dependencies
Maintainers
4
Versions
424
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 13.0.0 to 13.0.1

2

CHANGELOG.md

@@ -6,2 +6,2 @@ # Changelog

Migration guides are available for major versions in the [migration guides directory](https://github.com/nock/nock/tree/master/migration_guides).
Migration guides are available for major versions in the [migration guides directory](https://github.com/nock/nock/tree/main/migration_guides).

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

const contentEncoding = headers['content-encoding']
return contentEncoding === encoder
return contentEncoding !== undefined && contentEncoding.toString() === encoder
}

@@ -186,0 +186,0 @@

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

// the stream potentially written to more, but it's what Node does.
// https://github.com/nodejs/node/blob/master/lib/_http_outgoing.js#L662-L665
// https://github.com/nodejs/node/blob/a9270dcbeba4316b1e179b77ecb6c46af5aa8c20/lib/_http_outgoing.js#L662-L665
return true

@@ -152,0 +152,0 @@ }

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

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

@@ -37,3 +37,3 @@ "repository": {

"dtslint": "^3.0.0",
"eslint": "^6.0.0",
"eslint": "^7.3.1",
"eslint-config-prettier": "^6.0.0",

@@ -46,4 +46,4 @@ "eslint-config-standard": "^14.0.0",

"eslint-plugin-standard": "^4.0.0",
"got": "^10.5.2",
"mocha": "^7.0.1",
"got": "^11.3.0",
"mocha": "^8.0.1",
"npm-run-all": "^4.1.5",

@@ -68,3 +68,2 @@ "nyc": "^15.0.0",

"lint:ts": "dtslint types",
"semantic-release": "semantic-release",
"test": "run-s test:mocha test:tap",

@@ -89,3 +88,19 @@ "test:coverage": "tap --coverage-report=html && open coverage/lcov-report/index.html",

"types/index.d.ts"
]
],
"release": {
"branches": [
"+([0-9])?(.{+([0-9]),x}).x",
"main",
"next",
"next-major",
{
"name": "beta",
"prerelease": true
},
{
"name": "alpha",
"prerelease": true
}
]
}
}
SocketSocket SOC 2 Logo

Product

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc