@contrast/agent-swc-plugin
Advanced tools
Comparing version 1.0.0 to 1.1.0
{ | ||
"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
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
761101
38