@datadog/native-iast-rewriter
Advanced tools
Comparing version 2.2.2 to 2.2.3
@@ -73,2 +73,10 @@ const { getSourcePathAndLineFromSourceMaps } = require('../source-map') | ||
} | ||
toString () { | ||
return this.callSite.toString() | ||
} | ||
toLocaleString () { | ||
return this.callSite.toLocaleString() | ||
} | ||
} | ||
@@ -75,0 +83,0 @@ |
{ | ||
"name": "@datadog/native-iast-rewriter", | ||
"homepage": "https://github.com/DataDog/dd-native-iast-rewriter-js/blob/main/README.md", | ||
"version": "2.2.2", | ||
"version": "2.2.3", | ||
"description": "Datadog IAST instrumentation addon for NodeJS", | ||
@@ -6,0 +6,0 @@ "main": "main.js", |
let imports = {}; | ||
imports['__wbindgen_placeholder__'] = module.exports; | ||
let wasm; | ||
const { log, setLogger } = require(String.raw`./snippets/native-iast-rewriter-51c2417ebcd326ca/tracer_logger.js`); | ||
const { log, setLogger } = require(String.raw`./snippets/native-iast-rewriter-6a3bf7270b595175/tracer_logger.js`); | ||
const { readFileSync } = require(`fs`); | ||
@@ -343,7 +343,2 @@ const { dirname } = require(`path`); | ||
module.exports.__wbindgen_is_string = function(arg0) { | ||
const ret = typeof(getObject(arg0)) === 'string'; | ||
return ret; | ||
}; | ||
module.exports.__wbindgen_error_new = function(arg0, arg1) { | ||
@@ -359,3 +354,3 @@ const ret = new Error(getStringFromWasm0(arg0, arg1)); | ||
module.exports.__wbg_log_33ab91ba6d7a49e8 = function() { return handleError(function (arg0, arg1) { | ||
module.exports.__wbg_log_d880dadb9e7bc467 = function() { return handleError(function (arg0, arg1) { | ||
const ret = log(getObject(arg0), getObject(arg1)); | ||
@@ -365,3 +360,3 @@ return addHeapObject(ret); | ||
module.exports.__wbg_readFileSync_21fc18548ce041cc = function() { return handleError(function (arg0, arg1) { | ||
module.exports.__wbg_readFileSync_1fd06101be5c2bb6 = function() { return handleError(function (arg0, arg1) { | ||
const ret = readFileSync(getStringFromWasm0(arg0, arg1)); | ||
@@ -371,3 +366,3 @@ return addHeapObject(ret); | ||
module.exports.__wbg_dirname_1da2c21f1f811ed3 = function() { return handleError(function (arg0, arg1) { | ||
module.exports.__wbg_dirname_5e825c10ae41566f = function() { return handleError(function (arg0, arg1) { | ||
const ret = dirname(getStringFromWasm0(arg0, arg1)); | ||
@@ -377,3 +372,3 @@ return addHeapObject(ret); | ||
module.exports.__wbg_setLogger_6f2ba6334e64e862 = function() { return handleError(function (arg0) { | ||
module.exports.__wbg_setLogger_d6ff5c4767b0a460 = function() { return handleError(function (arg0) { | ||
const ret = setLogger(getObject(arg0)); | ||
@@ -383,2 +378,7 @@ return addHeapObject(ret); | ||
module.exports.__wbindgen_is_string = function(arg0) { | ||
const ret = typeof(getObject(arg0)) === 'string'; | ||
return ret; | ||
}; | ||
module.exports.__wbindgen_object_clone_ref = function(arg0) { | ||
@@ -385,0 +385,0 @@ const ret = getObject(arg0); |
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
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
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
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
Found 1 instance in 1 package
1227
2191156