Socket
Socket
Sign inDemoInstall

@contrast/agent-swc-plugin

Package Overview
Dependencies
Maintainers
17
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@contrast/agent-swc-plugin - npm Package Compare versions

Comparing version 1.0.0 to 1.1.0

2

package.json
{
"name": "@contrast/agent-swc-plugin",
"version": "1.0.0",
"version": "1.1.0",
"description": "SWC plugin handling rewriting for the new and improved Node agent",

@@ -5,0 +5,0 @@ "author": "Contrast Security <nodejs@contrastsecurity.com> (https://www.contrastsecurity.com)",

@@ -32,8 +32,7 @@ # @contrast/agent-swc-plugin

```js
global.Function = global.ContrastMethods.ContrastFunction || global.Function;
global.JSON = global.ContrastMethods.ContrastJSON || global.JSON;
global.Number = global.ContrastMethods.ContrastNumber || global.Number;
global.Object = global.ContrastMethods.ContrastObject || global.Object;
global.String = global.ContrastMethods.ContrastString || global.String;
global.Function = global.ContrastMethods.Function || global.Function;
global.Number = global.ContrastMethods.Number || global.Number;
global.Object = global.ContrastMethods.Object || global.Object;
global.String = global.ContrastMethods.String || global.String;
const foo = 'bar';
```

Sorry, the diff of this file is not supported yet

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