New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

brotli-compress

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

brotli-compress - npm Package Compare versions

Comparing version 1.0.0 to 1.1.0

index.mjs

34

build.ts

@@ -0,1 +1,3 @@

import { build } from 'esbuild'
let wasmPlugin = {

@@ -56,12 +58,22 @@ name: 'wasm',

require('esbuild')
.build({
entryPoints: ['src/index.ts'],
bundle: true,
outfile: 'index.js',
plugins: [wasmPlugin],
})
.catch((e) => {
console.error(e)
process.exit(1)
})
build({
entryPoints: ['src/index.ts'],
bundle: true,
format: 'cjs',
outfile: 'index.js',
plugins: [wasmPlugin],
}).catch((e) => {
console.error(e)
process.exit(1)
})
build({
entryPoints: ['src/index.ts'],
bundle: true,
format: 'esm',
outfile: 'index.mjs',
plugins: [wasmPlugin],
}).catch((e) => {
console.error(e)
process.exit(1)
})
{
"name": "brotli-compress",
"version": "1.0.0",
"version": "1.1.0",
"main": "index.js",
"module": "index.mjs",
"typings": "dist/index.d.ts",

@@ -6,0 +7,0 @@ "description": "WASM based, asynchronous Brotli compression and decompression package that works in browsers and Node.js; CommonJS and ESM",

Sorry, the diff of this file is too big to display

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