Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

webpack

Package Overview
Dependencies
Maintainers
1
Versions
839
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

webpack - npm Package Compare versions

Comparing version 0.1.1 to 0.1.2

36

examples/require.context/README.md

@@ -28,20 +28,18 @@ # example.js

``` javascript
/******/(function(document, undefined) {
/******/ return function(modules) {
/******/ var installedModules = {};
/******/ function require(moduleId) {
/******/ if(installedModules[moduleId])
/******/ return installedModules[moduleId];
/******/ var module = installedModules[moduleId] = {
/******/ exports: {}
/******/ };
/******/ modules[moduleId](module, module.exports, require);
/******/ return module.exports;
/******/ }
/******/ require.ensure = function(chunkId, callback) {
/******/ callback(require);
/******/(function(modules) {
/******/ var installedModules = {};
/******/ function require(moduleId) {
/******/ if(installedModules[moduleId])
/******/ return installedModules[moduleId].exports;
/******/ var module = installedModules[moduleId] = {
/******/ exports: {}
/******/ };
/******/ return require(0);
/******/ modules[moduleId](module, module.exports, require);
/******/ return module.exports;
/******/ }
/******/})(document)
/******/ require.ensure = function(chunkId, callback) {
/******/ callback(require);
/******/ };
/******/ return require(0);
/******/})
/******/({

@@ -61,3 +59,3 @@ /******/0: function(module, exports, require) {

/***/module.exports = function(name) {
/***/ var map = {"./b.js":3,"./c.js":4,"./a.js":2};
/***/ var map = {"./b.js":3,"./a.js":2,"./c.js":4};
/***/ return require(map[name]||map[name+".web.js"]||map[name+".js"]);

@@ -105,3 +103,3 @@ /***/};

modulesFirstChunk: 5,
fileSizes: { 'output.js': 1529 } }
fileSizes: { 'output.js': 1454 } }
```

@@ -117,3 +115,3 @@

modulesFirstChunk: 5,
fileSizes: { 'output.js': 674 } }
fileSizes: { 'output.js': 650 } }
```

@@ -120,0 +118,0 @@

@@ -1,18 +0,16 @@

/******/(function(document, undefined) {
/******/ return function(modules) {
/******/ var installedModules = {};
/******/ function require(moduleId) {
/******/ if(installedModules[moduleId])
/******/ return installedModules[moduleId].exports;
/******/ var module = installedModules[moduleId] = {
/******/ exports: {}
/******/ };
/******/ modules[moduleId](module, module.exports, require);
/******/ return module.exports;
/******/ }
/******/ require.ensure = function(chunkId, callback) {
/******/ callback(require);
/******/(function(modules) {
/******/ var installedModules = {};
/******/ function require(moduleId) {
/******/ if(installedModules[moduleId])
/******/ return installedModules[moduleId].exports;
/******/ var module = installedModules[moduleId] = {
/******/ exports: {}
/******/ };
/******/ return require(0);
/******/ modules[moduleId](module, module.exports, require);
/******/ return module.exports;
/******/ }
/******/})(document)
/******/ require.ensure = function(chunkId, callback) {
/******/ callback(require);
/******/ };
/******/ return require(0);
/******/})
{
"name": "webpack",
"version": "0.1.1",
"version": "0.1.2",
"author": "Tobias Koppers @sokra",

@@ -5,0 +5,0 @@ "description": "Packs CommonJs Modules for the browser. Allows to split your codebase into multiple bundles, which can be loaded on demand.",

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