@contrast/scopes
Advanced tools
Comparing version 1.1.2 to 1.2.0
@@ -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" | ||
} | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
71158
0
22
1806
3
- Removedsemver@^7.3.7
- Removedsemver@7.6.3(transitive)