cf-deployment-tracker-client
Advanced tools
Comparing version 0.0.5 to 0.0.7
{ | ||
"name": "cf-deployment-tracker-client", | ||
"version": "0.0.5", | ||
"version": "0.0.7", | ||
"private": false, | ||
@@ -5,0 +5,0 @@ "main": "tracker.js", |
@@ -5,18 +5,6 @@ // Licensed under the Apache 2.0 License. See footer for details. | ||
restler = require("restler"), | ||
path = require("path"), | ||
fs = require("fs"); | ||
path = require("path"); | ||
function getPackageJson() { | ||
try { | ||
fs.statSync(path.join(path.dirname(module.parent.filename), "package.json")); | ||
return path.join(path.dirname(module.parent.filename), "package.json"); | ||
} | ||
catch (error) { | ||
return path.join(path.dirname(module.parent.filename), "../package.json"); | ||
} | ||
} | ||
function track() { | ||
var pkg = getPackageJson() | ||
var pkg = require(path.join(path.dirname(module.parent.filename), "package.json")), | ||
vcapApplication; | ||
@@ -23,0 +11,0 @@ |
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
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
16283
39