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
1
Versions
369
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.0-next.769e642.0 to 1.6.0

6

CHANGELOG.md

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

# [1.6.0](https://github.com/imranbarbhuiya/esbuild-plugins-node-modules-polyfill/compare/v1.5.0...v1.6.0) - (2023-08-25)
## 🚀 Features
- Support custom error formatting (#153) ([769e642](https://github.com/imranbarbhuiya/esbuild-plugins-node-modules-polyfill/commit/769e642c53e6dae26d7ecd5fedc26d0f15fad50c))
# [1.5.0](https://github.com/imranbarbhuiya/esbuild-plugins-node-modules-polyfill/compare/v1.4.1...v1.5.0) - (2023-08-24)

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

2

package.json
{
"name": "esbuild-plugins-node-modules-polyfill",
"version": "1.6.0-next.769e642.0",
"version": "1.6.0",
"description": "Polyfills nodejs builtin modules and globals for the browser.",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

@@ -181,3 +181,3 @@ <div align="center">

### Provide a custom error formatter for when a module is not polyfilled or configured:
### Provide a custom error formatter when a module is not polyfilled or configured:

@@ -204,5 +204,5 @@ Return an esbuild `PartialMessage` object from the `formatError` function to override any properties of the default error message.

? `Polyfill has not been configured for "${moduleName}", imported by "${importer}"`
: `Polyfill does not exist for "${moduleName}", imported by "${importer}"`
: `Polyfill does not exist for "${moduleName}", imported by "${importer}"`,
};
}
},
}),

@@ -209,0 +209,0 @@ ],

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