Socket
Socket
Sign inDemoInstall

wallaby-webpack

Package Overview
Dependencies
Maintainers
2
Versions
64
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.0.41 to 0.0.42

11

index.js

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

};
compilation.plugin('should-generate-chunk-assets', function() {
compilation.plugin('should-generate-chunk-assets', function () {
return false;

@@ -334,6 +334,6 @@ });

_removePlugins(i, compilation){
_removePlugins(i, compilation) {
var name = 'applyPlugins' + i;
var originalApplyPlugins = compilation['applyPlugins' + i];
if(originalApplyPlugins){
if (originalApplyPlugins) {
compilation[name] = function (name) {

@@ -354,3 +354,3 @@ if (name === 'optimize-module-order' || name === 'optimize-chunk-order' || name === 'optimize-chunk-ids') return;

return {
code: WebpackPostprocessor._wrapSourceFile(WebpackPostprocessor._getModuleId(m, file, self._isEntryFile(file)), node.source()),
code: WebpackPostprocessor._wrapSourceFile(WebpackPostprocessor._getModuleId(m, file, self._isEntryFile(file)), node.source(), m.strict),
map: () => node.map()

@@ -380,4 +380,5 @@ };

static _wrapSourceFile(id, content) {
static _wrapSourceFile(id, content, useStrict) {
return 'window.__moduleBundler.cache[' + JSON.stringify(id) + '] = [function(__webpack_require__, module, exports, __webpack_exports__) {'
+ (useStrict ? '"use strict";' : '')
+ content + '\n}, window.__moduleBundler.deps];';

@@ -384,0 +385,0 @@ }

{
"name": "wallaby-webpack",
"version": "0.0.41",
"version": "0.0.42",
"description": "Webpack postprocessor for wallaby.js",

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc