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

esbuild

Package Overview
Dependencies
Maintainers
1
Versions
458
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

esbuild - npm Package Compare versions

Comparing version 0.4.7 to 0.4.8

23

lib/main.d.ts

@@ -27,2 +27,3 @@ export declare type Target = 'esnext' | 'es6' | 'es2015' | 'es2016' | 'es2017' | 'es2018' | 'es2019' | 'es2020';

outfile?: string;
metafile?: string;
outdir?: string;

@@ -122,1 +123,23 @@ platform?: Platform;

}
// This is the type information for the "metafile" JSON format
export interface Metadata {
inputs: {
[path: string]: {
bytes: number
imports: {
path: string
}[]
}
}
outputs: {
[path: string]: {
bytes: number
inputs: {
[path: string]: {
bytesInOutput: number
}
}
}
}
}

1

lib/main.js

@@ -91,2 +91,3 @@ const child_process = require('child_process');

if (options.bundle) flags.push('--bundle');
if (options.metafile) flags.push(`--metafile=${options.metafile}`);
if (options.outfile) flags.push(`--outfile=${options.outfile}`);

@@ -93,0 +94,0 @@ if (options.outdir) flags.push(`--outdir=${options.outdir}`);

2

package.json
{
"name": "esbuild",
"version": "0.4.7",
"version": "0.4.8",
"description": "An extremely fast JavaScript bundler and minifier.",

@@ -5,0 +5,0 @@ "repository": "https://github.com/evanw/esbuild",

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