get-price-tag
Advanced tools
Comparing version 0.0.16 to 0.0.17
{ | ||
"name": "get-price-tag", | ||
"version": "0.0.16", | ||
"version": "0.0.17", | ||
"main": "dist/commonjs/index.js", | ||
@@ -5,0 +5,0 @@ "types": "dist/index.d.ts", |
@@ -1,26 +0,27 @@ | ||
import fetch from "node-fetch"; | ||
console.log("postinstall first..."); | ||
function postComponent() { | ||
console.log("postinstall..."); | ||
// Print out the name of the package that was just installed. | ||
console.log(" " + process.env.npm_package_name); | ||
// function postComponent() { | ||
// console.log("postinstall..."); | ||
// Print out the directory of the package that was just installed. | ||
console.log(" " + process.env.PWD); | ||
// fetch("https://stats.api.voca.teliacompany.com/components", { | ||
// method: "POST", | ||
// body: JSON.stringify({ | ||
// voca_component: "telia-roman-test", | ||
// voca_project: "testing-postinstall-fi", | ||
// voca_country: "Finland", | ||
// }), | ||
// }) | ||
// .then((response) => { | ||
// return console.log(response); | ||
// }) | ||
// .catch((error) => { | ||
// return console.log(error); | ||
// }); | ||
} | ||
postComponent(); | ||
// // Print out the name of the package that was just installed. | ||
// console.log(" " + process.env.npm_package_name); | ||
// // Print out the directory of the package that was just installed. | ||
// console.log(" " + process.env.PWD); | ||
// // fetch("https://stats.api.voca.teliacompany.com/components", { | ||
// // method: "POST", | ||
// // body: JSON.stringify({ | ||
// // voca_component: "telia-roman-test", | ||
// // voca_project: "testing-postinstall-fi", | ||
// // voca_country: "Finland", | ||
// // }), | ||
// // }) | ||
// // .then((response) => { | ||
// // return console.log(response); | ||
// // }) | ||
// // .catch((error) => { | ||
// // return console.log(error); | ||
// // }); | ||
// } | ||
// postComponent(); |
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
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 2 instances in 1 package
6380
1
118