Socket
Socket
Sign inDemoInstall

esbuild-loader

Package Overview
Dependencies
Maintainers
1
Versions
52
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

esbuild-loader - npm Package Compare versions

Comparing version 2.1.0 to 2.1.1

2

package.json
{
"name": "esbuild-loader",
"version": "2.1.0",
"version": "2.1.1",
"main": "src/index.js",

@@ -5,0 +5,0 @@ "author": "EGOIST",

@@ -6,2 +6,4 @@ const { RawSource, SourceMapSource } = require('webpack-sources')

const flatMap = (arr, cb) => arr.flatMap ? arr.flatMap(cb) : [].concat(...arr.map(cb))
class ESBuildMinifyPlugin {

@@ -43,3 +45,3 @@ constructor(options) {

async (chunks) => {
const transforms = chunks.flatMap((chunk) => {
const transforms = flatMap(chunks, (chunk) => {
return chunk.files

@@ -46,0 +48,0 @@ .filter((file) => isJsFile.test(file))

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