Selaa lähdekoodia

删除无用包4

wangsy 11 kuukautta sitten
vanhempi
commit
93c8843729
100 muutettua tiedostoa jossa 0 lisäystä ja 14774 poistoa
  1. 0 1
      node_modules.bak/watchpack-chokidar2/index.js
  2. 0 60
      node_modules.bak/watchpack-chokidar2/package.json
  3. 0 20
      node_modules.bak/watchpack/LICENSE
  4. 0 72
      node_modules.bak/watchpack/README.md
  5. 0 379
      node_modules.bak/watchpack/lib/DirectoryWatcher.js
  6. 0 22
      node_modules.bak/watchpack/lib/chokidar.js
  7. 0 35
      node_modules.bak/watchpack/lib/watcherManager.js
  8. 0 145
      node_modules.bak/watchpack/lib/watchpack.js
  9. 0 76
      node_modules.bak/watchpack/package.json
  10. 0 26
      node_modules.bak/wbuf/README.md
  11. 0 425
      node_modules.bak/wbuf/index.js
  12. 0 58
      node_modules.bak/wbuf/package.json
  13. 0 357
      node_modules.bak/wbuf/test/wbuf-test.js
  14. 0 20
      node_modules.bak/webpack/LICENSE
  15. 0 784
      node_modules.bak/webpack/README.md
  16. 0 9
      node_modules.bak/webpack/SECURITY.md
  17. 0 171
      node_modules.bak/webpack/bin/webpack.js
  18. 0 3
      node_modules.bak/webpack/buildin/amd-define.js
  19. 0 2
      node_modules.bak/webpack/buildin/amd-options.js
  20. 0 20
      node_modules.bak/webpack/buildin/global.js
  21. 0 24
      node_modules.bak/webpack/buildin/harmony-module.js
  22. 0 22
      node_modules.bak/webpack/buildin/module.js
  23. 0 7
      node_modules.bak/webpack/buildin/system.js
  24. 0 1466
      node_modules.bak/webpack/declarations/WebpackOptions.d.ts
  25. 0 49
      node_modules.bak/webpack/declarations/plugins/BannerPlugin.d.ts
  26. 0 32
      node_modules.bak/webpack/declarations/plugins/DllPlugin.d.ts
  27. 0 126
      node_modules.bak/webpack/declarations/plugins/DllReferencePlugin.d.ts
  28. 0 24
      node_modules.bak/webpack/declarations/plugins/HashedModuleIdsPlugin.d.ts
  29. 0 27
      node_modules.bak/webpack/declarations/plugins/IgnorePlugin.d.ts
  30. 0 27
      node_modules.bak/webpack/declarations/plugins/LoaderOptionsPlugin.d.ts
  31. 0 42
      node_modules.bak/webpack/declarations/plugins/ProgressPlugin.d.ts
  32. 0 94
      node_modules.bak/webpack/declarations/plugins/SourceMapDevToolPlugin.d.ts
  33. 0 10
      node_modules.bak/webpack/declarations/plugins/WatchIgnorePlugin.d.ts
  34. 0 12
      node_modules.bak/webpack/declarations/plugins/debug/ProfilingPlugin.d.ts
  35. 0 24
      node_modules.bak/webpack/declarations/plugins/optimize/AggressiveSplittingPlugin.d.ts
  36. 0 16
      node_modules.bak/webpack/declarations/plugins/optimize/LimitChunkCountPlugin.d.ts
  37. 0 12
      node_modules.bak/webpack/declarations/plugins/optimize/MinChunkSizePlugin.d.ts
  38. 0 12
      node_modules.bak/webpack/declarations/plugins/optimize/OccurrenceOrderChunkIdsPlugin.d.ts
  39. 0 12
      node_modules.bak/webpack/declarations/plugins/optimize/OccurrenceOrderModuleIdsPlugin.d.ts
  40. 0 61
      node_modules.bak/webpack/hot/dev-server.js
  41. 0 2
      node_modules.bak/webpack/hot/emitter.js
  42. 0 44
      node_modules.bak/webpack/hot/log-apply-result.js
  43. 0 59
      node_modules.bak/webpack/hot/log.js
  44. 0 102
      node_modules.bak/webpack/hot/only-dev-server.js
  45. 0 37
      node_modules.bak/webpack/hot/poll.js
  46. 0 62
      node_modules.bak/webpack/hot/signal.js
  47. 0 84
      node_modules.bak/webpack/lib/APIPlugin.js
  48. 0 43
      node_modules.bak/webpack/lib/AbstractMethodError.js
  49. 0 106
      node_modules.bak/webpack/lib/AmdMainTemplatePlugin.js
  50. 0 110
      node_modules.bak/webpack/lib/AsyncDependenciesBlock.js
  51. 0 31
      node_modules.bak/webpack/lib/AsyncDependencyToInitialChunkError.js
  52. 0 57
      node_modules.bak/webpack/lib/AutomaticPrefetchPlugin.js
  53. 0 122
      node_modules.bak/webpack/lib/BannerPlugin.js
  54. 0 248
      node_modules.bak/webpack/lib/BasicEvaluatedExpression.js
  55. 0 100
      node_modules.bak/webpack/lib/CachePlugin.js
  56. 0 67
      node_modules.bak/webpack/lib/CaseSensitiveModulesWarning.js
  57. 0 875
      node_modules.bak/webpack/lib/Chunk.js
  58. 0 513
      node_modules.bak/webpack/lib/ChunkGroup.js
  59. 0 32
      node_modules.bak/webpack/lib/ChunkRenderError.js
  60. 0 87
      node_modules.bak/webpack/lib/ChunkTemplate.js
  61. 0 32
      node_modules.bak/webpack/lib/CommentCompilationWarning.js
  62. 0 116
      node_modules.bak/webpack/lib/CommonJsStuffPlugin.js
  63. 0 70
      node_modules.bak/webpack/lib/CompatibilityPlugin.js
  64. 0 2327
      node_modules.bak/webpack/lib/Compilation.js
  65. 0 735
      node_modules.bak/webpack/lib/Compiler.js
  66. 0 19
      node_modules.bak/webpack/lib/ConcurrentCompilationError.js
  67. 0 348
      node_modules.bak/webpack/lib/ConstPlugin.js
  68. 0 28
      node_modules.bak/webpack/lib/ContextExclusionPlugin.js
  69. 0 872
      node_modules.bak/webpack/lib/ContextModule.js
  70. 0 262
      node_modules.bak/webpack/lib/ContextModuleFactory.js
  71. 0 133
      node_modules.bak/webpack/lib/ContextReplacementPlugin.js
  72. 0 289
      node_modules.bak/webpack/lib/DefinePlugin.js
  73. 0 114
      node_modules.bak/webpack/lib/DelegatedModule.js
  74. 0 95
      node_modules.bak/webpack/lib/DelegatedModuleFactoryPlugin.js
  75. 0 39
      node_modules.bak/webpack/lib/DelegatedPlugin.js
  76. 0 124
      node_modules.bak/webpack/lib/DependenciesBlock.js
  77. 0 72
      node_modules.bak/webpack/lib/DependenciesBlockVariable.js
  78. 0 89
      node_modules.bak/webpack/lib/Dependency.js
  79. 0 54
      node_modules.bak/webpack/lib/DllEntryPlugin.js
  80. 0 60
      node_modules.bak/webpack/lib/DllModule.js
  81. 0 29
      node_modules.bak/webpack/lib/DllModuleFactory.js
  82. 0 49
      node_modules.bak/webpack/lib/DllPlugin.js
  83. 0 156
      node_modules.bak/webpack/lib/DllReferencePlugin.js
  84. 0 94
      node_modules.bak/webpack/lib/DynamicEntryPlugin.js
  85. 0 21
      node_modules.bak/webpack/lib/EntryModuleNotFoundError.js
  86. 0 46
      node_modules.bak/webpack/lib/EntryOptionPlugin.js
  87. 0 64
      node_modules.bak/webpack/lib/Entrypoint.js
  88. 0 72
      node_modules.bak/webpack/lib/EnvironmentPlugin.js
  89. 0 60
      node_modules.bak/webpack/lib/ErrorHelpers.js
  90. 0 27
      node_modules.bak/webpack/lib/EvalDevToolModulePlugin.js
  91. 0 61
      node_modules.bak/webpack/lib/EvalDevToolModuleTemplatePlugin.js
  92. 0 120
      node_modules.bak/webpack/lib/EvalSourceMapDevToolModuleTemplatePlugin.js
  93. 0 41
      node_modules.bak/webpack/lib/EvalSourceMapDevToolPlugin.js
  94. 0 53
      node_modules.bak/webpack/lib/ExportPropertyMainTemplatePlugin.js
  95. 0 88
      node_modules.bak/webpack/lib/ExtendedAPIPlugin.js
  96. 0 179
      node_modules.bak/webpack/lib/ExternalModule.js
  97. 0 110
      node_modules.bak/webpack/lib/ExternalModuleFactoryPlugin.js
  98. 0 23
      node_modules.bak/webpack/lib/ExternalsPlugin.js
  99. 0 38
      node_modules.bak/webpack/lib/FlagAllModulesAsUsedPlugin.js
  100. 0 0
      node_modules.bak/webpack/lib/FlagDependencyExportsPlugin.js

+ 0 - 1
node_modules.bak/watchpack-chokidar2/index.js

@@ -1 +0,0 @@
-module.exports = require("chokidar");

+ 0 - 60
node_modules.bak/watchpack-chokidar2/package.json

@@ -1,60 +0,0 @@
-{
-  "_from": "watchpack-chokidar2@^2.0.1",
-  "_id": "watchpack-chokidar2@2.0.1",
-  "_inBundle": false,
-  "_integrity": "sha1-OFAAcu5uzmbzdpk2lQ6hdxvhyVc=",
-  "_location": "/watchpack-chokidar2",
-  "_phantomChildren": {
-    "async-each": "1.0.3",
-    "bindings": "1.5.0",
-    "braces": "2.3.2",
-    "graceful-fs": "4.2.6",
-    "inherits": "2.0.4",
-    "is-extglob": "2.1.1",
-    "is-glob": "4.0.1",
-    "micromatch": "3.1.10",
-    "nan": "2.14.2",
-    "normalize-path": "3.0.0",
-    "path-dirname": "1.0.2",
-    "path-is-absolute": "1.0.1",
-    "readable-stream": "2.3.7",
-    "remove-trailing-separator": "1.1.0",
-    "upath": "1.2.0"
-  },
-  "_requested": {
-    "type": "range",
-    "registry": true,
-    "raw": "watchpack-chokidar2@^2.0.1",
-    "name": "watchpack-chokidar2",
-    "escapedName": "watchpack-chokidar2",
-    "rawSpec": "^2.0.1",
-    "saveSpec": null,
-    "fetchSpec": "^2.0.1"
-  },
-  "_requiredBy": [
-    "/watchpack"
-  ],
-  "_resolved": "https://registry.npm.taobao.org/watchpack-chokidar2/download/watchpack-chokidar2-2.0.1.tgz?cache=0&sync_timestamp=1604989128919&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fwatchpack-chokidar2%2Fdownload%2Fwatchpack-chokidar2-2.0.1.tgz",
-  "_shasum": "38500072ee6ece66f3769936950ea1771be1c957",
-  "_spec": "watchpack-chokidar2@^2.0.1",
-  "_where": "D:\\朗通信息\\icssDService\\node_modules\\watchpack",
-  "author": {
-    "name": "Tobias Koppers @sokra"
-  },
-  "bugs": {
-    "url": "https://github.com/webpack/watchpack/issues"
-  },
-  "bundleDependencies": false,
-  "dependencies": {
-    "chokidar": "^2.1.8"
-  },
-  "deprecated": false,
-  "homepage": "https://github.com/webpack/watchpack",
-  "license": "MIT",
-  "name": "watchpack-chokidar2",
-  "repository": {
-    "type": "git",
-    "url": "git+https://github.com/webpack/watchpack.git"
-  },
-  "version": "2.0.1"
-}

+ 0 - 20
node_modules.bak/watchpack/LICENSE

@@ -1,20 +0,0 @@
-Copyright JS Foundation and other contributors
-
-Permission is hereby granted, free of charge, to any person obtaining
-a copy of this software and associated documentation files (the
-'Software'), to deal in the Software without restriction, including
-without limitation the rights to use, copy, modify, merge, publish,
-distribute, sublicense, and/or sell copies of the Software, and to
-permit persons to whom the Software is furnished to do so, subject to
-the following conditions:
-
-The above copyright notice and this permission notice shall be
-included in all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
-EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
-IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
-CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
-TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
-SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

+ 0 - 72
node_modules.bak/watchpack/README.md

@@ -1,72 +0,0 @@
-# watchpack
-
-Wrapper library for directory and file watching.
-
-[![Build Status](https://travis-ci.org/webpack/watchpack.svg?branch=master)](https://travis-ci.org/webpack/watchpack) [![Build status](https://ci.appveyor.com/api/projects/status/e5u2qvmugtv0r647/branch/master?svg=true)](https://ci.appveyor.com/project/sokra/watchpack/branch/master) [![Test coverage][coveralls-image]][coveralls-url]
-
-## Concept
-
-watchpack high level API doesn't map directly to watchers. Instead a three level architecture ensures that for each directory only a single watcher exists.
-
-* The high level API requests `DirectoryWatchers` from a `WatcherManager`, which ensures that only a single `DirectoryWatcher` per directory is created.
-* A user-faced `Watcher` can be obtained from a `DirectoryWatcher` and provides a filtered view on the `DirectoryWatcher`.
-* Reference-counting is used on the `DirectoryWatcher` and `Watcher` to decide when to close them.
-* The real watchers (currently chokidar) are created by the `DirectoryWatcher`.
-* Files are never watched directly. This should keep the watcher count low.
-* Watching can be started in the past. This way watching can start after file reading.
-* Symlinks are not followed, instead the symlink is watched.
-
-## API
-
-``` javascript
-var Watchpack = require("watchpack");
-
-var wp = new Watchpack({
-	// options:
-	aggregateTimeout: 1000
-	// fire "aggregated" event when after a change for 1000ms no additional change occurred
-	// aggregated defaults to undefined, which doesn't fire an "aggregated" event
-
-	poll: true
-	// poll: true - use polling with the default interval
-	// poll: 10000 - use polling with an interval of 10s
-	// poll defaults to undefined, which prefer native watching methods
-	// Note: enable polling when watching on a network path
-
-	ignored: /node_modules/,
-	// anymatch-compatible definition of files/paths to be ignored
-	// see https://github.com/paulmillr/chokidar#path-filtering
-});
-
-// Watchpack.prototype.watch(string[] files, string[] directories, [number startTime])
-wp.watch(listOfFiles, listOfDirectories, Date.now() - 10000);
-// starts watching these files and directories
-// calling this again will override the files and directories
-
-wp.on("change", function(filePath, mtime) {
-	// filePath: the changed file
-	// mtime: last modified time for the changed file
-});
-
-wp.on("aggregated", function(changes) {
-	// changes: an array of all changed files
-});
-
-// Watchpack.prototype.pause()
-wp.pause();
-// stops emitting events, but keeps watchers open
-// next "watch" call can reuse the watchers
-
-// Watchpack.prototype.close()
-wp.close();
-// stops emitting events and closes all watchers
-
-// Watchpack.prototype.getTimes()
-var fileTimes = wp.getTimes();
-// returns an object with all know change times for files
-// this include timestamps from files not directly watched
-// key: absolute path, value: timestamp as number
-```
-
-[coveralls-url]: https://coveralls.io/r/webpack/watchpack/
-[coveralls-image]: https://img.shields.io/coveralls/webpack/watchpack.svg

+ 0 - 379
node_modules.bak/watchpack/lib/DirectoryWatcher.js

@@ -1,379 +0,0 @@
-/*
-	MIT License http://www.opensource.org/licenses/mit-license.php
-	Author Tobias Koppers @sokra
-*/
-"use strict";
-
-var EventEmitter = require("events").EventEmitter;
-var async = require("neo-async");
-var chokidar = require("./chokidar");
-var fs = require("graceful-fs");
-var path = require("path");
-
-var watcherManager = require("./watcherManager");
-
-var FS_ACCURACY = 1000;
-
-
-function withoutCase(str) {
-	return str.toLowerCase();
-}
-
-
-function Watcher(directoryWatcher, filePath, startTime) {
-	EventEmitter.call(this);
-	this.directoryWatcher = directoryWatcher;
-	this.path = filePath;
-	this.startTime = startTime && +startTime;
-	// TODO this.data seem to be only read, weird
-	this.data = 0;
-}
-
-Watcher.prototype = Object.create(EventEmitter.prototype);
-Watcher.prototype.constructor = Watcher;
-
-Watcher.prototype.checkStartTime = function checkStartTime(mtime, initial) {
-	if(typeof this.startTime !== "number") return !initial;
-	var startTime = this.startTime;
-	return startTime <= mtime;
-};
-
-Watcher.prototype.close = function close() {
-	this.emit("closed");
-};
-
-
-function DirectoryWatcher(directoryPath, options) {
-	EventEmitter.call(this);
-	this.options = options;
-	this.path = directoryPath;
-	this.files = Object.create(null);
-	this.directories = Object.create(null);
-	var interval = typeof options.poll === "number" ? options.poll : undefined;
-	this.watcher = chokidar.watch(directoryPath, {
-		ignoreInitial: true,
-		persistent: true,
-		followSymlinks: false,
-		depth: 0,
-		atomic: false,
-		alwaysStat: true,
-		ignorePermissionErrors: true,
-		ignored: options.ignored,
-		usePolling: options.poll ? true : undefined,
-		interval: interval,
-		binaryInterval: interval,
-		disableGlobbing: true
-	});
-	this.watcher.on("add", this.onFileAdded.bind(this));
-	this.watcher.on("addDir", this.onDirectoryAdded.bind(this));
-	this.watcher.on("change", this.onChange.bind(this));
-	this.watcher.on("unlink", this.onFileUnlinked.bind(this));
-	this.watcher.on("unlinkDir", this.onDirectoryUnlinked.bind(this));
-	this.watcher.on("error", this.onWatcherError.bind(this));
-	this.initialScan = true;
-	this.nestedWatching = false;
-	this.initialScanRemoved = [];
-	this.doInitialScan();
-	this.watchers = Object.create(null);
-	this.parentWatcher = null;
-	this.refs = 0;
-}
-module.exports = DirectoryWatcher;
-
-DirectoryWatcher.prototype = Object.create(EventEmitter.prototype);
-DirectoryWatcher.prototype.constructor = DirectoryWatcher;
-
-DirectoryWatcher.prototype.setFileTime = function setFileTime(filePath, mtime, initial, type) {
-	var now = Date.now();
-	var old = this.files[filePath];
-
-	this.files[filePath] = [initial ? Math.min(now, mtime) : now, mtime];
-
-	// we add the fs accuracy to reach the maximum possible mtime
-	if(mtime)
-		mtime = mtime + FS_ACCURACY;
-
-	if(!old) {
-		if(mtime) {
-			if(this.watchers[withoutCase(filePath)]) {
-				this.watchers[withoutCase(filePath)].forEach(function(w) {
-					if(!initial || w.checkStartTime(mtime, initial)) {
-						w.emit("change", mtime, initial ? "initial" : type);
-					}
-				});
-			}
-		}
-	} else if(!initial && mtime) {
-		if(this.watchers[withoutCase(filePath)]) {
-			this.watchers[withoutCase(filePath)].forEach(function(w) {
-				w.emit("change", mtime, type);
-			});
-		}
-	} else if(!initial && !mtime) {
-		if(this.watchers[withoutCase(filePath)]) {
-			this.watchers[withoutCase(filePath)].forEach(function(w) {
-				w.emit("remove", type);
-			});
-		}
-	}
-	if(this.watchers[withoutCase(this.path)]) {
-		this.watchers[withoutCase(this.path)].forEach(function(w) {
-			if(!initial || w.checkStartTime(mtime, initial)) {
-				w.emit("change", filePath, mtime, initial ? "initial" : type);
-			}
-		});
-	}
-};
-
-DirectoryWatcher.prototype.setDirectory = function setDirectory(directoryPath, exist, initial, type) {
-	if(directoryPath === this.path) {
-		if(!initial && this.watchers[withoutCase(this.path)]) {
-			this.watchers[withoutCase(this.path)].forEach(function(w) {
-				w.emit("change", directoryPath, w.data, initial ? "initial" : type);
-			});
-		}
-	} else {
-		var old = this.directories[directoryPath];
-		if(!old) {
-			if(exist) {
-				if(this.nestedWatching) {
-					this.createNestedWatcher(directoryPath);
-				} else {
-					this.directories[directoryPath] = true;
-				}
-				if(!initial && this.watchers[withoutCase(this.path)]) {
-					this.watchers[withoutCase(this.path)].forEach(function(w) {
-						w.emit("change", directoryPath, w.data, initial ? "initial" : type);
-					});
-				}
-				if(this.watchers[withoutCase(directoryPath) + "#directory"]) {
-					this.watchers[withoutCase(directoryPath) + "#directory"].forEach(function(w) {
-						w.emit("change", w.data, initial ? "initial" : type);
-					});
-				}
-			}
-		} else {
-			if(!exist) {
-				if(this.nestedWatching)
-					this.directories[directoryPath].close();
-				delete this.directories[directoryPath];
-				if(!initial && this.watchers[withoutCase(this.path)]) {
-					this.watchers[withoutCase(this.path)].forEach(function(w) {
-						w.emit("change", directoryPath, w.data, initial ? "initial" : type);
-					});
-				}
-				if(this.watchers[withoutCase(directoryPath) + "#directory"]) {
-					this.watchers[withoutCase(directoryPath) + "#directory"].forEach(function(w) {
-						w.emit("change", directoryPath, w.data, initial ? "initial" : type);
-					});
-				}
-			}
-		}
-	}
-};
-
-DirectoryWatcher.prototype.createNestedWatcher = function(directoryPath) {
-	this.directories[directoryPath] = watcherManager.watchDirectory(directoryPath, this.options, 1);
-	this.directories[directoryPath].on("change", function(filePath, mtime, type) {
-		if(this.watchers[withoutCase(this.path)]) {
-			this.watchers[withoutCase(this.path)].forEach(function(w) {
-				if(w.checkStartTime(mtime, false)) {
-					w.emit("change", filePath, mtime, type);
-				}
-			});
-		}
-	}.bind(this));
-};
-
-DirectoryWatcher.prototype.setNestedWatching = function(flag) {
-	if(this.nestedWatching !== !!flag) {
-		this.nestedWatching = !!flag;
-		if(this.nestedWatching) {
-			Object.keys(this.directories).forEach(function(directory) {
-				this.createNestedWatcher(directory);
-			}, this);
-		} else {
-			Object.keys(this.directories).forEach(function(directory) {
-				this.directories[directory].close();
-				this.directories[directory] = true;
-			}, this);
-		}
-	}
-};
-
-DirectoryWatcher.prototype.watch = function watch(filePath, startTime) {
-	this.watchers[withoutCase(filePath)] = this.watchers[withoutCase(filePath)] || [];
-	this.refs++;
-	var watcher = new Watcher(this, filePath, startTime);
-	watcher.on("closed", function() {
-		var idx = this.watchers[withoutCase(filePath)].indexOf(watcher);
-		this.watchers[withoutCase(filePath)].splice(idx, 1);
-		if(this.watchers[withoutCase(filePath)].length === 0) {
-			delete this.watchers[withoutCase(filePath)];
-			if(this.path === filePath)
-				this.setNestedWatching(false);
-		}
-		if(--this.refs <= 0)
-			this.close();
-	}.bind(this));
-	this.watchers[withoutCase(filePath)].push(watcher);
-	var data;
-	if(filePath === this.path) {
-		this.setNestedWatching(true);
-		data = false;
-		Object.keys(this.files).forEach(function(file) {
-			var d = this.files[file];
-			if(!data)
-				data = d;
-			else
-				data = [Math.max(data[0], d[0]), Math.max(data[1], d[1])];
-		}, this);
-	} else {
-		data = this.files[filePath];
-	}
-	process.nextTick(function() {
-		if(data) {
-			var ts = data[0] === data[1] ? data[0] + FS_ACCURACY : data[0];
-			if(ts >= startTime)
-				watcher.emit("change", data[1]);
-		} else if(this.initialScan && this.initialScanRemoved.indexOf(filePath) >= 0) {
-			watcher.emit("remove");
-		}
-	}.bind(this));
-	return watcher;
-};
-
-DirectoryWatcher.prototype.onFileAdded = function onFileAdded(filePath, stat) {
-	if(filePath.indexOf(this.path) !== 0) return;
-	if(/[\\\/]/.test(filePath.substr(this.path.length + 1))) return;
-
-	this.setFileTime(filePath, +stat.mtime || +stat.ctime || 1, false, "add");
-};
-
-DirectoryWatcher.prototype.onDirectoryAdded = function onDirectoryAdded(directoryPath /*, stat */) {
-	if(directoryPath.indexOf(this.path) !== 0) return;
-	if(/[\\\/]/.test(directoryPath.substr(this.path.length + 1))) return;
-	this.setDirectory(directoryPath, true, false, "add");
-};
-
-DirectoryWatcher.prototype.onChange = function onChange(filePath, stat) {
-	if(filePath.indexOf(this.path) !== 0) return;
-	if(/[\\\/]/.test(filePath.substr(this.path.length + 1))) return;
-	var mtime = +stat.mtime || +stat.ctime || 1;
-	ensureFsAccuracy(mtime);
-	this.setFileTime(filePath, mtime, false, "change");
-};
-
-DirectoryWatcher.prototype.onFileUnlinked = function onFileUnlinked(filePath) {
-	if(filePath.indexOf(this.path) !== 0) return;
-	if(/[\\\/]/.test(filePath.substr(this.path.length + 1))) return;
-	this.setFileTime(filePath, null, false, "unlink");
-	if(this.initialScan) {
-		this.initialScanRemoved.push(filePath);
-	}
-};
-
-DirectoryWatcher.prototype.onDirectoryUnlinked = function onDirectoryUnlinked(directoryPath) {
-	if(directoryPath.indexOf(this.path) !== 0) return;
-	if(/[\\\/]/.test(directoryPath.substr(this.path.length + 1))) return;
-	this.setDirectory(directoryPath, false, false, "unlink");
-	if(this.initialScan) {
-		this.initialScanRemoved.push(directoryPath);
-	}
-};
-
-DirectoryWatcher.prototype.onWatcherError = function onWatcherError(err) {
-	console.warn("Error from chokidar (" + this.path + "): " + err);
-};
-
-DirectoryWatcher.prototype.doInitialScan = function doInitialScan() {
-	fs.readdir(this.path, function(err, items) {
-		if(err) {
-			this.parentWatcher = watcherManager.watchFile(this.path + "#directory", this.options, 1);
-			this.parentWatcher.on("change", function(mtime, type) {
-				if(this.watchers[withoutCase(this.path)]) {
-					this.watchers[withoutCase(this.path)].forEach(function(w) {
-						w.emit("change", this.path, mtime, type);
-					}, this);
-				}
-			}.bind(this));
-			this.initialScan = false;
-			return;
-		}
-		async.forEach(items, function(item, callback) {
-			var itemPath = path.join(this.path, item);
-			fs.stat(itemPath, function(err2, stat) {
-				if(!this.initialScan) return;
-				if(err2) {
-					callback();
-					return;
-				}
-				if(stat.isFile()) {
-					if(!this.files[itemPath])
-						this.setFileTime(itemPath, +stat.mtime || +stat.ctime || 1, true);
-				} else if(stat.isDirectory()) {
-					if(!this.directories[itemPath])
-						this.setDirectory(itemPath, true, true);
-				}
-				callback();
-			}.bind(this));
-		}.bind(this), function() {
-			this.initialScan = false;
-			this.initialScanRemoved = null;
-		}.bind(this));
-	}.bind(this));
-};
-
-DirectoryWatcher.prototype.getTimes = function() {
-	var obj = Object.create(null);
-	var selfTime = 0;
-	Object.keys(this.files).forEach(function(file) {
-		var data = this.files[file];
-		var time;
-		if(data[1]) {
-			time = Math.max(data[0], data[1] + FS_ACCURACY);
-		} else {
-			time = data[0];
-		}
-		obj[file] = time;
-		if(time > selfTime)
-			selfTime = time;
-	}, this);
-	if(this.nestedWatching) {
-		Object.keys(this.directories).forEach(function(dir) {
-			var w = this.directories[dir];
-			var times = w.directoryWatcher.getTimes();
-			Object.keys(times).forEach(function(file) {
-				var time = times[file];
-				obj[file] = time;
-				if(time > selfTime)
-					selfTime = time;
-			});
-		}, this);
-		obj[this.path] = selfTime;
-	}
-	return obj;
-};
-
-DirectoryWatcher.prototype.close = function() {
-	this.initialScan = false;
-	var p = this.watcher.close();
-	if(p && p.catch) p.catch(this.onWatcherError.bind(this));
-	if(this.nestedWatching) {
-		Object.keys(this.directories).forEach(function(dir) {
-			this.directories[dir].close();
-		}, this);
-	}
-	if(this.parentWatcher) this.parentWatcher.close();
-	this.emit("closed");
-};
-
-function ensureFsAccuracy(mtime) {
-	if(!mtime) return;
-	if(FS_ACCURACY > 1 && mtime % 1 !== 0)
-		FS_ACCURACY = 1;
-	else if(FS_ACCURACY > 10 && mtime % 10 !== 0)
-		FS_ACCURACY = 10;
-	else if(FS_ACCURACY > 100 && mtime % 100 !== 0)
-		FS_ACCURACY = 100;
-}

+ 0 - 22
node_modules.bak/watchpack/lib/chokidar.js

@@ -1,22 +0,0 @@
-var v3Err;
-try {
-	module.exports = require("chokidar");
-	return;
-} catch(e) {
-	v3Err = e;
-}
-
-var v2Err;
-try {
-	module.exports = require("watchpack-chokidar2");
-	return;
-} catch(e) {
-	v2Err = e;
-}
-
-throw new Error(
-	"No version of chokidar is available. Tried chokidar@2 and chokidar@3.\n" +
-	"You could try to manually install any chokidar version.\n" +
-	"chokidar@3: " + v3Err + "\n" +
-	"chokidar@2: " + v2Err + "\n"
-)

+ 0 - 35
node_modules.bak/watchpack/lib/watcherManager.js

@@ -1,35 +0,0 @@
-/*
-	MIT License http://www.opensource.org/licenses/mit-license.php
-	Author Tobias Koppers @sokra
-*/
-"use strict";
-
-var path = require("path");
-
-function WatcherManager() {
-	this.directoryWatchers = {};
-}
-
-WatcherManager.prototype.getDirectoryWatcher = function(directory, options) {
-	var DirectoryWatcher = require("./DirectoryWatcher");
-	options = options || {};
-	var key = directory + " " + JSON.stringify(options);
-	if(!this.directoryWatchers[key]) {
-		this.directoryWatchers[key] = new DirectoryWatcher(directory, options);
-		this.directoryWatchers[key].on("closed", function() {
-			delete this.directoryWatchers[key];
-		}.bind(this));
-	}
-	return this.directoryWatchers[key];
-};
-
-WatcherManager.prototype.watchFile = function watchFile(p, options, startTime) {
-	var directory = path.dirname(p);
-	return this.getDirectoryWatcher(directory, options).watch(p, startTime);
-};
-
-WatcherManager.prototype.watchDirectory = function watchDirectory(directory, options, startTime) {
-	return this.getDirectoryWatcher(directory, options).watch(directory, startTime);
-};
-
-module.exports = new WatcherManager();

+ 0 - 145
node_modules.bak/watchpack/lib/watchpack.js

@@ -1,145 +0,0 @@
-/*
-	MIT License http://www.opensource.org/licenses/mit-license.php
-	Author Tobias Koppers @sokra
-*/
-"use strict";
-
-var watcherManager = require("./watcherManager");
-var EventEmitter = require("events").EventEmitter;
-
-function Watchpack(options) {
-	EventEmitter.call(this);
-	if(!options) options = {};
-	if(!options.aggregateTimeout) options.aggregateTimeout = 200;
-	this.options = options;
-	this.watcherOptions = {
-		ignored: options.ignored,
-		poll: options.poll
-	};
-	this.fileWatchers = [];
-	this.dirWatchers = [];
-	this.mtimes = Object.create(null);
-	this.paused = false;
-	this.aggregatedChanges = [];
-	this.aggregatedRemovals = [];
-	this.aggregateTimeout = 0;
-	this._onTimeout = this._onTimeout.bind(this);
-}
-
-module.exports = Watchpack;
-
-Watchpack.prototype = Object.create(EventEmitter.prototype);
-
-Watchpack.prototype.watch = function watch(files, directories, startTime) {
-	this.paused = false;
-	var oldFileWatchers = this.fileWatchers;
-	var oldDirWatchers = this.dirWatchers;
-	this.fileWatchers = files.map(function(file) {
-		return this._fileWatcher(file, watcherManager.watchFile(file, this.watcherOptions, startTime));
-	}, this);
-	this.dirWatchers = directories.map(function(dir) {
-		return this._dirWatcher(dir, watcherManager.watchDirectory(dir, this.watcherOptions, startTime));
-	}, this);
-	oldFileWatchers.forEach(function(w) {
-		w.close();
-	}, this);
-	oldDirWatchers.forEach(function(w) {
-		w.close();
-	}, this);
-};
-
-Watchpack.prototype.close = function resume() {
-	this.paused = true;
-	if(this.aggregateTimeout)
-		clearTimeout(this.aggregateTimeout);
-	this.fileWatchers.forEach(function(w) {
-		w.close();
-	}, this);
-	this.dirWatchers.forEach(function(w) {
-		w.close();
-	}, this);
-	this.fileWatchers.length = 0;
-	this.dirWatchers.length = 0;
-};
-
-Watchpack.prototype.pause = function pause() {
-	this.paused = true;
-	if(this.aggregateTimeout)
-		clearTimeout(this.aggregateTimeout);
-};
-
-function addWatchersToArray(watchers, array) {
-	watchers.forEach(function(w) {
-		if(array.indexOf(w.directoryWatcher) < 0) {
-			array.push(w.directoryWatcher);
-			addWatchersToArray(Object.keys(w.directoryWatcher.directories).reduce(function(a, dir) {
-				if(w.directoryWatcher.directories[dir] !== true)
-					a.push(w.directoryWatcher.directories[dir]);
-				return a;
-			}, []), array);
-		}
-	});
-}
-
-Watchpack.prototype.getTimes = function() {
-	var directoryWatchers = [];
-	addWatchersToArray(this.fileWatchers.concat(this.dirWatchers), directoryWatchers);
-	var obj = Object.create(null);
-	directoryWatchers.forEach(function(w) {
-		var times = w.getTimes();
-		Object.keys(times).forEach(function(file) {
-			obj[file] = times[file];
-		});
-	});
-	return obj;
-};
-
-Watchpack.prototype._fileWatcher = function _fileWatcher(file, watcher) {
-	watcher.on("change", function(mtime, type) {
-		this._onChange(file, mtime, file, type);
-	}.bind(this));
-	watcher.on("remove", function(type) {
-		this._onRemove(file, file, type);
-	}.bind(this));
-	return watcher;
-};
-
-Watchpack.prototype._dirWatcher = function _dirWatcher(item, watcher) {
-	watcher.on("change", function(file, mtime, type) {
-		this._onChange(item, mtime, file, type);
-	}.bind(this));
-	return watcher;
-};
-
-Watchpack.prototype._onChange = function _onChange(item, mtime, file) {
-	file = file || item;
-	this.mtimes[file] = mtime;
-	if(this.paused) return;
-	this.emit("change", file, mtime);
-	if(this.aggregateTimeout)
-		clearTimeout(this.aggregateTimeout);
-	if(this.aggregatedChanges.indexOf(item) < 0)
-		this.aggregatedChanges.push(item);
-	this.aggregateTimeout = setTimeout(this._onTimeout, this.options.aggregateTimeout);
-};
-
-Watchpack.prototype._onRemove = function _onRemove(item, file) {
-	file = file || item;
-	delete this.mtimes[item];
-	if(this.paused) return;
-	this.emit("remove", item);
-	if(this.aggregateTimeout)
-		clearTimeout(this.aggregateTimeout);
-	if(this.aggregatedRemovals.indexOf(item) < 0)
-		this.aggregatedRemovals.push(item);
-	this.aggregateTimeout = setTimeout(this._onTimeout, this.options.aggregateTimeout);
-};
-
-Watchpack.prototype._onTimeout = function _onTimeout() {
-	this.aggregateTimeout = 0;
-	var changes = this.aggregatedChanges;
-	var removals = this.aggregatedRemovals;
-	this.aggregatedChanges = [];
-	this.aggregatedRemovals = [];
-	this.emit("aggregated", changes, removals);
-};

+ 0 - 76
node_modules.bak/watchpack/package.json

@@ -1,76 +0,0 @@
-{
-  "_from": "watchpack@^1.7.4",
-  "_id": "watchpack@1.7.5",
-  "_inBundle": false,
-  "_integrity": "sha1-EmfmxV4Lm1vkTCAjrtVDeiwmxFM=",
-  "_location": "/watchpack",
-  "_phantomChildren": {},
-  "_requested": {
-    "type": "range",
-    "registry": true,
-    "raw": "watchpack@^1.7.4",
-    "name": "watchpack",
-    "escapedName": "watchpack",
-    "rawSpec": "^1.7.4",
-    "saveSpec": null,
-    "fetchSpec": "^1.7.4"
-  },
-  "_requiredBy": [
-    "/webpack"
-  ],
-  "_resolved": "https://registry.npm.taobao.org/watchpack/download/watchpack-1.7.5.tgz",
-  "_shasum": "1267e6c55e0b9b5be44c2023aed5437a2c26c453",
-  "_spec": "watchpack@^1.7.4",
-  "_where": "D:\\朗通信息\\icssDService\\node_modules\\webpack",
-  "author": {
-    "name": "Tobias Koppers @sokra"
-  },
-  "bugs": {
-    "url": "https://github.com/webpack/watchpack/issues"
-  },
-  "bundleDependencies": false,
-  "dependencies": {
-    "chokidar": "^3.4.1",
-    "graceful-fs": "^4.1.2",
-    "neo-async": "^2.5.0",
-    "watchpack-chokidar2": "^2.0.1"
-  },
-  "deprecated": false,
-  "description": "Wrapper library for directory and file watching.",
-  "devDependencies": {
-    "codecov.io": "^0.1.6",
-    "coveralls": "^3.0.0",
-    "eslint": "^4.18.1",
-    "istanbul": "^0.4.3",
-    "mocha": "^5.0.1",
-    "rimraf": "^2.6.2",
-    "should": "^8.3.1"
-  },
-  "directories": {
-    "test": "test"
-  },
-  "files": [
-    "lib/"
-  ],
-  "homepage": "https://github.com/webpack/watchpack",
-  "license": "MIT",
-  "main": "./lib/watchpack.js",
-  "name": "watchpack",
-  "optionalDependencies": {
-    "chokidar": "^3.4.1",
-    "watchpack-chokidar2": "^2.0.1"
-  },
-  "repository": {
-    "type": "git",
-    "url": "git+https://github.com/webpack/watchpack.git"
-  },
-  "scripts": {
-    "cover": "istanbul cover node_modules/mocha/bin/_mocha",
-    "lint": "eslint lib",
-    "precover": "npm run lint",
-    "pretest": "npm run lint",
-    "test": "mocha",
-    "travis": "npm run cover -- --report lcovonly"
-  },
-  "version": "1.7.5"
-}

+ 0 - 26
node_modules.bak/wbuf/README.md

@@ -1,26 +0,0 @@
-# wbuf
-
-#### LICENSE
-
-This software is licensed under the MIT License.
-
-Copyright Fedor Indutny, 2014.
-
-Permission is hereby granted, free of charge, to any person obtaining a
-copy of this software and associated documentation files (the
-"Software"), to deal in the Software without restriction, including
-without limitation the rights to use, copy, modify, merge, publish,
-distribute, sublicense, and/or sell copies of the Software, and to permit
-persons to whom the Software is furnished to do so, subject to the
-following conditions:
-
-The above copyright notice and this permission notice shall be included
-in all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
-OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN
-NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
-DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
-OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE
-USE OR OTHER DEALINGS IN THE SOFTWARE.

+ 0 - 425
node_modules.bak/wbuf/index.js

@@ -1,425 +0,0 @@
-var assert = require('minimalistic-assert');
-var Buffer = require('buffer').Buffer;
-
-function WBuf() {
-  this.buffers = [];
-  this.toReserve = 0;
-  this.size = 0;
-  this.maxSize = 0;
-  this.avail = 0;
-
-  this.last = null;
-  this.offset = 0;
-
-  // Used in slicing
-  this.sliceQueue = null;
-
-  this.forceReserve = false;
-
-  // Mostly a constant
-  this.reserveRate = 64;
-}
-module.exports = WBuf;
-
-WBuf.prototype.reserve = function reserve(n) {
-  this.toReserve += n;
-
-  // Force reservation of extra bytes
-  if (this.forceReserve)
-    this.toReserve = Math.max(this.toReserve, this.reserveRate);
-};
-
-WBuf.prototype._ensure = function _ensure(n) {
-  if (this.avail >= n)
-    return;
-
-  if (this.toReserve === 0)
-    this.toReserve = this.reserveRate;
-
-  this.toReserve = Math.max(n - this.avail, this.toReserve);
-
-  if (this.avail === 0)
-    this._next();
-};
-
-WBuf.prototype._next = function _next() {
-  var buf;
-  if (this.sliceQueue === null) {
-    // Most common case
-    buf = new Buffer(this.toReserve);
-  } else {
-    // Only for `.slice()` results
-    buf = this.sliceQueue.shift();
-    if (this.sliceQueue.length === 0)
-      this.sliceQueue = null;
-  }
-
-  this.toReserve = 0;
-
-  this.buffers.push(buf);
-  this.avail = buf.length;
-  this.offset = 0;
-  this.last = buf;
-};
-
-WBuf.prototype._rangeCheck = function _rangeCheck() {
-  if (this.maxSize !== 0 && this.size > this.maxSize)
-    throw new RangeError('WBuf overflow');
-};
-
-WBuf.prototype._move = function _move(n) {
-  this.size += n;
-  if (this.avail === 0)
-    this.last = null;
-
-  this._rangeCheck();
-};
-
-WBuf.prototype.slice = function slice(start, end) {
-  assert(0 <= start && start <= this.size);
-  assert(0 <= end && end <= this.size);
-
-  if (this.last === null)
-    this._next();
-
-  var res = new WBuf();
-
-  // Only last chunk is requested
-  if (start >= this.size - this.offset) {
-    res.buffers.push(this.last);
-    res.last = this.last;
-    res.offset = start - this.size + this.offset;
-    res.maxSize = end - start;
-    res.avail = res.maxSize;
-
-    return res;
-  }
-
-  var startIndex = -1;
-  var startOffset = 0;
-  var endIndex = -1;
-
-  // Find buffer indices
-  var offset = 0;
-  for (var i = 0; i < this.buffers.length; i++) {
-    var buf = this.buffers[i];
-    var next = offset + buf.length;
-
-    // Found the start
-    if (start >= offset && start <= next) {
-      startIndex = i;
-      startOffset = start - offset;
-      if (endIndex !== -1)
-        break;
-    }
-    if (end >= offset && end <= next) {
-      endIndex = i;
-      if (startIndex !== -1)
-        break;
-    }
-
-    offset = next;
-  }
-
-  res.last = this.buffers[startIndex];
-  res.offset = startOffset;
-  res.maxSize = end - start;
-
-  // Multi-buffer slice
-  if (startIndex < endIndex) {
-    res.sliceQueue = this.buffers.slice(startIndex + 1, endIndex + 1);
-
-    res.last = res.last.slice(res.offset);
-    res.offset = 0;
-  }
-
-  res.avail = res.last.length - res.offset;
-  res.buffers.push(res.last);
-
-  return res;
-};
-
-WBuf.prototype.skip = function skip(n) {
-  if (n === 0)
-    return this.slice(this.size, this.size);
-
-  this._ensure(n);
-
-  var left = n;
-  while (left > 0) {
-    var toSkip = Math.min(left, this.avail);
-    left -= toSkip;
-    this.size += toSkip;
-    if (toSkip === this.avail) {
-      if (left !== 0) {
-        this._next();
-      } else {
-        this.avail -= toSkip;
-        this.offset += toSkip;
-      }
-    } else {
-      this.offset += toSkip;
-      this.avail -= toSkip;
-    }
-  }
-
-  this._rangeCheck();
-
-  return this.slice(this.size - n, this.size);
-};
-
-WBuf.prototype.write = function write(str) {
-  var len = 0;
-  for (var i = 0; i < str.length; i++) {
-    var c = str.charCodeAt(i);
-    if (c > 255)
-      len += 2;
-    else
-      len += 1;
-  }
-  this.reserve(len);
-  for (var i = 0; i < str.length; i++) {
-    var c = str.charCodeAt(i);
-    var hi = c >>> 8;
-    var lo = c & 0xff;
-
-    if (hi)
-      this.writeUInt8(hi);
-    this.writeUInt8(lo);
-  }
-};
-
-WBuf.prototype.copyFrom = function copyFrom(buf, start, end) {
-  var off = start === undefined ? 0 : start;
-  var len = end === undefined ? buf.length : end;
-  if (off === len)
-    return;
-
-  this._ensure(len - off);
-  while (off < len) {
-    var toCopy = Math.min(len - off, this.avail);
-    buf.copy(this.last, this.offset, off, off + toCopy);
-    off += toCopy;
-    this.size += toCopy;
-    if (toCopy === this.avail) {
-      if (off !== len) {
-        this._next();
-      } else {
-        this.avail = 0;
-        this.offset += toCopy;
-      }
-    } else {
-      this.offset += toCopy;
-      this.avail -= toCopy;
-    }
-  }
-
-  this._rangeCheck();
-};
-
-WBuf.prototype.writeUInt8 = function writeUInt8(v) {
-  this._ensure(1);
-
-  this.last[this.offset++] = v;
-  this.avail--;
-  this._move(1);
-};
-
-WBuf.prototype.writeUInt16BE = function writeUInt16BE(v) {
-  this._ensure(2);
-
-  // Fast case - everything fits into the last buffer
-  if (this.avail >= 2) {
-    this.last.writeUInt16BE(v, this.offset);
-    this.offset += 2;
-    this.avail -= 2;
-
-  // One byte here, one byte there
-  } else {
-    this.last[this.offset] = (v >>> 8);
-    this._next();
-    this.last[this.offset++] = v & 0xff;
-    this.avail--;
-  }
-
-  this._move(2);
-};
-
-WBuf.prototype.writeUInt24BE = function writeUInt24BE(v) {
-  this._ensure(3);
-
-  // Fast case - everything fits into the last buffer
-  if (this.avail >= 3) {
-    this.last.writeUInt16BE(v >>> 8, this.offset);
-    this.last[this.offset + 2] = v & 0xff;
-    this.offset += 3;
-    this.avail -= 3;
-    this._move(3);
-
-  // Two bytes here
-  } else if (this.avail >= 2) {
-    this.last.writeUInt16BE(v >>> 8, this.offset);
-    this._next();
-    this.last[this.offset++] = v & 0xff;
-    this.avail--;
-    this._move(3);
-
-  // Just one byte here
-  } else {
-    this.last[this.offset] = v >>> 16;
-    this._move(1);
-    this._next();
-    this.writeUInt16BE(v & 0xffff);
-  }
-};
-
-WBuf.prototype.writeUInt32BE = function writeUInt32BE(v) {
-  this._ensure(4);
-
-  // Fast case - everything fits into the last buffer
-  if (this.avail >= 4) {
-    this.last.writeUInt32BE(v, this.offset);
-    this.offset += 4;
-    this.avail -= 4;
-    this._move(4);
-
-  // Three bytes here
-  } else if (this.avail >= 3) {
-    this.writeUInt24BE(v >>> 8);
-    this._next();
-    this.last[this.offset++] = v & 0xff;
-    this.avail--;
-    this._move(1);
-
-  // Slow case, who cares
-  } else {
-    this.writeUInt16BE(v >>> 16);
-    this.writeUInt16BE(v & 0xffff);
-  }
-};
-
-WBuf.prototype.writeUInt16LE = function writeUInt16LE(num) {
-  var r = ((num & 0xff) << 8) | (num >>> 8);
-  this.writeUInt16BE(r);
-};
-
-WBuf.prototype.writeUInt24LE = function writeUInt24LE(num) {
-  var r = ((num & 0xff) << 16) | (((num >>> 8) & 0xff) << 8) | (num >>> 16);
-  this.writeUInt24BE(r);
-};
-
-WBuf.prototype.writeUInt32LE = function writeUInt32LE(num) {
-  this._ensure(4);
-
-  // Fast case - everything fits into the last buffer
-  if (this.avail >= 4) {
-    this.last.writeUInt32LE(num, this.offset);
-    this.offset += 4;
-    this.avail -= 4;
-    this._move(4);
-
-  // Three bytes here
-  } else if (this.avail >= 3) {
-    this.writeUInt24LE(num & 0xffffff);
-    this._next();
-    this.last[this.offset++] = num >>> 24;
-    this.avail--;
-    this._move(1);
-
-  // Slow case, who cares
-  } else {
-    this.writeUInt16LE(num & 0xffff);
-    this.writeUInt16LE(num >>> 16);
-  }
-};
-
-WBuf.prototype.render = function render() {
-  var left = this.size;
-  var out = [];
-
-  for (var i = 0; i < this.buffers.length && left >= 0; i++) {
-    var buf = this.buffers[i];
-    left -= buf.length;
-    if (left >= 0) {
-      out.push(buf);
-    } else {
-      out.push(buf.slice(0, buf.length + left));
-    }
-  }
-
-  return out;
-};
-
-// Signed APIs
-WBuf.prototype.writeInt8 = function writeInt8(num) {
-  if (num < 0)
-    return this.writeUInt8(0x100 + num);
-  else
-    return this.writeUInt8(num);
-};
-
-function toUnsigned16(num) {
-  if (num < 0)
-    return 0x10000 + num;
-  else
-    return num;
-}
-
-WBuf.prototype.writeInt16LE = function writeInt16LE(num) {
-  this.writeUInt16LE(toUnsigned16(num));
-};
-
-WBuf.prototype.writeInt16BE = function writeInt16BE(num) {
-  this.writeUInt16BE(toUnsigned16(num));
-};
-
-function toUnsigned24(num) {
-  if (num < 0)
-    return 0x1000000 + num;
-  else
-    return num;
-}
-
-WBuf.prototype.writeInt24LE = function writeInt24LE(num) {
-  this.writeUInt24LE(toUnsigned24(num));
-};
-
-WBuf.prototype.writeInt24BE = function writeInt24BE(num) {
-  this.writeUInt24BE(toUnsigned24(num));
-};
-
-function toUnsigned32(num) {
-  if (num < 0)
-    return (0xffffffff + num) + 1;
-  else
-    return num;
-}
-
-WBuf.prototype.writeInt32LE = function writeInt32LE(num) {
-  this.writeUInt32LE(toUnsigned32(num));
-};
-
-WBuf.prototype.writeInt32BE = function writeInt32BE(num) {
-  this.writeUInt32BE(toUnsigned32(num));
-};
-
-WBuf.prototype.writeComb = function writeComb(size, endian, value) {
-  if (size === 1)
-    return this.writeUInt8(value);
-
-  if (endian === 'le') {
-    if (size === 2)
-      this.writeUInt16LE(value);
-    else if (size === 3)
-      this.writeUInt24LE(value);
-    else if (size === 4)
-      this.writeUInt32LE(value);
-  } else {
-    if (size === 2)
-      this.writeUInt16BE(value);
-    else if (size === 3)
-      this.writeUInt24BE(value);
-    else if (size === 4)
-      this.writeUInt32BE(value);
-  }
-};

+ 0 - 58
node_modules.bak/wbuf/package.json

@@ -1,58 +0,0 @@
-{
-  "_from": "wbuf@^1.7.3",
-  "_id": "wbuf@1.7.3",
-  "_inBundle": false,
-  "_integrity": "sha1-wdjRSTFtPqhShIiVy2oL/oh7h98=",
-  "_location": "/wbuf",
-  "_phantomChildren": {},
-  "_requested": {
-    "type": "range",
-    "registry": true,
-    "raw": "wbuf@^1.7.3",
-    "name": "wbuf",
-    "escapedName": "wbuf",
-    "rawSpec": "^1.7.3",
-    "saveSpec": null,
-    "fetchSpec": "^1.7.3"
-  },
-  "_requiredBy": [
-    "/hpack.js",
-    "/spdy-transport"
-  ],
-  "_resolved": "https://registry.npm.taobao.org/wbuf/download/wbuf-1.7.3.tgz",
-  "_shasum": "c1d8d149316d3ea852848895cb6a0bfe887b87df",
-  "_spec": "wbuf@^1.7.3",
-  "_where": "D:\\朗通信息\\icssDService\\node_modules\\spdy-transport",
-  "author": {
-    "name": "Fedor Indutny",
-    "email": "fedor@indutny.com"
-  },
-  "bugs": {
-    "url": "https://github.com/indutny/wbuf/issues"
-  },
-  "bundleDependencies": false,
-  "dependencies": {
-    "minimalistic-assert": "^1.0.0"
-  },
-  "deprecated": false,
-  "description": "Write buffer",
-  "devDependencies": {
-    "mocha": "^5.0.4"
-  },
-  "homepage": "https://github.com/indutny/wbuf",
-  "keywords": [
-    "Write",
-    "Buffer"
-  ],
-  "license": "MIT",
-  "main": "index.js",
-  "name": "wbuf",
-  "repository": {
-    "type": "git",
-    "url": "git+ssh://git@github.com/indutny/wbuf.git"
-  },
-  "scripts": {
-    "test": "mocha test/**/*-test.js"
-  },
-  "version": "1.7.3"
-}

+ 0 - 357
node_modules.bak/wbuf/test/wbuf-test.js

@@ -1,357 +0,0 @@
-var assert = require('assert');
-var WriteBuffer = require('../');
-
-describe('WriteBuffer', function() {
-  var w;
-  beforeEach(function() {
-    w = new WriteBuffer();
-  });
-
-  function join(arr) {
-    return arr.map(function(buf) {
-      return buf.toString('hex');
-    }).join('');
-  }
-
-  describe('.writeUInt8', function() {
-    it('should write bytes', function() {
-      w.writeUInt8(1);
-      w.writeUInt8(2);
-      w.writeUInt8(3);
-      w.writeUInt8(4);
-      assert.equal(join(w.render()), '01020304');
-    });
-
-    it('should correctly handle overflow', function() {
-      w.reserve(3);
-      w.writeUInt8(1);
-      w.writeUInt8(2);
-      w.writeUInt8(3);
-      w.writeUInt8(4);
-      assert.equal(join(w.render()), '01020304');
-    });
-  });
-
-  describe('.writeInt8', function() {
-    it('should write bytes', function() {
-      w.writeInt8(-1);
-      w.writeInt8(2);
-      assert.equal(join(w.render()), 'ff02');
-    });
-  });
-
-  describe('.writeUInt16BE', function() {
-    it('should write bytes', function() {
-      w.writeUInt16BE(0x0102);
-      w.writeUInt16BE(0x0304);
-      assert.equal(join(w.render()), '01020304');
-    });
-
-    it('should correctly handle overflow', function() {
-      w.reserve(2);
-      w.reserve(3);
-      w.writeUInt16BE(0x0102);
-      w.writeUInt16BE(0x0304);
-      w.writeUInt16BE(0x0506);
-      assert.equal(join(w.render()), '010203040506');
-    });
-  });
-
-  describe('.writeInt16BE', function() {
-    it('should write bytes', function() {
-      w.writeInt16BE(-0x0102);
-      w.writeInt16BE(0x0304);
-      assert.equal(join(w.render()), 'fefe0304');
-    });
-  });
-
-  describe('.writeUInt16LE', function() {
-    it('should write bytes', function() {
-      w.writeUInt16LE(0x0102);
-      w.writeUInt16LE(0x0304);
-      assert.equal(join(w.render()), '02010403');
-    });
-
-    it('should correctly handle overflow', function() {
-      w.reserve(2);
-      w.reserve(3);
-      w.writeUInt16LE(0x0102);
-      w.writeUInt16LE(0x0304);
-      w.writeUInt16LE(0x0506);
-      assert.equal(join(w.render()), '020104030605');
-    });
-  });
-
-  describe('.writeInt16LE', function() {
-    it('should write bytes', function() {
-      w.writeInt16LE(-0x0201);
-      w.writeInt16LE(0x0304);
-      assert.equal(join(w.render()), 'fffd0403');
-    });
-  });
-
-  describe('.writeUInt24BE', function() {
-    it('should write bytes', function() {
-      w.writeUInt24BE(0x010203);
-      w.writeUInt24BE(0x040506);
-      assert.equal(join(w.render()), '010203040506');
-    });
-
-    it('should correctly set avail on boundary', function() {
-      w = new WriteBuffer();
-      w.reserveRate = 4;
-      w.writeUInt16BE(1);
-      w.writeUInt24BE(1);
-      assert.equal(w.avail, 3);
-    });
-  });
-
-  describe('.writeInt24BE', function() {
-    it('should write bytes', function() {
-      w.writeInt24BE(-0x010203);
-      w.writeInt24BE(0x040506);
-      assert.equal(join(w.render()), 'fefdfd040506');
-    });
-  });
-
-  describe('.writeUInt24LE', function() {
-    it('should write bytes', function() {
-      w.writeUInt24LE(0x010203);
-      w.writeUInt24LE(0x040506);
-      assert.equal(join(w.render()), '030201060504');
-    });
-  });
-
-  describe('.writeInt24LE', function() {
-    it('should write bytes', function() {
-      w.writeInt24LE(-0x010203);
-      w.writeInt24LE(0x040506);
-      assert.equal(join(w.render()), 'fdfdfe060504');
-    });
-  });
-
-  describe('.writeUInt32BE', function() {
-    it('should write bytes', function() {
-      w.writeUInt32BE(0x01020304);
-      w.writeUInt32BE(0x05060708);
-      assert.equal(join(w.render()), '0102030405060708');
-    });
-
-    it('should write bytes on the boundary', function() {
-      w.reserve(4);
-      w.writeUInt8(0x00);
-      w.writeUInt32BE(0x01020304);
-      assert.equal(join(w.render()), '0001020304');
-    });
-  });
-
-  describe('.writeInt32BE', function() {
-    it('should write bytes', function() {
-      w.writeInt32BE(-0x01020304);
-      w.writeInt32BE(0x05060708);
-      assert.equal(join(w.render()), 'fefdfcfc05060708');
-    });
-  });
-
-  describe('.writeUInt32LE', function() {
-    it('should write bytes', function() {
-      w.writeUInt32LE(0x01020304);
-      w.writeUInt32LE(0x05060708);
-      assert.equal(join(w.render()), '0403020108070605');
-    });
-
-    it('should write max uint32 value', function() {
-      w.writeUInt32LE(0xffffffff);
-      assert.equal(join(w.render()), 'ffffffff');
-    });
-  });
-
-  describe('.combWrite', function() {
-    it('should write bytes', function() {
-      w.writeComb(1, 'le', 0x01);
-      w.writeComb(1, 'be', 0x02);
-      w.writeComb(2, 'le', 0x0102);
-      w.writeComb(2, 'be', 0x0304);
-      w.writeComb(3, 'le', 0x010203);
-      w.writeComb(3, 'be', 0x040506);
-      w.writeComb(4, 'le', 0x01020304);
-      w.writeComb(4, 'be', 0x05060708);
-      assert.equal(join(w.render()),
-                   '0102020103040302010405060403020105060708');
-    });
-
-    it('should write max uint32 value', function() {
-      w.writeUInt32LE(0xffffffff);
-      assert.equal(join(w.render()), 'ffffffff');
-    });
-  });
-
-  describe('.writeInt32LE', function() {
-    it('should write bytes', function() {
-      w.writeInt32LE(-0x01020304);
-      w.writeInt32LE(0x05060708);
-      assert.equal(join(w.render()), 'fcfcfdfe08070605');
-    });
-  });
-
-  describe('.skip', function() {
-    it('should skip bytes', function() {
-      w.skip(4);
-      w.writeUInt32BE(0xdeadbeef);
-      assert(/^.{8}deadbeef$/.test(join(w.render())));
-    });
-
-    it('should skip 0 bytes', function() {
-      var skip = w.skip(0);
-      assert.equal(skip.size, 0);
-      w.writeUInt32BE(0xdeadbeef);
-      assert(/^deadbeef$/.test(join(w.render())));
-    });
-
-    it('should skip bytes on the boundary', function() {
-      w.reserve(4);
-      w.writeUInt8(0x01);
-      var skip = w.skip(4);
-      w.writeUInt32BE(0xdeadbeef);
-      skip.writeUInt32BE(0xabbabaab);
-      assert(/^01abbabaabdeadbeef$/.test(join(w.render())));
-    });
-
-    it('should skip bytes on the boundary in two chunks', function() {
-      w.reserve(4);
-      var skip1 = w.skip(2);
-      var skip2 = w.skip(2);
-      w.writeUInt32BE(0xdeadbeef);
-      skip1.writeUInt16BE(0xabba);
-      skip2.writeUInt16BE(0xbaba);
-      assert(/^abbababadeadbeef$/.test(join(w.render())));
-    });
-  });
-
-  describe('.slice', function() {
-    it('should return empty slice', function() {
-      w.writeUInt32BE(0xabbadead);
-      assert.equal(join(w.slice(4, 4).render()), '');
-      assert.equal(join(w.render()), 'abbadead');
-    });
-
-    it('should return full slice', function() {
-      w.writeUInt32BE(0xabbadead);
-      var slice = w.slice(0, 4);
-      slice.writeUInt32BE(0xdeadbeef);
-      assert.equal(join(slice.render()), 'deadbeef');
-      assert.equal(join(w.render()), 'deadbeef');
-    });
-
-    it('should return partial slice', function() {
-      w.writeUInt32BE(0xabbadead);
-      var slice = w.slice(0, 3);
-      slice.writeUInt24BE(0xdeadbe);
-      assert.equal(join(slice.render()), 'deadbe');
-      assert.equal(join(w.render()), 'deadbead');
-    });
-
-    it('should return over-the-boundary slice', function() {
-      for (var i = 0; i < 16; i++) {
-        w.reserve(3);
-        w.writeUInt24BE(i);
-      }
-      assert.equal(join(w.render()),
-                   '000000000001000002000003000004000005000006000007' +
-                       '00000800000900000a00000b00000c00000d00000e00000f');
-
-      var slice = w.slice(5, 12);
-      slice.writeUInt24BE(0xaaabac);
-      slice.writeUInt24BE(0xbabbbc);
-      slice.writeUInt8(0xcc);
-
-      assert.equal(join(slice.render()), 'aaabacbabbbccc');
-      assert.equal(join(w.render()),
-                   '0000000000aaabacbabbbccc000004000005000006000007' +
-                       '00000800000900000a00000b00000c00000d00000e00000f');
-    });
-  });
-
-  describe('.copyFrom', function() {
-    it('should copy bytes', function() {
-      var tmp = new Buffer(128);
-      for (var i = 0; i < tmp.length; i++)
-        tmp[i] = i;
-      w.writeUInt32BE(0xdeadbeef);
-      w.copyFrom(tmp);
-      w.writeUInt32BE(0xabbadead);
-
-      assert.equal(
-        join(w.render()),
-        'deadbeef000102030405060708090a0b0c0d0e0f101112131415161718191a1b' +
-        '1c1d1e1f202122232425262728292a2b2c2d2e2f303132333435363738393a3b' +
-        '3c3d3e3f404142434445464748494a4b4c4d4e4f505152535455565758595a5b' +
-        '5c5d5e5f606162636465666768696a6b6c6d6e6f707172737475767778797a7b' +
-        '7c7d7e7fabbadead');
-    });
-
-    it('should copy bytes using offset', function() {
-      var tmp = new Buffer(128);
-      for (var i = 0; i < tmp.length; i++)
-        tmp[i] = i;
-      w.writeUInt32BE(0xdeadbeef);
-      w.copyFrom(tmp, 10, 12);
-      w.writeUInt32BE(0xabbadead);
-
-      assert.equal(
-        join(w.render()),
-        'deadbeef0a0babbadead');
-    });
-  });
-
-  describe('.write', function() {
-    it('should write utf8 string', function() {
-      w.writeUInt32BE(0xdeadbeef);
-      w.write('ohai\u1023');
-      w.writeUInt32BE(0xabbadead);
-
-      assert.equal(
-        join(w.render()),
-        'deadbeef' +
-            '6f6861691023' +
-            'abbadead');
-    });
-
-    it('should copy bytes using offset', function() {
-      var tmp = new Buffer(128);
-      for (var i = 0; i < tmp.length; i++)
-        tmp[i] = i;
-      w.writeUInt32BE(0xdeadbeef);
-      w.copyFrom(tmp, 10, 12);
-      w.writeUInt32BE(0xabbadead);
-
-      assert.equal(
-        join(w.render()),
-        'deadbeef0a0babbadead');
-    });
-  });
-
-  describe('.skip', function() {
-    it('should copy bytes', function() {
-      w.reserve(5);
-      var h = w.skip(4);
-      w.writeUInt32BE(0xabbadead);
-      h.writeUInt32BE(0xdeadbeef);
-
-      assert.equal(
-        join(w.render()),
-        'deadbeefabbadead');
-    });
-  });
-
-  describe('.forceReserve = true', function() {
-    it('should allocate more bytes', function() {
-      w.forceReserve = true;
-      w.reserve(4);
-      w.writeUInt32BE(0xabbadead);
-      w.writeUInt32BE(0xabbadead);
-
-      assert.equal(w.render().length, 1);
-    });
-  });
-});

+ 0 - 20
node_modules.bak/webpack/LICENSE

@@ -1,20 +0,0 @@
-Copyright JS Foundation and other contributors
-
-Permission is hereby granted, free of charge, to any person obtaining
-a copy of this software and associated documentation files (the
-'Software'), to deal in the Software without restriction, including
-without limitation the rights to use, copy, modify, merge, publish,
-distribute, sublicense, and/or sell copies of the Software, and to
-permit persons to whom the Software is furnished to do so, subject to
-the following conditions:
-
-The above copyright notice and this permission notice shall be
-included in all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
-EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
-IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
-CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
-TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
-SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

+ 0 - 784
node_modules.bak/webpack/README.md

@@ -1,784 +0,0 @@
-<div align="center">
-  <a href="https://github.com/webpack/webpack">
-    <img width="200" height="200" src="https://webpack.js.org/assets/icon-square-big.svg">
-  </a>
-  <br>
-  <br>
-
-[![npm][npm]][npm-url]
-
-[![node][node]][node-url]
-[![deps][deps]][deps-url]
-[![tests][tests]][tests-url]
-[![builds][builds]][builds-url]
-[![builds2][builds2]][builds2-url]
-[![coverage][cover]][cover-url]
-[![licenses][licenses]][licenses-url]
-[![PR's welcome][prs]][prs-url]
-
-  <br>
-  <a href="https://dependabot.com/compatibility-score.html?dependency-name=webpack&package-manager=npm_and_yarn&new-version=latest">
-    <img src="https://api.dependabot.com/badges/compatibility_score?dependency-name=webpack&package-manager=npm_and_yarn&version-scheme=semver&target-version=latest">
-  </a>
-	<a href="https://npmcharts.com/compare/webpack?minimal=true">
-		<img src="https://img.shields.io/npm/dm/webpack.svg">
-	</a>
-	<a href="https://packagephobia.now.sh/result?p=webpack">
-		<img src="https://packagephobia.now.sh/badge?p=webpack" alt="install size">
-	</a>
-	<a href="https://opencollective.com/webpack#backer">
-		<img src="https://opencollective.com/webpack/backers/badge.svg">
-	</a>
-	<a href="https://opencollective.com/webpack#sponsors">
-		<img src="https://opencollective.com/webpack/sponsors/badge.svg">
-	</a>
-	<a href="https://github.com/webpack/webpack/graphs/contributors">
-		<img src="https://img.shields.io/github/contributors/webpack/webpack.svg">
-	</a>
-	<a href="https://gitter.im/webpack/webpack">
-		<img src="https://badges.gitter.im/webpack/webpack.svg">
-	</a>
-  <h1>webpack</h1>
-  <p>
-    webpack is a module bundler. Its main purpose is to bundle JavaScript files for usage in a browser, yet it is also capable of transforming, bundling, or packaging just about any resource or asset.
-  </p>
-</div>
-
-## Table of Contents
-
-1. [Install](#install)
-2. [Introduction](#introduction)
-3. [Concepts](#concepts)
-4. [Contributing](#contributing)
-5. [Support](#support)
-6. [Core Team](#core-team)
-7. [Sponsoring](#sponsoring)
-8. [Premium Partners](#premium-partners)
-9. [Other Backers and Sponsors](#other-backers-and-sponsors)
-10. [Gold Sponsors](#gold-sponsors)
-11. [Silver Sponsors](#silver-sponsors)
-12. [Bronze Sponsors](#bronze-sponsors)
-13. [Backers](#backers)
-14. [Special Thanks](#special-thanks-to)
-
-<h2 align="center">Install</h2>
-
-Install with npm:
-
-```bash
-npm install --save-dev webpack
-```
-
-Install with yarn:
-
-```bash
-yarn add webpack --dev
-```
-
-<h2 align="center">Introduction</h2>
-
-webpack is a bundler for modules. The main purpose is to bundle JavaScript
-files for usage in a browser, yet it is also capable of transforming, bundling,
-or packaging just about any resource or asset.
-
-**TL;DR**
-
-* Bundles [ES Modules](http://www.2ality.com/2014/09/es6-modules-final.html), [CommonJS](http://wiki.commonjs.org/), and [AMD](https://github.com/amdjs/amdjs-api/wiki/AMD) modules (even combined).
-* Can create a single bundle or multiple chunks that are asynchronously loaded at runtime (to reduce initial loading time).
-* Dependencies are resolved during compilation, reducing the runtime size.
-* Loaders can preprocess files while compiling, e.g. TypeScript to JavaScript, Handlebars strings to compiled functions, images to Base64, etc.
-* Highly modular plugin system to do whatever else your application requires.
-
-### Get Started
-
-Check out webpack's quick [**Get Started**](https://webpack.js.org/guides/getting-started) guide and the [other guides](https://webpack.js.org/guides/).
-
-### Browser Compatibility
-
-webpack supports all browsers that are [ES5-compliant](http://kangax.github.io/compat-table/es5/) (IE8 and below are not supported).
-webpack also needs `Promise` for `import()` and `require.ensure()`. If you want to support older browsers, you will need to [load a polyfill](https://webpack.js.org/guides/shimming/) before using these expressions.
-
-<h2 align="center">Concepts</h2>
-
-### [Plugins](https://webpack.js.org/plugins/)
-
-webpack has a [rich plugin
-interface](https://webpack.js.org/plugins/). Most of the features
-within webpack itself use this plugin interface. This makes webpack very
-**flexible**.
-
-|Name|Status|Install Size|Description|
-|:--:|:----:|:----------:|:----------|
-|[mini-css-extract-plugin][mini-css]|![mini-css-npm]|![mini-css-size]|Extracts CSS into separate files. It creates a CSS file per JS file which contains CSS.|
-|[compression-webpack-plugin][compression]|![compression-npm]|![compression-size]|Prepares compressed versions of assets to serve them with Content-Encoding|
-|[i18n-webpack-plugin][i18n]|![i18n-npm]|![i18n-size]|Adds i18n support to your bundles|
-|[html-webpack-plugin][html-plugin]|![html-plugin-npm]|![html-plugin-size]| Simplifies creation of HTML files (`index.html`) to serve your bundles|
-|[extract-text-webpack-plugin][extract]|![extract-npm]|![extract-size]|Extract text from a bundle, or bundles, into a separate file|
-
-[common-npm]: https://img.shields.io/npm/v/webpack.svg
-[extract]: https://github.com/webpack/extract-text-webpack-plugin
-[extract-npm]: https://img.shields.io/npm/v/extract-text-webpack-plugin.svg
-[extract-size]: https://packagephobia.now.sh/badge?p=extract-text-webpack-plugin
-[mini-css]: https://github.com/webpack-contrib/mini-css-extract-plugin
-[mini-css-npm]: https://img.shields.io/npm/v/mini-css-extract-plugin.svg
-[mini-css-size]: https://packagephobia.now.sh/badge?p=mini-css-extract-plugin
-[component]: https://github.com/webpack/component-webpack-plugin
-[component-npm]: https://img.shields.io/npm/v/component-webpack-plugin.svg
-[component-size]: https://packagephobia.now.sh/badge?p=component-webpack-plugin
-[compression]: https://github.com/webpack/compression-webpack-plugin
-[compression-npm]: https://img.shields.io/npm/v/compression-webpack-plugin.svg
-[compression-size]: https://packagephobia.now.sh/badge?p=compression-webpack-plugin
-[i18n]: https://github.com/webpack/i18n-webpack-plugin
-[i18n-npm]: https://img.shields.io/npm/v/i18n-webpack-plugin.svg
-[i18n-size]: https://packagephobia.now.sh/badge?p=i18n-webpack-plugin
-[html-plugin]: https://github.com/ampedandwired/html-webpack-plugin
-[html-plugin-npm]: https://img.shields.io/npm/v/html-webpack-plugin.svg
-[html-plugin-size]: https://packagephobia.now.sh/badge?p=html-webpack-plugin
-
-### [Loaders](https://webpack.js.org/loaders/)
-
-webpack enables use of loaders to preprocess files. This allows you to bundle
-**any static resource** way beyond JavaScript. You can easily [write your own
-loaders](https://webpack.js.org/api/loaders/) using Node.js.
-
-Loaders are activated by using `loadername!` prefixes in `require()` statements,
-or are automatically applied via regex from your webpack configuration.
-
-#### Files
-
-|Name|Status|Install Size|Description|
-|:--:|:----:|:----------:|:----------|
-|[raw-loader][raw]|![raw-npm]|![raw-size]|Loads raw content of a file (utf-8)|
-|[val-loader][val]|![val-npm]|![val-size]|Executes code as module and considers exports as JS code|
-|[url-loader][url]|![url-npm]|![url-size]|Works like the file loader, but can return a Data Url if the file is smaller than a limit|
-|[file-loader][file]|![file-npm]|![file-size]|Emits the file into the output folder and returns the (relative) url|
-
-
-[raw]: https://github.com/webpack/raw-loader
-[raw-npm]: https://img.shields.io/npm/v/raw-loader.svg
-[raw-size]: https://packagephobia.now.sh/badge?p=raw-loader
-[val]: https://github.com/webpack/val-loader
-[val-npm]: https://img.shields.io/npm/v/val-loader.svg
-[val-size]: https://packagephobia.now.sh/badge?p=val-loader
-[url]: https://github.com/webpack/url-loader
-[url-npm]: https://img.shields.io/npm/v/url-loader.svg
-[url-size]: https://packagephobia.now.sh/badge?p=url-loader
-[file]: https://github.com/webpack/file-loader
-[file-npm]: https://img.shields.io/npm/v/file-loader.svg
-[file-size]: https://packagephobia.now.sh/badge?p=file-loader
-
-#### JSON
-
-|Name|Status|Install Size|Description|
-|:--:|:----:|:----------:|:----------|
-|<a href="https://github.com/webpack/json-loader"><img width="48" height="48" src="https://worldvectorlogo.com/logos/json.svg"></a>|![json-npm]|![json-size]|Loads a JSON file (included by default)|
-|<a href="https://github.com/webpack/json5-loader"><img width="48" height="10.656" src="https://cdn.rawgit.com/json5/json5-logo/master/json5-logo.svg"></a>|![json5-npm]|![json5-size]|Loads and transpiles a JSON 5 file|
-|<a href="https://github.com/awnist/cson-loader"><img width="48" height="48" src="https://worldvectorlogo.com/logos/coffeescript.svg"></a>|![cson-npm]|![cson-size]|Loads and transpiles a CSON file|
-
-
-[json-npm]: https://img.shields.io/npm/v/json-loader.svg
-[json-size]: https://packagephobia.now.sh/badge?p=json-loader
-[json5-npm]: https://img.shields.io/npm/v/json5-loader.svg
-[json5-size]: https://packagephobia.now.sh/badge?p=json5-loader
-[cson-npm]: https://img.shields.io/npm/v/cson-loader.svg
-[cson-size]: https://packagephobia.now.sh/badge?p=cson-loader
-
-#### Transpiling
-
-|Name|Status|Install Size|Description|
-|:--:|:----:|:----------:|:----------|
-|<a href="https://github.com/webpack/script-loader">`<script>`</a>|![script-npm]|![script-size]|Executes a JavaScript file once in global context (like in script tag), `require()`s are not parsed|
-|<a href="https://github.com/babel/babel-loader"><img width="48" height="48" title="babel-loader" src="https://worldvectorlogo.com/logos/babel-10.svg"></a>|![babel-npm]|![babel-size]|Loads ES2015+ code and transpiles to ES5 using <a href="https://github.com/babel/babel">Babel</a>|
-|<a href="https://github.com/jupl/traceur-loader"><img width="48" height="48" src="https://google.github.com/traceur-compiler/logo/tc.svg"></a>|![traceur-npm]|![traceur-size]|Loads ES2015+ code and transpiles to ES5 using [Traceur](https://github.com/google/traceur-compiler)|
-|<a href="https://github.com/TypeStrong/ts-loader"><img width="48" height="48" src="https://cdn.rawgit.com/Microsoft/TypeScript/master/doc/logo.svg"></a>|![type-npm]|![type-size]|Loads TypeScript like JavaScript|
-|[`awesome-typescript-loader`](https://github.com/s-panferov/awesome-typescript-loader)|![awesome-typescript-npm]|![awesome-typescript-size]|Awesome TypeScript loader for webpack|
-|<a href="https://github.com/webpack/coffee-loader"><img width="48" height="48" src="https://worldvectorlogo.com/logos/coffeescript.svg"></a>|![coffee-npm]|![coffee-size]|Loads CoffeeScript like JavaScript|
-
-
-[script-npm]: https://img.shields.io/npm/v/script-loader.svg
-[script-size]: https://packagephobia.now.sh/badge?p=script-loader
-[babel-npm]: https://img.shields.io/npm/v/babel-loader.svg
-[babel-size]: https://packagephobia.now.sh/badge?p=babel-loader
-[traceur-npm]: https://img.shields.io/npm/v/traceur-loader.svg
-[traceur-size]: https://packagephobia.now.sh/badge?p=traceur-loader
-[coffee-npm]: https://img.shields.io/npm/v/coffee-loader.svg
-[coffee-size]: https://packagephobia.now.sh/badge?p=coffee-loader
-[type-npm]: https://img.shields.io/npm/v/ts-loader.svg
-[type-size]: https://packagephobia.now.sh/badge?p=ts-loader
-[awesome-typescript-npm]: https://img.shields.io/npm/v/awesome-typescript-loader.svg
-[awesome-typescript-size]: https://packagephobia.now.sh/badge?p=awesome-typescript-loader
-
-#### Templating
-
-|Name|Status|Install Size|Description|
-|:--:|:----:|:----------:|:----------|
-|<a href="https://github.com/webpack/html-loader"><img width="48" height="48" src="https://worldvectorlogo.com/logos/html5.svg"></a>|![html-npm]|![html-size]|Exports HTML as string, requires references to static resources|
-|<a href="https://github.com/pugjs/pug-loader"><img width="48" height="48" src="https://cdn.rawgit.com/pugjs/pug-logo/master/SVG/pug-final-logo-_-colour-128.svg"></a>|![pug-npm]|![pug-size]|Loads Pug templates and returns a function|
-|<a href="https://github.com/webpack/jade-loader"><img width="48" height="48" src="https://worldvectorlogo.com/logos/jade-3.svg"></a>|![jade-npm]|![jade-size]|Loads Jade templates and returns a function|
-|<a href="https://github.com/peerigon/markdown-loader"><img width="48" height="48" src="https://worldvectorlogo.com/logos/markdown.svg"></a>|![md-npm]|![md-size]|Compiles Markdown to HTML|
-|<a href="https://github.com/posthtml/posthtml-loader"><img width="48" height="48" src="http://posthtml.github.io/posthtml/logo.svg"></a>|![posthtml-npm]|![posthtml-size]|Loads and transforms a HTML file using [PostHTML](https://github.com/posthtml/posthtml)|
-|<a href="https://github.com/altano/handlebars-loader"><img width="48" height="48" src="https://worldvectorlogo.com/logos/handlebars-1.svg"></a>|![hbs-npm]|![hbs-size]| Compiles Handlebars to HTML|
-
-
-[html-npm]: https://img.shields.io/npm/v/html-loader.svg
-[html-size]: https://packagephobia.now.sh/badge?p=html-loader
-[pug-npm]: https://img.shields.io/npm/v/pug-loader.svg
-[pug-size]: https://packagephobia.now.sh/badge?p=pug-loader
-[jade-npm]: https://img.shields.io/npm/v/jade-loader.svg
-[jade-size]: https://packagephobia.now.sh/badge?p=jade-loader
-[md-npm]: https://img.shields.io/npm/v/markdown-loader.svg
-[md-size]: https://packagephobia.now.sh/badge?p=markdown-loader
-[posthtml-npm]: https://img.shields.io/npm/v/posthtml-loader.svg
-[posthtml-size]: https://packagephobia.now.sh/badge?p=posthtml-loader
-[hbs-npm]: https://img.shields.io/npm/v/handlebars-loader.svg
-[hbs-size]: https://packagephobia.now.sh/badge?p=handlebars-loader
-
-#### Styling
-
-|Name|Status|Install Size|Description|
-|:--:|:----:|:----------:|:----------|
-|<a href="https://github.com/webpack/style-loader">`<style>`</a>|![style-npm]|![style-size]|Add exports of a module as style to DOM|
-|<a href="https://github.com/webpack/css-loader"><img width="48" height="48" src="https://worldvectorlogo.com/logos/css-3.svg"></a>|![css-npm]|![css-size]|Loads CSS file with resolved imports and returns CSS code|
-|<a href="https://github.com/webpack/less-loader"><img width="48" height="48" src="https://worldvectorlogo.com/logos/less-63.svg"></a>|![less-npm]|![less-size]|Loads and compiles a LESS file|
-|<a href="https://github.com/jtangelder/sass-loader"><img width="48" height="48" src="https://worldvectorlogo.com/logos/sass-1.svg"></a>|![sass-npm]|![sass-size]|Loads and compiles a Sass/SCSS file|
-|<a href="https://github.com/shama/stylus-loader"><img width="48" height="48" src="https://worldvectorlogo.com/logos/stylus.svg"></a>|![stylus-npm]|![stylus-size]|Loads and compiles a Stylus file|
-|<a href="https://github.com/postcss/postcss-loader"><img width="48" height="48" src="https://worldvectorlogo.com/logos/postcss.svg"></a>|![postcss-npm]|![postcss-size]|Loads and transforms a CSS/SSS file using [PostCSS](http://postcss.org)|
-
-
-[style-npm]: https://img.shields.io/npm/v/style-loader.svg
-[style-size]: https://packagephobia.now.sh/badge?p=style-loader
-[css-npm]: https://img.shields.io/npm/v/css-loader.svg
-[css-size]: https://packagephobia.now.sh/badge?p=css-loader
-[less-npm]: https://img.shields.io/npm/v/less-loader.svg
-[less-size]: https://packagephobia.now.sh/badge?p=less-loader
-[sass-npm]: https://img.shields.io/npm/v/sass-loader.svg
-[sass-size]: https://packagephobia.now.sh/badge?p=sass-loader
-[stylus-npm]: https://img.shields.io/npm/v/stylus-loader.svg
-[stylus-size]: https://packagephobia.now.sh/badge?p=stylus-loader
-[postcss-npm]: https://img.shields.io/npm/v/postcss-loader.svg
-[postcss-size]: https://packagephobia.now.sh/badge?p=postcss-loader
-
-#### Linting & Testing
-
-|Name|Status|Install Size|Description|
-|:--:|:----:|:----------:|:----------|
-|<a href="https://github.com/webpack/mocha-loader"><img width="48" height="48" src="https://worldvectorlogo.com/logos/mocha.svg"></a>|![mocha-npm]|![mocha-size]|Tests with mocha (Browser/NodeJS)|
-|<a href="https://github.com/MoOx/eslint-loader"><img width="48" height="48" src="https://worldvectorlogo.com/logos/eslint.svg"></a>|![eslint-npm]|![eslint-size]|PreLoader for linting code using ESLint|
-|<a href="https://github.com/webpack-contrib/jshint-loader"><img width="48" height="20.64" src="http://jshint.com/res/jshint-dark.png"></a>|![jshint-npm]|![jshint-size]|PreLoader for linting code using JSHint|
-
-[mocha-npm]: https://img.shields.io/npm/v/mocha-loader.svg
-[mocha-size]: https://packagephobia.now.sh/badge?p=mocha-loader
-[eslint-npm]: https://img.shields.io/npm/v/eslint-loader.svg
-[eslint-size]: https://packagephobia.now.sh/badge?p=eslint-loader
-[jshint-npm]: https://img.shields.io/npm/v/jshint-loader.svg
-[jshint-size]: https://packagephobia.now.sh/badge?p=jshint-loader
-[jscs-npm]: https://img.shields.io/npm/v/jscs-loader.svg
-[jscs-size]: https://packagephobia.now.sh/badge?p=jscs-loader
-
-#### Frameworks
-
-|Name|Status|Install Size|Description|
-|:--:|:----:|:----------:|:----------|
-|<a href="https://github.com/vuejs/vue-loader"><img width="48" height="48" src="https://worldvectorlogo.com/logos/vue-9.svg"></a>|![vue-npm]|![vue-size]|Loads and compiles Vue Components|
-|<a href="https://github.com/webpack-contrib/polymer-webpack-loader"><img width="48" height="48" src="https://worldvectorlogo.com/logos/polymer.svg"></a>|![polymer-npm]|![polymer-size]|Process HTML & CSS with preprocessor of choice and `require()` Web Components like first-class modules|
-|<a href="https://github.com/TheLarkInn/angular2-template-loader"><img width="48" height="48" src="https://worldvectorlogo.com/logos/angular-icon-1.svg"></a>|![angular-npm]|![angular-size]| Loads and compiles Angular 2 Components|
-|<a href="https://github.com/riot/tag-loader"><img width="48" height="48" src="https://worldvectorlogo.com/logos/riot.svg"></a>|![riot-npm]|![riot-size]| Riot official webpack loader|
-
-
-
-[vue-npm]: https://img.shields.io/npm/v/vue-loader.svg
-[vue-size]: https://packagephobia.now.sh/badge?p=vue-loader
-[polymer-npm]: https://img.shields.io/npm/v/polymer-webpack-loader.svg
-[polymer-size]: https://packagephobia.now.sh/badge?p=polymer-webpack-loader
-[angular-npm]: https://img.shields.io/npm/v/angular2-template-loader.svg
-[angular-size]: https://packagephobia.now.sh/badge?p=angular2-template-loader
-[riot-npm]: https://img.shields.io/npm/v/riot-tag-loader.svg
-[riot-size]: https://packagephobia.now.sh/badge?p=riot-tag-loader
-
-### Performance
-
-webpack uses async I/O and has multiple caching levels. This makes webpack fast
-and incredibly **fast** on incremental compilations.
-
-### Module Formats
-
-webpack supports ES2015+, CommonJS and AMD modules **out of the box**. It performs clever static
-analysis on the AST of your code. It even has an evaluation engine to evaluate
-simple expressions. This allows you to **support most existing libraries** out of the box.
-
-### [Code Splitting](https://webpack.js.org/guides/code-splitting/)
-
-webpack allows you to split your codebase into multiple chunks. Chunks are
-loaded asynchronously at runtime. This reduces the initial loading time.
-
-### [Optimizations](https://webpack.js.org/guides/production-build/)
-
-webpack can do many optimizations to **reduce the output size of your
-JavaScript** by deduplicating frequently used modules, minifying, and giving
-you full control of what is loaded initially and what is loaded at runtime
-through code splitting. It can also make your code chunks **cache
-friendly** by using hashes.
-
-<h2 align="center">Contributing</h2>
-
-**We want contributing to webpack to be fun, enjoyable, and educational for anyone, and everyone.** We have a [vibrant ecosystem](https://medium.com/webpack/contributors-guide/home) that spans beyond this single repo. We welcome you to check out any of the repositories in [our organization](http://github.com/webpack) or [webpack-contrib organization](http://github.com/webpack-contrib) which houses all of our loaders and plugins.
-
-Contributions go far beyond pull requests and commits. Although we love giving you the opportunity to put your stamp on webpack, we also are thrilled to receive a variety of other contributions including:
-
-* [Documentation](https://github.com/webpack/webpack.js.org) updates, enhancements, designs, or bugfixes
-* Spelling or grammar fixes
-* README.md corrections or redesigns
-* Adding unit, or functional tests
-* Triaging GitHub issues -- especially determining whether an issue still persists or is reproducible.
-* [Searching #webpack on twitter](https://twitter.com/search?q=webpack) and helping someone else who needs help
-* Teaching others how to contribute to one of the many webpack's repos!
-* [Blogging, speaking about, or creating tutorials](https://github.com/webpack-contrib/awesome-webpack) about one of webpack's many features.
-* Helping others in our webpack [gitter channel](https://gitter.im/webpack/webpack).
-
-If you are worried or don't know where to start, you can **always** reach out to [Sean Larkin (@TheLarkInn) on Twitter](https://twitter.com/thelarkinn) or simply submit an issue and a maintainer can help give you guidance!
-
-We have also started a series on our [Medium Publication](https://medium.com/webpack) called [The Contributor's Guide to webpack](https://medium.com/webpack/contributors-guide/home). We welcome you to read it and post any questions or responses if you still need help.
-
-_Looking to speak about webpack?_ We'd **love** to review your talk abstract/CFP! You can email it to webpack [at] opencollective [dot] com and we can give pointers or tips!!!
-
-<h3 align="center">Creating your own plugins and loaders</h3>
-
-If you create a loader or plugin, we would <3 for you to open source it, and put it on npm. We follow the `x-loader`, `x-webpack-plugin` naming convention.
-
-<h2 align="center">Support</h2>
-
-We consider webpack to be a low-level tool used not only individually but also layered beneath other awesome tools. Because of its flexibility, webpack isn't always the _easiest_ entry-level solution, however we do believe it is the most powerful. That said, we're always looking for ways to improve and simplify the tool without compromising functionality. If you have any ideas on ways to accomplish this, we're all ears!
-
-If you're just getting started, take a look at [our new docs and concepts page](https://webpack.js.org/concepts/). This has a high level overview that is great for beginners!!
-
-Looking for webpack 1 docs? Please check out the old [wiki](https://github.com/webpack/docs/wiki/contents), but note that this deprecated version is no longer supported.
-
-If you want to discuss something or just need help, [here is our Gitter room](https://gitter.im/webpack/webpack) where there are always individuals looking to help out!
-
-If you are still having difficulty, we would love for you to post
-a question to [StackOverflow with the webpack tag](https://stackoverflow.com/tags/webpack). It is much easier to answer questions that include your webpack.config.js and relevant files! So if you can provide them, we'd be extremely grateful (and more likely to help you find the answer!)
-
-If you are twitter savvy you can tweet #webpack with your question and someone should be able to reach out and help also.
-
-If you have discovered a 🐜 or have a feature suggestion, feel free to create an issue on Github.
-
-### License
-
-[![FOSSA Status](https://app.fossa.io/api/projects/git%2Bhttps%3A%2F%2Fgithub.com%2Fwebpack%2Fwebpack.svg?type=large)](https://app.fossa.io/projects/git%2Bhttps%3A%2F%2Fgithub.com%2Fwebpack%2Fwebpack?ref=badge_large)
-
-<h2 align="center">Core Team</h2>
-
-<table>
-  <tbody>
-    <tr>
-      <td align="center" valign="top">
-        <img width="150" height="150" src="https://github.com/sokra.png?s=150">
-        <br>
-        <a href="https://github.com/sokra">Tobias Koppers</a>
-        <p>Core</p>
-        <br>
-        <p>Founder of webpack</p>
-      </td>
-      <td align="center" valign="top">
-        <img width="150" height="150" src="https://github.com/jhnns.png?s=150">
-        <br>
-        <a href="https://github.com/jhnns">Johannes Ewald</a>
-        <p>Loaders &amp; Plugins</p>
-        <br>
-        <p>Early adopter of webpack</p>
-      </td>
-      <td align="center" width="20%" valign="top">
-        <img width="150" height="150" src="https://github.com/TheLarkInn.png?s=150">
-        <br>
-        <a href="https://github.com/TheLarkInn">Sean T. Larkin</a>
-        <p>Public Relations</p>
-        <br>
-        <p>Founder of the core team</p>
-      </td>
-      <td align="center" valign="top">
-        <img width="150" height="150" src="https://github.com/spacek33z.png?s=150">
-        <br>
-        <a href="https://github.com/spacek33z">Kees Kluskens</a>
-        <p>Development</p>
-        <br>
-        <p>Sponsor</p>
-        <a href="https://codeyellow.nl/">
-          <img height="15px" src="https://cloud.githubusercontent.com/assets/1365881/20286583/ad62eb04-aac7-11e6-9c14-a0fef35b9b56.png">
-        </a>
-		<br>
-      </td>
-     </tr>
-  </tbody>
-</table>
-
-<h2 align="center">Sponsoring</h2>
-
-Most of the core team members, webpack contributors and contributors in the ecosystem do this open source work in their free time. If you use webpack for a serious task, and you'd like us to invest more time on it, please donate. This project increases your income/productivity too. It makes development and applications faster and it reduces the required bandwidth.
-
-This is how we use the donations:
-
-* Allow the core team to work on webpack
-* Thank contributors if they invested a large amount of time in contributing
-* Support projects in the ecosystem that are of great value for users
-* Support projects that are voted most (work in progress)
-* Infrastructure cost
-* Fees for money handling
-
-
-<h2 align="center">Premium Partners</h2>
-
-<div align="center">
-
-<a href="https://www.ag-grid.com/?utm_source=webpack&utm_medium=banner&utm_campaign=sponsorship" target="_blank"><img align="center" src="https://raw.githubusercontent.com/webpack/media/2b399d58/horiz-banner-ad-ag-grid.png">
-</a>
-
-</div>
-
-<h2 align="center">Other Backers and Sponsors</h2>
-
-Before we started using OpenCollective, donations were made anonymously. Now that we have made the switch, we would like to acknowledge these sponsors (and the ones who continue to donate using OpenCollective). If we've missed someone, please send us a PR, and we'll add you to this list.
-
-<div align="center">
-
-[Google Angular Team](https://angular.io/), [Architects.io](http://architects.io/),
-<a href="https://moonmail.io" target="_blank" title="Email Marketing Software"><img
-src="https://static.moonmail.io/moonmail-logo.svg" height="30" alt="MoonMail"></a>
-<a href="https://monei.net" target="_blank" title="Best payment gateway rates"><img
-src="https://static.monei.net/monei-logo.svg" height="30" alt="MONEI"></a>
-
-</div>
-
-<h2 align="center">Gold Sponsors</h2>
-
-[Become a gold sponsor](https://opencollective.com/webpack#sponsor) and get your logo on our README on Github with a link to your site.
-
-<div align="center">
-
-<a href="https://opencollective.com/webpack/goldsponsor/0/website?requireActive=false" target="_blank"><img src="https://opencollective.com/webpack/goldsponsor/0/avatar.svg?requireActive=false"></a>
-<a href="https://opencollective.com/webpack/goldsponsor/1/website?requireActive=false" target="_blank"><img src="https://opencollective.com/webpack/goldsponsor/1/avatar.svg?requireActive=false"></a>
-<a href="https://opencollective.com/webpack/goldsponsor/2/website?requireActive=false" target="_blank"><img src="https://opencollective.com/webpack/goldsponsor/2/avatar.svg?requireActive=false"></a>
-<a href="https://opencollective.com/webpack/goldsponsor/3/website?requireActive=false" target="_blank"><img src="https://opencollective.com/webpack/goldsponsor/3/avatar.svg?requireActive=false"></a>
-<a href="https://opencollective.com/webpack/goldsponsor/4/website?requireActive=false" target="_blank"><img src="https://opencollective.com/webpack/goldsponsor/4/avatar.svg?requireActive=false"></a>
-<a href="https://opencollective.com/webpack/goldsponsor/5/website?requireActive=false" target="_blank"><img src="https://opencollective.com/webpack/goldsponsor/5/avatar.svg?requireActive=false"></a>
-<a href="https://opencollective.com/webpack/goldsponsor/6/website?requireActive=false" target="_blank"><img src="https://opencollective.com/webpack/goldsponsor/6/avatar.svg?requireActive=false"></a>
-<a href="https://opencollective.com/webpack/goldsponsor/7/website?requireActive=false" target="_blank"><img src="https://opencollective.com/webpack/goldsponsor/7/avatar.svg?requireActive=false"></a>
-<a href="https://opencollective.com/webpack/goldsponsor/8/website?requireActive=false" target="_blank"><img src="https://opencollective.com/webpack/goldsponsor/8/avatar.svg?requireActive=false"></a>
-<a href="https://opencollective.com/webpack/goldsponsor/9/website?requireActive=false" target="_blank"><img src="https://opencollective.com/webpack/goldsponsor/9/avatar.svg?requireActive=false"></a>
-<a href="https://opencollective.com/webpack/goldsponsor/10/website?requireActive=false" target="_blank"><img src="https://opencollective.com/webpack/goldsponsor/10/avatar.svg?requireActive=false"></a>
-<a href="https://opencollective.com/webpack/goldsponsor/11/website?requireActive=false" target="_blank"><img src="https://opencollective.com/webpack/goldsponsor/11/avatar.svg?requireActive=false"></a>
-<a href="https://opencollective.com/webpack/goldsponsor/12/website?requireActive=false" target="_blank"><img src="https://opencollective.com/webpack/goldsponsor/12/avatar.svg?requireActive=false"></a>
-<a href="https://opencollective.com/webpack/goldsponsor/13/website?requireActive=false" target="_blank"><img src="https://opencollective.com/webpack/goldsponsor/13/avatar.svg?requireActive=false"></a>
-<a href="https://opencollective.com/webpack/goldsponsor/14/website?requireActive=false" target="_blank"><img src="https://opencollective.com/webpack/goldsponsor/14/avatar.svg?requireActive=false"></a>
-<a href="https://opencollective.com/webpack/goldsponsor/15/website?requireActive=false" target="_blank"><img src="https://opencollective.com/webpack/goldsponsor/15/avatar.svg?requireActive=false"></a>
-<a href="https://opencollective.com/webpack/goldsponsor/16/website?requireActive=false" target="_blank"><img src="https://opencollective.com/webpack/goldsponsor/16/avatar.svg?requireActive=false"></a>
-<a href="https://opencollective.com/webpack/goldsponsor/17/website?requireActive=false" target="_blank"><img src="https://opencollective.com/webpack/goldsponsor/17/avatar.svg?requireActive=false"></a>
-<a href="https://opencollective.com/webpack/goldsponsor/18/website?requireActive=false" target="_blank"><img src="https://opencollective.com/webpack/goldsponsor/18/avatar.svg?requireActive=false"></a>
-<a href="https://opencollective.com/webpack/goldsponsor/19/website?requireActive=false" target="_blank"><img src="https://opencollective.com/webpack/goldsponsor/19/avatar.svg?requireActive=false"></a>
-<a href="https://opencollective.com/webpack/goldsponsor/20/website?requireActive=false" target="_blank"><img src="https://opencollective.com/webpack/goldsponsor/20/avatar.svg?requireActive=false"></a>
-<a href="https://opencollective.com/webpack/goldsponsor/21/website?requireActive=false" target="_blank"><img src="https://opencollective.com/webpack/goldsponsor/21/avatar.svg?requireActive=false"></a>
-<a href="https://opencollective.com/webpack/goldsponsor/22/website?requireActive=false" target="_blank"><img src="https://opencollective.com/webpack/goldsponsor/22/avatar.svg?requireActive=false"></a>
-<a href="https://opencollective.com/webpack/goldsponsor/23/website?requireActive=false" target="_blank"><img src="https://opencollective.com/webpack/goldsponsor/23/avatar.svg?requireActive=false"></a>
-<a href="https://opencollective.com/webpack/goldsponsor/24/website?requireActive=false" target="_blank"><img src="https://opencollective.com/webpack/goldsponsor/24/avatar.svg?requireActive=false"></a>
-<a href="https://opencollective.com/webpack/goldsponsor/25/website?requireActive=false" target="_blank"><img src="https://opencollective.com/webpack/goldsponsor/25/avatar.svg?requireActive=false"></a>
-<a href="https://opencollective.com/webpack/goldsponsor/26/website?requireActive=false" target="_blank"><img src="https://opencollective.com/webpack/goldsponsor/26/avatar.svg?requireActive=false"></a>
-<a href="https://opencollective.com/webpack/goldsponsor/27/website?requireActive=false" target="_blank"><img src="https://opencollective.com/webpack/goldsponsor/27/avatar.svg?requireActive=false"></a>
-<a href="https://opencollective.com/webpack/goldsponsor/28/website?requireActive=false" target="_blank"><img src="https://opencollective.com/webpack/goldsponsor/28/avatar.svg?requireActive=false"></a>
-<a href="https://opencollective.com/webpack/goldsponsor/29/website?requireActive=false" target="_blank"><img src="https://opencollective.com/webpack/goldsponsor/29/avatar.svg?requireActive=false"></a>
-
-</div>
-
-<h2 align="center">Silver Sponsors</h2>
-
-[Become a silver sponsor](https://opencollective.com/webpack#sponsor) and get your logo on our README on Github with a link to your site.
-
-<div align="center">
-
-<a href="https://opencollective.com/webpack/silversponsor/0/website?requireActive=false" target="_blank"><img src="https://opencollective.com/webpack/silversponsor/0/avatar.svg?requireActive=false"></a>
-<a href="https://opencollective.com/webpack/silversponsor/1/website?requireActive=false" target="_blank"><img src="https://opencollective.com/webpack/silversponsor/1/avatar.svg?requireActive=false"></a>
-<a href="https://opencollective.com/webpack/silversponsor/2/website?requireActive=false" target="_blank"><img src="https://opencollective.com/webpack/silversponsor/2/avatar.svg?requireActive=false"></a>
-<a href="https://opencollective.com/webpack/silversponsor/3/website?requireActive=false" target="_blank"><img src="https://opencollective.com/webpack/silversponsor/3/avatar.svg?requireActive=false"></a>
-<a href="https://opencollective.com/webpack/silversponsor/4/website?requireActive=false" target="_blank"><img src="https://opencollective.com/webpack/silversponsor/4/avatar.svg?requireActive=false"></a>
-<a href="https://opencollective.com/webpack/silversponsor/5/website?requireActive=false" target="_blank"><img src="https://opencollective.com/webpack/silversponsor/5/avatar.svg?requireActive=false"></a>
-<a href="https://opencollective.com/webpack/silversponsor/6/website?requireActive=false" target="_blank"><img src="https://opencollective.com/webpack/silversponsor/6/avatar.svg?requireActive=false"></a>
-<a href="https://opencollective.com/webpack/silversponsor/7/website?requireActive=false" target="_blank"><img src="https://opencollective.com/webpack/silversponsor/7/avatar.svg?requireActive=false"></a>
-<a href="https://opencollective.com/webpack/silversponsor/8/website?requireActive=false" target="_blank"><img src="https://opencollective.com/webpack/silversponsor/8/avatar.svg?requireActive=false"></a>
-<a href="https://opencollective.com/webpack/silversponsor/9/website?requireActive=false" target="_blank"><img src="https://opencollective.com/webpack/silversponsor/9/avatar.svg?requireActive=false"></a>
-<a href="https://opencollective.com/webpack/silversponsor/10/website?requireActive=false" target="_blank"><img src="https://opencollective.com/webpack/silversponsor/10/avatar.svg?requireActive=false"></a>
-<a href="https://opencollective.com/webpack/silversponsor/11/website?requireActive=false" target="_blank"><img src="https://opencollective.com/webpack/silversponsor/11/avatar.svg?requireActive=false"></a>
-<a href="https://opencollective.com/webpack/silversponsor/12/website?requireActive=false" target="_blank"><img src="https://opencollective.com/webpack/silversponsor/12/avatar.svg?requireActive=false"></a>
-<a href="https://opencollective.com/webpack/silversponsor/13/website?requireActive=false" target="_blank"><img src="https://opencollective.com/webpack/silversponsor/13/avatar.svg?requireActive=false"></a>
-<a href="https://opencollective.com/webpack/silversponsor/14/website?requireActive=false" target="_blank"><img src="https://opencollective.com/webpack/silversponsor/14/avatar.svg?requireActive=false"></a>
-<a href="https://opencollective.com/webpack/silversponsor/15/website?requireActive=false" target="_blank"><img src="https://opencollective.com/webpack/silversponsor/15/avatar.svg?requireActive=false"></a>
-<a href="https://opencollective.com/webpack/silversponsor/16/website?requireActive=false" target="_blank"><img src="https://opencollective.com/webpack/silversponsor/16/avatar.svg?requireActive=false"></a>
-<a href="https://opencollective.com/webpack/silversponsor/17/website?requireActive=false" target="_blank"><img src="https://opencollective.com/webpack/silversponsor/17/avatar.svg?requireActive=false"></a>
-<a href="https://opencollective.com/webpack/silversponsor/18/website?requireActive=false" target="_blank"><img src="https://opencollective.com/webpack/silversponsor/18/avatar.svg?requireActive=false"></a>
-<a href="https://opencollective.com/webpack/silversponsor/19/website?requireActive=false" target="_blank"><img src="https://opencollective.com/webpack/silversponsor/19/avatar.svg?requireActive=false"></a>
-<a href="https://opencollective.com/webpack/silversponsor/20/website?requireActive=false" target="_blank"><img src="https://opencollective.com/webpack/silversponsor/20/avatar.svg?requireActive=false"></a>
-<a href="https://opencollective.com/webpack/silversponsor/21/website?requireActive=false" target="_blank"><img src="https://opencollective.com/webpack/silversponsor/21/avatar.svg?requireActive=false"></a>
-<a href="https://opencollective.com/webpack/silversponsor/22/website?requireActive=false" target="_blank"><img src="https://opencollective.com/webpack/silversponsor/22/avatar.svg?requireActive=false"></a>
-<a href="https://opencollective.com/webpack/silversponsor/23/website?requireActive=false" target="_blank"><img src="https://opencollective.com/webpack/silversponsor/23/avatar.svg?requireActive=false"></a>
-<a href="https://opencollective.com/webpack/silversponsor/24/website?requireActive=false" target="_blank"><img src="https://opencollective.com/webpack/silversponsor/24/avatar.svg?requireActive=false"></a>
-<a href="https://opencollective.com/webpack/silversponsor/25/website?requireActive=false" target="_blank"><img src="https://opencollective.com/webpack/silversponsor/25/avatar.svg?requireActive=false"></a>
-<a href="https://opencollective.com/webpack/silversponsor/26/website?requireActive=false" target="_blank"><img src="https://opencollective.com/webpack/silversponsor/26/avatar.svg?requireActive=false"></a>
-<a href="https://opencollective.com/webpack/silversponsor/27/website?requireActive=false" target="_blank"><img src="https://opencollective.com/webpack/silversponsor/27/avatar.svg?requireActive=false"></a>
-<a href="https://opencollective.com/webpack/silversponsor/28/website?requireActive=false" target="_blank"><img src="https://opencollective.com/webpack/silversponsor/28/avatar.svg?requireActive=false"></a>
-<a href="https://opencollective.com/webpack/silversponsor/29/website?requireActive=false" target="_blank"><img src="https://opencollective.com/webpack/silversponsor/29/avatar.svg?requireActive=false"></a>
-
-</div>
-
-<h2 align="center">Bronze Sponsors</h2>
-
-[Become a bronze sponsor](https://opencollective.com/webpack#sponsor) and get your logo on our README on Github with a link to your site.
-
-<div align="center">
-
-<a href="https://opencollective.com/webpack/sponsor/0/website?requireActive=false" target="_blank"><img src="https://opencollective.com/webpack/sponsor/0/avatar.svg?requireActive=false"></a>
-<a href="https://opencollective.com/webpack/sponsor/1/website?requireActive=false" target="_blank"><img src="https://opencollective.com/webpack/sponsor/1/avatar.svg?requireActive=false"></a>
-<a href="https://opencollective.com/webpack/sponsor/2/website?requireActive=false" target="_blank"><img src="https://opencollective.com/webpack/sponsor/2/avatar.svg?requireActive=false"></a>
-<a href="https://opencollective.com/webpack/sponsor/3/website?requireActive=false" target="_blank"><img src="https://opencollective.com/webpack/sponsor/3/avatar.svg?requireActive=false"></a>
-<a href="https://opencollective.com/webpack/sponsor/4/website?requireActive=false" target="_blank"><img src="https://opencollective.com/webpack/sponsor/4/avatar.svg?requireActive=false"></a>
-<a href="https://opencollective.com/webpack/sponsor/5/website?requireActive=false" target="_blank"><img src="https://opencollective.com/webpack/sponsor/5/avatar.svg?requireActive=false"></a>
-<a href="https://opencollective.com/webpack/sponsor/6/website?requireActive=false" target="_blank"><img src="https://opencollective.com/webpack/sponsor/6/avatar.svg?requireActive=false"></a>
-<a href="https://opencollective.com/webpack/sponsor/7/website?requireActive=false" target="_blank"><img src="https://opencollective.com/webpack/sponsor/7/avatar.svg?requireActive=false"></a>
-<a href="https://opencollective.com/webpack/sponsor/8/website?requireActive=false" target="_blank"><img src="https://opencollective.com/webpack/sponsor/8/avatar.svg?requireActive=false"></a>
-<a href="https://opencollective.com/webpack/sponsor/9/website?requireActive=false" target="_blank"><img src="https://opencollective.com/webpack/sponsor/9/avatar.svg?requireActive=false"></a>
-<a href="https://opencollective.com/webpack/sponsor/10/website?requireActive=false" target="_blank"><img src="https://opencollective.com/webpack/sponsor/10/avatar.svg?requireActive=false"></a>
-<a href="https://opencollective.com/webpack/sponsor/11/website?requireActive=false" target="_blank"><img src="https://opencollective.com/webpack/sponsor/11/avatar.svg?requireActive=false"></a>
-<a href="https://opencollective.com/webpack/sponsor/12/website?requireActive=false" target="_blank"><img src="https://opencollective.com/webpack/sponsor/12/avatar.svg?requireActive=false"></a>
-<a href="https://opencollective.com/webpack/sponsor/13/website?requireActive=false" target="_blank"><img src="https://opencollective.com/webpack/sponsor/13/avatar.svg?requireActive=false"></a>
-<a href="https://opencollective.com/webpack/sponsor/14/website?requireActive=false" target="_blank"><img src="https://opencollective.com/webpack/sponsor/14/avatar.svg?requireActive=false"></a>
-<a href="https://opencollective.com/webpack/sponsor/15/website?requireActive=false" target="_blank"><img src="https://opencollective.com/webpack/sponsor/15/avatar.svg?requireActive=false"></a>
-<a href="https://opencollective.com/webpack/sponsor/16/website?requireActive=false" target="_blank"><img src="https://opencollective.com/webpack/sponsor/16/avatar.svg?requireActive=false"></a>
-<a href="https://opencollective.com/webpack/sponsor/17/website?requireActive=false" target="_blank"><img src="https://opencollective.com/webpack/sponsor/17/avatar.svg?requireActive=false"></a>
-<a href="https://opencollective.com/webpack/sponsor/18/website?requireActive=false" target="_blank"><img src="https://opencollective.com/webpack/sponsor/18/avatar.svg?requireActive=false"></a>
-<a href="https://opencollective.com/webpack/sponsor/19/website?requireActive=false" target="_blank"><img src="https://opencollective.com/webpack/sponsor/19/avatar.svg?requireActive=false"></a>
-<a href="https://opencollective.com/webpack/sponsor/20/website?requireActive=false" target="_blank"><img src="https://opencollective.com/webpack/sponsor/20/avatar.svg?requireActive=false"></a>
-<a href="https://opencollective.com/webpack/sponsor/21/website?requireActive=false" target="_blank"><img src="https://opencollective.com/webpack/sponsor/21/avatar.svg?requireActive=false"></a>
-<a href="https://opencollective.com/webpack/sponsor/22/website?requireActive=false" target="_blank"><img src="https://opencollective.com/webpack/sponsor/22/avatar.svg?requireActive=false"></a>
-<a href="https://opencollective.com/webpack/sponsor/23/website?requireActive=false" target="_blank"><img src="https://opencollective.com/webpack/sponsor/23/avatar.svg?requireActive=false"></a>
-<a href="https://opencollective.com/webpack/sponsor/24/website?requireActive=false" target="_blank"><img src="https://opencollective.com/webpack/sponsor/24/avatar.svg?requireActive=false"></a>
-<a href="https://opencollective.com/webpack/sponsor/25/website?requireActive=false" target="_blank"><img src="https://opencollective.com/webpack/sponsor/25/avatar.svg?requireActive=false"></a>
-<a href="https://opencollective.com/webpack/sponsor/26/website?requireActive=false" target="_blank"><img src="https://opencollective.com/webpack/sponsor/26/avatar.svg?requireActive=false"></a>
-<a href="https://opencollective.com/webpack/sponsor/27/website?requireActive=false" target="_blank"><img src="https://opencollective.com/webpack/sponsor/27/avatar.svg?requireActive=false"></a>
-<a href="https://opencollective.com/webpack/sponsor/28/website?requireActive=false" target="_blank"><img src="https://opencollective.com/webpack/sponsor/28/avatar.svg?requireActive=false"></a>
-<a href="https://opencollective.com/webpack/sponsor/29/website?requireActive=false" target="_blank"><img src="https://opencollective.com/webpack/sponsor/29/avatar.svg?requireActive=false"></a>
-<a href="https://opencollective.com/webpack/sponsor/30/website?requireActive=false" target="_blank"><img src="https://opencollective.com/webpack/sponsor/30/avatar.svg?requireActive=false"></a>
-<a href="https://opencollective.com/webpack/sponsor/31/website?requireActive=false" target="_blank"><img src="https://opencollective.com/webpack/sponsor/31/avatar.svg?requireActive=false"></a>
-<a href="https://opencollective.com/webpack/sponsor/32/website?requireActive=false" target="_blank"><img src="https://opencollective.com/webpack/sponsor/32/avatar.svg?requireActive=false"></a>
-<a href="https://opencollective.com/webpack/sponsor/33/website?requireActive=false" target="_blank"><img src="https://opencollective.com/webpack/sponsor/33/avatar.svg?requireActive=false"></a>
-<a href="https://opencollective.com/webpack/sponsor/34/website?requireActive=false" target="_blank"><img src="https://opencollective.com/webpack/sponsor/34/avatar.svg?requireActive=false"></a>
-<a href="https://opencollective.com/webpack/sponsor/35/website?requireActive=false" target="_blank"><img src="https://opencollective.com/webpack/sponsor/35/avatar.svg?requireActive=false"></a>
-<a href="https://opencollective.com/webpack/sponsor/36/website?requireActive=false" target="_blank"><img src="https://opencollective.com/webpack/sponsor/36/avatar.svg?requireActive=false"></a>
-<a href="https://opencollective.com/webpack/sponsor/37/website?requireActive=false" target="_blank"><img src="https://opencollective.com/webpack/sponsor/37/avatar.svg?requireActive=false"></a>
-<a href="https://opencollective.com/webpack/sponsor/38/website?requireActive=false" target="_blank"><img src="https://opencollective.com/webpack/sponsor/38/avatar.svg?requireActive=false"></a>
-<a href="https://opencollective.com/webpack/sponsor/39/website?requireActive=false" target="_blank"><img src="https://opencollective.com/webpack/sponsor/39/avatar.svg?requireActive=false"></a>
-<a href="https://opencollective.com/webpack/sponsor/40/website?requireActive=false" target="_blank"><img src="https://opencollective.com/webpack/sponsor/40/avatar.svg?requireActive=false"></a>
-<a href="https://opencollective.com/webpack/sponsor/41/website?requireActive=false" target="_blank"><img src="https://opencollective.com/webpack/sponsor/41/avatar.svg?requireActive=false"></a>
-<a href="https://opencollective.com/webpack/sponsor/42/website?requireActive=false" target="_blank"><img src="https://opencollective.com/webpack/sponsor/42/avatar.svg?requireActive=false"></a>
-<a href="https://opencollective.com/webpack/sponsor/43/website?requireActive=false" target="_blank"><img src="https://opencollective.com/webpack/sponsor/43/avatar.svg?requireActive=false"></a>
-<a href="https://opencollective.com/webpack/sponsor/44/website?requireActive=false" target="_blank"><img src="https://opencollective.com/webpack/sponsor/44/avatar.svg?requireActive=false"></a>
-<a href="https://opencollective.com/webpack/sponsor/45/website?requireActive=false" target="_blank"><img src="https://opencollective.com/webpack/sponsor/45/avatar.svg?requireActive=false"></a>
-<a href="https://opencollective.com/webpack/sponsor/46/website?requireActive=false" target="_blank"><img src="https://opencollective.com/webpack/sponsor/46/avatar.svg?requireActive=false"></a>
-<a href="https://opencollective.com/webpack/sponsor/47/website?requireActive=false" target="_blank"><img src="https://opencollective.com/webpack/sponsor/47/avatar.svg?requireActive=false"></a>
-<a href="https://opencollective.com/webpack/sponsor/48/website?requireActive=false" target="_blank"><img src="https://opencollective.com/webpack/sponsor/48/avatar.svg?requireActive=false"></a>
-<a href="https://opencollective.com/webpack/sponsor/49/website?requireActive=false" target="_blank"><img src="https://opencollective.com/webpack/sponsor/49/avatar.svg?requireActive=false"></a>
-<a href="https://opencollective.com/webpack/sponsor/50/website?requireActive=false" target="_blank"><img src="https://opencollective.com/webpack/sponsor/50/avatar.svg?requireActive=false"></a>
-<a href="https://opencollective.com/webpack/sponsor/51/website?requireActive=false" target="_blank"><img src="https://opencollective.com/webpack/sponsor/51/avatar.svg?requireActive=false"></a>
-<a href="https://opencollective.com/webpack/sponsor/52/website?requireActive=false" target="_blank"><img src="https://opencollective.com/webpack/sponsor/52/avatar.svg?requireActive=false"></a>
-<a href="https://opencollective.com/webpack/sponsor/53/website?requireActive=false" target="_blank"><img src="https://opencollective.com/webpack/sponsor/53/avatar.svg?requireActive=false"></a>
-<a href="https://opencollective.com/webpack/sponsor/54/website?requireActive=false" target="_blank"><img src="https://opencollective.com/webpack/sponsor/54/avatar.svg?requireActive=false"></a>
-<a href="https://opencollective.com/webpack/sponsor/55/website?requireActive=false" target="_blank"><img src="https://opencollective.com/webpack/sponsor/55/avatar.svg?requireActive=false"></a>
-<a href="https://opencollective.com/webpack/sponsor/56/website?requireActive=false" target="_blank"><img src="https://opencollective.com/webpack/sponsor/56/avatar.svg?requireActive=false"></a>
-<a href="https://opencollective.com/webpack/sponsor/57/website?requireActive=false" target="_blank"><img src="https://opencollective.com/webpack/sponsor/57/avatar.svg?requireActive=false"></a>
-<a href="https://opencollective.com/webpack/sponsor/58/website?requireActive=false" target="_blank"><img src="https://opencollective.com/webpack/sponsor/58/avatar.svg?requireActive=false"></a>
-<a href="https://opencollective.com/webpack/sponsor/59/website?requireActive=false" target="_blank"><img src="https://opencollective.com/webpack/sponsor/59/avatar.svg?requireActive=false"></a>
-<a href="https://opencollective.com/webpack/sponsor/60/website?requireActive=false" target="_blank"><img src="https://opencollective.com/webpack/sponsor/60/avatar.svg?requireActive=false"></a>
-<a href="https://opencollective.com/webpack/sponsor/61/website?requireActive=false" target="_blank"><img src="https://opencollective.com/webpack/sponsor/61/avatar.svg?requireActive=false"></a>
-<a href="https://opencollective.com/webpack/sponsor/62/website?requireActive=false" target="_blank"><img src="https://opencollective.com/webpack/sponsor/62/avatar.svg?requireActive=false"></a>
-<a href="https://opencollective.com/webpack/sponsor/63/website?requireActive=false" target="_blank"><img src="https://opencollective.com/webpack/sponsor/63/avatar.svg?requireActive=false"></a>
-<a href="https://opencollective.com/webpack/sponsor/64/website?requireActive=false" target="_blank"><img src="https://opencollective.com/webpack/sponsor/64/avatar.svg?requireActive=false"></a>
-<a href="https://opencollective.com/webpack/sponsor/65/website?requireActive=false" target="_blank"><img src="https://opencollective.com/webpack/sponsor/65/avatar.svg?requireActive=false"></a>
-<a href="https://opencollective.com/webpack/sponsor/66/website?requireActive=false" target="_blank"><img src="https://opencollective.com/webpack/sponsor/66/avatar.svg?requireActive=false"></a>
-<a href="https://opencollective.com/webpack/sponsor/67/website?requireActive=false" target="_blank"><img src="https://opencollective.com/webpack/sponsor/67/avatar.svg?requireActive=false"></a>
-<a href="https://opencollective.com/webpack/sponsor/68/website?requireActive=false" target="_blank"><img src="https://opencollective.com/webpack/sponsor/68/avatar.svg?requireActive=false"></a>
-<a href="https://opencollective.com/webpack/sponsor/69/website?requireActive=false" target="_blank"><img src="https://opencollective.com/webpack/sponsor/69/avatar.svg?requireActive=false"></a>
-<a href="https://opencollective.com/webpack/sponsor/70/website?requireActive=false" target="_blank"><img src="https://opencollective.com/webpack/sponsor/70/avatar.svg?requireActive=false"></a>
-<a href="https://opencollective.com/webpack/sponsor/71/website?requireActive=false" target="_blank"><img src="https://opencollective.com/webpack/sponsor/71/avatar.svg?requireActive=false"></a>
-<a href="https://opencollective.com/webpack/sponsor/72/website?requireActive=false" target="_blank"><img src="https://opencollective.com/webpack/sponsor/72/avatar.svg?requireActive=false"></a>
-<a href="https://opencollective.com/webpack/sponsor/73/website?requireActive=false" target="_blank"><img src="https://opencollective.com/webpack/sponsor/73/avatar.svg?requireActive=false"></a>
-<a href="https://opencollective.com/webpack/sponsor/74/website?requireActive=false" target="_blank"><img src="https://opencollective.com/webpack/sponsor/74/avatar.svg?requireActive=false"></a>
-<a href="https://opencollective.com/webpack/sponsor/75/website?requireActive=false" target="_blank"><img src="https://opencollective.com/webpack/sponsor/75/avatar.svg?requireActive=false"></a>
-<a href="https://opencollective.com/webpack/sponsor/76/website?requireActive=false" target="_blank"><img src="https://opencollective.com/webpack/sponsor/76/avatar.svg?requireActive=false"></a>
-<a href="https://opencollective.com/webpack/sponsor/77/website?requireActive=false" target="_blank"><img src="https://opencollective.com/webpack/sponsor/77/avatar.svg?requireActive=false"></a>
-<a href="https://opencollective.com/webpack/sponsor/78/website?requireActive=false" target="_blank"><img src="https://opencollective.com/webpack/sponsor/78/avatar.svg?requireActive=false"></a>
-<a href="https://opencollective.com/webpack/sponsor/79/website?requireActive=false" target="_blank"><img src="https://opencollective.com/webpack/sponsor/79/avatar.svg?requireActive=false"></a>
-<a href="https://opencollective.com/webpack/sponsor/80/website?requireActive=false" target="_blank"><img src="https://opencollective.com/webpack/sponsor/80/avatar.svg?requireActive=false"></a>
-<a href="https://opencollective.com/webpack/sponsor/81/website?requireActive=false" target="_blank"><img src="https://opencollective.com/webpack/sponsor/81/avatar.svg?requireActive=false"></a>
-<a href="https://opencollective.com/webpack/sponsor/82/website?requireActive=false" target="_blank"><img src="https://opencollective.com/webpack/sponsor/82/avatar.svg?requireActive=false"></a>
-<a href="https://opencollective.com/webpack/sponsor/83/website?requireActive=false" target="_blank"><img src="https://opencollective.com/webpack/sponsor/83/avatar.svg?requireActive=false"></a>
-<a href="https://opencollective.com/webpack/sponsor/84/website?requireActive=false" target="_blank"><img src="https://opencollective.com/webpack/sponsor/84/avatar.svg?requireActive=false"></a>
-<a href="https://opencollective.com/webpack/sponsor/85/website?requireActive=false" target="_blank"><img src="https://opencollective.com/webpack/sponsor/85/avatar.svg?requireActive=false"></a>
-<a href="https://opencollective.com/webpack/sponsor/86/website?requireActive=false" target="_blank"><img src="https://opencollective.com/webpack/sponsor/86/avatar.svg?requireActive=false"></a>
-<a href="https://opencollective.com/webpack/sponsor/87/website?requireActive=false" target="_blank"><img src="https://opencollective.com/webpack/sponsor/87/avatar.svg?requireActive=false"></a>
-<a href="https://opencollective.com/webpack/sponsor/88/website?requireActive=false" target="_blank"><img src="https://opencollective.com/webpack/sponsor/88/avatar.svg?requireActive=false"></a>
-<a href="https://opencollective.com/webpack/sponsor/89/website?requireActive=false" target="_blank"><img src="https://opencollective.com/webpack/sponsor/89/avatar.svg?requireActive=false"></a>
-<a href="https://opencollective.com/webpack/sponsor/90/website?requireActive=false" target="_blank"><img src="https://opencollective.com/webpack/sponsor/90/avatar.svg?requireActive=false"></a>
-<a href="https://opencollective.com/webpack/sponsor/91/website?requireActive=false" target="_blank"><img src="https://opencollective.com/webpack/sponsor/91/avatar.svg?requireActive=false"></a>
-<a href="https://opencollective.com/webpack/sponsor/92/website?requireActive=false" target="_blank"><img src="https://opencollective.com/webpack/sponsor/92/avatar.svg?requireActive=false"></a>
-<a href="https://opencollective.com/webpack/sponsor/93/website?requireActive=false" target="_blank"><img src="https://opencollective.com/webpack/sponsor/93/avatar.svg?requireActive=false"></a>
-<a href="https://opencollective.com/webpack/sponsor/94/website?requireActive=false" target="_blank"><img src="https://opencollective.com/webpack/sponsor/94/avatar.svg?requireActive=false"></a>
-<a href="https://opencollective.com/webpack/sponsor/95/website?requireActive=false" target="_blank"><img src="https://opencollective.com/webpack/sponsor/95/avatar.svg?requireActive=false"></a>
-<a href="https://opencollective.com/webpack/sponsor/96/website?requireActive=false" target="_blank"><img src="https://opencollective.com/webpack/sponsor/96/avatar.svg?requireActive=false"></a>
-<a href="https://opencollective.com/webpack/sponsor/97/website?requireActive=false" target="_blank"><img src="https://opencollective.com/webpack/sponsor/97/avatar.svg?requireActive=false"></a>
-<a href="https://opencollective.com/webpack/sponsor/98/website?requireActive=false" target="_blank"><img src="https://opencollective.com/webpack/sponsor/98/avatar.svg?requireActive=false"></a>
-<a href="https://opencollective.com/webpack/sponsor/99/website?requireActive=false" target="_blank"><img src="https://opencollective.com/webpack/sponsor/99/avatar.svg?requireActive=false"></a>
-<a href="https://opencollective.com/webpack/sponsor/100/website?requireActive=false" target="_blank"><img src="https://opencollective.com/webpack/sponsor/100/avatar.svg?requireActive=false"></a>
-
-</div>
-
-<h2 align="center">Backers</h2>
-
-[Become a backer](https://opencollective.com/webpack#backer) and get your image on our README on Github with a link to your site.
-
-<a href="https://opencollective.com/webpack/backer/0/website?requireActive=false" target="_blank"><img src="https://opencollective.com/webpack/backer/0/avatar.svg?requireActive=false"></a>
-<a href="https://opencollective.com/webpack/backer/1/website?requireActive=false" target="_blank"><img src="https://opencollective.com/webpack/backer/1/avatar.svg?requireActive=false"></a>
-<a href="https://opencollective.com/webpack/backer/2/website?requireActive=false" target="_blank"><img src="https://opencollective.com/webpack/backer/2/avatar.svg?requireActive=false"></a>
-<a href="https://opencollective.com/webpack/backer/3/website?requireActive=false" target="_blank"><img src="https://opencollective.com/webpack/backer/3/avatar.svg?requireActive=false"></a>
-<a href="https://opencollective.com/webpack/backer/4/website?requireActive=false" target="_blank"><img src="https://opencollective.com/webpack/backer/4/avatar.svg?requireActive=false"></a>
-<a href="https://opencollective.com/webpack/backer/5/website?requireActive=false" target="_blank"><img src="https://opencollective.com/webpack/backer/5/avatar.svg?requireActive=false"></a>
-<a href="https://opencollective.com/webpack/backer/6/website?requireActive=false" target="_blank"><img src="https://opencollective.com/webpack/backer/6/avatar.svg?requireActive=false"></a>
-<a href="https://opencollective.com/webpack/backer/7/website?requireActive=false" target="_blank"><img src="https://opencollective.com/webpack/backer/7/avatar.svg?requireActive=false"></a>
-<a href="https://opencollective.com/webpack/backer/8/website?requireActive=false" target="_blank"><img src="https://opencollective.com/webpack/backer/8/avatar.svg?requireActive=false"></a>
-<a href="https://opencollective.com/webpack/backer/9/website?requireActive=false" target="_blank"><img src="https://opencollective.com/webpack/backer/9/avatar.svg?requireActive=false"></a>
-<a href="https://opencollective.com/webpack/backer/10/website?requireActive=false" target="_blank"><img src="https://opencollective.com/webpack/backer/10/avatar.svg?requireActive=false"></a>
-<a href="https://opencollective.com/webpack/backer/11/website?requireActive=false" target="_blank"><img src="https://opencollective.com/webpack/backer/11/avatar.svg?requireActive=false"></a>
-<a href="https://opencollective.com/webpack/backer/12/website?requireActive=false" target="_blank"><img src="https://opencollective.com/webpack/backer/12/avatar.svg?requireActive=false"></a>
-<a href="https://opencollective.com/webpack/backer/13/website?requireActive=false" target="_blank"><img src="https://opencollective.com/webpack/backer/13/avatar.svg?requireActive=false"></a>
-<a href="https://opencollective.com/webpack/backer/14/website?requireActive=false" target="_blank"><img src="https://opencollective.com/webpack/backer/14/avatar.svg?requireActive=false"></a>
-<a href="https://opencollective.com/webpack/backer/15/website?requireActive=false" target="_blank"><img src="https://opencollective.com/webpack/backer/15/avatar.svg?requireActive=false"></a>
-<a href="https://opencollective.com/webpack/backer/16/website?requireActive=false" target="_blank"><img src="https://opencollective.com/webpack/backer/16/avatar.svg?requireActive=false"></a>
-<a href="https://opencollective.com/webpack/backer/17/website?requireActive=false" target="_blank"><img src="https://opencollective.com/webpack/backer/17/avatar.svg?requireActive=false"></a>
-<a href="https://opencollective.com/webpack/backer/18/website?requireActive=false" target="_blank"><img src="https://opencollective.com/webpack/backer/18/avatar.svg?requireActive=false"></a>
-<a href="https://opencollective.com/webpack/backer/19/website?requireActive=false" target="_blank"><img src="https://opencollective.com/webpack/backer/19/avatar.svg?requireActive=false"></a>
-<a href="https://opencollective.com/webpack/backer/20/website?requireActive=false" target="_blank"><img src="https://opencollective.com/webpack/backer/20/avatar.svg?requireActive=false"></a>
-<a href="https://opencollective.com/webpack/backer/21/website?requireActive=false" target="_blank"><img src="https://opencollective.com/webpack/backer/21/avatar.svg?requireActive=false"></a>
-<a href="https://opencollective.com/webpack/backer/22/website?requireActive=false" target="_blank"><img src="https://opencollective.com/webpack/backer/22/avatar.svg?requireActive=false"></a>
-<a href="https://opencollective.com/webpack/backer/23/website?requireActive=false" target="_blank"><img src="https://opencollective.com/webpack/backer/23/avatar.svg?requireActive=false"></a>
-<a href="https://opencollective.com/webpack/backer/24/website?requireActive=false" target="_blank"><img src="https://opencollective.com/webpack/backer/24/avatar.svg?requireActive=false"></a>
-<a href="https://opencollective.com/webpack/backer/25/website?requireActive=false" target="_blank"><img src="https://opencollective.com/webpack/backer/25/avatar.svg?requireActive=false"></a>
-<a href="https://opencollective.com/webpack/backer/26/website?requireActive=false" target="_blank"><img src="https://opencollective.com/webpack/backer/26/avatar.svg?requireActive=false"></a>
-<a href="https://opencollective.com/webpack/backer/27/website?requireActive=false" target="_blank"><img src="https://opencollective.com/webpack/backer/27/avatar.svg?requireActive=false"></a>
-<a href="https://opencollective.com/webpack/backer/28/website?requireActive=false" target="_blank"><img src="https://opencollective.com/webpack/backer/28/avatar.svg?requireActive=false"></a>
-<a href="https://opencollective.com/webpack/backer/29/website?requireActive=false" target="_blank"><img src="https://opencollective.com/webpack/backer/29/avatar.svg?requireActive=false"></a>
-<a href="https://opencollective.com/webpack/backer/30/website?requireActive=false" target="_blank"><img src="https://opencollective.com/webpack/backer/30/avatar.svg?requireActive=false"></a>
-<a href="https://opencollective.com/webpack/backer/31/website?requireActive=false" target="_blank"><img src="https://opencollective.com/webpack/backer/31/avatar.svg?requireActive=false"></a>
-<a href="https://opencollective.com/webpack/backer/32/website?requireActive=false" target="_blank"><img src="https://opencollective.com/webpack/backer/32/avatar.svg?requireActive=false"></a>
-<a href="https://opencollective.com/webpack/backer/33/website?requireActive=false" target="_blank"><img src="https://opencollective.com/webpack/backer/33/avatar.svg?requireActive=false"></a>
-<a href="https://opencollective.com/webpack/backer/34/website?requireActive=false" target="_blank"><img src="https://opencollective.com/webpack/backer/34/avatar.svg?requireActive=false"></a>
-<a href="https://opencollective.com/webpack/backer/35/website?requireActive=false" target="_blank"><img src="https://opencollective.com/webpack/backer/35/avatar.svg?requireActive=false"></a>
-<a href="https://opencollective.com/webpack/backer/36/website?requireActive=false" target="_blank"><img src="https://opencollective.com/webpack/backer/36/avatar.svg?requireActive=false"></a>
-<a href="https://opencollective.com/webpack/backer/37/website?requireActive=false" target="_blank"><img src="https://opencollective.com/webpack/backer/37/avatar.svg?requireActive=false"></a>
-<a href="https://opencollective.com/webpack/backer/38/website?requireActive=false" target="_blank"><img src="https://opencollective.com/webpack/backer/38/avatar.svg?requireActive=false"></a>
-<a href="https://opencollective.com/webpack/backer/39/website?requireActive=false" target="_blank"><img src="https://opencollective.com/webpack/backer/39/avatar.svg?requireActive=false"></a>
-<a href="https://opencollective.com/webpack/backer/40/website?requireActive=false" target="_blank"><img src="https://opencollective.com/webpack/backer/40/avatar.svg?requireActive=false"></a>
-<a href="https://opencollective.com/webpack/backer/41/website?requireActive=false" target="_blank"><img src="https://opencollective.com/webpack/backer/41/avatar.svg?requireActive=false"></a>
-<a href="https://opencollective.com/webpack/backer/42/website?requireActive=false" target="_blank"><img src="https://opencollective.com/webpack/backer/42/avatar.svg?requireActive=false"></a>
-<a href="https://opencollective.com/webpack/backer/43/website?requireActive=false" target="_blank"><img src="https://opencollective.com/webpack/backer/43/avatar.svg?requireActive=false"></a>
-<a href="https://opencollective.com/webpack/backer/44/website?requireActive=false" target="_blank"><img src="https://opencollective.com/webpack/backer/44/avatar.svg?requireActive=false"></a>
-<a href="https://opencollective.com/webpack/backer/45/website?requireActive=false" target="_blank"><img src="https://opencollective.com/webpack/backer/45/avatar.svg?requireActive=false"></a>
-<a href="https://opencollective.com/webpack/backer/46/website?requireActive=false" target="_blank"><img src="https://opencollective.com/webpack/backer/46/avatar.svg?requireActive=false"></a>
-<a href="https://opencollective.com/webpack/backer/47/website?requireActive=false" target="_blank"><img src="https://opencollective.com/webpack/backer/47/avatar.svg?requireActive=false"></a>
-<a href="https://opencollective.com/webpack/backer/48/website?requireActive=false" target="_blank"><img src="https://opencollective.com/webpack/backer/48/avatar.svg?requireActive=false"></a>
-<a href="https://opencollective.com/webpack/backer/49/website?requireActive=false" target="_blank"><img src="https://opencollective.com/webpack/backer/49/avatar.svg?requireActive=false"></a>
-<a href="https://opencollective.com/webpack/backer/50/website?requireActive=false" target="_blank"><img src="https://opencollective.com/webpack/backer/50/avatar.svg?requireActive=false"></a>
-<a href="https://opencollective.com/webpack/backer/51/website?requireActive=false" target="_blank"><img src="https://opencollective.com/webpack/backer/51/avatar.svg?requireActive=false"></a>
-<a href="https://opencollective.com/webpack/backer/52/website?requireActive=false" target="_blank"><img src="https://opencollective.com/webpack/backer/52/avatar.svg?requireActive=false"></a>
-<a href="https://opencollective.com/webpack/backer/53/website?requireActive=false" target="_blank"><img src="https://opencollective.com/webpack/backer/53/avatar.svg?requireActive=false"></a>
-<a href="https://opencollective.com/webpack/backer/54/website?requireActive=false" target="_blank"><img src="https://opencollective.com/webpack/backer/54/avatar.svg?requireActive=false"></a>
-<a href="https://opencollective.com/webpack/backer/55/website?requireActive=false" target="_blank"><img src="https://opencollective.com/webpack/backer/55/avatar.svg?requireActive=false"></a>
-<a href="https://opencollective.com/webpack/backer/56/website?requireActive=false" target="_blank"><img src="https://opencollective.com/webpack/backer/56/avatar.svg?requireActive=false"></a>
-<a href="https://opencollective.com/webpack/backer/57/website?requireActive=false" target="_blank"><img src="https://opencollective.com/webpack/backer/57/avatar.svg?requireActive=false"></a>
-<a href="https://opencollective.com/webpack/backer/58/website?requireActive=false" target="_blank"><img src="https://opencollective.com/webpack/backer/58/avatar.svg?requireActive=false"></a>
-<a href="https://opencollective.com/webpack/backer/59/website?requireActive=false" target="_blank"><img src="https://opencollective.com/webpack/backer/59/avatar.svg?requireActive=false"></a>
-<a href="https://opencollective.com/webpack/backer/60/website?requireActive=false" target="_blank"><img src="https://opencollective.com/webpack/backer/60/avatar.svg?requireActive=false"></a>
-<a href="https://opencollective.com/webpack/backer/61/website?requireActive=false" target="_blank"><img src="https://opencollective.com/webpack/backer/61/avatar.svg?requireActive=false"></a>
-<a href="https://opencollective.com/webpack/backer/62/website?requireActive=false" target="_blank"><img src="https://opencollective.com/webpack/backer/62/avatar.svg?requireActive=false"></a>
-<a href="https://opencollective.com/webpack/backer/63/website?requireActive=false" target="_blank"><img src="https://opencollective.com/webpack/backer/63/avatar.svg?requireActive=false"></a>
-<a href="https://opencollective.com/webpack/backer/64/website?requireActive=false" target="_blank"><img src="https://opencollective.com/webpack/backer/64/avatar.svg?requireActive=false"></a>
-<a href="https://opencollective.com/webpack/backer/65/website?requireActive=false" target="_blank"><img src="https://opencollective.com/webpack/backer/65/avatar.svg?requireActive=false"></a>
-<a href="https://opencollective.com/webpack/backer/66/website?requireActive=false" target="_blank"><img src="https://opencollective.com/webpack/backer/66/avatar.svg?requireActive=false"></a>
-<a href="https://opencollective.com/webpack/backer/67/website?requireActive=false" target="_blank"><img src="https://opencollective.com/webpack/backer/67/avatar.svg?requireActive=false"></a>
-<a href="https://opencollective.com/webpack/backer/68/website?requireActive=false" target="_blank"><img src="https://opencollective.com/webpack/backer/68/avatar.svg?requireActive=false"></a>
-<a href="https://opencollective.com/webpack/backer/69/website?requireActive=false" target="_blank"><img src="https://opencollective.com/webpack/backer/69/avatar.svg?requireActive=false"></a>
-<a href="https://opencollective.com/webpack/backer/70/website?requireActive=false" target="_blank"><img src="https://opencollective.com/webpack/backer/70/avatar.svg?requireActive=false"></a>
-<a href="https://opencollective.com/webpack/backer/71/website?requireActive=false" target="_blank"><img src="https://opencollective.com/webpack/backer/71/avatar.svg?requireActive=false"></a>
-<a href="https://opencollective.com/webpack/backer/72/website?requireActive=false" target="_blank"><img src="https://opencollective.com/webpack/backer/72/avatar.svg?requireActive=false"></a>
-<a href="https://opencollective.com/webpack/backer/73/website?requireActive=false" target="_blank"><img src="https://opencollective.com/webpack/backer/73/avatar.svg?requireActive=false"></a>
-<a href="https://opencollective.com/webpack/backer/74/website?requireActive=false" target="_blank"><img src="https://opencollective.com/webpack/backer/74/avatar.svg?requireActive=false"></a>
-<a href="https://opencollective.com/webpack/backer/75/website?requireActive=false" target="_blank"><img src="https://opencollective.com/webpack/backer/75/avatar.svg?requireActive=false"></a>
-<a href="https://opencollective.com/webpack/backer/76/website?requireActive=false" target="_blank"><img src="https://opencollective.com/webpack/backer/76/avatar.svg?requireActive=false"></a>
-<a href="https://opencollective.com/webpack/backer/77/website?requireActive=false" target="_blank"><img src="https://opencollective.com/webpack/backer/77/avatar.svg?requireActive=false"></a>
-<a href="https://opencollective.com/webpack/backer/78/website?requireActive=false" target="_blank"><img src="https://opencollective.com/webpack/backer/78/avatar.svg?requireActive=false"></a>
-<a href="https://opencollective.com/webpack/backer/79/website?requireActive=false" target="_blank"><img src="https://opencollective.com/webpack/backer/79/avatar.svg?requireActive=false"></a>
-<a href="https://opencollective.com/webpack/backer/80/website?requireActive=false" target="_blank"><img src="https://opencollective.com/webpack/backer/80/avatar.svg?requireActive=false"></a>
-<a href="https://opencollective.com/webpack/backer/81/website?requireActive=false" target="_blank"><img src="https://opencollective.com/webpack/backer/81/avatar.svg?requireActive=false"></a>
-<a href="https://opencollective.com/webpack/backer/82/website?requireActive=false" target="_blank"><img src="https://opencollective.com/webpack/backer/82/avatar.svg?requireActive=false"></a>
-<a href="https://opencollective.com/webpack/backer/83/website?requireActive=false" target="_blank"><img src="https://opencollective.com/webpack/backer/83/avatar.svg?requireActive=false"></a>
-<a href="https://opencollective.com/webpack/backer/84/website?requireActive=false" target="_blank"><img src="https://opencollective.com/webpack/backer/84/avatar.svg?requireActive=false"></a>
-<a href="https://opencollective.com/webpack/backer/85/website?requireActive=false" target="_blank"><img src="https://opencollective.com/webpack/backer/85/avatar.svg?requireActive=false"></a>
-<a href="https://opencollective.com/webpack/backer/86/website?requireActive=false" target="_blank"><img src="https://opencollective.com/webpack/backer/86/avatar.svg?requireActive=false"></a>
-<a href="https://opencollective.com/webpack/backer/87/website?requireActive=false" target="_blank"><img src="https://opencollective.com/webpack/backer/87/avatar.svg?requireActive=false"></a>
-<a href="https://opencollective.com/webpack/backer/88/website?requireActive=false" target="_blank"><img src="https://opencollective.com/webpack/backer/88/avatar.svg?requireActive=false"></a>
-<a href="https://opencollective.com/webpack/backer/89/website?requireActive=false" target="_blank"><img src="https://opencollective.com/webpack/backer/89/avatar.svg?requireActive=false"></a>
-<a href="https://opencollective.com/webpack/backer/90/website?requireActive=false" target="_blank"><img src="https://opencollective.com/webpack/backer/90/avatar.svg?requireActive=false"></a>
-<a href="https://opencollective.com/webpack/backer/91/website?requireActive=false" target="_blank"><img src="https://opencollective.com/webpack/backer/91/avatar.svg?requireActive=false"></a>
-<a href="https://opencollective.com/webpack/backer/92/website?requireActive=false" target="_blank"><img src="https://opencollective.com/webpack/backer/92/avatar.svg?requireActive=false"></a>
-<a href="https://opencollective.com/webpack/backer/93/website?requireActive=false" target="_blank"><img src="https://opencollective.com/webpack/backer/93/avatar.svg?requireActive=false"></a>
-<a href="https://opencollective.com/webpack/backer/94/website?requireActive=false" target="_blank"><img src="https://opencollective.com/webpack/backer/94/avatar.svg?requireActive=false"></a>
-<a href="https://opencollective.com/webpack/backer/95/website?requireActive=false" target="_blank"><img src="https://opencollective.com/webpack/backer/95/avatar.svg?requireActive=false"></a>
-<a href="https://opencollective.com/webpack/backer/96/website?requireActive=false" target="_blank"><img src="https://opencollective.com/webpack/backer/96/avatar.svg?requireActive=false"></a>
-<a href="https://opencollective.com/webpack/backer/97/website?requireActive=false" target="_blank"><img src="https://opencollective.com/webpack/backer/97/avatar.svg?requireActive=false"></a>
-<a href="https://opencollective.com/webpack/backer/98/website?requireActive=false" target="_blank"><img src="https://opencollective.com/webpack/backer/98/avatar.svg?requireActive=false"></a>
-<a href="https://opencollective.com/webpack/backer/99/website?requireActive=false" target="_blank"><img src="https://opencollective.com/webpack/backer/99/avatar.svg?requireActive=false"></a>
-<a href="https://opencollective.com/webpack/backer/100/website?requireActive=false" target="_blank"><img src="https://opencollective.com/webpack/backer/100/avatar.svg?requireActive=false"></a>
-
-<h2 align="center">Special Thanks to</h2>
-<p align="center">(In chronological order)</p>
-
-* @google for [Google Web Toolkit (GWT)](http://www.gwtproject.org/), which aims to compile Java to JavaScript. It features a similar [Code Splitting](http://www.gwtproject.org/doc/latest/DevGuideCodeSplitting.html) as webpack.
-* @medikoo for [modules-webmake](https://github.com/medikoo/modules-webmake), which is a similar project. webpack was born because I wanted Code Splitting for modules-webmake. Interestingly the [Code Splitting issue is still open](https://github.com/medikoo/modules-webmake/issues/7) (thanks also to @Phoscur for the discussion).
-* @substack for [browserify](http://browserify.org/), which is a similar project and source for many ideas.
-* @jrburke for [require.js](http://requirejs.org/), which is a similar project and source for many ideas.
-* @defunctzombie for the [browser-field spec](https://gist.github.com/defunctzombie/4339901), which makes modules available for node.js, browserify and webpack.
-* Every early webpack user, which contributed to webpack by writing issues or PRs. You influenced the direction...
-* @shama, @jhnns and @sokra for maintaining this project
-* Everyone who has written a loader for webpack. You are the ecosystem...
-* Everyone I forgot to mention here, but also influenced webpack.
-
-
-[npm]: https://img.shields.io/npm/v/webpack.svg
-[npm-url]: https://npmjs.com/package/webpack
-
-[node]: https://img.shields.io/node/v/webpack.svg
-[node-url]: https://nodejs.org
-
-[deps]: https://img.shields.io/david/webpack/webpack.svg
-[deps-url]: https://david-dm.org/webpack/webpack
-
-[tests]: https://img.shields.io/travis/webpack/webpack/master.svg
-[tests-url]: https://travis-ci.org/webpack/webpack
-
-[prs]: https://img.shields.io/badge/PRs-welcome-brightgreen.svg
-[prs-url]: https://webpack.js.org/contribute/
-
-[builds-url]: https://ci.appveyor.com/project/sokra/webpack/branch/master
-[builds]: https://ci.appveyor.com/api/projects/status/github/webpack/webpack?svg=true
-
-[builds2]: https://dev.azure.com/webpack/webpack/_apis/build/status/webpack.webpack
-[builds2-url]: https://dev.azure.com/webpack/webpack/_build/latest?definitionId=3
-
-[licenses-url]: https://app.fossa.io/projects/git%2Bhttps%3A%2F%2Fgithub.com%2Fwebpack%2Fwebpack?ref=badge_shield
-[licenses]: https://app.fossa.io/api/projects/git%2Bhttps%3A%2F%2Fgithub.com%2Fwebpack%2Fwebpack.svg?type=shield
-
-[cover]: https://img.shields.io/coveralls/webpack/webpack.svg
-[cover-url]: https://coveralls.io/r/webpack/webpack/

+ 0 - 9
node_modules.bak/webpack/SECURITY.md

@@ -1,9 +0,0 @@
-# Reporting Security Issues
-
-If you discover a security issue in webpack, please report it by sending an
-email to [webpack@opencollective.com](mailto:webpack@opencollective.com).
-
-This will allow us to assess the risk, and make a fix available before we add a
-bug report to the GitHub repository.
-
-Thanks for helping make webpack safe for everyone.

+ 0 - 171
node_modules.bak/webpack/bin/webpack.js

@@ -1,171 +0,0 @@
-#!/usr/bin/env node
-
-// @ts-ignore
-process.exitCode = 0;
-
-/**
- * @param {string} command process to run
- * @param {string[]} args commandline arguments
- * @returns {Promise<void>} promise
- */
-const runCommand = (command, args) => {
-	const cp = require("child_process");
-	return new Promise((resolve, reject) => {
-		const executedCommand = cp.spawn(command, args, {
-			stdio: "inherit",
-			shell: true
-		});
-
-		executedCommand.on("error", error => {
-			reject(error);
-		});
-
-		executedCommand.on("exit", code => {
-			if (code === 0) {
-				resolve();
-			} else {
-				reject();
-			}
-		});
-	});
-};
-
-/**
- * @param {string} packageName name of the package
- * @returns {boolean} is the package installed?
- */
-const isInstalled = packageName => {
-	try {
-		require.resolve(packageName);
-
-		return true;
-	} catch (err) {
-		return false;
-	}
-};
-
-/**
- * @typedef {Object} CliOption
- * @property {string} name display name
- * @property {string} package npm package name
- * @property {string} binName name of the executable file
- * @property {string} alias shortcut for choice
- * @property {boolean} installed currently installed?
- * @property {boolean} recommended is recommended
- * @property {string} url homepage
- * @property {string} description description
- */
-
-/** @type {CliOption[]} */
-const CLIs = [
-	{
-		name: "webpack-cli",
-		package: "webpack-cli",
-		binName: "webpack-cli",
-		alias: "cli",
-		installed: isInstalled("webpack-cli"),
-		recommended: true,
-		url: "https://github.com/webpack/webpack-cli",
-		description: "The original webpack full-featured CLI."
-	},
-	{
-		name: "webpack-command",
-		package: "webpack-command",
-		binName: "webpack-command",
-		alias: "command",
-		installed: isInstalled("webpack-command"),
-		recommended: false,
-		url: "https://github.com/webpack-contrib/webpack-command",
-		description: "A lightweight, opinionated webpack CLI."
-	}
-];
-
-const installedClis = CLIs.filter(cli => cli.installed);
-
-if (installedClis.length === 0) {
-	const path = require("path");
-	const fs = require("fs");
-	const readLine = require("readline");
-
-	let notify =
-		"One CLI for webpack must be installed. These are recommended choices, delivered as separate packages:";
-
-	for (const item of CLIs) {
-		if (item.recommended) {
-			notify += `\n - ${item.name} (${item.url})\n   ${item.description}`;
-		}
-	}
-
-	console.error(notify);
-
-	const isYarn = fs.existsSync(path.resolve(process.cwd(), "yarn.lock"));
-
-	const packageManager = isYarn ? "yarn" : "npm";
-	const installOptions = [isYarn ? "add" : "install", "-D"];
-
-	console.error(
-		`We will use "${packageManager}" to install the CLI via "${packageManager} ${installOptions.join(
-			" "
-		)}".`
-	);
-
-	const question = `Do you want to install 'webpack-cli' (yes/no): `;
-
-	const questionInterface = readLine.createInterface({
-		input: process.stdin,
-		output: process.stderr
-	});
-	questionInterface.question(question, answer => {
-		questionInterface.close();
-
-		const normalizedAnswer = answer.toLowerCase().startsWith("y");
-
-		if (!normalizedAnswer) {
-			console.error(
-				"You need to install 'webpack-cli' to use webpack via CLI.\n" +
-					"You can also install the CLI manually."
-			);
-			process.exitCode = 1;
-
-			return;
-		}
-
-		const packageName = "webpack-cli";
-
-		console.log(
-			`Installing '${packageName}' (running '${packageManager} ${installOptions.join(
-				" "
-			)} ${packageName}')...`
-		);
-
-		runCommand(packageManager, installOptions.concat(packageName))
-			.then(() => {
-				require(packageName); //eslint-disable-line
-			})
-			.catch(error => {
-				console.error(error);
-				process.exitCode = 1;
-			});
-	});
-} else if (installedClis.length === 1) {
-	const path = require("path");
-	const pkgPath = require.resolve(`${installedClis[0].package}/package.json`);
-	// eslint-disable-next-line node/no-missing-require
-	const pkg = require(pkgPath);
-	// eslint-disable-next-line node/no-missing-require
-	require(path.resolve(
-		path.dirname(pkgPath),
-		pkg.bin[installedClis[0].binName]
-	));
-} else {
-	console.warn(
-		`You have installed ${installedClis
-			.map(item => item.name)
-			.join(
-				" and "
-			)} together. To work with the "webpack" command you need only one CLI package, please remove one of them or use them directly via their binary.`
-	);
-
-	// @ts-ignore
-	process.exitCode = 1;
-}

+ 0 - 3
node_modules.bak/webpack/buildin/amd-define.js

@@ -1,3 +0,0 @@
-module.exports = function() {
-	throw new Error("define cannot be used indirect");
-};

+ 0 - 2
node_modules.bak/webpack/buildin/amd-options.js

@@ -1,2 +0,0 @@
-/* globals __webpack_amd_options__ */
-module.exports = __webpack_amd_options__;

+ 0 - 20
node_modules.bak/webpack/buildin/global.js

@@ -1,20 +0,0 @@
-var g;
-
-// This works in non-strict mode
-g = (function() {
-	return this;
-})();
-
-try {
-	// This works if eval is allowed (see CSP)
-	g = g || new Function("return this")();
-} catch (e) {
-	// This works if the window reference is available
-	if (typeof window === "object") g = window;
-}
-
-// g can still be undefined, but nothing to do about it...
-// We return undefined, instead of nothing here, so it's
-// easier to handle this case. if(!global) { ...}
-
-module.exports = g;

+ 0 - 24
node_modules.bak/webpack/buildin/harmony-module.js

@@ -1,24 +0,0 @@
-module.exports = function(originalModule) {
-	if (!originalModule.webpackPolyfill) {
-		var module = Object.create(originalModule);
-		// module.parent = undefined by default
-		if (!module.children) module.children = [];
-		Object.defineProperty(module, "loaded", {
-			enumerable: true,
-			get: function() {
-				return module.l;
-			}
-		});
-		Object.defineProperty(module, "id", {
-			enumerable: true,
-			get: function() {
-				return module.i;
-			}
-		});
-		Object.defineProperty(module, "exports", {
-			enumerable: true
-		});
-		module.webpackPolyfill = 1;
-	}
-	return module;
-};

+ 0 - 22
node_modules.bak/webpack/buildin/module.js

@@ -1,22 +0,0 @@
-module.exports = function(module) {
-	if (!module.webpackPolyfill) {
-		module.deprecate = function() {};
-		module.paths = [];
-		// module.parent = undefined by default
-		if (!module.children) module.children = [];
-		Object.defineProperty(module, "loaded", {
-			enumerable: true,
-			get: function() {
-				return module.l;
-			}
-		});
-		Object.defineProperty(module, "id", {
-			enumerable: true,
-			get: function() {
-				return module.i;
-			}
-		});
-		module.webpackPolyfill = 1;
-	}
-	return module;
-};

+ 0 - 7
node_modules.bak/webpack/buildin/system.js

@@ -1,7 +0,0 @@
-// Provide a "System" global.
-module.exports = {
-	// Make sure import is only used as "System.import"
-	import: function() {
-		throw new Error("System.import cannot be used indirectly");
-	}
-};

Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 0 - 1466
node_modules.bak/webpack/declarations/WebpackOptions.d.ts


+ 0 - 49
node_modules.bak/webpack/declarations/plugins/BannerPlugin.d.ts

@@ -1,49 +0,0 @@
-/**
- * This file was automatically generated.
- * DO NOT MODIFY BY HAND.
- * Run `yarn special-lint-fix` to update
- */
-
-export type BannerPluginArgument =
-	| BannerPluginOptions
-	| BannerFunction
-	| string;
-/**
- * The banner as function, it will be wrapped in a comment
- */
-export type BannerFunction = (data: {
-	hash: string;
-	chunk: import("../../lib/Chunk");
-	filename: string;
-	basename: string;
-	query: string;
-}) => string;
-export type Rules = Rule[] | Rule;
-export type Rule = RegExp | string;
-
-export interface BannerPluginOptions {
-	/**
-	 * Specifies the banner
-	 */
-	banner: BannerFunction | string;
-	/**
-	 * If true, the banner will only be added to the entry chunks
-	 */
-	entryOnly?: boolean;
-	/**
-	 * Exclude all modules matching any of these conditions
-	 */
-	exclude?: Rules;
-	/**
-	 * Include all modules matching any of these conditions
-	 */
-	include?: Rules;
-	/**
-	 * If true, banner will not be wrapped in a comment
-	 */
-	raw?: boolean;
-	/**
-	 * Include all modules that pass test assertion
-	 */
-	test?: Rules;
-}

+ 0 - 32
node_modules.bak/webpack/declarations/plugins/DllPlugin.d.ts

@@ -1,32 +0,0 @@
-/**
- * This file was automatically generated.
- * DO NOT MODIFY BY HAND.
- * Run `yarn special-lint-fix` to update
- */
-
-export interface DllPluginOptions {
-	/**
-	 * Context of requests in the manifest file (defaults to the webpack context)
-	 */
-	context?: string;
-	/**
-	 * If true, only entry points will be exposed
-	 */
-	entryOnly?: boolean;
-	/**
-	 * If true, manifest json file (output) will be formatted
-	 */
-	format?: boolean;
-	/**
-	 * Name of the exposed dll function (external name, use value of 'output.library')
-	 */
-	name?: string;
-	/**
-	 * Absolute path to the manifest json file (output)
-	 */
-	path: string;
-	/**
-	 * Type of the dll bundle (external type, use value of 'output.libraryTarget')
-	 */
-	type?: string;
-}

+ 0 - 126
node_modules.bak/webpack/declarations/plugins/DllReferencePlugin.d.ts

@@ -1,126 +0,0 @@
-/**
- * This file was automatically generated.
- * DO NOT MODIFY BY HAND.
- * Run `yarn special-lint-fix` to update
- */
-
-export type DllReferencePluginOptions =
-	| {
-			/**
-			 * (absolute path) context of requests in the manifest (or content property)
-			 */
-			context?: string;
-			/**
-			 * Extensions used to resolve modules in the dll bundle (only used when using 'scope')
-			 */
-			extensions?: string[];
-			/**
-			 * An object containing content and name or a string to the absolute path of the JSON manifest to be loaded upon compilation
-			 */
-			manifest: DllReferencePluginOptionsManifest | string;
-			/**
-			 * The name where the dll is exposed (external name, defaults to manifest.name)
-			 */
-			name?: string;
-			/**
-			 * Prefix which is used for accessing the content of the dll
-			 */
-			scope?: string;
-			/**
-			 * How the dll is exposed (libraryTarget, defaults to manifest.type)
-			 */
-			sourceType?: DllReferencePluginOptionsSourceType;
-			/**
-			 * The way how the export of the dll bundle is used
-			 */
-			type?: "require" | "object";
-	  }
-	| {
-			/**
-			 * The mappings from request to module info
-			 */
-			content: DllReferencePluginOptionsContent;
-			/**
-			 * (absolute path) context of requests in the manifest (or content property)
-			 */
-			context?: string;
-			/**
-			 * Extensions used to resolve modules in the dll bundle (only used when using 'scope')
-			 */
-			extensions?: string[];
-			/**
-			 * The name where the dll is exposed (external name)
-			 */
-			name: string;
-			/**
-			 * Prefix which is used for accessing the content of the dll
-			 */
-			scope?: string;
-			/**
-			 * How the dll is exposed (libraryTarget)
-			 */
-			sourceType?: DllReferencePluginOptionsSourceType;
-			/**
-			 * The way how the export of the dll bundle is used
-			 */
-			type?: "require" | "object";
-	  };
-/**
- * The type how the dll is exposed (external type)
- */
-export type DllReferencePluginOptionsSourceType =
-	| "var"
-	| "assign"
-	| "this"
-	| "window"
-	| "global"
-	| "commonjs"
-	| "commonjs2"
-	| "commonjs-module"
-	| "amd"
-	| "amd-require"
-	| "umd"
-	| "umd2"
-	| "jsonp";
-
-/**
- * An object containing content, name and type
- */
-export interface DllReferencePluginOptionsManifest {
-	/**
-	 * The mappings from request to module info
-	 */
-	content: DllReferencePluginOptionsContent;
-	/**
-	 * The name where the dll is exposed (external name)
-	 */
-	name?: string;
-	/**
-	 * The type how the dll is exposed (external type)
-	 */
-	type?: DllReferencePluginOptionsSourceType;
-}
-/**
- * The mappings from request to module info
- */
-export interface DllReferencePluginOptionsContent {
-	/**
-	 * Module info
-	 */
-	[k: string]: {
-		/**
-		 * Meta information about the module
-		 */
-		buildMeta?: {
-			[k: string]: any;
-		};
-		/**
-		 * Information about the provided exports of the module
-		 */
-		exports?: true | string[];
-		/**
-		 * Module ID
-		 */
-		id: number | string;
-	};
-}

+ 0 - 24
node_modules.bak/webpack/declarations/plugins/HashedModuleIdsPlugin.d.ts

@@ -1,24 +0,0 @@
-/**
- * This file was automatically generated.
- * DO NOT MODIFY BY HAND.
- * Run `yarn special-lint-fix` to update
- */
-
-export interface HashedModuleIdsPluginOptions {
-	/**
-	 * The context directory for creating names.
-	 */
-	context?: string;
-	/**
-	 * The encoding to use when generating the hash, defaults to 'base64'. All encodings from Node.JS' hash.digest are supported.
-	 */
-	hashDigest?: "hex" | "latin1" | "base64";
-	/**
-	 * The prefix length of the hash digest to use, defaults to 4.
-	 */
-	hashDigestLength?: number;
-	/**
-	 * The hashing algorithm to use, defaults to 'md5'. All functions from Node.JS' crypto.createHash are supported.
-	 */
-	hashFunction?: string;
-}

+ 0 - 27
node_modules.bak/webpack/declarations/plugins/IgnorePlugin.d.ts

@@ -1,27 +0,0 @@
-/**
- * This file was automatically generated.
- * DO NOT MODIFY BY HAND.
- * Run `yarn special-lint-fix` to update
- */
-
-export type IgnorePluginOptions =
-	| {
-			/**
-			 * A RegExp to test the context (directory) against
-			 */
-			contextRegExp?: RegExp;
-			/**
-			 * A RegExp to test the request against
-			 */
-			resourceRegExp?: RegExp;
-	  }
-	| {
-			/**
-			 * A filter function for context
-			 */
-			checkContext?: (context: string) => boolean;
-			/**
-			 * A filter function for resource and context
-			 */
-			checkResource?: (resource: string, context: string) => boolean;
-	  };

+ 0 - 27
node_modules.bak/webpack/declarations/plugins/LoaderOptionsPlugin.d.ts

@@ -1,27 +0,0 @@
-/**
- * This file was automatically generated.
- * DO NOT MODIFY BY HAND.
- * Run `yarn special-lint-fix` to update
- */
-
-export interface LoaderOptionsPluginOptions {
-	/**
-	 * Whether loaders should be in debug mode or not. debug will be removed as of webpack 3
-	 */
-	debug?: boolean;
-	/**
-	 * Where loaders can be switched to minimize mode
-	 */
-	minimize?: boolean;
-	/**
-	 * A configuration object that can be used to configure older loaders
-	 */
-	options?: {
-		/**
-		 * The context that can be used to configure older loaders
-		 */
-		context?: string;
-		[k: string]: any;
-	};
-	[k: string]: any;
-}

+ 0 - 42
node_modules.bak/webpack/declarations/plugins/ProgressPlugin.d.ts

@@ -1,42 +0,0 @@
-/**
- * This file was automatically generated.
- * DO NOT MODIFY BY HAND.
- * Run `yarn special-lint-fix` to update
- */
-
-export type ProgressPluginArgument = ProgressPluginOptions | HandlerFunction;
-/**
- * Function that executes for every progress step
- */
-export type HandlerFunction = (
-	percentage: number,
-	msg: string,
-	...args: string[]
-) => void;
-
-export interface ProgressPluginOptions {
-	/**
-	 * Show active modules count and one active module in progress message
-	 */
-	activeModules?: boolean;
-	/**
-	 * Show entries count in progress message
-	 */
-	entries?: boolean;
-	/**
-	 * Function that executes for every progress step
-	 */
-	handler?: HandlerFunction;
-	/**
-	 * Show modules count in progress message
-	 */
-	modules?: boolean;
-	/**
-	 * Minimum modules count to start with. Only for mode=modules. Default: 500
-	 */
-	modulesCount?: number;
-	/**
-	 * Collect profile data for progress steps. Default: false
-	 */
-	profile?: true | false | null;
-}

+ 0 - 94
node_modules.bak/webpack/declarations/plugins/SourceMapDevToolPlugin.d.ts

@@ -1,94 +0,0 @@
-/**
- * This file was automatically generated.
- * DO NOT MODIFY BY HAND.
- * Run `yarn special-lint-fix` to update
- */
-
-/**
- * This interface was referenced by `SourceMapDevToolPluginOptions`'s JSON-Schema
- * via the `definition` "rules".
- */
-export type Rules = Rule[] | Rule;
-/**
- * This interface was referenced by `SourceMapDevToolPluginOptions`'s JSON-Schema
- * via the `definition` "rule".
- */
-export type Rule = RegExp | string;
-
-export interface SourceMapDevToolPluginOptions {
-	/**
-	 * Appends the given value to the original asset. Usually the #sourceMappingURL comment. [url] is replaced with a URL to the source map file. false disables the appending
-	 */
-	append?: (false | null) | string;
-	/**
-	 * Indicates whether column mappings should be used (defaults to true)
-	 */
-	columns?: boolean;
-	/**
-	 * Exclude modules that match the given value from source map generation
-	 */
-	exclude?: Rules;
-	/**
-	 * Generator string or function to create identifiers of modules for the 'sources' array in the SourceMap used only if 'moduleFilenameTemplate' would result in a conflict
-	 */
-	fallbackModuleFilenameTemplate?: Function | string;
-	/**
-	 * Path prefix to which the [file] placeholder is relative to
-	 */
-	fileContext?: string;
-	/**
-	 * Defines the output filename of the SourceMap (will be inlined if no value is provided)
-	 */
-	filename?: (false | null) | string;
-	/**
-	 * Include source maps for module paths that match the given value
-	 */
-	include?: Rules;
-	/**
-	 * (deprecated) try to map original files line to line to generated files
-	 */
-	lineToLine?:
-		| boolean
-		| {
-				/**
-				 * Exclude modules that match the given value from source map generation
-				 */
-				exclude?: Rules;
-				/**
-				 * Include source maps for module paths that match the given value
-				 */
-				include?: Rules;
-				/**
-				 * Include source maps for modules based on their extension (defaults to .js and .css)
-				 */
-				test?: Rules;
-		  };
-	/**
-	 * Indicates whether SourceMaps from loaders should be used (defaults to true)
-	 */
-	module?: boolean;
-	/**
-	 * Generator string or function to create identifiers of modules for the 'sources' array in the SourceMap
-	 */
-	moduleFilenameTemplate?: Function | string;
-	/**
-	 * Namespace prefix to allow multiple webpack roots in the devtools
-	 */
-	namespace?: string;
-	/**
-	 * Omit the 'sourceContents' array from the SourceMap
-	 */
-	noSources?: boolean;
-	/**
-	 * Provide a custom public path for the SourceMapping comment
-	 */
-	publicPath?: string;
-	/**
-	 * Provide a custom value for the 'sourceRoot' property in the SourceMap
-	 */
-	sourceRoot?: string;
-	/**
-	 * Include source maps for modules based on their extension (defaults to .js and .css)
-	 */
-	test?: Rules;
-}

+ 0 - 10
node_modules.bak/webpack/declarations/plugins/WatchIgnorePlugin.d.ts

@@ -1,10 +0,0 @@
-/**
- * This file was automatically generated.
- * DO NOT MODIFY BY HAND.
- * Run `yarn special-lint-fix` to update
- */
-
-/**
- * A list of RegExps or absolute paths to directories or files that should be ignored
- */
-export type WatchIgnorePluginOptions = (string | RegExp)[];

+ 0 - 12
node_modules.bak/webpack/declarations/plugins/debug/ProfilingPlugin.d.ts

@@ -1,12 +0,0 @@
-/**
- * This file was automatically generated.
- * DO NOT MODIFY BY HAND.
- * Run `yarn special-lint-fix` to update
- */
-
-export interface ProfilingPluginOptions {
-	/**
-	 * Path to the output file e.g. `profiling/events.json`. Defaults to `events.json`.
-	 */
-	outputPath?: string;
-}

+ 0 - 24
node_modules.bak/webpack/declarations/plugins/optimize/AggressiveSplittingPlugin.d.ts

@@ -1,24 +0,0 @@
-/**
- * This file was automatically generated.
- * DO NOT MODIFY BY HAND.
- * Run `yarn special-lint-fix` to update
- */
-
-export interface AggressiveSplittingPluginOptions {
-	/**
-	 * Default: 0
-	 */
-	chunkOverhead?: number;
-	/**
-	 * Default: 1
-	 */
-	entryChunkMultiplicator?: number;
-	/**
-	 * Byte, maxsize of per file. Default: 51200
-	 */
-	maxSize?: number;
-	/**
-	 * Byte, split point. Default: 30720
-	 */
-	minSize?: number;
-}

+ 0 - 16
node_modules.bak/webpack/declarations/plugins/optimize/LimitChunkCountPlugin.d.ts

@@ -1,16 +0,0 @@
-/**
- * This file was automatically generated.
- * DO NOT MODIFY BY HAND.
- * Run `yarn special-lint-fix` to update
- */
-
-export interface LimitChunkCountPluginOptions {
-	/**
-	 * Limit the maximum number of chunks using a value greater greater than or equal to 1
-	 */
-	maxChunks?: number;
-	/**
-	 * Set a minimum chunk size
-	 */
-	minChunkSize?: number;
-}

+ 0 - 12
node_modules.bak/webpack/declarations/plugins/optimize/MinChunkSizePlugin.d.ts

@@ -1,12 +0,0 @@
-/**
- * This file was automatically generated.
- * DO NOT MODIFY BY HAND.
- * Run `yarn special-lint-fix` to update
- */
-
-export interface MinChunkSizePluginOptions {
-	/**
-	 * Minimum number of characters
-	 */
-	minChunkSize: number;
-}

+ 0 - 12
node_modules.bak/webpack/declarations/plugins/optimize/OccurrenceOrderChunkIdsPlugin.d.ts

@@ -1,12 +0,0 @@
-/**
- * This file was automatically generated.
- * DO NOT MODIFY BY HAND.
- * Run `yarn special-lint-fix` to update
- */
-
-export interface OccurrenceOrderChunkIdsPluginOptions {
-	/**
-	 * Prioritise initial size over total size
-	 */
-	prioritiseInitial?: boolean;
-}

+ 0 - 12
node_modules.bak/webpack/declarations/plugins/optimize/OccurrenceOrderModuleIdsPlugin.d.ts

@@ -1,12 +0,0 @@
-/**
- * This file was automatically generated.
- * DO NOT MODIFY BY HAND.
- * Run `yarn special-lint-fix` to update
- */
-
-export interface OccurrenceOrderModuleIdsPluginOptions {
-	/**
-	 * Prioritise initial size over total size
-	 */
-	prioritiseInitial?: boolean;
-}

+ 0 - 61
node_modules.bak/webpack/hot/dev-server.js

@@ -1,61 +0,0 @@
-/*
-	MIT License http://www.opensource.org/licenses/mit-license.php
-	Author Tobias Koppers @sokra
-*/
-/*globals window __webpack_hash__ */
-if (module.hot) {
-	var lastHash;
-	var upToDate = function upToDate() {
-		return lastHash.indexOf(__webpack_hash__) >= 0;
-	};
-	var log = require("./log");
-	var check = function check() {
-		module.hot
-			.check(true)
-			.then(function(updatedModules) {
-				if (!updatedModules) {
-					log("warning", "[HMR] Cannot find update. Need to do a full reload!");
-					log(
-						"warning",
-						"[HMR] (Probably because of restarting the webpack-dev-server)"
-					);
-					window.location.reload();
-					return;
-				}
-
-				if (!upToDate()) {
-					check();
-				}
-
-				require("./log-apply-result")(updatedModules, updatedModules);
-
-				if (upToDate()) {
-					log("info", "[HMR] App is up to date.");
-				}
-			})
-			.catch(function(err) {
-				var status = module.hot.status();
-				if (["abort", "fail"].indexOf(status) >= 0) {
-					log(
-						"warning",
-						"[HMR] Cannot apply update. Need to do a full reload!"
-					);
-					log("warning", "[HMR] " + log.formatError(err));
-					window.location.reload();
-				} else {
-					log("warning", "[HMR] Update failed: " + log.formatError(err));
-				}
-			});
-	};
-	var hotEmitter = require("./emitter");
-	hotEmitter.on("webpackHotUpdate", function(currentHash) {
-		lastHash = currentHash;
-		if (!upToDate() && module.hot.status() === "idle") {
-			log("info", "[HMR] Checking for updates on the server...");
-			check();
-		}
-	});
-	log("info", "[HMR] Waiting for update signal from WDS...");
-} else {
-	throw new Error("[HMR] Hot Module Replacement is disabled.");
-}

+ 0 - 2
node_modules.bak/webpack/hot/emitter.js

@@ -1,2 +0,0 @@
-var EventEmitter = require("events");
-module.exports = new EventEmitter();

+ 0 - 44
node_modules.bak/webpack/hot/log-apply-result.js

@@ -1,44 +0,0 @@
-/*
-	MIT License http://www.opensource.org/licenses/mit-license.php
-	Author Tobias Koppers @sokra
-*/
-module.exports = function(updatedModules, renewedModules) {
-	var unacceptedModules = updatedModules.filter(function(moduleId) {
-		return renewedModules && renewedModules.indexOf(moduleId) < 0;
-	});
-	var log = require("./log");
-
-	if (unacceptedModules.length > 0) {
-		log(
-			"warning",
-			"[HMR] The following modules couldn't be hot updated: (They would need a full reload!)"
-		);
-		unacceptedModules.forEach(function(moduleId) {
-			log("warning", "[HMR]  - " + moduleId);
-		});
-	}
-
-	if (!renewedModules || renewedModules.length === 0) {
-		log("info", "[HMR] Nothing hot updated.");
-	} else {
-		log("info", "[HMR] Updated modules:");
-		renewedModules.forEach(function(moduleId) {
-			if (typeof moduleId === "string" && moduleId.indexOf("!") !== -1) {
-				var parts = moduleId.split("!");
-				log.groupCollapsed("info", "[HMR]  - " + parts.pop());
-				log("info", "[HMR]  - " + moduleId);
-				log.groupEnd("info");
-			} else {
-				log("info", "[HMR]  - " + moduleId);
-			}
-		});
-		var numberIds = renewedModules.every(function(moduleId) {
-			return typeof moduleId === "number";
-		});
-		if (numberIds)
-			log(
-				"info",
-				"[HMR] Consider using the NamedModulesPlugin for module names."
-			);
-	}
-};

+ 0 - 59
node_modules.bak/webpack/hot/log.js

@@ -1,59 +0,0 @@
-var logLevel = "info";
-
-function dummy() {}
-
-function shouldLog(level) {
-	var shouldLog =
-		(logLevel === "info" && level === "info") ||
-		(["info", "warning"].indexOf(logLevel) >= 0 && level === "warning") ||
-		(["info", "warning", "error"].indexOf(logLevel) >= 0 && level === "error");
-	return shouldLog;
-}
-
-function logGroup(logFn) {
-	return function(level, msg) {
-		if (shouldLog(level)) {
-			logFn(msg);
-		}
-	};
-}
-
-module.exports = function(level, msg) {
-	if (shouldLog(level)) {
-		if (level === "info") {
-			console.log(msg);
-		} else if (level === "warning") {
-			console.warn(msg);
-		} else if (level === "error") {
-			console.error(msg);
-		}
-	}
-};
-
-/* eslint-disable node/no-unsupported-features/node-builtins */
-var group = console.group || dummy;
-var groupCollapsed = console.groupCollapsed || dummy;
-var groupEnd = console.groupEnd || dummy;
-/* eslint-enable node/no-unsupported-features/node-builtins */
-
-module.exports.group = logGroup(group);
-
-module.exports.groupCollapsed = logGroup(groupCollapsed);
-
-module.exports.groupEnd = logGroup(groupEnd);
-
-module.exports.setLogLevel = function(level) {
-	logLevel = level;
-};
-
-module.exports.formatError = function(err) {
-	var message = err.message;
-	var stack = err.stack;
-	if (!stack) {
-		return message;
-	} else if (stack.indexOf(message) < 0) {
-		return message + "\n" + stack;
-	} else {
-		return stack;
-	}
-};

+ 0 - 102
node_modules.bak/webpack/hot/only-dev-server.js

@@ -1,102 +0,0 @@
-/*
-	MIT License http://www.opensource.org/licenses/mit-license.php
-	Author Tobias Koppers @sokra
-*/
-/*globals __webpack_hash__ */
-if (module.hot) {
-	var lastHash;
-	var upToDate = function upToDate() {
-		return lastHash.indexOf(__webpack_hash__) >= 0;
-	};
-	var log = require("./log");
-	var check = function check() {
-		module.hot
-			.check()
-			.then(function(updatedModules) {
-				if (!updatedModules) {
-					log("warning", "[HMR] Cannot find update. Need to do a full reload!");
-					log(
-						"warning",
-						"[HMR] (Probably because of restarting the webpack-dev-server)"
-					);
-					return;
-				}
-
-				return module.hot
-					.apply({
-						ignoreUnaccepted: true,
-						ignoreDeclined: true,
-						ignoreErrored: true,
-						onUnaccepted: function(data) {
-							log(
-								"warning",
-								"Ignored an update to unaccepted module " +
-									data.chain.join(" -> ")
-							);
-						},
-						onDeclined: function(data) {
-							log(
-								"warning",
-								"Ignored an update to declined module " +
-									data.chain.join(" -> ")
-							);
-						},
-						onErrored: function(data) {
-							log("error", data.error);
-							log(
-								"warning",
-								"Ignored an error while updating module " +
-									data.moduleId +
-									" (" +
-									data.type +
-									")"
-							);
-						}
-					})
-					.then(function(renewedModules) {
-						if (!upToDate()) {
-							check();
-						}
-
-						require("./log-apply-result")(updatedModules, renewedModules);
-
-						if (upToDate()) {
-							log("info", "[HMR] App is up to date.");
-						}
-					});
-			})
-			.catch(function(err) {
-				var status = module.hot.status();
-				if (["abort", "fail"].indexOf(status) >= 0) {
-					log(
-						"warning",
-						"[HMR] Cannot check for update. Need to do a full reload!"
-					);
-					log("warning", "[HMR] " + log.formatError(err));
-				} else {
-					log("warning", "[HMR] Update check failed: " + log.formatError(err));
-				}
-			});
-	};
-	var hotEmitter = require("./emitter");
-	hotEmitter.on("webpackHotUpdate", function(currentHash) {
-		lastHash = currentHash;
-		if (!upToDate()) {
-			var status = module.hot.status();
-			if (status === "idle") {
-				log("info", "[HMR] Checking for updates on the server...");
-				check();
-			} else if (["abort", "fail"].indexOf(status) >= 0) {
-				log(
-					"warning",
-					"[HMR] Cannot apply update as a previous update " +
-						status +
-						"ed. Need to do a full reload!"
-				);
-			}
-		}
-	});
-	log("info", "[HMR] Waiting for update signal from WDS...");
-} else {
-	throw new Error("[HMR] Hot Module Replacement is disabled.");
-}

+ 0 - 37
node_modules.bak/webpack/hot/poll.js

@@ -1,37 +0,0 @@
-/*
-	MIT License http://www.opensource.org/licenses/mit-license.php
-	Author Tobias Koppers @sokra
-*/
-/*globals __resourceQuery */
-if (module.hot) {
-	var hotPollInterval = +__resourceQuery.substr(1) || 10 * 60 * 1000;
-	var log = require("./log");
-
-	var checkForUpdate = function checkForUpdate(fromUpdate) {
-		if (module.hot.status() === "idle") {
-			module.hot
-				.check(true)
-				.then(function(updatedModules) {
-					if (!updatedModules) {
-						if (fromUpdate) log("info", "[HMR] Update applied.");
-						return;
-					}
-					require("./log-apply-result")(updatedModules, updatedModules);
-					checkForUpdate(true);
-				})
-				.catch(function(err) {
-					var status = module.hot.status();
-					if (["abort", "fail"].indexOf(status) >= 0) {
-						log("warning", "[HMR] Cannot apply update.");
-						log("warning", "[HMR] " + log.formatError(err));
-						log("warning", "[HMR] You need to restart the application!");
-					} else {
-						log("warning", "[HMR] Update failed: " + log.formatError(err));
-					}
-				});
-		}
-	};
-	setInterval(checkForUpdate, hotPollInterval);
-} else {
-	throw new Error("[HMR] Hot Module Replacement is disabled.");
-}

+ 0 - 62
node_modules.bak/webpack/hot/signal.js

@@ -1,62 +0,0 @@
-/*
-	MIT License http://www.opensource.org/licenses/mit-license.php
-	Author Tobias Koppers @sokra
-*/
-/*globals __resourceQuery */
-if (module.hot) {
-	var log = require("./log");
-	var checkForUpdate = function checkForUpdate(fromUpdate) {
-		module.hot
-			.check()
-			.then(function(updatedModules) {
-				if (!updatedModules) {
-					if (fromUpdate) log("info", "[HMR] Update applied.");
-					else log("warning", "[HMR] Cannot find update.");
-					return;
-				}
-
-				return module.hot
-					.apply({
-						ignoreUnaccepted: true,
-						onUnaccepted: function(data) {
-							log(
-								"warning",
-								"Ignored an update to unaccepted module " +
-									data.chain.join(" -> ")
-							);
-						}
-					})
-					.then(function(renewedModules) {
-						require("./log-apply-result")(updatedModules, renewedModules);
-
-						checkForUpdate(true);
-						return null;
-					});
-			})
-			.catch(function(err) {
-				var status = module.hot.status();
-				if (["abort", "fail"].indexOf(status) >= 0) {
-					log("warning", "[HMR] Cannot apply update.");
-					log("warning", "[HMR] " + log.formatError(err));
-					log("warning", "[HMR] You need to restart the application!");
-				} else {
-					log("warning", "[HMR] Update failed: " + (err.stack || err.message));
-				}
-			});
-	};
-
-	process.on(__resourceQuery.substr(1) || "SIGUSR2", function() {
-		if (module.hot.status() !== "idle") {
-			log(
-				"warning",
-				"[HMR] Got signal but currently in " + module.hot.status() + " state."
-			);
-			log("warning", "[HMR] Need to be in idle state to start hot update.");
-			return;
-		}
-
-		checkForUpdate();
-	});
-} else {
-	throw new Error("[HMR] Hot Module Replacement is disabled.");
-}

+ 0 - 84
node_modules.bak/webpack/lib/APIPlugin.js

@@ -1,84 +0,0 @@
-/*
-	MIT License http://www.opensource.org/licenses/mit-license.php
-	Author Tobias Koppers @sokra
-*/
-"use strict";
-
-const ConstDependency = require("./dependencies/ConstDependency");
-const ParserHelpers = require("./ParserHelpers");
-
-const NullFactory = require("./NullFactory");
-
-/* eslint-disable camelcase */
-const REPLACEMENTS = {
-	__webpack_require__: "__webpack_require__",
-	__webpack_public_path__: "__webpack_require__.p",
-	__webpack_modules__: "__webpack_require__.m",
-	__webpack_chunk_load__: "__webpack_require__.e",
-	__non_webpack_require__: "require",
-	__webpack_nonce__: "__webpack_require__.nc",
-	"require.onError": "__webpack_require__.oe"
-};
-const NO_WEBPACK_REQUIRE = {
-	__non_webpack_require__: true
-};
-const REPLACEMENT_TYPES = {
-	__webpack_public_path__: "string",
-	__webpack_require__: "function",
-	__webpack_modules__: "object",
-	__webpack_chunk_load__: "function",
-	__webpack_nonce__: "string"
-};
-/* eslint-enable camelcase */
-
-class APIPlugin {
-	apply(compiler) {
-		compiler.hooks.compilation.tap(
-			"APIPlugin",
-			(compilation, { normalModuleFactory }) => {
-				compilation.dependencyFactories.set(ConstDependency, new NullFactory());
-				compilation.dependencyTemplates.set(
-					ConstDependency,
-					new ConstDependency.Template()
-				);
-
-				const handler = parser => {
-					Object.keys(REPLACEMENTS).forEach(key => {
-						parser.hooks.expression
-							.for(key)
-							.tap(
-								"APIPlugin",
-								NO_WEBPACK_REQUIRE[key]
-									? ParserHelpers.toConstantDependency(
-											parser,
-											REPLACEMENTS[key]
-									  )
-									: ParserHelpers.toConstantDependencyWithWebpackRequire(
-											parser,
-											REPLACEMENTS[key]
-									  )
-							);
-						const type = REPLACEMENT_TYPES[key];
-						if (type) {
-							parser.hooks.evaluateTypeof
-								.for(key)
-								.tap("APIPlugin", ParserHelpers.evaluateToString(type));
-						}
-					});
-				};
-
-				normalModuleFactory.hooks.parser
-					.for("javascript/auto")
-					.tap("APIPlugin", handler);
-				normalModuleFactory.hooks.parser
-					.for("javascript/dynamic")
-					.tap("APIPlugin", handler);
-				normalModuleFactory.hooks.parser
-					.for("javascript/esm")
-					.tap("APIPlugin", handler);
-			}
-		);
-	}
-}
-
-module.exports = APIPlugin;

+ 0 - 43
node_modules.bak/webpack/lib/AbstractMethodError.js

@@ -1,43 +0,0 @@
-"use strict";
-
-const WebpackError = require("./WebpackError");
-const CURRENT_METHOD_REGEXP = /at ([a-zA-Z0-9_.]*)/;
-
-/**
- * @param {string=} method method name
- * @returns {string} message
- */
-function createMessage(method) {
-	return `Abstract method${method ? " " + method : ""}. Must be overridden.`;
-}
-
-/**
- * @constructor
- */
-function Message() {
-	this.stack = undefined;
-	Error.captureStackTrace(this);
-	/** @type {RegExpMatchArray} */
-	const match = this.stack.split("\n")[3].match(CURRENT_METHOD_REGEXP);
-
-	this.message = match && match[1] ? createMessage(match[1]) : createMessage();
-}
-
-/**
- * Error for abstract method
- * @example
- * class FooClass {
- *     abstractMethod() {
- *         throw new AbstractMethodError(); // error message: Abstract method FooClass.abstractMethod. Must be overriden.
- *     }
- * }
- *
- */
-class AbstractMethodError extends WebpackError {
-	constructor() {
-		super(new Message().message);
-		this.name = "AbstractMethodError";
-	}
-}
-
-module.exports = AbstractMethodError;

+ 0 - 106
node_modules.bak/webpack/lib/AmdMainTemplatePlugin.js

@@ -1,106 +0,0 @@
-/*
- MIT License http://www.opensource.org/licenses/mit-license.php
- Author Tobias Koppers @sokra
- */
-
-"use strict";
-
-const { ConcatSource } = require("webpack-sources");
-const Template = require("./Template");
-
-/** @typedef {import("./Compilation")} Compilation */
-
-/**
- * @typedef {Object} AmdMainTemplatePluginOptions
- * @param {string=} name the library name
- * @property {boolean=} requireAsWrapper
- */
-
-class AmdMainTemplatePlugin {
-	/**
-	 * @param {AmdMainTemplatePluginOptions} options the plugin options
-	 */
-	constructor(options) {
-		if (!options || typeof options === "string") {
-			this.name = options;
-			this.requireAsWrapper = false;
-		} else {
-			this.name = options.name;
-			this.requireAsWrapper = options.requireAsWrapper;
-		}
-	}
-
-	/**
-	 * @param {Compilation} compilation the compilation instance
-	 * @returns {void}
-	 */
-	apply(compilation) {
-		const { mainTemplate, chunkTemplate } = compilation;
-
-		const onRenderWithEntry = (source, chunk, hash) => {
-			const externals = chunk.getModules().filter(m => m.external);
-			const externalsDepsArray = JSON.stringify(
-				externals.map(m =>
-					typeof m.request === "object" ? m.request.amd : m.request
-				)
-			);
-			const externalsArguments = externals
-				.map(
-					m => `__WEBPACK_EXTERNAL_MODULE_${Template.toIdentifier(`${m.id}`)}__`
-				)
-				.join(", ");
-
-			if (this.requireAsWrapper) {
-				return new ConcatSource(
-					`require(${externalsDepsArray}, function(${externalsArguments}) { return `,
-					source,
-					"});"
-				);
-			} else if (this.name) {
-				const name = mainTemplate.getAssetPath(this.name, {
-					hash,
-					chunk
-				});
-
-				return new ConcatSource(
-					`define(${JSON.stringify(
-						name
-					)}, ${externalsDepsArray}, function(${externalsArguments}) { return `,
-					source,
-					"});"
-				);
-			} else if (externalsArguments) {
-				return new ConcatSource(
-					`define(${externalsDepsArray}, function(${externalsArguments}) { return `,
-					source,
-					"});"
-				);
-			} else {
-				return new ConcatSource("define(function() { return ", source, "});");
-			}
-		};
-
-		for (const template of [mainTemplate, chunkTemplate]) {
-			template.hooks.renderWithEntry.tap(
-				"AmdMainTemplatePlugin",
-				onRenderWithEntry
-			);
-		}
-
-		mainTemplate.hooks.globalHashPaths.tap("AmdMainTemplatePlugin", paths => {
-			if (this.name) {
-				paths.push(this.name);
-			}
-			return paths;
-		});
-
-		mainTemplate.hooks.hash.tap("AmdMainTemplatePlugin", hash => {
-			hash.update("exports amd");
-			if (this.name) {
-				hash.update(this.name);
-			}
-		});
-	}
-}
-
-module.exports = AmdMainTemplatePlugin;

+ 0 - 110
node_modules.bak/webpack/lib/AsyncDependenciesBlock.js

@@ -1,110 +0,0 @@
-/*
-	MIT License http://www.opensource.org/licenses/mit-license.php
-	Author Tobias Koppers @sokra
-*/
-"use strict";
-
-const DependenciesBlock = require("./DependenciesBlock");
-
-/** @typedef {import("./ChunkGroup")} ChunkGroup */
-/** @typedef {import("./Module")} Module */
-/** @typedef {import("./Dependency").DependencyLocation} DependencyLocation */
-/** @typedef {import("./util/createHash").Hash} Hash */
-/** @typedef {TODO} GroupOptions */
-
-module.exports = class AsyncDependenciesBlock extends DependenciesBlock {
-	/**
-	 * @param {GroupOptions} groupOptions options for the group
-	 * @param {Module} module the Module object
-	 * @param {DependencyLocation=} loc the line of code
-	 * @param {TODO=} request the request
-	 */
-	constructor(groupOptions, module, loc, request) {
-		super();
-		if (typeof groupOptions === "string") {
-			groupOptions = { name: groupOptions };
-		} else if (!groupOptions) {
-			groupOptions = { name: undefined };
-		}
-		this.groupOptions = groupOptions;
-		/** @type {ChunkGroup=} */
-		this.chunkGroup = undefined;
-		this.module = module;
-		this.loc = loc;
-		this.request = request;
-		/** @type {DependenciesBlock} */
-		this.parent = undefined;
-	}
-
-	/**
-	 * @returns {string} The name of the chunk
-	 */
-	get chunkName() {
-		return this.groupOptions.name;
-	}
-
-	/**
-	 * @param {string} value The new chunk name
-	 * @returns {void}
-	 */
-	set chunkName(value) {
-		this.groupOptions.name = value;
-	}
-
-	/**
-	 * @returns {never} this throws and should never be called
-	 */
-	get chunks() {
-		throw new Error("Moved to AsyncDependenciesBlock.chunkGroup");
-	}
-
-	/**
-	 * @param {never} value setter value
-	 * @returns {never} this is going to throw therefore we should throw type
-	 * assertions by returning never
-	 */
-	set chunks(value) {
-		throw new Error("Moved to AsyncDependenciesBlock.chunkGroup");
-	}
-
-	/**
-	 * @param {Hash} hash the hash used to track block changes, from "crypto" module
-	 * @returns {void}
-	 */
-	updateHash(hash) {
-		hash.update(JSON.stringify(this.groupOptions));
-		hash.update(
-			(this.chunkGroup &&
-				this.chunkGroup.chunks
-					.map(chunk => {
-						return chunk.id !== null ? chunk.id : "";
-					})
-					.join(",")) ||
-				""
-		);
-		super.updateHash(hash);
-	}
-
-	/**
-	 * @returns {void}
-	 */
-	disconnect() {
-		this.chunkGroup = undefined;
-		super.disconnect();
-	}
-
-	/**
-	 * @returns {void}
-	 */
-	unseal() {
-		this.chunkGroup = undefined;
-		super.unseal();
-	}
-
-	/**
-	 * @returns {void}
-	 */
-	sortItems() {
-		super.sortItems();
-	}
-};

+ 0 - 31
node_modules.bak/webpack/lib/AsyncDependencyToInitialChunkError.js

@@ -1,31 +0,0 @@
-/*
-	MIT License http://www.opensource.org/licenses/mit-license.php
-	Author Sean Larkin @thelarkinn
-*/
-"use strict";
-
-const WebpackError = require("./WebpackError");
-
-/** @typedef {import("./Module")} Module */
-
-class AsyncDependencyToInitialChunkError extends WebpackError {
-	/**
-	 * Creates an instance of AsyncDependencyToInitialChunkError.
-	 * @param {string} chunkName Name of Chunk
-	 * @param {Module} module module tied to dependency
-	 * @param {TODO} loc location of dependency
-	 */
-	constructor(chunkName, module, loc) {
-		super(
-			`It's not allowed to load an initial chunk on demand. The chunk name "${chunkName}" is already used by an entrypoint.`
-		);
-
-		this.name = "AsyncDependencyToInitialChunkError";
-		this.module = module;
-		this.loc = loc;
-
-		Error.captureStackTrace(this, this.constructor);
-	}
-}
-
-module.exports = AsyncDependencyToInitialChunkError;

+ 0 - 57
node_modules.bak/webpack/lib/AutomaticPrefetchPlugin.js

@@ -1,57 +0,0 @@
-/*
-	MIT License http://www.opensource.org/licenses/mit-license.php
-	Author Tobias Koppers @sokra
-*/
-"use strict";
-
-const asyncLib = require("neo-async");
-const PrefetchDependency = require("./dependencies/PrefetchDependency");
-const NormalModule = require("./NormalModule");
-
-/** @typedef {import("./Compiler")} Compiler */
-
-class AutomaticPrefetchPlugin {
-	/**
-	 * Apply the plugin
-	 * @param {Compiler} compiler Webpack Compiler
-	 * @returns {void}
-	 */
-	apply(compiler) {
-		compiler.hooks.compilation.tap(
-			"AutomaticPrefetchPlugin",
-			(compilation, { normalModuleFactory }) => {
-				compilation.dependencyFactories.set(
-					PrefetchDependency,
-					normalModuleFactory
-				);
-			}
-		);
-		let lastModules = null;
-		compiler.hooks.afterCompile.tap("AutomaticPrefetchPlugin", compilation => {
-			lastModules = compilation.modules
-				.filter(m => m instanceof NormalModule)
-				.map((/** @type {NormalModule} */ m) => ({
-					context: m.context,
-					request: m.request
-				}));
-		});
-		compiler.hooks.make.tapAsync(
-			"AutomaticPrefetchPlugin",
-			(compilation, callback) => {
-				if (!lastModules) return callback();
-				asyncLib.forEach(
-					lastModules,
-					(m, callback) => {
-						compilation.prefetch(
-							m.context || compiler.context,
-							new PrefetchDependency(m.request),
-							callback
-						);
-					},
-					callback
-				);
-			}
-		);
-	}
-}
-module.exports = AutomaticPrefetchPlugin;

+ 0 - 122
node_modules.bak/webpack/lib/BannerPlugin.js

@@ -1,122 +0,0 @@
-/*
- MIT License http://www.opensource.org/licenses/mit-license.php
- Author Tobias Koppers @sokra
- */
-
-"use strict";
-
-const { ConcatSource } = require("webpack-sources");
-const ModuleFilenameHelpers = require("./ModuleFilenameHelpers");
-const Template = require("./Template");
-
-const validateOptions = require("schema-utils");
-const schema = require("../schemas/plugins/BannerPlugin.json");
-
-/** @typedef {import("../declarations/plugins/BannerPlugin").BannerPluginArgument} BannerPluginArgument */
-/** @typedef {import("../declarations/plugins/BannerPlugin").BannerPluginOptions} BannerPluginOptions */
-
-const wrapComment = str => {
-	if (!str.includes("\n")) {
-		return Template.toComment(str);
-	}
-	return `/*!\n * ${str
-		.replace(/\*\//g, "* /")
-		.split("\n")
-		.join("\n * ")}\n */`;
-};
-
-class BannerPlugin {
-	/**
-	 * @param {BannerPluginArgument} options options object
-	 */
-	constructor(options) {
-		if (arguments.length > 1) {
-			throw new Error(
-				"BannerPlugin only takes one argument (pass an options object)"
-			);
-		}
-
-		validateOptions(schema, options, "Banner Plugin");
-
-		if (typeof options === "string" || typeof options === "function") {
-			options = {
-				banner: options
-			};
-		}
-
-		/** @type {BannerPluginOptions} */
-		this.options = options;
-
-		const bannerOption = options.banner;
-		if (typeof bannerOption === "function") {
-			const getBanner = bannerOption;
-			this.banner = this.options.raw
-				? getBanner
-				: data => wrapComment(getBanner(data));
-		} else {
-			const banner = this.options.raw
-				? bannerOption
-				: wrapComment(bannerOption);
-			this.banner = () => banner;
-		}
-	}
-
-	apply(compiler) {
-		const options = this.options;
-		const banner = this.banner;
-		const matchObject = ModuleFilenameHelpers.matchObject.bind(
-			undefined,
-			options
-		);
-
-		compiler.hooks.compilation.tap("BannerPlugin", compilation => {
-			compilation.hooks.optimizeChunkAssets.tap("BannerPlugin", chunks => {
-				for (const chunk of chunks) {
-					if (options.entryOnly && !chunk.canBeInitial()) {
-						continue;
-					}
-
-					for (const file of chunk.files) {
-						if (!matchObject(file)) {
-							continue;
-						}
-
-						let query = "";
-						let filename = file;
-						const hash = compilation.hash;
-						const querySplit = filename.indexOf("?");
-
-						if (querySplit >= 0) {
-							query = filename.substr(querySplit);
-							filename = filename.substr(0, querySplit);
-						}
-
-						const lastSlashIndex = filename.lastIndexOf("/");
-
-						const basename =
-							lastSlashIndex === -1
-								? filename
-								: filename.substr(lastSlashIndex + 1);
-
-						const data = {
-							hash,
-							chunk,
-							filename,
-							basename,
-							query
-						};
-
-						const comment = compilation.getPath(banner(data), data);
-
-						compilation.updateAsset(
-							file,
-							old => new ConcatSource(comment, "\n", old)
-						);
-					}
-				}
-			});
-		});
-	}
-}
-
-module.exports = BannerPlugin;

+ 0 - 248
node_modules.bak/webpack/lib/BasicEvaluatedExpression.js

@@ -1,248 +0,0 @@
-/*
-	MIT License http://www.opensource.org/licenses/mit-license.php
-	Author Tobias Koppers @sokra
-*/
-
-"use strict";
-
-const TypeUnknown = 0;
-const TypeNull = 1;
-const TypeString = 2;
-const TypeNumber = 3;
-const TypeBoolean = 4;
-const TypeRegExp = 5;
-const TypeConditional = 6;
-const TypeArray = 7;
-const TypeConstArray = 8;
-const TypeIdentifier = 9;
-const TypeWrapped = 10;
-const TypeTemplateString = 11;
-
-class BasicEvaluatedExpression {
-	constructor() {
-		this.type = TypeUnknown;
-		this.range = null;
-		this.falsy = false;
-		this.truthy = false;
-		this.bool = null;
-		this.number = null;
-		this.regExp = null;
-		this.string = null;
-		this.quasis = null;
-		this.parts = null;
-		this.array = null;
-		this.items = null;
-		this.options = null;
-		this.prefix = null;
-		this.postfix = null;
-		this.wrappedInnerExpressions = null;
-		this.expression = null;
-	}
-
-	isNull() {
-		return this.type === TypeNull;
-	}
-
-	isString() {
-		return this.type === TypeString;
-	}
-
-	isNumber() {
-		return this.type === TypeNumber;
-	}
-
-	isBoolean() {
-		return this.type === TypeBoolean;
-	}
-
-	isRegExp() {
-		return this.type === TypeRegExp;
-	}
-
-	isConditional() {
-		return this.type === TypeConditional;
-	}
-
-	isArray() {
-		return this.type === TypeArray;
-	}
-
-	isConstArray() {
-		return this.type === TypeConstArray;
-	}
-
-	isIdentifier() {
-		return this.type === TypeIdentifier;
-	}
-
-	isWrapped() {
-		return this.type === TypeWrapped;
-	}
-
-	isTemplateString() {
-		return this.type === TypeTemplateString;
-	}
-
-	isTruthy() {
-		return this.truthy;
-	}
-
-	isFalsy() {
-		return this.falsy;
-	}
-
-	asBool() {
-		if (this.truthy) return true;
-		if (this.falsy) return false;
-		if (this.isBoolean()) return this.bool;
-		if (this.isNull()) return false;
-		if (this.isString()) return this.string !== "";
-		if (this.isNumber()) return this.number !== 0;
-		if (this.isRegExp()) return true;
-		if (this.isArray()) return true;
-		if (this.isConstArray()) return true;
-		if (this.isWrapped()) {
-			return (this.prefix && this.prefix.asBool()) ||
-				(this.postfix && this.postfix.asBool())
-				? true
-				: undefined;
-		}
-		if (this.isTemplateString()) {
-			const str = this.asString();
-			if (typeof str === "string") return str !== "";
-		}
-		return undefined;
-	}
-
-	asString() {
-		if (this.isBoolean()) return `${this.bool}`;
-		if (this.isNull()) return "null";
-		if (this.isString()) return this.string;
-		if (this.isNumber()) return `${this.number}`;
-		if (this.isRegExp()) return `${this.regExp}`;
-		if (this.isArray()) {
-			let array = [];
-			for (const item of this.items) {
-				const itemStr = item.asString();
-				if (itemStr === undefined) return undefined;
-				array.push(itemStr);
-			}
-			return `${array}`;
-		}
-		if (this.isConstArray()) return `${this.array}`;
-		if (this.isTemplateString()) {
-			let str = "";
-			for (const part of this.parts) {
-				const partStr = part.asString();
-				if (partStr === undefined) return undefined;
-				str += partStr;
-			}
-			return str;
-		}
-		return undefined;
-	}
-
-	setString(string) {
-		this.type = TypeString;
-		this.string = string;
-		return this;
-	}
-
-	setNull() {
-		this.type = TypeNull;
-		return this;
-	}
-
-	setNumber(number) {
-		this.type = TypeNumber;
-		this.number = number;
-		return this;
-	}
-
-	setBoolean(bool) {
-		this.type = TypeBoolean;
-		this.bool = bool;
-		return this;
-	}
-
-	setRegExp(regExp) {
-		this.type = TypeRegExp;
-		this.regExp = regExp;
-		return this;
-	}
-
-	setIdentifier(identifier) {
-		this.type = TypeIdentifier;
-		this.identifier = identifier;
-		return this;
-	}
-
-	setWrapped(prefix, postfix, innerExpressions) {
-		this.type = TypeWrapped;
-		this.prefix = prefix;
-		this.postfix = postfix;
-		this.wrappedInnerExpressions = innerExpressions;
-		return this;
-	}
-
-	setOptions(options) {
-		this.type = TypeConditional;
-		this.options = options;
-		return this;
-	}
-
-	addOptions(options) {
-		if (!this.options) {
-			this.type = TypeConditional;
-			this.options = [];
-		}
-		for (const item of options) {
-			this.options.push(item);
-		}
-		return this;
-	}
-
-	setItems(items) {
-		this.type = TypeArray;
-		this.items = items;
-		return this;
-	}
-
-	setArray(array) {
-		this.type = TypeConstArray;
-		this.array = array;
-		return this;
-	}
-
-	setTemplateString(quasis, parts, kind) {
-		this.type = TypeTemplateString;
-		this.quasis = quasis;
-		this.parts = parts;
-		this.templateStringKind = kind;
-		return this;
-	}
-
-	setTruthy() {
-		this.falsy = false;
-		this.truthy = true;
-		return this;
-	}
-
-	setFalsy() {
-		this.falsy = true;
-		this.truthy = false;
-		return this;
-	}
-
-	setRange(range) {
-		this.range = range;
-		return this;
-	}
-
-	setExpression(expression) {
-		this.expression = expression;
-		return this;
-	}
-}
-
-module.exports = BasicEvaluatedExpression;

+ 0 - 100
node_modules.bak/webpack/lib/CachePlugin.js

@@ -1,100 +0,0 @@
-/*
-	MIT License http://www.opensource.org/licenses/mit-license.php
-	Author Tobias Koppers @sokra
-*/
-"use strict";
-
-const asyncLib = require("neo-async");
-
-class CachePlugin {
-	constructor(cache) {
-		this.cache = cache || {};
-		this.FS_ACCURACY = 2000;
-	}
-
-	apply(compiler) {
-		if (Array.isArray(compiler.compilers)) {
-			compiler.compilers.forEach((c, idx) => {
-				new CachePlugin((this.cache[idx] = this.cache[idx] || {})).apply(c);
-			});
-		} else {
-			const registerCacheToCompiler = (compiler, cache) => {
-				compiler.hooks.thisCompilation.tap("CachePlugin", compilation => {
-					compilation.cache = cache;
-					compilation.hooks.childCompiler.tap(
-						"CachePlugin",
-						(childCompiler, compilerName, compilerIndex) => {
-							let childCache;
-							if (!cache.children) {
-								cache.children = {};
-							}
-							if (!cache.children[compilerName]) {
-								cache.children[compilerName] = [];
-							}
-							if (cache.children[compilerName][compilerIndex]) {
-								childCache = cache.children[compilerName][compilerIndex];
-							} else {
-								cache.children[compilerName].push((childCache = {}));
-							}
-							registerCacheToCompiler(childCompiler, childCache);
-						}
-					);
-				});
-			};
-			registerCacheToCompiler(compiler, this.cache);
-			compiler.hooks.watchRun.tap("CachePlugin", () => {
-				this.watching = true;
-			});
-			compiler.hooks.run.tapAsync("CachePlugin", (compiler, callback) => {
-				if (!compiler._lastCompilationFileDependencies) {
-					return callback();
-				}
-				const fs = compiler.inputFileSystem;
-				const fileTs = (compiler.fileTimestamps = new Map());
-				asyncLib.forEach(
-					compiler._lastCompilationFileDependencies,
-					(file, callback) => {
-						fs.stat(file, (err, stat) => {
-							if (err) {
-								if (err.code === "ENOENT") return callback();
-								return callback(err);
-							}
-
-							if (stat.mtime) this.applyMtime(+stat.mtime);
-
-							fileTs.set(file, +stat.mtime || Infinity);
-
-							callback();
-						});
-					},
-					err => {
-						if (err) return callback(err);
-
-						for (const [file, ts] of fileTs) {
-							fileTs.set(file, ts + this.FS_ACCURACY);
-						}
-
-						callback();
-					}
-				);
-			});
-			compiler.hooks.afterCompile.tap("CachePlugin", compilation => {
-				compilation.compiler._lastCompilationFileDependencies =
-					compilation.fileDependencies;
-				compilation.compiler._lastCompilationContextDependencies =
-					compilation.contextDependencies;
-			});
-		}
-	}
-
-	/* istanbul ignore next */
-	applyMtime(mtime) {
-		if (this.FS_ACCURACY > 1 && mtime % 2 !== 0) this.FS_ACCURACY = 1;
-		else if (this.FS_ACCURACY > 10 && mtime % 20 !== 0) this.FS_ACCURACY = 10;
-		else if (this.FS_ACCURACY > 100 && mtime % 200 !== 0)
-			this.FS_ACCURACY = 100;
-		else if (this.FS_ACCURACY > 1000 && mtime % 2000 !== 0)
-			this.FS_ACCURACY = 1000;
-	}
-}
-module.exports = CachePlugin;

+ 0 - 67
node_modules.bak/webpack/lib/CaseSensitiveModulesWarning.js

@@ -1,67 +0,0 @@
-/*
-	MIT License http://www.opensource.org/licenses/mit-license.php
-	Author Tobias Koppers @sokra
-*/
-"use strict";
-
-const WebpackError = require("./WebpackError");
-
-/** @typedef {import("./Module")} Module */
-
-/**
- * @param {Module[]} modules the modules to be sorted
- * @returns {Module[]} sorted version of original modules
- */
-const sortModules = modules => {
-	return modules.slice().sort((a, b) => {
-		const aIdent = a.identifier();
-		const bIdent = b.identifier();
-		/* istanbul ignore next */
-		if (aIdent < bIdent) return -1;
-		/* istanbul ignore next */
-		if (aIdent > bIdent) return 1;
-		/* istanbul ignore next */
-		return 0;
-	});
-};
-
-/**
- * @param {Module[]} modules each module from throw
- * @returns {string} each message from provided moduels
- */
-const createModulesListMessage = modules => {
-	return modules
-		.map(m => {
-			let message = `* ${m.identifier()}`;
-			const validReasons = m.reasons.filter(reason => reason.module);
-
-			if (validReasons.length > 0) {
-				message += `\n    Used by ${validReasons.length} module(s), i. e.`;
-				message += `\n    ${validReasons[0].module.identifier()}`;
-			}
-			return message;
-		})
-		.join("\n");
-};
-
-class CaseSensitiveModulesWarning extends WebpackError {
-	/**
-	 * Creates an instance of CaseSensitiveModulesWarning.
-	 * @param {Module[]} modules modules that were detected
-	 */
-	constructor(modules) {
-		const sortedModules = sortModules(modules);
-		const modulesList = createModulesListMessage(sortedModules);
-		super(`There are multiple modules with names that only differ in casing.
-This can lead to unexpected behavior when compiling on a filesystem with other case-semantic.
-Use equal casing. Compare these module identifiers:
-${modulesList}`);
-
-		this.name = "CaseSensitiveModulesWarning";
-		this.origin = this.module = sortedModules[0];
-
-		Error.captureStackTrace(this, this.constructor);
-	}
-}
-
-module.exports = CaseSensitiveModulesWarning;

+ 0 - 875
node_modules.bak/webpack/lib/Chunk.js

@@ -1,875 +0,0 @@
-/*
-MIT License http://www.opensource.org/licenses/mit-license.php
-Author Tobias Koppers @sokra
-*/
-"use strict";
-
-const util = require("util");
-const SortableSet = require("./util/SortableSet");
-const intersect = require("./util/SetHelpers").intersect;
-const GraphHelpers = require("./GraphHelpers");
-const Entrypoint = require("./Entrypoint");
-let debugId = 1000;
-const ERR_CHUNK_ENTRY = "Chunk.entry was removed. Use hasRuntime()";
-const ERR_CHUNK_INITIAL =
-	"Chunk.initial was removed. Use canBeInitial/isOnlyInitial()";
-
-/** @typedef {import("./Module")} Module */
-/** @typedef {import("./ChunkGroup")} ChunkGroup */
-/** @typedef {import("./ModuleReason")} ModuleReason */
-/** @typedef {import("webpack-sources").Source} Source */
-/** @typedef {import("./util/createHash").Hash} Hash */
-
-/**
- *  @typedef {Object} WithId an object who has an id property *
- *  @property {string | number} id the id of the object
- */
-
-/**
- * Compare two Modules based on their ids for sorting
- * @param {Module} a module
- * @param {Module} b module
- * @returns {-1|0|1} sort value
- */
-
-// TODO use @callback
-/** @typedef {(a: Module, b: Module) => -1|0|1} ModuleSortPredicate */
-/** @typedef {(m: Module) => boolean} ModuleFilterPredicate */
-/** @typedef {(c: Chunk) => boolean} ChunkFilterPredicate */
-
-const sortModuleById = (a, b) => {
-	if (a.id < b.id) return -1;
-	if (b.id < a.id) return 1;
-	return 0;
-};
-
-/**
- * Compare two ChunkGroups based on their ids for sorting
- * @param {ChunkGroup} a chunk group
- * @param {ChunkGroup} b chunk group
- * @returns {-1|0|1} sort value
- */
-const sortChunkGroupById = (a, b) => {
-	if (a.id < b.id) return -1;
-	if (b.id < a.id) return 1;
-	return 0;
-};
-
-/**
- * Compare two Identifiables , based on their ids for sorting
- * @param {Module} a first object with ident fn
- * @param {Module} b second object with ident fn
- * @returns {-1|0|1} The order number of the sort
- */
-const sortByIdentifier = (a, b) => {
-	if (a.identifier() > b.identifier()) return 1;
-	if (a.identifier() < b.identifier()) return -1;
-	return 0;
-};
-
-/**
- * @returns {string} a concatenation of module identifiers sorted
- * @param {SortableSet} set to pull module identifiers from
- */
-const getModulesIdent = set => {
-	set.sort();
-	let str = "";
-	for (const m of set) {
-		str += m.identifier() + "#";
-	}
-	return str;
-};
-
-/**
- * @template T
- * @param {SortableSet<T>} set the sortable set to convert to array
- * @returns {Array<T>} the array returned from Array.from(set)
- */
-const getArray = set => Array.from(set);
-
-/**
- * @param {SortableSet<Module>} set the sortable Set to get the count/size of
- * @returns {number} the size of the modules
- */
-const getModulesSize = set => {
-	let size = 0;
-	for (const module of set) {
-		size += module.size();
-	}
-	return size;
-};
-
-/**
- * A Chunk is a unit of encapsulation for Modules.
- * Chunks are "rendered" into bundles that get emitted when the build completes.
- */
-class Chunk {
-	/**
-	 * @param {string=} name of chunk being created, is optional (for subclasses)
-	 */
-	constructor(name) {
-		/** @type {number | null} */
-		this.id = null;
-		/** @type {number[] | null} */
-		this.ids = null;
-		/** @type {number} */
-		this.debugId = debugId++;
-		/** @type {string} */
-		this.name = name;
-		/** @type {boolean} */
-		this.preventIntegration = false;
-		/** @type {Module=} */
-		this.entryModule = undefined;
-		/** @private @type {SortableSet<Module>} */
-		this._modules = new SortableSet(undefined, sortByIdentifier);
-		/** @type {string?} */
-		this.filenameTemplate = undefined;
-		/** @private @type {SortableSet<ChunkGroup>} */
-		this._groups = new SortableSet(undefined, sortChunkGroupById);
-		/** @type {string[]} */
-		this.files = [];
-		/** @type {boolean} */
-		this.rendered = false;
-		/** @type {string=} */
-		this.hash = undefined;
-		/** @type {Object} */
-		this.contentHash = Object.create(null);
-		/** @type {string=} */
-		this.renderedHash = undefined;
-		/** @type {string=} */
-		this.chunkReason = undefined;
-		/** @type {boolean} */
-		this.extraAsync = false;
-		this.removedModules = undefined;
-	}
-
-	/**
-	 * @deprecated Chunk.entry has been deprecated. Please use .hasRuntime() instead
-	 * @returns {never} Throws an error trying to access this property
-	 */
-	get entry() {
-		throw new Error(ERR_CHUNK_ENTRY);
-	}
-
-	/**
-	 * @deprecated .entry has been deprecated. Please use .hasRuntime() instead
-	 * @param {never} data The data that was attempting to be set
-	 * @returns {never} Throws an error trying to access this property
-	 */
-	set entry(data) {
-		throw new Error(ERR_CHUNK_ENTRY);
-	}
-
-	/**
-	 * @deprecated Chunk.initial was removed. Use canBeInitial/isOnlyInitial()
-	 * @returns {never} Throws an error trying to access this property
-	 */
-	get initial() {
-		throw new Error(ERR_CHUNK_INITIAL);
-	}
-
-	/**
-	 * @deprecated Chunk.initial was removed. Use canBeInitial/isOnlyInitial()
-	 * @param {never} data The data attempting to be set
-	 * @returns {never} Throws an error trying to access this property
-	 */
-	set initial(data) {
-		throw new Error(ERR_CHUNK_INITIAL);
-	}
-
-	/**
-	 * @returns {boolean} whether or not the Chunk will have a runtime
-	 */
-	hasRuntime() {
-		for (const chunkGroup of this._groups) {
-			if (
-				chunkGroup.isInitial() &&
-				chunkGroup instanceof Entrypoint &&
-				chunkGroup.getRuntimeChunk() === this
-			) {
-				return true;
-			}
-		}
-		return false;
-	}
-
-	/**
-	 * @returns {boolean} whether or not this chunk can be an initial chunk
-	 */
-	canBeInitial() {
-		for (const chunkGroup of this._groups) {
-			if (chunkGroup.isInitial()) return true;
-		}
-		return false;
-	}
-
-	/**
-	 * @returns {boolean} whether this chunk can only be an initial chunk
-	 */
-	isOnlyInitial() {
-		if (this._groups.size <= 0) return false;
-		for (const chunkGroup of this._groups) {
-			if (!chunkGroup.isInitial()) return false;
-		}
-		return true;
-	}
-
-	/**
-	 * @returns {boolean} if this chunk contains the entry module
-	 */
-	hasEntryModule() {
-		return !!this.entryModule;
-	}
-
-	/**
-	 * @param {Module} module the module that will be added to this chunk.
-	 * @returns {boolean} returns true if the chunk doesn't have the module and it was added
-	 */
-	addModule(module) {
-		if (!this._modules.has(module)) {
-			this._modules.add(module);
-			return true;
-		}
-		return false;
-	}
-
-	/**
-	 * @param {Module} module the module that will be removed from this chunk
-	 * @returns {boolean} returns true if chunk exists and is successfully deleted
-	 */
-	removeModule(module) {
-		if (this._modules.delete(module)) {
-			module.removeChunk(this);
-			return true;
-		}
-		return false;
-	}
-
-	/**
-	 * @param {Module[]} modules the new modules to be set
-	 * @returns {void} set new modules to this chunk and return nothing
-	 */
-	setModules(modules) {
-		this._modules = new SortableSet(modules, sortByIdentifier);
-	}
-
-	/**
-	 * @returns {number} the amount of modules in chunk
-	 */
-	getNumberOfModules() {
-		return this._modules.size;
-	}
-
-	/**
-	 * @returns {SortableSet} return the modules SortableSet for this chunk
-	 */
-	get modulesIterable() {
-		return this._modules;
-	}
-
-	/**
-	 * @param {ChunkGroup} chunkGroup the chunkGroup the chunk is being added
-	 * @returns {boolean} returns true if chunk is not apart of chunkGroup and is added successfully
-	 */
-	addGroup(chunkGroup) {
-		if (this._groups.has(chunkGroup)) return false;
-		this._groups.add(chunkGroup);
-		return true;
-	}
-
-	/**
-	 * @param {ChunkGroup} chunkGroup the chunkGroup the chunk is being removed from
-	 * @returns {boolean} returns true if chunk does exist in chunkGroup and is removed
-	 */
-	removeGroup(chunkGroup) {
-		if (!this._groups.has(chunkGroup)) return false;
-		this._groups.delete(chunkGroup);
-		return true;
-	}
-
-	/**
-	 * @param {ChunkGroup} chunkGroup the chunkGroup to check
-	 * @returns {boolean} returns true if chunk has chunkGroup reference and exists in chunkGroup
-	 */
-	isInGroup(chunkGroup) {
-		return this._groups.has(chunkGroup);
-	}
-
-	/**
-	 * @returns {number} the amount of groups said chunk is in
-	 */
-	getNumberOfGroups() {
-		return this._groups.size;
-	}
-
-	/**
-	 * @returns {SortableSet<ChunkGroup>} the chunkGroups that said chunk is referenced in
-	 */
-	get groupsIterable() {
-		return this._groups;
-	}
-
-	/**
-	 * @param {Chunk} otherChunk the chunk to compare itself with
-	 * @returns {-1|0|1} this is a comparitor function like sort and returns -1, 0, or 1 based on sort order
-	 */
-	compareTo(otherChunk) {
-		if (this.name && !otherChunk.name) return -1;
-		if (!this.name && otherChunk.name) return 1;
-		if (this.name < otherChunk.name) return -1;
-		if (this.name > otherChunk.name) return 1;
-		if (this._modules.size > otherChunk._modules.size) return -1;
-		if (this._modules.size < otherChunk._modules.size) return 1;
-		this._modules.sort();
-		otherChunk._modules.sort();
-		const a = this._modules[Symbol.iterator]();
-		const b = otherChunk._modules[Symbol.iterator]();
-		// eslint-disable-next-line no-constant-condition
-		while (true) {
-			const aItem = a.next();
-			if (aItem.done) return 0;
-			const bItem = b.next();
-			const aModuleIdentifier = aItem.value.identifier();
-			const bModuleIdentifier = bItem.value.identifier();
-			if (aModuleIdentifier < bModuleIdentifier) return -1;
-			if (aModuleIdentifier > bModuleIdentifier) return 1;
-		}
-	}
-
-	/**
-	 * @param {Module} module Module to check
-	 * @returns {boolean} returns true if module does exist in this chunk
-	 */
-	containsModule(module) {
-		return this._modules.has(module);
-	}
-
-	/**
-	 * @returns {Module[]} an array of modules (do not modify)
-	 */
-	getModules() {
-		return this._modules.getFromCache(getArray);
-	}
-
-	getModulesIdent() {
-		return this._modules.getFromUnorderedCache(getModulesIdent);
-	}
-
-	/**
-	 * @param {string=} reason reason why chunk is removed
-	 * @returns {void}
-	 */
-	remove(reason) {
-		// cleanup modules
-		// Array.from is used here to create a clone, because removeChunk modifies this._modules
-		for (const module of Array.from(this._modules)) {
-			module.removeChunk(this);
-		}
-		for (const chunkGroup of this._groups) {
-			chunkGroup.removeChunk(this);
-		}
-	}
-
-	/**
-	 *
-	 * @param {Module} module module to move
-	 * @param {Chunk} otherChunk other chunk to move it to
-	 * @returns {void}
-	 */
-	moveModule(module, otherChunk) {
-		GraphHelpers.disconnectChunkAndModule(this, module);
-		GraphHelpers.connectChunkAndModule(otherChunk, module);
-		module.rewriteChunkInReasons(this, [otherChunk]);
-	}
-
-	/**
-	 *
-	 * @param {Chunk} otherChunk the chunk to integrate with
-	 * @param {string} reason reason why the module is being integrated
-	 * @returns {boolean} returns true or false if integration succeeds or fails
-	 */
-	integrate(otherChunk, reason) {
-		if (!this.canBeIntegrated(otherChunk)) {
-			return false;
-		}
-
-		// Pick a new name for the integrated chunk
-		if (this.name && otherChunk.name) {
-			if (this.hasEntryModule() === otherChunk.hasEntryModule()) {
-				// When both chunks have entry modules or none have one, use
-				// shortest name
-				if (this.name.length !== otherChunk.name.length) {
-					this.name =
-						this.name.length < otherChunk.name.length
-							? this.name
-							: otherChunk.name;
-				} else {
-					this.name = this.name < otherChunk.name ? this.name : otherChunk.name;
-				}
-			} else if (otherChunk.hasEntryModule()) {
-				// Pick the name of the chunk with the entry module
-				this.name = otherChunk.name;
-			}
-		} else if (otherChunk.name) {
-			this.name = otherChunk.name;
-		}
-
-		// Array.from is used here to create a clone, because moveModule modifies otherChunk._modules
-		for (const module of Array.from(otherChunk._modules)) {
-			otherChunk.moveModule(module, this);
-		}
-		otherChunk._modules.clear();
-
-		if (otherChunk.entryModule) {
-			this.entryModule = otherChunk.entryModule;
-		}
-
-		for (const chunkGroup of otherChunk._groups) {
-			chunkGroup.replaceChunk(otherChunk, this);
-			this.addGroup(chunkGroup);
-		}
-		otherChunk._groups.clear();
-
-		return true;
-	}
-
-	/**
-	 * @param {Chunk} newChunk the new chunk that will be split out of the current chunk
-	 * @returns {void}
-	 */
-	split(newChunk) {
-		for (const chunkGroup of this._groups) {
-			chunkGroup.insertChunk(newChunk, this);
-			newChunk.addGroup(chunkGroup);
-		}
-	}
-
-	isEmpty() {
-		return this._modules.size === 0;
-	}
-
-	updateHash(hash) {
-		hash.update(`${this.id} `);
-		hash.update(this.ids ? this.ids.join(",") : "");
-		hash.update(`${this.name || ""} `);
-		for (const m of this._modules) {
-			hash.update(m.hash);
-		}
-	}
-
-	canBeIntegrated(otherChunk) {
-		if (this.preventIntegration || otherChunk.preventIntegration) {
-			return false;
-		}
-
-		/**
-		 * @param {Chunk} a chunk
-		 * @param {Chunk} b chunk
-		 * @returns {boolean} true, if a is always available when b is reached
-		 */
-		const isAvailable = (a, b) => {
-			const queue = new Set(b.groupsIterable);
-			for (const chunkGroup of queue) {
-				if (a.isInGroup(chunkGroup)) continue;
-				if (chunkGroup.isInitial()) return false;
-				for (const parent of chunkGroup.parentsIterable) {
-					queue.add(parent);
-				}
-			}
-			return true;
-		};
-
-		const selfHasRuntime = this.hasRuntime();
-		const otherChunkHasRuntime = otherChunk.hasRuntime();
-
-		if (selfHasRuntime !== otherChunkHasRuntime) {
-			if (selfHasRuntime) {
-				return isAvailable(this, otherChunk);
-			} else if (otherChunkHasRuntime) {
-				return isAvailable(otherChunk, this);
-			} else {
-				return false;
-			}
-		}
-
-		if (this.hasEntryModule() || otherChunk.hasEntryModule()) {
-			return false;
-		}
-
-		return true;
-	}
-
-	/**
-	 *
-	 * @param {number} size the size
-	 * @param {Object} options the options passed in
-	 * @returns {number} the multiplier returned
-	 */
-	addMultiplierAndOverhead(size, options) {
-		const overhead =
-			typeof options.chunkOverhead === "number" ? options.chunkOverhead : 10000;
-		const multiplicator = this.canBeInitial()
-			? options.entryChunkMultiplicator || 10
-			: 1;
-
-		return size * multiplicator + overhead;
-	}
-
-	/**
-	 * @returns {number} the size of all modules
-	 */
-	modulesSize() {
-		return this._modules.getFromUnorderedCache(getModulesSize);
-	}
-
-	/**
-	 * @param {Object} options the size display options
-	 * @returns {number} the chunk size
-	 */
-	size(options = {}) {
-		return this.addMultiplierAndOverhead(this.modulesSize(), options);
-	}
-
-	/**
-	 * @param {Chunk} otherChunk the other chunk
-	 * @param {TODO} options the options for this function
-	 * @returns {number | false} the size, or false if it can't be integrated
-	 */
-	integratedSize(otherChunk, options) {
-		// Chunk if it's possible to integrate this chunk
-		if (!this.canBeIntegrated(otherChunk)) {
-			return false;
-		}
-
-		let integratedModulesSize = this.modulesSize();
-		// only count modules that do not exist in this chunk!
-		for (const otherModule of otherChunk._modules) {
-			if (!this._modules.has(otherModule)) {
-				integratedModulesSize += otherModule.size();
-			}
-		}
-
-		return this.addMultiplierAndOverhead(integratedModulesSize, options);
-	}
-
-	/**
-	 * @param {function(Module, Module): -1|0|1=} sortByFn a predicate function used to sort modules
-	 * @returns {void}
-	 */
-	sortModules(sortByFn) {
-		this._modules.sortWith(sortByFn || sortModuleById);
-	}
-
-	sortItems() {
-		this.sortModules();
-	}
-
-	/**
-	 * @returns {Set<Chunk>} a set of all the async chunks
-	 */
-	getAllAsyncChunks() {
-		const queue = new Set();
-		const chunks = new Set();
-
-		const initialChunks = intersect(
-			Array.from(this.groupsIterable, g => new Set(g.chunks))
-		);
-
-		for (const chunkGroup of this.groupsIterable) {
-			for (const child of chunkGroup.childrenIterable) {
-				queue.add(child);
-			}
-		}
-
-		for (const chunkGroup of queue) {
-			for (const chunk of chunkGroup.chunks) {
-				if (!initialChunks.has(chunk)) {
-					chunks.add(chunk);
-				}
-			}
-			for (const child of chunkGroup.childrenIterable) {
-				queue.add(child);
-			}
-		}
-
-		return chunks;
-	}
-
-	/**
-	 * @typedef {Object} ChunkMaps
-	 * @property {Record<string|number, string>} hash
-	 * @property {Record<string|number, Record<string, string>>} contentHash
-	 * @property {Record<string|number, string>} name
-	 */
-
-	/**
-	 * @param {boolean} realHash should the full hash or the rendered hash be used
-	 * @returns {ChunkMaps} the chunk map information
-	 */
-	getChunkMaps(realHash) {
-		/** @type {Record<string|number, string>} */
-		const chunkHashMap = Object.create(null);
-		/** @type {Record<string|number, Record<string, string>>} */
-		const chunkContentHashMap = Object.create(null);
-		/** @type {Record<string|number, string>} */
-		const chunkNameMap = Object.create(null);
-
-		for (const chunk of this.getAllAsyncChunks()) {
-			chunkHashMap[chunk.id] = realHash ? chunk.hash : chunk.renderedHash;
-			for (const key of Object.keys(chunk.contentHash)) {
-				if (!chunkContentHashMap[key]) {
-					chunkContentHashMap[key] = Object.create(null);
-				}
-				chunkContentHashMap[key][chunk.id] = chunk.contentHash[key];
-			}
-			if (chunk.name) {
-				chunkNameMap[chunk.id] = chunk.name;
-			}
-		}
-
-		return {
-			hash: chunkHashMap,
-			contentHash: chunkContentHashMap,
-			name: chunkNameMap
-		};
-	}
-
-	/**
-	 * @returns {Record<string, Set<TODO>[]>} a record object of names to lists of child ids(?)
-	 */
-	getChildIdsByOrders() {
-		const lists = new Map();
-		for (const group of this.groupsIterable) {
-			if (group.chunks[group.chunks.length - 1] === this) {
-				for (const childGroup of group.childrenIterable) {
-					// TODO webpack 5 remove this check for options
-					if (typeof childGroup.options === "object") {
-						for (const key of Object.keys(childGroup.options)) {
-							if (key.endsWith("Order")) {
-								const name = key.substr(0, key.length - "Order".length);
-								let list = lists.get(name);
-								if (list === undefined) lists.set(name, (list = []));
-								list.push({
-									order: childGroup.options[key],
-									group: childGroup
-								});
-							}
-						}
-					}
-				}
-			}
-		}
-		const result = Object.create(null);
-		for (const [name, list] of lists) {
-			list.sort((a, b) => {
-				const cmp = b.order - a.order;
-				if (cmp !== 0) return cmp;
-				// TODO webpack 5 remove this check of compareTo
-				if (a.group.compareTo) {
-					return a.group.compareTo(b.group);
-				}
-				return 0;
-			});
-			result[name] = Array.from(
-				list.reduce((set, item) => {
-					for (const chunk of item.group.chunks) {
-						set.add(chunk.id);
-					}
-					return set;
-				}, new Set())
-			);
-		}
-		return result;
-	}
-
-	getChildIdsByOrdersMap(includeDirectChildren) {
-		const chunkMaps = Object.create(null);
-
-		const addChildIdsByOrdersToMap = chunk => {
-			const data = chunk.getChildIdsByOrders();
-			for (const key of Object.keys(data)) {
-				let chunkMap = chunkMaps[key];
-				if (chunkMap === undefined) {
-					chunkMaps[key] = chunkMap = Object.create(null);
-				}
-				chunkMap[chunk.id] = data[key];
-			}
-		};
-
-		if (includeDirectChildren) {
-			const chunks = new Set();
-			for (const chunkGroup of this.groupsIterable) {
-				for (const chunk of chunkGroup.chunks) {
-					chunks.add(chunk);
-				}
-			}
-			for (const chunk of chunks) {
-				addChildIdsByOrdersToMap(chunk);
-			}
-		}
-
-		for (const chunk of this.getAllAsyncChunks()) {
-			addChildIdsByOrdersToMap(chunk);
-		}
-
-		return chunkMaps;
-	}
-
-	/**
-	 * @typedef {Object} ChunkModuleMaps
-	 * @property {Record<string|number, (string|number)[]>} id
-	 * @property {Record<string|number, string>} hash
-	 */
-
-	/**
-	 * @param {ModuleFilterPredicate} filterFn function used to filter modules
-	 * @returns {ChunkModuleMaps} module map information
-	 */
-	getChunkModuleMaps(filterFn) {
-		/** @type {Record<string|number, (string|number)[]>} */
-		const chunkModuleIdMap = Object.create(null);
-		/** @type {Record<string|number, string>} */
-		const chunkModuleHashMap = Object.create(null);
-
-		for (const chunk of this.getAllAsyncChunks()) {
-			/** @type {(string|number)[]} */
-			let array;
-			for (const module of chunk.modulesIterable) {
-				if (filterFn(module)) {
-					if (array === undefined) {
-						array = [];
-						chunkModuleIdMap[chunk.id] = array;
-					}
-					array.push(module.id);
-					chunkModuleHashMap[module.id] = module.renderedHash;
-				}
-			}
-			if (array !== undefined) {
-				array.sort();
-			}
-		}
-
-		return {
-			id: chunkModuleIdMap,
-			hash: chunkModuleHashMap
-		};
-	}
-
-	/**
-	 *
-	 * @param {function(Module): boolean} filterFn predicate function used to filter modules
-	 * @param {function(Chunk): boolean} filterChunkFn predicate function used to filter chunks
-	 * @returns {boolean} return true if module exists in graph
-	 */
-	hasModuleInGraph(filterFn, filterChunkFn) {
-		const queue = new Set(this.groupsIterable);
-		const chunksProcessed = new Set();
-
-		for (const chunkGroup of queue) {
-			for (const chunk of chunkGroup.chunks) {
-				if (!chunksProcessed.has(chunk)) {
-					chunksProcessed.add(chunk);
-					if (!filterChunkFn || filterChunkFn(chunk)) {
-						for (const module of chunk.modulesIterable) {
-							if (filterFn(module)) {
-								return true;
-							}
-						}
-					}
-				}
-			}
-			for (const child of chunkGroup.childrenIterable) {
-				queue.add(child);
-			}
-		}
-		return false;
-	}
-
-	toString() {
-		return `Chunk[${Array.from(this._modules).join()}]`;
-	}
-}
-
-// TODO remove in webpack 5
-Object.defineProperty(Chunk.prototype, "forEachModule", {
-	configurable: false,
-	value: util.deprecate(
-		/**
-		 * @deprecated
-		 * @this {Chunk}
-		 * @typedef {function(any, any, Set<any>): void} ForEachModuleCallback
-		 * @param {ForEachModuleCallback} fn Callback function
-		 * @returns {void}
-		 */
-		function(fn) {
-			this._modules.forEach(fn);
-		},
-		"Chunk.forEachModule: Use for(const module of chunk.modulesIterable) instead"
-	)
-});
-
-// TODO remove in webpack 5
-Object.defineProperty(Chunk.prototype, "mapModules", {
-	configurable: false,
-	value: util.deprecate(
-		/**
-		 * @deprecated
-		 * @this {Chunk}
-		 * @typedef {function(any, number): any} MapModulesCallback
-		 * @param {MapModulesCallback} fn Callback function
-		 * @returns {TODO[]} result of mapped modules
-		 */
-		function(fn) {
-			return Array.from(this._modules, fn);
-		},
-		"Chunk.mapModules: Use Array.from(chunk.modulesIterable, fn) instead"
-	)
-});
-
-// TODO remove in webpack 5
-Object.defineProperty(Chunk.prototype, "chunks", {
-	configurable: false,
-	get() {
-		throw new Error("Chunk.chunks: Use ChunkGroup.getChildren() instead");
-	},
-	set() {
-		throw new Error("Chunk.chunks: Use ChunkGroup.add/removeChild() instead");
-	}
-});
-
-// TODO remove in webpack 5
-Object.defineProperty(Chunk.prototype, "parents", {
-	configurable: false,
-	get() {
-		throw new Error("Chunk.parents: Use ChunkGroup.getParents() instead");
-	},
-	set() {
-		throw new Error("Chunk.parents: Use ChunkGroup.add/removeParent() instead");
-	}
-});
-
-// TODO remove in webpack 5
-Object.defineProperty(Chunk.prototype, "blocks", {
-	configurable: false,
-	get() {
-		throw new Error("Chunk.blocks: Use ChunkGroup.getBlocks() instead");
-	},
-	set() {
-		throw new Error("Chunk.blocks: Use ChunkGroup.add/removeBlock() instead");
-	}
-});
-
-// TODO remove in webpack 5
-Object.defineProperty(Chunk.prototype, "entrypoints", {
-	configurable: false,
-	get() {
-		throw new Error(
-			"Chunk.entrypoints: Use Chunks.groupsIterable and filter by instanceof Entrypoint instead"
-		);
-	},
-	set() {
-		throw new Error("Chunk.entrypoints: Use Chunks.addGroup instead");
-	}
-});
-
-module.exports = Chunk;

+ 0 - 513
node_modules.bak/webpack/lib/ChunkGroup.js

@@ -1,513 +0,0 @@
-/*
-	MIT License http://www.opensource.org/licenses/mit-license.php
-	Author Tobias Koppers @sokra
-*/
-"use strict";
-
-const SortableSet = require("./util/SortableSet");
-const compareLocations = require("./compareLocations");
-
-/** @typedef {import("./Chunk")} Chunk */
-/** @typedef {import("./Module")} Module */
-/** @typedef {import("./ModuleReason")} ModuleReason */
-
-/** @typedef {{module: Module, loc: TODO, request: string}} OriginRecord */
-/** @typedef {string|{name: string}} ChunkGroupOptions */
-
-let debugId = 5000;
-
-/**
- * @template T
- * @param {SortableSet<T>} set set to convert to array.
- * @returns {T[]} the array format of existing set
- */
-const getArray = set => Array.from(set);
-
-/**
- * A convenience method used to sort chunks based on their id's
- * @param {ChunkGroup} a first sorting comparator
- * @param {ChunkGroup} b second sorting comparator
- * @returns {1|0|-1} a sorting index to determine order
- */
-const sortById = (a, b) => {
-	if (a.id < b.id) return -1;
-	if (b.id < a.id) return 1;
-	return 0;
-};
-
-/**
- * @param {OriginRecord} a the first comparator in sort
- * @param {OriginRecord} b the second comparator in sort
- * @returns {1|-1|0} returns sorting order as index
- */
-const sortOrigin = (a, b) => {
-	const aIdent = a.module ? a.module.identifier() : "";
-	const bIdent = b.module ? b.module.identifier() : "";
-	if (aIdent < bIdent) return -1;
-	if (aIdent > bIdent) return 1;
-	return compareLocations(a.loc, b.loc);
-};
-
-class ChunkGroup {
-	/**
-	 * Creates an instance of ChunkGroup.
-	 * @param {ChunkGroupOptions=} options chunk group options passed to chunkGroup
-	 */
-	constructor(options) {
-		if (typeof options === "string") {
-			options = { name: options };
-		} else if (!options) {
-			options = { name: undefined };
-		}
-		/** @type {number} */
-		this.groupDebugId = debugId++;
-		this.options = options;
-		/** @type {SortableSet<ChunkGroup>} */
-		this._children = new SortableSet(undefined, sortById);
-		this._parents = new SortableSet(undefined, sortById);
-		this._blocks = new SortableSet();
-		/** @type {Chunk[]} */
-		this.chunks = [];
-		/** @type {OriginRecord[]} */
-		this.origins = [];
-		/** Indices in top-down order */
-		/** @private @type {Map<Module, number>} */
-		this._moduleIndices = new Map();
-		/** Indices in bottom-up order */
-		/** @private @type {Map<Module, number>} */
-		this._moduleIndices2 = new Map();
-	}
-
-	/**
-	 * when a new chunk is added to a chunkGroup, addingOptions will occur.
-	 * @param {ChunkGroupOptions} options the chunkGroup options passed to addOptions
-	 * @returns {void}
-	 */
-	addOptions(options) {
-		for (const key of Object.keys(options)) {
-			if (this.options[key] === undefined) {
-				this.options[key] = options[key];
-			} else if (this.options[key] !== options[key]) {
-				if (key.endsWith("Order")) {
-					this.options[key] = Math.max(this.options[key], options[key]);
-				} else {
-					throw new Error(
-						`ChunkGroup.addOptions: No option merge strategy for ${key}`
-					);
-				}
-			}
-		}
-	}
-
-	/**
-	 * returns the name of current ChunkGroup
-	 * @returns {string|undefined} returns the ChunkGroup name
-	 */
-	get name() {
-		return this.options.name;
-	}
-
-	/**
-	 * sets a new name for current ChunkGroup
-	 * @param {string} value the new name for ChunkGroup
-	 * @returns {void}
-	 */
-	set name(value) {
-		this.options.name = value;
-	}
-
-	/**
-	 * get a uniqueId for ChunkGroup, made up of its member Chunk debugId's
-	 * @returns {string} a unique concatenation of chunk debugId's
-	 */
-	get debugId() {
-		return Array.from(this.chunks, x => x.debugId).join("+");
-	}
-
-	/**
-	 * get a unique id for ChunkGroup, made up of its member Chunk id's
-	 * @returns {string} a unique concatenation of chunk ids
-	 */
-	get id() {
-		return Array.from(this.chunks, x => x.id).join("+");
-	}
-
-	/**
-	 * Performs an unshift of a specific chunk
-	 * @param {Chunk} chunk chunk being unshifted
-	 * @returns {boolean} returns true if attempted chunk shift is accepted
-	 */
-	unshiftChunk(chunk) {
-		const oldIdx = this.chunks.indexOf(chunk);
-		if (oldIdx > 0) {
-			this.chunks.splice(oldIdx, 1);
-			this.chunks.unshift(chunk);
-		} else if (oldIdx < 0) {
-			this.chunks.unshift(chunk);
-			return true;
-		}
-		return false;
-	}
-
-	/**
-	 * inserts a chunk before another existing chunk in group
-	 * @param {Chunk} chunk Chunk being inserted
-	 * @param {Chunk} before Placeholder/target chunk marking new chunk insertion point
-	 * @returns {boolean} return true if insertion was successful
-	 */
-	insertChunk(chunk, before) {
-		const oldIdx = this.chunks.indexOf(chunk);
-		const idx = this.chunks.indexOf(before);
-		if (idx < 0) {
-			throw new Error("before chunk not found");
-		}
-		if (oldIdx >= 0 && oldIdx > idx) {
-			this.chunks.splice(oldIdx, 1);
-			this.chunks.splice(idx, 0, chunk);
-		} else if (oldIdx < 0) {
-			this.chunks.splice(idx, 0, chunk);
-			return true;
-		}
-		return false;
-	}
-
-	/**
-	 * add a chunk into ChunkGroup. Is pushed on or prepended
-	 * @param {Chunk} chunk chunk being pushed into ChunkGroupS
-	 * @returns {boolean} returns true if chunk addition was successful.
-	 */
-	pushChunk(chunk) {
-		const oldIdx = this.chunks.indexOf(chunk);
-		if (oldIdx >= 0) {
-			return false;
-		}
-		this.chunks.push(chunk);
-		return true;
-	}
-
-	/**
-	 * @param {Chunk} oldChunk chunk to be replaced
-	 * @param {Chunk} newChunk New chunk that will be replaced with
-	 * @returns {boolean} returns true if the replacement was successful
-	 */
-	replaceChunk(oldChunk, newChunk) {
-		const oldIdx = this.chunks.indexOf(oldChunk);
-		if (oldIdx < 0) return false;
-		const newIdx = this.chunks.indexOf(newChunk);
-		if (newIdx < 0) {
-			this.chunks[oldIdx] = newChunk;
-			return true;
-		}
-		if (newIdx < oldIdx) {
-			this.chunks.splice(oldIdx, 1);
-			return true;
-		} else if (newIdx !== oldIdx) {
-			this.chunks[oldIdx] = newChunk;
-			this.chunks.splice(newIdx, 1);
-			return true;
-		}
-	}
-
-	removeChunk(chunk) {
-		const idx = this.chunks.indexOf(chunk);
-		if (idx >= 0) {
-			this.chunks.splice(idx, 1);
-			return true;
-		}
-		return false;
-	}
-
-	isInitial() {
-		return false;
-	}
-
-	addChild(chunk) {
-		if (this._children.has(chunk)) {
-			return false;
-		}
-		this._children.add(chunk);
-		return true;
-	}
-
-	getChildren() {
-		return this._children.getFromCache(getArray);
-	}
-
-	getNumberOfChildren() {
-		return this._children.size;
-	}
-
-	get childrenIterable() {
-		return this._children;
-	}
-
-	removeChild(chunk) {
-		if (!this._children.has(chunk)) {
-			return false;
-		}
-
-		this._children.delete(chunk);
-		chunk.removeParent(this);
-		return true;
-	}
-
-	addParent(parentChunk) {
-		if (!this._parents.has(parentChunk)) {
-			this._parents.add(parentChunk);
-			return true;
-		}
-		return false;
-	}
-
-	getParents() {
-		return this._parents.getFromCache(getArray);
-	}
-
-	setParents(newParents) {
-		this._parents.clear();
-		for (const p of newParents) {
-			this._parents.add(p);
-		}
-	}
-
-	getNumberOfParents() {
-		return this._parents.size;
-	}
-
-	hasParent(parent) {
-		return this._parents.has(parent);
-	}
-
-	get parentsIterable() {
-		return this._parents;
-	}
-
-	removeParent(chunk) {
-		if (this._parents.delete(chunk)) {
-			chunk.removeChunk(this);
-			return true;
-		}
-		return false;
-	}
-
-	/**
-	 * @returns {Array} - an array containing the blocks
-	 */
-	getBlocks() {
-		return this._blocks.getFromCache(getArray);
-	}
-
-	getNumberOfBlocks() {
-		return this._blocks.size;
-	}
-
-	hasBlock(block) {
-		return this._blocks.has(block);
-	}
-
-	get blocksIterable() {
-		return this._blocks;
-	}
-
-	addBlock(block) {
-		if (!this._blocks.has(block)) {
-			this._blocks.add(block);
-			return true;
-		}
-		return false;
-	}
-
-	addOrigin(module, loc, request) {
-		this.origins.push({
-			module,
-			loc,
-			request
-		});
-	}
-
-	containsModule(module) {
-		for (const chunk of this.chunks) {
-			if (chunk.containsModule(module)) return true;
-		}
-		return false;
-	}
-
-	getFiles() {
-		const files = new Set();
-
-		for (const chunk of this.chunks) {
-			for (const file of chunk.files) {
-				files.add(file);
-			}
-		}
-
-		return Array.from(files);
-	}
-
-	/**
-	 * @param {string=} reason reason for removing ChunkGroup
-	 * @returns {void}
-	 */
-	remove(reason) {
-		// cleanup parents
-		for (const parentChunkGroup of this._parents) {
-			// remove this chunk from its parents
-			parentChunkGroup._children.delete(this);
-
-			// cleanup "sub chunks"
-			for (const chunkGroup of this._children) {
-				/**
-				 * remove this chunk as "intermediary" and connect
-				 * it "sub chunks" and parents directly
-				 */
-				// add parent to each "sub chunk"
-				chunkGroup.addParent(parentChunkGroup);
-				// add "sub chunk" to parent
-				parentChunkGroup.addChild(chunkGroup);
-			}
-		}
-
-		/**
-		 * we need to iterate again over the children
-		 * to remove this from the child's parents.
-		 * This can not be done in the above loop
-		 * as it is not guaranteed that `this._parents` contains anything.
-		 */
-		for (const chunkGroup of this._children) {
-			// remove this as parent of every "sub chunk"
-			chunkGroup._parents.delete(this);
-		}
-
-		// cleanup blocks
-		for (const block of this._blocks) {
-			block.chunkGroup = null;
-		}
-
-		// remove chunks
-		for (const chunk of this.chunks) {
-			chunk.removeGroup(this);
-		}
-	}
-
-	sortItems() {
-		this.origins.sort(sortOrigin);
-		this._parents.sort();
-		this._children.sort();
-	}
-
-	/**
-	 * Sorting predicate which allows current ChunkGroup to be compared against another.
-	 * Sorting values are based off of number of chunks in ChunkGroup.
-	 *
-	 * @param {ChunkGroup} otherGroup the chunkGroup to compare this against
-	 * @returns {-1|0|1} sort position for comparison
-	 */
-	compareTo(otherGroup) {
-		if (this.chunks.length > otherGroup.chunks.length) return -1;
-		if (this.chunks.length < otherGroup.chunks.length) return 1;
-		const a = this.chunks[Symbol.iterator]();
-		const b = otherGroup.chunks[Symbol.iterator]();
-		// eslint-disable-next-line no-constant-condition
-		while (true) {
-			const aItem = a.next();
-			const bItem = b.next();
-			if (aItem.done) return 0;
-			const cmp = aItem.value.compareTo(bItem.value);
-			if (cmp !== 0) return cmp;
-		}
-	}
-
-	getChildrenByOrders() {
-		const lists = new Map();
-		for (const childGroup of this._children) {
-			// TODO webpack 5 remove this check for options
-			if (typeof childGroup.options === "object") {
-				for (const key of Object.keys(childGroup.options)) {
-					if (key.endsWith("Order")) {
-						const name = key.substr(0, key.length - "Order".length);
-						let list = lists.get(name);
-						if (list === undefined) {
-							lists.set(name, (list = []));
-						}
-						list.push({
-							order: childGroup.options[key],
-							group: childGroup
-						});
-					}
-				}
-			}
-		}
-		const result = Object.create(null);
-		for (const [name, list] of lists) {
-			list.sort((a, b) => {
-				const cmp = b.order - a.order;
-				if (cmp !== 0) return cmp;
-				// TODO webpack 5 remove this check of compareTo
-				if (a.group.compareTo) {
-					return a.group.compareTo(b.group);
-				}
-				return 0;
-			});
-			result[name] = list.map(i => i.group);
-		}
-		return result;
-	}
-
-	/**
-	 * Sets the top-down index of a module in this ChunkGroup
-	 * @param {Module} module module for which the index should be set
-	 * @param {number} index the index of the module
-	 * @returns {void}
-	 */
-	setModuleIndex(module, index) {
-		this._moduleIndices.set(module, index);
-	}
-
-	/**
-	 * Gets the top-down index of a module in this ChunkGroup
-	 * @param {Module} module the module
-	 * @returns {number} index
-	 */
-	getModuleIndex(module) {
-		return this._moduleIndices.get(module);
-	}
-
-	/**
-	 * Sets the bottom-up index of a module in this ChunkGroup
-	 * @param {Module} module module for which the index should be set
-	 * @param {number} index the index of the module
-	 * @returns {void}
-	 */
-	setModuleIndex2(module, index) {
-		this._moduleIndices2.set(module, index);
-	}
-
-	/**
-	 * Gets the bottom-up index of a module in this ChunkGroup
-	 * @param {Module} module the module
-	 * @returns {number} index
-	 */
-	getModuleIndex2(module) {
-		return this._moduleIndices2.get(module);
-	}
-
-	checkConstraints() {
-		const chunk = this;
-		for (const child of chunk._children) {
-			if (!child._parents.has(chunk)) {
-				throw new Error(
-					`checkConstraints: child missing parent ${chunk.debugId} -> ${child.debugId}`
-				);
-			}
-		}
-		for (const parentChunk of chunk._parents) {
-			if (!parentChunk._children.has(chunk)) {
-				throw new Error(
-					`checkConstraints: parent missing child ${parentChunk.debugId} <- ${chunk.debugId}`
-				);
-			}
-		}
-	}
-}
-
-module.exports = ChunkGroup;

+ 0 - 32
node_modules.bak/webpack/lib/ChunkRenderError.js

@@ -1,32 +0,0 @@
-/*
-	MIT License http://www.opensource.org/licenses/mit-license.php
-	Author Tobias Koppers @sokra
-*/
-"use strict";
-
-const WebpackError = require("./WebpackError");
-
-/** @typedef {import("./Chunk")} Chunk */
-
-class ChunkRenderError extends WebpackError {
-	/**
-	 * Create a new ChunkRenderError
-	 * @param {Chunk} chunk A chunk
-	 * @param {string} file Related file
-	 * @param {Error} error Original error
-	 */
-	constructor(chunk, file, error) {
-		super();
-
-		this.name = "ChunkRenderError";
-		this.error = error;
-		this.message = error.message;
-		this.details = error.stack;
-		this.file = file;
-		this.chunk = chunk;
-
-		Error.captureStackTrace(this, this.constructor);
-	}
-}
-
-module.exports = ChunkRenderError;

+ 0 - 87
node_modules.bak/webpack/lib/ChunkTemplate.js

@@ -1,87 +0,0 @@
-/*
-	MIT License http://www.opensource.org/licenses/mit-license.php
-	Author Tobias Koppers @sokra
-*/
-"use strict";
-
-const { Tapable, SyncWaterfallHook, SyncHook } = require("tapable");
-
-/** @typedef {import("./ModuleTemplate")} ModuleTemplate */
-/** @typedef {import("./Chunk")} Chunk */
-/** @typedef {import("./Module")} Module} */
-/** @typedef {import("./Dependency").DependencyTemplate} DependencyTemplate} */
-/** @typedef {import("./util/createHash").Hash} Hash} */
-
-/**
- * @typedef {Object} RenderManifestOptions
- * @property {Chunk} chunk the chunk used to render
- * @property {string} hash
- * @property {string} fullHash
- * @property {TODO} outputOptions
- * @property {{javascript: ModuleTemplate, webassembly: ModuleTemplate}} moduleTemplates
- * @property {Map<TODO, TODO>} dependencyTemplates
- */
-
-module.exports = class ChunkTemplate extends Tapable {
-	constructor(outputOptions) {
-		super();
-		this.outputOptions = outputOptions || {};
-		this.hooks = {
-			/** @type {SyncWaterfallHook<TODO[], RenderManifestOptions>} */
-			renderManifest: new SyncWaterfallHook(["result", "options"]),
-			modules: new SyncWaterfallHook([
-				"source",
-				"chunk",
-				"moduleTemplate",
-				"dependencyTemplates"
-			]),
-			render: new SyncWaterfallHook([
-				"source",
-				"chunk",
-				"moduleTemplate",
-				"dependencyTemplates"
-			]),
-			renderWithEntry: new SyncWaterfallHook(["source", "chunk"]),
-			hash: new SyncHook(["hash"]),
-			hashForChunk: new SyncHook(["hash", "chunk"])
-		};
-	}
-
-	/**
-	 *
-	 * @param {RenderManifestOptions} options render manifest options
-	 * @returns {TODO[]} returns render manifest
-	 */
-	getRenderManifest(options) {
-		const result = [];
-
-		this.hooks.renderManifest.call(result, options);
-
-		return result;
-	}
-
-	/**
-	 * Updates hash with information from this template
-	 * @param {Hash} hash the hash to update
-	 * @returns {void}
-	 */
-	updateHash(hash) {
-		hash.update("ChunkTemplate");
-		hash.update("2");
-		this.hooks.hash.call(hash);
-	}
-
-	/**
-	 * TODO webpack 5: remove moduleTemplate and dependencyTemplates
-	 * Updates hash with chunk-specific information from this template
-	 * @param {Hash} hash the hash to update
-	 * @param {Chunk} chunk the chunk
-	 * @param {ModuleTemplate} moduleTemplate ModuleTemplate instance for render
-	 * @param {Map<Function, DependencyTemplate>} dependencyTemplates dependency templates
-	 * @returns {void}
-	 */
-	updateHashForChunk(hash, chunk, moduleTemplate, dependencyTemplates) {
-		this.updateHash(hash);
-		this.hooks.hashForChunk.call(hash, chunk);
-	}
-};

+ 0 - 32
node_modules.bak/webpack/lib/CommentCompilationWarning.js

@@ -1,32 +0,0 @@
-/*
-	MIT License http://www.opensource.org/licenses/mit-license.php
-	Author Tobias Koppers @sokra
-*/
-"use strict";
-
-const WebpackError = require("./WebpackError");
-
-/** @typedef {import("./Module")} Module */
-
-/** @typedef {import("./Dependency").DependencyLocation} DependencyLocation */
-
-class CommentCompilationWarning extends WebpackError {
-	/**
-	 *
-	 * @param {string} message warning message
-	 * @param {Module} module affected module
-	 * @param {DependencyLocation} loc affected lines of code
-	 */
-	constructor(message, module, loc) {
-		super(message);
-
-		this.name = "CommentCompilationWarning";
-
-		this.module = module;
-		this.loc = loc;
-
-		Error.captureStackTrace(this, this.constructor);
-	}
-}
-
-module.exports = CommentCompilationWarning;

+ 0 - 116
node_modules.bak/webpack/lib/CommonJsStuffPlugin.js

@@ -1,116 +0,0 @@
-/*
-	MIT License http://www.opensource.org/licenses/mit-license.php
-	Author Tobias Koppers @sokra
-*/
-"use strict";
-
-const path = require("path");
-const ParserHelpers = require("./ParserHelpers");
-
-class CommonJsStuffPlugin {
-	apply(compiler) {
-		compiler.hooks.compilation.tap(
-			"CommonJsStuffPlugin",
-			(compilation, { normalModuleFactory }) => {
-				const handler = (parser, parserOptions) => {
-					parser.hooks.expression
-						.for("require.main.require")
-						.tap(
-							"CommonJsStuffPlugin",
-							ParserHelpers.expressionIsUnsupported(
-								parser,
-								"require.main.require is not supported by webpack."
-							)
-						);
-					parser.hooks.expression
-						.for("module.parent.require")
-						.tap(
-							"CommonJsStuffPlugin",
-							ParserHelpers.expressionIsUnsupported(
-								parser,
-								"module.parent.require is not supported by webpack."
-							)
-						);
-					parser.hooks.expression
-						.for("require.main")
-						.tap(
-							"CommonJsStuffPlugin",
-							ParserHelpers.toConstantDependencyWithWebpackRequire(
-								parser,
-								"__webpack_require__.c[__webpack_require__.s]"
-							)
-						);
-					parser.hooks.expression
-						.for("module.loaded")
-						.tap("CommonJsStuffPlugin", expr => {
-							parser.state.module.buildMeta.moduleConcatenationBailout =
-								"module.loaded";
-							return ParserHelpers.toConstantDependency(
-								parser,
-								"module.l"
-							)(expr);
-						});
-					parser.hooks.expression
-						.for("module.id")
-						.tap("CommonJsStuffPlugin", expr => {
-							parser.state.module.buildMeta.moduleConcatenationBailout =
-								"module.id";
-							return ParserHelpers.toConstantDependency(
-								parser,
-								"module.i"
-							)(expr);
-						});
-					parser.hooks.expression
-						.for("module.exports")
-						.tap("CommonJsStuffPlugin", () => {
-							const module = parser.state.module;
-							const isHarmony =
-								module.buildMeta && module.buildMeta.exportsType;
-							if (!isHarmony) return true;
-						});
-					parser.hooks.evaluateIdentifier
-						.for("module.hot")
-						.tap(
-							"CommonJsStuffPlugin",
-							ParserHelpers.evaluateToIdentifier("module.hot", false)
-						);
-					parser.hooks.expression
-						.for("module")
-						.tap("CommonJsStuffPlugin", () => {
-							const module = parser.state.module;
-							const isHarmony =
-								module.buildMeta && module.buildMeta.exportsType;
-							let moduleJsPath = path.join(
-								__dirname,
-								"..",
-								"buildin",
-								isHarmony ? "harmony-module.js" : "module.js"
-							);
-							if (module.context) {
-								moduleJsPath = path.relative(
-									parser.state.module.context,
-									moduleJsPath
-								);
-								if (!/^[A-Z]:/i.test(moduleJsPath)) {
-									moduleJsPath = `./${moduleJsPath.replace(/\\/g, "/")}`;
-								}
-							}
-							return ParserHelpers.addParsedVariableToModule(
-								parser,
-								"module",
-								`require(${JSON.stringify(moduleJsPath)})(module)`
-							);
-						});
-				};
-
-				normalModuleFactory.hooks.parser
-					.for("javascript/auto")
-					.tap("CommonJsStuffPlugin", handler);
-				normalModuleFactory.hooks.parser
-					.for("javascript/dynamic")
-					.tap("CommonJsStuffPlugin", handler);
-			}
-		);
-	}
-}
-module.exports = CommonJsStuffPlugin;

+ 0 - 70
node_modules.bak/webpack/lib/CompatibilityPlugin.js

@@ -1,70 +0,0 @@
-/*
-	MIT License http://www.opensource.org/licenses/mit-license.php
-	Author Tobias Koppers @sokra
-*/
-"use strict";
-
-const ConstDependency = require("./dependencies/ConstDependency");
-
-const NullFactory = require("./NullFactory");
-
-/** @typedef {import("./Compiler")} Compiler */
-
-class CompatibilityPlugin {
-	/**
-	 * Apply the plugin
-	 * @param {Compiler} compiler Webpack Compiler
-	 * @returns {void}
-	 */
-	apply(compiler) {
-		compiler.hooks.compilation.tap(
-			"CompatibilityPlugin",
-			(compilation, { normalModuleFactory }) => {
-				compilation.dependencyFactories.set(ConstDependency, new NullFactory());
-				compilation.dependencyTemplates.set(
-					ConstDependency,
-					new ConstDependency.Template()
-				);
-
-				normalModuleFactory.hooks.parser
-					.for("javascript/auto")
-					.tap("CompatibilityPlugin", (parser, parserOptions) => {
-						if (
-							parserOptions.browserify !== undefined &&
-							!parserOptions.browserify
-						)
-							return;
-
-						parser.hooks.call
-							.for("require")
-							.tap("CompatibilityPlugin", expr => {
-								// support for browserify style require delegator: "require(o, !0)"
-								if (expr.arguments.length !== 2) return;
-								const second = parser.evaluateExpression(expr.arguments[1]);
-								if (!second.isBoolean()) return;
-								if (second.asBool() !== true) return;
-								const dep = new ConstDependency("require", expr.callee.range);
-								dep.loc = expr.loc;
-								if (parser.state.current.dependencies.length > 1) {
-									const last =
-										parser.state.current.dependencies[
-											parser.state.current.dependencies.length - 1
-										];
-									if (
-										last.critical &&
-										last.options &&
-										last.options.request === "." &&
-										last.userRequest === "." &&
-										last.options.recursive
-									)
-										parser.state.current.dependencies.pop();
-								}
-								parser.state.current.addDependency(dep);
-								return true;
-							});
-					});
-			}
-		);
-	}
-}
-module.exports = CompatibilityPlugin;

Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 0 - 2327
node_modules.bak/webpack/lib/Compilation.js


+ 0 - 735
node_modules.bak/webpack/lib/Compiler.js

@@ -1,735 +0,0 @@
-/*
-	MIT License http://www.opensource.org/licenses/mit-license.php
-	Author Tobias Koppers @sokra
-*/
-"use strict";
-
-const parseJson = require("json-parse-better-errors");
-const asyncLib = require("neo-async");
-const path = require("path");
-const { Source } = require("webpack-sources");
-const util = require("util");
-const {
-	Tapable,
-	SyncHook,
-	SyncBailHook,
-	AsyncParallelHook,
-	AsyncSeriesHook
-} = require("tapable");
-
-const Compilation = require("./Compilation");
-const Stats = require("./Stats");
-const Watching = require("./Watching");
-const NormalModuleFactory = require("./NormalModuleFactory");
-const ContextModuleFactory = require("./ContextModuleFactory");
-const ResolverFactory = require("./ResolverFactory");
-
-const RequestShortener = require("./RequestShortener");
-const { makePathsRelative } = require("./util/identifier");
-const ConcurrentCompilationError = require("./ConcurrentCompilationError");
-const { Logger } = require("./logging/Logger");
-
-/** @typedef {import("../declarations/WebpackOptions").Entry} Entry */
-/** @typedef {import("../declarations/WebpackOptions").WebpackOptions} WebpackOptions */
-
-/**
- * @typedef {Object} CompilationParams
- * @property {NormalModuleFactory} normalModuleFactory
- * @property {ContextModuleFactory} contextModuleFactory
- * @property {Set<string>} compilationDependencies
- */
-
-class Compiler extends Tapable {
-	constructor(context) {
-		super();
-		this.hooks = {
-			/** @type {SyncBailHook<Compilation>} */
-			shouldEmit: new SyncBailHook(["compilation"]),
-			/** @type {AsyncSeriesHook<Stats>} */
-			done: new AsyncSeriesHook(["stats"]),
-			/** @type {AsyncSeriesHook<>} */
-			additionalPass: new AsyncSeriesHook([]),
-			/** @type {AsyncSeriesHook<Compiler>} */
-			beforeRun: new AsyncSeriesHook(["compiler"]),
-			/** @type {AsyncSeriesHook<Compiler>} */
-			run: new AsyncSeriesHook(["compiler"]),
-			/** @type {AsyncSeriesHook<Compilation>} */
-			emit: new AsyncSeriesHook(["compilation"]),
-			/** @type {AsyncSeriesHook<string, Buffer>} */
-			assetEmitted: new AsyncSeriesHook(["file", "content"]),
-			/** @type {AsyncSeriesHook<Compilation>} */
-			afterEmit: new AsyncSeriesHook(["compilation"]),
-
-			/** @type {SyncHook<Compilation, CompilationParams>} */
-			thisCompilation: new SyncHook(["compilation", "params"]),
-			/** @type {SyncHook<Compilation, CompilationParams>} */
-			compilation: new SyncHook(["compilation", "params"]),
-			/** @type {SyncHook<NormalModuleFactory>} */
-			normalModuleFactory: new SyncHook(["normalModuleFactory"]),
-			/** @type {SyncHook<ContextModuleFactory>}  */
-			contextModuleFactory: new SyncHook(["contextModulefactory"]),
-
-			/** @type {AsyncSeriesHook<CompilationParams>} */
-			beforeCompile: new AsyncSeriesHook(["params"]),
-			/** @type {SyncHook<CompilationParams>} */
-			compile: new SyncHook(["params"]),
-			/** @type {AsyncParallelHook<Compilation>} */
-			make: new AsyncParallelHook(["compilation"]),
-			/** @type {AsyncSeriesHook<Compilation>} */
-			afterCompile: new AsyncSeriesHook(["compilation"]),
-
-			/** @type {AsyncSeriesHook<Compiler>} */
-			watchRun: new AsyncSeriesHook(["compiler"]),
-			/** @type {SyncHook<Error>} */
-			failed: new SyncHook(["error"]),
-			/** @type {SyncHook<string, string>} */
-			invalid: new SyncHook(["filename", "changeTime"]),
-			/** @type {SyncHook} */
-			watchClose: new SyncHook([]),
-
-			/** @type {SyncBailHook<string, string, any[]>} */
-			infrastructureLog: new SyncBailHook(["origin", "type", "args"]),
-
-			// TODO the following hooks are weirdly located here
-			// TODO move them for webpack 5
-			/** @type {SyncHook} */
-			environment: new SyncHook([]),
-			/** @type {SyncHook} */
-			afterEnvironment: new SyncHook([]),
-			/** @type {SyncHook<Compiler>} */
-			afterPlugins: new SyncHook(["compiler"]),
-			/** @type {SyncHook<Compiler>} */
-			afterResolvers: new SyncHook(["compiler"]),
-			/** @type {SyncBailHook<string, Entry>} */
-			entryOption: new SyncBailHook(["context", "entry"])
-		};
-		// TODO webpack 5 remove this
-		this.hooks.infrastructurelog = this.hooks.infrastructureLog;
-
-		this._pluginCompat.tap("Compiler", options => {
-			switch (options.name) {
-				case "additional-pass":
-				case "before-run":
-				case "run":
-				case "emit":
-				case "after-emit":
-				case "before-compile":
-				case "make":
-				case "after-compile":
-				case "watch-run":
-					options.async = true;
-					break;
-			}
-		});
-
-		/** @type {string=} */
-		this.name = undefined;
-		/** @type {Compilation=} */
-		this.parentCompilation = undefined;
-		/** @type {string} */
-		this.outputPath = "";
-
-		this.outputFileSystem = null;
-		this.inputFileSystem = null;
-
-		/** @type {string|null} */
-		this.recordsInputPath = null;
-		/** @type {string|null} */
-		this.recordsOutputPath = null;
-		this.records = {};
-		this.removedFiles = new Set();
-		/** @type {Map<string, number>} */
-		this.fileTimestamps = new Map();
-		/** @type {Map<string, number>} */
-		this.contextTimestamps = new Map();
-		/** @type {ResolverFactory} */
-		this.resolverFactory = new ResolverFactory();
-
-		this.infrastructureLogger = undefined;
-
-		// TODO remove in webpack 5
-		this.resolvers = {
-			normal: {
-				plugins: util.deprecate((hook, fn) => {
-					this.resolverFactory.plugin("resolver normal", resolver => {
-						resolver.plugin(hook, fn);
-					});
-				}, "webpack: Using compiler.resolvers.normal is deprecated.\n" + 'Use compiler.resolverFactory.plugin("resolver normal", resolver => {\n  resolver.plugin(/* … */);\n}); instead.'),
-				apply: util.deprecate((...args) => {
-					this.resolverFactory.plugin("resolver normal", resolver => {
-						resolver.apply(...args);
-					});
-				}, "webpack: Using compiler.resolvers.normal is deprecated.\n" + 'Use compiler.resolverFactory.plugin("resolver normal", resolver => {\n  resolver.apply(/* … */);\n}); instead.')
-			},
-			loader: {
-				plugins: util.deprecate((hook, fn) => {
-					this.resolverFactory.plugin("resolver loader", resolver => {
-						resolver.plugin(hook, fn);
-					});
-				}, "webpack: Using compiler.resolvers.loader is deprecated.\n" + 'Use compiler.resolverFactory.plugin("resolver loader", resolver => {\n  resolver.plugin(/* … */);\n}); instead.'),
-				apply: util.deprecate((...args) => {
-					this.resolverFactory.plugin("resolver loader", resolver => {
-						resolver.apply(...args);
-					});
-				}, "webpack: Using compiler.resolvers.loader is deprecated.\n" + 'Use compiler.resolverFactory.plugin("resolver loader", resolver => {\n  resolver.apply(/* … */);\n}); instead.')
-			},
-			context: {
-				plugins: util.deprecate((hook, fn) => {
-					this.resolverFactory.plugin("resolver context", resolver => {
-						resolver.plugin(hook, fn);
-					});
-				}, "webpack: Using compiler.resolvers.context is deprecated.\n" + 'Use compiler.resolverFactory.plugin("resolver context", resolver => {\n  resolver.plugin(/* … */);\n}); instead.'),
-				apply: util.deprecate((...args) => {
-					this.resolverFactory.plugin("resolver context", resolver => {
-						resolver.apply(...args);
-					});
-				}, "webpack: Using compiler.resolvers.context is deprecated.\n" + 'Use compiler.resolverFactory.plugin("resolver context", resolver => {\n  resolver.apply(/* … */);\n}); instead.')
-			}
-		};
-
-		/** @type {WebpackOptions} */
-		this.options = /** @type {WebpackOptions} */ ({});
-
-		this.context = context;
-
-		this.requestShortener = new RequestShortener(context);
-
-		/** @type {boolean} */
-		this.running = false;
-
-		/** @type {boolean} */
-		this.watchMode = false;
-
-		/** @private @type {WeakMap<Source, { sizeOnlySource: SizeOnlySource, writtenTo: Map<string, number> }>} */
-		this._assetEmittingSourceCache = new WeakMap();
-		/** @private @type {Map<string, number>} */
-		this._assetEmittingWrittenFiles = new Map();
-	}
-
-	/**
-	 * @param {string | (function(): string)} name name of the logger, or function called once to get the logger name
-	 * @returns {Logger} a logger with that name
-	 */
-	getInfrastructureLogger(name) {
-		if (!name) {
-			throw new TypeError(
-				"Compiler.getInfrastructureLogger(name) called without a name"
-			);
-		}
-		return new Logger((type, args) => {
-			if (typeof name === "function") {
-				name = name();
-				if (!name) {
-					throw new TypeError(
-						"Compiler.getInfrastructureLogger(name) called with a function not returning a name"
-					);
-				}
-			}
-			if (this.hooks.infrastructureLog.call(name, type, args) === undefined) {
-				if (this.infrastructureLogger !== undefined) {
-					this.infrastructureLogger(name, type, args);
-				}
-			}
-		});
-	}
-
-	watch(watchOptions, handler) {
-		if (this.running) return handler(new ConcurrentCompilationError());
-
-		this.running = true;
-		this.watchMode = true;
-		this.fileTimestamps = new Map();
-		this.contextTimestamps = new Map();
-		this.removedFiles = new Set();
-		return new Watching(this, watchOptions, handler);
-	}
-
-	run(callback) {
-		if (this.running) return callback(new ConcurrentCompilationError());
-
-		const finalCallback = (err, stats) => {
-			this.running = false;
-
-			if (err) {
-				this.hooks.failed.call(err);
-			}
-
-			if (callback !== undefined) return callback(err, stats);
-		};
-
-		const startTime = Date.now();
-
-		this.running = true;
-
-		const onCompiled = (err, compilation) => {
-			if (err) return finalCallback(err);
-
-			if (this.hooks.shouldEmit.call(compilation) === false) {
-				const stats = new Stats(compilation);
-				stats.startTime = startTime;
-				stats.endTime = Date.now();
-				this.hooks.done.callAsync(stats, err => {
-					if (err) return finalCallback(err);
-					return finalCallback(null, stats);
-				});
-				return;
-			}
-
-			this.emitAssets(compilation, err => {
-				if (err) return finalCallback(err);
-
-				if (compilation.hooks.needAdditionalPass.call()) {
-					compilation.needAdditionalPass = true;
-
-					const stats = new Stats(compilation);
-					stats.startTime = startTime;
-					stats.endTime = Date.now();
-					this.hooks.done.callAsync(stats, err => {
-						if (err) return finalCallback(err);
-
-						this.hooks.additionalPass.callAsync(err => {
-							if (err) return finalCallback(err);
-							this.compile(onCompiled);
-						});
-					});
-					return;
-				}
-
-				this.emitRecords(err => {
-					if (err) return finalCallback(err);
-
-					const stats = new Stats(compilation);
-					stats.startTime = startTime;
-					stats.endTime = Date.now();
-					this.hooks.done.callAsync(stats, err => {
-						if (err) return finalCallback(err);
-						return finalCallback(null, stats);
-					});
-				});
-			});
-		};
-
-		this.hooks.beforeRun.callAsync(this, err => {
-			if (err) return finalCallback(err);
-
-			this.hooks.run.callAsync(this, err => {
-				if (err) return finalCallback(err);
-
-				this.readRecords(err => {
-					if (err) return finalCallback(err);
-
-					this.compile(onCompiled);
-				});
-			});
-		});
-	}
-
-	runAsChild(callback) {
-		this.compile((err, compilation) => {
-			if (err) return callback(err);
-
-			this.parentCompilation.children.push(compilation);
-			for (const { name, source, info } of compilation.getAssets()) {
-				this.parentCompilation.emitAsset(name, source, info);
-			}
-
-			const entries = Array.from(
-				compilation.entrypoints.values(),
-				ep => ep.chunks
-			).reduce((array, chunks) => {
-				return array.concat(chunks);
-			}, []);
-
-			return callback(null, entries, compilation);
-		});
-	}
-
-	purgeInputFileSystem() {
-		if (this.inputFileSystem && this.inputFileSystem.purge) {
-			this.inputFileSystem.purge();
-		}
-	}
-
-	emitAssets(compilation, callback) {
-		let outputPath;
-		const emitFiles = err => {
-			if (err) return callback(err);
-
-			asyncLib.forEachLimit(
-				compilation.getAssets(),
-				15,
-				({ name: file, source }, callback) => {
-					let targetFile = file;
-					const queryStringIdx = targetFile.indexOf("?");
-					if (queryStringIdx >= 0) {
-						targetFile = targetFile.substr(0, queryStringIdx);
-					}
-
-					const writeOut = err => {
-						if (err) return callback(err);
-						const targetPath = this.outputFileSystem.join(
-							outputPath,
-							targetFile
-						);
-						// TODO webpack 5 remove futureEmitAssets option and make it on by default
-						if (this.options.output.futureEmitAssets) {
-							// check if the target file has already been written by this Compiler
-							const targetFileGeneration = this._assetEmittingWrittenFiles.get(
-								targetPath
-							);
-
-							// create an cache entry for this Source if not already existing
-							let cacheEntry = this._assetEmittingSourceCache.get(source);
-							if (cacheEntry === undefined) {
-								cacheEntry = {
-									sizeOnlySource: undefined,
-									writtenTo: new Map()
-								};
-								this._assetEmittingSourceCache.set(source, cacheEntry);
-							}
-
-							// if the target file has already been written
-							if (targetFileGeneration !== undefined) {
-								// check if the Source has been written to this target file
-								const writtenGeneration = cacheEntry.writtenTo.get(targetPath);
-								if (writtenGeneration === targetFileGeneration) {
-									// if yes, we skip writing the file
-									// as it's already there
-									// (we assume one doesn't remove files while the Compiler is running)
-
-									compilation.updateAsset(file, cacheEntry.sizeOnlySource, {
-										size: cacheEntry.sizeOnlySource.size()
-									});
-
-									return callback();
-								}
-							}
-
-							// TODO webpack 5: if info.immutable check if file already exists in output
-							// skip emitting if it's already there
-
-							// get the binary (Buffer) content from the Source
-							/** @type {Buffer} */
-							let content;
-							if (typeof source.buffer === "function") {
-								content = source.buffer();
-							} else {
-								const bufferOrString = source.source();
-								if (Buffer.isBuffer(bufferOrString)) {
-									content = bufferOrString;
-								} else {
-									content = Buffer.from(bufferOrString, "utf8");
-								}
-							}
-
-							// Create a replacement resource which only allows to ask for size
-							// This allows to GC all memory allocated by the Source
-							// (expect when the Source is stored in any other cache)
-							cacheEntry.sizeOnlySource = new SizeOnlySource(content.length);
-							compilation.updateAsset(file, cacheEntry.sizeOnlySource, {
-								size: content.length
-							});
-
-							// Write the file to output file system
-							this.outputFileSystem.writeFile(targetPath, content, err => {
-								if (err) return callback(err);
-
-								// information marker that the asset has been emitted
-								compilation.emittedAssets.add(file);
-
-								// cache the information that the Source has been written to that location
-								const newGeneration =
-									targetFileGeneration === undefined
-										? 1
-										: targetFileGeneration + 1;
-								cacheEntry.writtenTo.set(targetPath, newGeneration);
-								this._assetEmittingWrittenFiles.set(targetPath, newGeneration);
-								this.hooks.assetEmitted.callAsync(file, content, callback);
-							});
-						} else {
-							if (source.existsAt === targetPath) {
-								source.emitted = false;
-								return callback();
-							}
-							let content = source.source();
-
-							if (!Buffer.isBuffer(content)) {
-								content = Buffer.from(content, "utf8");
-							}
-
-							source.existsAt = targetPath;
-							source.emitted = true;
-							this.outputFileSystem.writeFile(targetPath, content, err => {
-								if (err) return callback(err);
-								this.hooks.assetEmitted.callAsync(file, content, callback);
-							});
-						}
-					};
-
-					if (targetFile.match(/\/|\\/)) {
-						const dir = path.dirname(targetFile);
-						this.outputFileSystem.mkdirp(
-							this.outputFileSystem.join(outputPath, dir),
-							writeOut
-						);
-					} else {
-						writeOut();
-					}
-				},
-				err => {
-					if (err) return callback(err);
-
-					this.hooks.afterEmit.callAsync(compilation, err => {
-						if (err) return callback(err);
-
-						return callback();
-					});
-				}
-			);
-		};
-
-		this.hooks.emit.callAsync(compilation, err => {
-			if (err) return callback(err);
-			outputPath = compilation.getPath(this.outputPath);
-			this.outputFileSystem.mkdirp(outputPath, emitFiles);
-		});
-	}
-
-	emitRecords(callback) {
-		if (!this.recordsOutputPath) return callback();
-		const idx1 = this.recordsOutputPath.lastIndexOf("/");
-		const idx2 = this.recordsOutputPath.lastIndexOf("\\");
-		let recordsOutputPathDirectory = null;
-		if (idx1 > idx2) {
-			recordsOutputPathDirectory = this.recordsOutputPath.substr(0, idx1);
-		} else if (idx1 < idx2) {
-			recordsOutputPathDirectory = this.recordsOutputPath.substr(0, idx2);
-		}
-
-		const writeFile = () => {
-			this.outputFileSystem.writeFile(
-				this.recordsOutputPath,
-				JSON.stringify(this.records, undefined, 2),
-				callback
-			);
-		};
-
-		if (!recordsOutputPathDirectory) {
-			return writeFile();
-		}
-		this.outputFileSystem.mkdirp(recordsOutputPathDirectory, err => {
-			if (err) return callback(err);
-			writeFile();
-		});
-	}
-
-	readRecords(callback) {
-		if (!this.recordsInputPath) {
-			this.records = {};
-			return callback();
-		}
-		this.inputFileSystem.stat(this.recordsInputPath, err => {
-			// It doesn't exist
-			// We can ignore this.
-			if (err) return callback();
-
-			this.inputFileSystem.readFile(this.recordsInputPath, (err, content) => {
-				if (err) return callback(err);
-
-				try {
-					this.records = parseJson(content.toString("utf-8"));
-				} catch (e) {
-					e.message = "Cannot parse records: " + e.message;
-					return callback(e);
-				}
-
-				return callback();
-			});
-		});
-	}
-
-	createChildCompiler(
-		compilation,
-		compilerName,
-		compilerIndex,
-		outputOptions,
-		plugins
-	) {
-		const childCompiler = new Compiler(this.context);
-		if (Array.isArray(plugins)) {
-			for (const plugin of plugins) {
-				plugin.apply(childCompiler);
-			}
-		}
-		for (const name in this.hooks) {
-			if (
-				![
-					"make",
-					"compile",
-					"emit",
-					"afterEmit",
-					"invalid",
-					"done",
-					"thisCompilation"
-				].includes(name)
-			) {
-				if (childCompiler.hooks[name]) {
-					childCompiler.hooks[name].taps = this.hooks[name].taps.slice();
-				}
-			}
-		}
-		childCompiler.name = compilerName;
-		childCompiler.outputPath = this.outputPath;
-		childCompiler.inputFileSystem = this.inputFileSystem;
-		childCompiler.outputFileSystem = null;
-		childCompiler.resolverFactory = this.resolverFactory;
-		childCompiler.fileTimestamps = this.fileTimestamps;
-		childCompiler.contextTimestamps = this.contextTimestamps;
-
-		const relativeCompilerName = makePathsRelative(this.context, compilerName);
-		if (!this.records[relativeCompilerName]) {
-			this.records[relativeCompilerName] = [];
-		}
-		if (this.records[relativeCompilerName][compilerIndex]) {
-			childCompiler.records = this.records[relativeCompilerName][compilerIndex];
-		} else {
-			this.records[relativeCompilerName].push((childCompiler.records = {}));
-		}
-
-		childCompiler.options = Object.create(this.options);
-		childCompiler.options.output = Object.create(childCompiler.options.output);
-		for (const name in outputOptions) {
-			childCompiler.options.output[name] = outputOptions[name];
-		}
-		childCompiler.parentCompilation = compilation;
-
-		compilation.hooks.childCompiler.call(
-			childCompiler,
-			compilerName,
-			compilerIndex
-		);
-
-		return childCompiler;
-	}
-
-	isChild() {
-		return !!this.parentCompilation;
-	}
-
-	createCompilation() {
-		return new Compilation(this);
-	}
-
-	newCompilation(params) {
-		const compilation = this.createCompilation();
-		compilation.fileTimestamps = this.fileTimestamps;
-		compilation.contextTimestamps = this.contextTimestamps;
-		compilation.name = this.name;
-		compilation.records = this.records;
-		compilation.compilationDependencies = params.compilationDependencies;
-		this.hooks.thisCompilation.call(compilation, params);
-		this.hooks.compilation.call(compilation, params);
-		return compilation;
-	}
-
-	createNormalModuleFactory() {
-		const normalModuleFactory = new NormalModuleFactory(
-			this.options.context,
-			this.resolverFactory,
-			this.options.module || {}
-		);
-		this.hooks.normalModuleFactory.call(normalModuleFactory);
-		return normalModuleFactory;
-	}
-
-	createContextModuleFactory() {
-		const contextModuleFactory = new ContextModuleFactory(this.resolverFactory);
-		this.hooks.contextModuleFactory.call(contextModuleFactory);
-		return contextModuleFactory;
-	}
-
-	newCompilationParams() {
-		const params = {
-			normalModuleFactory: this.createNormalModuleFactory(),
-			contextModuleFactory: this.createContextModuleFactory(),
-			compilationDependencies: new Set()
-		};
-		return params;
-	}
-
-	compile(callback) {
-		const params = this.newCompilationParams();
-		this.hooks.beforeCompile.callAsync(params, err => {
-			if (err) return callback(err);
-
-			this.hooks.compile.call(params);
-
-			const compilation = this.newCompilation(params);
-
-			this.hooks.make.callAsync(compilation, err => {
-				if (err) return callback(err);
-
-				compilation.finish(err => {
-					if (err) return callback(err);
-
-					compilation.seal(err => {
-						if (err) return callback(err);
-
-						this.hooks.afterCompile.callAsync(compilation, err => {
-							if (err) return callback(err);
-
-							return callback(null, compilation);
-						});
-					});
-				});
-			});
-		});
-	}
-}
-
-module.exports = Compiler;
-
-class SizeOnlySource extends Source {
-	constructor(size) {
-		super();
-		this._size = size;
-	}
-
-	_error() {
-		return new Error(
-			"Content and Map of this Source is no longer available (only size() is supported)"
-		);
-	}
-
-	size() {
-		return this._size;
-	}
-
-	/**
-	 * @param {any} options options
-	 * @returns {string} the source
-	 */
-	source(options) {
-		throw this._error();
-	}
-
-	node() {
-		throw this._error();
-	}
-
-	listMap() {
-		throw this._error();
-	}
-
-	map() {
-		throw this._error();
-	}
-
-	listNode() {
-		throw this._error();
-	}
-
-	updateHash() {
-		throw this._error();
-	}
-}

+ 0 - 19
node_modules.bak/webpack/lib/ConcurrentCompilationError.js

@@ -1,19 +0,0 @@
-/*
-	MIT License http://www.opensource.org/licenses/mit-license.php
-	Author Maksim Nazarjev @acupofspirt
-*/
-"use strict";
-
-const WebpackError = require("./WebpackError");
-
-module.exports = class ConcurrentCompilationError extends WebpackError {
-	constructor() {
-		super();
-
-		this.name = "ConcurrentCompilationError";
-		this.message =
-			"You ran Webpack twice. Each instance only supports a single concurrent compilation at a time.";
-
-		Error.captureStackTrace(this, this.constructor);
-	}
-};

+ 0 - 348
node_modules.bak/webpack/lib/ConstPlugin.js

@@ -1,348 +0,0 @@
-/*
-	MIT License http://www.opensource.org/licenses/mit-license.php
-	Author Tobias Koppers @sokra
-*/
-"use strict";
-const ConstDependency = require("./dependencies/ConstDependency");
-const NullFactory = require("./NullFactory");
-const ParserHelpers = require("./ParserHelpers");
-
-const getQuery = request => {
-	const i = request.indexOf("?");
-	return i !== -1 ? request.substr(i) : "";
-};
-
-const collectDeclaration = (declarations, pattern) => {
-	const stack = [pattern];
-	while (stack.length > 0) {
-		const node = stack.pop();
-		switch (node.type) {
-			case "Identifier":
-				declarations.add(node.name);
-				break;
-			case "ArrayPattern":
-				for (const element of node.elements) {
-					if (element) {
-						stack.push(element);
-					}
-				}
-				break;
-			case "AssignmentPattern":
-				stack.push(node.left);
-				break;
-			case "ObjectPattern":
-				for (const property of node.properties) {
-					stack.push(property.value);
-				}
-				break;
-			case "RestElement":
-				stack.push(node.argument);
-				break;
-		}
-	}
-};
-
-const getHoistedDeclarations = (branch, includeFunctionDeclarations) => {
-	const declarations = new Set();
-	const stack = [branch];
-	while (stack.length > 0) {
-		const node = stack.pop();
-		// Some node could be `null` or `undefined`.
-		if (!node) continue;
-		switch (node.type) {
-			// Walk through control statements to look for hoisted declarations.
-			// Some branches are skipped since they do not allow declarations.
-			case "BlockStatement":
-				for (const stmt of node.body) {
-					stack.push(stmt);
-				}
-				break;
-			case "IfStatement":
-				stack.push(node.consequent);
-				stack.push(node.alternate);
-				break;
-			case "ForStatement":
-				stack.push(node.init);
-				stack.push(node.body);
-				break;
-			case "ForInStatement":
-			case "ForOfStatement":
-				stack.push(node.left);
-				stack.push(node.body);
-				break;
-			case "DoWhileStatement":
-			case "WhileStatement":
-			case "LabeledStatement":
-				stack.push(node.body);
-				break;
-			case "SwitchStatement":
-				for (const cs of node.cases) {
-					for (const consequent of cs.consequent) {
-						stack.push(consequent);
-					}
-				}
-				break;
-			case "TryStatement":
-				stack.push(node.block);
-				if (node.handler) {
-					stack.push(node.handler.body);
-				}
-				stack.push(node.finalizer);
-				break;
-			case "FunctionDeclaration":
-				if (includeFunctionDeclarations) {
-					collectDeclaration(declarations, node.id);
-				}
-				break;
-			case "VariableDeclaration":
-				if (node.kind === "var") {
-					for (const decl of node.declarations) {
-						collectDeclaration(declarations, decl.id);
-					}
-				}
-				break;
-		}
-	}
-	return Array.from(declarations);
-};
-
-class ConstPlugin {
-	apply(compiler) {
-		compiler.hooks.compilation.tap(
-			"ConstPlugin",
-			(compilation, { normalModuleFactory }) => {
-				compilation.dependencyFactories.set(ConstDependency, new NullFactory());
-				compilation.dependencyTemplates.set(
-					ConstDependency,
-					new ConstDependency.Template()
-				);
-
-				const handler = parser => {
-					parser.hooks.statementIf.tap("ConstPlugin", statement => {
-						if (parser.scope.isAsmJs) return;
-						const param = parser.evaluateExpression(statement.test);
-						const bool = param.asBool();
-						if (typeof bool === "boolean") {
-							if (statement.test.type !== "Literal") {
-								const dep = new ConstDependency(`${bool}`, param.range);
-								dep.loc = statement.loc;
-								parser.state.current.addDependency(dep);
-							}
-							const branchToRemove = bool
-								? statement.alternate
-								: statement.consequent;
-							if (branchToRemove) {
-								// Before removing the dead branch, the hoisted declarations
-								// must be collected.
-								//
-								// Given the following code:
-								//
-								//     if (true) f() else g()
-								//     if (false) {
-								//       function f() {}
-								//       const g = function g() {}
-								//       if (someTest) {
-								//         let a = 1
-								//         var x, {y, z} = obj
-								//       }
-								//     } else {
-								//       …
-								//     }
-								//
-								// the generated code is:
-								//
-								//     if (true) f() else {}
-								//     if (false) {
-								//       var f, x, y, z;   (in loose mode)
-								//       var x, y, z;      (in strict mode)
-								//     } else {
-								//       …
-								//     }
-								//
-								// NOTE: When code runs in strict mode, `var` declarations
-								// are hoisted but `function` declarations don't.
-								//
-								let declarations;
-								if (parser.scope.isStrict) {
-									// If the code runs in strict mode, variable declarations
-									// using `var` must be hoisted.
-									declarations = getHoistedDeclarations(branchToRemove, false);
-								} else {
-									// Otherwise, collect all hoisted declaration.
-									declarations = getHoistedDeclarations(branchToRemove, true);
-								}
-								let replacement;
-								if (declarations.length > 0) {
-									replacement = `{ var ${declarations.join(", ")}; }`;
-								} else {
-									replacement = "{}";
-								}
-								const dep = new ConstDependency(
-									replacement,
-									branchToRemove.range
-								);
-								dep.loc = branchToRemove.loc;
-								parser.state.current.addDependency(dep);
-							}
-							return bool;
-						}
-					});
-					parser.hooks.expressionConditionalOperator.tap(
-						"ConstPlugin",
-						expression => {
-							if (parser.scope.isAsmJs) return;
-							const param = parser.evaluateExpression(expression.test);
-							const bool = param.asBool();
-							if (typeof bool === "boolean") {
-								if (expression.test.type !== "Literal") {
-									const dep = new ConstDependency(` ${bool}`, param.range);
-									dep.loc = expression.loc;
-									parser.state.current.addDependency(dep);
-								}
-								// Expressions do not hoist.
-								// It is safe to remove the dead branch.
-								//
-								// Given the following code:
-								//
-								//   false ? someExpression() : otherExpression();
-								//
-								// the generated code is:
-								//
-								//   false ? undefined : otherExpression();
-								//
-								const branchToRemove = bool
-									? expression.alternate
-									: expression.consequent;
-								const dep = new ConstDependency(
-									"undefined",
-									branchToRemove.range
-								);
-								dep.loc = branchToRemove.loc;
-								parser.state.current.addDependency(dep);
-								return bool;
-							}
-						}
-					);
-					parser.hooks.expressionLogicalOperator.tap(
-						"ConstPlugin",
-						expression => {
-							if (parser.scope.isAsmJs) return;
-							if (
-								expression.operator === "&&" ||
-								expression.operator === "||"
-							) {
-								const param = parser.evaluateExpression(expression.left);
-								const bool = param.asBool();
-								if (typeof bool === "boolean") {
-									// Expressions do not hoist.
-									// It is safe to remove the dead branch.
-									//
-									// ------------------------------------------
-									//
-									// Given the following code:
-									//
-									//   falsyExpression() && someExpression();
-									//
-									// the generated code is:
-									//
-									//   falsyExpression() && false;
-									//
-									// ------------------------------------------
-									//
-									// Given the following code:
-									//
-									//   truthyExpression() && someExpression();
-									//
-									// the generated code is:
-									//
-									//   true && someExpression();
-									//
-									// ------------------------------------------
-									//
-									// Given the following code:
-									//
-									//   truthyExpression() || someExpression();
-									//
-									// the generated code is:
-									//
-									//   truthyExpression() || false;
-									//
-									// ------------------------------------------
-									//
-									// Given the following code:
-									//
-									//   falsyExpression() || someExpression();
-									//
-									// the generated code is:
-									//
-									//   false && someExpression();
-									//
-									const keepRight =
-										(expression.operator === "&&" && bool) ||
-										(expression.operator === "||" && !bool);
-
-									if (param.isBoolean() || keepRight) {
-										// for case like
-										//
-										//   return'development'===process.env.NODE_ENV&&'foo'
-										//
-										// we need a space before the bool to prevent result like
-										//
-										//   returnfalse&&'foo'
-										//
-										const dep = new ConstDependency(` ${bool}`, param.range);
-										dep.loc = expression.loc;
-										parser.state.current.addDependency(dep);
-									} else {
-										parser.walkExpression(expression.left);
-									}
-									if (!keepRight) {
-										const dep = new ConstDependency(
-											"false",
-											expression.right.range
-										);
-										dep.loc = expression.loc;
-										parser.state.current.addDependency(dep);
-									}
-									return keepRight;
-								}
-							}
-						}
-					);
-					parser.hooks.evaluateIdentifier
-						.for("__resourceQuery")
-						.tap("ConstPlugin", expr => {
-							if (parser.scope.isAsmJs) return;
-							if (!parser.state.module) return;
-							return ParserHelpers.evaluateToString(
-								getQuery(parser.state.module.resource)
-							)(expr);
-						});
-					parser.hooks.expression
-						.for("__resourceQuery")
-						.tap("ConstPlugin", () => {
-							if (parser.scope.isAsmJs) return;
-							if (!parser.state.module) return;
-							parser.state.current.addVariable(
-								"__resourceQuery",
-								JSON.stringify(getQuery(parser.state.module.resource))
-							);
-							return true;
-						});
-				};
-
-				normalModuleFactory.hooks.parser
-					.for("javascript/auto")
-					.tap("ConstPlugin", handler);
-				normalModuleFactory.hooks.parser
-					.for("javascript/dynamic")
-					.tap("ConstPlugin", handler);
-				normalModuleFactory.hooks.parser
-					.for("javascript/esm")
-					.tap("ConstPlugin", handler);
-			}
-		);
-	}
-}
-
-module.exports = ConstPlugin;

+ 0 - 28
node_modules.bak/webpack/lib/ContextExclusionPlugin.js

@@ -1,28 +0,0 @@
-"use strict";
-
-/** @typedef {import("./Compiler")} Compiler */
-/** @typedef {import("./ContextModuleFactory")} ContextModuleFactory */
-
-class ContextExclusionPlugin {
-	/**
-	 * @param {RegExp} negativeMatcher Matcher regular expression
-	 */
-	constructor(negativeMatcher) {
-		this.negativeMatcher = negativeMatcher;
-	}
-
-	/**
-	 * Apply the plugin
-	 * @param {Compiler} compiler Webpack Compiler
-	 * @returns {void}
-	 */
-	apply(compiler) {
-		compiler.hooks.contextModuleFactory.tap("ContextExclusionPlugin", cmf => {
-			cmf.hooks.contextModuleFiles.tap("ContextExclusionPlugin", files => {
-				return files.filter(filePath => !this.negativeMatcher.test(filePath));
-			});
-		});
-	}
-}
-
-module.exports = ContextExclusionPlugin;

+ 0 - 872
node_modules.bak/webpack/lib/ContextModule.js

@@ -1,872 +0,0 @@
-/*
-	MIT License http://www.opensource.org/licenses/mit-license.php
-	Author Tobias Koppers @sokra
-*/
-"use strict";
-const util = require("util");
-const { OriginalSource, RawSource } = require("webpack-sources");
-const Module = require("./Module");
-const AsyncDependenciesBlock = require("./AsyncDependenciesBlock");
-const Template = require("./Template");
-const contextify = require("./util/identifier").contextify;
-
-/** @typedef {"sync" | "eager" | "weak" | "async-weak" | "lazy" | "lazy-once"} ContextMode Context mode */
-/** @typedef {import("./dependencies/ContextElementDependency")} ContextElementDependency */
-
-/**
- * @callback ResolveDependenciesCallback
- * @param {Error=} err
- * @param {ContextElementDependency[]} dependencies
- */
-
-/**
- * @callback ResolveDependencies
- * @param {TODO} fs
- * @param {TODO} options
- * @param {ResolveDependenciesCallback} callback
- */
-
-class ContextModule extends Module {
-	// type ContextMode = "sync" | "eager" | "weak" | "async-weak" | "lazy" | "lazy-once"
-	// type ContextOptions = { resource: string, recursive: boolean, regExp: RegExp, addon?: string, mode?: ContextMode, chunkName?: string, include?: RegExp, exclude?: RegExp, groupOptions?: Object }
-	// resolveDependencies: (fs: FS, options: ContextOptions, (err: Error?, dependencies: Dependency[]) => void) => void
-	// options: ContextOptions
-	/**
-	 * @param {ResolveDependencies} resolveDependencies function to get dependencies in this context
-	 * @param {TODO} options options object
-	 */
-	constructor(resolveDependencies, options) {
-		let resource;
-		let resourceQuery;
-		const queryIdx = options.resource.indexOf("?");
-		if (queryIdx >= 0) {
-			resource = options.resource.substr(0, queryIdx);
-			resourceQuery = options.resource.substr(queryIdx);
-		} else {
-			resource = options.resource;
-			resourceQuery = "";
-		}
-
-		super("javascript/dynamic", resource);
-
-		// Info from Factory
-		this.resolveDependencies = resolveDependencies;
-		this.options = Object.assign({}, options, {
-			resource: resource,
-			resourceQuery: resourceQuery
-		});
-		if (options.resolveOptions !== undefined) {
-			this.resolveOptions = options.resolveOptions;
-		}
-
-		// Info from Build
-		this._contextDependencies = new Set([this.context]);
-
-		if (typeof options.mode !== "string") {
-			throw new Error("options.mode is a required option");
-		}
-
-		this._identifier = this._createIdentifier();
-	}
-
-	updateCacheModule(module) {
-		this.resolveDependencies = module.resolveDependencies;
-		this.options = module.options;
-		this.resolveOptions = module.resolveOptions;
-	}
-
-	prettyRegExp(regexString) {
-		// remove the "/" at the front and the beginning
-		// "/foo/" -> "foo"
-		return regexString.substring(1, regexString.length - 1);
-	}
-
-	_createIdentifier() {
-		let identifier = this.context;
-		if (this.options.resourceQuery) {
-			identifier += ` ${this.options.resourceQuery}`;
-		}
-		if (this.options.mode) {
-			identifier += ` ${this.options.mode}`;
-		}
-		if (!this.options.recursive) {
-			identifier += " nonrecursive";
-		}
-		if (this.options.addon) {
-			identifier += ` ${this.options.addon}`;
-		}
-		if (this.options.regExp) {
-			identifier += ` ${this.options.regExp}`;
-		}
-		if (this.options.include) {
-			identifier += ` include: ${this.options.include}`;
-		}
-		if (this.options.exclude) {
-			identifier += ` exclude: ${this.options.exclude}`;
-		}
-		if (this.options.groupOptions) {
-			identifier += ` groupOptions: ${JSON.stringify(
-				this.options.groupOptions
-			)}`;
-		}
-		if (this.options.namespaceObject === "strict") {
-			identifier += " strict namespace object";
-		} else if (this.options.namespaceObject) {
-			identifier += " namespace object";
-		}
-
-		return identifier;
-	}
-
-	identifier() {
-		return this._identifier;
-	}
-
-	readableIdentifier(requestShortener) {
-		let identifier = requestShortener.shorten(this.context);
-		if (this.options.resourceQuery) {
-			identifier += ` ${this.options.resourceQuery}`;
-		}
-		if (this.options.mode) {
-			identifier += ` ${this.options.mode}`;
-		}
-		if (!this.options.recursive) {
-			identifier += " nonrecursive";
-		}
-		if (this.options.addon) {
-			identifier += ` ${requestShortener.shorten(this.options.addon)}`;
-		}
-		if (this.options.regExp) {
-			identifier += ` ${this.prettyRegExp(this.options.regExp + "")}`;
-		}
-		if (this.options.include) {
-			identifier += ` include: ${this.prettyRegExp(this.options.include + "")}`;
-		}
-		if (this.options.exclude) {
-			identifier += ` exclude: ${this.prettyRegExp(this.options.exclude + "")}`;
-		}
-		if (this.options.groupOptions) {
-			const groupOptions = this.options.groupOptions;
-			for (const key of Object.keys(groupOptions)) {
-				identifier += ` ${key}: ${groupOptions[key]}`;
-			}
-		}
-		if (this.options.namespaceObject === "strict") {
-			identifier += " strict namespace object";
-		} else if (this.options.namespaceObject) {
-			identifier += " namespace object";
-		}
-
-		return identifier;
-	}
-
-	libIdent(options) {
-		let identifier = contextify(options.context, this.context);
-		if (this.options.mode) {
-			identifier += ` ${this.options.mode}`;
-		}
-		if (this.options.recursive) {
-			identifier += " recursive";
-		}
-		if (this.options.addon) {
-			identifier += ` ${contextify(options.context, this.options.addon)}`;
-		}
-		if (this.options.regExp) {
-			identifier += ` ${this.prettyRegExp(this.options.regExp + "")}`;
-		}
-		if (this.options.include) {
-			identifier += ` include: ${this.prettyRegExp(this.options.include + "")}`;
-		}
-		if (this.options.exclude) {
-			identifier += ` exclude: ${this.prettyRegExp(this.options.exclude + "")}`;
-		}
-
-		return identifier;
-	}
-
-	needRebuild(fileTimestamps, contextTimestamps) {
-		const ts = contextTimestamps.get(this.context);
-		if (!ts) {
-			return true;
-		}
-
-		return ts >= this.buildInfo.builtTime;
-	}
-
-	build(options, compilation, resolver, fs, callback) {
-		this.built = true;
-		this.buildMeta = {};
-		this.buildInfo = {
-			builtTime: Date.now(),
-			contextDependencies: this._contextDependencies
-		};
-		this.resolveDependencies(fs, this.options, (err, dependencies) => {
-			if (err) return callback(err);
-
-			// abort if something failed
-			// this will create an empty context
-			if (!dependencies) {
-				callback();
-				return;
-			}
-
-			// enhance dependencies with meta info
-			for (const dep of dependencies) {
-				dep.loc = {
-					name: dep.userRequest
-				};
-				dep.request = this.options.addon + dep.request;
-			}
-
-			if (this.options.mode === "sync" || this.options.mode === "eager") {
-				// if we have an sync or eager context
-				// just add all dependencies and continue
-				this.dependencies = dependencies;
-			} else if (this.options.mode === "lazy-once") {
-				// for the lazy-once mode create a new async dependency block
-				// and add that block to this context
-				if (dependencies.length > 0) {
-					const block = new AsyncDependenciesBlock(
-						Object.assign({}, this.options.groupOptions, {
-							name: this.options.chunkName
-						}),
-						this
-					);
-					for (const dep of dependencies) {
-						block.addDependency(dep);
-					}
-					this.addBlock(block);
-				}
-			} else if (
-				this.options.mode === "weak" ||
-				this.options.mode === "async-weak"
-			) {
-				// we mark all dependencies as weak
-				for (const dep of dependencies) {
-					dep.weak = true;
-				}
-				this.dependencies = dependencies;
-			} else if (this.options.mode === "lazy") {
-				// if we are lazy create a new async dependency block per dependency
-				// and add all blocks to this context
-				let index = 0;
-				for (const dep of dependencies) {
-					let chunkName = this.options.chunkName;
-					if (chunkName) {
-						if (!/\[(index|request)\]/.test(chunkName)) {
-							chunkName += "[index]";
-						}
-						chunkName = chunkName.replace(/\[index\]/g, index++);
-						chunkName = chunkName.replace(
-							/\[request\]/g,
-							Template.toPath(dep.userRequest)
-						);
-					}
-					const block = new AsyncDependenciesBlock(
-						Object.assign({}, this.options.groupOptions, {
-							name: chunkName
-						}),
-						dep.module,
-						dep.loc,
-						dep.userRequest
-					);
-					block.addDependency(dep);
-					this.addBlock(block);
-				}
-			} else {
-				callback(
-					new Error(`Unsupported mode "${this.options.mode}" in context`)
-				);
-				return;
-			}
-			callback();
-		});
-	}
-
-	getUserRequestMap(dependencies) {
-		// if we filter first we get a new array
-		// therefor we dont need to create a clone of dependencies explicitly
-		// therefore the order of this is !important!
-		return dependencies
-			.filter(dependency => dependency.module)
-			.sort((a, b) => {
-				if (a.userRequest === b.userRequest) {
-					return 0;
-				}
-				return a.userRequest < b.userRequest ? -1 : 1;
-			})
-			.reduce((map, dep) => {
-				map[dep.userRequest] = dep.module.id;
-				return map;
-			}, Object.create(null));
-	}
-
-	getFakeMap(dependencies) {
-		if (!this.options.namespaceObject) {
-			return 9;
-		}
-		// if we filter first we get a new array
-		// therefor we dont need to create a clone of dependencies explicitly
-		// therefore the order of this is !important!
-		let hasNonHarmony = false;
-		let hasNamespace = false;
-		let hasNamed = false;
-		const fakeMap = dependencies
-			.filter(dependency => dependency.module)
-			.sort((a, b) => {
-				return b.module.id - a.module.id;
-			})
-			.reduce((map, dep) => {
-				const exportsType =
-					dep.module.buildMeta && dep.module.buildMeta.exportsType;
-				const id = dep.module.id;
-				if (!exportsType) {
-					map[id] = this.options.namespaceObject === "strict" ? 1 : 7;
-					hasNonHarmony = true;
-				} else if (exportsType === "namespace") {
-					map[id] = 9;
-					hasNamespace = true;
-				} else if (exportsType === "named") {
-					map[id] = 3;
-					hasNamed = true;
-				}
-				return map;
-			}, Object.create(null));
-		if (!hasNamespace && hasNonHarmony && !hasNamed) {
-			return this.options.namespaceObject === "strict" ? 1 : 7;
-		}
-		if (hasNamespace && !hasNonHarmony && !hasNamed) {
-			return 9;
-		}
-		if (!hasNamespace && !hasNonHarmony && hasNamed) {
-			return 3;
-		}
-		if (!hasNamespace && !hasNonHarmony && !hasNamed) {
-			return 9;
-		}
-		return fakeMap;
-	}
-
-	getFakeMapInitStatement(fakeMap) {
-		return typeof fakeMap === "object"
-			? `var fakeMap = ${JSON.stringify(fakeMap, null, "\t")};`
-			: "";
-	}
-
-	getReturn(type) {
-		if (type === 9) {
-			return "__webpack_require__(id)";
-		}
-		return `__webpack_require__.t(id, ${type})`;
-	}
-
-	getReturnModuleObjectSource(fakeMap, fakeMapDataExpression = "fakeMap[id]") {
-		if (typeof fakeMap === "number") {
-			return `return ${this.getReturn(fakeMap)};`;
-		}
-		return `return __webpack_require__.t(id, ${fakeMapDataExpression})`;
-	}
-
-	getSyncSource(dependencies, id) {
-		const map = this.getUserRequestMap(dependencies);
-		const fakeMap = this.getFakeMap(dependencies);
-		const returnModuleObject = this.getReturnModuleObjectSource(fakeMap);
-
-		return `var map = ${JSON.stringify(map, null, "\t")};
-${this.getFakeMapInitStatement(fakeMap)}
-
-function webpackContext(req) {
-	var id = webpackContextResolve(req);
-	${returnModuleObject}
-}
-function webpackContextResolve(req) {
-	if(!__webpack_require__.o(map, req)) {
-		var e = new Error("Cannot find module '" + req + "'");
-		e.code = 'MODULE_NOT_FOUND';
-		throw e;
-	}
-	return map[req];
-}
-webpackContext.keys = function webpackContextKeys() {
-	return Object.keys(map);
-};
-webpackContext.resolve = webpackContextResolve;
-module.exports = webpackContext;
-webpackContext.id = ${JSON.stringify(id)};`;
-	}
-
-	getWeakSyncSource(dependencies, id) {
-		const map = this.getUserRequestMap(dependencies);
-		const fakeMap = this.getFakeMap(dependencies);
-		const returnModuleObject = this.getReturnModuleObjectSource(fakeMap);
-
-		return `var map = ${JSON.stringify(map, null, "\t")};
-${this.getFakeMapInitStatement(fakeMap)}
-
-function webpackContext(req) {
-	var id = webpackContextResolve(req);
-	if(!__webpack_require__.m[id]) {
-		var e = new Error("Module '" + req + "' ('" + id + "') is not available (weak dependency)");
-		e.code = 'MODULE_NOT_FOUND';
-		throw e;
-	}
-	${returnModuleObject}
-}
-function webpackContextResolve(req) {
-	if(!__webpack_require__.o(map, req)) {
-		var e = new Error("Cannot find module '" + req + "'");
-		e.code = 'MODULE_NOT_FOUND';
-		throw e;
-	}
-	return map[req];
-}
-webpackContext.keys = function webpackContextKeys() {
-	return Object.keys(map);
-};
-webpackContext.resolve = webpackContextResolve;
-webpackContext.id = ${JSON.stringify(id)};
-module.exports = webpackContext;`;
-	}
-
-	getAsyncWeakSource(dependencies, id) {
-		const map = this.getUserRequestMap(dependencies);
-		const fakeMap = this.getFakeMap(dependencies);
-		const returnModuleObject = this.getReturnModuleObjectSource(fakeMap);
-
-		return `var map = ${JSON.stringify(map, null, "\t")};
-${this.getFakeMapInitStatement(fakeMap)}
-
-function webpackAsyncContext(req) {
-	return webpackAsyncContextResolve(req).then(function(id) {
-		if(!__webpack_require__.m[id]) {
-			var e = new Error("Module '" + req + "' ('" + id + "') is not available (weak dependency)");
-			e.code = 'MODULE_NOT_FOUND';
-			throw e;
-		}
-		${returnModuleObject}
-	});
-}
-function webpackAsyncContextResolve(req) {
-	// Here Promise.resolve().then() is used instead of new Promise() to prevent
-	// uncaught exception popping up in devtools
-	return Promise.resolve().then(function() {
-		if(!__webpack_require__.o(map, req)) {
-			var e = new Error("Cannot find module '" + req + "'");
-			e.code = 'MODULE_NOT_FOUND';
-			throw e;
-		}
-		return map[req];
-	});
-}
-webpackAsyncContext.keys = function webpackAsyncContextKeys() {
-	return Object.keys(map);
-};
-webpackAsyncContext.resolve = webpackAsyncContextResolve;
-webpackAsyncContext.id = ${JSON.stringify(id)};
-module.exports = webpackAsyncContext;`;
-	}
-
-	getEagerSource(dependencies, id) {
-		const map = this.getUserRequestMap(dependencies);
-		const fakeMap = this.getFakeMap(dependencies);
-		const thenFunction =
-			fakeMap !== 9
-				? `function(id) {
-		${this.getReturnModuleObjectSource(fakeMap)}
-	}`
-				: "__webpack_require__";
-		return `var map = ${JSON.stringify(map, null, "\t")};
-${this.getFakeMapInitStatement(fakeMap)}
-
-function webpackAsyncContext(req) {
-	return webpackAsyncContextResolve(req).then(${thenFunction});
-}
-function webpackAsyncContextResolve(req) {
-	// Here Promise.resolve().then() is used instead of new Promise() to prevent
-	// uncaught exception popping up in devtools
-	return Promise.resolve().then(function() {
-		if(!__webpack_require__.o(map, req)) {
-			var e = new Error("Cannot find module '" + req + "'");
-			e.code = 'MODULE_NOT_FOUND';
-			throw e;
-		}
-		return map[req];
-	});
-}
-webpackAsyncContext.keys = function webpackAsyncContextKeys() {
-	return Object.keys(map);
-};
-webpackAsyncContext.resolve = webpackAsyncContextResolve;
-webpackAsyncContext.id = ${JSON.stringify(id)};
-module.exports = webpackAsyncContext;`;
-	}
-
-	getLazyOnceSource(block, dependencies, id, runtimeTemplate) {
-		const promise = runtimeTemplate.blockPromise({
-			block,
-			message: "lazy-once context"
-		});
-		const map = this.getUserRequestMap(dependencies);
-		const fakeMap = this.getFakeMap(dependencies);
-		const thenFunction =
-			fakeMap !== 9
-				? `function(id) {
-		${this.getReturnModuleObjectSource(fakeMap)};
-	}`
-				: "__webpack_require__";
-
-		return `var map = ${JSON.stringify(map, null, "\t")};
-${this.getFakeMapInitStatement(fakeMap)}
-
-function webpackAsyncContext(req) {
-	return webpackAsyncContextResolve(req).then(${thenFunction});
-}
-function webpackAsyncContextResolve(req) {
-	return ${promise}.then(function() {
-		if(!__webpack_require__.o(map, req)) {
-			var e = new Error("Cannot find module '" + req + "'");
-			e.code = 'MODULE_NOT_FOUND';
-			throw e;
-		}
-		return map[req];
-	});
-}
-webpackAsyncContext.keys = function webpackAsyncContextKeys() {
-	return Object.keys(map);
-};
-webpackAsyncContext.resolve = webpackAsyncContextResolve;
-webpackAsyncContext.id = ${JSON.stringify(id)};
-module.exports = webpackAsyncContext;`;
-	}
-
-	getLazySource(blocks, id) {
-		let hasMultipleOrNoChunks = false;
-		let hasNoChunk = true;
-		const fakeMap = this.getFakeMap(blocks.map(b => b.dependencies[0]));
-		const hasFakeMap = typeof fakeMap === "object";
-		const map = blocks
-			.filter(block => block.dependencies[0].module)
-			.map(block => {
-				const chunks = block.chunkGroup ? block.chunkGroup.chunks : [];
-				if (chunks.length > 0) {
-					hasNoChunk = false;
-				}
-				if (chunks.length !== 1) {
-					hasMultipleOrNoChunks = true;
-				}
-				return {
-					dependency: block.dependencies[0],
-					block: block,
-					userRequest: block.dependencies[0].userRequest,
-					chunks
-				};
-			})
-			.sort((a, b) => {
-				if (a.userRequest === b.userRequest) return 0;
-				return a.userRequest < b.userRequest ? -1 : 1;
-			})
-			.reduce((map, item) => {
-				const chunks = item.chunks;
-
-				if (hasNoChunk && !hasFakeMap) {
-					map[item.userRequest] = item.dependency.module.id;
-				} else {
-					const arrayStart = [item.dependency.module.id];
-					if (typeof fakeMap === "object") {
-						arrayStart.push(fakeMap[item.dependency.module.id]);
-					}
-					map[item.userRequest] = arrayStart.concat(
-						chunks.map(chunk => chunk.id)
-					);
-				}
-
-				return map;
-			}, Object.create(null));
-
-		const shortMode = hasNoChunk && !hasFakeMap;
-		const chunksStartPosition = hasFakeMap ? 2 : 1;
-		const requestPrefix = hasNoChunk
-			? "Promise.resolve()"
-			: hasMultipleOrNoChunks
-			? `Promise.all(ids.slice(${chunksStartPosition}).map(__webpack_require__.e))`
-			: `__webpack_require__.e(ids[${chunksStartPosition}])`;
-		const returnModuleObject = this.getReturnModuleObjectSource(
-			fakeMap,
-			shortMode ? "invalid" : "ids[1]"
-		);
-
-		const webpackAsyncContext =
-			requestPrefix === "Promise.resolve()"
-				? `${shortMode ? "" : ""}
-function webpackAsyncContext(req) {
-	return Promise.resolve().then(function() {
-		if(!__webpack_require__.o(map, req)) {
-			var e = new Error("Cannot find module '" + req + "'");
-			e.code = 'MODULE_NOT_FOUND';
-			throw e;
-		}
-
-		${shortMode ? "var id = map[req];" : "var ids = map[req], id = ids[0];"}
-		${returnModuleObject}
-	});
-}`
-				: `function webpackAsyncContext(req) {
-	if(!__webpack_require__.o(map, req)) {
-		return Promise.resolve().then(function() {
-			var e = new Error("Cannot find module '" + req + "'");
-			e.code = 'MODULE_NOT_FOUND';
-			throw e;
-		});
-	}
-
-	var ids = map[req], id = ids[0];
-	return ${requestPrefix}.then(function() {
-		${returnModuleObject}
-	});
-}`;
-
-		return `var map = ${JSON.stringify(map, null, "\t")};
-${webpackAsyncContext}
-webpackAsyncContext.keys = function webpackAsyncContextKeys() {
-	return Object.keys(map);
-};
-webpackAsyncContext.id = ${JSON.stringify(id)};
-module.exports = webpackAsyncContext;`;
-	}
-
-	getSourceForEmptyContext(id) {
-		return `function webpackEmptyContext(req) {
-	var e = new Error("Cannot find module '" + req + "'");
-	e.code = 'MODULE_NOT_FOUND';
-	throw e;
-}
-webpackEmptyContext.keys = function() { return []; };
-webpackEmptyContext.resolve = webpackEmptyContext;
-module.exports = webpackEmptyContext;
-webpackEmptyContext.id = ${JSON.stringify(id)};`;
-	}
-
-	getSourceForEmptyAsyncContext(id) {
-		return `function webpackEmptyAsyncContext(req) {
-	// Here Promise.resolve().then() is used instead of new Promise() to prevent
-	// uncaught exception popping up in devtools
-	return Promise.resolve().then(function() {
-		var e = new Error("Cannot find module '" + req + "'");
-		e.code = 'MODULE_NOT_FOUND';
-		throw e;
-	});
-}
-webpackEmptyAsyncContext.keys = function() { return []; };
-webpackEmptyAsyncContext.resolve = webpackEmptyAsyncContext;
-module.exports = webpackEmptyAsyncContext;
-webpackEmptyAsyncContext.id = ${JSON.stringify(id)};`;
-	}
-
-	getSourceString(asyncMode, runtimeTemplate) {
-		if (asyncMode === "lazy") {
-			if (this.blocks && this.blocks.length > 0) {
-				return this.getLazySource(this.blocks, this.id);
-			}
-			return this.getSourceForEmptyAsyncContext(this.id);
-		}
-		if (asyncMode === "eager") {
-			if (this.dependencies && this.dependencies.length > 0) {
-				return this.getEagerSource(this.dependencies, this.id);
-			}
-			return this.getSourceForEmptyAsyncContext(this.id);
-		}
-		if (asyncMode === "lazy-once") {
-			const block = this.blocks[0];
-			if (block) {
-				return this.getLazyOnceSource(
-					block,
-					block.dependencies,
-					this.id,
-					runtimeTemplate
-				);
-			}
-			return this.getSourceForEmptyAsyncContext(this.id);
-		}
-		if (asyncMode === "async-weak") {
-			if (this.dependencies && this.dependencies.length > 0) {
-				return this.getAsyncWeakSource(this.dependencies, this.id);
-			}
-			return this.getSourceForEmptyAsyncContext(this.id);
-		}
-		if (asyncMode === "weak") {
-			if (this.dependencies && this.dependencies.length > 0) {
-				return this.getWeakSyncSource(this.dependencies, this.id);
-			}
-		}
-		if (this.dependencies && this.dependencies.length > 0) {
-			return this.getSyncSource(this.dependencies, this.id);
-		}
-		return this.getSourceForEmptyContext(this.id);
-	}
-
-	getSource(sourceString) {
-		if (this.useSourceMap) {
-			return new OriginalSource(sourceString, this.identifier());
-		}
-		return new RawSource(sourceString);
-	}
-
-	source(dependencyTemplates, runtimeTemplate) {
-		return this.getSource(
-			this.getSourceString(this.options.mode, runtimeTemplate)
-		);
-	}
-
-	size() {
-		// base penalty
-		const initialSize = 160;
-
-		// if we dont have dependencies we stop here.
-		return this.dependencies.reduce((size, dependency) => {
-			const element = /** @type {ContextElementDependency} */ (dependency);
-			return size + 5 + element.userRequest.length;
-		}, initialSize);
-	}
-}
-
-// TODO remove in webpack 5
-Object.defineProperty(ContextModule.prototype, "recursive", {
-	configurable: false,
-	get: util.deprecate(
-		/**
-		 * @deprecated
-		 * @this {ContextModule}
-		 * @returns {boolean} is recursive
-		 */
-		function() {
-			return this.options.recursive;
-		},
-		"ContextModule.recursive has been moved to ContextModule.options.recursive"
-	),
-	set: util.deprecate(
-		/**
-		 * @deprecated
-		 * @this {ContextModule}
-		 * @param {boolean} value is recursive
-		 * @returns {void}
-		 */
-		function(value) {
-			this.options.recursive = value;
-		},
-		"ContextModule.recursive has been moved to ContextModule.options.recursive"
-	)
-});
-
-// TODO remove in webpack 5
-Object.defineProperty(ContextModule.prototype, "regExp", {
-	configurable: false,
-	get: util.deprecate(
-		/**
-		 * @deprecated
-		 * @this {ContextModule}
-		 * @returns {RegExp} regular expression
-		 */
-		function() {
-			return this.options.regExp;
-		},
-		"ContextModule.regExp has been moved to ContextModule.options.regExp"
-	),
-	set: util.deprecate(
-		/**
-		 * @deprecated
-		 * @this {ContextModule}
-		 * @param {RegExp} value Regular expression
-		 * @returns {void}
-		 */
-		function(value) {
-			this.options.regExp = value;
-		},
-		"ContextModule.regExp has been moved to ContextModule.options.regExp"
-	)
-});
-
-// TODO remove in webpack 5
-Object.defineProperty(ContextModule.prototype, "addon", {
-	configurable: false,
-	get: util.deprecate(
-		/**
-		 * @deprecated
-		 * @this {ContextModule}
-		 * @returns {string} addon
-		 */
-		function() {
-			return this.options.addon;
-		},
-		"ContextModule.addon has been moved to ContextModule.options.addon"
-	),
-	set: util.deprecate(
-		/**
-		 * @deprecated
-		 * @this {ContextModule}
-		 * @param {string} value addon
-		 * @returns {void}
-		 */
-		function(value) {
-			this.options.addon = value;
-		},
-		"ContextModule.addon has been moved to ContextModule.options.addon"
-	)
-});
-
-// TODO remove in webpack 5
-Object.defineProperty(ContextModule.prototype, "async", {
-	configurable: false,
-	get: util.deprecate(
-		/**
-		 * @deprecated
-		 * @this {ContextModule}
-		 * @returns {boolean} is async
-		 */
-		function() {
-			return this.options.mode;
-		},
-		"ContextModule.async has been moved to ContextModule.options.mode"
-	),
-	set: util.deprecate(
-		/**
-		 * @deprecated
-		 * @this {ContextModule}
-		 * @param {ContextMode} value Context mode
-		 * @returns {void}
-		 */
-		function(value) {
-			this.options.mode = value;
-		},
-		"ContextModule.async has been moved to ContextModule.options.mode"
-	)
-});
-
-// TODO remove in webpack 5
-Object.defineProperty(ContextModule.prototype, "chunkName", {
-	configurable: false,
-	get: util.deprecate(
-		/**
-		 * @deprecated
-		 * @this {ContextModule}
-		 * @returns {string} chunk name
-		 */
-		function() {
-			return this.options.chunkName;
-		},
-		"ContextModule.chunkName has been moved to ContextModule.options.chunkName"
-	),
-	set: util.deprecate(
-		/**
-		 * @deprecated
-		 * @this {ContextModule}
-		 * @param {string} value chunk name
-		 * @returns {void}
-		 */
-		function(value) {
-			this.options.chunkName = value;
-		},
-		"ContextModule.chunkName has been moved to ContextModule.options.chunkName"
-	)
-});
-
-module.exports = ContextModule;

+ 0 - 262
node_modules.bak/webpack/lib/ContextModuleFactory.js

@@ -1,262 +0,0 @@
-/*
-	MIT License http://www.opensource.org/licenses/mit-license.php
-	Author Tobias Koppers @sokra
-*/
-"use strict";
-
-const asyncLib = require("neo-async");
-const path = require("path");
-
-const {
-	Tapable,
-	AsyncSeriesWaterfallHook,
-	SyncWaterfallHook
-} = require("tapable");
-const ContextModule = require("./ContextModule");
-const ContextElementDependency = require("./dependencies/ContextElementDependency");
-
-/** @typedef {import("./Module")} Module */
-
-const EMPTY_RESOLVE_OPTIONS = {};
-
-module.exports = class ContextModuleFactory extends Tapable {
-	constructor(resolverFactory) {
-		super();
-		this.hooks = {
-			/** @type {AsyncSeriesWaterfallHook<TODO>} */
-			beforeResolve: new AsyncSeriesWaterfallHook(["data"]),
-			/** @type {AsyncSeriesWaterfallHook<TODO>} */
-			afterResolve: new AsyncSeriesWaterfallHook(["data"]),
-			/** @type {SyncWaterfallHook<string[]>} */
-			contextModuleFiles: new SyncWaterfallHook(["files"]),
-			/** @type {SyncWaterfallHook<TODO[]>} */
-			alternatives: new AsyncSeriesWaterfallHook(["modules"])
-		};
-		this._pluginCompat.tap("ContextModuleFactory", options => {
-			switch (options.name) {
-				case "before-resolve":
-				case "after-resolve":
-				case "alternatives":
-					options.async = true;
-					break;
-			}
-		});
-		this.resolverFactory = resolverFactory;
-	}
-
-	create(data, callback) {
-		const context = data.context;
-		const dependencies = data.dependencies;
-		const resolveOptions = data.resolveOptions;
-		const dependency = dependencies[0];
-		this.hooks.beforeResolve.callAsync(
-			Object.assign(
-				{
-					context: context,
-					dependencies: dependencies,
-					resolveOptions
-				},
-				dependency.options
-			),
-			(err, beforeResolveResult) => {
-				if (err) return callback(err);
-
-				// Ignored
-				if (!beforeResolveResult) return callback();
-
-				const context = beforeResolveResult.context;
-				const request = beforeResolveResult.request;
-				const resolveOptions = beforeResolveResult.resolveOptions;
-
-				let loaders,
-					resource,
-					loadersPrefix = "";
-				const idx = request.lastIndexOf("!");
-				if (idx >= 0) {
-					let loadersRequest = request.substr(0, idx + 1);
-					let i;
-					for (
-						i = 0;
-						i < loadersRequest.length && loadersRequest[i] === "!";
-						i++
-					) {
-						loadersPrefix += "!";
-					}
-					loadersRequest = loadersRequest
-						.substr(i)
-						.replace(/!+$/, "")
-						.replace(/!!+/g, "!");
-					if (loadersRequest === "") {
-						loaders = [];
-					} else {
-						loaders = loadersRequest.split("!");
-					}
-					resource = request.substr(idx + 1);
-				} else {
-					loaders = [];
-					resource = request;
-				}
-
-				const contextResolver = this.resolverFactory.get(
-					"context",
-					resolveOptions || EMPTY_RESOLVE_OPTIONS
-				);
-				const loaderResolver = this.resolverFactory.get(
-					"loader",
-					EMPTY_RESOLVE_OPTIONS
-				);
-
-				asyncLib.parallel(
-					[
-						callback => {
-							contextResolver.resolve(
-								{},
-								context,
-								resource,
-								{},
-								(err, result) => {
-									if (err) return callback(err);
-									callback(null, result);
-								}
-							);
-						},
-						callback => {
-							asyncLib.map(
-								loaders,
-								(loader, callback) => {
-									loaderResolver.resolve(
-										{},
-										context,
-										loader,
-										{},
-										(err, result) => {
-											if (err) return callback(err);
-											callback(null, result);
-										}
-									);
-								},
-								callback
-							);
-						}
-					],
-					(err, result) => {
-						if (err) return callback(err);
-
-						this.hooks.afterResolve.callAsync(
-							Object.assign(
-								{
-									addon:
-										loadersPrefix +
-										result[1].join("!") +
-										(result[1].length > 0 ? "!" : ""),
-									resource: result[0],
-									resolveDependencies: this.resolveDependencies.bind(this)
-								},
-								beforeResolveResult
-							),
-							(err, result) => {
-								if (err) return callback(err);
-
-								// Ignored
-								if (!result) return callback();
-
-								return callback(
-									null,
-									new ContextModule(result.resolveDependencies, result)
-								);
-							}
-						);
-					}
-				);
-			}
-		);
-	}
-
-	resolveDependencies(fs, options, callback) {
-		const cmf = this;
-		let resource = options.resource;
-		let resourceQuery = options.resourceQuery;
-		let recursive = options.recursive;
-		let regExp = options.regExp;
-		let include = options.include;
-		let exclude = options.exclude;
-		if (!regExp || !resource) return callback(null, []);
-
-		const addDirectory = (directory, callback) => {
-			fs.readdir(directory, (err, files) => {
-				if (err) return callback(err);
-				files = cmf.hooks.contextModuleFiles.call(files);
-				if (!files || files.length === 0) return callback(null, []);
-				asyncLib.map(
-					files.filter(p => p.indexOf(".") !== 0),
-					(segment, callback) => {
-						const subResource = path.join(directory, segment);
-
-						if (!exclude || !subResource.match(exclude)) {
-							fs.stat(subResource, (err, stat) => {
-								if (err) {
-									if (err.code === "ENOENT") {
-										// ENOENT is ok here because the file may have been deleted between
-										// the readdir and stat calls.
-										return callback();
-									} else {
-										return callback(err);
-									}
-								}
-
-								if (stat.isDirectory()) {
-									if (!recursive) return callback();
-									addDirectory.call(this, subResource, callback);
-								} else if (
-									stat.isFile() &&
-									(!include || subResource.match(include))
-								) {
-									const obj = {
-										context: resource,
-										request:
-											"." +
-											subResource.substr(resource.length).replace(/\\/g, "/")
-									};
-
-									this.hooks.alternatives.callAsync(
-										[obj],
-										(err, alternatives) => {
-											if (err) return callback(err);
-											alternatives = alternatives
-												.filter(obj => regExp.test(obj.request))
-												.map(obj => {
-													const dep = new ContextElementDependency(
-														obj.request + resourceQuery,
-														obj.request
-													);
-													dep.optional = true;
-													return dep;
-												});
-											callback(null, alternatives);
-										}
-									);
-								} else {
-									callback();
-								}
-							});
-						} else {
-							callback();
-						}
-					},
-					(err, result) => {
-						if (err) return callback(err);
-
-						if (!result) return callback(null, []);
-
-						callback(
-							null,
-							result.filter(Boolean).reduce((a, i) => a.concat(i), [])
-						);
-					}
-				);
-			});
-		};
-
-		addDirectory(resource, callback);
-	}
-};

+ 0 - 133
node_modules.bak/webpack/lib/ContextReplacementPlugin.js

@@ -1,133 +0,0 @@
-/*
-	MIT License http://www.opensource.org/licenses/mit-license.php
-	Author Tobias Koppers @sokra
-*/
-"use strict";
-
-const path = require("path");
-const ContextElementDependency = require("./dependencies/ContextElementDependency");
-
-class ContextReplacementPlugin {
-	constructor(
-		resourceRegExp,
-		newContentResource,
-		newContentRecursive,
-		newContentRegExp
-	) {
-		this.resourceRegExp = resourceRegExp;
-
-		if (typeof newContentResource === "function") {
-			this.newContentCallback = newContentResource;
-		} else if (
-			typeof newContentResource === "string" &&
-			typeof newContentRecursive === "object"
-		) {
-			this.newContentResource = newContentResource;
-			this.newContentCreateContextMap = (fs, callback) => {
-				callback(null, newContentRecursive);
-			};
-		} else if (
-			typeof newContentResource === "string" &&
-			typeof newContentRecursive === "function"
-		) {
-			this.newContentResource = newContentResource;
-			this.newContentCreateContextMap = newContentRecursive;
-		} else {
-			if (typeof newContentResource !== "string") {
-				newContentRegExp = newContentRecursive;
-				newContentRecursive = newContentResource;
-				newContentResource = undefined;
-			}
-			if (typeof newContentRecursive !== "boolean") {
-				newContentRegExp = newContentRecursive;
-				newContentRecursive = undefined;
-			}
-			this.newContentResource = newContentResource;
-			this.newContentRecursive = newContentRecursive;
-			this.newContentRegExp = newContentRegExp;
-		}
-	}
-
-	apply(compiler) {
-		const resourceRegExp = this.resourceRegExp;
-		const newContentCallback = this.newContentCallback;
-		const newContentResource = this.newContentResource;
-		const newContentRecursive = this.newContentRecursive;
-		const newContentRegExp = this.newContentRegExp;
-		const newContentCreateContextMap = this.newContentCreateContextMap;
-
-		compiler.hooks.contextModuleFactory.tap("ContextReplacementPlugin", cmf => {
-			cmf.hooks.beforeResolve.tap("ContextReplacementPlugin", result => {
-				if (!result) return;
-				if (resourceRegExp.test(result.request)) {
-					if (newContentResource !== undefined) {
-						result.request = newContentResource;
-					}
-					if (newContentRecursive !== undefined) {
-						result.recursive = newContentRecursive;
-					}
-					if (newContentRegExp !== undefined) {
-						result.regExp = newContentRegExp;
-					}
-					if (typeof newContentCallback === "function") {
-						newContentCallback(result);
-					} else {
-						for (const d of result.dependencies) {
-							if (d.critical) d.critical = false;
-						}
-					}
-				}
-				return result;
-			});
-			cmf.hooks.afterResolve.tap("ContextReplacementPlugin", result => {
-				if (!result) return;
-				if (resourceRegExp.test(result.resource)) {
-					if (newContentResource !== undefined) {
-						result.resource = path.resolve(result.resource, newContentResource);
-					}
-					if (newContentRecursive !== undefined) {
-						result.recursive = newContentRecursive;
-					}
-					if (newContentRegExp !== undefined) {
-						result.regExp = newContentRegExp;
-					}
-					if (typeof newContentCreateContextMap === "function") {
-						result.resolveDependencies = createResolveDependenciesFromContextMap(
-							newContentCreateContextMap
-						);
-					}
-					if (typeof newContentCallback === "function") {
-						const origResource = result.resource;
-						newContentCallback(result);
-						if (result.resource !== origResource) {
-							result.resource = path.resolve(origResource, result.resource);
-						}
-					} else {
-						for (const d of result.dependencies) {
-							if (d.critical) d.critical = false;
-						}
-					}
-				}
-				return result;
-			});
-		});
-	}
-}
-
-const createResolveDependenciesFromContextMap = createContextMap => {
-	const resolveDependenciesFromContextMap = (fs, options, callback) => {
-		createContextMap(fs, (err, map) => {
-			if (err) return callback(err);
-			const dependencies = Object.keys(map).map(key => {
-				return new ContextElementDependency(
-					map[key] + options.resourceQuery,
-					key
-				);
-			});
-			callback(null, dependencies);
-		});
-	};
-	return resolveDependenciesFromContextMap;
-};
-
-module.exports = ContextReplacementPlugin;

+ 0 - 289
node_modules.bak/webpack/lib/DefinePlugin.js

@@ -1,289 +0,0 @@
-/*
-	MIT License http://www.opensource.org/licenses/mit-license.php
-	Author Tobias Koppers @sokra
-*/
-"use strict";
-
-const ConstDependency = require("./dependencies/ConstDependency");
-const BasicEvaluatedExpression = require("./BasicEvaluatedExpression");
-const ParserHelpers = require("./ParserHelpers");
-const NullFactory = require("./NullFactory");
-
-/** @typedef {import("./Compiler")} Compiler */
-/** @typedef {import("./Parser")} Parser */
-/** @typedef {null|undefined|RegExp|Function|string|number} CodeValuePrimitive */
-/** @typedef {CodeValuePrimitive|Record<string, CodeValuePrimitive>|RuntimeValue} CodeValue */
-
-class RuntimeValue {
-	constructor(fn, fileDependencies) {
-		this.fn = fn;
-		this.fileDependencies = fileDependencies || [];
-	}
-
-	exec(parser) {
-		if (this.fileDependencies === true) {
-			parser.state.module.buildInfo.cacheable = false;
-		} else {
-			for (const fileDependency of this.fileDependencies) {
-				parser.state.module.buildInfo.fileDependencies.add(fileDependency);
-			}
-		}
-
-		return this.fn({ module: parser.state.module });
-	}
-}
-
-const stringifyObj = (obj, parser) => {
-	return (
-		"Object({" +
-		Object.keys(obj)
-			.map(key => {
-				const code = obj[key];
-				return JSON.stringify(key) + ":" + toCode(code, parser);
-			})
-			.join(",") +
-		"})"
-	);
-};
-
-/**
- * Convert code to a string that evaluates
- * @param {CodeValue} code Code to evaluate
- * @param {Parser} parser Parser
- * @returns {string} code converted to string that evaluates
- */
-const toCode = (code, parser) => {
-	if (code === null) {
-		return "null";
-	}
-	if (code === undefined) {
-		return "undefined";
-	}
-	if (code instanceof RuntimeValue) {
-		return toCode(code.exec(parser), parser);
-	}
-	if (code instanceof RegExp && code.toString) {
-		return code.toString();
-	}
-	if (typeof code === "function" && code.toString) {
-		return "(" + code.toString() + ")";
-	}
-	if (typeof code === "object") {
-		return stringifyObj(code, parser);
-	}
-	return code + "";
-};
-
-class DefinePlugin {
-	/**
-	 * Create a new define plugin
-	 * @param {Record<string, CodeValue>} definitions A map of global object definitions
-	 */
-	constructor(definitions) {
-		this.definitions = definitions;
-	}
-
-	static runtimeValue(fn, fileDependencies) {
-		return new RuntimeValue(fn, fileDependencies);
-	}
-
-	/**
-	 * Apply the plugin
-	 * @param {Compiler} compiler Webpack compiler
-	 * @returns {void}
-	 */
-	apply(compiler) {
-		const definitions = this.definitions;
-		compiler.hooks.compilation.tap(
-			"DefinePlugin",
-			(compilation, { normalModuleFactory }) => {
-				compilation.dependencyFactories.set(ConstDependency, new NullFactory());
-				compilation.dependencyTemplates.set(
-					ConstDependency,
-					new ConstDependency.Template()
-				);
-
-				/**
-				 * Handler
-				 * @param {Parser} parser Parser
-				 * @returns {void}
-				 */
-				const handler = parser => {
-					/**
-					 * Walk definitions
-					 * @param {Object} definitions Definitions map
-					 * @param {string} prefix Prefix string
-					 * @returns {void}
-					 */
-					const walkDefinitions = (definitions, prefix) => {
-						Object.keys(definitions).forEach(key => {
-							const code = definitions[key];
-							if (
-								code &&
-								typeof code === "object" &&
-								!(code instanceof RuntimeValue) &&
-								!(code instanceof RegExp)
-							) {
-								walkDefinitions(code, prefix + key + ".");
-								applyObjectDefine(prefix + key, code);
-								return;
-							}
-							applyDefineKey(prefix, key);
-							applyDefine(prefix + key, code);
-						});
-					};
-
-					/**
-					 * Apply define key
-					 * @param {string} prefix Prefix
-					 * @param {string} key Key
-					 * @returns {void}
-					 */
-					const applyDefineKey = (prefix, key) => {
-						const splittedKey = key.split(".");
-						splittedKey.slice(1).forEach((_, i) => {
-							const fullKey = prefix + splittedKey.slice(0, i + 1).join(".");
-							parser.hooks.canRename
-								.for(fullKey)
-								.tap("DefinePlugin", ParserHelpers.approve);
-						});
-					};
-
-					/**
-					 * Apply Code
-					 * @param {string} key Key
-					 * @param {CodeValue} code Code
-					 * @returns {void}
-					 */
-					const applyDefine = (key, code) => {
-						const isTypeof = /^typeof\s+/.test(key);
-						if (isTypeof) key = key.replace(/^typeof\s+/, "");
-						let recurse = false;
-						let recurseTypeof = false;
-						if (!isTypeof) {
-							parser.hooks.canRename
-								.for(key)
-								.tap("DefinePlugin", ParserHelpers.approve);
-							parser.hooks.evaluateIdentifier
-								.for(key)
-								.tap("DefinePlugin", expr => {
-									/**
-									 * this is needed in case there is a recursion in the DefinePlugin
-									 * to prevent an endless recursion
-									 * e.g.: new DefinePlugin({
-									 * "a": "b",
-									 * "b": "a"
-									 * });
-									 */
-									if (recurse) return;
-									recurse = true;
-									const res = parser.evaluate(toCode(code, parser));
-									recurse = false;
-									res.setRange(expr.range);
-									return res;
-								});
-							parser.hooks.expression.for(key).tap("DefinePlugin", expr => {
-								const strCode = toCode(code, parser);
-								if (/__webpack_require__/.test(strCode)) {
-									return ParserHelpers.toConstantDependencyWithWebpackRequire(
-										parser,
-										strCode
-									)(expr);
-								} else {
-									return ParserHelpers.toConstantDependency(
-										parser,
-										strCode
-									)(expr);
-								}
-							});
-						}
-						parser.hooks.evaluateTypeof.for(key).tap("DefinePlugin", expr => {
-							/**
-							 * this is needed in case there is a recursion in the DefinePlugin
-							 * to prevent an endless recursion
-							 * e.g.: new DefinePlugin({
-							 * "typeof a": "typeof b",
-							 * "typeof b": "typeof a"
-							 * });
-							 */
-							if (recurseTypeof) return;
-							recurseTypeof = true;
-							const typeofCode = isTypeof
-								? toCode(code, parser)
-								: "typeof (" + toCode(code, parser) + ")";
-							const res = parser.evaluate(typeofCode);
-							recurseTypeof = false;
-							res.setRange(expr.range);
-							return res;
-						});
-						parser.hooks.typeof.for(key).tap("DefinePlugin", expr => {
-							const typeofCode = isTypeof
-								? toCode(code, parser)
-								: "typeof (" + toCode(code, parser) + ")";
-							const res = parser.evaluate(typeofCode);
-							if (!res.isString()) return;
-							return ParserHelpers.toConstantDependency(
-								parser,
-								JSON.stringify(res.string)
-							).bind(parser)(expr);
-						});
-					};
-
-					/**
-					 * Apply Object
-					 * @param {string} key Key
-					 * @param {Object} obj Object
-					 * @returns {void}
-					 */
-					const applyObjectDefine = (key, obj) => {
-						parser.hooks.canRename
-							.for(key)
-							.tap("DefinePlugin", ParserHelpers.approve);
-						parser.hooks.evaluateIdentifier
-							.for(key)
-							.tap("DefinePlugin", expr =>
-								new BasicEvaluatedExpression().setTruthy().setRange(expr.range)
-							);
-						parser.hooks.evaluateTypeof.for(key).tap("DefinePlugin", expr => {
-							return ParserHelpers.evaluateToString("object")(expr);
-						});
-						parser.hooks.expression.for(key).tap("DefinePlugin", expr => {
-							const strCode = stringifyObj(obj, parser);
-
-							if (/__webpack_require__/.test(strCode)) {
-								return ParserHelpers.toConstantDependencyWithWebpackRequire(
-									parser,
-									strCode
-								)(expr);
-							} else {
-								return ParserHelpers.toConstantDependency(
-									parser,
-									strCode
-								)(expr);
-							}
-						});
-						parser.hooks.typeof.for(key).tap("DefinePlugin", expr => {
-							return ParserHelpers.toConstantDependency(
-								parser,
-								JSON.stringify("object")
-							)(expr);
-						});
-					};
-
-					walkDefinitions(definitions, "");
-				};
-
-				normalModuleFactory.hooks.parser
-					.for("javascript/auto")
-					.tap("DefinePlugin", handler);
-				normalModuleFactory.hooks.parser
-					.for("javascript/dynamic")
-					.tap("DefinePlugin", handler);
-				normalModuleFactory.hooks.parser
-					.for("javascript/esm")
-					.tap("DefinePlugin", handler);
-			}
-		);
-	}
-}
-module.exports = DefinePlugin;

+ 0 - 114
node_modules.bak/webpack/lib/DelegatedModule.js

@@ -1,114 +0,0 @@
-/*
-	MIT License http://www.opensource.org/licenses/mit-license.php
-	Author Tobias Koppers @sokra
-*/
-"use strict";
-
-const { OriginalSource, RawSource } = require("webpack-sources");
-
-const Module = require("./Module");
-const WebpackMissingModule = require("./dependencies/WebpackMissingModule");
-const DelegatedSourceDependency = require("./dependencies/DelegatedSourceDependency");
-const DelegatedExportsDependency = require("./dependencies/DelegatedExportsDependency");
-
-/** @typedef {import("./dependencies/ModuleDependency")} ModuleDependency */
-/** @typedef {import("./util/createHash").Hash} Hash */
-
-class DelegatedModule extends Module {
-	constructor(sourceRequest, data, type, userRequest, originalRequest) {
-		super("javascript/dynamic", null);
-
-		// Info from Factory
-		this.sourceRequest = sourceRequest;
-		this.request = data.id;
-		this.type = type;
-		this.userRequest = userRequest;
-		this.originalRequest = originalRequest;
-		this.delegateData = data;
-
-		// Build info
-		this.delegatedSourceDependency = undefined;
-	}
-
-	libIdent(options) {
-		return typeof this.originalRequest === "string"
-			? this.originalRequest
-			: this.originalRequest.libIdent(options);
-	}
-
-	identifier() {
-		return `delegated ${JSON.stringify(this.request)} from ${
-			this.sourceRequest
-		}`;
-	}
-
-	readableIdentifier() {
-		return `delegated ${this.userRequest} from ${this.sourceRequest}`;
-	}
-
-	needRebuild() {
-		return false;
-	}
-
-	build(options, compilation, resolver, fs, callback) {
-		this.built = true;
-		this.buildMeta = Object.assign({}, this.delegateData.buildMeta);
-		this.buildInfo = {};
-		this.delegatedSourceDependency = new DelegatedSourceDependency(
-			this.sourceRequest
-		);
-		this.addDependency(this.delegatedSourceDependency);
-		this.addDependency(
-			new DelegatedExportsDependency(this, this.delegateData.exports || true)
-		);
-		callback();
-	}
-
-	source(depTemplates, runtime) {
-		const dep = /** @type {DelegatedSourceDependency} */ (this.dependencies[0]);
-		const sourceModule = dep.module;
-		let str;
-
-		if (!sourceModule) {
-			str = WebpackMissingModule.moduleCode(this.sourceRequest);
-		} else {
-			str = `module.exports = (${runtime.moduleExports({
-				module: sourceModule,
-				request: dep.request
-			})})`;
-
-			switch (this.type) {
-				case "require":
-					str += `(${JSON.stringify(this.request)})`;
-					break;
-				case "object":
-					str += `[${JSON.stringify(this.request)}]`;
-					break;
-			}
-
-			str += ";";
-		}
-
-		if (this.useSourceMap) {
-			return new OriginalSource(str, this.identifier());
-		} else {
-			return new RawSource(str);
-		}
-	}
-
-	size() {
-		return 42;
-	}
-
-	/**
-	 * @param {Hash} hash the hash used to track dependencies
-	 * @returns {void}
-	 */
-	updateHash(hash) {
-		hash.update(this.type);
-		hash.update(JSON.stringify(this.request));
-		super.updateHash(hash);
-	}
-}
-
-module.exports = DelegatedModule;

+ 0 - 95
node_modules.bak/webpack/lib/DelegatedModuleFactoryPlugin.js

@@ -1,95 +0,0 @@
-/*
-	MIT License http://www.opensource.org/licenses/mit-license.php
-	Author Tobias Koppers @sokra
-*/
-"use strict";
-
-const DelegatedModule = require("./DelegatedModule");
-
-// options.source
-// options.type
-// options.context
-// options.scope
-// options.content
-class DelegatedModuleFactoryPlugin {
-	constructor(options) {
-		this.options = options;
-		options.type = options.type || "require";
-		options.extensions = options.extensions || [
-			"",
-			".wasm",
-			".mjs",
-			".js",
-			".json"
-		];
-	}
-
-	apply(normalModuleFactory) {
-		const scope = this.options.scope;
-		if (scope) {
-			normalModuleFactory.hooks.factory.tap(
-				"DelegatedModuleFactoryPlugin",
-				factory => (data, callback) => {
-					const dependency = data.dependencies[0];
-					const request = dependency.request;
-					if (request && request.indexOf(scope + "/") === 0) {
-						const innerRequest = "." + request.substr(scope.length);
-						let resolved;
-						if (innerRequest in this.options.content) {
-							resolved = this.options.content[innerRequest];
-							return callback(
-								null,
-								new DelegatedModule(
-									this.options.source,
-									resolved,
-									this.options.type,
-									innerRequest,
-									request
-								)
-							);
-						}
-						for (let i = 0; i < this.options.extensions.length; i++) {
-							const extension = this.options.extensions[i];
-							const requestPlusExt = innerRequest + extension;
-							if (requestPlusExt in this.options.content) {
-								resolved = this.options.content[requestPlusExt];
-								return callback(
-									null,
-									new DelegatedModule(
-										this.options.source,
-										resolved,
-										this.options.type,
-										requestPlusExt,
-										request + extension
-									)
-								);
-							}
-						}
-					}
-					return factory(data, callback);
-				}
-			);
-		} else {
-			normalModuleFactory.hooks.module.tap(
-				"DelegatedModuleFactoryPlugin",
-				module => {
-					if (module.libIdent) {
-						const request = module.libIdent(this.options);
-						if (request && request in this.options.content) {
-							const resolved = this.options.content[request];
-							return new DelegatedModule(
-								this.options.source,
-								resolved,
-								this.options.type,
-								request,
-								module
-							);
-						}
-					}
-					return module;
-				}
-			);
-		}
-	}
-}
-module.exports = DelegatedModuleFactoryPlugin;

+ 0 - 39
node_modules.bak/webpack/lib/DelegatedPlugin.js

@@ -1,39 +0,0 @@
-/*
-	MIT License http://www.opensource.org/licenses/mit-license.php
-	Author Tobias Koppers @sokra
-*/
-
-"use strict";
-
-const DelegatedModuleFactoryPlugin = require("./DelegatedModuleFactoryPlugin");
-const DelegatedSourceDependency = require("./dependencies/DelegatedSourceDependency");
-const DelegatedExportsDependency = require("./dependencies/DelegatedExportsDependency");
-const NullFactory = require("./NullFactory");
-
-class DelegatedPlugin {
-	constructor(options) {
-		this.options = options;
-	}
-
-	apply(compiler) {
-		compiler.hooks.compilation.tap(
-			"DelegatedPlugin",
-			(compilation, { normalModuleFactory }) => {
-				compilation.dependencyFactories.set(
-					DelegatedSourceDependency,
-					normalModuleFactory
-				);
-				compilation.dependencyFactories.set(
-					DelegatedExportsDependency,
-					new NullFactory()
-				);
-			}
-		);
-
-		compiler.hooks.compile.tap("DelegatedPlugin", ({ normalModuleFactory }) => {
-			new DelegatedModuleFactoryPlugin(this.options).apply(normalModuleFactory);
-		});
-	}
-}
-
-module.exports = DelegatedPlugin;

+ 0 - 124
node_modules.bak/webpack/lib/DependenciesBlock.js

@@ -1,124 +0,0 @@
-/*
- MIT License http://www.opensource.org/licenses/mit-license.php
- Author Tobias Koppers @sokra
- */
-"use strict";
-
-const DependenciesBlockVariable = require("./DependenciesBlockVariable");
-
-/** @typedef {import("./ChunkGroup")} ChunkGroup */
-/** @typedef {import("./Dependency")} Dependency */
-/** @typedef {import("./AsyncDependenciesBlock")} AsyncDependenciesBlock */
-/** @typedef {import("./DependenciesBlockVariable")} DependenciesBlockVariable */
-/** @typedef {(d: Dependency) => boolean} DependencyFilterFunction */
-/** @typedef {import("./util/createHash").Hash} Hash */
-
-class DependenciesBlock {
-	constructor() {
-		/** @type {Dependency[]} */
-		this.dependencies = [];
-		/** @type {AsyncDependenciesBlock[]} */
-		this.blocks = [];
-		/** @type {DependenciesBlockVariable[]} */
-		this.variables = [];
-	}
-
-	/**
-	 * Adds a DependencyBlock to DependencyBlock relationship.
-	 * This is used for when a Module has a AsyncDependencyBlock tie (for code-splitting)
-	 *
-	 * @param {AsyncDependenciesBlock} block block being added
-	 * @returns {void}
-	 */
-	addBlock(block) {
-		this.blocks.push(block);
-		block.parent = this;
-	}
-
-	/**
-	 * @param {string} name name of dependency
-	 * @param {string} expression expression string for variable
-	 * @param {Dependency[]} dependencies dependency instances tied to variable
-	 * @returns {void}
-	 */
-	addVariable(name, expression, dependencies) {
-		for (let v of this.variables) {
-			if (v.name === name && v.expression === expression) {
-				return;
-			}
-		}
-		this.variables.push(
-			new DependenciesBlockVariable(name, expression, dependencies)
-		);
-	}
-
-	/**
-	 * @param {Dependency} dependency dependency being tied to block.
-	 * This is an "edge" pointing to another "node" on module graph.
-	 * @returns {void}
-	 */
-	addDependency(dependency) {
-		this.dependencies.push(dependency);
-	}
-
-	/**
-	 * @param {Dependency} dependency dependency being removed
-	 * @returns {void}
-	 */
-	removeDependency(dependency) {
-		const idx = this.dependencies.indexOf(dependency);
-		if (idx >= 0) {
-			this.dependencies.splice(idx, 1);
-		}
-	}
-
-	/**
-	 * @param {Hash} hash the hash used to track dependencies
-	 * @returns {void}
-	 */
-	updateHash(hash) {
-		for (const dep of this.dependencies) dep.updateHash(hash);
-		for (const block of this.blocks) block.updateHash(hash);
-		for (const variable of this.variables) variable.updateHash(hash);
-	}
-
-	disconnect() {
-		for (const dep of this.dependencies) dep.disconnect();
-		for (const block of this.blocks) block.disconnect();
-		for (const variable of this.variables) variable.disconnect();
-	}
-
-	unseal() {
-		for (const block of this.blocks) block.unseal();
-	}
-
-	/**
-	 * @param {DependencyFilterFunction} filter filter function for dependencies, gets passed all dependency ties from current instance
-	 * @returns {boolean} returns boolean for filter
-	 */
-	hasDependencies(filter) {
-		if (filter) {
-			for (const dep of this.dependencies) {
-				if (filter(dep)) return true;
-			}
-		} else {
-			if (this.dependencies.length > 0) {
-				return true;
-			}
-		}
-
-		for (const block of this.blocks) {
-			if (block.hasDependencies(filter)) return true;
-		}
-		for (const variable of this.variables) {
-			if (variable.hasDependencies(filter)) return true;
-		}
-		return false;
-	}
-
-	sortItems() {
-		for (const block of this.blocks) block.sortItems();
-	}
-}
-
-module.exports = DependenciesBlock;

+ 0 - 72
node_modules.bak/webpack/lib/DependenciesBlockVariable.js

@@ -1,72 +0,0 @@
-/*
-	MIT License http://www.opensource.org/licenses/mit-license.php
-	Author Tobias Koppers @sokra
-*/
-"use strict";
-
-const { RawSource, ReplaceSource } = require("webpack-sources");
-
-/** @typedef {import("./Dependency")} Dependency */
-/** @typedef {import("./Dependency").DependencyTemplate} DependencyTemplate */
-/** @typedef {import("./RuntimeTemplate")} RuntimeTemplate */
-/** @typedef {import("./util/createHash").Hash} Hash */
-/** @typedef {(d: Dependency) => boolean} DependencyFilterFunction */
-/** @typedef {Map<Function, DependencyTemplate>} DependencyTemplates */
-
-class DependenciesBlockVariable {
-	/**
-	 * Creates an instance of DependenciesBlockVariable.
-	 * @param {string} name name of DependenciesBlockVariable
-	 * @param {string} expression expression string
-	 * @param {Dependency[]=} dependencies dependencies tied to this varaiable
-	 */
-	constructor(name, expression, dependencies) {
-		this.name = name;
-		this.expression = expression;
-		this.dependencies = dependencies || [];
-	}
-
-	/**
-	 * @param {Hash} hash hash for instance to update
-	 * @returns {void}
-	 */
-	updateHash(hash) {
-		hash.update(this.name);
-		hash.update(this.expression);
-		for (const d of this.dependencies) {
-			d.updateHash(hash);
-		}
-	}
-
-	/**
-	 * @param {DependencyTemplates} dependencyTemplates Dependency constructors and templates Map.
-	 * @param {RuntimeTemplate} runtimeTemplate runtimeTemplate to generate expression souce
-	 * @returns {ReplaceSource} returns constructed source for expression via templates
-	 */
-	expressionSource(dependencyTemplates, runtimeTemplate) {
-		const source = new ReplaceSource(new RawSource(this.expression));
-		for (const dep of this.dependencies) {
-			const template = dependencyTemplates.get(dep.constructor);
-			if (!template) {
-				throw new Error(`No template for dependency: ${dep.constructor.name}`);
-			}
-			template.apply(dep, source, runtimeTemplate, dependencyTemplates);
-		}
-		return source;
-	}
-
-	disconnect() {
-		for (const d of this.dependencies) {
-			d.disconnect();
-		}
-	}
-
-	hasDependencies(filter) {
-		if (filter) {
-			return this.dependencies.some(filter);
-		}
-		return this.dependencies.length > 0;
-	}
-}
-
-module.exports = DependenciesBlockVariable;

+ 0 - 89
node_modules.bak/webpack/lib/Dependency.js

@@ -1,89 +0,0 @@
-/*
-	MIT License http://www.opensource.org/licenses/mit-license.php
-	Author Tobias Koppers @sokra
-*/
-"use strict";
-
-const util = require("util");
-const compareLocations = require("./compareLocations");
-const DependencyReference = require("./dependencies/DependencyReference");
-
-/** @typedef {import("./Module")} Module */
-/** @typedef {import("webpack-sources").Source} Source */
-/** @typedef {import("./RuntimeTemplate")} RuntimeTemplate */
-
-/**
- * @typedef {Object} DependencyTemplate
- * @property {function(Dependency, Source, RuntimeTemplate, Map<Function, DependencyTemplate>): void} apply
- */
-
-/** @typedef {Object} SourcePosition
- *  @property {number} line
- *  @property {number=} column
- */
-
-/** @typedef {Object} RealDependencyLocation
- *  @property {SourcePosition} start
- *  @property {SourcePosition=} end
- *  @property {number=} index
- */
-
-/** @typedef {Object} SynteticDependencyLocation
- *  @property {string} name
- *  @property {number=} index
- */
-
-/** @typedef {SynteticDependencyLocation|RealDependencyLocation} DependencyLocation */
-
-class Dependency {
-	constructor() {
-		/** @type {Module|null} */
-		this.module = null;
-		// TODO remove in webpack 5
-		/** @type {boolean} */
-		this.weak = false;
-		/** @type {boolean} */
-		this.optional = false;
-		/** @type {DependencyLocation} */
-		this.loc = undefined;
-	}
-
-	getResourceIdentifier() {
-		return null;
-	}
-
-	// Returns the referenced module and export
-	getReference() {
-		if (!this.module) return null;
-		return new DependencyReference(this.module, true, this.weak);
-	}
-
-	// Returns the exported names
-	getExports() {
-		return null;
-	}
-
-	getWarnings() {
-		return null;
-	}
-
-	getErrors() {
-		return null;
-	}
-
-	updateHash(hash) {
-		hash.update((this.module && this.module.id) + "");
-	}
-
-	disconnect() {
-		this.module = null;
-	}
-}
-
-// TODO remove in webpack 5
-Dependency.compare = util.deprecate(
-	(a, b) => compareLocations(a.loc, b.loc),
-	"Dependency.compare is deprecated and will be removed in the next major version"
-);
-
-module.exports = Dependency;

+ 0 - 54
node_modules.bak/webpack/lib/DllEntryPlugin.js

@@ -1,54 +0,0 @@
-/*
-	MIT License http://www.opensource.org/licenses/mit-license.php
-	Author Tobias Koppers @sokra
-*/
-"use strict";
-
-const DllEntryDependency = require("./dependencies/DllEntryDependency");
-const SingleEntryDependency = require("./dependencies/SingleEntryDependency");
-const DllModuleFactory = require("./DllModuleFactory");
-
-class DllEntryPlugin {
-	constructor(context, entries, name) {
-		this.context = context;
-		this.entries = entries;
-		this.name = name;
-	}
-
-	apply(compiler) {
-		compiler.hooks.compilation.tap(
-			"DllEntryPlugin",
-			(compilation, { normalModuleFactory }) => {
-				const dllModuleFactory = new DllModuleFactory();
-				compilation.dependencyFactories.set(
-					DllEntryDependency,
-					dllModuleFactory
-				);
-				compilation.dependencyFactories.set(
-					SingleEntryDependency,
-					normalModuleFactory
-				);
-			}
-		);
-		compiler.hooks.make.tapAsync("DllEntryPlugin", (compilation, callback) => {
-			compilation.addEntry(
-				this.context,
-				new DllEntryDependency(
-					this.entries.map((e, idx) => {
-						const dep = new SingleEntryDependency(e);
-						dep.loc = {
-							name: this.name,
-							index: idx
-						};
-						return dep;
-					}),
-					this.name
-				),
-				this.name,
-				callback
-			);
-		});
-	}
-}
-
-module.exports = DllEntryPlugin;

+ 0 - 60
node_modules.bak/webpack/lib/DllModule.js

@@ -1,60 +0,0 @@
-/*
-	MIT License http://www.opensource.org/licenses/mit-license.php
-	Author Tobias Koppers @sokra
-	*/
-"use strict";
-
-const { RawSource } = require("webpack-sources");
-const Module = require("./Module");
-
-/** @typedef {import("./util/createHash").Hash} Hash */
-
-class DllModule extends Module {
-	constructor(context, dependencies, name, type) {
-		super("javascript/dynamic", context);
-
-		// Info from Factory
-		this.dependencies = dependencies;
-		this.name = name;
-		this.type = type;
-	}
-
-	identifier() {
-		return `dll ${this.name}`;
-	}
-
-	readableIdentifier() {
-		return `dll ${this.name}`;
-	}
-
-	build(options, compilation, resolver, fs, callback) {
-		this.built = true;
-		this.buildMeta = {};
-		this.buildInfo = {};
-		return callback();
-	}
-
-	source() {
-		return new RawSource("module.exports = __webpack_require__;");
-	}
-
-	needRebuild() {
-		return false;
-	}
-
-	size() {
-		return 12;
-	}
-
-	/**
-	 * @param {Hash} hash the hash used to track dependencies
-	 * @returns {void}
-	 */
-	updateHash(hash) {
-		hash.update("dll module");
-		hash.update(this.name || "");
-		super.updateHash(hash);
-	}
-}
-
-module.exports = DllModule;

+ 0 - 29
node_modules.bak/webpack/lib/DllModuleFactory.js

@@ -1,29 +0,0 @@
-/*
-	MIT License http://www.opensource.org/licenses/mit-license.php
-	Author Tobias Koppers @sokra
-*/
-"use strict";
-
-const { Tapable } = require("tapable");
-const DllModule = require("./DllModule");
-
-class DllModuleFactory extends Tapable {
-	constructor() {
-		super();
-		this.hooks = {};
-	}
-	create(data, callback) {
-		const dependency = data.dependencies[0];
-		callback(
-			null,
-			new DllModule(
-				data.context,
-				dependency.dependencies,
-				dependency.name,
-				dependency.type
-			)
-		);
-	}
-}
-
-module.exports = DllModuleFactory;

+ 0 - 49
node_modules.bak/webpack/lib/DllPlugin.js

@@ -1,49 +0,0 @@
-/*
-	MIT License http://www.opensource.org/licenses/mit-license.php
-	Author Tobias Koppers @sokra
-	*/
-"use strict";
-
-const DllEntryPlugin = require("./DllEntryPlugin");
-const FlagAllModulesAsUsedPlugin = require("./FlagAllModulesAsUsedPlugin");
-const LibManifestPlugin = require("./LibManifestPlugin");
-
-const validateOptions = require("schema-utils");
-const schema = require("../schemas/plugins/DllPlugin.json");
-
-/** @typedef {import("../declarations/plugins/DllPlugin").DllPluginOptions} DllPluginOptions */
-
-class DllPlugin {
-	/**
-	 * @param {DllPluginOptions} options options object
-	 */
-	constructor(options) {
-		validateOptions(schema, options, "Dll Plugin");
-		this.options = options;
-	}
-
-	apply(compiler) {
-		compiler.hooks.entryOption.tap("DllPlugin", (context, entry) => {
-			const itemToPlugin = (item, name) => {
-				if (Array.isArray(item)) {
-					return new DllEntryPlugin(context, item, name);
-				}
-				throw new Error("DllPlugin: supply an Array as entry");
-			};
-			if (typeof entry === "object" && !Array.isArray(entry)) {
-				Object.keys(entry).forEach(name => {
-					itemToPlugin(entry[name], name).apply(compiler);
-				});
-			} else {
-				itemToPlugin(entry, "main").apply(compiler);
-			}
-			return true;
-		});
-		new LibManifestPlugin(this.options).apply(compiler);
-		if (!this.options.entryOnly) {
-			new FlagAllModulesAsUsedPlugin("DllPlugin").apply(compiler);
-		}
-	}
-}
-
-module.exports = DllPlugin;

+ 0 - 156
node_modules.bak/webpack/lib/DllReferencePlugin.js

@@ -1,156 +0,0 @@
-/*
-	MIT License http://www.opensource.org/licenses/mit-license.php
-	Author Tobias Koppers @sokra
-*/
-"use strict";
-
-const parseJson = require("json-parse-better-errors");
-const DelegatedSourceDependency = require("./dependencies/DelegatedSourceDependency");
-const DelegatedModuleFactoryPlugin = require("./DelegatedModuleFactoryPlugin");
-const ExternalModuleFactoryPlugin = require("./ExternalModuleFactoryPlugin");
-const DelegatedExportsDependency = require("./dependencies/DelegatedExportsDependency");
-const NullFactory = require("./NullFactory");
-const makePathsRelative = require("./util/identifier").makePathsRelative;
-const WebpackError = require("./WebpackError");
-
-const validateOptions = require("schema-utils");
-const schema = require("../schemas/plugins/DllReferencePlugin.json");
-
-/** @typedef {import("../declarations/plugins/DllReferencePlugin").DllReferencePluginOptions} DllReferencePluginOptions */
-/** @typedef {import("../declarations/plugins/DllReferencePlugin").DllReferencePluginOptionsManifest} DllReferencePluginOptionsManifest */
-
-class DllReferencePlugin {
-	/**
-	 * @param {DllReferencePluginOptions} options options object
-	 */
-	constructor(options) {
-		validateOptions(schema, options, "Dll Reference Plugin");
-		this.options = options;
-	}
-
-	apply(compiler) {
-		compiler.hooks.compilation.tap(
-			"DllReferencePlugin",
-			(compilation, { normalModuleFactory }) => {
-				compilation.dependencyFactories.set(
-					DelegatedSourceDependency,
-					normalModuleFactory
-				);
-				compilation.dependencyFactories.set(
-					DelegatedExportsDependency,
-					new NullFactory()
-				);
-			}
-		);
-
-		compiler.hooks.beforeCompile.tapAsync(
-			"DllReferencePlugin",
-			(params, callback) => {
-				if ("manifest" in this.options) {
-					const manifest = this.options.manifest;
-					if (typeof manifest === "string") {
-						params.compilationDependencies.add(manifest);
-						compiler.inputFileSystem.readFile(manifest, (err, result) => {
-							if (err) return callback(err);
-							// Catch errors parsing the manifest so that blank
-							// or malformed manifest files don't kill the process.
-							try {
-								params["dll reference " + manifest] = parseJson(
-									result.toString("utf-8")
-								);
-							} catch (e) {
-								// Store the error in the params so that it can
-								// be added as a compilation error later on.
-								const manifestPath = makePathsRelative(
-									compiler.options.context,
-									manifest
-								);
-								params[
-									"dll reference parse error " + manifest
-								] = new DllManifestError(manifestPath, e.message);
-							}
-							return callback();
-						});
-						return;
-					}
-				}
-				return callback();
-			}
-		);
-
-		compiler.hooks.compile.tap("DllReferencePlugin", params => {
-			let name = this.options.name;
-			let sourceType = this.options.sourceType;
-			let content =
-				"content" in this.options ? this.options.content : undefined;
-			if ("manifest" in this.options) {
-				let manifestParameter = this.options.manifest;
-				let manifest;
-				if (typeof manifestParameter === "string") {
-					// If there was an error parsing the manifest
-					// file, exit now because the error will be added
-					// as a compilation error in the "compilation" hook.
-					if (params["dll reference parse error " + manifestParameter]) {
-						return;
-					}
-					manifest =
-						/** @type {DllReferencePluginOptionsManifest} */ (params[
-							"dll reference " + manifestParameter
-						]);
-				} else {
-					manifest = manifestParameter;
-				}
-				if (manifest) {
-					if (!name) name = manifest.name;
-					if (!sourceType) sourceType = manifest.type;
-					if (!content) content = manifest.content;
-				}
-			}
-			const externals = {};
-			const source = "dll-reference " + name;
-			externals[source] = name;
-			const normalModuleFactory = params.normalModuleFactory;
-			new ExternalModuleFactoryPlugin(sourceType || "var", externals).apply(
-				normalModuleFactory
-			);
-			new DelegatedModuleFactoryPlugin({
-				source: source,
-				type: this.options.type,
-				scope: this.options.scope,
-				context: this.options.context || compiler.options.context,
-				content,
-				extensions: this.options.extensions
-			}).apply(normalModuleFactory);
-		});
-
-		compiler.hooks.compilation.tap(
-			"DllReferencePlugin",
-			(compilation, params) => {
-				if ("manifest" in this.options) {
-					let manifest = this.options.manifest;
-					if (typeof manifest === "string") {
-						// If there was an error parsing the manifest file, add the
-						// error as a compilation error to make the compilation fail.
-						let e = params["dll reference parse error " + manifest];
-						if (e) {
-							compilation.errors.push(e);
-						}
-					}
-				}
-			}
-		);
-	}
-}
-
-class DllManifestError extends WebpackError {
-	constructor(filename, message) {
-		super();
-
-		this.name = "DllManifestError";
-		this.message = `Dll manifest ${filename}\n${message}`;
-
-		Error.captureStackTrace(this, this.constructor);
-	}
-}
-
-module.exports = DllReferencePlugin;

+ 0 - 94
node_modules.bak/webpack/lib/DynamicEntryPlugin.js

@@ -1,94 +0,0 @@
-/*
-	MIT License http://www.opensource.org/licenses/mit-license.php
-	Author Naoyuki Kanezawa @nkzawa
-*/
-"use strict";
-
-const MultiEntryDependency = require("./dependencies/MultiEntryDependency");
-const SingleEntryDependency = require("./dependencies/SingleEntryDependency");
-const MultiModuleFactory = require("./MultiModuleFactory");
-const MultiEntryPlugin = require("./MultiEntryPlugin");
-const SingleEntryPlugin = require("./SingleEntryPlugin");
-
-/** @typedef {import("../declarations/WebpackOptions").EntryDynamic} EntryDynamic */
-/** @typedef {import("../declarations/WebpackOptions").EntryStatic} EntryStatic */
-/** @typedef {import("./Compiler")} Compiler */
-
-class DynamicEntryPlugin {
-	/**
-	 * @param {string} context the context path
-	 * @param {EntryDynamic} entry the entry value
-	 */
-	constructor(context, entry) {
-		this.context = context;
-		this.entry = entry;
-	}
-
-	/**
-	 * @param {Compiler} compiler the compiler instance
-	 * @returns {void}
-	 */
-	apply(compiler) {
-		compiler.hooks.compilation.tap(
-			"DynamicEntryPlugin",
-			(compilation, { normalModuleFactory }) => {
-				const multiModuleFactory = new MultiModuleFactory();
-
-				compilation.dependencyFactories.set(
-					MultiEntryDependency,
-					multiModuleFactory
-				);
-				compilation.dependencyFactories.set(
-					SingleEntryDependency,
-					normalModuleFactory
-				);
-			}
-		);
-
-		compiler.hooks.make.tapAsync(
-			"DynamicEntryPlugin",
-			(compilation, callback) => {
-				/**
-				 * @param {string|string[]} entry entry value or array of entry values
-				 * @param {string} name name of entry
-				 * @returns {Promise<EntryStatic>} returns the promise resolving the Compilation#addEntry function
-				 */
-				const addEntry = (entry, name) => {
-					const dep = DynamicEntryPlugin.createDependency(entry, name);
-					return new Promise((resolve, reject) => {
-						compilation.addEntry(this.context, dep, name, err => {
-							if (err) return reject(err);
-							resolve();
-						});
-					});
-				};
-
-				Promise.resolve(this.entry()).then(entry => {
-					if (typeof entry === "string" || Array.isArray(entry)) {
-						addEntry(entry, "main").then(() => callback(), callback);
-					} else if (typeof entry === "object") {
-						Promise.all(
-							Object.keys(entry).map(name => {
-								return addEntry(entry[name], name);
-							})
-						).then(() => callback(), callback);
-					}
-				});
-			}
-		);
-	}
-}
-
-module.exports = DynamicEntryPlugin;
-/**
- * @param {string|string[]} entry entry value or array of entry paths
- * @param {string} name name of entry
- * @returns {SingleEntryDependency|MultiEntryDependency} returns dep
- */
-DynamicEntryPlugin.createDependency = (entry, name) => {
-	if (Array.isArray(entry)) {
-		return MultiEntryPlugin.createDependency(entry, name);
-	} else {
-		return SingleEntryPlugin.createDependency(entry, name);
-	}
-};

+ 0 - 21
node_modules.bak/webpack/lib/EntryModuleNotFoundError.js

@@ -1,21 +0,0 @@
-/*
-	MIT License http://www.opensource.org/licenses/mit-license.php
-	Author Tobias Koppers @sokra
-*/
-"use strict";
-
-const WebpackError = require("./WebpackError");
-
-class EntryModuleNotFoundError extends WebpackError {
-	constructor(err) {
-		super("Entry module not found: " + err);
-
-		this.name = "EntryModuleNotFoundError";
-		this.details = err.details;
-		this.error = err;
-
-		Error.captureStackTrace(this, this.constructor);
-	}
-}
-
-module.exports = EntryModuleNotFoundError;

+ 0 - 46
node_modules.bak/webpack/lib/EntryOptionPlugin.js

@@ -1,46 +0,0 @@
-/*
-	MIT License http://www.opensource.org/licenses/mit-license.php
-	Author Tobias Koppers @sokra
-*/
-"use strict";
-
-const SingleEntryPlugin = require("./SingleEntryPlugin");
-const MultiEntryPlugin = require("./MultiEntryPlugin");
-const DynamicEntryPlugin = require("./DynamicEntryPlugin");
-
-/** @typedef {import("../declarations/WebpackOptions").EntryItem} EntryItem */
-/** @typedef {import("./Compiler")} Compiler */
-
-/**
- * @param {string} context context path
- * @param {EntryItem} item entry array or single path
- * @param {string} name entry key name
- * @returns {SingleEntryPlugin | MultiEntryPlugin} returns either a single or multi entry plugin
- */
-const itemToPlugin = (context, item, name) => {
-	if (Array.isArray(item)) {
-		return new MultiEntryPlugin(context, item, name);
-	}
-	return new SingleEntryPlugin(context, item, name);
-};
-
-module.exports = class EntryOptionPlugin {
-	/**
-	 * @param {Compiler} compiler the compiler instance one is tapping into
-	 * @returns {void}
-	 */
-	apply(compiler) {
-		compiler.hooks.entryOption.tap("EntryOptionPlugin", (context, entry) => {
-			if (typeof entry === "string" || Array.isArray(entry)) {
-				itemToPlugin(context, entry, "main").apply(compiler);
-			} else if (typeof entry === "object") {
-				for (const name of Object.keys(entry)) {
-					itemToPlugin(context, entry[name], name).apply(compiler);
-				}
-			} else if (typeof entry === "function") {
-				new DynamicEntryPlugin(context, entry).apply(compiler);
-			}
-			return true;
-		});
-	}
-};

+ 0 - 64
node_modules.bak/webpack/lib/Entrypoint.js

@@ -1,64 +0,0 @@
-/*
-	MIT License http://www.opensource.org/licenses/mit-license.php
-	Author Tobias Koppers @sokra
-*/
-"use strict";
-
-const ChunkGroup = require("./ChunkGroup");
-
-/** @typedef {import("./Chunk")} Chunk */
-
-/**
- * Entrypoint serves as an encapsulation primitive for chunks that are
- * a part of a single ChunkGroup. They represent all bundles that need to be loaded for a
- * single instance of a page. Multi-page application architectures will typically yield multiple Entrypoint objects
- * inside of the compilation, whereas a Single Page App may only contain one with many lazy-loaded chunks.
- */
-class Entrypoint extends ChunkGroup {
-	/**
-	 * Creates an instance of Entrypoint.
-	 * @param {string} name the name of the entrypoint
-	 */
-	constructor(name) {
-		super(name);
-		/** @type {Chunk=} */
-		this.runtimeChunk = undefined;
-	}
-
-	/**
-	 * isInitial will always return true for Entrypoint ChunkGroup.
-	 * @returns {true} returns true as all entrypoints are initial ChunkGroups
-	 */
-	isInitial() {
-		return true;
-	}
-
-	/**
-	 * Sets the runtimeChunk for an entrypoint.
-	 * @param {Chunk} chunk the chunk being set as the runtime chunk.
-	 * @returns {void}
-	 */
-	setRuntimeChunk(chunk) {
-		this.runtimeChunk = chunk;
-	}
-
-	/**
-	 * Fetches the chunk reference containing the webpack bootstrap code
-	 * @returns {Chunk} returns the runtime chunk or first chunk in `this.chunks`
-	 */
-	getRuntimeChunk() {
-		return this.runtimeChunk || this.chunks[0];
-	}
-
-	/**
-	 * @param {Chunk} oldChunk chunk to be replaced
-	 * @param {Chunk} newChunk New chunk that will be replaced with
-	 * @returns {boolean} returns true if the replacement was successful
-	 */
-	replaceChunk(oldChunk, newChunk) {
-		if (this.runtimeChunk === oldChunk) this.runtimeChunk = newChunk;
-		return super.replaceChunk(oldChunk, newChunk);
-	}
-}
-
-module.exports = Entrypoint;

+ 0 - 72
node_modules.bak/webpack/lib/EnvironmentPlugin.js

@@ -1,72 +0,0 @@
-/*
-	MIT License http://www.opensource.org/licenses/mit-license.php
-	Authors Simen Brekken @simenbrekken, Einar Löve @einarlove
-*/
-
-"use strict";
-
-/** @typedef {import("./Compiler")} Compiler */
-
-const WebpackError = require("./WebpackError");
-const DefinePlugin = require("./DefinePlugin");
-
-const needsEnvVarFix =
-	["8", "9"].indexOf(process.versions.node.split(".")[0]) >= 0 &&
-	process.platform === "win32";
-
-class EnvironmentPlugin {
-	constructor(...keys) {
-		if (keys.length === 1 && Array.isArray(keys[0])) {
-			this.keys = keys[0];
-			this.defaultValues = {};
-		} else if (keys.length === 1 && keys[0] && typeof keys[0] === "object") {
-			this.keys = Object.keys(keys[0]);
-			this.defaultValues = keys[0];
-		} else {
-			this.keys = keys;
-			this.defaultValues = {};
-		}
-	}
-
-	/**
-	 * @param {Compiler} compiler webpack compiler instance
-	 * @returns {void}
-	 */
-	apply(compiler) {
-		const definitions = this.keys.reduce((defs, key) => {
-			// TODO remove once the fix has made its way into Node 8.
-			// Work around https://github.com/nodejs/node/pull/18463,
-			// affecting Node 8 & 9 by performing an OS-level
-			// operation that always succeeds before reading
-			// environment variables:
-			if (needsEnvVarFix) require("os").cpus();
-
-			const value =
-				process.env[key] !== undefined
-					? process.env[key]
-					: this.defaultValues[key];
-
-			if (value === undefined) {
-				compiler.hooks.thisCompilation.tap("EnvironmentPlugin", compilation => {
-					const error = new WebpackError(
-						`EnvironmentPlugin - ${key} environment variable is undefined.\n\n` +
-							"You can pass an object with default values to suppress this warning.\n" +
-							"See https://webpack.js.org/plugins/environment-plugin for example."
-					);
-
-					error.name = "EnvVariableNotDefinedError";
-					compilation.warnings.push(error);
-				});
-			}
-
-			defs[`process.env.${key}`] =
-				value === undefined ? "undefined" : JSON.stringify(value);
-
-			return defs;
-		}, {});
-
-		new DefinePlugin(definitions).apply(compiler);
-	}
-}
-
-module.exports = EnvironmentPlugin;

+ 0 - 60
node_modules.bak/webpack/lib/ErrorHelpers.js

@@ -1,60 +0,0 @@
-/*
-	MIT License http://www.opensource.org/licenses/mit-license.php
-	Author Tobias Koppers @sokra
-*/
-"use strict";
-
-const loaderFlag = "LOADER_EXECUTION";
-
-const webpackOptionsFlag = "WEBPACK_OPTIONS";
-
-exports.cutOffByFlag = (stack, flag) => {
-	stack = stack.split("\n");
-	for (let i = 0; i < stack.length; i++) {
-		if (stack[i].includes(flag)) {
-			stack.length = i;
-		}
-	}
-	return stack.join("\n");
-};
-
-exports.cutOffLoaderExecution = stack =>
-	exports.cutOffByFlag(stack, loaderFlag);
-
-exports.cutOffWebpackOptions = stack =>
-	exports.cutOffByFlag(stack, webpackOptionsFlag);
-
-exports.cutOffMultilineMessage = (stack, message) => {
-	stack = stack.split("\n");
-	message = message.split("\n");
-
-	return stack
-		.reduce(
-			(acc, line, idx) =>
-				line.includes(message[idx]) ? acc : acc.concat(line),
-			[]
-		)
-		.join("\n");
-};
-
-exports.cutOffMessage = (stack, message) => {
-	const nextLine = stack.indexOf("\n");
-	if (nextLine === -1) {
-		return stack === message ? "" : stack;
-	} else {
-		const firstLine = stack.substr(0, nextLine);
-		return firstLine === message ? stack.substr(nextLine + 1) : stack;
-	}
-};
-
-exports.cleanUp = (stack, message) => {
-	stack = exports.cutOffLoaderExecution(stack);
-	stack = exports.cutOffMessage(stack, message);
-	return stack;
-};
-
-exports.cleanUpWebpackOptions = (stack, message) => {
-	stack = exports.cutOffWebpackOptions(stack);
-	stack = exports.cutOffMultilineMessage(stack, message);
-	return stack;
-};

+ 0 - 27
node_modules.bak/webpack/lib/EvalDevToolModulePlugin.js

@@ -1,27 +0,0 @@
-/*
-	MIT License http://www.opensource.org/licenses/mit-license.php
-	Author Tobias Koppers @sokra
-*/
-"use strict";
-
-const EvalDevToolModuleTemplatePlugin = require("./EvalDevToolModuleTemplatePlugin");
-
-class EvalDevToolModulePlugin {
-	constructor(options) {
-		this.sourceUrlComment = options.sourceUrlComment;
-		this.moduleFilenameTemplate = options.moduleFilenameTemplate;
-		this.namespace = options.namespace;
-	}
-
-	apply(compiler) {
-		compiler.hooks.compilation.tap("EvalDevToolModulePlugin", compilation => {
-			new EvalDevToolModuleTemplatePlugin({
-				sourceUrlComment: this.sourceUrlComment,
-				moduleFilenameTemplate: this.moduleFilenameTemplate,
-				namespace: this.namespace
-			}).apply(compilation.moduleTemplates.javascript);
-		});
-	}
-}
-
-module.exports = EvalDevToolModulePlugin;

+ 0 - 61
node_modules.bak/webpack/lib/EvalDevToolModuleTemplatePlugin.js

@@ -1,61 +0,0 @@
-/*
-	MIT License http://www.opensource.org/licenses/mit-license.php
-	Author Tobias Koppers @sokra
-*/
-"use strict";
-
-const { RawSource } = require("webpack-sources");
-const ModuleFilenameHelpers = require("./ModuleFilenameHelpers");
-
-const cache = new WeakMap();
-
-class EvalDevToolModuleTemplatePlugin {
-	constructor(options) {
-		this.sourceUrlComment = options.sourceUrlComment || "\n//# sourceURL=[url]";
-		this.moduleFilenameTemplate =
-			options.moduleFilenameTemplate ||
-			"webpack://[namespace]/[resourcePath]?[loaders]";
-		this.namespace = options.namespace || "";
-	}
-
-	apply(moduleTemplate) {
-		moduleTemplate.hooks.module.tap(
-			"EvalDevToolModuleTemplatePlugin",
-			(source, module) => {
-				const cacheEntry = cache.get(source);
-				if (cacheEntry !== undefined) return cacheEntry;
-				const content = source.source();
-				const str = ModuleFilenameHelpers.createFilename(
-					module,
-					{
-						moduleFilenameTemplate: this.moduleFilenameTemplate,
-						namespace: this.namespace
-					},
-					moduleTemplate.runtimeTemplate.requestShortener
-				);
-				const footer =
-					"\n" +
-					this.sourceUrlComment.replace(
-						/\[url\]/g,
-						encodeURI(str)
-							.replace(/%2F/g, "/")
-							.replace(/%20/g, "_")
-							.replace(/%5E/g, "^")
-							.replace(/%5C/g, "\\")
-							.replace(/^\//, "")
-					);
-				const result = new RawSource(
-					`eval(${JSON.stringify(content + footer)});`
-				);
-				cache.set(source, result);
-				return result;
-			}
-		);
-		moduleTemplate.hooks.hash.tap("EvalDevToolModuleTemplatePlugin", hash => {
-			hash.update("EvalDevToolModuleTemplatePlugin");
-			hash.update("2");
-		});
-	}
-}
-
-module.exports = EvalDevToolModuleTemplatePlugin;

+ 0 - 120
node_modules.bak/webpack/lib/EvalSourceMapDevToolModuleTemplatePlugin.js

@@ -1,120 +0,0 @@
-/*
-	MIT License http://www.opensource.org/licenses/mit-license.php
-	Author Tobias Koppers @sokra
-*/
-"use strict";
-
-const { RawSource } = require("webpack-sources");
-const ModuleFilenameHelpers = require("./ModuleFilenameHelpers");
-const { absolutify } = require("./util/identifier");
-
-const cache = new WeakMap();
-
-class EvalSourceMapDevToolModuleTemplatePlugin {
-	constructor(compilation, options) {
-		this.compilation = compilation;
-		this.sourceMapComment =
-			options.append || "//# sourceURL=[module]\n//# sourceMappingURL=[url]";
-		this.moduleFilenameTemplate =
-			options.moduleFilenameTemplate ||
-			"webpack://[namespace]/[resource-path]?[hash]";
-		this.namespace = options.namespace || "";
-		this.options = options;
-	}
-
-	apply(moduleTemplate) {
-		const self = this;
-		const options = this.options;
-		const matchModule = ModuleFilenameHelpers.matchObject.bind(
-			ModuleFilenameHelpers,
-			options
-		);
-		moduleTemplate.hooks.module.tap(
-			"EvalSourceMapDevToolModuleTemplatePlugin",
-			(source, module) => {
-				const cachedSource = cache.get(source);
-				if (cachedSource !== undefined) {
-					return cachedSource;
-				}
-
-				if (!matchModule(module.resource)) {
-					return source;
-				}
-
-				/** @type {{ [key: string]: TODO; }} */
-				let sourceMap;
-				let content;
-				if (source.sourceAndMap) {
-					const sourceAndMap = source.sourceAndMap(options);
-					sourceMap = sourceAndMap.map;
-					content = sourceAndMap.source;
-				} else {
-					sourceMap = source.map(options);
-					content = source.source();
-				}
-				if (!sourceMap) {
-					return source;
-				}
-
-				// Clone (flat) the sourcemap to ensure that the mutations below do not persist.
-				sourceMap = Object.keys(sourceMap).reduce((obj, key) => {
-					obj[key] = sourceMap[key];
-					return obj;
-				}, {});
-				const context = this.compilation.compiler.options.context;
-				const modules = sourceMap.sources.map(source => {
-					if (source.startsWith("webpack://")) {
-						source = absolutify(context, source.slice(10));
-					}
-					const module = self.compilation.findModule(source);
-					return module || source;
-				});
-				let moduleFilenames = modules.map(module => {
-					return ModuleFilenameHelpers.createFilename(
-						module,
-						{
-							moduleFilenameTemplate: self.moduleFilenameTemplate,
-							namespace: self.namespace
-						},
-						moduleTemplate.runtimeTemplate.requestShortener
-					);
-				});
-				moduleFilenames = ModuleFilenameHelpers.replaceDuplicates(
-					moduleFilenames,
-					(filename, i, n) => {
-						for (let j = 0; j < n; j++) filename += "*";
-						return filename;
-					}
-				);
-				sourceMap.sources = moduleFilenames;
-				sourceMap.sourceRoot = options.sourceRoot || "";
-				sourceMap.file = `${module.id}.js`;
-
-				const footer =
-					self.sourceMapComment.replace(
-						/\[url\]/g,
-						`data:application/json;charset=utf-8;base64,${Buffer.from(
-							JSON.stringify(sourceMap),
-							"utf8"
-						).toString("base64")}`
-					) + `\n//# sourceURL=webpack-internal:///${module.id}\n`; // workaround for chrome bug
-
-				const evalSource = new RawSource(
-					`eval(${JSON.stringify(content + footer)});`
-				);
-
-				cache.set(source, evalSource);
-
-				return evalSource;
-			}
-		);
-		moduleTemplate.hooks.hash.tap(
-			"EvalSourceMapDevToolModuleTemplatePlugin",
-			hash => {
-				hash.update("eval-source-map");
-				hash.update("2");
-			}
-		);
-	}
-}
-module.exports = EvalSourceMapDevToolModuleTemplatePlugin;

+ 0 - 41
node_modules.bak/webpack/lib/EvalSourceMapDevToolPlugin.js

@@ -1,41 +0,0 @@
-/*
-	MIT License http://www.opensource.org/licenses/mit-license.php
-	Author Tobias Koppers @sokra
-*/
-"use strict";
-
-const EvalSourceMapDevToolModuleTemplatePlugin = require("./EvalSourceMapDevToolModuleTemplatePlugin");
-const SourceMapDevToolModuleOptionsPlugin = require("./SourceMapDevToolModuleOptionsPlugin");
-
-class EvalSourceMapDevToolPlugin {
-	constructor(options) {
-		if (arguments.length > 1) {
-			throw new Error(
-				"EvalSourceMapDevToolPlugin only takes one argument (pass an options object)"
-			);
-		}
-		if (typeof options === "string") {
-			options = {
-				append: options
-			};
-		}
-		if (!options) options = {};
-		this.options = options;
-	}
-
-	apply(compiler) {
-		const options = this.options;
-		compiler.hooks.compilation.tap(
-			"EvalSourceMapDevToolPlugin",
-			compilation => {
-				new SourceMapDevToolModuleOptionsPlugin(options).apply(compilation);
-				new EvalSourceMapDevToolModuleTemplatePlugin(
-					compilation,
-					options
-				).apply(compilation.moduleTemplates.javascript);
-			}
-		);
-	}
-}
-
-module.exports = EvalSourceMapDevToolPlugin;

+ 0 - 53
node_modules.bak/webpack/lib/ExportPropertyMainTemplatePlugin.js

@@ -1,53 +0,0 @@
-/*
-	MIT License http://www.opensource.org/licenses/mit-license.php
-	Author Tobias Koppers @sokra
-*/
-"use strict";
-
-const { ConcatSource } = require("webpack-sources");
-
-/** @typedef {import("./Compilation")} Compilation */
-
-/**
- * @param {string[]} accessor the accessor to convert to path
- * @returns {string} the path
- */
-const accessorToObjectAccess = accessor => {
-	return accessor.map(a => `[${JSON.stringify(a)}]`).join("");
-};
-
-class ExportPropertyMainTemplatePlugin {
-	/**
-	 * @param {string|string[]} property the name of the property to export
-	 */
-	constructor(property) {
-		this.property = property;
-	}
-
-	/**
-	 * @param {Compilation} compilation the compilation instance
-	 * @returns {void}
-	 */
-	apply(compilation) {
-		const { mainTemplate, chunkTemplate } = compilation;
-
-		const onRenderWithEntry = (source, chunk, hash) => {
-			const postfix = `${accessorToObjectAccess([].concat(this.property))}`;
-			return new ConcatSource(source, postfix);
-		};
-
-		for (const template of [mainTemplate, chunkTemplate]) {
-			template.hooks.renderWithEntry.tap(
-				"ExportPropertyMainTemplatePlugin",
-				onRenderWithEntry
-			);
-		}
-
-		mainTemplate.hooks.hash.tap("ExportPropertyMainTemplatePlugin", hash => {
-			hash.update("export property");
-			hash.update(`${this.property}`);
-		});
-	}
-}
-
-module.exports = ExportPropertyMainTemplatePlugin;

+ 0 - 88
node_modules.bak/webpack/lib/ExtendedAPIPlugin.js

@@ -1,88 +0,0 @@
-/*
-	MIT License http://www.opensource.org/licenses/mit-license.php
-	Author Tobias Koppers @sokra
-*/
-"use strict";
-
-const Template = require("./Template");
-const ConstDependency = require("./dependencies/ConstDependency");
-const ParserHelpers = require("./ParserHelpers");
-const NullFactory = require("./NullFactory");
-
-const REPLACEMENTS = {
-	// eslint-disable-next-line camelcase
-	__webpack_hash__: "__webpack_require__.h",
-	// eslint-disable-next-line camelcase
-	__webpack_chunkname__: "__webpack_require__.cn"
-};
-const REPLACEMENT_TYPES = {
-	// eslint-disable-next-line camelcase
-	__webpack_hash__: "string",
-	// eslint-disable-next-line camelcase
-	__webpack_chunkname__: "string"
-};
-
-class ExtendedAPIPlugin {
-	apply(compiler) {
-		compiler.hooks.compilation.tap(
-			"ExtendedAPIPlugin",
-			(compilation, { normalModuleFactory }) => {
-				compilation.dependencyFactories.set(ConstDependency, new NullFactory());
-				compilation.dependencyTemplates.set(
-					ConstDependency,
-					new ConstDependency.Template()
-				);
-
-				const mainTemplate = compilation.mainTemplate;
-				mainTemplate.hooks.requireExtensions.tap(
-					"ExtendedAPIPlugin",
-					(source, chunk, hash) => {
-						const buf = [source];
-						buf.push("");
-						buf.push("// __webpack_hash__");
-						buf.push(`${mainTemplate.requireFn}.h = ${JSON.stringify(hash)};`);
-						buf.push("");
-						buf.push("// __webpack_chunkname__");
-						buf.push(
-							`${mainTemplate.requireFn}.cn = ${JSON.stringify(chunk.name)};`
-						);
-						return Template.asString(buf);
-					}
-				);
-				mainTemplate.hooks.globalHash.tap("ExtendedAPIPlugin", () => true);
-
-				const handler = (parser, parserOptions) => {
-					Object.keys(REPLACEMENTS).forEach(key => {
-						parser.hooks.expression
-							.for(key)
-							.tap(
-								"ExtendedAPIPlugin",
-								ParserHelpers.toConstantDependencyWithWebpackRequire(
-									parser,
-									REPLACEMENTS[key]
-								)
-							);
-						parser.hooks.evaluateTypeof
-							.for(key)
-							.tap(
-								"ExtendedAPIPlugin",
-								ParserHelpers.evaluateToString(REPLACEMENT_TYPES[key])
-							);
-					});
-				};
-
-				normalModuleFactory.hooks.parser
-					.for("javascript/auto")
-					.tap("ExtendedAPIPlugin", handler);
-				normalModuleFactory.hooks.parser
-					.for("javascript/dynamic")
-					.tap("ExtendedAPIPlugin", handler);
-				normalModuleFactory.hooks.parser
-					.for("javascript/esm")
-					.tap("ExtendedAPIPlugin", handler);
-			}
-		);
-	}
-}
-
-module.exports = ExtendedAPIPlugin;

+ 0 - 179
node_modules.bak/webpack/lib/ExternalModule.js

@@ -1,179 +0,0 @@
-/*
-	MIT License http://www.opensource.org/licenses/mit-license.php
-	Author Tobias Koppers @sokra
-*/
-"use strict";
-
-const { OriginalSource, RawSource } = require("webpack-sources");
-const Module = require("./Module");
-const WebpackMissingModule = require("./dependencies/WebpackMissingModule");
-const Template = require("./Template");
-
-/** @typedef {import("./util/createHash").Hash} Hash */
-
-class ExternalModule extends Module {
-	constructor(request, type, userRequest) {
-		super("javascript/dynamic", null);
-
-		// Info from Factory
-		this.request = request;
-		this.externalType = type;
-		this.userRequest = userRequest;
-		this.external = true;
-	}
-
-	libIdent() {
-		return this.userRequest;
-	}
-
-	chunkCondition(chunk) {
-		return chunk.hasEntryModule();
-	}
-
-	identifier() {
-		return "external " + JSON.stringify(this.request);
-	}
-
-	readableIdentifier() {
-		return "external " + JSON.stringify(this.request);
-	}
-
-	needRebuild() {
-		return false;
-	}
-
-	build(options, compilation, resolver, fs, callback) {
-		this.built = true;
-		this.buildMeta = {};
-		this.buildInfo = {};
-		callback();
-	}
-
-	getSourceForGlobalVariableExternal(variableName, type) {
-		if (!Array.isArray(variableName)) {
-			// make it an array as the look up works the same basically
-			variableName = [variableName];
-		}
-
-		// needed for e.g. window["some"]["thing"]
-		const objectLookup = variableName
-			.map(r => `[${JSON.stringify(r)}]`)
-			.join("");
-		return `(function() { module.exports = ${type}${objectLookup}; }());`;
-	}
-
-	getSourceForCommonJsExternal(moduleAndSpecifiers) {
-		if (!Array.isArray(moduleAndSpecifiers)) {
-			return `module.exports = require(${JSON.stringify(
-				moduleAndSpecifiers
-			)});`;
-		}
-
-		const moduleName = moduleAndSpecifiers[0];
-		const objectLookup = moduleAndSpecifiers
-			.slice(1)
-			.map(r => `[${JSON.stringify(r)}]`)
-			.join("");
-		return `module.exports = require(${JSON.stringify(
-			moduleName
-		)})${objectLookup};`;
-	}
-
-	checkExternalVariable(variableToCheck, request) {
-		return `if(typeof ${variableToCheck} === 'undefined') {${WebpackMissingModule.moduleCode(
-			request
-		)}}\n`;
-	}
-
-	getSourceForAmdOrUmdExternal(id, optional, request) {
-		const externalVariable = `__WEBPACK_EXTERNAL_MODULE_${Template.toIdentifier(
-			`${id}`
-		)}__`;
-		const missingModuleError = optional
-			? this.checkExternalVariable(externalVariable, request)
-			: "";
-		return `${missingModuleError}module.exports = ${externalVariable};`;
-	}
-
-	getSourceForDefaultCase(optional, request) {
-		if (!Array.isArray(request)) {
-			// make it an array as the look up works the same basically
-			request = [request];
-		}
-
-		const variableName = request[0];
-		const missingModuleError = optional
-			? this.checkExternalVariable(variableName, request.join("."))
-			: "";
-		const objectLookup = request
-			.slice(1)
-			.map(r => `[${JSON.stringify(r)}]`)
-			.join("");
-		return `${missingModuleError}module.exports = ${variableName}${objectLookup};`;
-	}
-
-	getSourceString(runtime) {
-		const request =
-			typeof this.request === "object" && !Array.isArray(this.request)
-				? this.request[this.externalType]
-				: this.request;
-		switch (this.externalType) {
-			case "this":
-			case "window":
-			case "self":
-				return this.getSourceForGlobalVariableExternal(
-					request,
-					this.externalType
-				);
-			case "global":
-				return this.getSourceForGlobalVariableExternal(
-					request,
-					runtime.outputOptions.globalObject
-				);
-			case "commonjs":
-			case "commonjs2":
-				return this.getSourceForCommonJsExternal(request);
-			case "amd":
-			case "amd-require":
-			case "umd":
-			case "umd2":
-			case "system":
-				return this.getSourceForAmdOrUmdExternal(
-					this.id,
-					this.optional,
-					request
-				);
-			default:
-				return this.getSourceForDefaultCase(this.optional, request);
-		}
-	}
-
-	getSource(sourceString) {
-		if (this.useSourceMap) {
-			return new OriginalSource(sourceString, this.identifier());
-		}
-
-		return new RawSource(sourceString);
-	}
-
-	source(dependencyTemplates, runtime) {
-		return this.getSource(this.getSourceString(runtime));
-	}
-
-	size() {
-		return 42;
-	}
-
-	/**
-	 * @param {Hash} hash the hash used to track dependencies
-	 * @returns {void}
-	 */
-	updateHash(hash) {
-		hash.update(this.externalType);
-		hash.update(JSON.stringify(this.request));
-		hash.update(JSON.stringify(Boolean(this.optional)));
-		super.updateHash(hash);
-	}
-}
-
-module.exports = ExternalModule;

+ 0 - 110
node_modules.bak/webpack/lib/ExternalModuleFactoryPlugin.js

@@ -1,110 +0,0 @@
-/*
-	MIT License http://www.opensource.org/licenses/mit-license.php
-	Author Tobias Koppers @sokra
-*/
-"use strict";
-
-const ExternalModule = require("./ExternalModule");
-
-class ExternalModuleFactoryPlugin {
-	constructor(type, externals) {
-		this.type = type;
-		this.externals = externals;
-	}
-
-	apply(normalModuleFactory) {
-		const globalType = this.type;
-		normalModuleFactory.hooks.factory.tap(
-			"ExternalModuleFactoryPlugin",
-			factory => (data, callback) => {
-				const context = data.context;
-				const dependency = data.dependencies[0];
-
-				const handleExternal = (value, type, callback) => {
-					if (typeof type === "function") {
-						callback = type;
-						type = undefined;
-					}
-					if (value === false) return factory(data, callback);
-					if (value === true) value = dependency.request;
-					if (type === undefined && /^[a-z0-9]+ /.test(value)) {
-						const idx = value.indexOf(" ");
-						type = value.substr(0, idx);
-						value = value.substr(idx + 1);
-					}
-					callback(
-						null,
-						new ExternalModule(value, type || globalType, dependency.request)
-					);
-					return true;
-				};
-
-				const handleExternals = (externals, callback) => {
-					if (typeof externals === "string") {
-						if (externals === dependency.request) {
-							return handleExternal(dependency.request, callback);
-						}
-					} else if (Array.isArray(externals)) {
-						let i = 0;
-						const next = () => {
-							let asyncFlag;
-							const handleExternalsAndCallback = (err, module) => {
-								if (err) return callback(err);
-								if (!module) {
-									if (asyncFlag) {
-										asyncFlag = false;
-										return;
-									}
-									return next();
-								}
-								callback(null, module);
-							};
-
-							do {
-								asyncFlag = true;
-								if (i >= externals.length) return callback();
-								handleExternals(externals[i++], handleExternalsAndCallback);
-							} while (!asyncFlag);
-							asyncFlag = false;
-						};
-
-						next();
-						return;
-					} else if (externals instanceof RegExp) {
-						if (externals.test(dependency.request)) {
-							return handleExternal(dependency.request, callback);
-						}
-					} else if (typeof externals === "function") {
-						externals.call(
-							null,
-							context,
-							dependency.request,
-							(err, value, type) => {
-								if (err) return callback(err);
-								if (value !== undefined) {
-									handleExternal(value, type, callback);
-								} else {
-									callback();
-								}
-							}
-						);
-						return;
-					} else if (
-						typeof externals === "object" &&
-						Object.prototype.hasOwnProperty.call(externals, dependency.request)
-					) {
-						return handleExternal(externals[dependency.request], callback);
-					}
-					callback();
-				};
-
-				handleExternals(this.externals, (err, module) => {
-					if (err) return callback(err);
-					if (!module) return handleExternal(false, callback);
-					return callback(null, module);
-				});
-			}
-		);
-	}
-}
-module.exports = ExternalModuleFactoryPlugin;

+ 0 - 23
node_modules.bak/webpack/lib/ExternalsPlugin.js

@@ -1,23 +0,0 @@
-/*
-	MIT License http://www.opensource.org/licenses/mit-license.php
-	Author Tobias Koppers @sokra
-*/
-"use strict";
-
-const ExternalModuleFactoryPlugin = require("./ExternalModuleFactoryPlugin");
-
-class ExternalsPlugin {
-	constructor(type, externals) {
-		this.type = type;
-		this.externals = externals;
-	}
-	apply(compiler) {
-		compiler.hooks.compile.tap("ExternalsPlugin", ({ normalModuleFactory }) => {
-			new ExternalModuleFactoryPlugin(this.type, this.externals).apply(
-				normalModuleFactory
-			);
-		});
-	}
-}
-
-module.exports = ExternalsPlugin;

+ 0 - 38
node_modules.bak/webpack/lib/FlagAllModulesAsUsedPlugin.js

@@ -1,38 +0,0 @@
-/*
-	MIT License http://www.opensource.org/licenses/mit-license.php
-	Author Tobias Koppers @sokra
-*/
-
-"use strict";
-
-/** @typedef {import("./Compiler")} Compiler */
-
-class FlagAllModulesAsUsedPlugin {
-	constructor(explanation) {
-		this.explanation = explanation;
-	}
-
-	/**
-	 * @param {Compiler} compiler webpack compiler
-	 * @returns {void}
-	 */
-	apply(compiler) {
-		compiler.hooks.compilation.tap(
-			"FlagAllModulesAsUsedPlugin",
-			compilation => {
-				compilation.hooks.optimizeDependencies.tap(
-					"FlagAllModulesAsUsedPlugin",
-					modules => {
-						for (const module of modules) {
-							module.used = true;
-							module.usedExports = true;
-							module.addReason(null, null, this.explanation);
-						}
-					}
-				);
-			}
-		);
-	}
-}
-
-module.exports = FlagAllModulesAsUsedPlugin;

+ 0 - 0
node_modules.bak/webpack/lib/FlagDependencyExportsPlugin.js


Kaikkia tiedostoja ei voida näyttää, sillä liian monta tiedostoa muuttui tässä diffissä