Socket
Socket
Sign inDemoInstall

@fal-works/esbuild-plugin-global-externals

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@fal-works/esbuild-plugin-global-externals - npm Package Compare versions

Comparing version 2.0.0 to 2.1.0

lib/index.cjs

22

package.json
{
"name": "@fal-works/esbuild-plugin-global-externals",
"description": "esbuild plugin for replacing imports with global variables.",
"version": "2.0.0",
"version": "2.1.0",
"license": "MIT",

@@ -18,5 +18,8 @@ "author": "FAL",

],
"main": "lib/index.js",
"main": "lib/index.cjs",
"module": "lib/index.js",
"exports": "./lib/index.js",
"exports": {
"import": "./lib/index.js",
"require": "./lib/index.cjs"
},
"type": "module",

@@ -27,3 +30,3 @@ "directories": {

"dependencies": {
"esbuild": "^0.8.39"
"esbuild": "^0.8.40"
},

@@ -42,7 +45,10 @@ "devDependencies": {

"prebuild": "rimraf lib",
"build": "tsc && npm run format:lib",
"preformat:lib": "eslint --fix --no-ignore lib/**/*.{js,ts}",
"format:lib": "prettier --write lib/**/*.{js,ts}",
"lint": "eslint src/"
"build": "npm run build:esm & npm run build:cjs",
"build:esm": "tsc && npm run format:lib:esm",
"preformat:lib:esm": "eslint --fix --no-ignore lib/**/*.{js,ts}",
"format:lib:esm": "prettier --write lib/**/*.{js,ts}",
"build:cjs": "esbuild src/index.ts --outfile=lib/index.cjs --format=cjs --platform=node --bundle --minify",
"lint": "eslint src/",
"test": "node test/test.js"
}
}

@@ -5,3 +5,3 @@ # esbuild-plugin-global-externals

Developed with: esbuild v0.8.39
Developed with: esbuild v0.8.40

@@ -8,0 +8,0 @@ Similar to (but not the same as) `output.globals` option of [Rollup](https://rollupjs.org/). See also: [evanw/esbuild#337](https://github.com/evanw/esbuild/issues/337)

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