Socket
Socket
Sign inDemoInstall

@contrast/rewriter

Package Overview
Dependencies
Maintainers
17
Versions
32
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@contrast/rewriter - npm Package Compare versions

Comparing version 1.0.4 to 1.1.0

8

lib/index.js

@@ -75,3 +75,2 @@ /*

];
return;
}

@@ -93,2 +92,7 @@

}
if (path.node.callee.name === 'Function') {
path.node.arguments = [
t.callExpression(expression('global.ContrastMethods.Function')(), path.node.arguments)
];
}
},

@@ -130,3 +134,3 @@ };

if (state.orig.indexOf('eval') === -1) {
if (state.orig.indexOf('eval') === -1 && state.orig.indexOf('Function') === -1) {
return { code: state.orig };

@@ -133,0 +137,0 @@ }

{
"name": "@contrast/rewriter",
"version": "1.0.4",
"version": "1.1.0",
"description": "A transpilation tool mainly used for instrumentation",

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