Socket
Socket
Sign inDemoInstall

webpack-core

Package Overview
Dependencies
Maintainers
1
Versions
46
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

webpack-core - npm Package Compare versions

Comparing version 0.2.12 to 0.2.13

0

lib/ConcatSource.js

@@ -0,0 +0,0 @@ /*

@@ -0,0 +0,0 @@ /*

@@ -0,0 +0,0 @@ /*

@@ -0,0 +0,0 @@ /*

@@ -0,0 +0,0 @@ /*

13

lib/NormalModuleMixin.js

@@ -13,2 +13,11 @@ /*

function utf8BufferToString(buf) {
var str = buf.toString("utf-8");
if(str.charCodeAt(0) === 0xFEFF) {
return str.substr(1);
} else {
return str;
}
}
function NormalModuleMixin(loaders, resource) {

@@ -243,3 +252,3 @@ this.resource = resource;

if(Buffer.isBuffer(args[0]))
args[0] = args[0].toString("utf-8");
args[0] = utf8BufferToString(args[0]);
return onModuleBuild.apply(module, args);

@@ -254,3 +263,3 @@ }

if(!l.module.raw && Buffer.isBuffer(args[0])) {
args[0] = args[0].toString("utf-8");
args[0] = utf8BufferToString(args[0]);
} else if(l.module.raw && typeof args[0] === "string") {

@@ -257,0 +266,0 @@ args[0] = new Buffer(args[0], "utf-8");

@@ -0,0 +0,0 @@ /*

@@ -0,0 +0,0 @@ /*

@@ -0,0 +0,0 @@ /*

@@ -0,0 +0,0 @@ /*

@@ -0,0 +0,0 @@ /*

@@ -0,0 +0,0 @@ /*

@@ -0,0 +0,0 @@ /*

@@ -0,0 +0,0 @@ /*

@@ -0,0 +0,0 @@ /*

2

package.json
{
"name": "webpack-core",
"version": "0.2.12",
"version": "0.2.13",
"author": "Tobias Koppers @sokra",

@@ -5,0 +5,0 @@ "description": "The core of webpack and enhanced-require.",

@@ -0,0 +0,0 @@ # webpack-core

Sorry, the diff of this file is not supported yet

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