Socket
Socket
Sign inDemoInstall

@pollyjs/core

Package Overview
Dependencies
Maintainers
2
Versions
47
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@pollyjs/core - npm Package Compare versions

Comparing version 2.1.0 to 2.2.0

11

CHANGELOG.md

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

# [2.2.0](https://github.com/netflix/pollyjs/tree/master/packages/@pollyjs/core/compare/v2.1.0...v2.2.0) (2019-02-20)
### Features
* Add `error` event and improve error handling ([#185](https://github.com/netflix/pollyjs/tree/master/packages/[@pollyjs](https://github.com/pollyjs)/core/issues/185)) ([3694ebc](https://github.com/netflix/pollyjs/tree/master/packages/@pollyjs/core/commit/3694ebc))
# [2.1.0](https://github.com/netflix/pollyjs/tree/master/packages/@pollyjs/core/compare/v2.0.0...v2.1.0) (2019-02-04)

@@ -8,0 +19,0 @@

6

package.json
{
"name": "@pollyjs/core",
"version": "2.1.0",
"version": "2.2.0",
"description": "Record, replay, and stub HTTP Interactions",

@@ -53,7 +53,7 @@ "main": "dist/cjs/pollyjs-core.js",

"devDependencies": {
"@pollyjs/adapter": "^2.1.0",
"@pollyjs/adapter": "^2.2.0",
"@pollyjs/persister": "^2.1.0",
"rollup": "^0.67.0"
},
"gitHead": "9f6dd8e8f79e13038d68b02d23053c4fde27cebf"
"gitHead": "f2eb09f808eb6ea57d35d933b38c575a30e348f9"
}

@@ -16,6 +16,2 @@ import { ACTIONS } from '@pollyjs/utils';

get enabled() {
return this.polly.config.logging;
}
connect() {

@@ -32,9 +28,2 @@ this._middleware = this.polly.server

console(method, ...args) {
if (this.enabled) {
this.groupStart(this.polly.recordingName);
console[method].apply(console, args);
}
}
groupStart(groupName) {

@@ -73,14 +62,2 @@ // If the provided groupName is different, end the current group so a new one

}
log() {
this.console('log', ...arguments);
}
warn() {
this.console('warn', ...arguments);
}
error() {
this.console('error', ...arguments);
}
}

@@ -16,2 +16,3 @@ import { assert } from '@pollyjs/utils';

eventNames: [
'error',
'request',

@@ -18,0 +19,0 @@ 'beforeReplay',

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

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc