New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

chai-sync-layer-suite

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

chai-sync-layer-suite - npm Package Compare versions

Comparing version 0.3.0 to 0.4.0

4

package.json
{
"name": "chai-sync-layer-suite",
"description": "Chai suite for sync-layer library",
"version": "0.3.0",
"version": "0.4.0",
"repository": {

@@ -12,3 +12,3 @@ "type": "git",

"dependencies": {
"rewire-test-helpers": "^1.0.0-rc1"
"rewire-test-helpers": "^1.0.0-rc2"
},

@@ -15,0 +15,0 @@ "devDependencies": {

@@ -20,5 +20,2 @@

var rewireTestHelpers = require('rewire-test-helpers');
global.injectDependencies = rewireTestHelpers.injectDependencies;
global.injectDependenciesFilter = rewireTestHelpers.injectDependenciesFilter;
global.rewired = rewireTestHelpers.rewired;
global.rewireMap = rewireTestHelpers.rewireMap;

@@ -17,3 +17,3 @@ var describeSync = rewire('../describe_sync');

this.restoreDescribe = injectDependencies(describeSync, {
this.restoreDescribe = rewireMap(describeSync, {
describe: this.describe,

@@ -20,0 +20,0 @@ beforeEach: this.beforeEach,

@@ -8,3 +8,3 @@ var syncMatchers = rewire('../sync_matchers');

this.restoreMatchers = injectDependencies(syncMatchers, {
this.restoreMatchers = rewireMap(syncMatchers, {
preparePerformMatcherProperty: this.preparePerformMatcherProperty,

@@ -11,0 +11,0 @@ prepareRequestMatcherMethod: this.prepareRequestMatcherMethod

@@ -1,2 +0,2 @@

var RewireTestHelpers = require('rewire-test-helpers')
var rewireMap = require('rewire-test-helpers').rewireMap

@@ -35,4 +35,3 @@ var _global;

};
this.__restoreRequests =
RewireTestHelpers.injectDependencies(subject, {requests: requests})
this.__restoreRewired = rewireMap(subject, {requests: requests})

@@ -65,4 +64,4 @@ this.__syncRestoreFns = Object.keys(subject).reduce(function(acc, key) {

if (typeof this.__restoreRequests === 'function') {
this.__restoreRequests()
if (typeof this.__restoreRewired === 'function') {
this.__restoreRewired()
}

@@ -69,0 +68,0 @@ });

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