esbuild-plugins-node-modules-polyfill
Advanced tools
Comparing version 1.6.8-next.dc7e55e.0 to 1.6.8
@@ -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 @@ |
@@ -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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Deprecated
MaintenanceThe maintainer of the package marked it as deprecated. This could indicate that a single version should not be used, or that the package is no longer maintained and any new vulnerabilities will not be fixed.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
53084
0
0
237
363
11
20
2
103
+ Added@esbuild/aix-ppc64@0.24.0(transitive)
+ Added@esbuild/android-arm@0.24.0(transitive)
+ Added@esbuild/android-arm64@0.24.0(transitive)
+ Added@esbuild/android-x64@0.24.0(transitive)
+ Added@esbuild/darwin-arm64@0.24.0(transitive)
+ Added@esbuild/darwin-x64@0.24.0(transitive)
+ Added@esbuild/freebsd-arm64@0.24.0(transitive)
+ Added@esbuild/freebsd-x64@0.24.0(transitive)
+ Added@esbuild/linux-arm@0.24.0(transitive)
+ Added@esbuild/linux-arm64@0.24.0(transitive)
+ Added@esbuild/linux-ia32@0.24.0(transitive)
+ Added@esbuild/linux-loong64@0.24.0(transitive)
+ Added@esbuild/linux-mips64el@0.24.0(transitive)
+ Added@esbuild/linux-ppc64@0.24.0(transitive)
+ Added@esbuild/linux-riscv64@0.24.0(transitive)
+ Added@esbuild/linux-s390x@0.24.0(transitive)
+ Added@esbuild/linux-x64@0.24.0(transitive)
+ Added@esbuild/netbsd-x64@0.24.0(transitive)
+ Added@esbuild/openbsd-arm64@0.24.0(transitive)
+ Added@esbuild/openbsd-x64@0.24.0(transitive)
+ Added@esbuild/sunos-x64@0.24.0(transitive)
+ Added@esbuild/win32-arm64@0.24.0(transitive)
+ Added@esbuild/win32-ia32@0.24.0(transitive)
+ Added@esbuild/win32-x64@0.24.0(transitive)
+ Added@jspm/core@2.0.1(transitive)
+ Addedesbuild@0.24.0(transitive)
- Removed@esbuild/aix-ppc64@0.23.1(transitive)
- Removed@esbuild/android-arm@0.23.1(transitive)
- Removed@esbuild/android-arm64@0.23.1(transitive)
- Removed@esbuild/android-x64@0.23.1(transitive)
- Removed@esbuild/darwin-arm64@0.23.1(transitive)
- Removed@esbuild/darwin-x64@0.23.1(transitive)
- Removed@esbuild/freebsd-arm64@0.23.1(transitive)
- Removed@esbuild/freebsd-x64@0.23.1(transitive)
- Removed@esbuild/linux-arm@0.23.1(transitive)
- Removed@esbuild/linux-arm64@0.23.1(transitive)
- Removed@esbuild/linux-ia32@0.23.1(transitive)
- Removed@esbuild/linux-loong64@0.23.1(transitive)
- Removed@esbuild/linux-mips64el@0.23.1(transitive)
- Removed@esbuild/linux-ppc64@0.23.1(transitive)
- Removed@esbuild/linux-riscv64@0.23.1(transitive)
- Removed@esbuild/linux-s390x@0.23.1(transitive)
- Removed@esbuild/linux-x64@0.23.1(transitive)
- Removed@esbuild/netbsd-x64@0.23.1(transitive)
- Removed@esbuild/openbsd-arm64@0.23.1(transitive)
- Removed@esbuild/openbsd-x64@0.23.1(transitive)
- Removed@esbuild/sunos-x64@0.23.1(transitive)
- Removed@esbuild/win32-arm64@0.23.1(transitive)
- Removed@esbuild/win32-ia32@0.23.1(transitive)
- Removed@esbuild/win32-x64@0.23.1(transitive)
- Removed@jspm/core@2.1.0(transitive)
- Removedesbuild@0.23.1(transitive)
Updated@jspm/core@2.0.1