mdtkit-parser
Advanced tools
Comparing version 1.0.2 to 1.0.21
@@ -1,2 +0,16 @@ | ||
const fs = require("fs"); | ||
fs.rmdir("src/generated_parsers"); | ||
const fs = require('fs'); | ||
const deleteFolderRecursive = function(path) { | ||
if( fs.existsSync(path) ) { | ||
fs.readdirSync(path).forEach(function(file,index){ | ||
var curPath = path + "/" + file; | ||
if(fs.lstatSync(curPath).isDirectory()) { // recurse | ||
deleteFolderRecursive(curPath); | ||
} else { // delete file | ||
fs.unlinkSync(curPath); | ||
} | ||
}); | ||
fs.rmdirSync(path); | ||
} | ||
}; | ||
deleteFolderRecursive("src/generated_parsers"); |
{ | ||
"name": "mdtkit-parser", | ||
"version": "1.0.2", | ||
"version": "1.0.21", | ||
"description": "A test data parser for testdata written in markdown.", | ||
@@ -14,3 +14,3 @@ "main": "src/mdtkit-parser-cli.js", | ||
"test": "nodeunit", | ||
"postinstall": "npm_scripts/post_install.js" | ||
"postinstall": "node npm_scripts/post_install.js" | ||
}, | ||
@@ -17,0 +17,0 @@ "repository": { |
Sorry, the diff of this file is not supported yet
Install scripts
Supply chain riskInstall scripts are run when the package is installed. The majority of malware in npm is hidden in install scripts.
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
Install scripts
Supply chain riskInstall scripts are run when the package is installed. The majority of malware in npm is hidden in install scripts.
Found 1 instance in 1 package
549771
1561