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

wallaby-webpack - npm Package Compare versions

Comparing version 0.0.6 to 0.0.7

6

index.js

@@ -47,2 +47,3 @@ 'use strict';

this._moduleIds = {};
this._moduleIdByPath = {};
this._allTrackedFiles = {};

@@ -135,3 +136,2 @@ this._entryFiles = {};

var createFilePromises = [];
var trackedFileIds = {};
_.each(self._affectedModules, function (m) {

@@ -174,3 +174,3 @@ var trackedFile = m.resource && affectedFiles[m.resource];

if (trackedFile) {
trackedFileIds[trackedFile.fullPath] = moduleId;
self._moduleIdByPath[trackedFile.fullPath] = moduleId;
}

@@ -199,3 +199,3 @@ });

content: _.reduce(_.values(self._entryFiles),
(memo, file) => memo + (file.test ? '' : 'window.__moduleBundler.require(' + JSON.stringify(trackedFileIds[file.fullPath]) + ');'), '')
(memo, file) => memo + (file.test ? '' : 'window.__moduleBundler.require(' + JSON.stringify(self._moduleIdByPath[file.fullPath]) + ');'), '')
}));

@@ -202,0 +202,0 @@ }

{
"name": "wallaby-webpack",
"version": "0.0.6",
"version": "0.0.7",
"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

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc