@pollyjs/adapter-node-http
Advanced tools
Comparing version 4.0.3 to 4.0.4
@@ -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 @@ |
{ | ||
"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
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
5374041
39561
34
+ Addednock@12.0.3(transitive)
- Removedminimist@1.2.8(transitive)
- Removedmkdirp@0.5.6(transitive)
- Removednock@11.9.1(transitive)
Updated@pollyjs/adapter@^4.0.4
Updatednock@^12.0.3