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

isolated-externals-plugin

Package Overview
Dependencies
Maintainers
4
Versions
66
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

isolated-externals-plugin - npm Package Compare versions

Comparing version 2.4.0-preload-non-esm-e559461.9 to 2.4.0-preload-non-esm-e559461.10

10

dist/IsolatedExternalsPlugin.js

@@ -266,4 +266,14 @@ "use strict";

}
const doRebuildEntryModule = async (result) => {
const entryName = (0, getRequestParam_1.default)(result.request, 'isolatedExternalsEntry');
const isNormal = (0, getRequestParam_1.default)(result.request, 'normal') === true.toString();
if (!entryName || isNormal || !unpromisedEntries[entryName])
return false;
await rebuildEntryModule(entryName);
return true;
};
normalModuleFactory.hooks.beforeResolve.tapPromise('IsolatedExternalsPlugin', async (result) => {
try {
if (await doRebuildEntryModule(result))
return;
if (result.dependencyType === 'esm')

@@ -270,0 +280,0 @@ return; // the bug does not happen in esm

2

package.json
{
"name": "isolated-externals-plugin",
"version": "2.4.0-preload-non-esm-e559461.9",
"version": "2.4.0-preload-non-esm-e559461.10",
"description": "",

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

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