aegir-bundle
Advanced tools
Comparing version 0.0.1 to 0.1.0
{ | ||
"name": "aegir-bundle", | ||
"version": "0.0.1", | ||
"version": "0.1.0", | ||
"description": "aegir dev-cli packaged as tiny, minified, single-file bundle", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -38,5 +38,10 @@ 'use strict' | ||
const url = 'https://aegir.mkg20001.io/' + version + '/' + fileName | ||
let dl | ||
// Success callback wrapper | ||
const done = () => { | ||
if (dl && dl.progress.percentage !== 100) { | ||
return reject(new Error('Download interrupted')) | ||
} | ||
fs.writeFileSync(binPath + '.ok', '') | ||
@@ -68,3 +73,3 @@ resolve({ | ||
nugget(url, {target: fileName, streamOnly: true}, (err, stream) => { | ||
dl = nugget(url, {target: fileName, streamOnly: true}, (err, stream) => { | ||
if (err) { | ||
@@ -71,0 +76,0 @@ return reject(err[0]) |
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
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
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 4 instances in 1 package
1
6
5113
6
131
1