Socket
Socket
Sign inDemoInstall

@contrast/scopes

Package Overview
Dependencies
Maintainers
17
Versions
15
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.2.0 to 1.3.0

5

lib/index.js

@@ -21,8 +21,7 @@ /*

module.exports = function(deps) {
const sources = new AsyncLocalStorage();
const instrumentation = new AsyncLocalStorage();
const sources = new AsyncLocalStorage();
// If not enabled or no store then we are NOT locked - not opt-in
instrumentation.isLocked = function() {
const store = instrumentation.getStore();
return store ? store.lock : false;
return !!instrumentation.getStore()?.lock;
};

@@ -29,0 +28,0 @@

2

package.json
{
"name": "@contrast/scopes",
"version": "1.2.0",
"version": "1.3.0",
"description": "",

@@ -5,0 +5,0 @@ "license": "SEE LICENSE IN LICENSE",

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