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
372
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.9-next.42ea977.0 to 1.7.0-next.0278e58.0

9

dist/index.js

@@ -7,3 +7,3 @@ 'use strict';

var localPkg = require('local-pkg');
var promises = require('fs/promises');
var esbuild = require('esbuild');
var resolve_exports = require('resolve.exports');

@@ -61,3 +61,8 @@

const exportFullPath = await getCachedPolyfillPath(importPath);
const content = await promises.readFile(exportFullPath, "utf8");
const content = (await esbuild.build({
write: false,
format: "esm",
bundle: true,
entryPoints: [exportFullPath]
})).outputFiles[0].text;
return content.replace(/eval\(/g, "(0,eval)(");

@@ -64,0 +69,0 @@ }, "polyfillContentAndTransform");

{
"name": "esbuild-plugins-node-modules-polyfill",
"version": "1.6.9-next.42ea977.0",
"version": "1.7.0-next.0278e58.0",
"description": "Polyfills nodejs builtin modules and globals for the browser.",

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

"dependencies": {
"@jspm/core": "2.0.1",
"local-pkg": "^0.5.0",
"resolve.exports": "^2.0.2"
"@jspm/core": "^2.1.0",
"local-pkg": "^0.5.1",
"resolve.exports": "^2.0.3"
},
"devDependencies": {
"@commitlint/cli": "^19.5.0",
"@commitlint/config-conventional": "^19.5.0",
"@commitlint/cli": "^19.6.1",
"@commitlint/config-conventional": "^19.6.0",
"@favware/cliff-jumper": "^5.0.0",
"@favware/npm-deprecate": "^2.0.0",
"@types/node": "^22.9.0",
"@types/node": "^22.10.2",
"cz-conventional-changelog": "^3.3.0",
"esbuild": "^0.24.0",
"eslint": "9.14.0",
"eslint-config-mahir": "^1.0.5",
"husky": "^9.1.6",
"lint-staged": "^15.2.10",
"esbuild": "^0.24.2",
"eslint": "9.17.0",
"eslint-config-mahir": "^1.0.7",
"husky": "^9.1.7",
"lint-staged": "^15.3.0",
"pinst": "^3.0.0",
"prettier": "^3.3.3",
"prettier": "^3.4.2",
"tsup": "^8.3.5",
"typescript": "^5.6.3",
"vitest": "^2.1.5"
"typescript": "^5.7.2",
"vitest": "^2.1.8"
},

@@ -90,3 +90,3 @@ "peerDependencies": {

"minimist": "^1.2.8",
"eslint": "9.14.0"
"eslint": "9.17.0"
},

@@ -96,3 +96,3 @@ "engines": {

},
"packageManager": "yarn@4.5.1"
"packageManager": "yarn@4.5.3"
}

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