@contrast/agent-lib
Advanced tools
Comparing version 1.3.0 to 1.3.2
'use strict'; | ||
const platform = process.platform; | ||
const { sep } = require('path'); | ||
const suffix = { | ||
@@ -9,4 +10,4 @@ linux: '-gnu', | ||
}[platform]; | ||
const bindingsPath = `${__dirname}/../contrast.${platform}-${process.arch}${suffix}.node`; | ||
const bindingsPath = `${__dirname}${sep}contrast.${platform}-${process.arch}${suffix}.node`; | ||
return require(`./${bindingsPath}`); | ||
module.exports = require(`${bindingsPath}`); |
{ | ||
"name": "@contrast/agent-lib", | ||
"version": "1.3.0", | ||
"version": "1.3.2", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "keywords": [], |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
Trivial Package
Supply chain riskPackages less than 10 lines of code are easily copied into your own project and may not warrant the additional supply chain risk of an external dependency.
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
Trivial Package
Supply chain riskPackages less than 10 lines of code are easily copied into your own project and may not warrant the additional supply chain risk of an external dependency.
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
10
7686962