@contrast/scopes
Advanced tools
Comparing version 1.0.2 to 1.1.0
@@ -0,1 +1,16 @@ | ||
/* | ||
* Copyright: 2022 Contrast Security, Inc | ||
* Contact: support@contrastsecurity.com | ||
* License: Commercial | ||
* NOTICE: This Software and the patented inventions embodied within may only be | ||
* used as part of Contrast Security’s commercial offerings. Even though it is | ||
* made available through public repositories, use of this Software is subject to | ||
* the applicable End User Licensing Agreement found at | ||
* https://www.contrastsecurity.com/enduser-terms-0317a or as otherwise agreed | ||
* between Contrast Security and the End User. The Software may not be reverse | ||
* engineered, modified, repackaged, sold, redistributed or otherwise used in a | ||
* way not consistent with the End User License Agreement. | ||
*/ | ||
'use strict'; | ||
@@ -2,0 +17,0 @@ |
@@ -0,1 +1,17 @@ | ||
/* | ||
* Copyright: 2022 Contrast Security, Inc | ||
* Contact: support@contrastsecurity.com | ||
* License: Commercial | ||
* NOTICE: This Software and the patented inventions embodied within may only be | ||
* used as part of Contrast Security’s commercial offerings. Even though it is | ||
* made available through public repositories, use of this Software is subject to | ||
* the applicable End User Licensing Agreement found at | ||
* https://www.contrastsecurity.com/enduser-terms-0317a or as otherwise agreed | ||
* between Contrast Security and the End User. The Software may not be reverse | ||
* engineered, modified, repackaged, sold, redistributed or otherwise used in a | ||
* way not consistent with the End User License Agreement. | ||
*/ | ||
import { RequestStore } from '@contrast/common'; | ||
@@ -2,0 +18,0 @@ import { AsyncLocalStorage } from 'async_hooks'; |
@@ -0,1 +1,16 @@ | ||
/* | ||
* Copyright: 2022 Contrast Security, Inc | ||
* Contact: support@contrastsecurity.com | ||
* License: Commercial | ||
* NOTICE: This Software and the patented inventions embodied within may only be | ||
* used as part of Contrast Security’s commercial offerings. Even though it is | ||
* made available through public repositories, use of this Software is subject to | ||
* the applicable End User Licensing Agreement found at | ||
* https://www.contrastsecurity.com/enduser-terms-0317a or as otherwise agreed | ||
* between Contrast Security and the End User. The Software may not be reverse | ||
* engineered, modified, repackaged, sold, redistributed or otherwise used in a | ||
* way not consistent with the End User License Agreement. | ||
*/ | ||
'use strict'; | ||
@@ -2,0 +17,0 @@ |
@@ -0,1 +1,16 @@ | ||
/* | ||
* Copyright: 2022 Contrast Security, Inc | ||
* Contact: support@contrastsecurity.com | ||
* License: Commercial | ||
* NOTICE: This Software and the patented inventions embodied within may only be | ||
* used as part of Contrast Security’s commercial offerings. Even though it is | ||
* made available through public repositories, use of this Software is subject to | ||
* the applicable End User Licensing Agreement found at | ||
* https://www.contrastsecurity.com/enduser-terms-0317a or as otherwise agreed | ||
* between Contrast Security and the End User. The Software may not be reverse | ||
* engineered, modified, repackaged, sold, redistributed or otherwise used in a | ||
* way not consistent with the End User License Agreement. | ||
*/ | ||
'use strict'; | ||
@@ -96,3 +111,3 @@ | ||
*/ | ||
return function ({ args }) { | ||
return function ({ args, obj }) { | ||
try { | ||
@@ -104,4 +119,4 @@ // bind every function argument | ||
} | ||
wrap(args[idx]); | ||
// we bind the initial context of the function to be available inside ours | ||
args[idx] = wrap(args[idx].bind(obj)); | ||
} | ||
@@ -108,0 +123,0 @@ } catch (err) { |
@@ -0,1 +1,16 @@ | ||
/* | ||
* Copyright: 2022 Contrast Security, Inc | ||
* Contact: support@contrastsecurity.com | ||
* License: Commercial | ||
* NOTICE: This Software and the patented inventions embodied within may only be | ||
* used as part of Contrast Security’s commercial offerings. Even though it is | ||
* made available through public repositories, use of this Software is subject to | ||
* the applicable End User Licensing Agreement found at | ||
* https://www.contrastsecurity.com/enduser-terms-0317a or as otherwise agreed | ||
* between Contrast Security and the End User. The Software may not be reverse | ||
* engineered, modified, repackaged, sold, redistributed or otherwise used in a | ||
* way not consistent with the End User License Agreement. | ||
*/ | ||
'use strict'; | ||
@@ -11,3 +26,5 @@ | ||
require('./redis')(core).install(); | ||
require('./mongodb')(core).install(); | ||
require('./mongodb-core')(core).install(); | ||
require('./mongodb3')(core).install(); | ||
require('./mongodb4')(core).install(); | ||
require('./bluebird')(core).install(); | ||
@@ -14,0 +31,0 @@ }, |
@@ -0,1 +1,16 @@ | ||
/* | ||
* Copyright: 2022 Contrast Security, Inc | ||
* Contact: support@contrastsecurity.com | ||
* License: Commercial | ||
* NOTICE: This Software and the patented inventions embodied within may only be | ||
* used as part of Contrast Security’s commercial offerings. Even though it is | ||
* made available through public repositories, use of this Software is subject to | ||
* the applicable End User Licensing Agreement found at | ||
* https://www.contrastsecurity.com/enduser-terms-0317a or as otherwise agreed | ||
* between Contrast Security and the End User. The Software may not be reverse | ||
* engineered, modified, repackaged, sold, redistributed or otherwise used in a | ||
* way not consistent with the End User License Agreement. | ||
*/ | ||
'use strict'; | ||
@@ -69,3 +84,3 @@ | ||
function patchQuery(queryCtor) { | ||
patcher.patch(queryCtor, { | ||
return patcher.patch(queryCtor, { | ||
name: 'mysql2.lib/commands/query.js.Query', | ||
@@ -72,0 +87,0 @@ patchType: ASYNC_CONTEXT, |
@@ -0,1 +1,16 @@ | ||
/* | ||
* Copyright: 2022 Contrast Security, Inc | ||
* Contact: support@contrastsecurity.com | ||
* License: Commercial | ||
* NOTICE: This Software and the patented inventions embodied within may only be | ||
* used as part of Contrast Security’s commercial offerings. Even though it is | ||
* made available through public repositories, use of this Software is subject to | ||
* the applicable End User Licensing Agreement found at | ||
* https://www.contrastsecurity.com/enduser-terms-0317a or as otherwise agreed | ||
* between Contrast Security and the End User. The Software may not be reverse | ||
* engineered, modified, repackaged, sold, redistributed or otherwise used in a | ||
* way not consistent with the End User License Agreement. | ||
*/ | ||
'use strict'; | ||
@@ -2,0 +17,0 @@ |
@@ -0,1 +1,16 @@ | ||
/* | ||
* Copyright: 2022 Contrast Security, Inc | ||
* Contact: support@contrastsecurity.com | ||
* License: Commercial | ||
* NOTICE: This Software and the patented inventions embodied within may only be | ||
* used as part of Contrast Security’s commercial offerings. Even though it is | ||
* made available through public repositories, use of this Software is subject to | ||
* the applicable End User Licensing Agreement found at | ||
* https://www.contrastsecurity.com/enduser-terms-0317a or as otherwise agreed | ||
* between Contrast Security and the End User. The Software may not be reverse | ||
* engineered, modified, repackaged, sold, redistributed or otherwise used in a | ||
* way not consistent with the End User License Agreement. | ||
*/ | ||
'use strict'; | ||
@@ -2,0 +17,0 @@ |
{ | ||
"name": "@contrast/scopes", | ||
"version": "1.0.2", | ||
"version": "1.1.0", | ||
"description": "", | ||
@@ -19,3 +19,5 @@ "license": "SEE LICENSE IN LICENSE", | ||
}, | ||
"dependencies": {} | ||
"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
29549
13
758
1
+ Addedsemver@^7.3.7
+ Addedsemver@7.6.3(transitive)