Socket
Socket
Sign inDemoInstall

@contrast/scopes

Package Overview
Dependencies
Maintainers
17
Versions
16
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.0.2 to 1.1.0

lib/install/mongodb-core.js

15

lib/constants.js

@@ -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 @@

21

lib/install/bluebird.js

@@ -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 @@

6

package.json
{
"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"
}
}
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