Socket
Socket
Sign inDemoInstall

@pollyjs/adapter-node-http

Package Overview
Dependencies
27
Maintainers
2
Versions
35
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 4.0.3 to 4.0.4

12

CHANGELOG.md

@@ -6,2 +6,14 @@ # Change Log

## [4.0.4](https://github.com/netflix/pollyjs/tree/master/packages/@pollyjs/adapter-node-http/compare/v4.0.3...v4.0.4) (2020-03-21)
### Bug Fixes
* Deprecates adapter & persister `name` in favor of `id` ([#310](https://github.com/netflix/pollyjs/tree/master/packages/@pollyjs/adapter-node-http/issues/310)) ([41dd093](https://github.com/netflix/pollyjs/tree/master/packages/@pollyjs/adapter-node-http/commit/41dd093))
* **adapter-node-http:** Bump nock version ([#319](https://github.com/netflix/pollyjs/tree/master/packages/@pollyjs/adapter-node-http/issues/319)) ([7d361a6](https://github.com/netflix/pollyjs/tree/master/packages/@pollyjs/adapter-node-http/commit/7d361a6))
## [4.0.3](https://github.com/netflix/pollyjs/tree/master/packages/@pollyjs/adapter-node-http/compare/v4.0.2...v4.0.3) (2020-01-30)

@@ -8,0 +20,0 @@

12

package.json
{
"name": "@pollyjs/adapter-node-http",
"version": "4.0.3",
"version": "4.0.4",
"description": "Node HTTP adapter for @pollyjs",

@@ -46,10 +46,10 @@ "main": "dist/cjs/pollyjs-adapter-node-http.js",

"dependencies": {
"@pollyjs/adapter": "^4.0.2",
"@pollyjs/adapter": "^4.0.4",
"@pollyjs/utils": "^4.0.2",
"lodash-es": "^4.17.11",
"nock": "^11.7.2"
"nock": "^12.0.3"
},
"devDependencies": {
"@pollyjs/core": "^4.0.2",
"@pollyjs/persister-fs": "^4.0.2",
"@pollyjs/core": "^4.0.4",
"@pollyjs/persister-fs": "^4.0.4",
"form-data": "^2.5.1",

@@ -60,3 +60,3 @@ "get-stream": "^5.1.0",

},
"gitHead": "03cc5330f18a4faa7ddaa465f5c1d073994ebe6c"
"gitHead": "c2e9744df68698469e7e4e7f6668a75ac49d54c7"
}

@@ -27,6 +27,12 @@ import http from 'http';

export default class HttpAdapter extends Adapter {
static get name() {
static get id() {
return 'node-http';
}
static get name() {
// NOTE: deprecated in 4.1.0 but proxying since it's possible "core" is behind
// and therefore still referencing `name`. Remove in 5.0.0
return this.id;
}
onConnect() {

@@ -33,0 +39,0 @@ this.assert(

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc