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.1.0-refactor-externals-ee5e344.3 to 2.1.0-refactor-externals-ee5e344.4

10

dist/IsolatedExternalsPlugin.js

@@ -46,3 +46,2 @@ "use strict";

var path_1 = __importDefault(require("path"));
var OrigModuleDependency = webpack_1.dependencies.ModuleDependency;
var configSchema = {

@@ -226,6 +225,7 @@ type: 'object',

var getTargetEntry = function (dep) {
var _a;
if (!dep) {
return;
}
var _a = dep.rawRequest, rawRequest = _a === void 0 ? '' : _a;
var _b = dep.rawRequest, rawRequest = _b === void 0 ? '' : _b;
var entryName = getEntryName(rawRequest);

@@ -236,7 +236,5 @@ if (entryName) {

var connections = Array.from(compilation.moduleGraph.getIncomingConnections(dep));
return connections
.map(function (conn) {
return getTargetEntry((_a = connections.find(function (conn) {
return getTargetEntry(conn.originModule);
})
.find(Boolean);
})) === null || _a === void 0 ? void 0 : _a.originModule);
};

@@ -243,0 +241,0 @@ var targetEntry = (_a = data.dependencies) === null || _a === void 0 ? void 0 : _a.map(function (dep) {

2

package.json
{
"name": "isolated-externals-plugin",
"version": "2.1.0-refactor-externals-ee5e344.3",
"version": "2.1.0-refactor-externals-ee5e344.4",
"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