structor-commons
Advanced tools
@@ -1,1 +0,1 @@ | ||
| "use strict";function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function getModulesImports(e,o){var t=[],r=[],n=void 0;return o.forEach(function(o){n=e.modules[o],n&&r.push(_commons2.default.readDirectoryFiles(n.absolutePath).then(function(e){if(e.files&&e.files.length>0)return e.files.reduce(function(e,o){return e.then(function(){return _commons2.default.readFile(o).then(function(e){var o=_commons2.default.parse(e);t.push(_commons2.default.getImportsObject(o))})}).catch(function(e){console.error(e.message+". File path: "+o)})},Promise.resolve())}))}),Promise.all(r).then(function(){return t})}Object.defineProperty(exports,"__esModule",{value:!0}),exports.getModulesImports=getModulesImports;var _commons=require("../commons"),_commons2=_interopRequireDefault(_commons); | ||
| "use strict";function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function getModulesImports(e,t){var o=[],r=[],n=void 0;return t.forEach(function(t){n=e.modules[t],n&&r.push(_commons2.default.readDirectoryFiles(n.absolutePath).then(function(e){if(e.files&&e.files.length>0)return e.files.reduce(function(e,t){return e.then(function(){if(".js"===_path2.default.extname(t)||".jsx"===_path2.default.extname(t))return _commons2.default.readFile(t).then(function(e){var t=_commons2.default.parse(e);o.push(_commons2.default.getImportsObject(t))})}).catch(function(e){console.error(e.message+". File path: "+t)})},Promise.resolve())}))}),Promise.all(r).then(function(){return o})}Object.defineProperty(exports,"__esModule",{value:!0}),exports.getModulesImports=getModulesImports;var _path=require("path"),_path2=_interopRequireDefault(_path),_commons=require("../commons"),_commons2=_interopRequireDefault(_commons); |
+1
-1
| { | ||
| "name": "structor-commons", | ||
| "version": "0.0.4", | ||
| "version": "0.0.5", | ||
| "description": "Structor Common API", | ||
@@ -5,0 +5,0 @@ "main": "distr/index.js", |
Shell access
Supply chain riskThis module accesses the system shell. Accessing the system shell increases the risk of executing arbitrary code.
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
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
Shell access
Supply chain riskThis module accesses the system shell. Accessing the system shell increases the risk of executing arbitrary code.
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
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
74261
0.18%