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

@contrast/scopes

Package Overview
Dependencies
Maintainers
17
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@contrast/scopes - npm Package Compare versions

Comparing version 1.1.2 to 1.2.0

lib/index.test.js

1

lib/index.d.ts

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

/*

@@ -3,0 +2,0 @@ * Copyright: 2022 Contrast Security, Inc

@@ -42,3 +42,3 @@ /*

fn = function(...args) {
return storage.run(store, _fn, ...args);
return storage.run(store, _fn.bind(this), ...args);
};

@@ -45,0 +45,0 @@ }

@@ -118,8 +118,4 @@ /*

}
if (args[idx].name === 'finallyHandler') {
args[idx] = wrap(args[idx]);
} else {
// we bind the initial context of the function to be available inside ours
args[idx] = wrap(args[idx].bind(obj));
}
// we bind the initial context of the function to be available inside ours
args[idx] = wrap(args[idx]);
}

@@ -126,0 +122,0 @@ } catch (err) {

{
"name": "@contrast/scopes",
"version": "1.1.2",
"version": "1.2.0",
"description": "",

@@ -18,6 +18,3 @@ "license": "SEE LICENSE IN LICENSE",

"test": "../scripts/test.sh"
},
"dependencies": {
"semver": "^7.3.7"
}
}
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