New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@builder/compat-webpack4

Package Overview
Dependencies
Maintainers
7
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@builder/compat-webpack4 - npm Package Compare versions

Comparing version 1.0.0-beta.7 to 1.0.0-beta.8

1

lib/index.js
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.compatDevServer = exports.modifyEntry = exports.emitAsset = exports.processAssets = exports.isWebpack4 = void 0;
var isWebpack4_1 = require("./isWebpack4");

@@ -4,0 +5,0 @@ Object.defineProperty(exports, "isWebpack4", { enumerable: true, get: function () { return isWebpack4_1.default; } });

18

lib/modifyEntry.js
"use strict";
var __spreadArrays = (this && this.__spreadArrays) || function () {
for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;
for (var r = Array(s), k = 0, i = 0; i < il; i++)
for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)
r[k] = a[j];
return r;
var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
if (ar || !(i in from)) {
if (!ar) ar = Array.prototype.slice.call(from, 0, i);
ar[i] = from[i];
}
}
return to.concat(ar || Array.prototype.slice.call(from));
};

@@ -26,5 +28,5 @@ Object.defineProperty(exports, "__esModule", { value: true });

compiler.options.entry[entryName] = {
import: __spreadArrays((_b = compiler.options.entry[entryName]) === null || _b === void 0 ? void 0 : _b.import, [
import: __spreadArray(__spreadArray([], (_b = compiler.options.entry[entryName]) === null || _b === void 0 ? void 0 : _b.import, true), [
entryPath,
]),
], false),
};

@@ -31,0 +33,0 @@ }

{
"name": "@builder/compat-webpack4",
"version": "1.0.0-beta.7",
"version": "1.0.0-beta.8",
"description": "Build utils for compat webpack4.",

@@ -5,0 +5,0 @@ "license": "MIT",

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