destiny
Advanced tools
Comparing version 0.0.18 to 0.0.21
@@ -0,1 +1,3 @@ | ||
const { NODE_ENV } = process.env; | ||
module.exports = { | ||
@@ -8,3 +10,3 @@ presets: [ | ||
loose: true, | ||
modules: "cjs", | ||
modules: NODE_ENV === "test" ? "auto" : false, | ||
targets: { node: 10 }, | ||
@@ -14,7 +16,5 @@ useBuiltIns: "usage", | ||
], | ||
"@babel/typescript", | ||
], | ||
plugins: [ | ||
["@babel/plugin-transform-typescript"], | ||
["@babel/transform-runtime"], | ||
], | ||
plugins: [["@babel/transform-runtime"]], | ||
}; |
{ | ||
"version": "0.0.18", | ||
"version": "0.0.21", | ||
"name": "destiny", | ||
"main": "dist/index.js", | ||
"main": "lib/destiny.js", | ||
"bin": { | ||
"destiny": "dist/index.js" | ||
"destiny": "lib/destiny.js" | ||
}, | ||
@@ -12,5 +12,5 @@ "engines": { | ||
"scripts": { | ||
"clean": "rimraf dist", | ||
"build": "run-s clean build:*", | ||
"build:cjs": "babel src --extensions '.ts' --out-dir dist", | ||
"clean": "rimraf lib", | ||
"build": "npm-run-all clean -p 'build:* -- {@}' --", | ||
"build:cjs": "rollup -c", | ||
"format": "run-s format:*", | ||
@@ -21,5 +21,4 @@ "format:eslint": "npm run lint -- --fix", | ||
"prepublishOnly": "npm run build", | ||
"start": "nodemon dist/index.js", | ||
"test": "jest tests", | ||
"tr": "jest", | ||
"start": "nodemon lib/destiny.js", | ||
"test": "jest", | ||
"watch": "npm run build -- --watch" | ||
@@ -31,5 +30,7 @@ }, | ||
"@babel/plugin-transform-runtime": "^7.8.3", | ||
"@babel/plugin-transform-typescript": "^7.8.3", | ||
"@babel/preset-env": "^7.8.4", | ||
"@babel/preset-typescript": "^7.8.3", | ||
"@rollup/plugin-commonjs": "^11.0.0", | ||
"@rollup/plugin-json": "^4.0.0", | ||
"@rollup/plugin-node-resolve": "^7.0.0", | ||
"@types/fs-extra": "^8.0.1", | ||
@@ -54,2 +55,6 @@ "@types/glob": "^7.1.1", | ||
"rimraf": "^3.0.2", | ||
"rollup": "^1.29.0", | ||
"rollup-plugin-add-shebang": "^0.3.0", | ||
"rollup-plugin-babel": "^4.3.0", | ||
"rollup-plugin-terser": "^5.2.0", | ||
"tree-node-cli": "^1.2.5", | ||
@@ -56,0 +61,0 @@ "typescript": "^3.7.5" |
Sorry, the diff of this file is not supported yet
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 2 instances in 1 package
Minified code
QualityThis package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
34345
730
33
17
3
7