Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

parrot-core

Package Overview
Dependencies
Maintainers
0
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

parrot-core - npm Package Compare versions

Comparing version 5.1.0 to 5.2.0

6

lib/Parrot.js

@@ -55,3 +55,4 @@ "use strict";

const resolver = this.resolver(...platformRequest);
const mocks = this.scenarios[this.activeScenario];
const activeScenarioOverride = this.getActiveScenarioOverride && this.getActiveScenarioOverride(...platformRequest);
const mocks = this.scenarios[activeScenarioOverride || this.activeScenario];
const mock = await (0, _utils.matchMock)(normalizedRequest, platformRequest, mocks);

@@ -65,3 +66,2 @@ return (0, _utils.resolveResponse)(normalizedRequest, platformRequest, mock, resolver);

}
var _default = Parrot;
exports.default = _default;
var _default = exports.default = Parrot;

@@ -27,3 +27,3 @@ "use strict";

const loggerColors = {
const loggerColors = exports.loggerColors = {
info: _chalk.default.white,

@@ -33,3 +33,2 @@ warn: _chalk.default.yellow,

};
exports.loggerColors = loggerColors;
const infoTemplate = message => loggerColors.info(`Info: ${message}`);

@@ -54,3 +53,2 @@ const errorTemplate = message => loggerColors.error(`Error: ${message}`);

const logger = new Logger();
var _default = logger;
exports.default = _default;
var _default = exports.default = logger;
{
"name": "parrot-core",
"version": "5.1.0",
"version": "5.2.0",
"contributors": [

@@ -38,5 +38,6 @@ "Jack Cross <jack.cross1@aexp.com>",

"babel-preset-amex": "^3.6.1",
"jest-when": "^3.6.0",
"rimraf": "^3.0.2"
},
"gitHead": "392c66c11bb8ae8a4fe7131f73f2b711851cfe41"
"gitHead": "624854dff766b07443ff0bc7407e5dbb7fe96d53"
}
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