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.3.0 to 1.3.1

11

lib/index.js

@@ -146,13 +146,2 @@ /*

});
self.injections.push(
statement(
'const %%name%% = global.%%id%% || %%name%%;'
)({ name: 'JSON', id: 'ContrastJSON' }),
statement(
'const %%name%% = global.%%id%% || %%name%%;'
)({ name: 'Object', id: 'ContrastObject' }),
statement(
'const %%name%% = global.%%id%% || %%name%%;'
)({ name: 'Number', id: 'ContrastNumber' })
);
Object.assign(self.rewriteTransforms, {

@@ -159,0 +148,0 @@ AssignmentExpression(path) {

2

package.json
{
"name": "@contrast/rewriter",
"version": "1.3.0",
"version": "1.3.1",
"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