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

esbuild-plugins-node-modules-polyfill

Package Overview
Dependencies
Maintainers
0
Versions
365
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

esbuild-plugins-node-modules-polyfill - npm Package Compare versions

Comparing version 1.6.8-next.dc7e55e.0 to 1.6.8

6

CHANGELOG.md

@@ -5,2 +5,8 @@ # Changelog

# [1.6.8](https://github.com/imranbarbhuiya/esbuild-plugins-node-modules-polyfill/compare/v1.6.7...v1.6.8) - (2024-11-17)
## ๐Ÿ› Bug Fixes
- Accept node prefix in modules obj ([4b8b611](https://github.com/imranbarbhuiya/esbuild-plugins-node-modules-polyfill/commit/4b8b611b34d2561d280768604a4e9b0395a91be6))
# [1.6.6](https://github.com/imranbarbhuiya/esbuild-plugins-node-modules-polyfill/compare/v1.6.5...v1.6.6) - (2024-08-29)

@@ -7,0 +13,0 @@

3

dist/index.js

@@ -122,3 +122,2 @@ 'use strict';

name,
// eslint-disable-next-line @typescript-eslint/unbound-method
setup: /* @__PURE__ */ __name(({ onLoad, onResolve, onEnd, initialOptions }) => {

@@ -177,3 +176,3 @@ if (shouldDetectErrorModules && initialOptions.write !== false)

const moduleName = normalizeNodeBuiltinPath(args.path);
const polyfillOption = modules[moduleName];
const polyfillOption = modules[moduleName] ?? modules[`node:${moduleName}`];
if (!polyfillOption) return result[fallback];

@@ -180,0 +179,0 @@ if (polyfillOption === "error" || polyfillOption === "empty") return result[polyfillOption];

{
"name": "esbuild-plugins-node-modules-polyfill",
"version": "1.6.8-next.dc7e55e.0",
"version": "1.6.8",
"description": "Polyfills nodejs builtin modules and globals for the browser.",

@@ -34,3 +34,3 @@ "main": "dist/index.js",

"dependencies": {
"@jspm/core": "^2.1.0",
"@jspm/core": "2.0.1",
"local-pkg": "^0.5.0",

@@ -47,4 +47,4 @@ "resolve.exports": "^2.0.2"

"esbuild": "^0.24.0",
"eslint": "^9.14.0",
"eslint-config-mahir": "^1.0.4",
"eslint": "9.14.0",
"eslint-config-mahir": "^1.0.5",
"husky": "^9.1.6",

@@ -56,6 +56,6 @@ "lint-staged": "^15.2.10",

"typescript": "^5.6.3",
"vitest": "^2.1.4"
"vitest": "^2.1.5"
},
"peerDependencies": {
"esbuild": ">=0.14.0 <=0.23.x"
"esbuild": ">=0.14.0 <=0.24.x"
},

@@ -91,3 +91,4 @@ "files": [

"ansi-regex": "^5.0.1",
"minimist": "^1.2.8"
"minimist": "^1.2.8",
"eslint": "9.14.0"
},

@@ -94,0 +95,0 @@ "engines": {

Sorry, the diff of this file is not supported yet

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