Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

pkgbld

Package Overview
Dependencies
Maintainers
1
Versions
146
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pkgbld - npm Package Compare versions

Comparing version 1.2.17 to 1.2.18

8

dist/index.js

@@ -224,3 +224,3 @@ #!/usr/bin/env node

if (typeof pkg.name !== 'string') {
logger$1.finish('expecting name to be a string in package.json', 3 /* error */);
logger$1.finish('expecting name to be a string in package.json', 3 /* LogLevel.error */);
process.exit(-1);

@@ -309,7 +309,7 @@ }

const time = Date.now();
logger$1.start(`building ${formatInput(config.input)} → ${formatOutput(config.output, 'dir')}, ${formatOutput(config.output, 'format')}`, 1 /* info */);
logger$1.start(`building ${formatInput(config.input)} → ${formatOutput(config.output, 'dir')}, ${formatOutput(config.output, 'format')}`, 1 /* LogLevel.info */);
const bundle = await rollup.rollup(config);
await Promise.all(toArray(config.output).map(config => bundle.write(config)));
await bundle.close();
logger$1.finish(`finished ${formatInput(config.input)} → ${formatOutput(config.output, 'dir')}, ${formatOutput(config.output, 'format')} in ${getTimeDiff(time)}`, 1 /* info */);
logger$1.finish(`finished ${formatInput(config.input)} → ${formatOutput(config.output, 'dir')}, ${formatOutput(config.output, 'format')} in ${getTimeDiff(time)}`, 1 /* LogLevel.info */);
}

@@ -320,3 +320,3 @@ await writePackage(pkgPath, pkg);

catch (e) {
logger.createLogger().finish(`${e}}`, 3 /* error */);
logger.createLogger().finish(`${e}}`, 3 /* LogLevel.error */);
process.exit(-1);

@@ -323,0 +323,0 @@ }

{
"version": "1.2.17",
"version": "1.2.18",
"license": "MIT",

@@ -59,5 +59,5 @@ "name": "pkgbld",

"@rollup/plugin-node-resolve": "13.3.0",
"typescript": "4.6.4",
"typescript": "4.7.2",
"minimist": "1.2.6"
}
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc