BE LIABLE FOR ANY
+ DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
+ (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
+ ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
+ THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/**
+ * Escope (escope ) is an ECMAScript
+ * scope analyzer extracted from the esmangle project .
+ *
+ * escope finds lexical scopes in a source program, i.e. areas of that
+ * program where different occurrences of the same identifier refer to the same
+ * variable. With each scope the contained variables are collected, and each
+ * identifier reference in code is linked to its corresponding variable (if
+ * possible).
+ *
+ * escope works on a syntax tree of the parsed source code which has
+ * to adhere to the
+ * Mozilla Parser API . E.g. esprima is a parser
+ * that produces such syntax trees.
+ *
+ * The main interface is the {@link analyze} function.
+ * @module escope
+ */
+
+/*jslint bitwise:true */
+
+exports.analyze = analyze;
+
+var _assert = require('assert');
+
+var _assert2 = _interopRequireDefault(_assert);
+
+var _scopeManager = require('./scope-manager');
+
+var _scopeManager2 = _interopRequireDefault(_scopeManager);
+
+var _referencer = require('./referencer');
+
+var _referencer2 = _interopRequireDefault(_referencer);
+
+var _reference = require('./reference');
+
+var _reference2 = _interopRequireDefault(_reference);
+
+var _variable = require('./variable');
+
+var _variable2 = _interopRequireDefault(_variable);
+
+var _scope = require('./scope');
+
+var _scope2 = _interopRequireDefault(_scope);
+
+var _package = require('../package.json');
+
+function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
+
+function defaultOptions() {
+ return {
+ optimistic: false,
+ directive: false,
+ nodejsScope: false,
+ impliedStrict: false,
+ sourceType: 'script', // one of ['script', 'module']
+ ecmaVersion: 5,
+ childVisitorKeys: null,
+ fallback: 'iteration'
+ };
+}
+
+function updateDeeply(target, override) {
+ var key, val;
+
+ function isHashObject(target) {
+ return (typeof target === 'undefined' ? 'undefined' : _typeof(target)) === 'object' && target instanceof Object && !(target instanceof Array) && !(target instanceof RegExp);
+ }
+
+ for (key in override) {
+ if (override.hasOwnProperty(key)) {
+ val = override[key];
+ if (isHashObject(val)) {
+ if (isHashObject(target[key])) {
+ updateDeeply(target[key], val);
+ } else {
+ target[key] = updateDeeply({}, val);
+ }
+ } else {
+ target[key] = val;
+ }
+ }
+ }
+ return target;
+}
+
+/**
+ * Main interface function. Takes an Esprima syntax tree and returns the
+ * analyzed scopes.
+ * @function analyze
+ * @param {esprima.Tree} tree
+ * @param {Object} providedOptions - Options that tailor the scope analysis
+ * @param {boolean} [providedOptions.optimistic=false] - the optimistic flag
+ * @param {boolean} [providedOptions.directive=false]- the directive flag
+ * @param {boolean} [providedOptions.ignoreEval=false]- whether to check 'eval()' calls
+ * @param {boolean} [providedOptions.nodejsScope=false]- whether the whole
+ * script is executed under node.js environment. When enabled, escope adds
+ * a function scope immediately following the global scope.
+ * @param {boolean} [providedOptions.impliedStrict=false]- implied strict mode
+ * (if ecmaVersion >= 5).
+ * @param {string} [providedOptions.sourceType='script']- the source type of the script. one of 'script' and 'module'
+ * @param {number} [providedOptions.ecmaVersion=5]- which ECMAScript version is considered
+ * @param {Object} [providedOptions.childVisitorKeys=null] - Additional known visitor keys. See [esrecurse](https://github.com/estools/esrecurse)'s the `childVisitorKeys` option.
+ * @param {string} [providedOptions.fallback='iteration'] - A kind of the fallback in order to encounter with unknown node. See [esrecurse](https://github.com/estools/esrecurse)'s the `fallback` option.
+ * @return {ScopeManager}
+ */
+function analyze(tree, providedOptions) {
+ var scopeManager, referencer, options;
+
+ options = updateDeeply(defaultOptions(), providedOptions);
+
+ scopeManager = new _scopeManager2.default(options);
+
+ referencer = new _referencer2.default(options, scopeManager);
+ referencer.visit(tree);
+
+ (0, _assert2.default)(scopeManager.__currentScope === null, 'currentScope should be null.');
+
+ return scopeManager;
+}
+
+exports.
+/** @name module:escope.version */
+version = _package.version;
+exports.
+/** @name module:escope.Reference */
+Reference = _reference2.default;
+exports.
+/** @name module:escope.Variable */
+Variable = _variable2.default;
+exports.
+/** @name module:escope.Scope */
+Scope = _scope2.default;
+exports.
+/** @name module:escope.ScopeManager */
+ScopeManager = _scopeManager2.default;
+
+/* vim: set sw=4 ts=4 et tw=80 : */
+//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGV4LmpzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7OztRQW9IZ0I7O0FBbEVoQjs7OztBQUVBOzs7O0FBQ0E7Ozs7QUFDQTs7OztBQUNBOzs7O0FBQ0E7Ozs7QUFDQTs7OztBQUVBLFNBQVMsY0FBVCxHQUEwQjtBQUN0QixXQUFPO0FBQ0gsb0JBQVksS0FBWjtBQUNBLG1CQUFXLEtBQVg7QUFDQSxxQkFBYSxLQUFiO0FBQ0EsdUJBQWUsS0FBZjtBQUNBLG9CQUFZLFFBQVo7QUFDQSxxQkFBYSxDQUFiO0FBQ0EsMEJBQWtCLElBQWxCO0FBQ0Esa0JBQVUsV0FBVjtLQVJKLENBRHNCO0NBQTFCOztBQWFBLFNBQVMsWUFBVCxDQUFzQixNQUF0QixFQUE4QixRQUE5QixFQUF3QztBQUNwQyxRQUFJLEdBQUosRUFBUyxHQUFULENBRG9DOztBQUdwQyxhQUFTLFlBQVQsQ0FBc0IsTUFBdEIsRUFBOEI7QUFDMUIsZUFBTyxRQUFPLHVEQUFQLEtBQWtCLFFBQWxCLElBQThCLGtCQUFrQixNQUFsQixJQUE0QixFQUFFLGtCQUFrQixLQUFsQixDQUFGLEl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VyLl9fY3VycmVudFNjb3BlID09PSBudWxsLCAnY3VycmVudFNjb3BlIHNob3VsZCBiZSBudWxsLicpO1xuXG4gICAgcmV0dXJuIHNjb3BlTWFuYWdlcjtcbn1cblxuZXhwb3J0IHtcbiAgICAvKiogQG5hbWUgbW9kdWxlOmVzY29wZS52ZXJzaW9uICovXG4gICAgdmVyc2lvbixcbiAgICAvKiogQG5hbWUgbW9kdWxlOmVzY29wZS5SZWZlcmVuY2UgKi9cbiAgICBSZWZlcmVuY2UsXG4gICAgLyoqIEBuYW1lIG1vZHVsZTplc2NvcGUuVmFyaWFibGUgKi9cbiAgICBWYXJpYWJsZSxcbiAgICAvKiogQG5hbWUgbW9kdWxlOmVzY29wZS5TY29wZSAqL1xuICAgIFNjb3BlLFxuICAgIC8qKiBAbmFtZSBtb2R1bGU6ZXNjb3BlLlNjb3BlTWFuYWdlciAqL1xuICAgIFNjb3BlTWFuYWdlclxufTtcblxuXG4vKiB2aW06IHNldCBzdz00IHRzPTQgZXQgdHc9ODAgOiAqL1xuIl0sInNvdXJjZVJvb3QiOiIvc291cmNlLyJ9
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/escope/lib/pattern-visitor.js b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/escope/lib/pattern-visitor.js
new file mode 100644
index 0000000..e67f3e0
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/escope/lib/pattern-visitor.js
@@ -0,0 +1,176 @@
+'use strict';
+
+Object.defineProperty(exports, "__esModule", {
+ value: true
+});
+
+var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();
+
+var _estraverse = require('estraverse');
+
+var _esrecurse = require('esrecurse');
+
+var _esrecurse2 = _interopRequireDefault(_esrecurse);
+
+function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
+
+function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
+
+function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; }
+
+function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } /*
+ Copyright (C) 2015 Yusuke Suzuki
+
+ Redistribution and use in source and binary forms, with or without
+ modification, are permitted provided that the following conditions are met:
+
+ * Redistributions of source code must retain the above copyright
+ notice, this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright
+ notice, this list of conditions and the following disclaimer in the
+ documentation and/or other materials provided with the distribution.
+
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ ARE DISCLAIMED. IN NO EVENT SHALL BE LIABLE FOR ANY
+ DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
+ (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
+ ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
+ THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+function getLast(xs) {
+ return xs[xs.length - 1] || null;
+}
+
+var PatternVisitor = function (_esrecurse$Visitor) {
+ _inherits(PatternVisitor, _esrecurse$Visitor);
+
+ _createClass(PatternVisitor, null, [{
+ key: 'isPattern',
+ value: function isPattern(node) {
+ var nodeType = node.type;
+ return nodeType === _estraverse.Syntax.Identifier || nodeType === _estraverse.Syntax.ObjectPattern || nodeType === _estraverse.Syntax.ArrayPattern || nodeType === _estraverse.Syntax.SpreadElement || nodeType === _estraverse.Syntax.RestElement || nodeType === _estraverse.Syntax.AssignmentPattern;
+ }
+ }]);
+
+ function PatternVisitor(options, rootPattern, callback) {
+ _classCallCheck(this, PatternVisitor);
+
+ var _this = _possibleConstructorReturn(this, Object.getPrototypeOf(PatternVisitor).call(this, null, options));
+
+ _this.rootPattern = rootPattern;
+ _this.callback = callback;
+ _this.assignments = [];
+ _this.rightHandNodes = [];
+ _this.restElements = [];
+ return _this;
+ }
+
+ _createClass(PatternVisitor, [{
+ key: 'Identifier',
+ value: function Identifier(pattern) {
+ var lastRestElement = getLast(this.restElements);
+ this.callback(pattern, {
+ topLevel: pattern === this.rootPattern,
+ rest: lastRestElement != null && lastRestElement.argument === pattern,
+ assignments: this.assignments
+ });
+ }
+ }, {
+ key: 'Property',
+ value: function Property(property) {
+ // Computed property's key is a right hand node.
+ if (property.computed) {
+ this.rightHandNodes.push(property.key);
+ }
+
+ // If it's shorthand, its key is same as its value.
+ // If it's shorthand and has its default value, its key is same as its value.left (the value is AssignmentPattern).
+ // If it's not shorthand, the name of new variable is its value's.
+ this.visit(property.value);
+ }
+ }, {
+ key: 'ArrayPattern',
+ value: function ArrayPattern(pattern) {
+ var i, iz, element;
+ for (i = 0, iz = pattern.elements.length; i < iz; ++i) {
+ element = pattern.elements[i];
+ this.visit(element);
+ }
+ }
+ }, {
+ key: 'AssignmentPattern',
+ value: function AssignmentPattern(pattern) {
+ this.assignments.push(pattern);
+ this.visit(pattern.left);
+ this.rightHandNodes.push(pattern.right);
+ this.assignments.pop();
+ }
+ }, {
+ key: 'RestElement',
+ value: function RestElement(pattern) {
+ this.restElements.push(pattern);
+ this.visit(pattern.argument);
+ this.restElements.pop();
+ }
+ }, {
+ key: 'MemberExpression',
+ value: function MemberExpression(node) {
+ // Computed property's key is a right hand node.
+ if (node.computed) {
+ this.rightHandNodes.push(node.property);
+ }
+ // the object is only read, write to its property.
+ this.rightHandNodes.push(node.object);
+ }
+
+ //
+ // ForInStatement.left and AssignmentExpression.left are LeftHandSideExpression.
+ // By spec, LeftHandSideExpression is Pattern or MemberExpression.
+ // (see also: https://github.com/estree/estree/pull/20#issuecomment-74584758)
+ // But espree 2.0 and esprima 2.0 parse to ArrayExpression, ObjectExpression, etc...
+ //
+
+ }, {
+ key: 'SpreadElement',
+ value: function SpreadElement(node) {
+ this.visit(node.argument);
+ }
+ }, {
+ key: 'ArrayExpression',
+ value: function ArrayExpression(node) {
+ node.elements.forEach(this.visit, this);
+ }
+ }, {
+ key: 'AssignmentExpression',
+ value: function AssignmentExpression(node) {
+ this.assignments.push(node);
+ this.visit(node.left);
+ this.rightHandNodes.push(node.right);
+ this.assignments.pop();
+ }
+ }, {
+ key: 'CallExpression',
+ value: function CallExpression(node) {
+ var _this2 = this;
+
+ // arguments are right hand nodes.
+ node.arguments.forEach(function (a) {
+ _this2.rightHandNodes.push(a);
+ });
+ this.visit(node.callee);
+ }
+ }]);
+
+ return PatternVisitor;
+}(_esrecurse2.default.Visitor);
+
+/* vim: set sw=4 ts=4 et tw=80 : */
+
+
+exports.default = PatternVisitor;
+//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInBhdHRlcm4tdmlzaXRvci5qcyJdLCJuY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gICAgIHJldHVybiAoXG4gICAgICAgICAgICBub2RlVHlwZSA9PT0gU3ludGF4LklkZW50aWZpZXIgfHxcbiAgICAgICAgICAgIG5vZGVUeXBlID09PSBTeW50YXguT2JqZWN0UGF0dGVybiB8fFxuICAgICAgICAgICAgbm9kZVR5cGUgPT09IFN5bnRheC5BcnJheVBhdHRlcm4gfHxcbiAgICAgICAgICAgIG5vZGVUeXBlID09PSBTeW50YXguU3ByZWFkRWxlbWVudCB8fFxuICAgICAgICAgICAgbm9kZVR5cGUgPT09IFN5bnRheC5SZXN0RWxlbWVudCB8fFxuICAgICAgICAgICAgbm9kZVR5cGUgPT09IFN5bnRheC5Bc3NpZ25tZW50UGF0dGVyblxuICAgICAgICApO1xuICAgIH1cblxuICAgIGNvbnN0cnVjdG9yKG9wdGlvbnMsIHJvb3RQYXR0ZXJuLCBjYWxsYmFjaykge1xuICAgICAgICBzdXBlcihudWxsLCBvcHRpb25zKTtcbiAgICAgICAgdGhpcy5yb290UGF0dGVybiA9IHJvb3RQYXR0ZXJuO1xuICAgICAgICB0aGlzLmNhbGxiYWNrID0gY2FsbGJhY2s7XG4gICAgICAgIHRoaXMuYXNzaWdubWVudHMgPSBbXTtcbiAgICAgICAgdGhpcy5yaWdodEhhbmROb2RlcyA9IFtdO1xuICAgICAgICB0aGlzLnJlc3RFbGVtZW50cyA9IFtdO1xuICAgIH1cblxuICAgIElkZW50aWZpZXIocGF0dGVybikge1xuICAgICAgICBjb25zdCBsYXN0UmVzdEVsZW1lbnQgPSBnZXRMYXN0KHRoaXMucmVzdEVsZW1lbnRzKTtcbiAgICAgICAgdGhpcy5jYWxsYmFjayhwYXR0ZXJuLCB7XG4gICAgICAgICAgICB0b3BMZXZlbDogcGF0dGVybiA9PT0gdGhpcy5yb290UGF0dGVybixcbiAgICAgICAgICAgIHJlc3Q6IGxhc3RSZXN0RWxlbWVudCAhPSBudWxsICYmIGxhc3RSZXN0RWxlbWVudC5hcmd1bWVudCA9PT0gcGF0dGVybixc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lZS9lc3RyZWUvcHVsbC8yMCNpc3N1ZWNvbW1lbnQtNzQ1ODQ3NTgpXG4gICAgLy8gQnV0IGVzcHJlZSAyLjAgYW5kIGVzcHJpbWEgMi4wIHBhcnNlIHRvIEFycmF5RXhwcmVzc2lvbiwgT2JqZWN0RXhwcmVzc2lvbiwgZXRjLi4uXG4gICAgLy9cblxuICAgIFNwcmVhZEVsZW1lbnQobm9kZSkge1xuICAgICAgICB0aGlzLnZpc2l0KG5vZGUuYXJndW1lbnQpO1xuICAgIH1cblxuICAgIEFycmF5RXhwcmVzc2lvbihub2RlKSB7XG4gICAgICAgIG5vZGUuZWxlbWVudHMuZm9yRWFjaCh0aGlzLnZpc2l0LCB0aGlzKTtcbiAgICB9XG5cbiAgICBBc3NpZ25tZW50RXhwcmVzc2lvbihub2RlKSB7XG4gICAgICAgIHRoaXMuYXNzaWdubWVudHMucHVzaChub2RlKTtcbiAgICAgICAgdGhpcy52aXNpdChub2RlLmxlZnQpO1xuICAgICAgICB0aGlzLnJpZ2h0SGFuZE5vZGVzLnB1c2gobm9kZS5yaWdodCk7XG4gICAgICAgIHRoaXMuYXNzaWdubWVudHMucG9wKCk7XG4gICAgfVxuXG4gICAgQ2FsbEV4cHJlc3Npb24obm9kZSkge1xuICAgICAgICAvLyBhcmd1bWVudHMgYXJlIHJpZ2h0IGhhbmQgbm9kZXMuXG4gICAgICAgIG5vZGUuYXJndW1lbnRzLmZvckVhY2goYSA9PiB7IHRoaXMucmlnaHRIYW5kTm9kZXMucHVzaChhKTsgfSk7XG4gICAgICAgIHRoaXMudmlzaXQobm9kZS5jYWxsZWUpO1xuICAgIH1cbn1cblxuLyogdmltOiBzZXQgc3c9NCB0cz00IGV0IHR3PTgwIDogKi9cbiJdLCJzb3VyY2VSb290IjoiL3NvdXJjZS8ifQ==
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/escope/lib/reference.js b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/escope/lib/reference.js
new file mode 100644
index 0000000..590d356
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/escope/lib/reference.js
@@ -0,0 +1,193 @@
+"use strict";
+
+Object.defineProperty(exports, "__esModule", {
+ value: true
+});
+
+var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();
+
+function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
+
+/*
+ Copyright (C) 2015 Yusuke Suzuki
+
+ Redistribution and use in source and binary forms, with or without
+ modification, are permitted provided that the following conditions are met:
+
+ * Redistributions of source code must retain the above copyright
+ notice, this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright
+ notice, this list of conditions and the following disclaimer in the
+ documentation and/or other materials provided with the distribution.
+
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ ARE DISCLAIMED. IN NO EVENT SHALL BE LIABLE FOR ANY
+ DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
+ (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
+ ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
+ THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+*/
+
+var READ = 0x1;
+var WRITE = 0x2;
+var RW = READ | WRITE;
+
+/**
+ * A Reference represents a single occurrence of an identifier in code.
+ * @class Reference
+ */
+
+var Reference = function () {
+ function Reference(ident, scope, flag, writeExpr, maybeImplicitGlobal, partial, init) {
+ _classCallCheck(this, Reference);
+
+ /**
+ * Identifier syntax node.
+ * @member {esprima#Identifier} Reference#identifier
+ */
+ this.identifier = ident;
+ /**
+ * Reference to the enclosing Scope.
+ * @member {Scope} Reference#from
+ */
+ this.from = scope;
+ /**
+ * Whether the reference comes from a dynamic scope (such as 'eval',
+ * 'with', etc.), and may be trapped by dynamic scopes.
+ * @member {boolean} Reference#tainted
+ */
+ this.tainted = false;
+ /**
+ * The variable this reference is resolved with.
+ * @member {Variable} Reference#resolved
+ */
+ this.resolved = null;
+ /**
+ * The read-write mode of the reference. (Value is one of {@link
+ * Reference.READ}, {@link Reference.RW}, {@link Reference.WRITE}).
+ * @member {number} Reference#flag
+ * @private
+ */
+ this.flag = flag;
+ if (this.isWrite()) {
+ /**
+ * If reference is writeable, this is the tree being written to it.
+ * @member {esprima#Node} Reference#writeExpr
+ */
+ this.writeExpr = writeExpr;
+ /**
+ * Whether the Reference might refer to a partial value of writeExpr.
+ * @member {boolean} Reference#partial
+ */
+ this.partial = partial;
+ /**
+ * Whether the Reference is to write of initialization.
+ * @member {boolean} Reference#init
+ */
+ this.init = init;
+ }
+ this.__maybeImplicitGlobal = maybeImplicitGlobal;
+ }
+
+ /**
+ * Whether the reference is static.
+ * @method Reference#isStatic
+ * @return {boolean}
+ */
+
+
+ _createClass(Reference, [{
+ key: "isStatic",
+ value: function isStatic() {
+ return !this.tainted && this.resolved && this.resolved.scope.isStatic();
+ }
+
+ /**
+ * Whether the reference is writeable.
+ * @method Reference#isWrite
+ * @return {boolean}
+ */
+
+ }, {
+ key: "isWrite",
+ value: function isWrite() {
+ return !!(this.flag & Reference.WRITE);
+ }
+
+ /**
+ * Whether the reference is readable.
+ * @method Reference#isRead
+ * @return {boolean}
+ */
+
+ }, {
+ key: "isRead",
+ value: function isRead() {
+ return !!(this.flag & Reference.READ);
+ }
+
+ /**
+ * Whether the reference is read-only.
+ * @method Reference#isReadOnly
+ * @return {boolean}
+ */
+
+ }, {
+ key: "isReadOnly",
+ value: function isReadOnly() {
+ return this.flag === Reference.READ;
+ }
+
+ /**
+ * Whether the reference is write-only.
+ * @method Reference#isWriteOnly
+ * @return {boolean}
+ */
+
+ }, {
+ key: "isWriteOnly",
+ value: function isWriteOnly() {
+ return this.flag === Reference.WRITE;
+ }
+
+ /**
+ * Whether the reference is read-write.
+ * @method Reference#isReadWrite
+ * @return {boolean}
+ */
+
+ }, {
+ key: "isReadWrite",
+ value: function isReadWrite() {
+ return this.flag === Reference.RW;
+ }
+ }]);
+
+ return Reference;
+}();
+
+/**
+ * @constant Reference.READ
+ * @private
+ */
+
+
+exports.default = Reference;
+Reference.READ = READ;
+/**
+ * @constant Reference.WRITE
+ * @private
+ */
+Reference.WRITE = WRITE;
+/**
+ * @constant Reference.RW
+ * @private
+ */
+Reference.RW = RW;
+
+/* vim: set sw=4 ts=4 et tw=80 : */
+//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInJlZmVyZW5jZS5qcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7O0FBd0JBLElBQU0sT0FBTyxHQUFQO0FBQ04sSUFBTSxRQUFRLEdBQVI7QUFDTixJQUFNLEtBQUssT0FBTyxLQUFQOzs7Ozs7O0lBTVU7QUFDakIsV0FEaUIsU0FDakIsQ0FBWSxLQUFaLEVBQW1CLEtBQW5CLEVBQTBCLElBQTFCLEVBQWlDLFN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gICAgICAgICAgICAqL1xuICAgICAgICAgICAgdGhpcy5wYXJ0aWFsID0gcGFydGlhbDtcbiAgICAgICAgICAgIC8qKlxuICAgICAgICAgICAgICogV2hldGhlciB0aGUgUmVmZXJlbmNlIGlzIHRvIHdyaXRlIG9mIGluaXRpYWxpemF0aW9uLlxuICAgICAgICAgICAgICogQG1lbWJlciB7Ym9vbGVhbn0gUmVmZXJlbmNlI2luaXRcbiAgICAgICAgICAgICAqL1xuICAgICAgICAgICAgdGhpcy5pbml0ID0gaW5pdDtcbiAgICAgICAgfVxuICAgICAgICB0aGlzLl9fbWF5YmVJbXBsaWNpdEdsb2JhbCA9IG1heWJlSW1wbGljaXRHbG9iYWw7XG4gICAgfVxuXG4gICAgLyoqXG4gICAgICogV2hldGhlciB0aGUgcmVmZXJlbmNlIGlzIHN0YXRpYy5cbiAgICAgKiBAbWV0aG9kIFJlZmVyZW5jZSNpc1N0YXRpY1xuICAgICAqIEByZXR1cm4ge2Jvb2xlYW59XG4gICAgICovXG4gICAgaXNTdGF0aWMoKSB7XG4gICAgICAgIHJldHVybiAhdGhpcy50YWludGVkICYmIHRoaXMucmVzb2x2ZWQgJiYgdGhpcy5yZXNvbHZlZC5zY29wZS5pc1N0YXRpYygpO1xuICAgIH1cblxuICAgIC8qKlxuICAgICAqIFdoZXRoZXIgdGhlIHJlZmVyZW5jZSBpcyB3cml0ZWFibGUuXG4gICAgICogQG1ldGhvZCBSZWZlcmVuY2UjaXNXcml0ZVxuICAgICAqIEByZXR1cm4ge2Jvb2xlYW59XG4gICAgICovXG4gICAgaXNXcml0ZSgpIHtcbiAgICAgICAgcmV0dXJuICEhKHRoaXMuZmxhZyAmIFJlZmVyZW5jZS5XUklURSk7XG4gICAgfVxuXG4gICAgLyoqXG4gICAgICogV2hldGhlciB0aGUgcmVmZXJlbmNlIGlzIHJlYWRhYmxlLlxuICAgICAqIEBtZXRob2QgUmVmZXJlbmNlI2lzUmVhZFxuICAgICAqIEByZXR1cm4ge2Jvb2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JVEUgPSBXUklURTtcbi8qKlxuICogQGNvbnN0YW50IFJlZmVyZW5jZS5SV1xuICogQHByaXZhdGVcbiAqL1xuUmVmZXJlbmNlLlJXID0gUlc7XG5cbi8qIHZpbTogc2V0IHN3PTQgdHM9NCBldCB0dz04MCA6ICovXG4iXSwic291cmNlUm9vdCI6Ii9zb3VyY2UvIn0=
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/escope/lib/referencer.js b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/escope/lib/referencer.js
new file mode 100644
index 0000000..ae40161
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/escope/lib/referencer.js
@@ -0,0 +1,639 @@
+'use strict';
+
+Object.defineProperty(exports, "__esModule", {
+ value: true
+});
+
+var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();
+
+var _estraverse = require('estraverse');
+
+var _esrecurse = require('esrecurse');
+
+var _esrecurse2 = _interopRequireDefault(_esrecurse);
+
+var _reference = require('./reference');
+
+var _reference2 = _interopRequireDefault(_reference);
+
+var _variable = require('./variable');
+
+var _variable2 = _interopRequireDefault(_variable);
+
+var _patternVisitor = require('./pattern-visitor');
+
+var _patternVisitor2 = _interopRequireDefault(_patternVisitor);
+
+var _definition = require('./definition');
+
+var _assert = require('assert');
+
+var _assert2 = _interopRequireDefault(_assert);
+
+function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
+
+function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
+
+function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; }
+
+function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } /*
+ Copyright (C) 2015 Yusuke Suzuki
+
+ Redistribution and use in source and binary forms, with or without
+ modification, are permitted provided that the following conditions are met:
+
+ * Redistributions of source code must retain the above copyright
+ notice, this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright
+ notice, this list of conditions and the following disclaimer in the
+ documentation and/or other materials provided with the distribution.
+
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ ARE DISCLAIMED. IN NO EVENT SHALL BE LIABLE FOR ANY
+ DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
+ (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
+ ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
+ THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+
+function traverseIdentifierInPattern(options, rootPattern, referencer, callback) {
+ // Call the callback at left hand identifier nodes, and Collect right hand nodes.
+ var visitor = new _patternVisitor2.default(options, rootPattern, callback);
+ visitor.visit(rootPattern);
+
+ // Process the right hand nodes recursively.
+ if (referencer != null) {
+ visitor.rightHandNodes.forEach(referencer.visit, referencer);
+ }
+}
+
+// Importing ImportDeclaration.
+// http://people.mozilla.org/~jorendorff/es6-draft.html#sec-moduledeclarationinstantiation
+// https://github.com/estree/estree/blob/master/es6.md#importdeclaration
+// FIXME: Now, we don't create module environment, because the context is
+// implementation dependent.
+
+var Importer = function (_esrecurse$Visitor) {
+ _inherits(Importer, _esrecurse$Visitor);
+
+ function Importer(declaration, referencer) {
+ _classCallCheck(this, Importer);
+
+ var _this = _possibleConstructorReturn(this, Object.getPrototypeOf(Importer).call(this, null, referencer.options));
+
+ _this.declaration = declaration;
+ _this.referencer = referencer;
+ return _this;
+ }
+
+ _createClass(Importer, [{
+ key: 'visitImport',
+ value: function visitImport(id, specifier) {
+ var _this2 = this;
+
+ this.referencer.visitPattern(id, function (pattern) {
+ _this2.referencer.currentScope().__define(pattern, new _definition.Definition(_variable2.default.ImportBinding, pattern, specifier, _this2.declaration, null, null));
+ });
+ }
+ }, {
+ key: 'ImportNamespaceSpecifier',
+ value: function ImportNamespaceSpecifier(node) {
+ var local = node.local || node.id;
+ if (local) {
+ this.visitImport(local, node);
+ }
+ }
+ }, {
+ key: 'ImportDefaultSpecifier',
+ value: function ImportDefaultSpecifier(node) {
+ var local = node.local || node.id;
+ this.visitImport(local, node);
+ }
+ }, {
+ key: 'ImportSpecifier',
+ value: function ImportSpecifier(node) {
+ var local = node.local || node.id;
+ if (node.name) {
+ this.visitImport(node.name, node);
+ } else {
+ this.visitImport(local, node);
+ }
+ }
+ }]);
+
+ return Importer;
+}(_esrecurse2.default.Visitor);
+
+// Referencing variables and creating bindings.
+
+
+var Referencer = function (_esrecurse$Visitor2) {
+ _inherits(Referencer, _esrecurse$Visitor2);
+
+ function Referencer(options, scopeManager) {
+ _classCallCheck(this, Referencer);
+
+ var _this3 = _possibleConstructorReturn(this, Object.getPrototypeOf(Referencer).call(this, null, options));
+
+ _this3.options = options;
+ _this3.scopeManager = scopeManager;
+ _this3.parent = null;
+ _this3.isInnerMethodDefinition = false;
+ return _this3;
+ }
+
+ _createClass(Referencer, [{
+ key: 'currentScope',
+ value: function currentScope() {
+ return this.scopeManager.__currentScope;
+ }
+ }, {
+ key: 'close',
+ value: function close(node) {
+ while (this.currentScope() && node === this.currentScope().block) {
+ this.scopeManager.__currentScope = this.currentScope().__close(this.scopeManager);
+ }
+ }
+ }, {
+ key: 'pushInnerMethodDefinition',
+ value: function pushInnerMethodDefinition(isInnerMethodDefinition) {
+ var previous = this.isInnerMethodDefinition;
+ this.isInnerMethodDefinition = isInnerMethodDefinition;
+ return previous;
+ }
+ }, {
+ key: 'popInnerMethodDefinition',
+ value: function popInnerMethodDefinition(isInnerMethodDefinition) {
+ this.isInnerMethodDefinition = isInnerMethodDefinition;
+ }
+ }, {
+ key: 'materializeTDZScope',
+ value: function materializeTDZScope(node, iterationNode) {
+ // http://people.mozilla.org/~jorendorff/es6-draft.html#sec-runtime-semantics-forin-div-ofexpressionevaluation-abstract-operation
+ // TDZ scope hides the declaration's names.
+ this.scopeManager.__nestTDZScope(node, iterationNode);
+ this.visitVariableDeclaration(this.currentScope(), _variable2.default.TDZ, iterationNode.left, 0, true);
+ }
+ }, {
+ key: 'materializeIterationScope',
+ value: function materializeIterationScope(node) {
+ var _this4 = this;
+
+ // Generate iteration scope for upper ForIn/ForOf Statements.
+ var letOrConstDecl;
+ this.scopeManager.__nestForScope(node);
+ letOrConstDecl = node.left;
+ this.visitVariableDeclaration(this.currentScope(), _variable2.default.Variable, letOrConstDecl, 0);
+ this.visitPattern(letOrConstDecl.declarations[0].id, function (pattern) {
+ _this4.currentScope().__referencing(pattern, _reference2.default.WRITE, node.right, null, true, true);
+ });
+ }
+ }, {
+ key: 'referencingDefaultValue',
+ value: function referencingDefaultValue(pattern, assignments, maybeImplicitGlobal, init) {
+ var scope = this.currentScope();
+ assignments.forEach(function (assignment) {
+ scope.__referencing(pattern, _reference2.default.WRITE, assignment.right, maybeImplicitGlobal, pattern !== assignment.left, init);
+ });
+ }
+ }, {
+ key: 'visitPattern',
+ value: function visitPattern(node, options, callback) {
+ if (typeof options === 'function') {
+ callback = options;
+ options = { processRightHandNodes: false };
+ }
+ traverseIdentifierInPattern(this.options, node, options.processRightHandNodes ? this : null, callback);
+ }
+ }, {
+ key: 'visitFunction',
+ value: function visitFunction(node) {
+ var _this5 = this;
+
+ var i, iz;
+ // FunctionDeclaration name is defined in upper scope
+ // NOTE: Not referring variableScope. It is intended.
+ // Since
+ // in ES5, FunctionDeclaration should be in FunctionBody.
+ // in ES6, FunctionDeclaration should be block scoped.
+ if (node.type === _estraverse.Syntax.FunctionDeclaration) {
+ // id is defined in upper scope
+ this.currentScope().__define(node.id, new _definition.Definition(_variable2.default.FunctionName, node.id, node, null, null, null));
+ }
+
+ // FunctionExpression with name creates its special scope;
+ // FunctionExpressionNameScope.
+ if (node.type === _estraverse.Syntax.FunctionExpression && node.id) {
+ this.scopeManager.__nestFunctionExpressionNameScope(node);
+ }
+
+ // Consider this function is in the MethodDefinition.
+ this.scopeManager.__nestFunctionScope(node, this.isInnerMethodDefinition);
+
+ // Process parameter declarations.
+ for (i = 0, iz = node.params.length; i < iz; ++i) {
+ this.visitPattern(node.params[i], { processRightHandNodes: true }, function (pattern, info) {
+ _this5.currentScope().__define(pattern, new _definition.ParameterDefinition(pattern, node, i, info.rest));
+
+ _this5.referencingDefaultValue(pattern, info.assignments, null, true);
+ });
+ }
+
+ // if there's a rest argument, add that
+ if (node.rest) {
+ this.visitPattern({
+ type: 'RestElement',
+ argument: node.rest
+ }, function (pattern) {
+ _this5.currentScope().__define(pattern, new _definition.ParameterDefinition(pattern, node, node.params.length, true));
+ });
+ }
+
+ // Skip BlockStatement to prevent creating BlockStatement scope.
+ if (node.body.type === _estraverse.Syntax.BlockStatement) {
+ this.visitChildren(node.body);
+ } else {
+ this.visit(node.body);
+ }
+
+ this.close(node);
+ }
+ }, {
+ key: 'visitClass',
+ value: function visitClass(node) {
+ if (node.type === _estraverse.Syntax.ClassDeclaration) {
+ this.currentScope().__define(node.id, new _definition.Definition(_variable2.default.ClassName, node.id, node, null, null, null));
+ }
+
+ // FIXME: Maybe consider TDZ.
+ this.visit(node.superClass);
+
+ this.scopeManager.__nestClassScope(node);
+
+ if (node.id) {
+ this.currentScope().__define(node.id, new _definition.Definition(_variable2.default.ClassName, node.id, node));
+ }
+ this.visit(node.body);
+
+ this.close(node);
+ }
+ }, {
+ key: 'visitProperty',
+ value: function visitProperty(node) {
+ var previous, isMethodDefinition;
+ if (node.computed) {
+ this.visit(node.key);
+ }
+
+ isMethodDefinition = node.type === _estraverse.Syntax.MethodDefinition;
+ if (isMethodDefinition) {
+ previous = this.pushInnerMethodDefinition(true);
+ }
+ this.visit(node.value);
+ if (isMethodDefinition) {
+ this.popInnerMethodDefinition(previous);
+ }
+ }
+ }, {
+ key: 'visitForIn',
+ value: function visitForIn(node) {
+ var _this6 = this;
+
+ if (node.left.type === _estraverse.Syntax.VariableDeclaration && node.left.kind !== 'var') {
+ this.materializeTDZScope(node.right, node);
+ this.visit(node.right);
+ this.close(node.right);
+
+ this.materializeIterationScope(node);
+ this.visit(node.body);
+ this.close(node);
+ } else {
+ if (node.left.type === _estraverse.Syntax.VariableDeclaration) {
+ this.visit(node.left);
+ this.visitPattern(node.left.declarations[0].id, function (pattern) {
+ _this6.currentScope().__referencing(pattern, _reference2.default.WRITE, node.right, null, true, true);
+ });
+ } else {
+ this.visitPattern(node.left, { processRightHandNodes: true }, function (pattern, info) {
+ var maybeImplicitGlobal = null;
+ if (!_this6.currentScope().isStrict) {
+ maybeImplicitGlobal = {
+ pattern: pattern,
+ node: node
+ };
+ }
+ _this6.referencingDefaultValue(pattern, info.assignments, maybeImplicitGlobal, false);
+ _this6.currentScope().__referencing(pattern, _reference2.default.WRITE, node.right, maybeImplicitGlobal, true, false);
+ });
+ }
+ this.visit(node.right);
+ this.visit(node.body);
+ }
+ }
+ }, {
+ key: 'visitVariableDeclaration',
+ value: function visitVariableDeclaration(variableTargetScope, type, node, index, fromTDZ) {
+ var _this7 = this;
+
+ // If this was called to initialize a TDZ scope, this needs to make definitions, but doesn't make references.
+ var decl, init;
+
+ decl = node.declarations[index];
+ init = decl.init;
+ this.visitPattern(decl.id, { processRightHandNodes: !fromTDZ }, function (pattern, info) {
+ variableTargetScope.__define(pattern, new _definition.Definition(type, pattern, decl, node, index, node.kind));
+
+ if (!fromTDZ) {
+ _this7.referencingDefaultValue(pattern, info.assignments, null, true);
+ }
+ if (init) {
+ _this7.currentScope().__referencing(pattern, _reference2.default.WRITE, init, null, !info.topLevel, true);
+ }
+ });
+ }
+ }, {
+ key: 'AssignmentExpression',
+ value: function AssignmentExpression(node) {
+ var _this8 = this;
+
+ if (_patternVisitor2.default.isPattern(node.left)) {
+ if (node.operator === '=') {
+ this.visitPattern(node.left, { processRightHandNodes: true }, function (pattern, info) {
+ var maybeImplicitGlobal = null;
+ if (!_this8.currentScope().isStrict) {
+ maybeImplicitGlobal = {
+ pattern: pattern,
+ node: node
+ };
+ }
+ _this8.referencingDefaultValue(pattern, info.assignments, maybeImplicitGlobal, false);
+ _this8.currentScope().__referencing(pattern, _reference2.default.WRITE, node.right, maybeImplicitGlobal, !info.topLevel, false);
+ });
+ } else {
+ this.currentScope().__referencing(node.left, _reference2.default.RW, node.right);
+ }
+ } else {
+ this.visit(node.left);
+ }
+ this.visit(node.right);
+ }
+ }, {
+ key: 'CatchClause',
+ value: function CatchClause(node) {
+ var _this9 = this;
+
+ this.scopeManager.__nestCatchScope(node);
+
+ this.visitPattern(node.param, { processRightHandNodes: true }, function (pattern, info) {
+ _this9.currentScope().__define(pattern, new _definition.Definition(_variable2.default.CatchClause, node.param, node, null, null, null));
+ _this9.referencingDefaultValue(pattern, info.assignments, null, true);
+ });
+ this.visit(node.body);
+
+ this.close(node);
+ }
+ }, {
+ key: 'Program',
+ value: function Program(node) {
+ this.scopeManager.__nestGlobalScope(node);
+
+ if (this.scopeManager.__isNodejsScope()) {
+ // Force strictness of GlobalScope to false when using node.js scope.
+ this.currentScope().isStrict = false;
+ this.scopeManager.__nestFunctionScope(node, false);
+ }
+
+ if (this.scopeManager.__isES6() && this.scopeManager.isModule()) {
+ this.scopeManager.__nestModuleScope(node);
+ }
+
+ if (this.scopeManager.isStrictModeSupported() && this.scopeManager.isImpliedStrict()) {
+ this.currentScope().isStrict = true;
+ }
+
+ this.visitChildren(node);
+ this.close(node);
+ }
+ }, {
+ key: 'Identifier',
+ value: function Identifier(node) {
+ this.currentScope().__referencing(node);
+ }
+ }, {
+ key: 'UpdateExpression',
+ value: function UpdateExpression(node) {
+ if (_patternVisitor2.default.isPattern(node.argument)) {
+ this.currentScope().__referencing(node.argument, _reference2.default.RW, null);
+ } else {
+ this.visitChildren(node);
+ }
+ }
+ }, {
+ key: 'MemberExpression',
+ value: function MemberExpression(node) {
+ this.visit(node.object);
+ if (node.computed) {
+ this.visit(node.property);
+ }
+ }
+ }, {
+ key: 'Property',
+ value: function Property(node) {
+ this.visitProperty(node);
+ }
+ }, {
+ key: 'MethodDefinition',
+ value: function MethodDefinition(node) {
+ this.visitProperty(node);
+ }
+ }, {
+ key: 'BreakStatement',
+ value: function BreakStatement() {}
+ }, {
+ key: 'ContinueStatement',
+ value: function ContinueStatement() {}
+ }, {
+ key: 'LabeledStatement',
+ value: function LabeledStatement(node) {
+ this.visit(node.body);
+ }
+ }, {
+ key: 'ForStatement',
+ value: function ForStatement(node) {
+ // Create ForStatement declaration.
+ // NOTE: In ES6, ForStatement dynamically generates
+ // per iteration environment. However, escope is
+ // a static analyzer, we only generate one scope for ForStatement.
+ if (node.init && node.init.type === _estraverse.Syntax.VariableDeclaration && node.init.kind !== 'var') {
+ this.scopeManager.__nestForScope(node);
+ }
+
+ this.visitChildren(node);
+
+ this.close(node);
+ }
+ }, {
+ key: 'ClassExpression',
+ value: function ClassExpression(node) {
+ this.visitClass(node);
+ }
+ }, {
+ key: 'ClassDeclaration',
+ value: function ClassDeclaration(node) {
+ this.visitClass(node);
+ }
+ }, {
+ key: 'CallExpression',
+ value: function CallExpression(node) {
+ // Check this is direct call to eval
+ if (!this.scopeManager.__ignoreEval() && node.callee.type === _estraverse.Syntax.Identifier && node.callee.name === 'eval') {
+ // NOTE: This should be `variableScope`. Since direct eval call always creates Lexical environment and
+ // let / const should be enclosed into it. Only VariableDeclaration affects on the caller's environment.
+ this.currentScope().variableScope.__detectEval();
+ }
+ this.visitChildren(node);
+ }
+ }, {
+ key: 'BlockStatement',
+ value: function BlockStatement(node) {
+ if (this.scopeManager.__isES6()) {
+ this.scopeManager.__nestBlockScope(node);
+ }
+
+ this.visitChildren(node);
+
+ this.close(node);
+ }
+ }, {
+ key: 'ThisExpression',
+ value: function ThisExpression() {
+ this.currentScope().variableScope.__detectThis();
+ }
+ }, {
+ key: 'WithStatement',
+ value: function WithStatement(node) {
+ this.visit(node.object);
+ // Then nest scope for WithStatement.
+ this.scopeManager.__nestWithScope(node);
+
+ this.visit(node.body);
+
+ this.close(node);
+ }
+ }, {
+ key: 'VariableDeclaration',
+ value: function VariableDeclaration(node) {
+ var variableTargetScope, i, iz, decl;
+ variableTargetScope = node.kind === 'var' ? this.currentScope().variableScope : this.currentScope();
+ for (i = 0, iz = node.declarations.length; i < iz; ++i) {
+ decl = node.declarations[i];
+ this.visitVariableDeclaration(variableTargetScope, _variable2.default.Variable, node, i);
+ if (decl.init) {
+ this.visit(decl.init);
+ }
+ }
+ }
+
+ // sec 13.11.8
+
+ }, {
+ key: 'SwitchStatement',
+ value: function SwitchStatement(node) {
+ var i, iz;
+
+ this.visit(node.discriminant);
+
+ if (this.scopeManager.__isES6()) {
+ this.scopeManager.__nestSwitchScope(node);
+ }
+
+ for (i = 0, iz = node.cases.length; i < iz; ++i) {
+ this.visit(node.cases[i]);
+ }
+
+ this.close(node);
+ }
+ }, {
+ key: 'FunctionDeclaration',
+ value: function FunctionDeclaration(node) {
+ this.visitFunction(node);
+ }
+ }, {
+ key: 'FunctionExpression',
+ value: function FunctionExpression(node) {
+ this.visitFunction(node);
+ }
+ }, {
+ key: 'ForOfStatement',
+ value: function ForOfStatement(node) {
+ this.visitForIn(node);
+ }
+ }, {
+ key: 'ForInStatement',
+ value: function ForInStatement(node) {
+ this.visitForIn(node);
+ }
+ }, {
+ key: 'ArrowFunctionExpression',
+ value: function ArrowFunctionExpression(node) {
+ this.visitFunction(node);
+ }
+ }, {
+ key: 'ImportDeclaration',
+ value: function ImportDeclaration(node) {
+ var importer;
+
+ (0, _assert2.default)(this.scopeManager.__isES6() && this.scopeManager.isModule(), 'ImportDeclaration should appear when the mode is ES6 and in the module context.');
+
+ importer = new Importer(node, this);
+ importer.visit(node);
+ }
+ }, {
+ key: 'visitExportDeclaration',
+ value: function visitExportDeclaration(node) {
+ if (node.source) {
+ return;
+ }
+ if (node.declaration) {
+ this.visit(node.declaration);
+ return;
+ }
+
+ this.visitChildren(node);
+ }
+ }, {
+ key: 'ExportDeclaration',
+ value: function ExportDeclaration(node) {
+ this.visitExportDeclaration(node);
+ }
+ }, {
+ key: 'ExportNamedDeclaration',
+ value: function ExportNamedDeclaration(node) {
+ this.visitExportDeclaration(node);
+ }
+ }, {
+ key: 'ExportSpecifier',
+ value: function ExportSpecifier(node) {
+ var local = node.id || node.local;
+ this.visit(local);
+ }
+ }, {
+ key: 'MetaProperty',
+ value: function MetaProperty() {
+ // do nothing.
+ }
+ }]);
+
+ return Referencer;
+}(_esrecurse2.default.Visitor);
+
+/* vim: set sw=4 ts=4 et tw=80 : */
+
+
+exports.default = Referencer;
+//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInJlZmVyZW5jZXIuanMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7QUF1QkE7O0FBQ0E7Ozs7QUFDQTs7OztBQUNBOzs7O0FBQ0E7Ozs7QUFDQTs7QUFDQTs7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ubWVudCwgYmVjYXVzZSB0aGUgY29udGV4dCBpc1xuLy8gaW1wbGVtZW50YXRpb24gZGVwZW5kZW50LlxuXG5jbGFzcyBJbXBvcnRlciBleHRlbmRzIGVzcmVjdXJzZS5WaXNpdG9yIHtcbiAgICBjb25zdHJ1Y3RvcihkZWNsYXJhdGlvbiwgcmVmZXJlbmNlcikge1xuICAgICAgICBzdXBlcihudWxsLCByZWZlcmVuY2VyLm9wdGlvbnMpO1xuICAgICAgICB0aGlzLmRlY2xhcmF0aW9uID0gZGVjbGFyYXRpb247XG4gICAgICAgIHRoaXMucmVmZXJlbmNlciA9IHJlZmVyZW5jZXI7XG4gICAgfVxuXG4gICAgdmlzaXRJbXBvcnQoaWQsIHNwZWNpZmllcikge1xuICAgICAgICB0aGlzLnJlZmVyZW5jZXIudmlzaXRQYXR0ZXJuKGlkLCAocGF0dGVybikgPT4ge1xuICAgICAgICAgICAgdGhpcy5yZWZlcmVuY2VyLmN1cnJlbnRTY29wZSgpLl9fZGVmaW5lKHBhdHRlcm4sXG4gICAgICAgICAgICAgICAgbmV3IERlZmluaXRpb24oXG4gICAgICAgICAgICAgICAgICAgIFZhcmlhYmxlLkltcG9ydEJpbmRpbmcsXG4gICAgICAgICAgICAgICAgICAgIHBhdHRlcm4sXG4gICAgICAgICAgICAgICAgICAgIHNwZWNpZmllcixcbiAgICAgICAgICAgICAgICAgICAgdGhpcy5kZWNsYXJhdGlvbixcbiAgICAgICAgICAgICAgICAgICAgbnVsbCxcbiAgICAgICAgICAgICAgICAgICAgbnVsbFxuICAgICAgICAgICAgICAgICAgICApKTtcbiAgICAgICAgfSk7XG4gICAgfVxuXG4gICAgSW1wb3J0TmFtZXNwYWNlU3BlY2lmaWVyKG5vZGUpIHtcbiAgICAgICAgbGV0IGxvY2FsID0gKG5vZGUubG9jYWwgfHwgbm9kZS5pZCk7XG4gICAgICAgIGlmIChsb2NhbCkge1xuICAgICAgICAgICAgdGhpcy52aXNpdEltcG9ydChsb2NhbCwgbm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aW9uIHNob3VsZCBiZSBpbiBGdW5jdGlvbkJvZHkuXG4gICAgICAgIC8vICBpbiBFUzYsIEZ1bmN0aW9uRGVjbGFyYXRpb24gc2hvdWxkIGJlIGJsb2NrIHNjb3BlZC5cbiAgICAgICAgaWYgKG5vZGUudHlwZSA9PT0gU3ludGF4LkZ1bmN0aW9uRGVjbGFyYXRpb24pIHtcbiAgICAgICAgICAgIC8vIGlkIGlzIGRlZmluZWQgaW4gdXBwZXIgc2NvcGVcbiAgICAgICAgICAgIHRoaXMuY3VycmVudFNjb3BlKCkuX19kZWZpbmUobm9kZS5pZCxcbiAgICAgICAgICAgICAgICAgICAgbmV3IERlZmluaXRpb24oXG4gICAgICAgICAgICAgICAgICAgICAgICBWYXJpYWJsZS5GdW5jdGlvbk5hbWUsXG4gICAgICAgICAgICAgICAgICAgICAgICBub2RlLmlkLFxuICAgICAgICAgICAgICAgICAgICAgICAgbm9kZSxcbiAgICAgICAgICAgICAgICAgICAgICAgIG51bGwsXG4gICAgICAgICAgICAgICAgICAgICAgICBudWxsLFxuICAgICAgICAgICAgICAgICAgICAgICAgbnVsbFxuICAgICAgICAgICAgICAgICAgICApKTtcbiAgICAgICAgfVxuXG4gICAgICAgIC8vIEZ1bmN0aW9uRXhwcmVzc2lvbiB3aXRoIG5hbWUgY3JlYXRlcyBpdHMgc3BlY2lhbCBzY29wZTtcbiAgICAgICAgLy8gRnVuY3Rpb25FeHByZXNzaW9uTmFtZVNjb3BlLlxuICAgICAgICBpZiAobm9kZS50eXBlID09PSBTeW50YXguRnVuY3Rpb25FeHByZXNzaW9uICYmIG5vZGUuaWQpIHtcbiAgICAgICAgICAgIHRoaXMuc2NvcGVNYW5hZ2VyLl9fbmVzdEZ1bmN0aW9uRXhwcmVzc2lvbk5hbWVTY29wZShub2RlKTtcbiAgICAgICAgfVxuXG4gICAgICAgIC8vIENvbnNpZGVyIHRoaXMgZnVuY3Rpb24gaXMgaW4gdGhlIE1ldGhvZERlZmluaXRpb24uXG4g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biAgICAgICAgICAgIH0sIChwYXR0ZXJuKSA9PiB7XG4gICAgICAgICAgICAgICAgdGhpcy5jdXJyZW50U2NvcGUoKS5fX2RlZmluZShwYXR0ZXJuLFxuICAgICAgICAgICAgICAgICAgICBuZXcgUGFyYW1ldGVyRGVmaW5pdGlvbihcbiAgICAgICAgICAgICAgICAgICAgICAgIHBhdHRlcm4sXG4gICAgICAgICAgICAgICAgICAgICAgICBub2RlLFxuICAgICAgICAgICAgICAgICAgICAgICAgbm9kZS5wYXJhbXMubGVuZ3RoLFxuICAgICAgICAgICAgICAgICAgICAgICAgdHJ1ZVxuICAgICAgICAgICAgICAgICAgICApKTtcbiAgICAgICAgICAgIH0pO1xuICAgICAgICB9XG5cbiAgICAgICAgLy8gU2tpcCBCbG9ja1N0YXRlbWVudCB0byBwcmV2ZW50IGNyZWF0aW5nIEJsb2NrU3RhdGVtZW50IHNjb3BlLlxuICAgICAgICBpZiAobm9kZS5ib2R5LnR5cGUgPT09IFN5bnRheC5CbG9ja1N0YXRlbWVudCkge1xuICAgICAgICAgICAgdGhpcy52aXNpdENoaWxkcmVuKG5vZGUuYm9keSk7XG4gICAgICAgIH0gZWxzZSB7XG4gICAgICAgICAgICB0aGlzLnZpc2l0KG5vZGUuYm9keSk7XG4gICAgICAgIH1cblxuICAgICAgICB0aGlzLmNsb3NlKG5vZGUpO1xuICAgIH1cblxuICAgIHZpc2l0Q2xhc3Mobm9kZSkge1xuICAgICAgICBpZiAobm9kZS50eXBlID09PSBTeW50YXguQ2xhc3NEZWNsYXJhdGlvbikge1xuICAgICAgICAgICAgdGhpcy5jdXJyZW50U2NvcGUoKS5fX2RlZmluZShub2RlLmlkLFxuICAgICAgICAgICAgICAgICAgICBuZXcgRGVmaW5pdGlvbihcbiAgICAgICAgICAgICAgICAgICAgICAgIFZhcmlhYmxlLkNsYXNzTmFtZSxcbiAgICAgICAgICAgICAgICAgICAgICAgIG5vZGUuaWQsXG4gICAgICAgICAgICAgICAgICAgICAgICBub2RlLFxuICAgICAgICAgICAgICAgICAgICAgICAgbnVsbCxcbiAgICAgICAgICAgICAgICAgICAgICAgIG51bGwsXG4gICAgICAgICAgICAgICAgICAgICAgICBudWxsXG4gICAgICAgICAgICAgICAgICAgICkpO1xuICAgICAgICB9XG5cbiAgICAgICAgLy8gRklYTUU6IE1heWJlIGNvbnNpZGVyIFREWi5cbiAgICAgICAgdGhpcy52aXNpdChub2RlLnN1cGVyQ2xhc3MpO1xuXG4gICAgICAgIHRoaXMuc2NvcGVNYW5hZ2VyLl9fbmVzdENsYXNzU2NvcGUobm9kZSk7XG5cbiAgICAgICAgaWYgKG5vZGUuaWQpIHtcbiAgICAgICAgICAgIHRoaXMuY3VycmVudFNjb3BlKCkuX19kZWZpbmUobm9kZS5pZCxcbiAgICAgICAgICAgICAgICAgICAgbmV3IERlZmluaXRpb24oXG4gICAgICAgICAgICAgICAgICAgICAgICBWYXJpYWJsZS5DbGFzc05hbWUsXG4gICAgICAgICAgICAgICAgICAgICAgICBub2RlLmlkLFxuICAgICAgICAgICAgICAgICAgICAgICAgbm9kZVxuICAgICAgICAgICAgICAgICAgICApKTtcbiAgICAgICAgfVxuICAgICAgICB0aGlzLnZpc2l0KG5vZGUuYm9keSk7XG5cbiAgICAgICAgdGhpcy5jbG9zZShub2RlKTtcbiAgICB9XG5cbiAgICB2aXNpdFByb3BlcnR5KG5vZGUpIHtcbiAgICAgICAgdmFyIHByZXZpb3VzLCBpc01ldGhvZERlZmluaXRpb247XG4gICAgICAgIGlmIChub2RlLmNvbXB1dGVkKSB7XG4gICAgICAgICAgICB0aGlzLnZpc2l0KG5vZGUua2V5KTtcbiAgICAgICAgfVxuXG4gICAgICAgIGlzTWV0aG9kRGVmaW5pdGlvbiA9IG5vZGUudHlwZSA9PT0gU3ludGF4Lk1ldGhvZERlZmluaXRpb247XG4gICAgICAgIGlmIChpc01ldGhvZERlZmluaXRpb24pIHtcbiAgICAgICAgICAgIHByZXZpb3VzID0gdGhpcy5wdXNoSW5uZXJNZXRob2REZWZpbml0aW9uKHRydWUpO1xuICAgICAgICB9XG4gICAgICAgIHRoaXMudmlzaXQobm9kZS52YWx1ZSk7XG4gICAgICAgIGlmIChpc01ldGhvZERlZmluaXRpb24pIHtcbiAgICAgICAgICAgIHRoaXMucG9wSW5uZXJNZXRob2REZWZpbml0aW9uKHByZXZpb3VzKTtcbiAgICAgICAgfVxuICAgIH1cblxuICAgIHZpc2l0Rm9ySW4obm9kZSkge1xuICAgICAgICBpZiAobm9kZS5sZWZ0LnR5cGUgPT09IFN5bnRheC5WYXJpYWJsZURlY2xhcmF0aW9uICYmIG5vZGUubGVmdC5raW5kICE9PSAndmFyJykge1xuICAgICAgICAgICAgdGhpcy5tYXRlcmlhbGl6ZVREWlNjb3BlKG5vZGUucmlnaHQsIG5vZGUpO1xuICAgICAgICAgICAgdGhpcy52aXNpdChub2RlLnJpZ2h0KTtcbiAgICAgICAgICAgIHRoaXMuY2xvc2Uobm9kZS5yaWdodCk7XG5cbiAgICAgICAgICAgIHRoaXMubWF0ZXJpYWxpemVJdGVyYXRpb25TY29wZShub2RlKTtcbiAgICAgICAgICAgIHRoaXMudmlzaXQobm9kZS5ib2R5KTtcbiAgICAgICAgICAgIHRoaXMuY2xvc2Uobm9kZSk7XG4gICAgICAgIH0gZWxzZSB7XG4gICAgICAgICAgICBpZiAobm9kZS5sZWZ0LnR5cGUgPT09IFN5bnRheC5WYXJpYWJsZURlY2xhcmF0aW9uKSB7XG4gICAgICAgICAgICAgICAgdGhpcy52aXNpdChub2RlLmxlZnQpO1xuICAgICAgICAgICAgICAgIHRoaXMudmlzaXRQYXR0ZXJuKG5vZGUubGVmdC5kZWNsYXJhdGlvbnNbMF0uaWQsIChwYXR0ZXJuKSA9PiB7XG4gICAgICAgICAgICAgICAgICAgIHRoaXMuY3VycmVudFNjb3BlKCkuX19yZWZlcmVuY2luZyhwYXR0ZXJuLCBSZWZlcmVuY2UuV1JJVEUsIG5vZGUucmlnaHQsIG51bGwsIHRydWUsIHRydWUpO1xuICAgICAgICAgICAgICAgIH0pO1xuICAgICAgICAgICAgfSBlbHNlIHtcbiAgICAgICAgICAgICAgICB0aGlzLnZpc2l0UGF0dGVybihub2RlLmxlZnQsIHtwcm9jZXNzUmlnaHRIYW5kTm9kZXM6IHRydWV9LCAocGF0dGVybiwgaW5mbykgPT4ge1xuICAgICAgICAgICAgICAgICAgICB2YXIgbWF5YmVJbXBsaWNpdEdsb2JhbCA9IG51bGw7XG4gICAgICAgICAgICAgICAgICAgIGlmICghdGhpcy5jdXJyZW50U2NvcGUoKS5pc1N0cmljdCkge1xuICAgICAgICAgICAgICAgICAgICAgICAgbWF5YmVJbXBsaWNpdEdsb2JhbCA9IHtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBwYXR0ZXJuOiBwYXR0ZXJuLFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIG5vZGU6IG5vZGVcbiAgICAgICAgICAgICAgICAgICAgICAgIH07XG4gICAgICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICAgICAgdGhpcy5yZWZlcmVuY2luZ0RlZmF1bHRWYWx1ZShwYXR0ZXJuLCBpbmZvLmFzc2lnbm1lbnRzLCBtYXliZUltcGxpY2l0R2xvYmFsLCBmYWxzZSk7XG4gICAgICAgICAgICAgICAgICAgIHRoaXMuY3VycmVudFNjb3BlKCkuX19yZWZlcmVuY2luZyhwYXR0ZXJuLCBSZWZlcmVuY2UuV1JJVEUsIG5vZGUucmlnaHQsIG1heWJlSW1wbGljaXRHbG9iYWwsIHRydWUsIGZhbHNlKTtcbiAgICAgICAgICAgICAgICB9KTtcbiAgICAgICAgICAgIH1cbiAgICAgICAgICAgIHRoaXMudmlzaXQobm9kZS5yaWdodCk7XG4gICAgICAgICAgICB0aGlzLnZpc2l0KG5vZGUuYm9keSk7XG4gICAgICAgIH1cbiAgICB9XG5cbiAgICB2aXNpdFZhcmlhYmxlRGVjbGFyYXRpb24odmFyaWFibGVUYXJnZXRTY29wZSwgdHlwZSwgbm9kZSwgaW5kZXgsIGZyb21URFopIHtcbiAgICAgICAgLy8gSWYgdGhpcyB3YXMgY2FsbGVkIHRvIGluaXRpYWxpemUgYSBURFogc2NvcGUsIHRoaXMgbmVlZHMgdG8gbWFrZSBkZWZpbml0aW9ucywgYnV0IGRvZXNuJ3QgbWFrZSByZWZlcmVuY2VzLlxuICAgICAgICB2YXIgZGVjbCwgaW5pdDtcblxuICAgICAgICBkZWNsID0gbm9kZS5kZWNsYXJhdGlvbnNbaW5kZXhdO1xuICAgICAgICBpbml0ID0gZGVjbC5pbml0O1xuICAgICAgICB0aGlzLnZpc2l0UGF0dGVybihkZWNsLmlkLCB7cHJvY2Vzc1JpZ2h0SGFuZE5vZGVzOiAhZnJvbVREWn0sIChwYXR0ZXJuLCBpbmZvKSA9PiB7XG4gICAgICAgICAgICB2YXJpYWJsZVRhcmdldFNjb3BlLl9fZGVmaW5lKHBhdHRlcm4sXG4gICAgICAgICAgICAgICAgbmV3IERlZmluaXRpb24oXG4gICAgICAgICAgICAgICAgICAgIHR5cGUsXG4gICAgICAgICAgICAgICAgICAgIHBhdHRlcm4sXG4gICAgICAgICAgICAgICAgICAgIGRlY2wsXG4gICAgICAgICAgICAgICAgICAgIG5vZGUsXG4gICAgICAgICAgICAgICAgICAgIGluZGV4LFxuICAgICAgICAgICAgICAgICAgICBub2RlLmtpbmRcbiAgICAgICAgICAgICAgICApKTtcblxuICAgICAgICAgICAgaWYgKCFmcm9tVERaKSB7XG4gICAgICAgICAgICAgICAgdGhpcy5yZWZlcmVuY2luZ0RlZmF1bHRWYWx1ZShwYXR0ZXJuLCBpbmZvLmFzc2lnbm1lbnRzLCBudWxsLCB0cnVlKTtcbiAgICAgICAgICAgIH1cbiAgICAgICAgICAgIGlmIChpbml0KSB7XG4gICAgICAgICAgICAgICAgdGhpcy5jdXJyZW50U2NvcGUoKS5fX3JlZmVyZW5jaW5nKHBhdHRlcm4sIFJlZmVyZW5jZS5XUklURSwgaW5pdCwgbnVsbCwgIWluZm8udG9wTGV2ZWwsIHRydWUpO1xuICAgICAgICAgICAgfVxuICAgICAgICB9KTtcbiAgICB9XG5cbiAgICBBc3NpZ25tZW50RXhwcmVzc2lvbihub2RlKSB7XG4gICAgICAgIGlmIChQYXR0ZXJuVmlzaXRvci5pc1BhdHRlcm4obm9kZS5sZWZ0KSkge1xuICAgICAgICAgICAgaWYgKG5vZGUub3BlcmF0b3IgPT09ICc9Jykge1xuICAgICAgICAgICAgICAgIHRoaXMudmlzaXRQYXR0ZXJuKG5vZGUubGVmdCwge3Byb2Nlc3NSaWdodEhhbmROb2RlczogdHJ1ZX0sIChwYXR0ZXJuLCBpbmZvKSA9PiB7XG4gICAgICAgICAgICAgICAgICAgIHZhciBtYXliZUltcGxpY2l0R2xvYmFsID0gbnVsbDtcbiAgICAgICAgICAgICAgICAgICAgaWYgKCF0aGlzLmN1cnJlbnRTY29wZSgpLmlzU3RyaWN0KSB7XG4gICAgICAgICAgICAgICAgICAgICAgICBtYXliZUltcGxpY2l0R2xvYmFsID0ge1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgIHBhdHRlcm46IHBhdHRlcm4sXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgbm9kZTogbm9kZVxuICAgICAgICAgICAgICAgICAgICAgICAgfTtcbiAgICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgICAgICB0aGlzLnJlZmVyZW5jaW5nRGVmYXVsdFZhbHVlKHBhdHRlcm4sIGluZm8uYXNzaWdubWVudHMsIG1heWJlSW1wbGljaXRHbG9iYWwsIGZhbHNlKTtcbiAgICAgICAgICAgICAgICAgICAgdGhpcy5jdXJyZW50U2NvcGUoKS5fX3JlZmVyZW5jaW5nKHBhdHRlcm4sIFJlZmVyZW5jZS5XUklURSwgbm9kZS5yaWdodCwgbWF5YmVJbXBsaWNpdEdsb2JhbCwgIWluZm8udG9wTGV2ZWwsIGZhbHNlKTtcbiAgICAgICAgICAgICAgICB9KTtcbiAgICAgICAgICAgIH0gZWxzZSB7XG4gICAgICAgICAgICAgICAgdGhpcy5jdXJyZW50U2NvcGUoKS5fX3JlZmVyZW5jaW5nKG5vZGUubGVmdCwgUmVmZXJlbmNlLlJXLCBub2RlLnJpZ2h0KTtcbiAgICAgICAgICAgIH1cbiAgICAgICAgfSBlbHNlIHtcbiAgICAgICAgICAgIHRoaXMudmlzaXQobm9kZS5sZWZ0KTtcbiAgICAgICAgfVxuICAgICAgICB0aGlzLnZpc2l0KG5vZGUucmlnaHQpO1xuICAgIH1cblxuICAgIENhdGNoQ2xhdXNlKG5vZGUpIHtcbiAgICAgICAgdGhpcy5zY29wZU1hbmFnZXIuX19uZXN0Q2F0Y2hTY29wZShub2RlKTtcblxuICAgICAgICB0aGlzLnZpc2l0UGF0dGVybihub2RlLnBhcmFtLCB7cHJvY2Vzc1JpZ2h0SGFuZE5vZGVzOiB0cnVlfSwgKHBhdHRlcm4sIGluZm8pID0+IHtcbiAgICAgICAgICAgIHRoaXMuY3VycmVudFNjb3BlKCkuX19kZWZpbmUocGF0dGVybixcbiAgICAgICAgICAgICAgICBuZXcgRGVmaW5pdGlvbihcbiAgICAgICAgICAgICAgICAgICAgVmFyaWFibGUuQ2F0Y2hDbGF1c2UsXG4gICAgICAgICAgICAgICAgICAgIG5vZGUucGFyYW0sXG4gICAgICAgICAgICAgICAgICAgIG5vZGUsXG4gICAgICAgICAgICAgICAgICAgIG51bGwsXG4gICAgICAgICAgICAgICAgICAgIG51bGwsXG4gICAgICAgICAgICAgICAgICAgIG51bGxcbiAgICAgICAgICAgICAgICApKTtcbiAgICAgICAgICAgIHRoaXMucmVmZXJlbmNpbmdEZWZhdWx0VmFsdWUocGF0dGVybiwgaW5mby5hc3NpZ25tZW50cywgbnVsbCwgdHJ1ZSk7XG4gICAgICAgIH0pO1xuICAgICAgICB0aGlzLnZpc2l0KG5vZGUuYm9keSk7XG5cbiAgICAgICAgdGhpcy5jbG9zZShub2RlKTtcbiAgICB9XG5cbiAgICBQcm9nc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UpIHtcbiAgICAgICAgdGhpcy52aXNpdEV4cG9ydERlY2xhcmF0aW9uKG5vZGUpO1xuICAgIH1cblxuICAgIEV4cG9ydE5hbWVkRGVjbGFyYXRpb24obm9kZSkge1xuICAgICAgICB0aGlzLnZpc2l0RXhwb3J0RGVjbGFyYXRpb24obm9kZSk7XG4gICAgfVxuXG4gICAgRXhwb3J0U3BlY2lmaWVyKG5vZGUpIHtcbiAgICAgICAgbGV0IGxvY2FsID0gKG5vZGUuaWQgfHwgbm9kZS5sb2NhbCk7XG4gICAgICAgIHRoaXMudmlzaXQobG9jYWwpO1xuICAgIH1cblxuICAgIE1ldGFQcm9wZXJ0eSgpIHtcbiAgICAgICAgLy8gZG8gbm90aGluZy5cbiAgICB9XG59XG5cbi8qIHZpbTogc2V0IHN3PTQgdHM9NCBldCB0dz04MCA6ICovXG4iXSwic291cmNlUm9vdCI6Ii9zb3VyY2UvIn0=
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/escope/lib/scope-manager.js b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/escope/lib/scope-manager.js
new file mode 100644
index 0000000..66b37c9
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/escope/lib/scope-manager.js
@@ -0,0 +1,297 @@
+'use strict';
+
+Object.defineProperty(exports, "__esModule", {
+ value: true
+});
+
+var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }(); /*
+ Copyright (C) 2015 Yusuke Suzuki
+
+ Redistribution and use in source and binary forms, with or without
+ modification, are permitted provided that the following conditions are met:
+
+ * Redistributions of source code must retain the above copyright
+ notice, this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright
+ notice, this list of conditions and the following disclaimer in the
+ documentation and/or other materials provided with the distribution.
+
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ ARE DISCLAIMED. IN NO EVENT SHALL BE LIABLE FOR ANY
+ DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
+ (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
+ ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
+ THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+var _es6WeakMap = require('es6-weak-map');
+
+var _es6WeakMap2 = _interopRequireDefault(_es6WeakMap);
+
+var _scope = require('./scope');
+
+var _scope2 = _interopRequireDefault(_scope);
+
+var _assert = require('assert');
+
+var _assert2 = _interopRequireDefault(_assert);
+
+function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
+
+function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
+
+/**
+ * @class ScopeManager
+ */
+
+var ScopeManager = function () {
+ function ScopeManager(options) {
+ _classCallCheck(this, ScopeManager);
+
+ this.scopes = [];
+ this.globalScope = null;
+ this.__nodeToScope = new _es6WeakMap2.default();
+ this.__currentScope = null;
+ this.__options = options;
+ this.__declaredVariables = new _es6WeakMap2.default();
+ }
+
+ _createClass(ScopeManager, [{
+ key: '__useDirective',
+ value: function __useDirective() {
+ return this.__options.directive;
+ }
+ }, {
+ key: '__isOptimistic',
+ value: function __isOptimistic() {
+ return this.__options.optimistic;
+ }
+ }, {
+ key: '__ignoreEval',
+ value: function __ignoreEval() {
+ return this.__options.ignoreEval;
+ }
+ }, {
+ key: '__isNodejsScope',
+ value: function __isNodejsScope() {
+ return this.__options.nodejsScope;
+ }
+ }, {
+ key: 'isModule',
+ value: function isModule() {
+ return this.__options.sourceType === 'module';
+ }
+ }, {
+ key: 'isImpliedStrict',
+ value: function isImpliedStrict() {
+ return this.__options.impliedStrict;
+ }
+ }, {
+ key: 'isStrictModeSupported',
+ value: function isStrictModeSupported() {
+ return this.__options.ecmaVersion >= 5;
+ }
+
+ // Returns appropriate scope for this node.
+
+ }, {
+ key: '__get',
+ value: function __get(node) {
+ return this.__nodeToScope.get(node);
+ }
+
+ /**
+ * Get variables that are declared by the node.
+ *
+ * "are declared by the node" means the node is same as `Variable.defs[].node` or `Variable.defs[].parent`.
+ * If the node declares nothing, this method returns an empty array.
+ * CAUTION: This API is experimental. See https://github.com/estools/escope/pull/69 for more details.
+ *
+ * @param {Esprima.Node} node - a node to get.
+ * @returns {Variable[]} variables that declared by the node.
+ */
+
+ }, {
+ key: 'getDeclaredVariables',
+ value: function getDeclaredVariables(node) {
+ return this.__declaredVariables.get(node) || [];
+ }
+
+ /**
+ * acquire scope from node.
+ * @method ScopeManager#acquire
+ * @param {Esprima.Node} node - node for the acquired scope.
+ * @param {boolean=} inner - look up the most inner scope, default value is false.
+ * @return {Scope?}
+ */
+
+ }, {
+ key: 'acquire',
+ value: function acquire(node, inner) {
+ var scopes, scope, i, iz;
+
+ function predicate(scope) {
+ if (scope.type === 'function' && scope.functionExpressionScope) {
+ return false;
+ }
+ if (scope.type === 'TDZ') {
+ return false;
+ }
+ return true;
+ }
+
+ scopes = this.__get(node);
+ if (!scopes || scopes.length === 0) {
+ return null;
+ }
+
+ // Heuristic selection from all scopes.
+ // If you would like to get all scopes, please use ScopeManager#acquireAll.
+ if (scopes.length === 1) {
+ return scopes[0];
+ }
+
+ if (inner) {
+ for (i = scopes.length - 1; i >= 0; --i) {
+ scope = scopes[i];
+ if (predicate(scope)) {
+ return scope;
+ }
+ }
+ } else {
+ for (i = 0, iz = scopes.length; i < iz; ++i) {
+ scope = scopes[i];
+ if (predicate(scope)) {
+ return scope;
+ }
+ }
+ }
+
+ return null;
+ }
+
+ /**
+ * acquire all scopes from node.
+ * @method ScopeManager#acquireAll
+ * @param {Esprima.Node} node - node for the acquired scope.
+ * @return {Scope[]?}
+ */
+
+ }, {
+ key: 'acquireAll',
+ value: function acquireAll(node) {
+ return this.__get(node);
+ }
+
+ /**
+ * release the node.
+ * @method ScopeManager#release
+ * @param {Esprima.Node} node - releasing node.
+ * @param {boolean=} inner - look up the most inner scope, default value is false.
+ * @return {Scope?} upper scope for the node.
+ */
+
+ }, {
+ key: 'release',
+ value: function release(node, inner) {
+ var scopes, scope;
+ scopes = this.__get(node);
+ if (scopes && scopes.length) {
+ scope = scopes[0].upper;
+ if (!scope) {
+ return null;
+ }
+ return this.acquire(scope.block, inner);
+ }
+ return null;
+ }
+ }, {
+ key: 'attach',
+ value: function attach() {}
+ }, {
+ key: 'detach',
+ value: function detach() {}
+ }, {
+ key: '__nestScope',
+ value: function __nestScope(scope) {
+ if (scope instanceof _scope.GlobalScope) {
+ (0, _assert2.default)(this.__currentScope === null);
+ this.globalScope = scope;
+ }
+ this.__currentScope = scope;
+ return scope;
+ }
+ }, {
+ key: '__nestGlobalScope',
+ value: function __nestGlobalScope(node) {
+ return this.__nestScope(new _scope.GlobalScope(this, node));
+ }
+ }, {
+ key: '__nestBlockScope',
+ value: function __nestBlockScope(node, isMethodDefinition) {
+ return this.__nestScope(new _scope.BlockScope(this, this.__currentScope, node));
+ }
+ }, {
+ key: '__nestFunctionScope',
+ value: function __nestFunctionScope(node, isMethodDefinition) {
+ return this.__nestScope(new _scope.FunctionScope(this, this.__currentScope, node, isMethodDefinition));
+ }
+ }, {
+ key: '__nestForScope',
+ value: function __nestForScope(node) {
+ return this.__nestScope(new _scope.ForScope(this, this.__currentScope, node));
+ }
+ }, {
+ key: '__nestCatchScope',
+ value: function __nestCatchScope(node) {
+ return this.__nestScope(new _scope.CatchScope(this, this.__currentScope, node));
+ }
+ }, {
+ key: '__nestWithScope',
+ value: function __nestWithScope(node) {
+ return this.__nestScope(new _scope.WithScope(this, this.__currentScope, node));
+ }
+ }, {
+ key: '__nestClassScope',
+ value: function __nestClassScope(node) {
+ return this.__nestScope(new _scope.ClassScope(this, this.__currentScope, node));
+ }
+ }, {
+ key: '__nestSwitchScope',
+ value: function __nestSwitchScope(node) {
+ return this.__nestScope(new _scope.SwitchScope(this, this.__currentScope, node));
+ }
+ }, {
+ key: '__nestModuleScope',
+ value: function __nestModuleScope(node) {
+ return this.__nestScope(new _scope.ModuleScope(this, this.__currentScope, node));
+ }
+ }, {
+ key: '__nestTDZScope',
+ value: function __nestTDZScope(node) {
+ return this.__nestScope(new _scope.TDZScope(this, this.__currentScope, node));
+ }
+ }, {
+ key: '__nestFunctionExpressionNameScope',
+ value: function __nestFunctionExpressionNameScope(node) {
+ return this.__nestScope(new _scope.FunctionExpressionNameScope(this, this.__currentScope, node));
+ }
+ }, {
+ key: '__isES6',
+ value: function __isES6() {
+ return this.__options.ecmaVersion >= 6;
+ }
+ }]);
+
+ return ScopeManager;
+}();
+
+/* vim: set sw=4 ts=4 et tw=80 : */
+
+
+exports.default = ScopeManager;
+//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNjb3BlLW1hbmFnZXIuanMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7O0FBd0JBOzs7O0FBQ0E7Ozs7QUFDQTs7Ozs7Ozs7Ozs7O0lBbUJxQjtBQUN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GUpIHtcbiAgICAgICAgICAgICAgICByZXR1cm4gZmFsc2U7XG4gICAgICAgICAgICB9XG4gICAgICAgICAgICBpZiAoc2NvcGUudHlwZSA9PT0gJ1REWicpIHtcbiAgICAgICAgICAgICAgICByZXR1cm4gZmFsc2U7XG4gICAgICAgICAgICB9XG4gICAgICAgICAgICByZXR1cm4gdHJ1ZTtcbiAgICAgICAgfVxuXG4gICAgICAgIHNjb3BlcyA9IHRoaXMuX19nZXQobm9kZSk7XG4gICAgICAgIGlmICghc2NvcGVzIHx8IHNjb3Blcy5sZW5ndGggPT09IDApIHtcbiAgICAgICAgICAgIHJldHVybiBudWxsO1xuICAgICAgICB9XG5cbiAgICAgICAgLy8gSGV1cmlzdGljIHNlbGVjdGlvbiBmcm9tIGFsbCBzY29wZXMuXG4gICAgICAgIC8vIElmIHlvdSB3b3VsZCBsaWtlIHRvIGdldCBhbGwgc2NvcGVzLCBwbGVhc2UgdXNlIFNjb3BlTWFuYWdlciNhY3F1aXJlQWxsLlxuICAgICAgICBpZiAoc2NvcGVzLmxlbmd0aCA9PT0gMSkge1xuICAgICAgICAgICAgcmV0dXJuIHNjb3Blc1swXTtcbiAgICAgICAgfVxuXG4gICAgICAgIGlmIChpbm5lcikge1xuICAgICAgICAgICAgZm9yIChpID0gc2NvcGVzLmxlbmd0aCAtIDE7IGkgPj0gMDsgLS1pKSB7XG4gICAgICAgICAgICAgICAgc2NvcGUgPSBzY29wZXNbaV07XG4gICAgICAgICAgICAgICAgaWYgKHByZWRpY2F0ZShzY29wZSkpIHtcbiAgICAgICAgICAgICAgICAgICAgcmV0dXJuIHNjb3BlO1xuICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgIH1cbiAgICAgICAgfSBlbHNlIHtcbiAgICAgICAgICAgIGZvciAoaSA9IDAsIGl6ID0gc2NvcGVzLmxlbmd0aDsgaSA8IGl6OyArK2kpIHtcbiAgICAgICAgICAgICAgICBzY29wZSA9IHNjb3Blc1tpXTtcbiAgICAgICAgICA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1cnJlbnRTY29wZSwgbm9kZSkpO1xuICAgIH1cblxuICAgIF9fbmVzdEZ1bmN0aW9uRXhwcmVzc2lvbk5hbWVTY29wZShub2RlKSB7XG4gICAgICAgIHJldHVybiB0aGlzLl9fbmVzdFNjb3BlKG5ldyBGdW5jdGlvbkV4cHJlc3Npb25OYW1lU2NvcGUodGhpcywgdGhpcy5fX2N1cnJlbnRTY29wZSwgbm9kZSkpO1xuICAgIH1cblxuICAgIF9faXNFUzYoKSB7XG4gICAgICAgIHJldHVybiB0aGlzLl9fb3B0aW9ucy5lY21hVmVyc2lvbiA+PSA2O1xuICAgIH1cbn1cblxuLyogdmltOiBzZXQgc3c9NCB0cz00IGV0IHR3PTgwIDogKi9cbiJdLCJzb3VyY2VSb290IjoiL3NvdXJjZS8ifQ==
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/escope/lib/scope.js b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/escope/lib/scope.js
new file mode 100644
index 0000000..88ded9c
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/escope/lib/scope.js
@@ -0,0 +1,764 @@
+'use strict';
+
+Object.defineProperty(exports, "__esModule", {
+ value: true
+});
+exports.ClassScope = exports.ForScope = exports.FunctionScope = exports.SwitchScope = exports.BlockScope = exports.TDZScope = exports.WithScope = exports.CatchScope = exports.FunctionExpressionNameScope = exports.ModuleScope = exports.GlobalScope = undefined;
+
+var _get = function get(object, property, receiver) { if (object === null) object = Function.prototype; var desc = Object.getOwnPropertyDescriptor(object, property); if (desc === undefined) { var parent = Object.getPrototypeOf(object); if (parent === null) { return undefined; } else { return get(parent, property, receiver); } } else if ("value" in desc) { return desc.value; } else { var getter = desc.get; if (getter === undefined) { return undefined; } return getter.call(receiver); } };
+
+var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }(); /*
+ Copyright (C) 2015 Yusuke Suzuki
+
+ Redistribution and use in source and binary forms, with or without
+ modification, are permitted provided that the following conditions are met:
+
+ * Redistributions of source code must retain the above copyright
+ notice, this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright
+ notice, this list of conditions and the following disclaimer in the
+ documentation and/or other materials provided with the distribution.
+
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ ARE DISCLAIMED. IN NO EVENT SHALL BE LIABLE FOR ANY
+ DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
+ (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
+ ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
+ THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+var _estraverse = require('estraverse');
+
+var _es6Map = require('es6-map');
+
+var _es6Map2 = _interopRequireDefault(_es6Map);
+
+var _reference = require('./reference');
+
+var _reference2 = _interopRequireDefault(_reference);
+
+var _variable = require('./variable');
+
+var _variable2 = _interopRequireDefault(_variable);
+
+var _definition = require('./definition');
+
+var _definition2 = _interopRequireDefault(_definition);
+
+var _assert = require('assert');
+
+var _assert2 = _interopRequireDefault(_assert);
+
+function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
+
+function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; }
+
+function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
+
+function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
+
+function isStrictScope(scope, block, isMethodDefinition, useDirective) {
+ var body, i, iz, stmt, expr;
+
+ // When upper scope is exists and strict, inner scope is also strict.
+ if (scope.upper && scope.upper.isStrict) {
+ return true;
+ }
+
+ // ArrowFunctionExpression's scope is always strict scope.
+ if (block.type === _estraverse.Syntax.ArrowFunctionExpression) {
+ return true;
+ }
+
+ if (isMethodDefinition) {
+ return true;
+ }
+
+ if (scope.type === 'class' || scope.type === 'module') {
+ return true;
+ }
+
+ if (scope.type === 'block' || scope.type === 'switch') {
+ return false;
+ }
+
+ if (scope.type === 'function') {
+ if (block.type === _estraverse.Syntax.Program) {
+ body = block;
+ } else {
+ body = block.body;
+ }
+ } else if (scope.type === 'global') {
+ body = block;
+ } else {
+ return false;
+ }
+
+ // Search 'use strict' directive.
+ if (useDirective) {
+ for (i = 0, iz = body.body.length; i < iz; ++i) {
+ stmt = body.body[i];
+ if (stmt.type !== _estraverse.Syntax.DirectiveStatement) {
+ break;
+ }
+ if (stmt.raw === '"use strict"' || stmt.raw === '\'use strict\'') {
+ return true;
+ }
+ }
+ } else {
+ for (i = 0, iz = body.body.length; i < iz; ++i) {
+ stmt = body.body[i];
+ if (stmt.type !== _estraverse.Syntax.ExpressionStatement) {
+ break;
+ }
+ expr = stmt.expression;
+ if (expr.type !== _estraverse.Syntax.Literal || typeof expr.value !== 'string') {
+ break;
+ }
+ if (expr.raw != null) {
+ if (expr.raw === '"use strict"' || expr.raw === '\'use strict\'') {
+ return true;
+ }
+ } else {
+ if (expr.value === 'use strict') {
+ return true;
+ }
+ }
+ }
+ }
+ return false;
+}
+
+function registerScope(scopeManager, scope) {
+ var scopes;
+
+ scopeManager.scopes.push(scope);
+
+ scopes = scopeManager.__nodeToScope.get(scope.block);
+ if (scopes) {
+ scopes.push(scope);
+ } else {
+ scopeManager.__nodeToScope.set(scope.block, [scope]);
+ }
+}
+
+function shouldBeStatically(def) {
+ return def.type === _variable2.default.ClassName || def.type === _variable2.default.Variable && def.parent.kind !== 'var';
+}
+
+/**
+ * @class Scope
+ */
+
+var Scope = function () {
+ function Scope(scopeManager, type, upperScope, block, isMethodDefinition) {
+ _classCallCheck(this, Scope);
+
+ /**
+ * One of 'TDZ', 'module', 'block', 'switch', 'function', 'catch', 'with', 'function', 'class', 'global'.
+ * @member {String} Scope#type
+ */
+ this.type = type;
+ /**
+ * The scoped {@link Variable}s of this scope, as { Variable.name
+ * : Variable }
.
+ * @member {Map} Scope#set
+ */
+ this.set = new _es6Map2.default();
+ /**
+ * The tainted variables of this scope, as { Variable.name :
+ * boolean }
.
+ * @member {Map} Scope#taints */
+ this.taints = new _es6Map2.default();
+ /**
+ * Generally, through the lexical scoping of JS you can always know
+ * which variable an identifier in the source code refers to. There are
+ * a few exceptions to this rule. With 'global' and 'with' scopes you
+ * can only decide at runtime which variable a reference refers to.
+ * Moreover, if 'eval()' is used in a scope, it might introduce new
+ * bindings in this or its parent scopes.
+ * All those scopes are considered 'dynamic'.
+ * @member {boolean} Scope#dynamic
+ */
+ this.dynamic = this.type === 'global' || this.type === 'with';
+ /**
+ * A reference to the scope-defining syntax node.
+ * @member {esprima.Node} Scope#block
+ */
+ this.block = block;
+ /**
+ * The {@link Reference|references} that are not resolved with this scope.
+ * @member {Reference[]} Scope#through
+ */
+ this.through = [];
+ /**
+ * The scoped {@link Variable}s of this scope. In the case of a
+ * 'function' scope this includes the automatic argument arguments as
+ * its first element, as well as all further formal arguments.
+ * @member {Variable[]} Scope#variables
+ */
+ this.variables = [];
+ /**
+ * Any variable {@link Reference|reference} found in this scope. This
+ * includes occurrences of local variables as well as variables from
+ * parent scopes (including the global scope). For local variables
+ * this also includes defining occurrences (like in a 'var' statement).
+ * In a 'function' scope this does not include the occurrences of the
+ * formal parameter in the parameter list.
+ * @member {Reference[]} Scope#references
+ */
+ this.references = [];
+
+ /**
+ * For 'global' and 'function' scopes, this is a self-reference. For
+ * other scope types this is the variableScope value of the
+ * parent scope.
+ * @member {Scope} Scope#variableScope
+ */
+ this.variableScope = this.type === 'global' || this.type === 'function' || this.type === 'module' ? this : upperScope.variableScope;
+ /**
+ * Whether this scope is created by a FunctionExpression.
+ * @member {boolean} Scope#functionExpressionScope
+ */
+ this.functionExpressionScope = false;
+ /**
+ * Whether this is a scope that contains an 'eval()' invocation.
+ * @member {boolean} Scope#directCallToEvalScope
+ */
+ this.directCallToEvalScope = false;
+ /**
+ * @member {boolean} Scope#thisFound
+ */
+ this.thisFound = false;
+
+ this.__left = [];
+
+ /**
+ * Reference to the parent {@link Scope|scope}.
+ * @member {Scope} Scope#upper
+ */
+ this.upper = upperScope;
+ /**
+ * Whether 'use strict' is in effect in this scope.
+ * @member {boolean} Scope#isStrict
+ */
+ this.isStrict = isStrictScope(this, block, isMethodDefinition, scopeManager.__useDirective());
+
+ /**
+ * List of nested {@link Scope}s.
+ * @member {Scope[]} Scope#childScopes
+ */
+ this.childScopes = [];
+ if (this.upper) {
+ this.upper.childScopes.push(this);
+ }
+
+ this.__declaredVariables = scopeManager.__declaredVariables;
+
+ registerScope(scopeManager, this);
+ }
+
+ _createClass(Scope, [{
+ key: '__shouldStaticallyClose',
+ value: function __shouldStaticallyClose(scopeManager) {
+ return !this.dynamic || scopeManager.__isOptimistic();
+ }
+ }, {
+ key: '__shouldStaticallyCloseForGlobal',
+ value: function __shouldStaticallyCloseForGlobal(ref) {
+ // On global scope, let/const/class declarations should be resolved statically.
+ var name = ref.identifier.name;
+ if (!this.set.has(name)) {
+ return false;
+ }
+
+ var variable = this.set.get(name);
+ var defs = variable.defs;
+ return defs.length > 0 && defs.every(shouldBeStatically);
+ }
+ }, {
+ key: '__staticCloseRef',
+ value: function __staticCloseRef(ref) {
+ if (!this.__resolve(ref)) {
+ this.__delegateToUpperScope(ref);
+ }
+ }
+ }, {
+ key: '__dynamicCloseRef',
+ value: function __dynamicCloseRef(ref) {
+ // notify all names are through to global
+ var current = this;
+ do {
+ current.through.push(ref);
+ current = current.upper;
+ } while (current);
+ }
+ }, {
+ key: '__globalCloseRef',
+ value: function __globalCloseRef(ref) {
+ // let/const/class declarations should be resolved statically.
+ // others should be resolved dynamically.
+ if (this.__shouldStaticallyCloseForGlobal(ref)) {
+ this.__staticCloseRef(ref);
+ } else {
+ this.__dynamicCloseRef(ref);
+ }
+ }
+ }, {
+ key: '__close',
+ value: function __close(scopeManager) {
+ var closeRef;
+ if (this.__shouldStaticallyClose(scopeManager)) {
+ closeRef = this.__staticCloseRef;
+ } else if (this.type !== 'global') {
+ closeRef = this.__dynamicCloseRef;
+ } else {
+ closeRef = this.__globalCloseRef;
+ }
+
+ // Try Resolving all references in this scope.
+ for (var i = 0, iz = this.__left.length; i < iz; ++i) {
+ var ref = this.__left[i];
+ closeRef.call(this, ref);
+ }
+ this.__left = null;
+
+ return this.upper;
+ }
+ }, {
+ key: '__resolve',
+ value: function __resolve(ref) {
+ var variable, name;
+ name = ref.identifier.name;
+ if (this.set.has(name)) {
+ variable = this.set.get(name);
+ variable.references.push(ref);
+ variable.stack = variable.stack && ref.from.variableScope === this.variableScope;
+ if (ref.tainted) {
+ variable.tainted = true;
+ this.taints.set(variable.name, true);
+ }
+ ref.resolved = variable;
+ return true;
+ }
+ return false;
+ }
+ }, {
+ key: '__delegateToUpperScope',
+ value: function __delegateToUpperScope(ref) {
+ if (this.upper) {
+ this.upper.__left.push(ref);
+ }
+ this.through.push(ref);
+ }
+ }, {
+ key: '__addDeclaredVariablesOfNode',
+ value: function __addDeclaredVariablesOfNode(variable, node) {
+ if (node == null) {
+ return;
+ }
+
+ var variables = this.__declaredVariables.get(node);
+ if (variables == null) {
+ variables = [];
+ this.__declaredVariables.set(node, variables);
+ }
+ if (variables.indexOf(variable) === -1) {
+ variables.push(variable);
+ }
+ }
+ }, {
+ key: '__defineGeneric',
+ value: function __defineGeneric(name, set, variables, node, def) {
+ var variable;
+
+ variable = set.get(name);
+ if (!variable) {
+ variable = new _variable2.default(name, this);
+ set.set(name, variable);
+ variables.push(variable);
+ }
+
+ if (def) {
+ variable.defs.push(def);
+ if (def.type !== _variable2.default.TDZ) {
+ this.__addDeclaredVariablesOfNode(variable, def.node);
+ this.__addDeclaredVariablesOfNode(variable, def.parent);
+ }
+ }
+ if (node) {
+ variable.identifiers.push(node);
+ }
+ }
+ }, {
+ key: '__define',
+ value: function __define(node, def) {
+ if (node && node.type === _estraverse.Syntax.Identifier) {
+ this.__defineGeneric(node.name, this.set, this.variables, node, def);
+ }
+ }
+ }, {
+ key: '__referencing',
+ value: function __referencing(node, assign, writeExpr, maybeImplicitGlobal, partial, init) {
+ // because Array element may be null
+ if (!node || node.type !== _estraverse.Syntax.Identifier) {
+ return;
+ }
+
+ // Specially handle like `this`.
+ if (node.name === 'super') {
+ return;
+ }
+
+ var ref = new _reference2.default(node, this, assign || _reference2.default.READ, writeExpr, maybeImplicitGlobal, !!partial, !!init);
+ this.references.push(ref);
+ this.__left.push(ref);
+ }
+ }, {
+ key: '__detectEval',
+ value: function __detectEval() {
+ var current;
+ current = this;
+ this.directCallToEvalScope = true;
+ do {
+ current.dynamic = true;
+ current = current.upper;
+ } while (current);
+ }
+ }, {
+ key: '__detectThis',
+ value: function __detectThis() {
+ this.thisFound = true;
+ }
+ }, {
+ key: '__isClosed',
+ value: function __isClosed() {
+ return this.__left === null;
+ }
+
+ /**
+ * returns resolved {Reference}
+ * @method Scope#resolve
+ * @param {Esprima.Identifier} ident - identifier to be resolved.
+ * @return {Reference}
+ */
+
+ }, {
+ key: 'resolve',
+ value: function resolve(ident) {
+ var ref, i, iz;
+ (0, _assert2.default)(this.__isClosed(), 'Scope should be closed.');
+ (0, _assert2.default)(ident.type === _estraverse.Syntax.Identifier, 'Target should be identifier.');
+ for (i = 0, iz = this.references.length; i < iz; ++i) {
+ ref = this.references[i];
+ if (ref.identifier === ident) {
+ return ref;
+ }
+ }
+ return null;
+ }
+
+ /**
+ * returns this scope is static
+ * @method Scope#isStatic
+ * @return {boolean}
+ */
+
+ }, {
+ key: 'isStatic',
+ value: function isStatic() {
+ return !this.dynamic;
+ }
+
+ /**
+ * returns this scope has materialized arguments
+ * @method Scope#isArgumentsMaterialized
+ * @return {boolean}
+ */
+
+ }, {
+ key: 'isArgumentsMaterialized',
+ value: function isArgumentsMaterialized() {
+ return true;
+ }
+
+ /**
+ * returns this scope has materialized `this` reference
+ * @method Scope#isThisMaterialized
+ * @return {boolean}
+ */
+
+ }, {
+ key: 'isThisMaterialized',
+ value: function isThisMaterialized() {
+ return true;
+ }
+ }, {
+ key: 'isUsedName',
+ value: function isUsedName(name) {
+ if (this.set.has(name)) {
+ return true;
+ }
+ for (var i = 0, iz = this.through.length; i < iz; ++i) {
+ if (this.through[i].identifier.name === name) {
+ return true;
+ }
+ }
+ return false;
+ }
+ }]);
+
+ return Scope;
+}();
+
+exports.default = Scope;
+
+var GlobalScope = exports.GlobalScope = function (_Scope) {
+ _inherits(GlobalScope, _Scope);
+
+ function GlobalScope(scopeManager, block) {
+ _classCallCheck(this, GlobalScope);
+
+ var _this = _possibleConstructorReturn(this, Object.getPrototypeOf(GlobalScope).call(this, scopeManager, 'global', null, block, false));
+
+ _this.implicit = {
+ set: new _es6Map2.default(),
+ variables: [],
+ /**
+ * List of {@link Reference}s that are left to be resolved (i.e. which
+ * need to be linked to the variable they refer to).
+ * @member {Reference[]} Scope#implicit#left
+ */
+ left: []
+ };
+ return _this;
+ }
+
+ _createClass(GlobalScope, [{
+ key: '__close',
+ value: function __close(scopeManager) {
+ var implicit = [];
+ for (var i = 0, iz = this.__left.length; i < iz; ++i) {
+ var ref = this.__left[i];
+ if (ref.__maybeImplicitGlobal && !this.set.has(ref.identifier.name)) {
+ implicit.push(ref.__maybeImplicitGlobal);
+ }
+ }
+
+ // create an implicit global variable from assignment expression
+ for (var _i = 0, _iz = implicit.length; _i < _iz; ++_i) {
+ var info = implicit[_i];
+ this.__defineImplicit(info.pattern, new _definition2.default(_variable2.default.ImplicitGlobalVariable, info.pattern, info.node, null, null, null));
+ }
+
+ this.implicit.left = this.__left;
+
+ return _get(Object.getPrototypeOf(GlobalScope.prototype), '__close', this).call(this, scopeManager);
+ }
+ }, {
+ key: '__defineImplicit',
+ value: function __defineImplicit(node, def) {
+ if (node && node.type === _estraverse.Syntax.Identifier) {
+ this.__defineGeneric(node.name, this.implicit.set, this.implicit.variables, node, def);
+ }
+ }
+ }]);
+
+ return GlobalScope;
+}(Scope);
+
+var ModuleScope = exports.ModuleScope = function (_Scope2) {
+ _inherits(ModuleScope, _Scope2);
+
+ function ModuleScope(scopeManager, upperScope, block) {
+ _classCallCheck(this, ModuleScope);
+
+ return _possibleConstructorReturn(this, Object.getPrototypeOf(ModuleScope).call(this, scopeManager, 'module', upperScope, block, false));
+ }
+
+ return ModuleScope;
+}(Scope);
+
+var FunctionExpressionNameScope = exports.FunctionExpressionNameScope = function (_Scope3) {
+ _inherits(FunctionExpressionNameScope, _Scope3);
+
+ function FunctionExpressionNameScope(scopeManager, upperScope, block) {
+ _classCallCheck(this, FunctionExpressionNameScope);
+
+ var _this3 = _possibleConstructorReturn(this, Object.getPrototypeOf(FunctionExpressionNameScope).call(this, scopeManager, 'function-expression-name', upperScope, block, false));
+
+ _this3.__define(block.id, new _definition2.default(_variable2.default.FunctionName, block.id, block, null, null, null));
+ _this3.functionExpressionScope = true;
+ return _this3;
+ }
+
+ return FunctionExpressionNameScope;
+}(Scope);
+
+var CatchScope = exports.CatchScope = function (_Scope4) {
+ _inherits(CatchScope, _Scope4);
+
+ function CatchScope(scopeManager, upperScope, block) {
+ _classCallCheck(this, CatchScope);
+
+ return _possibleConstructorReturn(this, Object.getPrototypeOf(CatchScope).call(this, scopeManager, 'catch', upperScope, block, false));
+ }
+
+ return CatchScope;
+}(Scope);
+
+var WithScope = exports.WithScope = function (_Scope5) {
+ _inherits(WithScope, _Scope5);
+
+ function WithScope(scopeManager, upperScope, block) {
+ _classCallCheck(this, WithScope);
+
+ return _possibleConstructorReturn(this, Object.getPrototypeOf(WithScope).call(this, scopeManager, 'with', upperScope, block, false));
+ }
+
+ _createClass(WithScope, [{
+ key: '__close',
+ value: function __close(scopeManager) {
+ if (this.__shouldStaticallyClose(scopeManager)) {
+ return _get(Object.getPrototypeOf(WithScope.prototype), '__close', this).call(this, scopeManager);
+ }
+
+ for (var i = 0, iz = this.__left.length; i < iz; ++i) {
+ var ref = this.__left[i];
+ ref.tainted = true;
+ this.__delegateToUpperScope(ref);
+ }
+ this.__left = null;
+
+ return this.upper;
+ }
+ }]);
+
+ return WithScope;
+}(Scope);
+
+var TDZScope = exports.TDZScope = function (_Scope6) {
+ _inherits(TDZScope, _Scope6);
+
+ function TDZScope(scopeManager, upperScope, block) {
+ _classCallCheck(this, TDZScope);
+
+ return _possibleConstructorReturn(this, Object.getPrototypeOf(TDZScope).call(this, scopeManager, 'TDZ', upperScope, block, false));
+ }
+
+ return TDZScope;
+}(Scope);
+
+var BlockScope = exports.BlockScope = function (_Scope7) {
+ _inherits(BlockScope, _Scope7);
+
+ function BlockScope(scopeManager, upperScope, block) {
+ _classCallCheck(this, BlockScope);
+
+ return _possibleConstructorReturn(this, Object.getPrototypeOf(BlockScope).call(this, scopeManager, 'block', upperScope, block, false));
+ }
+
+ return BlockScope;
+}(Scope);
+
+var SwitchScope = exports.SwitchScope = function (_Scope8) {
+ _inherits(SwitchScope, _Scope8);
+
+ function SwitchScope(scopeManager, upperScope, block) {
+ _classCallCheck(this, SwitchScope);
+
+ return _possibleConstructorReturn(this, Object.getPrototypeOf(SwitchScope).call(this, scopeManager, 'switch', upperScope, block, false));
+ }
+
+ return SwitchScope;
+}(Scope);
+
+var FunctionScope = exports.FunctionScope = function (_Scope9) {
+ _inherits(FunctionScope, _Scope9);
+
+ function FunctionScope(scopeManager, upperScope, block, isMethodDefinition) {
+ _classCallCheck(this, FunctionScope);
+
+ // section 9.2.13, FunctionDeclarationInstantiation.
+ // NOTE Arrow functions never have an arguments objects.
+
+ var _this9 = _possibleConstructorReturn(this, Object.getPrototypeOf(FunctionScope).call(this, scopeManager, 'function', upperScope, block, isMethodDefinition));
+
+ if (_this9.block.type !== _estraverse.Syntax.ArrowFunctionExpression) {
+ _this9.__defineArguments();
+ }
+ return _this9;
+ }
+
+ _createClass(FunctionScope, [{
+ key: 'isArgumentsMaterialized',
+ value: function isArgumentsMaterialized() {
+ // TODO(Constellation)
+ // We can more aggressive on this condition like this.
+ //
+ // function t() {
+ // // arguments of t is always hidden.
+ // function arguments() {
+ // }
+ // }
+ if (this.block.type === _estraverse.Syntax.ArrowFunctionExpression) {
+ return false;
+ }
+
+ if (!this.isStatic()) {
+ return true;
+ }
+
+ var variable = this.set.get('arguments');
+ (0, _assert2.default)(variable, 'Always have arguments variable.');
+ return variable.tainted || variable.references.length !== 0;
+ }
+ }, {
+ key: 'isThisMaterialized',
+ value: function isThisMaterialized() {
+ if (!this.isStatic()) {
+ return true;
+ }
+ return this.thisFound;
+ }
+ }, {
+ key: '__defineArguments',
+ value: function __defineArguments() {
+ this.__defineGeneric('arguments', this.set, this.variables, null, null);
+ this.taints.set('arguments', true);
+ }
+ }]);
+
+ return FunctionScope;
+}(Scope);
+
+var ForScope = exports.ForScope = function (_Scope10) {
+ _inherits(ForScope, _Scope10);
+
+ function ForScope(scopeManager, upperScope, block) {
+ _classCallCheck(this, ForScope);
+
+ return _possibleConstructorReturn(this, Object.getPrototypeOf(ForScope).call(this, scopeManager, 'for', upperScope, block, false));
+ }
+
+ return ForScope;
+}(Scope);
+
+var ClassScope = exports.ClassScope = function (_Scope11) {
+ _inherits(ClassScope, _Scope11);
+
+ function ClassScope(scopeManager, upperScope, block) {
+ _classCallCheck(this, ClassScope);
+
+ return _possibleConstructorReturn(this, Object.getPrototypeOf(ClassScope).call(this, scopeManager, 'class', upperScope, block, false));
+ }
+
+ return ClassScope;
+}(Scope);
+
+/* vim: set sw=4 ts=4 et tw=80 : */
+//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNjb3BlLmpzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7OztBQXdCQTs7QUFDQTs7OztBQUVBOzs7O0FBQ0E7Ozs7QUFDQTs7OztBQUNBOzs7Ozs7Ozs7Ozs7QUFFQSxTQUFTLGFBQVQsQ0FBdUIsS0FBdkIsRUFBOEIsS0FBOUIsRUFBcUMsa0JBQXJDLEVBQXlELFlBQXpELEVBQXVFO0FBQ25FLFFBQUksSUFBSixFQUFVLENBQVYsRUFBYSxFQUFiLEVBQWlCLElBQWpCLEVBQXVCLElBQXZCOzs7QUFEbUUsUUFJL0QsTUFBTSxLQUFOLElBQWUsTUFBTSxLQUFOLENBQVksUUFBWixFQUFzQjtBQUNyQyxlQUFPLElBQVAsQ0FEcUM7S0FBekM7OztBQUptRSxRQVMvRCxNQUFNLElBQU4sS0FBZSxtQkFBTyx1QkFBUCxFQUFnQztBQUMvQyxlQUFPLElBQVAsQ0FEK0M7S0FBbkQ7O0FBSUEsUUFBSSxrQkFBSixFQUF3QjtBQUNwQixlQUFPLElBQVAsQ0FEb0I7S0FBeEI7O0FBSUEsUUFBSSxNQUFNLElBQU4sS0FBZSxPQUFmLElBQTBCLE1BQU0sSUFBTixLQUFlLFFBQWYsRUFB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aztcbiAgICB9IGVsc2Uge1xuICAgICAgICByZXR1cm4gZmFsc2U7XG4gICAgfVxuXG4gICAgLy8gU2VhcmNoICd1c2Ugc3RyaWN0JyBkaXJlY3RpdmUuXG4gICAgaWYgKHVzZURpcmVjdGl2ZSkge1xuICAgICAgICBmb3IgKGkgPSAwLCBpeiA9IGJvZHkuYm9keS5sZW5ndGg7IGkgPCBpejsgKytpKSB7XG4gICAgICAgICAgICBzdG10ID0gYm9keS5ib2R5W2ldO1xuICAgICAgICAgICAgaWYgKHN0bXQudHlwZSAhPT0gU3ludGF4LkRpcmVjdGl2ZVN0YXRlbWVudCkge1xuICAgICAgICAgICAgICAgIGJyZWFrO1xuICAgICAgICAgICAgfVxuICAgICAgICAgICAgaWYgKHN0bXQucmF3ID09PSAnXCJ1c2Ugc3RyaWN0XCInIHx8IHN0bXQucmF3ID09PSAnXFwndXNlIHN0cmljdFxcJycpIHtcbiAgICAgICAgICAgICAgICByZXR1cm4gdHJ1ZTtcbiAgICAgICAgICAgIH1cbiAgICAgICAgfVxuICAgIH0gZWxzZSB7XG4gICAgICAgIGZvciAoaSA9IDAsIGl6ID0gYm9keS5ib2R5Lmxlbmd0aDsgaSA8IGl6OyArK2kpIHtcbiAgICAgICAgICAgIHN0bXQgPSBib2R5LmJvZHlbaV07XG4gICAgICAgICAgICBpZiAoc3RtdC50eXBlICE9PSBTeW50YXguRXhwcmVzc2lvblN0YXRlbWVudCkge1xuICAgICAgICAgICAgICAgIGJyZWFrO1xuICAgICAgICAgICAgfVxuICAgICAgICAgICAgZXhwciA9IHN0bXQuZXhwcmVzc2lvbjtcbiAgICAgICAgICAgIGlmIChleHByLnR5cGUgIT09IFN5bnRheC5MaXRlcmFsIHx8IHR5cGVvZiBleHByLnZhbHVlICE9PSAnc3RyaW5nJykge1xuICAgICAgICAgICAgICAgIGJyZWFrO1xuICAgICAgICAgICAgfVxuICAgICAgICAgICAgaWYgKGV4cHIucmF3ICE9IG51bGwpIHtcbiAgICAgICAgICAgICAgICBpZiAoZXhwci5yYXcgPT09ICdcInVzZSBzdHJpY3RcIicgfHwgZXhwci5yYXcgPT09ICdcXCd1c2Ugc3RyaWN0XFwnJykge1xuICAgICAgICAgICAgICAgICAgICByZXR1cm4gdHJ1ZTtcbiAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICB9IGVsc2Uge1xuICAgICAgICAgICAgICAgIGlmIChleHByLnZhbHVlID09PSAndXNlIHN0cmljdCcpIHtcbiAgICAgICAgICAgICAgICAgICAgcmV0dXJuIHRydWU7XG4gICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgfVxuICAgICAgICB9XG4gICAgfVxuICAgIHJldHVybiBmYWxzZTtcbn1cblxuZnVuY3Rpb24gcmVnaXN0ZXJTY29wZShzY29wZU1hbmFnZXIsIHNjb3BlKSB7XG4gICAgdmFyIHNjb3BlcztcblxuICAgIHNjb3BlTWFuYWdlci5zY29wZXMucHVzaChzY29wZSk7XG5cbiAgICBzY29wZXMgPSBzY29wZU1hbmFnZXIuX19ub2RlVG9TY29wZS5nZXQoc2NvcGUuYmxvY2spO1xuICAgIGlmIChzY29wZXMpIHtcbiAgICAgICAgc2NvcGVzLnB1c2goc2NvcGUpO1xuICAgIH0gZWxzZSB7XG4gICAgICAgIHNjb3BlTWFuYWdlci5fX25vZGVUb1Njb3BlLnNldChzY29wZS5ibG9jaywgWyBzY29wZSBdKTtcbiAgICB9XG59XG5cbmZ1bmN0aW9uIHNob3VsZEJlU3RhdGljYWxseShkZWYpIHtcbiAgICByZXR1cm4gKFxuICAgICAgICAoZGVmLnR5cGUgPT09IFZhcmlhYmxlLkNsYXNzTmFtZSkgfHxcbiAgICAgICAgKGRlZi50eXBlID09PSBWYXJpYWJsZS5WYXJpYWJsZSAmJiBkZWYucGFyZW50LmtpbmQgIT09ICd2YXInKVxuICAgICk7XG59XG5cbi8qKlxuICogQGNsYXNzIFNjb3BlXG4gKi9cbmV4cG9ydCBkZWZhdWx0IGNsYXNzIFNjb3BlIHtcb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2YWxTY29wZVxuICAgICAgICAgKi9cbiAgICAgICAgdGhpcy5kaXJlY3RDYWxsVG9FdmFsU2NvcGUgPSBmYWxzZTtcbiAgICAgICAgIC8qKlxuICAgICAgICAgKiBAbWVtYmVyIHtib29sZWFufSBTY29wZSN0aGlzRm91bmRcbiAgICAgICAgICovXG4gICAgICAgIHRoaXMudGhpc0ZvdW5kID0gZmFsc2U7XG5cbiAgICAgICAgdGhpcy5fX2xlZnQgPSBbXTtcblxuICAgICAgICAgLyoqXG4gICAgICAgICAqIFJlZmVyZW5jZSB0byB0aGUgcGFyZW50IHtAbGluayBTY29wZXxzY29wZX0uXG4gICAgICAgICAqIEBtZW1iZXIge1Njb3BlfSBTY29wZSN1cHBlclxuICAgICAgICAgKi9cbiAgICAgICAgdGhpcy51cHBlciA9IHVwcGVyU2NvcGU7XG4gICAgICAgICAvKipcbiAgICAgICAgICogV2hldGhlciAndXNlIHN0cmljdCcgaXMgaW4gZWZmZWN0IGluIHRoaXMgc2NvcGUuXG4gICAgICAgICAqIEBtZW1iZXIge2Jvb2xlYW59IFNjb3BlI2lzU3RyaWN0XG4gICAgICAgICAqL1xuICAgICAgICB0aGlzLmlzU3RyaWN0ID0gaXNTdHJpY3RTY29wZSh0aGlzLCBibG9jaywgaXNNZXRob2REZWZpbml0aW9uLCBzY29wZU1hbmFnZXIuX191c2VEaXJlY3RpdmUoKSk7XG5cbiAgICAgICAgIC8qKlxuICAgICAgICAgKiBMaXN0IG9mIG5lc3RlZCB7QGxpbmsgU2NvcGV9cy5cbiAgICAgICAgICogQG1lbWJlciB7U2NvcGVbXX0gU2NvcGUjY2hpbGRTY29wZXNcbiAgICAgICAgICovXG4gICAgICAgIHRoaXMuY2hpbGRTY29wZXMgPSBbXTtcbiAgICAgICAgaWYgKHRoaXMudXBwZXIpIHtcbiAgICAgICAgICAgIHRoaXMudXBwZXIuY2hpbGRTY29wZXMucHVzaCh0aGlzKTtcbiAgICAgICAgfVxuXG4gICAgICAgIHRoaXMuX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AgICAgICB9XG5cbiAgICAgICAgLy8gVHJ5IFJlc29sdmluZyBhbGwgcmVmZXJlbmNlcyBpbiB0aGlzIHNjb3BlLlxuICAgICAgICBmb3IgKGxldCBpID0gMCwgaXogPSB0aGlzLl9fbGVmdC5sZW5ndGg7IGkgPCBpejsgKytpKSB7XG4gICAgICAgICAgICBsZXQgcmVmID0gdGhpcy5fX2xlZnRbaV07XG4gICAgICAgICAgICBjbG9zZVJlZi5jYWxsKHRoaXMsIHJlZik7XG4gICAgICAgIH1cbiAgICAgICAgdGhpcy5fX2xlZnQgPSBudWxsO1xuXG4gICAgICAgIHJldHVybiB0aGlzLnVwcGVyO1xuICAgIH1cblxuICAgIF9fcmVzb2x2ZShyZWYpIHtcbiAgICAgICAgdmFyIHZhcmlhYmxlLCBuYW1lO1xuICAgICAgICBuYW1lID0gcmVmLmlkZW50aWZpZXIubmFtZTtcbiAgICAgICAgaWYgKHRoaXMuc2V0LmhhcyhuYW1lKSkge1xuICAgICAgICAgICAgdmFyaWFibGUgPSB0aGlzLnNldC5nZXQobmFtZSk7XG4gICAgICAgICAgICB2YXJpYWJsZS5yZWZlcmVuY2VzLnB1c2gocmVmKTtcbiAgICAgICAgICAgIHZhcmlhYmxlLnN0YWNrID0gdmFyaWFibGUuc3RhY2sgJiYgcmVmLmZyb20udmFyaWFibGVTY29wZSA9PT0gdGhpcy52YXJpYWJsZVNjb3BlO1xuICAgICAgICAgICAgaWYgKHJlZi50YWludGVkKSB7XG4gICAgICAgICAgICAgICAgdmFyaWFibGUudGFpbnRlZCA9IHRydWU7XG4gICAgICAgICAgICAgICAgdGhpcy50YWludHMuc2V0KHZhcmlhYmxlLm5hbWUsIHRydWUpO1xuICAgICAgICAgICAgfVxuICAgICAgICAgICAgcmVmLnJlc29sdmVkID0gdmFyaWFibGU7XG4gICAgICAgICAgICByZXR1cm4gdHJ1ZTtcbiAgICAgICAgfVxuICAgICAgICByZXR1cm4gZmFsc2U7XG4gICAgfVxuXG4gICAgX19kZW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ICAgICAgIH1cblxuICAgICAgICBpZiAoZGVmKSB7XG4gICAgICAgICAgICB2YXJpYWJsZS5kZWZzLnB1c2goZGVmKTtcbiAgICAgICAgICAgIGlmIChkZWYudHlwZSAhPT0gVmFyaWFibGUuVERaKSB7XG4gICAgICAgICAgICAgICAgdGhpcy5fX2FkZERlY2xhcmVkVmFyaWFibGVzT2ZOb2RlKHZhcmlhYmxlLCBkZWYubm9kZSk7XG4gICAgICAgICAgICAgICAgdGhpcy5fX2FkZERlY2xhcmVkVmFyaWFibGVzT2ZOb2RlKHZhcmlhYmxlLCBkZWYucGFyZW50KTtcbiAgICAgICAgICAgIH1cbiAgICAgICAgfVxuICAgICAgICBpZiAobm9kZSkge1xuICAgICAgICAgICAgdmFyaWFibGUuaWRlbnRpZmllcnMucHVzaChub2RlKTtcbiAgICAgICAgfVxuICAgIH1cblxuICAgIF9fZGVmaW5lKG5vZGUsIGRlZikge1xuICAgICAgICBpZiAobm9kZSAmJiBub2RlLnR5cGUgPT09IFN5bnRheC5JZGVudGlmaWVyKSB7XG4gICAgICAgICAgICB0aGlzLl9fZGVmaW5lR2VuZXJpYyhcbiAgICAgICAgICAgICAgICAgICAgbm9kZS5uYW1lLFxuICAgICAgICAgICAgICAgICAgICB0aGlzLnNldCxcbiAgICAgICAgICAgICAgICAgICAgdGhpcy52YXJpYWJsZXMsXG4gICAgICAgICAgICAgICAgICAgIG5vZGUsXG4gICAgICAgICAgICAgICAgICAgIGRlZik7XG4gICAgICAgIH1cbiAgICB9XG5cbiAgICBfX3JlZmVyZW5jaW5nKG5vZGUsIGFzc2lnbiwgd3JpdGVFeHByLCBtYXliZUltcGxpY2l0R2xvYmFsLCBwYXJ0aWFsLCBpbml0KSB7XG4gICAgICAgIC8vIGJlY2F1c2UgQXJyYXkgZWxlbWVudCBtYXkgYmUgbnVsbFxuICAgICAgICBpZiAoIW5vZGUgfHwgbm9kZS50eXBlICE9PSBTeW50YXguSWRlbnRpZmllcikge1xuICAgICAgICAgICAgc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RvIGJlIHJlc29sdmVkLlxuICAgICAqIEByZXR1cm4ge1JlZmVyZW5jZX1cbiAgICAgKi9cbiAgICByZXNvbHZlKGlkZW50KSB7XG4gICAgICAgIHZhciByZWYsIGksIGl6O1xuICAgICAgICBhc3NlcnQodGhpcy5fX2lzQ2xvc2VkKCksICdTY29wZSBzaG91bGQgYmUgY2xvc2VkLicpO1xuICAgICAgICBhc3NlcnQoaWRlbnQudHlwZSA9PT0gU3ludGF4LklkZW50aWZpZXIsICdUYXJnZXQgc2hvdWxkIGJlIGlkZW50aWZpZXIuJyk7XG4gICAgICAgIGZvciAoaSA9IDAsIGl6ID0gdGhpcy5yZWZlcmVuY2VzLmxlbmd0aDsgaSA8IGl6OyArK2kpIHtcbiAgICAgICAgICAgIHJlZiA9IHRoaXMucmVmZXJlbmNlc1tpXTtcbiAgICAgICAgICAgIGlmIChyZWYuaWRlbnRpZmllciA9PT0gaWRlbnQpIHtcbiAgICAgICAgICAgICAgICByZXR1cm4gcmVmO1xuICAgICAgICAgICAgfVxuICAgICAgICB9XG4gICAgICAgIHJldHVybiBudWxsO1xuICAgIH1cblxuICAgIC8qKlxuICAgICAqIHJldHVybnMgdGhpcyBzY29wZSBpcyBzdGF0aWNcbiAgICAgKiBAbWV0aG9kIFNjb3BlI2lzU3RhdGljXG4gICAgICogQHJldHVybiB7Ym9vbGVhbn1cbiAgICAgKi9cbiAgICBpc1N0YXRpYygpIHtcbiAgICAgICAgcmV0dXJuICF0aGlzLmR5bmFtaWM7XG4gICAgfVxuXG4gICAgLyoqXG4gICAgICogcmV0dXJucyB0aGlzIHNjb3BlIGhhcyBtYXRlcmlhbGl6ZWQgYXJndW1lbnRzXG4gICAgICogQG1ldGhvZCBTY29wZSNpc0FyZ3VtZW50c01hdGVyaWFsaXplZFxuICAgICAqIEByZXR1cm4ge2Jvb2xlYW59XG4gICAgICovXG4gICAgaXNBcmd1bWVudHNNYXRlcmlhbGl6ZWQoKSB7XG4gICAgICAgIHJldHVybiB0cnV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HJlc29sdmVkIChpLmUuIHdoaWNoXG4gICAgICAgICAgICAqIG5lZWQgdG8gYmUgbGlua2VkIHRvIHRoZSB2YXJpYWJsZSB0aGV5IHJlZmVyIHRvKS5cbiAgICAgICAgICAgICogQG1lbWJlciB7UmVmZXJlbmNlW119IFNjb3BlI2ltcGxpY2l0I2xlZnRcbiAgICAgICAgICAgICovXG4gICAgICAgICAgICBsZWZ0OiBbXVxuICAgICAgICB9O1xuICAgIH1cblxuICAgIF9fY2xvc2Uoc2NvcGVNYW5hZ2VyKSB7XG4gICAgICAgIGxldCBpbXBsaWNpdCA9IFtdO1xuICAgICAgICBmb3IgKGxldCBpID0gMCwgaXogPSB0aGlzLl9fbGVmdC5sZW5ndGg7IGkgPCBpejsgKytpKSB7XG4gICAgICAgICAgICBsZXQgcmVmID0gdGhpcy5fX2xlZnRbaV07XG4gICAgICAgICAgICBpZiAocmVmLl9fbWF5YmVJbXBsaWNpdEdsb2JhbCAmJiAhdGhpcy5zZXQuaGFzKHJlZi5pZGVudGlmaWVyLm5hbWUpKSB7XG4gICAgICAgICAgICAgICAgaW1wbGljaXQucHVzaChyZWYuX19tYXliZUltcGxpY2l0R2xvYmFsKTtcbiAgICAgICAgICAgIH1cbiAgICAgICAgfVxuXG4gICAgICAgIC8vIGNyZWF0ZSBhbiBpbXBsaWNpdCBnbG9iYWwgdmFyaWFibGUgZnJvbSBhc3NpZ25tZW50IGV4cHJlc3Npb25cbiAgICAgICAgZm9yIChsZXQgaSA9IDAsIGl6ID0gaW1wbGljaXQubGVuZ3RoOyBpIDwgaXo7ICsraSkge1xuICAgICAgICAgICAgbGV0IGluZm8gPSBpbXBsaWNpdFtpXTtcbiAgICAgICAgICAgIHRoaXMuX19kZWZpbmVJbXBsaWNpdChpbmZvLnBhdHRlcm4sXG4gICAgICAgICAgICAgICAgICAgIG5ldyBEZWZpbml0aW9uKFxuICAgICAgICAgICAgICAgICAgICAgICAgVmFyaWFibGUuSW1wbGljaXRHbG9iYWxWYXJpYWJsZSxcbiAgICAgICAgICAgICAgICAgICAgICAgIGluZm8ucGF0dGVybixcbiAgICAgICAgICAgICAgICAgICAgICAgIGluZm8ubm9kZSxcbiAgICAgICAgICAgICAgICAgICAgICAgIG51bGwsXG4gICAgICAgICAgICAgICAgICAgICAgICBudWxsLFxuICAgICAgICAgICAgICAgICAgICAgICAgbnVsbFxuICAgICAgICAgICAgICAgICAgICApKTtcblxuICAgICAgICB9XG5cbiAgICAgICAgdGhpcy5pbXBsaWNpdC5sZWZ0ID0gdGhpcy5fX2xlZnQ7XG5cbiAgICAgICAgcmV0dXJuIHN1cGVyLl9fY2xvc2Uoc2NvcGVNYW5hZ2VyKTtcbiAgICB9XG5cbiAgICBfX2RlZmluZUltcGxpY2l0KG5vZGUsIGRlZikge1xuICAgICAgICBpZiAobm9kZSAmJiBub2RlLnR5cGUgPT09IFN5bnRheC5JZGVudGlmaWVyKSB7XG4gICAgICAgICAgICB0aGlzLl9fZGVmaW5lR2VuZXJpYyhcbiAgICAgICAgICAgICAgICAgICAgbm9kZS5uYW1lLFxuICAgICAgICAgICAgICAgICAgICB0aGlzLmltcGxpY2l0LnNldCxcbiAgICAgICAgICAgICAgICAgICAgdGhpcy5pbXBsaWNpdC52YXJpYWJsZXMsXG4gICAgICAgICAgICAgICAgICAgIG5vZGUsXG4gICAgICAgICAgICAgICAgICAgIGRlZik7XG4gICAgICAgIH1cbiAgICB9XG59XG5cbmV4cG9ydCBjbGFzcyBNb2R1bGVTY29wZSBleHRlbmRzIFNjb3BlIHtcbiAgICBjb25zdHJ1Y3RvcihzY29wZU1hbmFnZXIsIHVwcGVyU2NvcGUsIGJsb2NrKSB7XG4gICAgICAgIHN1cGVyKHNjb3BlTWFuYWdlciwgJ21vZHVsZScsIHVwcGVyU2NvcGUsIGJsb2NrLCBmYWxzZSk7XG4gICAgfVxufVxuXG5leHBvcnQgY2xhc3MgRnVuY3Rpb25FeHByZXNzaW9uTmFtZVNjb3BlIGV4dGVuZHMgU2NvcGUge1xuICAgIGNvbnN0cnVjdG9yKHNjb3BlTWFuYWdlciwgdXBwZXJTY29wZSwgYmxvY2spIHtcbiAgICAgICAgc3VwZXIoc2NvcGVNYW5hZ2VyLCAnZnVuY3Rpb24tZXhwcmVzc2lvbi1uYW1lJywgdXBwZXJTY29wZSwgYmxvY2ssIGZhbHNlKTtcbiAgICAgICAgdGhpcy5fX2RlZmluZShibG9jay5pZCxcbiAgICAgICAgICAgICAgICBuZXcgRGVmaW5pdGlvbihcbiAgICAgICAgICAgICAgICAgICAgVmFyaWFibGUuRnVuY3Rpb25OYW1lLFxuICAgICAgICAgICAgICAgICAgICBibG9jay5pZCxcbiAgICAgICAgICAgICAgICAgICAgYmxvY2ssXG4gICAgICAgICAgICAgICAgICAgIG51bGwsXG4gICAgICAgICAgICAgICAgICAgIG51bGwsXG4gICAgICAgICAgICAgICAgICAgIG51bGxcbiAgICAgICAgICAgICAgICApKTtcbiAgICAgICAgdGhpcy5mdW5jdGlvbkV4cHJlc3Npb25TY29wZSA9IHRydWU7XG4gICAgfVxufVxuXG5leHBvcnQgY2xhc3MgQ2F0Y2hTY29wZSBleHRlbmRzIFNjb3BlIHtcbiAgICBjb25zdHJ1Y3RvcihzY29wZU1hbmFnZXIsIHVwcGVyU2NvcGUsIGJsb2NrKSB7XG4gICAgICAgIHN1cGVyKHNjb3BlTWFuYWdlciwgJ2NhdGNoJywgdXBwZXJTY29wZSwgYmxvY2ssIGZhbHNlKTtcbiAgICB9XG59XG5cbmV4cG9ydCBjbGFzcyBXaXRoU2NvcGUgZXh0ZW5kcyBTY29wZSB7XG4gICAgY29uc3RydWN0b3Ioc2NvcGVNYW5hZ2VyLCB1cHBlclNjb3BlLCBibG9jaykge1xuICAgICAgICBzdXBlcihzY29wZU1hbmFnZXIsICd3aXRoJywgdXBwZXJTY29wZSwgYmxvY2ssIGZhbHNlKTtcbiAgICB9XG5cbiAgICBfX2Nsb3NlKHNjb3BlTWFuYWdlcikge1xuICAgICAgICBpZiAodGhpc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2sudHlwZSA9PT0gU3ludGF4LkFycm93RnVuY3Rpb25FeHByZXNzaW9uKSB7XG4gICAgICAgICAgICByZXR1cm4gZmFsc2U7XG4gICAgICAgIH1cblxuICAgICAgICBpZiAoIXRoaXMuaXNTdGF0aWMoKSkge1xuICAgICAgICAgICAgcmV0dXJuIHRydWU7XG4gICAgICAgIH1cblxuICAgICAgICBsZXQgdmFyaWFibGUgPSB0aGlzLnNldC5nZXQoJ2FyZ3VtZW50cycpO1xuICAgICAgICBhc3NlcnQodmFyaWFibGUsICdBbHdheXMgaGF2ZSBhcmd1bWVudHMgdmFyaWFibGUuJyk7XG4gICAgICAgIHJldHVybiB2YXJpYWJsZS50YWludGVkIHx8IHZhcmlhYmxlLnJlZmVyZW5jZXMubGVuZ3RoICAhPT0gMDtcbiAgICB9XG5cbiAgICBpc1RoaXNNYXRlcmlhbGl6ZWQoKSB7XG4gICAgICAgIGlmICghdGhpcy5pc1N0YXRpYygpKSB7XG4gICAgICAgICAgICByZXR1cm4gdHJ1ZTtcbiAgICAgICAgfVxuICAgICAgICByZXR1cm4gdGhpcy50aGlzRm91bmQ7XG4gICAgfVxuXG4gICAgX19kZWZpbmVBcmd1bWVudHMoKSB7XG4gICAgICAgIHRoaXMuX19kZWZpbmVHZW5lcmljKFxuICAgICAgICAgICAgICAgICdhcmd1bWVudHMnLFxuICAgICAgICAgICAgICAgIHRoaXMuc2V0LFxuICAgICAgICAgICAgICAgIHRoaXMudmFyaWFibGVzLFxuICAgICAgICAgICAgICAgIG51bGwsXG4gICAgICAgICAgICAgICAgbnVsbCk7XG4gICAgICAgIHRoaXMudGFpbnRzLnNldCgnYXJndW1lbnRzJywgdHJ1ZSk7XG4gICAgfVxufVxuXG5leHBvcnQgY2xhc3MgRm9yU2NvcGUgZXh0ZW5kcyBTY29wZSB7XG4gICAgY29uc3RydWN0b3Ioc2NvcGVNYW5hZ2VyLCB1cHBlclNjb3BlLCBibG9jaykge1xuICAgICAgICBzdXBlcihzY29wZU1hbmFnZXIsICdmb3InLCB1cHBlclNjb3BlLCBibG9jaywgZmFsc2UpO1xuICAgIH1cbn1cblxuZXhwb3J0IGNsYXNzIENsYXNzU2NvcGUgZXh0ZW5kcyBTY29wZSB7XG4gICAgY29uc3RydWN0b3Ioc2NvcGVNYW5hZ2VyLCB1cHBlclNjb3BlLCBibG9jaykge1xuICAgICAgICBzdXBlcihzY29wZU1hbmFnZXIsICdjbGFzcycsIHVwcGVyU2NvcGUsIGJsb2NrLCBmYWxzZSk7XG4gICAgfVxufVxuXG4vKiB2aW06IHNldCBzdz00IHRzPTQgZXQgdHc9ODAgOiAqL1xuIl0sInNvdXJjZVJvb3QiOiIvc291cmNlLyJ9
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/escope/lib/variable.js b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/escope/lib/variable.js
new file mode 100644
index 0000000..2f972c2
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/escope/lib/variable.js
@@ -0,0 +1,94 @@
+'use strict';
+
+Object.defineProperty(exports, "__esModule", {
+ value: true
+});
+
+function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
+
+/*
+ Copyright (C) 2015 Yusuke Suzuki
+
+ Redistribution and use in source and binary forms, with or without
+ modification, are permitted provided that the following conditions are met:
+
+ * Redistributions of source code must retain the above copyright
+ notice, this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright
+ notice, this list of conditions and the following disclaimer in the
+ documentation and/or other materials provided with the distribution.
+
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ ARE DISCLAIMED. IN NO EVENT SHALL BE LIABLE FOR ANY
+ DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
+ (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
+ ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
+ THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+*/
+
+/**
+ * A Variable represents a locally scoped identifier. These include arguments to
+ * functions.
+ * @class Variable
+ */
+
+var Variable = function Variable(name, scope) {
+ _classCallCheck(this, Variable);
+
+ /**
+ * The variable name, as given in the source code.
+ * @member {String} Variable#name
+ */
+ this.name = name;
+ /**
+ * List of defining occurrences of this variable (like in 'var ...'
+ * statements or as parameter), as AST nodes.
+ * @member {esprima.Identifier[]} Variable#identifiers
+ */
+ this.identifiers = [];
+ /**
+ * List of {@link Reference|references} of this variable (excluding parameter entries)
+ * in its defining scope and all nested scopes. For defining
+ * occurrences only see {@link Variable#defs}.
+ * @member {Reference[]} Variable#references
+ */
+ this.references = [];
+
+ /**
+ * List of defining occurrences of this variable (like in 'var ...'
+ * statements or as parameter), as custom objects.
+ * @member {Definition[]} Variable#defs
+ */
+ this.defs = [];
+
+ this.tainted = false;
+ /**
+ * Whether this is a stack variable.
+ * @member {boolean} Variable#stack
+ */
+ this.stack = true;
+ /**
+ * Reference to the enclosing Scope.
+ * @member {Scope} Variable#scope
+ */
+ this.scope = scope;
+};
+
+exports.default = Variable;
+
+
+Variable.CatchClause = 'CatchClause';
+Variable.Parameter = 'Parameter';
+Variable.FunctionName = 'FunctionName';
+Variable.ClassName = 'ClassName';
+Variable.Variable = 'Variable';
+Variable.ImportBinding = 'ImportBinding';
+Variable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模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/escope/package.json b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/escope/package.json
new file mode 100644
index 0000000..018dc7b
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/escope/package.json
@@ -0,0 +1,57 @@
+{
+ "name": "escope",
+ "description": "ECMAScript scope analyzer",
+ "homepage": "http://github.com/estools/escope",
+ "main": "lib/index.js",
+ "version": "3.6.0",
+ "engines": {
+ "node": ">=0.4.0"
+ },
+ "maintainers": [
+ {
+ "name": "Yusuke Suzuki",
+ "email": "utatane.tea@gmail.com",
+ "web": "http://github.com/Constellation"
+ }
+ ],
+ "repository": {
+ "type": "git",
+ "url": "https://github.com/estools/escope.git"
+ },
+ "dependencies": {
+ "es6-map": "^0.1.3",
+ "es6-weak-map": "^2.0.1",
+ "esrecurse": "^4.1.0",
+ "estraverse": "^4.1.1"
+ },
+ "devDependencies": {
+ "babel": "^6.3.26",
+ "babel-preset-es2015": "^6.3.13",
+ "babel-register": "^6.3.13",
+ "browserify": "^13.0.0",
+ "chai": "^3.4.1",
+ "espree": "^3.1.1",
+ "esprima": "^2.7.1",
+ "gulp": "^3.9.0",
+ "gulp-babel": "^6.1.1",
+ "gulp-bump": "^1.0.0",
+ "gulp-eslint": "^1.1.1",
+ "gulp-espower": "^1.0.2",
+ "gulp-filter": "^3.0.1",
+ "gulp-git": "^1.6.1",
+ "gulp-mocha": "^2.2.0",
+ "gulp-plumber": "^1.0.1",
+ "gulp-sourcemaps": "^1.6.0",
+ "gulp-tag-version": "^1.3.0",
+ "jsdoc": "^3.4.0",
+ "lazypipe": "^1.0.1",
+ "vinyl-source-stream": "^1.1.0"
+ },
+ "license": "BSD-2-Clause",
+ "scripts": {
+ "test": "gulp travis",
+ "unit-test": "gulp test",
+ "lint": "gulp lint",
+ "jsdoc": "jsdoc src/*.js README.md"
+ }
+}
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/escope/powered-test/arguments.js b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/escope/powered-test/arguments.js
new file mode 100644
index 0000000..5b84106
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/escope/powered-test/arguments.js
@@ -0,0 +1,34 @@
+(function() {
+ var escope, esprima, expect, harmony;
+
+ expect = require('chai').expect;
+
+ esprima = require('esprima');
+
+ harmony = require('../third_party/esprima');
+
+ escope = require('..');
+
+ describe('arguments', function() {
+ return it('arguments are correctly materialized', function() {
+ var ast, globalScope, scope, scopeManager;
+ ast = esprima.parse("(function () {\n arguments;\n}());");
+ scopeManager = escope.analyze(ast);
+ expect(scopeManager.scopes).to.have.length(2);
+ globalScope = scopeManager.scopes[0];
+ expect(globalScope.type).to.be.equal('global');
+ expect(globalScope.variables).to.have.length(0);
+ expect(globalScope.references).to.have.length(0);
+ scope = scopeManager.scopes[1];
+ expect(scope.type).to.be.equal('function');
+ expect(scope.variables).to.have.length(1);
+ expect(scope.variables[0].name).to.be.equal('arguments');
+ expect(scope.isArgumentsMaterialized()).to.be["true"];
+ expect(scope.references).to.have.length(1);
+ return expect(scope.references[0].resolved).to.be.equal(scope.variables[0]);
+ });
+ });
+
+}).call(this);
+
+//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImFyZ3VtZW50cy5jb2ZmZWUiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBdUJBO0FBQUEsTUFBQSxnQ0FBQTs7QUFBQSxFQUFBLE1BQUEsR0FBUyxPQUFBLENBQVMsTUFBVCxDQUFlLENBQUMsTUFBekIsQ0FBQTs7QUFBQSxFQUNBLE9BQUEsR0FBVSxPQUFBLENBQVMsU0FBVCxDQURWLENBQUE7O0FBQUEsRUFFQSxPQUFBLEdBQVUsT0FBQSxDQUFTLHdCQUFULENBRlYsQ0FBQTs7QUFBQSxFQUdBLE1BQ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gICB9KCkpO1xuICAgICAgICBcIlwiXCJcblxuICAgICAgICBzY29wZU1hbmFnZXIgPSBlc2NvcGUuYW5hbHl6ZSBhc3RcbiAgICAgICAgZXhwZWN0KHNjb3BlTWFuYWdlci5zY29wZXMpLnRvLmhhdmUubGVuZ3RoIDJcbiAgICAgICAgZ2xvYmFsU2NvcGUgPSBzY29wZU1hbmFnZXIuc2NvcGVzWzBdXG4gICAgICAgIGV4cGVjdChnbG9iYWxTY29wZS50eXBlKS50by5iZS5lcXVhbCAnZ2xvYmFsJ1xuICAgICAgICBleHBlY3QoZ2xvYmFsU2NvcGUudmFyaWFibGVzKS50by5oYXZlLmxlbmd0aCAwXG4gICAgICAgIGV4cGVjdChnbG9iYWxTY29wZS5yZWZlcmVuY2VzKS50by5oYXZlLmxlbmd0aCAwXG5cbiAgICAgICAgc2NvcGUgPSBzY29wZU1hbmFnZXIuc2NvcGVzWzFdXG4gICAgICAgIGV4cGVjdChzY29wZS50eXBlKS50by5iZS5lcXVhbCAnZnVuY3Rpb24nXG4gICAgICAgIGV4cGVjdChzY29wZS52YXJpYWJsZXMpLnRvLmhhdmUubGVuZ3RoIDFcbiAgICAgICAgZXhwZWN0KHNjb3BlLnZhcmlhYmxlc1swXS5uYW1lKS50by5iZS5lcXVhbCAnYXJndW1lbnRzJ1xuICAgICAgICBleHBlY3Qoc2NvcGUuaXNBcmd1bWVudHNNYXRlcmlhbGl6ZWQoKSkudG8uYmUudHJ1ZVxuICAgICAgICBleHBlY3Qoc2NvcGUucmVmZXJlbmNlcykudG8uaGF2ZS5sZW5ndGggMVxuICAgICAgICBleHBlY3Qoc2NvcGUucmVmZXJlbmNlc1swXS5yZXNvbHZlZCkudG8uYmUuZXF1YWwgc2NvcGUudmFyaWFibGVzWzBdXG5cbiMgdmltOiBzZXQgc3c9NCB0cz00IGV0IHR3PTgwIDpcbiJdfQ==
\ No newline at end of file
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/escope/powered-test/catch-scope.js b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/escope/powered-test/catch-scope.js
new file mode 100644
index 0000000..34fa165
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/escope/powered-test/catch-scope.js
@@ -0,0 +1,39 @@
+(function() {
+ var escope, esprima, expect, harmony;
+
+ expect = require('chai').expect;
+
+ esprima = require('esprima');
+
+ harmony = require('../third_party/esprima');
+
+ escope = require('..');
+
+ describe('catch', function() {
+ return it('creates scope', function() {
+ var ast, globalScope, scope, scopeManager;
+ ast = esprima.parse("(function () {\n try {\n } catch (e) {\n }\n}());");
+ scopeManager = escope.analyze(ast);
+ expect(scopeManager.scopes).to.have.length(3);
+ globalScope = scopeManager.scopes[0];
+ expect(globalScope.type).to.be.equal('global');
+ expect(globalScope.variables).to.have.length(0);
+ expect(globalScope.references).to.have.length(0);
+ scope = scopeManager.scopes[1];
+ expect(scope.type).to.be.equal('function');
+ expect(scope.variables).to.have.length(1);
+ expect(scope.variables[0].name).to.be.equal('arguments');
+ expect(scope.isArgumentsMaterialized()).to.be["false"];
+ expect(scope.references).to.have.length(0);
+ scope = scopeManager.scopes[2];
+ expect(scope.type).to.be.equal('catch');
+ expect(scope.variables).to.have.length(1);
+ expect(scope.variables[0].name).to.be.equal('e');
+ expect(scope.isArgumentsMaterialized()).to.be["true"];
+ return expect(scope.references).to.have.length(0);
+ });
+ });
+
+}).call(this);
+
+//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImNhdGNoLXNjb3BlLmNvZmZlZSJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUF1QkE7QUFBQSxNQUFBLGdDQUFBOztBQUFBLEVBQUEsTUFBQSxHQUFTLE9BQUEsQ0FBUyxNQUFULENBQWUsQ0FBQyxNQUF6QixDQUFBOztBQUFBLEVBQ0EsT0FBQSxHQUFVLE9BQUEsQ0FBUyxTQUFULENBRFYsQ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ZXhwZWN0KGdsb2JhbFNjb3BlLnJlZmVyZW5jZXMpLnRvLmhhdmUubGVuZ3RoIDBcblxuICAgICAgICBzY29wZSA9IHNjb3BlTWFuYWdlci5zY29wZXNbMV1cbiAgICAgICAgZXhwZWN0KHNjb3BlLnR5cGUpLnRvLmJlLmVxdWFsICdmdW5jdGlvbidcbiAgICAgICAgZXhwZWN0KHNjb3BlLnZhcmlhYmxlcykudG8uaGF2ZS5sZW5ndGggMVxuICAgICAgICBleHBlY3Qoc2NvcGUudmFyaWFibGVzWzBdLm5hbWUpLnRvLmJlLmVxdWFsICdhcmd1bWVudHMnXG4gICAgICAgIGV4cGVjdChzY29wZS5pc0FyZ3VtZW50c01hdGVyaWFsaXplZCgpKS50by5iZS5mYWxzZVxuICAgICAgICBleHBlY3Qoc2NvcGUucmVmZXJlbmNlcykudG8uaGF2ZS5sZW5ndGggMFxuXG4gICAgICAgIHNjb3BlID0gc2NvcGVNYW5hZ2VyLnNjb3Blc1syXVxuICAgICAgICBleHBlY3Qoc2NvcGUudHlwZSkudG8uYmUuZXF1YWwgJ2NhdGNoJ1xuICAgICAgICBleHBlY3Qoc2NvcGUudmFyaWFibGVzKS50by5oYXZlLmxlbmd0aCAxXG4gICAgICAgIGV4cGVjdChzY29wZS52YXJpYWJsZXNbMF0ubmFtZSkudG8uYmUuZXF1YWwgJ2UnXG4gICAgICAgIGV4cGVjdChzY29wZS5pc0FyZ3VtZW50c01hdGVyaWFsaXplZCgpKS50by5iZS50cnVlXG4gICAgICAgIGV4cGVjdChzY29wZS5yZWZlcmVuY2VzKS50by5oYXZlLmxlbmd0aCAwXG5cbiMgdmltOiBzZXQgc3c9NCB0cz00IGV0IHR3PTgwIDpcbiJdfQ==
\ No newline at end of file
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/escope/powered-test/es6-arrow-function-expression.js b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/escope/powered-test/es6-arrow-function-expression.js
new file mode 100644
index 0000000..cf616c1
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/escope/powered-test/es6-arrow-function-expression.js
@@ -0,0 +1,57 @@
+(function() {
+ var escope, expect, harmony;
+
+ expect = require('chai').expect;
+
+ harmony = require('../third_party/esprima');
+
+ escope = require('..');
+
+ describe('ES6 arrow function expression', function() {
+ it('materialize scope for arrow function expression', function() {
+ var ast, scope, scopeManager;
+ ast = harmony.parse("var arrow = () => {\n let i = 0;\n var j = 20;\n console.log(i);\n}");
+ scopeManager = escope.analyze(ast, {
+ ecmaVersion: 6
+ });
+ expect(scopeManager.scopes).to.have.length(2);
+ scope = scopeManager.scopes[0];
+ expect(scope.type).to.be.equal('global');
+ expect(scope.block.type).to.be.equal('Program');
+ expect(scope.isStrict).to.be["false"];
+ expect(scope.variables).to.have.length(1);
+ scope = scopeManager.scopes[1];
+ expect(scope.type).to.be.equal('function');
+ expect(scope.block.type).to.be.equal('ArrowFunctionExpression');
+ expect(scope.isStrict).to.be["true"];
+ expect(scope.variables).to.have.length(2);
+ expect(scope.variables[0].name).to.be.equal('i');
+ return expect(scope.variables[1].name).to.be.equal('j');
+ });
+ return it('generate bindings for parameters', function() {
+ var ast, scope, scopeManager;
+ ast = harmony.parse("var arrow = (a, b, c, d) => {\n}");
+ scopeManager = escope.analyze(ast, {
+ ecmaVersion: 6
+ });
+ expect(scopeManager.scopes).to.have.length(2);
+ scope = scopeManager.scopes[0];
+ expect(scope.type).to.be.equal('global');
+ expect(scope.block.type).to.be.equal('Program');
+ expect(scope.isStrict).to.be["false"];
+ expect(scope.variables).to.have.length(1);
+ scope = scopeManager.scopes[1];
+ expect(scope.type).to.be.equal('function');
+ expect(scope.block.type).to.be.equal('ArrowFunctionExpression');
+ expect(scope.isStrict).to.be["true"];
+ expect(scope.variables).to.have.length(4);
+ expect(scope.variables[0].name).to.be.equal('a');
+ expect(scope.variables[1].name).to.be.equal('b');
+ expect(scope.variables[2].name).to.be.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G4iXX0=
\ No newline at end of file
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/escope/powered-test/es6-block-scope.js b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/escope/powered-test/es6-block-scope.js
new file mode 100644
index 0000000..89c6877
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/escope/powered-test/es6-block-scope.js
@@ -0,0 +1,136 @@
+(function() {
+ var escope, expect, harmony;
+
+ expect = require('chai').expect;
+
+ harmony = require('../third_party/esprima');
+
+ escope = require('..');
+
+ describe('ES6 block scope', function() {
+ it('let is materialized in ES6 block scope#1', function() {
+ var ast, scope, scopeManager;
+ ast = harmony.parse("{\n let i = 20;\n i;\n}");
+ scopeManager = escope.analyze(ast, {
+ ecmaVersion: 6
+ });
+ expect(scopeManager.scopes).to.have.length(2);
+ scope = scopeManager.scopes[0];
+ expect(scope.type).to.be.equal('global');
+ expect(scope.variables).to.have.length(0);
+ scope = scopeManager.scopes[1];
+ expect(scope.type).to.be.equal('block');
+ expect(scope.variables).to.have.length(1);
+ expect(scope.variables[0].name).to.be.equal('i');
+ expect(scope.references).to.have.length(2);
+ expect(scope.references[0].identifier.name).to.be.equal('i');
+ return expect(scope.references[1].identifier.name).to.be.equal('i');
+ });
+ it('let is materialized in ES6 block scope#2', function() {
+ var ast, scope, scopeManager;
+ ast = harmony.parse("{\n let i = 20;\n var i = 20;\n i;\n}");
+ scopeManager = escope.analyze(ast, {
+ ecmaVersion: 6
+ });
+ expect(scopeManager.scopes).to.have.length(2);
+ scope = scopeManager.scopes[0];
+ expect(scope.type).to.be.equal('global');
+ expect(scope.variables).to.have.length(1);
+ expect(scope.variables[0].name).to.be.equal('i');
+ scope = scopeManager.scopes[1];
+ expect(scope.type).to.be.equal('block');
+ expect(scope.variables).to.have.length(1);
+ expect(scope.variables[0].name).to.be.equal('i');
+ expect(scope.references).to.have.length(3);
+ expect(scope.references[0].identifier.name).to.be.equal('i');
+ expect(scope.references[1].identifier.name).to.be.equal('i');
+ return expect(scope.references[2].identifier.name).to.be.equal('i');
+ });
+ it('function delaration is materialized in ES6 block scope', function() {
+ var ast, scope, scopeManager;
+ ast = harmony.parse("{\n function test() {\n }\n test();\n}");
+ scopeManager = escope.analyze(ast, {
+ ecmaVersion: 6
+ });
+ expect(scopeManager.scopes).to.have.length(3);
+ scope = scopeManager.scopes[0];
+ expect(scope.type).to.be.equal('global');
+ expect(scope.variables).to.have.length(0);
+ scope = scopeManager.scopes[1];
+ expect(scope.type).to.be.equal('block');
+ expect(scope.variables).to.have.length(1);
+ expect(scope.variables[0].name).to.be.equal('test');
+ expect(scope.references).to.have.length(1);
+ expect(scope.references[0].identifier.name).to.be.equal('test');
+ scope = scopeManager.scopes[2];
+ expect(scope.type).to.be.equal('function');
+ expect(scope.variables).to.have.length(1);
+ expect(scope.variables[0].name).to.be.equal('arguments');
+ return expect(scope.references).to.have.length(0);
+ });
+ it('let is not hoistable#1', function() {
+ var ast, globalScope, scope, scopeManager;
+ ast = harmony.parse("var i = 42; (1)\n{\n i; // (2) ReferenceError at runtime.\n let i = 20; // (2)\n i; // (2)\n}");
+ scopeManager = escope.analyze(ast, {
+ ecmaVersion: 6
+ });
+ expect(scopeManager.scopes).to.have.length(2);
+ globalScope = scopeManager.scopes[0];
+ expect(globalScope.type).to.be.equal('global');
+ expect(globalScope.variables).to.have.length(1);
+ expect(globalScope.variables[0].name).to.be.equal('i');
+ expect(globalScope.references).to.have.length(1);
+ scope = scopeManager.scopes[1];
+ expect(scope.type).to.be.equal('block');
+ expect(scope.variables).to.have.length(1);
+ expect(scope.variables[0].name).to.be.equal('i');
+ expect(scope.references).to.have.length(3);
+ expect(scope.references[0].resolved).to.be.equal(scope.variables[0]);
+ expect(scope.references[1].resolved).to.be.equal(scope.variables[0]);
+ return expect(scope.references[2].resolved).to.be.equal(scope.variables[0]);
+ });
+ return it('let is not hoistable#2', function() {
+ var ast, globalScope, scope, scopeManager, v1, v2, v3;
+ ast = harmony.parse("(function () {\n var i = 42; // (1)\n i; // (1)\n {\n i; // (3)\n {\n i; // (2)\n let i = 20; // (2)\n i; // (2)\n }\n let i = 30; // (3)\n i; // (3)\n }\n i; // (1)\n}());");
+ scopeManager = escope.analyze(ast, {
+ ecmaVersion: 6
+ });
+ expect(scopeManager.scopes).to.have.length(4);
+ globalScope = scopeManager.scopes[0];
+ expect(globalScope.type).to.be.equal('global');
+ expect(globalScope.variables).to.have.length(0);
+ expect(globalScope.references).to.have.length(0);
+ scope = scopeManager.scopes[1];
+ expect(scope.type).to.be.equal('function');
+ expect(scope.variables).to.have.length(2);
+ expect(scope.variables[0].name).to.be.equal('arguments');
+ expect(scope.variables[1].name).to.be.equal('i');
+ v1 = scope.variables[1];
+ expect(scope.references).to.have.length(3);
+ expect(scope.references[0].resolved).to.be.equal(v1);
+ expect(scope.references[1].resolved).to.be.equal(v1);
+ expect(scope.references[2].resolved).to.be.equal(v1);
+ scope = scopeManager.scopes[2];
+ expect(scope.type).to.be.equal('block');
+ expect(scope.variables).to.have.length(1);
+ expect(scope.variables[0].name).to.be.equal('i');
+ v3 = scope.variables[0];
+ expect(scope.references).to.have.length(3);
+ expect(scope.references[0].resolved).to.be.equal(v3);
+ expect(scope.references[1].resolved).to.be.equal(v3);
+ expect(scope.references[2].resolved).to.be.equal(v3);
+ scope = scopeManager.scopes[3];
+ expect(scope.type).to.be.equal('block');
+ expect(scope.variables).to.have.length(1);
+ expect(scope.variables[0].name).to.be.equal('i');
+ v2 = scope.variables[0];
+ expect(scope.references).to.have.length(3);
+ expect(scope.references[0].resolved).to.be.equal(v2);
+ expect(scope.references[1].resolved).to.be.equal(v2);
+ return expect(scope.references[2].resolved).to.be.equal(v2);
+ });
+ });
+
+}).call(this);
+
+//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImVzNi1ibG9jay1zY29wZS5jb2ZmZWUiXSwibmFtZXMiOltdLCJtYXBwaW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sgIC8vICgyKVxuICAgICAgICAgICAgICAgICAgICBpOyAgLy8gKDIpXG4gICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgIGxldCBpID0gMzA7ICAvLyAoMylcbiAgICAgICAgICAgICAgICBpOyAgLy8gKDMpXG4gICAgICAgICAgICB9XG4gICAgICAgICAgICBpOyAgLy8gKDEpXG4gICAgICAgIH0oKSk7XG4gICAgICAgIFwiXCJcIlxuXG4gICAgICAgIHNjb3BlTWFuYWdlciA9IGVzY29wZS5hbmFseXplIGFzdCwgZWNtYVZlcnNpb246IDZcbiAgICAgICAgZXhwZWN0KHNjb3BlTWFuYWdlci5zY29wZXMpLnRvLmhhdmUubGVuZ3RoIDRcblxuICAgICAgICBnbG9iYWxTY29wZSA9IHNjb3BlTWFuYWdlci5zY29wZXNbMF1cbiAgICAgICAgZXhwZWN0KGdsb2JhbFNjb3BlLnR5cGUpLnRvLmJlLmVxdWFsICdnbG9iYWwnXG4gICAgICAgIGV4cGVjdChnbG9iYWxTY29wZS52YXJpYWJsZXMpLnRvLmhhdmUubGVuZ3RoIDBcbiAgICAgICAgZXhwZWN0KGdsb2JhbFNjb3BlLnJlZmVyZW5jZXMpLnRvLmhhdmUubGVuZ3RoIDBcblxuICAgICAgICBzY29wZSA9IHNjb3BlTWFuYWdlci5zY29wZXNbMV1cbiAgICAgICAgZXhwZWN0KHNjb3BlLnR5cGUpLnRvLmJlLmVxdWFsICdmdW5jdGlvbidcbiAgICAgICAgZXhwZWN0KHNjb3BlLnZhcmlhYmxlcykudG8uaGF2ZS5sZW5ndGggMlxuICAgICAgICBleHBlY3Qoc2NvcGUudmFyaWFibGVzWzBdLm5hbWUpLnRvLmJlLmVxdWFsICdhcmd1bWVudHMnXG4gICAgICAgIGV4cGVjdChzY29wZS52YXJpYWJsZXNbMV0ubmFtZSkudG8uYmUuZXF1YWwgJ2knXG4gICAgICAgIHYxID0gc2NvcGUudmFyaWFibGVzWzFdXG4gICAgICAgIGV4cGVjdChzY29wZS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BleHBlY3Qoc2NvcGUudmFyaWFibGVzWzBdLm5hbWUpLnRvLmJlLmVxdWFsICdpJ1xuICAgICAgICB2MiA9IHNjb3BlLnZhcmlhYmxlc1swXVxuICAgICAgICBleHBlY3Qoc2NvcGUucmVmZXJlbmNlcykudG8uaGF2ZS5sZW5ndGggM1xuICAgICAgICBleHBlY3Qoc2NvcGUucmVmZXJlbmNlc1swXS5yZXNvbHZlZCkudG8uYmUuZXF1YWwgdjJcbiAgICAgICAgZXhwZWN0KHNjb3BlLnJlZmVyZW5jZXNbMV0ucmVzb2x2ZWQpLnRvLmJlLmVxdWFsIHYyXG4gICAgICAgIGV4cGVjdChzY29wZS5yZWZlcmVuY2VzWzJdLnJlc29sdmVkKS50by5iZS5lcXVhbCB2MlxuXG4jIHZpbTogc2V0IHN3PTQgdHM9NCBldCB0dz04MCA6XG4iXX0=
\ No newline at end of file
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/escope/powered-test/es6-catch.js b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/escope/powered-test/es6-catch.js
new file mode 100644
index 0000000..986c5eb
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/escope/powered-test/es6-catch.js
@@ -0,0 +1,39 @@
+(function() {
+ var escope, expect, harmony;
+
+ expect = require('chai').expect;
+
+ harmony = require('../third_party/esprima');
+
+ escope = require('..');
+
+ describe('ES6 catch', function() {
+ return it('takes binding pattern', function() {
+ var ast, scope, scopeManager;
+ ast = harmony.parse("try {\n} catch ({ a, b, c, d }) {\n let e = 20;\n a;\n b;\n let c = 30;\n c;\n d;\n}");
+ scopeManager = escope.analyze(ast, {
+ ecmaVersion: 6
+ });
+ expect(scopeManager.scopes).to.have.length(4);
+ scope = scopeManager.scopes[0];
+ expect(scope.type).to.be.equal('global');
+ expect(scope.block.type).to.be.equal('Program');
+ expect(scope.isStrict).to.be["false"];
+ expect(scope.variables).to.have.length(0);
+ expect(scope.references).to.have.length(0);
+ scope = scopeManager.scopes[1];
+ expect(scope.type).to.be.equal('block');
+ expect(scope.block.type).to.be.equal('BlockStatement');
+ expect(scope.isStrict).to.be["false"];
+ expect(scope.variables).to.have.length(0);
+ expect(scope.references).to.have.length(0);
+ scope = scopeManager.scopes[2];
+ expect(scope.type).to.be.equal('catch');
+ expect(scope.block.type).to.be.equal('CatchClause');
+ return expect(scope.isStrict).to.be["false"];
+ });
+ });
+
+}).call(this);
+
+//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImVzNi1jYXRjaC5jb2ZmZWUiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBc0JBO0FBQUEsTUFBQSx1QkFBQTs7QUFBQSxFQUFBLE1BQUEsR0FBUyxPQUFBLENBQVMsTUFBVCxDQUFlLENBQUMsTUFBekIsQ0FBQTs7QUFBQSxFQUNBLE9BQUEsR0FBVSxPQUFBLENBQVMsd0JBQVQsQ0FEVixDQUFBOztBQUFBLEVBRUEsTUFBQSxHQUFTLE9BQUEsQ0FBUyxJQUFULENBRlQsQ0FBQTs7QUFBQSxFQUlBLFFBQUEsQ0FBVSxXQUFWLEVBQXNCLFNBQUEsR0FBQTtXQUNsQixFQUFBLENBQUksdUJBQUosRUFBNEIsU0FBQSxHQUFBO0FBQ3hCLFVBQUEsd0JBQUE7QUFBQSxNQUFBLEdBQUEsR0FBTSxPQUFPLENBQUMsS0FBUixDQUFpQix3R0FBakIsQ0FBTixDQUFBO0FBQUEsTUFXQSxZQUFBLEdBQWUsTUFBTSxDQUFDLE9BQVAsQ0FBZSxHQUFmLEVBQW9CO0FBQUEsUUFBQSxXQUFBLEVBQWEsQ0FBYjtPQUFwQixDQVhmLENBQUE7QUFBQSxNQVlBLE1BQUEsQ0FBTyxZQUFZLENBQUMsTUFBcEIsQ0FBMkIsQ0FBQyxFQUFFLENBQUMsSUFBSSxDQUFDLE1BQXBDLENBQTJDLENBQTNDLENB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SB7XG4gICAgICAgICAgICBsZXQgZSA9IDIwO1xuICAgICAgICAgICAgYTtcbiAgICAgICAgICAgIGI7XG4gICAgICAgICAgICBsZXQgYyA9IDMwO1xuICAgICAgICAgICAgYztcbiAgICAgICAgICAgIGQ7XG4gICAgICAgIH1cbiAgICAgICAgXCJcIlwiXG4gICAgICAgIHNjb3BlTWFuYWdlciA9IGVzY29wZS5hbmFseXplIGFzdCwgZWNtYVZlcnNpb246IDZcbiAgICAgICAgZXhwZWN0KHNjb3BlTWFuYWdlci5zY29wZXMpLnRvLmhhdmUubGVuZ3RoIDRcblxuICAgICAgICBzY29wZSA9IHNjb3BlTWFuYWdlci5zY29wZXNbMF1cbiAgICAgICAgZXhwZWN0KHNjb3BlLnR5cGUpLnRvLmJlLmVxdWFsICdnbG9iYWwnXG4gICAgICAgIGV4cGVjdChzY29wZS5ibG9jay50eXBlKS50by5iZS5lcXVhbCAnUHJvZ3JhbSdcbiAgICAgICAgZXhwZWN0KHNjb3BlLmlzU3RyaWN0KS50by5iZS5mYWxzZVxuICAgICAgICBleHBlY3Qoc2NvcGUudmFyaWFibGVzKS50by5oYXZlLmxlbmd0aCAwXG4gICAgICAgIGV4cGVjdChzY29wZS5yZWZlcmVuY2VzKS50by5oYXZlLmxlbmd0aCAwXG5cbiAgICAgICAgc2NvcGUgPSBzY29wZU1hbmFnZXIuc2NvcGVzWzFdXG4gICAgICAgIGV4cGVjdChzY29wZS50eXBlKS50by5iZS5lcXVhbCAnYmxvY2snXG4gICAgICAgIGV4cGVjdChzY29wZS5ibG9jay50eXBlKS50by5iZS5lcXVhbCAnQmxvY2tTdGF0ZW1lbnQnXG4gICAgICAgIGV4cGVjdChzY29wZS5pc1N0cmljdCkudG8uYmUuZmFsc2VcbiAgICAgICAgZXhwZWN0KHNjb3BlLnZhcmlhYmxlcykudG8uaGF2ZS5sZW5ndGggMFxuICAgICAgICBleHBlY3Qoc2NvcGUucmVmZXJlbmNlcykudG8uaGF2ZS5sZW5ndGggMFxuXG4gICAgICAgIHNjb3BlID0gc2NvcGVNYW5hZ2VyLnNjb3Blc1syXVxuICAgICAgICBleHBlY3Qoc2NvcGUudHlwZSkudG8uYmUuZXF1YWwgJ2NhdGNoJ1xuICAgICAgICBleHBlY3Qoc2NvcGUuYmxvY2sudHlwZSkudG8uYmUuZXF1YWwgJ0NhdGNoQ2xhdXNlJ1xuICAgICAgICBleHBlY3Qoc2NvcGUuaXNTdHJpY3QpLnRvLmJlLmZhbHNlXG5cbiAgICAgICAgIyBGSVhNRSBBZnRlciBFc3ByaW1hJ3MgYnVnIGlzIGZpeGVkLCBJJ2xsIGFkZCB0ZXN0cyAjMzNcbiAgICAgICAgIyBodHRwczovL2dpdGh1Yi5jb20vZXN0b29scy9lc2NvcGUvaXNzdWVzLzMzI2lzc3VlY29tbWVudC02NDEzNTgzMlxuICAgICAgICAjXG4gICAgICAgICMgZXhwZWN0KHNjb3BlLnZhcmlhYmxlcykudG8uaGF2ZS5sZW5ndGggNFxuICAgICAgICAjIGV4cGVjdChzY29wZS52YXJpYWJsZXNbMF0ubmFtZSkudG8uYmUuZXF1YWwgJ2EnXG4gICAgICAgICMgZXhwZWN0KHNjb3BlLnZhcmlhYmxlc1sxXS5uYW1lKS50by5iZS5lcXVhbCAnYidcbiAgICAgICAgIyBleHBlY3Qoc2NvcGUudmFyaWFibGVzWzJdLm5hbWUpLnRvLmJlLmVxdWFsICdjJ1xuICAgICAgICAjIGV4cGVjdChzY29wZS52YXJpYWJsZXNbM10ubmFtZSkudG8uYmUuZXF1YWwgJ2QnXG4gICAgICAgICMgZXhwZWN0KHNjb3BlLnJlZmVyZW5jZXMpLnRvLmhhdmUubGVuZ3RoIDBcblxuIyB2aW06IHNldCBzdz00IHRzPTQgZXQgdHc9ODAgOlxuIl19
\ No newline at end of file
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/escope/powered-test/es6-class.js b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/escope/powered-test/es6-class.js
new file mode 100644
index 0000000..9fcbe8e
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/escope/powered-test/es6-class.js
@@ -0,0 +1,155 @@
+(function() {
+ var escope, expect, harmony;
+
+ expect = require('chai').expect;
+
+ harmony = require('../third_party/esprima');
+
+ escope = require('..');
+
+ describe('ES6 class', function() {
+ it('declaration name creates class scope', function() {
+ var ast, scope, scopeManager;
+ ast = harmony.parse("class Derived extends Base {\n constructor() {\n }\n}\nnew Derived();");
+ scopeManager = escope.analyze(ast, {
+ ecmaVersion: 6
+ });
+ expect(scopeManager.scopes).to.have.length(3);
+ scope = scopeManager.scopes[0];
+ expect(scope.type).to.be.equal('global');
+ expect(scope.block.type).to.be.equal('Program');
+ expect(scope.isStrict).to.be["false"];
+ expect(scope.variables).to.have.length(1);
+ expect(scope.variables[0].name).to.be.equal('Derived');
+ expect(scope.references).to.have.length(2);
+ expect(scope.references[0].identifier.name).to.be.equal('Base');
+ expect(scope.references[1].identifier.name).to.be.equal('Derived');
+ scope = scopeManager.scopes[1];
+ expect(scope.type).to.be.equal('class');
+ expect(scope.block.type).to.be.equal('ClassDeclaration');
+ expect(scope.isStrict).to.be["true"];
+ expect(scope.variables).to.have.length(1);
+ expect(scope.variables[0].name).to.be.equal('Derived');
+ expect(scope.references).to.have.length(0);
+ scope = scopeManager.scopes[2];
+ expect(scope.type).to.be.equal('function');
+ expect(scope.block.type).to.be.equal('FunctionExpression');
+ expect(scope.isStrict).to.be["true"];
+ expect(scope.variables).to.have.length(1);
+ expect(scope.variables[0].name).to.be.equal('arguments');
+ return expect(scope.references).to.have.length(0);
+ });
+ it('declaration name creates class scope', function() {
+ var ast, scope, scopeManager;
+ ast = harmony.parse("class Base {\n constructor() {\n }\n}\nlet foo = new Base();");
+ scopeManager = escope.analyze(ast, {
+ ecmaVersion: 6
+ });
+ expect(scopeManager.scopes).to.have.length(3);
+ scope = scopeManager.scopes[0];
+ expect(scope.type).to.be.equal('global');
+ expect(scope.block.type).to.be.equal('Program');
+ expect(scope.isStrict).to.be["false"];
+ expect(scope.variables).to.have.length(2);
+ expect(scope.variables[0].name).to.be.equal('Base');
+ expect(scope.variables[1].name).to.be.equal('foo');
+ expect(scope.through).to.have.length(0);
+ expect(scope.references).to.have.length(2);
+ expect(scope.references[0].identifier.name).to.be.equal('foo');
+ expect(scope.references[1].identifier.name).to.be.equal('Base');
+ scope = scopeManager.scopes[1];
+ expect(scope.type).to.be.equal('class');
+ expect(scope.block.type).to.be.equal('ClassDeclaration');
+ expect(scope.isStrict).to.be["true"];
+ expect(scope.variables).to.have.length(1);
+ console.dir(scope.variables);
+ expect(scope.variables[0].name).to.be.equal('Base');
+ expect(scope.references).to.have.length(0);
+ scope = scopeManager.scopes[2];
+ expect(scope.type).to.be.equal('function');
+ expect(scope.block.type).to.be.equal('FunctionExpression');
+ expect(scope.isStrict).to.be["true"];
+ expect(scope.variables).to.have.length(1);
+ expect(scope.variables[0].name).to.be.equal('arguments');
+ return expect(scope.references).to.have.length(0);
+ });
+ it('expression name creates class scope#1', function() {
+ var ast, scope, scopeManager;
+ ast = harmony.parse("(class Derived extends Base {\n constructor() {\n }\n});");
+ scopeManager = escope.analyze(ast, {
+ ecmaVersion: 6
+ });
+ expect(scopeManager.scopes).to.have.length(3);
+ scope = scopeManager.scopes[0];
+ expect(scope.type).to.be.equal('global');
+ expect(scope.block.type).to.be.equal('Program');
+ expect(scope.isStrict).to.be["false"];
+ expect(scope.variables).to.have.length(0);
+ expect(scope.references).to.have.length(1);
+ expect(scope.references[0].identifier.name).to.be.equal('Base');
+ scope = scopeManager.scopes[1];
+ expect(scope.type).to.be.equal('class');
+ expect(scope.block.type).to.be.equal('ClassExpression');
+ expect(scope.isStrict).to.be["true"];
+ expect(scope.variables).to.have.length(1);
+ expect(scope.variables[0].name).to.be.equal('Derived');
+ expect(scope.references).to.have.length(0);
+ scope = scopeManager.scopes[2];
+ expect(scope.type).to.be.equal('function');
+ return expect(scope.block.type).to.be.equal('FunctionExpression');
+ });
+ it('expression name creates class scope#2', function() {
+ var ast, scope, scopeManager;
+ ast = harmony.parse("(class extends Base {\n constructor() {\n }\n});");
+ scopeManager = escope.analyze(ast, {
+ ecmaVersion: 6
+ });
+ expect(scopeManager.scopes).to.have.length(3);
+ scope = scopeManager.scopes[0];
+ expect(scope.type).to.be.equal('global');
+ expect(scope.block.type).to.be.equal('Program');
+ expect(scope.isStrict).to.be["false"];
+ expect(scope.variables).to.have.length(0);
+ expect(scope.references).to.have.length(1);
+ expect(scope.references[0].identifier.name).to.be.equal('Base');
+ scope = scopeManager.scopes[1];
+ expect(scope.type).to.be.equal('class');
+ expect(scope.block.type).to.be.equal('ClassExpression');
+ scope = scopeManager.scopes[2];
+ expect(scope.type).to.be.equal('function');
+ return expect(scope.block.type).to.be.equal('FunctionExpression');
+ });
+ return it('computed property key may refer variables', function() {
+ var ast, scope, scopeManager;
+ ast = harmony.parse("(function () {\n var yuyushiki = 42;\n (class {\n [yuyushiki]() {\n }\n\n [yuyushiki + 40]() {\n }\n });\n}());");
+ scopeManager = escope.analyze(ast, {
+ ecmaVersion: 6
+ });
+ expect(scopeManager.scopes).to.have.length(5);
+ scope = scopeManager.scopes[0];
+ expect(scope.type).to.be.equal('global');
+ expect(scope.block.type).to.be.equal('Program');
+ expect(scope.isStrict).to.be["false"];
+ scope = scopeManager.scopes[1];
+ expect(scope.type).to.be.equal('function');
+ expect(scope.block.type).to.be.equal('FunctionExpression');
+ expect(scope.isStrict).to.be["false"];
+ expect(scope.variables).to.have.length(2);
+ expect(scope.variables[0].name).to.be.equal('arguments');
+ expect(scope.variables[1].name).to.be.equal('yuyushiki');
+ expect(scope.references).to.have.length(1);
+ expect(scope.references[0].identifier.name).to.be.equal('yuyushiki');
+ scope = scopeManager.scopes[2];
+ expect(scope.type).to.be.equal('class');
+ expect(scope.block.type).to.be.equal('ClassExpression');
+ expect(scope.isStrict).to.be["true"];
+ expect(scope.variables).to.have.length(0);
+ expect(scope.references).to.have.length(2);
+ expect(scope.references[0].identifier.name).to.be.equal('yuyushiki');
+ return expect(scope.references[1].identifier.name).to.be.equal('yuyushiki');
+ });
+ });
+
+}).call(this);
+
+//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImVzNi1jbGFzcy5jb2ZmZWUiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBdUJBO0FBQUEsTUFBQSx1QkFBQTs7QUFBQSxFQUFBLE1BQUEsR0FBUyxPQUFBLENBQVMsTUFBVCxDQUFlLENBQUMsTUFBekIsQ0FBQTs7QUFBQSxFQUNBLE9BQUEsR0FBVSxPQUFBLENBQVMsd0JBQVQsQ0FEVixDQUFBOztBQUFBLEVBRUEsTUFBQSxHQUFTLE9BQUEsQ0FBUyxJQUFULENBRlQsQ0FBQTs7QUFBQSxFQUlBLFFBQUEsQ0FBVSxXQUFWLEVBQXNCLFNBQUEsR0FBQTtBQUNsQixJQUFBLEVBQUEsQ0FBSSxzQ0FBSixFQUEyQyxTQUFBLEdBQUE7QUFDdkMsVUFBQSx3QkFBQTtBQUFBLE1BQUEsR0FBQSxHQUFNLE9BQU8sQ0FBQyxLQUFSLENBQWlCLDZFQUFqQixDQUFOLENBQUE7QUFBQSxNQVFBLFlBQUEsR0FBZSxNQUFNLENBQUMsT0FBUCxDQUFlLEdBQWYsRUFBb0I7QUFBQSxRQUFBLFdBQUEsRUFBYSxDQUFiO09BQXBCLENBUmYsQ0FBQTtBQUFBLE1BU0EsTUFBQSxDQUFPLFlBQVksQ0FBQyxNQUFwQixDQUEyQixDQUFDLEVBQUUsQ0FBQyxJQUFJLENBQUMsTUFBcEMsQ0FBMkMsQ0FBM0MsQ0FUQSxDQUFBO0FBQUEsTUFXQSxLQUFBLEdBQVEsWUFBWSxDQUFDLE1BQU8sQ0FBQSxDQUFBLENBWDVCLENBQUE7QUFBQSxNQVlBLE1BQUEsQ0FBTyxLQUFLLENBQUMsSUFBYixDQU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8uYmUudHJ1ZVxuICAgICAgICBleHBlY3Qoc2NvcGUudmFyaWFibGVzKS50by5oYXZlLmxlbmd0aCAwXG4gICAgICAgIGV4cGVjdChzY29wZS5yZWZlcmVuY2VzKS50by5oYXZlLmxlbmd0aCAyXG4gICAgICAgIGV4cGVjdChzY29wZS5yZWZlcmVuY2VzWzBdLmlkZW50aWZpZXIubmFtZSkudG8uYmUuZXF1YWwgJ3l1eXVzaGlraSdcbiAgICAgICAgZXhwZWN0KHNjb3BlLnJlZmVyZW5jZXNbMV0uaWRlbnRpZmllci5uYW1lKS50by5iZS5lcXVhbCAneXV5dXNoaWtpJ1xuXG4jIHZpbTogc2V0IHN3PTQgdHM9NCBldCB0dz04MCA6XG4iXX0=
\ No newline at end of file
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/escope/powered-test/es6-destructuring-assignments.js b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/escope/powered-test/es6-destructuring-assignments.js
new file mode 100644
index 0000000..5f23b27
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/escope/powered-test/es6-destructuring-assignments.js
@@ -0,0 +1,504 @@
+(function() {
+ var escope, expect, harmony;
+
+ expect = require('chai').expect;
+
+ harmony = require('../third_party/esprima');
+
+ escope = require('..');
+
+ describe('ES6 destructuring assignments', function() {
+ it('Pattern in var in ForInStatement', function() {
+ var ast, globalScope, scope, scopeManager;
+ ast = harmony.parse("(function () {\n for (var [a, b, c] in array);\n}());");
+ scopeManager = escope.analyze(ast, {
+ ecmaVersion: 6
+ });
+ expect(scopeManager.scopes).to.have.length(2);
+ scope = scopeManager.scopes[0];
+ globalScope = scope;
+ expect(scope.type).to.be.equal('global');
+ expect(scope.variables).to.have.length(0);
+ expect(scope.references).to.have.length(0);
+ expect(scope.implicit.left).to.have.length(1);
+ expect(scope.implicit.left[0].identifier.name).to.be.equal('array');
+ scope = scopeManager.scopes[1];
+ expect(scope.type).to.be.equal('function');
+ expect(scope.variables).to.have.length(4);
+ expect(scope.variables[0].name).to.be.equal('arguments');
+ expect(scope.variables[1].name).to.be.equal('a');
+ expect(scope.variables[2].name).to.be.equal('b');
+ expect(scope.variables[3].name).to.be.equal('c');
+ expect(scope.references).to.have.length(4);
+ expect(scope.references[0].identifier.name).to.be.equal('a');
+ expect(scope.references[0].isWrite()).to.be["true"];
+ expect(scope.references[0].partial).to.be["true"];
+ expect(scope.references[0].resolved).to.be.equal(scope.variables[1]);
+ expect(scope.references[1].identifier.name).to.be.equal('b');
+ expect(scope.references[1].isWrite()).to.be["true"];
+ expect(scope.references[1].partial).to.be["true"];
+ expect(scope.references[1].resolved).to.be.equal(scope.variables[2]);
+ expect(scope.references[2].identifier.name).to.be.equal('c');
+ expect(scope.references[2].isWrite()).to.be["true"];
+ expect(scope.references[2].partial).to.be["true"];
+ expect(scope.references[2].resolved).to.be.equal(scope.variables[3]);
+ expect(scope.references[3].identifier.name).to.be.equal('array');
+ return expect(scope.references[3].isWrite()).to.be["false"];
+ });
+ it('ArrayPattern in var', function() {
+ var ast, globalScope, scope, scopeManager;
+ ast = harmony.parse("(function () {\n var [a, b, c] = array;\n}());");
+ scopeManager = escope.analyze(ast, {
+ ecmaVersion: 6
+ });
+ expect(scopeManager.scopes).to.have.length(2);
+ scope = scopeManager.scopes[0];
+ globalScope = scope;
+ expect(scope.type).to.be.equal('global');
+ expect(scope.variables).to.have.length(0);
+ expect(scope.references).to.have.length(0);
+ expect(scope.implicit.left).to.have.length(1);
+ expect(scope.implicit.left[0].identifier.name).to.be.equal('array');
+ scope = scopeManager.scopes[1];
+ expect(scope.type).to.be.equal('function');
+ expect(scope.variables).to.have.length(4);
+ expect(scope.variables[0].name).to.be.equal('arguments');
+ expect(scope.variables[1].name).to.be.equal('a');
+ expect(scope.variables[2].name).to.be.equal('b');
+ expect(scope.variables[3].name).to.be.equal('c');
+ expect(scope.references).to.have.length(4);
+ expect(scope.references[0].identifier.name).to.be.equal('a');
+ expect(scope.references[0].isWrite()).to.be["true"];
+ expect(scope.references[0].partial).to.be["true"];
+ expect(scope.references[0].resolved).to.be.equal(scope.variables[1]);
+ expect(scope.references[1].identifier.name).to.be.equal('b');
+ expect(scope.references[1].isWrite()).to.be["true"];
+ expect(scope.references[1].partial).to.be["true"];
+ expect(scope.references[1].resolved).to.be.equal(scope.variables[2]);
+ expect(scope.references[2].identifier.name).to.be.equal('c');
+ expect(scope.references[2].isWrite()).to.be["true"];
+ expect(scope.references[2].partial).to.be["true"];
+ expect(scope.references[2].resolved).to.be.equal(scope.variables[3]);
+ expect(scope.references[3].identifier.name).to.be.equal('array');
+ return expect(scope.references[3].isWrite()).to.be["false"];
+ });
+ it('SpreadElement in var', function() {
+ var ast, globalScope, index, name, scope, scopeManager, _i, _j, _len, _len1, _ref, _ref1;
+ ast = harmony.parse("(function () {\n var [a, b, ...rest] = array;\n}());");
+ scopeManager = escope.analyze(ast, {
+ ecmaVersion: 6
+ });
+ expect(scopeManager.scopes).to.have.length(2);
+ scope = scopeManager.scopes[0];
+ globalScope = scope;
+ expect(scope.type).to.be.equal('global');
+ expect(scope.variables).to.have.length(0);
+ expect(scope.references).to.have.length(0);
+ expect(scope.implicit.left).to.have.length(1);
+ expect(scope.implicit.left[0].identifier.name).to.be.equal('array');
+ scope = scopeManager.scopes[1];
+ expect(scope.type).to.be.equal('function');
+ expect(scope.variables).to.have.length(4);
+ expect(scope.variables[0].name).to.be.equal('arguments');
+ expect(scope.variables[1].name).to.be.equal('a');
+ expect(scope.variables[2].name).to.be.equal('b');
+ expect(scope.variables[3].name).to.be.equal('rest');
+ expect(scope.references).to.have.length(4);
+ expect(scope.references[0].identifier.name).to.be.equal('a');
+ expect(scope.references[0].isWrite()).to.be["true"];
+ expect(scope.references[0].partial).to.be["true"];
+ expect(scope.references[0].resolved).to.be.equal(scope.variables[1]);
+ expect(scope.references[1].identifier.name).to.be.equal('b');
+ expect(scope.references[1].isWrite()).to.be["true"];
+ expect(scope.references[1].partial).to.be["true"];
+ expect(scope.references[1].resolved).to.be.equal(scope.variables[2]);
+ expect(scope.references[2].identifier.name).to.be.equal('rest');
+ expect(scope.references[2].isWrite()).to.be["true"];
+ expect(scope.references[2].partial).to.be["true"];
+ expect(scope.references[2].resolved).to.be.equal(scope.variables[3]);
+ expect(scope.references[3].identifier.name).to.be.equal('array');
+ expect(scope.references[3].isWrite()).to.be["false"];
+ ast = harmony.parse("(function () {\n var [a, b, ...[c, d, ...rest]] = array;\n}());");
+ scopeManager = escope.analyze(ast, {
+ ecmaVersion: 6
+ });
+ expect(scopeManager.scopes).to.have.length(2);
+ scope = scopeManager.scopes[0];
+ globalScope = scope;
+ expect(scope.type).to.be.equal('global');
+ expect(scope.variables).to.have.length(0);
+ expect(scope.references).to.have.length(0);
+ expect(scope.implicit.left).to.have.length(1);
+ expect(scope.implicit.left[0].identifier.name).to.be.equal('array');
+ scope = scopeManager.scopes[1];
+ expect(scope.type).to.be.equal('function');
+ expect(scope.variables).to.have.length(6);
+ _ref = ['arguments', 'a', 'b', 'c', 'd', 'rest'];
+ for (index = _i = 0, _len = _ref.length; _i < _len; index = ++_i) {
+ name = _ref[index];
+ expect(scope.variables[index].name).to.be.equal(name);
+ }
+ expect(scope.references).to.have.length(6);
+ _ref1 = ['a', 'b', 'c', 'd', 'rest'];
+ for (index = _j = 0, _len1 = _ref1.length; _j < _len1; index = ++_j) {
+ name = _ref1[index];
+ expect(scope.references[index].identifier.name).to.be.equal(name);
+ expect(scope.references[index].isWrite()).to.be["true"];
+ expect(scope.references[index].partial).to.be["true"];
+ }
+ expect(scope.references[5].identifier.name).to.be.equal('array');
+ return expect(scope.references[5].isWrite()).to.be["false"];
+ });
+ it('ObjectPattern in var', function() {
+ var ast, globalScope, scope, scopeManager;
+ ast = harmony.parse("(function () {\n var {\n shorthand,\n key: value,\n hello: {\n world\n }\n } = object;\n}());");
+ scopeManager = escope.analyze(ast, {
+ ecmaVersion: 6
+ });
+ expect(scopeManager.scopes).to.have.length(2);
+ scope = scopeManager.scopes[0];
+ globalScope = scope;
+ expect(scope.type).to.be.equal('global');
+ expect(scope.variables).to.have.length(0);
+ expect(scope.references).to.have.length(0);
+ expect(scope.implicit.left).to.have.length(1);
+ expect(scope.implicit.left[0].identifier.name).to.be.equal('object');
+ scope = scopeManager.scopes[1];
+ expect(scope.type).to.be.equal('function');
+ expect(scope.variables).to.have.length(4);
+ expect(scope.variables[0].name).to.be.equal('arguments');
+ expect(scope.variables[1].name).to.be.equal('shorthand');
+ expect(scope.variables[2].name).to.be.equal('value');
+ expect(scope.variables[3].name).to.be.equal('world');
+ expect(scope.references).to.have.length(4);
+ expect(scope.references[0].identifier.name).to.be.equal('shorthand');
+ expect(scope.references[0].isWrite()).to.be["true"];
+ expect(scope.references[0].partial).to.be["true"];
+ expect(scope.references[0].resolved).to.be.equal(scope.variables[1]);
+ expect(scope.references[1].identifier.name).to.be.equal('value');
+ expect(scope.references[1].isWrite()).to.be["true"];
+ expect(scope.references[1].partial).to.be["true"];
+ expect(scope.references[1].resolved).to.be.equal(scope.variables[2]);
+ expect(scope.references[2].identifier.name).to.be.equal('world');
+ expect(scope.references[2].isWrite()).to.be["true"];
+ expect(scope.references[2].partial).to.be["true"];
+ expect(scope.references[2].resolved).to.be.equal(scope.variables[3]);
+ expect(scope.references[3].identifier.name).to.be.equal('object');
+ return expect(scope.references[3].isWrite()).to.be["false"];
+ });
+ it('complex pattern in var', function() {
+ var ast, globalScope, index, name, scope, scopeManager, _i, _j, _len, _len1, _ref, _ref1;
+ ast = harmony.parse("(function () {\n var {\n shorthand,\n key: [ a, b, c, d, e ],\n hello: {\n world\n }\n } = object;\n}());");
+ scopeManager = escope.analyze(ast, {
+ ecmaVersion: 6
+ });
+ expect(scopeManager.scopes).to.have.length(2);
+ scope = scopeManager.scopes[0];
+ globalScope = scope;
+ expect(scope.type).to.be.equal('global');
+ expect(scope.variables).to.have.length(0);
+ expect(scope.references).to.have.length(0);
+ expect(scope.implicit.left).to.have.length(1);
+ expect(scope.implicit.left[0].identifier.name).to.be.equal('object');
+ scope = scopeManager.scopes[1];
+ expect(scope.type).to.be.equal('function');
+ expect(scope.variables).to.have.length(8);
+ _ref = ['arguments', 'shorthand', 'a', 'b', 'c', 'd', 'e', 'world'];
+ for (index = _i = 0, _len = _ref.length; _i < _len; index = ++_i) {
+ name = _ref[index];
+ expect(scope.variables[index].name).to.be.equal(name);
+ }
+ expect(scope.references).to.have.length(8);
+ _ref1 = ['shorthand', 'a', 'b', 'c', 'd', 'e', 'world'];
+ for (index = _j = 0, _len1 = _ref1.length; _j < _len1; index = ++_j) {
+ name = _ref1[index];
+ expect(scope.references[index].identifier.name).to.be.equal(name);
+ expect(scope.references[index].isWrite()).to.be["true"];
+ expect(scope.references[index].partial).to.be["true"];
+ }
+ expect(scope.references[7].identifier.name).to.be.equal('object');
+ return expect(scope.references[7].isWrite()).to.be["false"];
+ });
+ it('ArrayPattern in AssignmentExpression', function() {
+ var ast, globalScope, scope, scopeManager;
+ ast = harmony.parse("(function () {\n [a, b, c] = array;\n}());");
+ scopeManager = escope.analyze(ast, {
+ ecmaVersion: 6
+ });
+ expect(scopeManager.scopes).to.have.length(2);
+ scope = scopeManager.scopes[0];
+ globalScope = scope;
+ expect(scope.type).to.be.equal('global');
+ expect(scope.variables).to.have.length(0);
+ expect(scope.references).to.have.length(0);
+ expect(scope.implicit.left).to.have.length(4);
+ expect(scope.implicit.left.map((function(_this) {
+ return function(ref) {
+ return ref.identifier.name;
+ };
+ })(this))).to.deep.equal(['a', 'b', 'c', 'array']);
+ scope = scopeManager.scopes[1];
+ expect(scope.type).to.be.equal('function');
+ expect(scope.variables).to.have.length(1);
+ expect(scope.variables[0].name).to.be.equal('arguments');
+ expect(scope.references).to.have.length(4);
+ expect(scope.references[0].identifier.name).to.be.equal('a');
+ expect(scope.references[0].isWrite()).to.be["true"];
+ expect(scope.references[0].partial).to.be["true"];
+ expect(scope.references[0].resolved).to.be["null"];
+ expect(scope.references[1].identifier.name).to.be.equal('b');
+ expect(scope.references[1].isWrite()).to.be["true"];
+ expect(scope.references[1].partial).to.be["true"];
+ expect(scope.references[1].resolved).to.be["null"];
+ expect(scope.references[2].identifier.name).to.be.equal('c');
+ expect(scope.references[2].isWrite()).to.be["true"];
+ expect(scope.references[2].partial).to.be["true"];
+ expect(scope.references[2].resolved).to.be["null"];
+ expect(scope.references[3].identifier.name).to.be.equal('array');
+ return expect(scope.references[3].isWrite()).to.be["false"];
+ });
+ it('SpreadElement in AssignmentExpression', function() {
+ var ast, globalScope, index, name, scope, scopeManager, _i, _len, _ref;
+ ast = harmony.parse("(function () {\n [a, b, ...rest] = array;\n}());");
+ scopeManager = escope.analyze(ast, {
+ ecmaVersion: 6
+ });
+ expect(scopeManager.scopes).to.have.length(2);
+ scope = scopeManager.scopes[0];
+ globalScope = scope;
+ expect(scope.type).to.be.equal('global');
+ expect(scope.variables).to.have.length(0);
+ expect(scope.references).to.have.length(0);
+ expect(scope.implicit.left).to.have.length(4);
+ expect(scope.implicit.left.map((function(_this) {
+ return function(ref) {
+ return ref.identifier.name;
+ };
+ })(this))).to.deep.equal(['a', 'b', 'rest', 'array']);
+ scope = scopeManager.scopes[1];
+ expect(scope.type).to.be.equal('function');
+ expect(scope.variables).to.have.length(1);
+ expect(scope.variables[0].name).to.be.equal('arguments');
+ expect(scope.references).to.have.length(4);
+ expect(scope.references[0].identifier.name).to.be.equal('a');
+ expect(scope.references[0].isWrite()).to.be["true"];
+ expect(scope.references[0].partial).to.be["true"];
+ expect(scope.references[0].resolved).to.be["null"];
+ expect(scope.references[1].identifier.name).to.be.equal('b');
+ expect(scope.references[1].isWrite()).to.be["true"];
+ expect(scope.references[1].partial).to.be["true"];
+ expect(scope.references[1].resolved).to.be["null"];
+ expect(scope.references[2].identifier.name).to.be.equal('rest');
+ expect(scope.references[2].isWrite()).to.be["true"];
+ expect(scope.references[2].partial).to.be["true"];
+ expect(scope.references[2].resolved).to.be["null"];
+ expect(scope.references[3].identifier.name).to.be.equal('array');
+ expect(scope.references[3].isWrite()).to.be["false"];
+ ast = harmony.parse("(function () {\n [a, b, ...[c, d, ...rest]] = array;\n}());");
+ scopeManager = escope.analyze(ast, {
+ ecmaVersion: 6
+ });
+ expect(scopeManager.scopes).to.have.length(2);
+ scope = scopeManager.scopes[0];
+ globalScope = scope;
+ expect(scope.type).to.be.equal('global');
+ expect(scope.variables).to.have.length(0);
+ expect(scope.references).to.have.length(0);
+ expect(scope.implicit.left).to.have.length(6);
+ expect(scope.implicit.left.map((function(_this) {
+ return function(ref) {
+ return ref.identifier.name;
+ };
+ })(this))).to.deep.equal(['a', 'b', 'c', 'd', 'rest', 'array']);
+ scope = scopeManager.scopes[1];
+ expect(scope.type).to.be.equal('function');
+ expect(scope.variables).to.have.length(1);
+ expect(scope.variables[0].name).to.be.equal('arguments');
+ expect(scope.references).to.have.length(6);
+ _ref = ['a', 'b', 'c', 'd', 'rest'];
+ for (index = _i = 0, _len = _ref.length; _i < _len; index = ++_i) {
+ name = _ref[index];
+ expect(scope.references[index].identifier.name).to.be.equal(name);
+ expect(scope.references[index].isWrite()).to.be["true"];
+ expect(scope.references[index].partial).to.be["true"];
+ expect(scope.references[index].resolved).to.be["null"];
+ }
+ expect(scope.references[5].identifier.name).to.be.equal('array');
+ return expect(scope.references[5].isWrite()).to.be["false"];
+ });
+ it('ObjectPattern in AssignmentExpression', function() {
+ var ast, globalScope, scope, scopeManager;
+ ast = harmony.parse("(function () {\n ({\n shorthand,\n key: value,\n hello: {\n world\n }\n }) = object;\n}());");
+ scopeManager = escope.analyze(ast, {
+ ecmaVersion: 6
+ });
+ expect(scopeManager.scopes).to.have.length(2);
+ scope = scopeManager.scopes[0];
+ globalScope = scope;
+ expect(scope.type).to.be.equal('global');
+ expect(scope.variables).to.have.length(0);
+ expect(scope.references).to.have.length(0);
+ expect(scope.implicit.left).to.have.length(4);
+ expect(scope.implicit.left.map((function(_this) {
+ return function(ref) {
+ return ref.identifier.name;
+ };
+ })(this))).to.deep.equal(['shorthand', 'value', 'world', 'object']);
+ scope = scopeManager.scopes[1];
+ expect(scope.type).to.be.equal('function');
+ expect(scope.variables).to.have.length(1);
+ expect(scope.variables[0].name).to.be.equal('arguments');
+ expect(scope.references).to.have.length(4);
+ expect(scope.references[0].identifier.name).to.be.equal('shorthand');
+ expect(scope.references[0].isWrite()).to.be["true"];
+ expect(scope.references[0].partial).to.be["true"];
+ expect(scope.references[0].resolved).to["null"];
+ expect(scope.references[1].identifier.name).to.be.equal('value');
+ expect(scope.references[1].isWrite()).to.be["true"];
+ expect(scope.references[1].partial).to.be["true"];
+ expect(scope.references[1].resolved).to["null"];
+ expect(scope.references[2].identifier.name).to.be.equal('world');
+ expect(scope.references[2].isWrite()).to.be["true"];
+ expect(scope.references[2].partial).to.be["true"];
+ expect(scope.references[2].resolved).to["null"];
+ expect(scope.references[3].identifier.name).to.be.equal('object');
+ return expect(scope.references[3].isWrite()).to.be["false"];
+ });
+ it('complex pattern in AssignmentExpression', function() {
+ var ast, globalScope, index, name, scope, scopeManager, _i, _len, _ref;
+ ast = harmony.parse("(function () {\n ({\n shorthand,\n key: [ a, b, c, d, e ],\n hello: {\n world\n }\n }) = object;\n}());");
+ scopeManager = escope.analyze(ast, {
+ ecmaVersion: 6
+ });
+ expect(scopeManager.scopes).to.have.length(2);
+ scope = scopeManager.scopes[0];
+ globalScope = scope;
+ expect(scope.type).to.be.equal('global');
+ expect(scope.variables).to.have.length(0);
+ expect(scope.references).to.have.length(0);
+ expect(scope.implicit.left).to.have.length(8);
+ expect(scope.implicit.left.map((function(_this) {
+ return function(ref) {
+ return ref.identifier.name;
+ };
+ })(this))).to.deep.equal(['shorthand', 'a', 'b', 'c', 'd', 'e', 'world', 'object']);
+ scope = scopeManager.scopes[1];
+ expect(scope.type).to.be.equal('function');
+ expect(scope.variables).to.have.length(1);
+ expect(scope.variables[0].name).to.be.equal('arguments');
+ expect(scope.references).to.have.length(8);
+ _ref = ['shorthand', 'a', 'b', 'c', 'd', 'e', 'world'];
+ for (index = _i = 0, _len = _ref.length; _i < _len; index = ++_i) {
+ name = _ref[index];
+ expect(scope.references[index].identifier.name).to.be.equal(name);
+ expect(scope.references[index].isWrite()).to.be["true"];
+ expect(scope.references[index].partial).to.be["true"];
+ }
+ expect(scope.references[7].identifier.name).to.be.equal('object');
+ return expect(scope.references[7].isWrite()).to.be["false"];
+ });
+ it('ArrayPattern in parameters', function() {
+ var ast, globalScope, scope, scopeManager;
+ ast = harmony.parse("(function ([a, b, c]) {\n}(array));");
+ scopeManager = escope.analyze(ast, {
+ ecmaVersion: 6
+ });
+ expect(scopeManager.scopes).to.have.length(2);
+ scope = scopeManager.scopes[0];
+ globalScope = scope;
+ expect(scope.type).to.be.equal('global');
+ expect(scope.variables).to.have.length(0);
+ expect(scope.references).to.have.length(1);
+ expect(scope.references[0].identifier.name).to.be.equal('array');
+ expect(scope.implicit.left).to.have.length(1);
+ expect(scope.implicit.left[0].identifier.name).to.be.equal('array');
+ scope = scopeManager.scopes[1];
+ expect(scope.type).to.be.equal('function');
+ expect(scope.variables).to.have.length(4);
+ expect(scope.variables[0].name).to.be.equal('arguments');
+ expect(scope.variables[1].name).to.be.equal('a');
+ expect(scope.variables[2].name).to.be.equal('b');
+ expect(scope.variables[3].name).to.be.equal('c');
+ return expect(scope.references).to.have.length(0);
+ });
+ it('SpreadElement in parameters', function() {
+ var ast, globalScope, scope, scopeManager;
+ ast = harmony.parse("(function ([a, b, ...rest], ...rest2) {\n}(array));");
+ scopeManager = escope.analyze(ast, {
+ ecmaVersion: 6
+ });
+ expect(scopeManager.scopes).to.have.length(2);
+ scope = scopeManager.scopes[0];
+ globalScope = scope;
+ expect(scope.type).to.be.equal('global');
+ expect(scope.variables).to.have.length(0);
+ expect(scope.references).to.have.length(1);
+ expect(scope.references[0].identifier.name).to.be.equal('array');
+ expect(scope.implicit.left).to.have.length(1);
+ expect(scope.implicit.left[0].identifier.name).to.be.equal('array');
+ scope = scopeManager.scopes[1];
+ expect(scope.type).to.be.equal('function');
+ expect(scope.variables).to.have.length(5);
+ expect(scope.variables[0].name).to.be.equal('arguments');
+ expect(scope.variables[1].name).to.be.equal('a');
+ expect(scope.variables[2].name).to.be.equal('b');
+ expect(scope.variables[3].name).to.be.equal('rest');
+ expect(scope.variables[3].defs[0].rest).to.be["false"];
+ expect(scope.variables[4].name).to.be.equal('rest2');
+ expect(scope.variables[4].defs[0].rest).to.be["true"];
+ return expect(scope.references).to.have.length(0);
+ });
+ it('ObjectPattern in parameters', function() {
+ var ast, globalScope, scope, scopeManager;
+ ast = harmony.parse("(function ({\n shorthand,\n key: value,\n hello: {\n world\n }\n }) {\n}(object));");
+ scopeManager = escope.analyze(ast, {
+ ecmaVersion: 6
+ });
+ expect(scopeManager.scopes).to.have.length(2);
+ scope = scopeManager.scopes[0];
+ globalScope = scope;
+ expect(scope.type).to.be.equal('global');
+ expect(scope.variables).to.have.length(0);
+ expect(scope.references).to.have.length(1);
+ expect(scope.references[0].identifier.name).to.be.equal('object');
+ expect(scope.implicit.left).to.have.length(1);
+ expect(scope.implicit.left[0].identifier.name).to.be.equal('object');
+ scope = scopeManager.scopes[1];
+ expect(scope.type).to.be.equal('function');
+ expect(scope.variables).to.have.length(4);
+ expect(scope.variables[0].name).to.be.equal('arguments');
+ expect(scope.variables[1].name).to.be.equal('shorthand');
+ expect(scope.variables[2].name).to.be.equal('value');
+ expect(scope.variables[3].name).to.be.equal('world');
+ return expect(scope.references).to.have.length(0);
+ });
+ return it('complex pattern in parameters', function() {
+ var ast, globalScope, index, name, scope, scopeManager, _i, _len, _ref;
+ ast = harmony.parse("(function ({\n shorthand,\n key: [ a, b, c, d, e ],\n hello: {\n world\n }\n }) {\n}(object));");
+ scopeManager = escope.analyze(ast, {
+ ecmaVersion: 6
+ });
+ expect(scopeManager.scopes).to.have.length(2);
+ scope = scopeManager.scopes[0];
+ globalScope = scope;
+ expect(scope.type).to.be.equal('global');
+ expect(scope.variables).to.have.length(0);
+ expect(scope.references).to.have.length(1);
+ expect(scope.references[0].identifier.name).to.be.equal('object');
+ expect(scope.implicit.left).to.have.length(1);
+ expect(scope.implicit.left[0].identifier.name).to.be.equal('object');
+ scope = scopeManager.scopes[1];
+ expect(scope.type).to.be.equal('function');
+ expect(scope.variables).to.have.length(8);
+ _ref = ['arguments', 'shorthand', 'a', 'b', 'c', 'd', 'e', 'world'];
+ for (index = _i = 0, _len = _ref.length; _i < _len; index = ++_i) {
+ name = _ref[index];
+ expect(scope.variables[index].name).to.be.equal(name);
+ }
+ return expect(scope.references).to.have.length(0);
+ });
+ });
+
+}).call(this);
+
+//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImVzNi1kZXN0cnVjdHVyaW5nLWFzc2lnbm1lbnRzLmNvZmZlZSJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUF1QkE7QUFBQSxNQUFBLHVCQUFBOztBQUFBLEVBQUEsTUFBQSxHQUFTLE9BQUEsQ0FBUyxNQUFULENBQWUsQ0FBQyxNQUF6QixDQUFBOztBQUFBLEVBQ0EsT0FBQSxHQUFVLE9BQUEsQ0FBUyx3QkFBVCxDQURWLENBQUE7O0FBQUEsRUFFQSxNQUFBLEdBQVMsT0FBQSxDQUFTLElBQVQsQ0FGVCxDQUFBOztBQUFBLEVBSUEsUUFBQSxDQUFVLCtCQUFWLEVBQTBDLFNBQUEsR0FBQTtBQUN0QyxJQUFBLEVBQUEsQ0FBSSxrQ0FBSixFQUF1QyxTQUFBLEdBQUE7QUFDbkMsVUFBQSxxQ0FBQTtBQUFBLE1BQUEsR0FBQSxHQUFNLE9BQU8sQ0FBQyxLQUFSLENBQWlCLDBEQUFqQixDQUFOLENBQUE7QUFBQSxNQU1BLFlBQUEsR0FBZSxNQUFNLENBQUMsT0FBUCxDQUFlLEdBQWYsRUFBb0I7QUFBQSxRQUFBLFdBQUEsRUFBYSxDQUFiO09BQXBCLENBTmYsQ0FBQTtBQUFBLE1BT0EsTUFBQSxDQUFPLFlBQV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50by5iZS5lcXVhbCAnZ2xvYmFsJ1xuICAgICAgICBleHBlY3Qoc2NvcGUudmFyaWFibGVzKS50by5oYXZlLmxlbmd0aCAwXG4gICAgICAgIGV4cGVjdChzY29wZS5yZWZlcmVuY2VzKS50by5oYXZlLmxlbmd0aCAwXG4gICAgICAgIGV4cGVjdChzY29wZS5pbXBsaWNpdC5sZWZ0KS50by5oYXZlLmxlbmd0aCAxXG4gICAgICAgIGV4cGVjdChzY29wZS5pbXBsaWNpdC5sZWZ0WzBdLmlkZW50aWZpZXIubmFtZSkudG8uYmUuZXF1YWwgJ2FycmF5J1xuXG4gICAgICAgIHNjb3BlID0gc2NvcGVNYW5hZ2VyLnNjb3Blc1sxXVxuICAgICAgICBleHBlY3Qoc2NvcGUudHlwZSkudG8uYmUuZXF1YWwgJ2Z1bmN0aW9uJ1xuXG4gICAgICAgIGV4cGVjdChzY29wZS52YXJpYWJsZXMpLnRvLmhhdmUubGVuZ3RoIDZcbiAgICAgICAgZm9yIG5hbWUsIGluZGV4IGluIFtcbiAgICAgICAgICAgICAgICAnYXJndW1lbnRzJ1xuICAgICAgICAgICAgICAgICdhJ1xuICAgICAgICAgICAgICAgICdiJ1xuICAgICAgICAgICAgICAgICdjJ1xuICAgICAgICAgICAgICAgICdkJ1xuICAgICAgICAgICAgICAgICdyZXN0J1xuICAgICAgICAgICAgXVxuICAgICAgICAgICAgZXhwZWN0KHNjb3BlLnZhcmlhYmxlc1tpbmRleF0ubmFtZSkudG8uYmUuZXF1YWwgbmFtZVxuXG4gICAgICAgIGV4cGVjdChzY29wZS5yZWZlcmVuY2VzKS50by5oYXZlLmxlbmd0aCA2XG4gICAgICAgIGZvciBuYW1lLCBpbmRleCBpbiBbXG4gICAgICAgICAgICAgICAgJ2EnXG4gICAgICAgICAgICAgICAgJ2InXG4gICAgICAgICAgICAgICAgJ2MnXG4gICAgICAgICAgICAgICAgJ2QnXG4gICAgICAgICAgICAgICAgJ3Jlc3QnXG4gICAgICAgICAgICBdXG4gICAgICAgICAgICBleHBlY3Qoc2NvcGUucmVmZXJlbmNlc1tpbmRleF0uaWRlbnRpZmllci5uYW1lKS50by5iZS5lcXVhbCBuYW1lXG4gICAgICAgICAgICBleHBlY3Qoc2NvcGUucmVmZXJlbmNlc1tpbmRleF0uaXNXcml0ZSgpKS50by5iZS50cnVlXG4gICAgICAgICAgICBleHBlY3Qoc2NvcGUucmVmZXJlbmNlc1tpbmRleF0ucGFydGlhbCkudG8uYmUudHJ1ZVxuICAgICAgICBleHBlY3Qoc2NvcGUucmVmZXJlbmNlc1s1XS5pZGVudGlmaWVyLm5hbWUpLnRvLmJlLmVxdWFsICdhcnJheSdcbiAgICAgICAgZXhwZWN0KHNjb3BlLnJlZmVyZW5jZXNbNV0uaXNXcml0ZSgpKS50by5iZS5mYWxzZVxuXG4gICAgaXQgJ09iamVjdFBhdHRlcm4gaW4gdmFyJywgLT5cbiAgICAgICAgYXN0ID0gaGFybW9ueS5wYXJzZSBcIlwiXCJcbiAgICAgICAgKGZ1bmN0aW9uICgpIHtcbiAgICAgICAgICAgIHZhciB7XG4gICAgICAgICAgICAgICAgc2hvcnRoYW5kLFxuICAgICAgICAgICAgICAgIGtleTogdmFsdWUsXG4gICAgICAgICAgICAgICAgaGVsbG86IHtcbiAgICAgICAgICAgICAgICAgICAgd29ybGRcbiAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICB9ID0gb2JqZWN0O1xuICAgICAgICB9KCkpO1xuICAgICAgICBcIlwiXCJcblxuICAgICAgICBzY29wZU1hbmFnZXIgPSBlc2NvcGUuYW5hbHl6ZSBhc3QsIGVjbWFWZXJzaW9uOiA2XG4gICAgICAgIGV4cGVjdChzY29wZU1hbmFnZXIuc2NvcGVzKS50by5oYXZlLmxlbmd0aCAyXG5cbiAgICAgICAgc2NvcGUgPSBzY29wZU1hbmFnZXIuc2NvcGVzWzBdXG4gICAgICAgIGdsb2JhbFNjb3BlID0gc2NvcGVcbiAgICAgICAgZXhwZWN0KHNjb3BlL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gICBleHBlY3Qoc2NvcGUudHlwZSkudG8uYmUuZXF1YWwgJ2Z1bmN0aW9uJ1xuICAgICAgICBleHBlY3Qoc2NvcGUudmFyaWFibGVzKS50by5oYXZlLmxlbmd0aCA4XG4gICAgICAgIGZvciBuYW1lLCBpbmRleCBpbiBbXG4gICAgICAgICAgICAgICAgJ2FyZ3VtZW50cydcbiAgICAgICAgICAgICAgICAnc2hvcnRoYW5kJ1xuICAgICAgICAgICAgICAgICdhJ1xuICAgICAgICAgICAgICAgICdiJ1xuICAgICAgICAgICAgICAgICdjJ1xuICAgICAgICAgICAgICAgICdkJ1xuICAgICAgICAgICAgICAgICdlJ1xuICAgICAgICAgICAgICAgICd3b3JsZCdcbiAgICAgICAgICAgIF1cbiAgICAgICAgICAgIGV4cGVjdChzY29wZS52YXJpYWJsZXNbaW5kZXhdLm5hbWUpLnRvLmJlLmVxdWFsIG5hbWVcbiAgICAgICAgZXhwZWN0KHNjb3BlLnJlZmVyZW5jZXMpLnRvLmhhdmUubGVuZ3RoIDhcbiAgICAgICAgZm9yIG5hbWUsIGluZGV4IGluIFtcbiAgICAgICAgICAgICAgICAnc2hvcnRoYW5kJ1xuICAgICAgICAgICAgICAgICdhJ1xuICAgICAgICAgICAgICAgICdiJ1xuICAgICAgICAgICAgICAgICdjJ1xuICAgICAgICAgICAgICAgICdkJ1xuICAgICAgICAgICAgICAgICdlJ1xuICAgICAgICAgICAgICAgICd3b3JsZCdcbiAgICAgICAgICAgIF1cbiAgICAgICAgICAgIGV4cGVjdChzY29wZS5yZWZlcmVuY2VzW2luZGV4XS5pZGVudGlmaWVyLm5hbWUpLnRvLmJlLmVxdWFsIG5hbWVcbiAgICAgICAgICAgIGV4cGVjdChzY29wZS5yZWZlcmVuY2VzW2luZGV4XS5pc1dyaXRlKCkpLnRvLmJlLnRydWVcbiAgICAgICAgICAgIGV4cGVjdChzY29wZS5yZWZlcmVuY2VzW2luZGV4XS5wYXJ0aWFsKS50by5iZS50cnVlXG4gICAgICA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Y3Qoc2NvcGUudHlwZSkudG8uYmUuZXF1YWwgJ2dsb2JhbCdcbiAgICAgICAgZXhwZWN0KHNjb3BlLnZhcmlhYmxlcykudG8uaGF2ZS5sZW5ndGggMFxuICAgICAgICBleHBlY3Qoc2NvcGUucmVmZXJlbmNlcykudG8uaGF2ZS5sZW5ndGggMFxuICAgICAgICBleHBlY3Qoc2NvcGUuaW1wbGljaXQubGVmdCkudG8uaGF2ZS5sZW5ndGggNlxuICAgICAgICBleHBlY3Qoc2NvcGUuaW1wbGljaXQubGVmdC5tYXAoKHJlZikgPT4gcmVmLmlkZW50aWZpZXIubmFtZSkpLnRvLmRlZXAuZXF1YWwgW1xuICAgICAgICAgICAgJ2EnXG4gICAgICAgICAgICAnYidcbiAgICAgICAgICAgICdjJ1xuICAgICAgICAgICAgJ2QnXG4gICAgICAgICAgICAncmVzdCdcbiAgICAgICAgICAgICdhcnJheSdcbiAgICAgICAgXVxuXG4gICAgICAgIHNjb3BlID0gc2NvcGVNYW5hZ2VyLnNjb3Blc1sxXVxuICAgICAgICBleHBlY3Qoc2NvcGUudHlwZSkudG8uYmUuZXF1YWwgJ2Z1bmN0aW9uJ1xuXG4gICAgICAgIGV4cGVjdChzY29wZS52YXJpYWJsZXMpLnRvLmhhdmUubGVuZ3RoIDFcbiAgICAgICAgZXhwZWN0KHNjb3BlLnZhcmlhYmxlc1swXS5uYW1lKS50by5iZS5lcXVhbCAnYXJndW1lbnRzJ1xuXG4gICAgICAgIGV4cGVjdChzY29wZS5yZWZlcmVuY2VzKS50by5oYXZlLmxlbmd0aCA2XG4gICAgICAgIGZvciBuYW1lLCBpbmRleCBpbiBbXG4gICAgICAgICAgICAgICAgJ2EnXG4gICAgICAgICAgICAgICAgJ2InXG4gICAgICAgICAgICAgICAgJ2MnXG4gICAgICAgICAgICAgICAgJ2QnXG4gICAgICAgICAgICAgICAgJ3Jlc3QnXG4gICAgICAgICAgICBdXG4gICAgICAgICAgICBleHBlY3Qoc2NvcGUucmVmZXJlbmNlc1tpbmRleF0uaWRlbnRpZmllci5uYW1lKS50by5iZS5lcXVhbCBuYW1lXG4gICAgICAgICAgICBleHBlY3Qoc2NvcGUucmVmZXJlbmNlc1tpbmRleF0uaXNXcml0ZSgpKS50by5iZS50cnVlXG4gICAgICAgICAgICBleHBlY3Qoc2NvcGUucmVmZXJlbmNlc1tpbmRleF0ucGFydGlhbCkudG8uYmUudHJ1ZVxuICAgICAgICAgICAgZXhwZWN0KHNjb3BlLnJlZmVyZW5jZXNbaW5kZXhdLnJlc29sdmVkKS50by5iZS5udWxsXG4gICAgICAgIGV4cGVjdChzY29wZS5yZWZlcmVuY2VzWzVdLmlkZW50aWZpZXIubmFtZSkudG8uYmUuZXF1YWwgJ2FycmF5J1xuICAgICAgICBleHBlY3Qoc2NvcGUucmVmZXJlbmNlc1s1XS5pc1dyaXRlKCkpLnRvLmJlLmZhbHNlXG5cbiAgICBpdCAnT2JqZWN0UGF0dGVybiBpbiBBc3NpZ25tZW50RXhwcmVzc2lvbicsIC0+XG4gICAgICAgIGFzdCA9IGhhcm1vbnkucGFyc2UgXCJcIlwiXG4gICAgICAgIChmdW5jdGlvbiAoKSB7XG4gICAgICAgICAgICAoe1xuICAgICAgICAgICAgICAgIHNob3J0aGFuZCxcbiAgICAgICAgICAgICAgICBrZXk6IHZhbHVlLFxuICAgICAgICAgICAgICAgIGhlbGxvOiB7XG4gICAgICAgICAgICAgICAgICAgIHdvcmxkXG4gICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgfSkgPSBvYmplY3Q7XG4gICAgICAgIH0oKSk7XG4gICAgICAgIFwiXCJcIlxuXG4gICAgICAgIHNjb3BlTWFuYWdlciA9IGVzY29wZS5hbmFseXplIGFzdCwgZWNtYVZlcnNpb246IDZcbiAgICAgICAgZXhwZWN0KHNjb3BlTWFuYWdlci5zY29wZXMpLnRvLmhhdmUubGVuZ3RoIDJcblxuICAgICAgICBzY29wZSA9IHNjb3BlTWFuYWdlci5zY29wZXNbMF1cbiA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ICAgKHtcbiAgICAgICAgICAgICAgICBzaG9ydGhhbmQsXG4gICAgICAgICAgICAgICAga2V5OiBbIGEsIGIsIGMsIGQsIGUgXSxcbiAgICAgICAgICAgICAgICBoZWxsbzoge1xuICAgICAgICAgICAgICAgICAgICB3b3JsZFxuICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgIH0pID0gb2JqZWN0O1xuICAgICAgICB9KCkpO1xuICAgICAgICBcIlwiXCJcblxuICAgICAgICBzY29wZU1hbmFnZXIgPSBlc2NvcGUuYW5hbHl6ZSBhc3QsIGVjbWFWZXJzaW9uOiA2XG4gICAgICAgIGV4cGVjdChzY29wZU1hbmFnZXIuc2NvcGVzKS50by5oYXZlLmxlbmd0aCAyXG5cbiAgICAgICAgc2NvcGUgPSBzY29wZU1hbmFnZXIuc2NvcGVzWzBdXG4gICAgICAgIGdsb2JhbFNjb3BlID0gc2NvcGVcbiAgICAgICAgZXhwZWN0KHNjb3BlLnR5cGUpLnRvLmJlLmVxdWFsICdnbG9iYWwnXG4gICAgICAgIGV4cGVjdChzY29wZS52YXJpYWJsZXMpLnRvLmhhdmUubGVuZ3RoIDBcbiAgICAgICAgZXhwZWN0KHNjb3BlLnJlZmVyZW5jZXMpLnRvLmhhdmUubGVuZ3RoIDBcbiAgICAgICAgZXhwZWN0KHNjb3BlLmltcGxpY2l0LmxlZnQpLnRvLmhhdmUubGVuZ3RoIDhcbiAgICAgICAgZXhwZWN0KHNjb3BlLmltcGxpY2l0LmxlZnQubWFwKChyZWYpID0+IHJlZi5pZGVudGlmaWVyLm5hbWUpKS50by5kZWVwLmVxdWFsIFtcbiAgICAgICAgICAgICdzaG9ydGhhbmQnXG4gICAgICAgICAgICAnYSdcbiAgICAgICAgICAgICdiJ1xuICAgICAgICAgICAgJ2MnXG4gICAgICAgICAgICAnZCdcbiAgICAgICAgICAgICdlJ1xuICAgICAgICAgICAgJ3dvcmxkJ1xuICAgICAgICAgICAgJ29iamVjdCdcbiAgICAgICAgXVxuXG4g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Li5bYywgZCwgLi4ucmVzdF1dKSB7XG4gICAgICAgICMgfShhcnJheSkpO1xuICAgICAgICAjIFwiXCJcIlxuXG4gICAgICAgICMgc2NvcGVNYW5hZ2VyID0gZXNjb3BlLmFuYWx5emUgYXN0LCBlY21hVmVyc2lvbjogNlxuICAgICAgICAjIGV4cGVjdChzY29wZU1hbmFnZXIuc2NvcGVzKS50by5oYXZlLmxlbmd0aCAyXG5cbiAgICAgICAgIyBzY29wZSA9IHNjb3BlTWFuYWdlci5zY29wZXNbMF1cbiAgICAgICAgIyBnbG9iYWxTY29wZSA9IHNjb3BlXG4gICAgICAgICMgZXhwZWN0KHNjb3BlLnR5cGUpLnRvLmJlLmVxdWFsICdnbG9iYWwnXG4gICAgICAgICMgZXhwZWN0KHNjb3BlLnZhcmlhYmxlcykudG8uaGF2ZS5sZW5ndGggMFxuICAgICAgICAjIGV4cGVjdChzY29wZS5yZWZlcmVuY2VzKS50by5oYXZlLmxlbmd0aCAwXG4gICAgICAgICMgZXhwZWN0KHNjb3BlLmltcGxpY2l0LmxlZnQpLnRvLmhhdmUubGVuZ3RoIDFcbiAgICAgICAgIyBleHBlY3Qoc2NvcGUuaW1wbGljaXQubGVmdFswXS5pZGVudGlmaWVyLm5hbWUpLnRvLmJlLmVxdWFsICdhcnJheSdcblxuICAgICAgICAjIHNjb3BlID0gc2NvcGVNYW5hZ2VyLnNjb3Blc1sxXVxuICAgICAgICAjIGV4cGVjdChzY29wZS50eXBlKS50by5iZS5lcXVhbCAnZnVuY3Rpb24nXG5cbiAgICAgICAgIyBleHBlY3Qoc2NvcGUudmFyaWFibGVzKS50by5oYXZlLmxlbmd0aCA2XG4gICAgICAgICMgZm9yIG5hbWUsIGluZGV4IGluIFtcbiAgICAgICAgIyAgICAgICAgICdhcmd1bWVudHMnXG4gICAgICAgICMgICAgICAgICAnYSdcbiAgICAgICAgIyAgICAgICAgICdiJ1xuICAgICAgICAjICAgICAgICAgJ2MnXG4gICAgICAgICMgICAgICAgICAnZCdcbiAgICAgICAgIyAgICAgICAgICdyZXN0J1xuICAgICAgICAjICAgICBdXG4gICAgICAgICMgICAgIGV4cGVjdChzY29wZS52YXJpYWJsZXNbaW5kZXhdLm5hbWUpLnRvLmJlLmVxdWFsIG5hbWVcblxuICAgICAgICAjIGV4cGVjdChzY29wZS5yZWZlcmVuY2VzKS50by5oYXZlLmxlbmd0aCA2XG4gICAgICAgICMgZm9yIG5hbWUsIGluZGV4IGluIFtcbiAgICAgICAgIyAgICAgICAgICdhJ1xuICAgICAgICAjICAgICAgICAgJ2InXG4gICAgICAgICMgICAgICAgICAnYydcbiAgICAgICAgIyAgICAgICAgICdkJ1xuICAgICAgICAjICAgICAgICAgJ3Jlc3QnXG4gICAgICAgICMgICAgIF1cbiAgICAgICAgIyAgICAgZXhwZWN0KHNjb3BlLnJlZmVyZW5jZXNbaW5kZXhdLmlkZW50aWZpZXIubmFtZSkudG8uYmUuZXF1YWwgbmFtZVxuICAgICAgICAjICAgICBleHBlY3Qoc2NvcGUucmVmZXJlbmNlc1tpbmRleF0uaXNXcml0ZSgpKS50by5iZS50cnVlXG4gICAgICAgICMgICAgIGV4cGVjdChzY29wZS5yZWZlcmVuY2VzW2luZGV4XS5wYXJ0aWFsKS50by5iZS50cnVlXG4gICAgICAgICMgZXhwZWN0KHNjb3BlLnJlZmVyZW5jZXNbNV0uaWRlbnRpZmllci5uYW1lKS50by5iZS5lcXVhbCAnYXJyYXknXG4gICAgICAgICMgZXhwZWN0KHNjb3BlLnJlZmVyZW5jZXNbNV0uaXNXcml0ZSgpKS50by5iZS5mYWxzZVxuXG4gICAgaXQgJ09iamVjdFBhdHRlcm4gaW4gcGFyYW1ldGVycycsIC0+XG4gICAgICAgIGFzdCA9IGhhcm1vbnkucGFyc2UgXCJcIlwiXG4gICAgICAgIChmdW5jdGlvbiAoe1xuICAgICAgICAgICAgICAgIHNob3J0aGFuZCxcbiAgICAgICAgICAgICAgICBrZXk6IHZhbHVlLFxuICAgICAgICAgICAgICA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mUubGVuZ3RoIDBcbiAgICAgICAgZXhwZWN0KHNjb3BlLnJlZmVyZW5jZXMpLnRvLmhhdmUubGVuZ3RoIDFcbiAgICAgICAgZXhwZWN0KHNjb3BlLnJlZmVyZW5jZXNbMF0uaWRlbnRpZmllci5uYW1lKS50by5iZS5lcXVhbCAnb2JqZWN0J1xuICAgICAgICBleHBlY3Qoc2NvcGUuaW1wbGljaXQubGVmdCkudG8uaGF2ZS5sZW5ndGggMVxuICAgICAgICBleHBlY3Qoc2NvcGUuaW1wbGljaXQubGVmdFswXS5pZGVudGlmaWVyLm5hbWUpLnRvLmJlLmVxdWFsICdvYmplY3QnXG5cbiAgICAgICAgc2NvcGUgPSBzY29wZU1hbmFnZXIuc2NvcGVzWzFdXG4gICAgICAgIGV4cGVjdChzY29wZS50eXBlKS50by5iZS5lcXVhbCAnZnVuY3Rpb24nXG4gICAgICAgIGV4cGVjdChzY29wZS52YXJpYWJsZXMpLnRvLmhhdmUubGVuZ3RoIDhcbiAgICAgICAgZm9yIG5hbWUsIGluZGV4IGluIFtcbiAgICAgICAgICAgICAgICAnYXJndW1lbnRzJ1xuICAgICAgICAgICAgICAgICdzaG9ydGhhbmQnXG4gICAgICAgICAgICAgICAgJ2EnXG4gICAgICAgICAgICAgICAgJ2InXG4gICAgICAgICAgICAgICAgJ2MnXG4gICAgICAgICAgICAgICAgJ2QnXG4gICAgICAgICAgICAgICAgJ2UnXG4gICAgICAgICAgICAgICAgJ3dvcmxkJ1xuICAgICAgICAgICAgXVxuICAgICAgICAgICAgZXhwZWN0KHNjb3BlLnZhcmlhYmxlc1tpbmRleF0ubmFtZSkudG8uYmUuZXF1YWwgbmFtZVxuICAgICAgICBleHBlY3Qoc2NvcGUucmVmZXJlbmNlcykudG8uaGF2ZS5sZW5ndGggMFxuXG4jIHZpbTogc2V0IHN3PTQgdHM9NCBldCB0dz04MCA6XG4iXX0=
\ No newline at end of file
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/escope/powered-test/es6-export.js b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/escope/powered-test/es6-export.js
new file mode 100644
index 0000000..194fb06
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/escope/powered-test/es6-export.js
@@ -0,0 +1,202 @@
+(function() {
+ var escope, expect, harmony;
+
+ expect = require('chai').expect;
+
+ harmony = require('../third_party/esprima');
+
+ escope = require('..');
+
+ describe('export declaration', function() {
+ it('should create vairable bindings', function() {
+ var ast, globalScope, scope, scopeManager;
+ ast = harmony.parse("export var v;", {
+ sourceType: 'module'
+ });
+ scopeManager = escope.analyze(ast, {
+ ecmaVersion: 6,
+ sourceType: 'module'
+ });
+ expect(scopeManager.scopes).to.have.length(2);
+ globalScope = scopeManager.scopes[0];
+ expect(globalScope.type).to.be.equal('global');
+ expect(globalScope.variables).to.have.length(0);
+ expect(globalScope.references).to.have.length(0);
+ scope = scopeManager.scopes[1];
+ expect(scope.type).to.be.equal('module');
+ expect(scope.variables).to.have.length(1);
+ expect(scope.variables[0].name).to.be.equal('v');
+ expect(scope.variables[0].defs[0].type).to.be.equal('Variable');
+ return expect(scope.references).to.have.length(0);
+ });
+ it('should create function declaration bindings', function() {
+ var ast, globalScope, scope, scopeManager;
+ ast = harmony.parse("export default function f(){};", {
+ sourceType: 'module'
+ });
+ scopeManager = escope.analyze(ast, {
+ ecmaVersion: 6,
+ sourceType: 'module'
+ });
+ expect(scopeManager.scopes).to.have.length(3);
+ globalScope = scopeManager.scopes[0];
+ expect(globalScope.type).to.be.equal('global');
+ expect(globalScope.variables).to.have.length(0);
+ expect(globalScope.references).to.have.length(0);
+ scope = scopeManager.scopes[1];
+ expect(scope.type).to.be.equal('module');
+ expect(scope.variables).to.have.length(1);
+ expect(scope.variables[0].name).to.be.equal('f');
+ expect(scope.variables[0].defs[0].type).to.be.equal('FunctionName');
+ expect(scope.references).to.have.length(0);
+ scope = scopeManager.scopes[2];
+ expect(scope.type).to.be.equal('function');
+ expect(scope.variables).to.have.length(1);
+ expect(scope.variables[0].name).to.be.equal('arguments');
+ return expect(scope.references).to.have.length(0);
+ });
+ it('should export function expression', function() {
+ var ast, globalScope, scope, scopeManager;
+ ast = harmony.parse("export default function(){};", {
+ sourceType: 'module'
+ });
+ scopeManager = escope.analyze(ast, {
+ ecmaVersion: 6,
+ sourceType: 'module'
+ });
+ expect(scopeManager.scopes).to.have.length(3);
+ globalScope = scopeManager.scopes[0];
+ expect(globalScope.type).to.be.equal('global');
+ expect(globalScope.variables).to.have.length(0);
+ expect(globalScope.references).to.have.length(0);
+ scope = scopeManager.scopes[1];
+ expect(scope.type).to.be.equal('module');
+ expect(scope.variables).to.have.length(0);
+ expect(scope.references).to.have.length(0);
+ scope = scopeManager.scopes[2];
+ expect(scope.type).to.be.equal('function');
+ expect(scope.variables).to.have.length(1);
+ expect(scope.variables[0].name).to.be.equal('arguments');
+ return expect(scope.references).to.have.length(0);
+ });
+ it('should export literal', function() {
+ var ast, globalScope, scope, scopeManager;
+ ast = harmony.parse("export default 42;", {
+ sourceType: 'module'
+ });
+ scopeManager = escope.analyze(ast, {
+ ecmaVersion: 6,
+ sourceType: 'module'
+ });
+ expect(scopeManager.scopes).to.have.length(2);
+ globalScope = scopeManager.scopes[0];
+ expect(globalScope.type).to.be.equal('global');
+ expect(globalScope.variables).to.have.length(0);
+ expect(globalScope.references).to.have.length(0);
+ scope = scopeManager.scopes[1];
+ expect(scope.type).to.be.equal('module');
+ expect(scope.variables).to.have.length(0);
+ return expect(scope.references).to.have.length(0);
+ });
+ it('should refer exported references#1', function() {
+ var ast, globalScope, scope, scopeManager;
+ ast = harmony.parse("export {x};", {
+ sourceType: 'module'
+ });
+ scopeManager = escope.analyze(ast, {
+ ecmaVersion: 6,
+ sourceType: 'module'
+ });
+ expect(scopeManager.scopes).to.have.length(2);
+ globalScope = scopeManager.scopes[0];
+ expect(globalScope.type).to.be.equal('global');
+ expect(globalScope.variables).to.have.length(0);
+ expect(globalScope.references).to.have.length(0);
+ scope = scopeManager.scopes[1];
+ expect(scope.type).to.be.equal('module');
+ expect(scope.variables).to.have.length(0);
+ expect(scope.references).to.have.length(1);
+ return expect(scope.references[0].identifier.name).to.be.equal('x');
+ });
+ it('should refer exported references#2', function() {
+ var ast, globalScope, scope, scopeManager;
+ ast = harmony.parse("export {v as x};", {
+ sourceType: 'module'
+ });
+ scopeManager = escope.analyze(ast, {
+ ecmaVersion: 6,
+ sourceType: 'module'
+ });
+ expect(scopeManager.scopes).to.have.length(2);
+ globalScope = scopeManager.scopes[0];
+ expect(globalScope.type).to.be.equal('global');
+ expect(globalScope.variables).to.have.length(0);
+ expect(globalScope.references).to.have.length(0);
+ scope = scopeManager.scopes[1];
+ expect(scope.type).to.be.equal('module');
+ expect(scope.variables).to.have.length(0);
+ expect(scope.references).to.have.length(1);
+ return expect(scope.references[0].identifier.name).to.be.equal('v');
+ });
+ it('should not refer exported references from other source#1', function() {
+ var ast, globalScope, scope, scopeManager;
+ ast = harmony.parse("export {x} from \"mod\";", {
+ sourceType: 'module'
+ });
+ scopeManager = escope.analyze(ast, {
+ ecmaVersion: 6,
+ sourceType: 'module'
+ });
+ expect(scopeManager.scopes).to.have.length(2);
+ globalScope = scopeManager.scopes[0];
+ expect(globalScope.type).to.be.equal('global');
+ expect(globalScope.variables).to.have.length(0);
+ expect(globalScope.references).to.have.length(0);
+ scope = scopeManager.scopes[1];
+ expect(scope.type).to.be.equal('module');
+ expect(scope.variables).to.have.length(0);
+ return expect(scope.references).to.have.length(0);
+ });
+ it('should not refer exported references from other source#2', function() {
+ var ast, globalScope, scope, scopeManager;
+ ast = harmony.parse("export {v as x} from \"mod\";", {
+ sourceType: 'module'
+ });
+ scopeManager = escope.analyze(ast, {
+ ecmaVersion: 6,
+ sourceType: 'module'
+ });
+ expect(scopeManager.scopes).to.have.length(2);
+ globalScope = scopeManager.scopes[0];
+ expect(globalScope.type).to.be.equal('global');
+ expect(globalScope.variables).to.have.length(0);
+ expect(globalScope.references).to.have.length(0);
+ scope = scopeManager.scopes[1];
+ expect(scope.type).to.be.equal('module');
+ expect(scope.variables).to.have.length(0);
+ return expect(scope.references).to.have.length(0);
+ });
+ return it('should not refer exported references from other source#3', function() {
+ var ast, globalScope, scope, scopeManager;
+ ast = harmony.parse("export * from \"mod\";", {
+ sourceType: 'module'
+ });
+ scopeManager = escope.analyze(ast, {
+ ecmaVersion: 6,
+ sourceType: 'module'
+ });
+ expect(scopeManager.scopes).to.have.length(2);
+ globalScope = scopeManager.scopes[0];
+ expect(globalScope.type).to.be.equal('global');
+ expect(globalScope.variables).to.have.length(0);
+ expect(globalScope.references).to.have.length(0);
+ scope = scopeManager.scopes[1];
+ expect(scope.type).to.be.equal('module');
+ expect(scope.variables).to.have.length(0);
+ return expect(scope.references).to.have.length(0);
+ });
+ });
+
+}).call(this);
+
+//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImVzNi1leHBvcnQuY29mZmVlIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQXVCQTtBQUFBLE1BQUEsdUJBQUE7O0FBQUEsRUFBQSxNQUFBLEdBQVMsT0FBQSxDQUFTLE1BQVQsQ0FBZSxDQUFDLE1BQXpCLENBQUE7O0FBQUEsRUFDQSxPQUFBLEdBQVUsT0FBQSxDQUFTLHdCQUFULENBRFYsQ0FBQTs7QUFBQSxFQUVBLE1BQUEsR0FBUyxPQUFBLENBQVMsSUFBVCxDQUZULENBQUE7O0FBQUEsRUFJQSxRQUFBLENBQVUsb0JBQVYsRUFBK0IsU0FBQSxHQUFBO0FBRTNCLElBQUEsRUFBQSxDQUFJLGlDQUFKLEVBQXNDLFNBQUEsR0FBQTtBQUNsQyxVQUFBLHFDQUFBO0FBQUEsTUFBQSxHQUFBLEdBQU0sT0FBTyxDQUFDLEtBQVIsQ0FBaUIsZUFBakIsRUFFRDtBQUFBLFFBQUEsVUFBQSxFQUFhLFFBQWI7T0FGQyxDQU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b3BlLnJlZmVyZW5jZXMpLnRvLmhhdmUubGVuZ3RoIDBcblxuICAgICAgICBzY29wZSA9IHNjb3BlTWFuYWdlci5zY29wZXNbMV1cbiAgICAgICAgZXhwZWN0KHNjb3BlLnR5cGUpLnRvLmJlLmVxdWFsICdtb2R1bGUnXG4gICAgICAgIGV4cGVjdChzY29wZS52YXJpYWJsZXMpLnRvLmhhdmUubGVuZ3RoIDBcbiAgICAgICAgZXhwZWN0KHNjb3BlLnJlZmVyZW5jZXMpLnRvLmhhdmUubGVuZ3RoIDBcblxuIyB2aW06IHNldCBzdz00IHRzPTQgZXQgdHc9ODAgOlxuIl19
\ No newline at end of file
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/escope/powered-test/es6-import.js b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/escope/powered-test/es6-import.js
new file mode 100644
index 0000000..4d6e7f5
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/escope/powered-test/es6-import.js
@@ -0,0 +1,103 @@
+(function() {
+ var escope, expect, harmony;
+
+ expect = require('chai').expect;
+
+ harmony = require('../third_party/esprima');
+
+ escope = require('..');
+
+ describe('import declaration', function() {
+ it('should import names from source', function() {
+ var ast, globalScope, scope, scopeManager;
+ ast = harmony.parse("import v from \"mod\";", {
+ sourceType: 'module'
+ });
+ scopeManager = escope.analyze(ast, {
+ ecmaVersion: 6,
+ sourceType: 'module'
+ });
+ expect(scopeManager.scopes).to.have.length(2);
+ globalScope = scopeManager.scopes[0];
+ expect(globalScope.type).to.be.equal('global');
+ expect(globalScope.variables).to.have.length(0);
+ expect(globalScope.references).to.have.length(0);
+ scope = scopeManager.scopes[1];
+ expect(scope.type).to.be.equal('module');
+ expect(scope.isStrict).to.be["true"];
+ expect(scope.variables).to.have.length(1);
+ expect(scope.variables[0].name).to.be.equal('v');
+ expect(scope.variables[0].defs[0].type).to.be.equal('ImportBinding');
+ return expect(scope.references).to.have.length(0);
+ });
+ it('should import namespaces', function() {
+ var ast, globalScope, scope, scopeManager;
+ ast = harmony.parse("import * as ns from \"mod\";", {
+ sourceType: 'module'
+ });
+ scopeManager = escope.analyze(ast, {
+ ecmaVersion: 6,
+ sourceType: 'module'
+ });
+ expect(scopeManager.scopes).to.have.length(2);
+ globalScope = scopeManager.scopes[0];
+ expect(globalScope.type).to.be.equal('global');
+ expect(globalScope.variables).to.have.length(0);
+ expect(globalScope.references).to.have.length(0);
+ scope = scopeManager.scopes[1];
+ expect(scope.type).to.be.equal('module');
+ expect(scope.isStrict).to.be["true"];
+ expect(scope.variables).to.have.length(1);
+ expect(scope.variables[0].name).to.be.equal('ns');
+ expect(scope.variables[0].defs[0].type).to.be.equal('ImportBinding');
+ return expect(scope.references).to.have.length(0);
+ });
+ it('should import insided names#1', function() {
+ var ast, globalScope, scope, scopeManager;
+ ast = harmony.parse("import {x} from \"mod\";", {
+ sourceType: 'module'
+ });
+ scopeManager = escope.analyze(ast, {
+ ecmaVersion: 6,
+ sourceType: 'module'
+ });
+ expect(scopeManager.scopes).to.have.length(2);
+ globalScope = scopeManager.scopes[0];
+ expect(globalScope.type).to.be.equal('global');
+ expect(globalScope.variables).to.have.length(0);
+ expect(globalScope.references).to.have.length(0);
+ scope = scopeManager.scopes[1];
+ expect(scope.type).to.be.equal('module');
+ expect(scope.isStrict).to.be["true"];
+ expect(scope.variables).to.have.length(1);
+ expect(scope.variables[0].name).to.be.equal('x');
+ expect(scope.variables[0].defs[0].type).to.be.equal('ImportBinding');
+ return expect(scope.references).to.have.length(0);
+ });
+ return it('should import insided names#2', function() {
+ var ast, globalScope, scope, scopeManager;
+ ast = harmony.parse("import {x as v} from \"mod\";", {
+ sourceType: 'module'
+ });
+ scopeManager = escope.analyze(ast, {
+ ecmaVersion: 6,
+ sourceType: 'module'
+ });
+ expect(scopeManager.scopes).to.have.length(2);
+ globalScope = scopeManager.scopes[0];
+ expect(globalScope.type).to.be.equal('global');
+ expect(globalScope.variables).to.have.length(0);
+ expect(globalScope.references).to.have.length(0);
+ scope = scopeManager.scopes[1];
+ expect(scope.type).to.be.equal('module');
+ expect(scope.isStrict).to.be["true"];
+ expect(scope.variables).to.have.length(1);
+ expect(scope.variables[0].name).to.be.equal('v');
+ expect(scope.variables[0].defs[0].type).to.be.equal('ImportBinding');
+ return expect(scope.references).to.have.length(0);
+ });
+ });
+
+}).call(this);
+
+//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImVzNi1pbXBvcnQuY29mZmVlIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQXVCQTtBQUFBLE1BQUEsdUJBQUE7O0FBQUEsRUFBQSxNQUFBLEdBQVMsT0FBQSxDQUFTLE1BQVQsQ0FBZSxDQUFDLE1BQXpCLENBQUE7O0FBQUEsRUFDQSxPQUFBLEdBQVUsT0FBQSxDQUFTLHdCQUFULENBRFYsQ0FBQTs7QUFBQSxFQUVBLE1BQUEsR0FBUyxPQUFBLENBQVMsSUFBVCxDQUZULENBQUE7O0FBQUEsRUFJQSxRQUFBLENBQVUsb0JBQVYsRUFBK0IsU0FBQSxHQUFBO0FBRTNCLElBQUEsRUFBQSxDQUFJLGlDQUFKLEVBQXNDLFNBQUEsR0FBQTtBQUNsQyxVQUFBLHFDQUFBO0FBQUEsTUFBQSxHQUFBLEdBQU0sT0FBTyxDQUFDLEtBQVIsQ0FBaUIsd0JBQWpCLEVBRUQ7QUFBQSxRQUFBLFVBQUEsRUFBYSxRQUFiO09BRkMsQ0FBTixDQUFBO0FBQUEsTUFJQSxZQUFBLEdBQWUsTUFBTSxDQUFDLE9BQVAsQ0FBZSxHQUFmLEVBQW9CO0FBQUEsUUFBQSxXQUFBLEVBQWEsQ0FBYjtBQUFBLFFBQWdCLFVBQUEsRUFBYSxRQUE3QjtPQUFwQixDQUpmLENBQUE7QUFBQSxNQUtBLE1BQUEsQ0FBTyxZQUFZLENBQUMsTUFBcEIsQ0FBMkI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vLmhhdmUubGVuZ3RoIDFcbiAgICAgICAgZXhwZWN0KHNjb3BlLnZhcmlhYmxlc1swXS5uYW1lKS50by5iZS5lcXVhbCAndidcbiAgICAgICAgZXhwZWN0KHNjb3BlLnZhcmlhYmxlc1swXS5kZWZzWzBdLnR5cGUpLnRvLmJlLmVxdWFsICdJbXBvcnRCaW5kaW5nJ1xuICAgICAgICBleHBlY3Qoc2NvcGUucmVmZXJlbmNlcykudG8uaGF2ZS5sZW5ndGggMFxuXG4gICAgIyBUT0RPOiBTaG91bGQgcGFyc2UgaXQuXG4gICAgIyBpbXBvcnQgZnJvbSBcIm1vZFwiO1xuXG4jIHZpbTogc2V0IHN3PTQgdHM9NCBldCB0dz04MCA6XG4iXX0=
\ No newline at end of file
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/escope/powered-test/es6-iteration-scope.js b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/escope/powered-test/es6-iteration-scope.js
new file mode 100644
index 0000000..79dbf8d
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/escope/powered-test/es6-iteration-scope.js
@@ -0,0 +1,167 @@
+(function() {
+ var escope, expect, harmony;
+
+ expect = require('chai').expect;
+
+ harmony = require('../third_party/esprima');
+
+ escope = require('..');
+
+ describe('ES6 iteration scope', function() {
+ it('let materialize iteration scope for ForInStatement#1', function() {
+ var ast, iterScope, scope, scopeManager;
+ ast = harmony.parse("(function () {\n let i = 20;\n for (let i in i) {\n console.log(i);\n }\n}());");
+ scopeManager = escope.analyze(ast, {
+ ecmaVersion: 6
+ });
+ expect(scopeManager.scopes).to.have.length(5);
+ scope = scopeManager.scopes[0];
+ expect(scope.type).to.be.equal('global');
+ expect(scope.variables).to.have.length(0);
+ scope = scopeManager.scopes[1];
+ expect(scope.type).to.be.equal('function');
+ expect(scope.variables).to.have.length(2);
+ expect(scope.variables[0].name).to.be.equal('arguments');
+ expect(scope.variables[1].name).to.be.equal('i');
+ expect(scope.references).to.have.length(1);
+ expect(scope.references[0].identifier.name).to.be.equal('i');
+ expect(scope.references[0].resolved).to.be.equal(scope.variables[1]);
+ iterScope = scope = scopeManager.scopes[2];
+ expect(scope.type).to.be.equal('TDZ');
+ expect(scope.variables).to.have.length(1);
+ expect(scope.variables[0].name).to.be.equal('i');
+ expect(scope.variables[0].defs[0].type).to.be.equal('TDZ');
+ expect(scope.references).to.have.length(1);
+ expect(scope.references[0].identifier.name).to.be.equal('i');
+ expect(scope.references[0].resolved).to.be.equal(scope.variables[0]);
+ iterScope = scope = scopeManager.scopes[3];
+ expect(scope.type).to.be.equal('for');
+ expect(scope.variables).to.have.length(1);
+ expect(scope.variables[0].name).to.be.equal('i');
+ expect(scope.references).to.have.length(1);
+ expect(scope.references[0].identifier.name).to.be.equal('i');
+ expect(scope.references[0].resolved).to.be.equal(scope.variables[0]);
+ scope = scopeManager.scopes[4];
+ expect(scope.type).to.be.equal('block');
+ expect(scope.variables).to.have.length(0);
+ expect(scope.references).to.have.length(2);
+ expect(scope.references[0].identifier.name).to.be.equal('console');
+ expect(scope.references[0].resolved).to.be.equal(null);
+ expect(scope.references[1].identifier.name).to.be.equal('i');
+ return expect(scope.references[1].resolved).to.be.equal(iterScope.variables[0]);
+ });
+ it('let materialize iteration scope for ForInStatement#2', function() {
+ var ast, iterScope, scope, scopeManager;
+ ast = harmony.parse("(function () {\n let i = 20;\n for (let { i, j, k } in i) {\n console.log(i);\n }\n}());");
+ scopeManager = escope.analyze(ast, {
+ ecmaVersion: 6
+ });
+ expect(scopeManager.scopes).to.have.length(5);
+ scope = scopeManager.scopes[0];
+ expect(scope.type).to.be.equal('global');
+ expect(scope.variables).to.have.length(0);
+ scope = scopeManager.scopes[1];
+ expect(scope.type).to.be.equal('function');
+ expect(scope.variables).to.have.length(2);
+ expect(scope.variables[0].name).to.be.equal('arguments');
+ expect(scope.variables[1].name).to.be.equal('i');
+ expect(scope.references).to.have.length(1);
+ expect(scope.references[0].identifier.name).to.be.equal('i');
+ expect(scope.references[0].resolved).to.be.equal(scope.variables[1]);
+ iterScope = scope = scopeManager.scopes[2];
+ expect(scope.type).to.be.equal('TDZ');
+ expect(scope.variables).to.have.length(3);
+ expect(scope.variables[0].name).to.be.equal('i');
+ expect(scope.variables[0].defs[0].type).to.be.equal('TDZ');
+ expect(scope.variables[1].name).to.be.equal('j');
+ expect(scope.variables[1].defs[0].type).to.be.equal('TDZ');
+ expect(scope.variables[2].name).to.be.equal('k');
+ expect(scope.variables[2].defs[0].type).to.be.equal('TDZ');
+ expect(scope.references).to.have.length(1);
+ expect(scope.references[0].identifier.name).to.be.equal('i');
+ expect(scope.references[0].resolved).to.be.equal(scope.variables[0]);
+ iterScope = scope = scopeManager.scopes[3];
+ expect(scope.type).to.be.equal('for');
+ expect(scope.variables).to.have.length(3);
+ expect(scope.variables[0].name).to.be.equal('i');
+ expect(scope.variables[1].name).to.be.equal('j');
+ expect(scope.variables[2].name).to.be.equal('k');
+ expect(scope.references).to.have.length(3);
+ expect(scope.references[0].identifier.name).to.be.equal('i');
+ expect(scope.references[0].resolved).to.be.equal(scope.variables[0]);
+ expect(scope.references[1].identifier.name).to.be.equal('j');
+ expect(scope.references[1].resolved).to.be.equal(scope.variables[1]);
+ expect(scope.references[2].identifier.name).to.be.equal('k');
+ expect(scope.references[2].resolved).to.be.equal(scope.variables[2]);
+ scope = scopeManager.scopes[4];
+ expect(scope.type).to.be.equal('block');
+ expect(scope.variables).to.have.length(0);
+ expect(scope.references).to.have.length(2);
+ expect(scope.references[0].identifier.name).to.be.equal('console');
+ expect(scope.references[0].resolved).to.be.equal(null);
+ expect(scope.references[1].identifier.name).to.be.equal('i');
+ return expect(scope.references[1].resolved).to.be.equal(iterScope.variables[0]);
+ });
+ return it('let materialize iteration scope for ForStatement#2', function() {
+ var ast, functionScope, iterScope, scope, scopeManager;
+ ast = harmony.parse("(function () {\n let i = 20;\n let obj = {};\n for (let { i, j, k } = obj; i < okok; ++i) {\n console.log(i, j, k);\n }\n}());");
+ scopeManager = escope.analyze(ast, {
+ ecmaVersion: 6
+ });
+ expect(scopeManager.scopes).to.have.length(4);
+ scope = scopeManager.scopes[0];
+ expect(scope.type).to.be.equal('global');
+ expect(scope.variables).to.have.length(0);
+ functionScope = scope = scopeManager.scopes[1];
+ expect(scope.type).to.be.equal('function');
+ expect(scope.variables).to.have.length(3);
+ expect(scope.variables[0].name).to.be.equal('arguments');
+ expect(scope.variables[1].name).to.be.equal('i');
+ expect(scope.variables[2].name).to.be.equal('obj');
+ expect(scope.references).to.have.length(2);
+ expect(scope.references[0].identifier.name).to.be.equal('i');
+ expect(scope.references[0].resolved).to.be.equal(scope.variables[1]);
+ expect(scope.references[1].identifier.name).to.be.equal('obj');
+ expect(scope.references[1].resolved).to.be.equal(scope.variables[2]);
+ iterScope = scope = scopeManager.scopes[2];
+ expect(scope.type).to.be.equal('for');
+ expect(scope.variables).to.have.length(3);
+ expect(scope.variables[0].name).to.be.equal('i');
+ expect(scope.variables[0].defs[0].type).to.be.equal('Variable');
+ expect(scope.variables[1].name).to.be.equal('j');
+ expect(scope.variables[1].defs[0].type).to.be.equal('Variable');
+ expect(scope.variables[2].name).to.be.equal('k');
+ expect(scope.variables[2].defs[0].type).to.be.equal('Variable');
+ expect(scope.references).to.have.length(7);
+ expect(scope.references[0].identifier.name).to.be.equal('i');
+ expect(scope.references[0].resolved).to.be.equal(scope.variables[0]);
+ expect(scope.references[1].identifier.name).to.be.equal('j');
+ expect(scope.references[1].resolved).to.be.equal(scope.variables[1]);
+ expect(scope.references[2].identifier.name).to.be.equal('k');
+ expect(scope.references[2].resolved).to.be.equal(scope.variables[2]);
+ expect(scope.references[3].identifier.name).to.be.equal('obj');
+ expect(scope.references[3].resolved).to.be.equal(functionScope.variables[2]);
+ expect(scope.references[4].identifier.name).to.be.equal('i');
+ expect(scope.references[4].resolved).to.be.equal(scope.variables[0]);
+ expect(scope.references[5].identifier.name).to.be.equal('okok');
+ expect(scope.references[5].resolved).to.be["null"];
+ expect(scope.references[6].identifier.name).to.be.equal('i');
+ expect(scope.references[6].resolved).to.be.equal(scope.variables[0]);
+ scope = scopeManager.scopes[3];
+ expect(scope.type).to.be.equal('block');
+ expect(scope.variables).to.have.length(0);
+ expect(scope.references).to.have.length(4);
+ expect(scope.references[0].identifier.name).to.be.equal('console');
+ expect(scope.references[0].resolved).to.be["null"];
+ expect(scope.references[1].identifier.name).to.be.equal('i');
+ expect(scope.references[1].resolved).to.be.equal(iterScope.variables[0]);
+ expect(scope.references[2].identifier.name).to.be.equal('j');
+ expect(scope.references[2].resolved).to.be.equal(iterScope.variables[1]);
+ expect(scope.references[3].identifier.name).to.be.equal('k');
+ return expect(scope.references[3].resolved).to.be.equal(iterScope.variables[2]);
+ });
+ });
+
+}).call(this);
+
+//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImVzNi1pdGVyYXRpb24tc2NvcGUuY29mZmVlIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQXVCQTtBQUFBLE1BQUEsdUJBQUE7O0FBQUEsRUFBQSxNQUFBLEdBQVMsT0FBQSxDQUFTLE1BQVQsQ0FBZSxDQUFDLE1BQXpCLENBQUE7O0FBQUEsRUFDQSxPQUFBLEdBQVUsT0FBQSxDQUFTLHdCQUFULENBRFYsQ0FBQTs7QUFBQSxFQUVBLE1BQUEsR0FBUyxPQUFBLENBQVMsSUFBVCxDQUZULENBQUE7O0FBQUEsRUFJQSxRQUFBLENBQVUscUJBQVYsRUFBZ0MsU0FBQSxHQUFBO0FBQzVCLElBQUEsRUFBQSxDQUFJLHNEQUFKLEVBQTJELFNBQUEsR0FBQTtBQUN2RCxVQUFBLG1DQUFBO0FBQUEsTUFBQSxHQUFBLEdBQU0sT0FBTyxDQUFDLEtBQVIsQ0FBaUIsZ0dBQWpCLENBQU4sQ0FBQTtBQUFBLE1BU0EsWUFBQSxHQUFlLE1BQU0sQ0FBQyxPQUFQLENBQ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S50by5oYXZlLmxlbmd0aCAyXG4gICAgICAgIGV4cGVjdChzY29wZS5yZWZlcmVuY2VzWzBdLmlkZW50aWZpZXIubmFtZSkudG8uYmUuZXF1YWwgJ2NvbnNvbGUnXG4gICAgICAgIGV4cGVjdChzY29wZS5yZWZlcmVuY2VzWzBdLnJlc29sdmVkKS50by5iZS5lcXVhbCBudWxsXG4gICAgICAgIGV4cGVjdChzY29wZS5yZWZlcmVuY2VzWzFdLmlkZW50aWZpZXIubmFtZSkudG8uYmUuZXF1YWwgJ2knXG4gICAgICAgIGV4cGVjdChzY29wZS5yZWZlcmVuY2VzWzFdLnJlc29sdmVkKS50by5iZS5lcXVhbCBpdGVyU2NvcGUudmFyaWFibGVzWzBdXG5cbiAgICBpdCAnbGV0IG1hdGVyaWFsaXplIGl0ZXJhdGlvbiBzY29wZSBmb3IgRm9yU3RhdGVtZW50IzInLCAtPlxuICAgICAgICBhc3QgPSBoYXJtb255LnBhcnNlIFwiXCJcIlxuICAgICAgICAoZnVuY3Rpb24gKCkge1xuICAgICAgICAgICAgbGV0IGkgPSAyMDtcbiAgICAgICAgICAgIGxldCBvYmogPSB7fTtcbiAgICAgICAgICAgIGZvciAobGV0IHsgaSwgaiwgayB9ID0gb2JqOyBpIDwgb2tvazsgKytpKSB7XG4gICAgICAgICAgICAgICAgY29uc29sZS5sb2coaSwgaiwgayk7XG4gICAgICAgICAgICB9XG4gICAgICAgIH0oKSk7XG4gICAgICAgIFwiXCJcIlxuXG4gICAgICAgIHNjb3BlTWFuYWdlciA9IGVzY29wZS5hbmFseXplIGFzdCwgZWNtYVZlcnNpb246IDZcbiAgICAgICAgZXhwZWN0KHNjb3BlTWFuYWdlci5zY29wZXMpLnRvLmhhdmUubGVuZ3RoIDRcblxuICAgICAgICBzY29wZSA9IHNjb3BlTWFuYWdlci5zY29wZXNbMF1cbiAgICAgICAgZXhwZWN0KHNjb3BlLnR5cGUpLnRvLmJlLmVxdWFsICdnbG9iYWwnXG4gICAgICAgIGV4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wZS5yZWZlcmVuY2VzKS50by5oYXZlLmxlbmd0aCA0XG4gICAgICAgIGV4cGVjdChzY29wZS5yZWZlcmVuY2VzWzBdLmlkZW50aWZpZXIubmFtZSkudG8uYmUuZXF1YWwgJ2NvbnNvbGUnXG4gICAgICAgIGV4cGVjdChzY29wZS5yZWZlcmVuY2VzWzBdLnJlc29sdmVkKS50by5iZS5udWxsXG4gICAgICAgIGV4cGVjdChzY29wZS5yZWZlcmVuY2VzWzFdLmlkZW50aWZpZXIubmFtZSkudG8uYmUuZXF1YWwgJ2knXG4gICAgICAgIGV4cGVjdChzY29wZS5yZWZlcmVuY2VzWzFdLnJlc29sdmVkKS50by5iZS5lcXVhbCBpdGVyU2NvcGUudmFyaWFibGVzWzBdXG4gICAgICAgIGV4cGVjdChzY29wZS5yZWZlcmVuY2VzWzJdLmlkZW50aWZpZXIubmFtZSkudG8uYmUuZXF1YWwgJ2onXG4gICAgICAgIGV4cGVjdChzY29wZS5yZWZlcmVuY2VzWzJdLnJlc29sdmVkKS50by5iZS5lcXVhbCBpdGVyU2NvcGUudmFyaWFibGVzWzFdXG4gICAgICAgIGV4cGVjdChzY29wZS5yZWZlcmVuY2VzWzNdLmlkZW50aWZpZXIubmFtZSkudG8uYmUuZXF1YWwgJ2snXG4gICAgICAgIGV4cGVjdChzY29wZS5yZWZlcmVuY2VzWzNdLnJlc29sdmVkKS50by5iZS5lcXVhbCBpdGVyU2NvcGUudmFyaWFibGVzWzJdXG5cbiMgdmltOiBzZXQgc3c9NCB0cz00IGV0IHR3PTgwIDpcbiJdfQ==
\ No newline at end of file
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/escope/powered-test/es6-object.js b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/escope/powered-test/es6-object.js
new file mode 100644
index 0000000..2241d25
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/escope/powered-test/es6-object.js
@@ -0,0 +1,57 @@
+(function() {
+ var escope, expect, harmony;
+
+ expect = require('chai').expect;
+
+ harmony = require('../third_party/esprima');
+
+ escope = require('..');
+
+ describe('ES6 object', function() {
+ it('method definition', function() {
+ var ast, scope, scopeManager;
+ ast = harmony.parse("({\n constructor() {\n }\n})");
+ scopeManager = escope.analyze(ast, {
+ ecmaVersion: 6
+ });
+ expect(scopeManager.scopes).to.have.length(2);
+ scope = scopeManager.scopes[0];
+ expect(scope.type).to.be.equal('global');
+ expect(scope.block.type).to.be.equal('Program');
+ expect(scope.isStrict).to.be["false"];
+ scope = scopeManager.scopes[1];
+ expect(scope.type).to.be.equal('function');
+ expect(scope.block.type).to.be.equal('FunctionExpression');
+ expect(scope.isStrict).to.be["true"];
+ expect(scope.variables).to.have.length(1);
+ expect(scope.variables[0].name).to.be.equal('arguments');
+ return expect(scope.references).to.have.length(0);
+ });
+ return it('computed property key may refer variables', function() {
+ var ast, scope, scopeManager;
+ ast = harmony.parse("(function () {\n var yuyushiki = 42;\n ({\n [yuyushiki]() {\n },\n\n [yuyushiki + 40]() {\n }\n })\n}());");
+ scopeManager = escope.analyze(ast, {
+ ecmaVersion: 6
+ });
+ expect(scopeManager.scopes).to.have.length(4);
+ scope = scopeManager.scopes[0];
+ expect(scope.type).to.be.equal('global');
+ expect(scope.block.type).to.be.equal('Program');
+ expect(scope.isStrict).to.be["false"];
+ scope = scopeManager.scopes[1];
+ expect(scope.type).to.be.equal('function');
+ expect(scope.block.type).to.be.equal('FunctionExpression');
+ expect(scope.isStrict).to.be["false"];
+ expect(scope.variables).to.have.length(2);
+ expect(scope.variables[0].name).to.be.equal('arguments');
+ expect(scope.variables[1].name).to.be.equal('yuyushiki');
+ expect(scope.references).to.have.length(3);
+ expect(scope.references[0].identifier.name).to.be.equal('yuyushiki');
+ expect(scope.references[1].identifier.name).to.be.equal('yuyushiki');
+ return expect(scope.references[2].identifier.name).to.be.equal('yuyushiki');
+ });
+ });
+
+}).call(this);
+
+//# sourceMappingURL=data:application/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Qgc3c9NCB0cz00IGV0IHR3PTgwIDpcbiJdfQ==
\ No newline at end of file
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/escope/powered-test/es6-rest-args.js b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/escope/powered-test/es6-rest-args.js
new file mode 100644
index 0000000..3342b7e
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/escope/powered-test/es6-rest-args.js
@@ -0,0 +1,35 @@
+(function() {
+ var escope, expect, harmony;
+
+ expect = require('chai').expect;
+
+ harmony = require('../third_party/esprima');
+
+ escope = require('..');
+
+ describe('ES6 rest arguments', function() {
+ return it('materialize rest argument in scope', function() {
+ var ast, scope, scopeManager;
+ ast = harmony.parse("function foo(...bar) {\n return bar;\n}");
+ scopeManager = escope.analyze(ast, {
+ ecmaVersion: 6
+ });
+ expect(scopeManager.scopes).to.have.length(2);
+ scope = scopeManager.scopes[0];
+ expect(scope.type).to.be.equal('global');
+ expect(scope.block.type).to.be.equal('Program');
+ expect(scope.isStrict).to.be["false"];
+ expect(scope.variables).to.have.length(1);
+ scope = scopeManager.scopes[1];
+ expect(scope.type).to.be.equal('function');
+ expect(scope.variables).to.have.length(2);
+ expect(scope.variables[0].name).to.be.equal('arguments');
+ expect(scope.variables[1].name).to.be.equal('bar');
+ expect(scope.variables[1].defs[0].name.name).to.be.equal('bar');
+ return expect(scope.variables[1].defs[0].rest).to.be["true"];
+ });
+ });
+
+}).call(this);
+
+//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImVzNi1yZXN0LWFyZ3MuY29mZmVlIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQXVCQTtBQUFBLE1BQUEsdUJBQUE7O0FBQUEsRUFBQSxNQUFBLEdBQVMsT0FBQSxDQUFTLE1BQVQsQ0FBZSxDQUFDLE1BQXpCLENBQUE7O0FBQUEsRUFDQSxPQU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m5hbWUpLnRvLmJlLmVxdWFsICdhcmd1bWVudHMnXG4gICAgICAgIGV4cGVjdChzY29wZS52YXJpYWJsZXNbMV0ubmFtZSkudG8uYmUuZXF1YWwgJ2JhcidcbiAgICAgICAgZXhwZWN0KHNjb3BlLnZhcmlhYmxlc1sxXS5kZWZzWzBdLm5hbWUubmFtZSkudG8uYmUuZXF1YWwgJ2JhcidcbiAgICAgICAgZXhwZWN0KHNjb3BlLnZhcmlhYmxlc1sxXS5kZWZzWzBdLnJlc3QpLnRvLmJlLnRydWVcblxuIyB2aW06IHNldCBzdz00IHRzPTQgZXQgdHc9ODAgOlxuIl19
\ No newline at end of file
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/escope/powered-test/es6-switch.js b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/escope/powered-test/es6-switch.js
new file mode 100644
index 0000000..44336f0
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/escope/powered-test/es6-switch.js
@@ -0,0 +1,43 @@
+(function() {
+ var escope, expect, harmony;
+
+ expect = require('chai').expect;
+
+ harmony = require('../third_party/esprima');
+
+ escope = require('..');
+
+ describe('ES6 switch', function() {
+ return it('materialize scope', function() {
+ var ast, scope, scopeManager;
+ ast = harmony.parse("switch (ok) {\n case hello:\n let i = 20;\n i;\n break;\n\n default:\n let test = 30;\n test;\n}");
+ scopeManager = escope.analyze(ast, {
+ ecmaVersion: 6
+ });
+ expect(scopeManager.scopes).to.have.length(2);
+ scope = scopeManager.scopes[0];
+ expect(scope.type).to.be.equal('global');
+ expect(scope.block.type).to.be.equal('Program');
+ expect(scope.isStrict).to.be["false"];
+ expect(scope.variables).to.have.length(0);
+ expect(scope.references).to.have.length(1);
+ expect(scope.references[0].identifier.name).to.be.equal('ok');
+ scope = scopeManager.scopes[1];
+ expect(scope.type).to.be.equal('switch');
+ expect(scope.block.type).to.be.equal('SwitchStatement');
+ expect(scope.isStrict).to.be["false"];
+ expect(scope.variables).to.have.length(2);
+ expect(scope.variables[0].name).to.be.equal('i');
+ expect(scope.variables[1].name).to.be.equal('test');
+ expect(scope.references).to.have.length(5);
+ expect(scope.references[0].identifier.name).to.be.equal('hello');
+ expect(scope.references[1].identifier.name).to.be.equal('i');
+ expect(scope.references[2].identifier.name).to.be.equal('i');
+ expect(scope.references[3].identifier.name).to.be.equal('test');
+ return expect(scope.references[4].identifier.name).to.be.equal('test');
+ });
+ });
+
+}).call(this);
+
+//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImVzNi1zd2l0Y2guY29mZmVlIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQXVCQTtBQUFBLE1BQUEsdUJBQUE7O0FBQUEsRUFBQSxNQUFBLEdBQVMsT0FBQSxDQUFTLE1BQVQsQ0FBZSxDQUFDLE1BQXpCLENBQUE7O0FBQUEsRUFDQSxPQUFBLEdBQVUsT0FBQSxDQUFTLHdCQUFULENBRFYsQ0FBQTs7QUFBQSxFQUVBLE1BQUEsR0FBUyxPQUFBLENBQVMsSUFBVCxDQUZULENBQUE7O0FBQUEsRUFJQSxRQUFBLENBQVUsWUFBVixFQUF1QixTQUFBLEdBQUE7V0FDbkIsRUFBQSxDQUFJLG1CQUFKLEVBQXdCLFNBQUEsR0FBQTtBQUNwQixVQUFBLHdCQUFBO0FBQUEsTUFBQSxHQUFBLEdBQU0sT0FBTyxDQUFDLEtBQVIsQ0FBaUIsMklBQWpCLENBQU4sQ0FBQTtBQUFBLE1BYUEsWUFBQSxHQUFlLE1BQU0sQ0FBQyxPQUFQLENBQWUsR0FBZixFQUFvQjtBQUFBLFFBQUEsV0FBQSxFQUFhLENBQWI7T0FBcEIsQ0FiZixDQUFBO0FBQUEsTUFjQSxNQUFBLENBQU8sWUFBWSxDQUFDLE1BQXBCLENBQTJCLENBQUMsRUFBRSxDQUFDLElBQUksQ0FBQyxNQUFwQyxDQUEyQyxDQ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oc2NvcGUudmFyaWFibGVzWzBdLm5hbWUpLnRvLmJlLmVxdWFsICdpJ1xuICAgICAgICBleHBlY3Qoc2NvcGUudmFyaWFibGVzWzFdLm5hbWUpLnRvLmJlLmVxdWFsICd0ZXN0J1xuICAgICAgICBleHBlY3Qoc2NvcGUucmVmZXJlbmNlcykudG8uaGF2ZS5sZW5ndGggNVxuICAgICAgICBleHBlY3Qoc2NvcGUucmVmZXJlbmNlc1swXS5pZGVudGlmaWVyLm5hbWUpLnRvLmJlLmVxdWFsICdoZWxsbydcbiAgICAgICAgZXhwZWN0KHNjb3BlLnJlZmVyZW5jZXNbMV0uaWRlbnRpZmllci5uYW1lKS50by5iZS5lcXVhbCAnaSdcbiAgICAgICAgZXhwZWN0KHNjb3BlLnJlZmVyZW5jZXNbMl0uaWRlbnRpZmllci5uYW1lKS50by5iZS5lcXVhbCAnaSdcbiAgICAgICAgZXhwZWN0KHNjb3BlLnJlZmVyZW5jZXNbM10uaWRlbnRpZmllci5uYW1lKS50by5iZS5lcXVhbCAndGVzdCdcbiAgICAgICAgZXhwZWN0KHNjb3BlLnJlZmVyZW5jZXNbNF0uaWRlbnRpZmllci5uYW1lKS50by5iZS5lcXVhbCAndGVzdCdcblxuIyB2aW06IHNldCBzdz00IHRzPTQgZXQgdHc9ODAgOlxuIl19
\ No newline at end of file
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/escope/powered-test/es6-template-literal.js b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/escope/powered-test/es6-template-literal.js
new file mode 100644
index 0000000..5e71ad2
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/escope/powered-test/es6-template-literal.js
@@ -0,0 +1,45 @@
+(function() {
+ var escope, expect, harmony;
+
+ expect = require('chai').expect;
+
+ harmony = require('../third_party/esprima');
+
+ escope = require('..');
+
+ describe('ES6 template literal', function() {
+ return it('refer variables', function() {
+ var ast, scope, scopeManager;
+ ast = harmony.parse("(function () {\n let i, j, k;\n function testing() { }\n let template = testing`testing ${i} and ${j}`\n return template;\n}());");
+ scopeManager = escope.analyze(ast, {
+ ecmaVersion: 6
+ });
+ expect(scopeManager.scopes).to.have.length(3);
+ scope = scopeManager.scopes[0];
+ expect(scope.type).to.be.equal('global');
+ expect(scope.block.type).to.be.equal('Program');
+ expect(scope.isStrict).to.be["false"];
+ expect(scope.variables).to.have.length(0);
+ scope = scopeManager.scopes[1];
+ expect(scope.type).to.be.equal('function');
+ expect(scope.block.type).to.be.equal('FunctionExpression');
+ expect(scope.isStrict).to.be["false"];
+ expect(scope.variables).to.have.length(6);
+ expect(scope.variables[0].name).to.be.equal('arguments');
+ expect(scope.variables[1].name).to.be.equal('i');
+ expect(scope.variables[2].name).to.be.equal('j');
+ expect(scope.variables[3].name).to.be.equal('k');
+ expect(scope.variables[4].name).to.be.equal('testing');
+ expect(scope.variables[5].name).to.be.equal('template');
+ expect(scope.references).to.have.length(5);
+ expect(scope.references[0].identifier.name).to.be.equal('template');
+ expect(scope.references[1].identifier.name).to.be.equal('testing');
+ expect(scope.references[2].identifier.name).to.be.equal('i');
+ expect(scope.references[3].identifier.name).to.be.equal('j');
+ return expect(scope.references[4].identifier.name).to.be.equal('template');
+ });
+ });
+
+}).call(this);
+
+//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImVzNi10ZW1wbGF0ZS1saXRlcmFsLmNvZmZlZSJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUF1QkE7QUFBQSxNQUFBLHVCQUFBOztBQUFBLEVBQUEsTUFBQSxHQUFTLE9BQUEsQ0FBUyxNQUFULENBQWUsQ0FBQyxNQUF6QixDQUFBOztBQUFBLEVBQ0EsT0FBQSxHQUFVLE9BQUEsQ0FBUyx3QkFBVCxDQURWLENBQUE7O0FBQUEsRUFFQSxNQUFBLEdBQVMsT0FBQSxDQUFTLElBQVQsQ0FGVCxDQUFBOzt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F1YWwgJ3RlbXBsYXRlJ1xuICAgICAgICBleHBlY3Qoc2NvcGUucmVmZXJlbmNlcykudG8uaGF2ZS5sZW5ndGggNVxuICAgICAgICBleHBlY3Qoc2NvcGUucmVmZXJlbmNlc1swXS5pZGVudGlmaWVyLm5hbWUpLnRvLmJlLmVxdWFsICd0ZW1wbGF0ZSdcbiAgICAgICAgZXhwZWN0KHNjb3BlLnJlZmVyZW5jZXNbMV0uaWRlbnRpZmllci5uYW1lKS50by5iZS5lcXVhbCAndGVzdGluZydcbiAgICAgICAgZXhwZWN0KHNjb3BlLnJlZmVyZW5jZXNbMl0uaWRlbnRpZmllci5uYW1lKS50by5iZS5lcXVhbCAnaSdcbiAgICAgICAgZXhwZWN0KHNjb3BlLnJlZmVyZW5jZXNbM10uaWRlbnRpZmllci5uYW1lKS50by5iZS5lcXVhbCAnaidcbiAgICAgICAgZXhwZWN0KHNjb3BlLnJlZmVyZW5jZXNbNF0uaWRlbnRpZmllci5uYW1lKS50by5iZS5lcXVhbCAndGVtcGxhdGUnXG5cbiMgdmltOiBzZXQgc3c9NCB0cz00IGV0IHR3PTgwIDpcbiJdfQ==
\ No newline at end of file
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/escope/powered-test/function-expression-name.js b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/escope/powered-test/function-expression-name.js
new file mode 100644
index 0000000..7df0841
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/escope/powered-test/function-expression-name.js
@@ -0,0 +1,42 @@
+(function() {
+ var escope, esprima, expect, harmony;
+
+ expect = require('chai').expect;
+
+ esprima = require('esprima');
+
+ harmony = require('../third_party/esprima');
+
+ escope = require('..');
+
+ describe('function name', function() {
+ return it('should create its special scope', function() {
+ var ast, globalScope, scope, scopeManager;
+ ast = esprima.parse("(function name() {\n}());");
+ scopeManager = escope.analyze(ast);
+ expect(scopeManager.scopes).to.have.length(3);
+ globalScope = scopeManager.scopes[0];
+ expect(globalScope.type).to.be.equal('global');
+ expect(globalScope.variables).to.have.length(0);
+ expect(globalScope.references).to.have.length(0);
+ expect(globalScope.isArgumentsMaterialized()).to.be["true"];
+ scope = scopeManager.scopes[1];
+ expect(scope.type).to.be.equal('function-expression-name');
+ expect(scope.variables).to.have.length(1);
+ expect(scope.variables[0].name).to.be.equal('name');
+ expect(scope.isArgumentsMaterialized()).to.be["true"];
+ expect(scope.references).to.have.length(0);
+ expect(scope.upper === globalScope).to.be["true"];
+ scope = scopeManager.scopes[2];
+ expect(scope.type).to.be.equal('function');
+ expect(scope.variables).to.have.length(1);
+ expect(scope.variables[0].name).to.be.equal('arguments');
+ expect(scope.isArgumentsMaterialized()).to.be["false"];
+ expect(scope.references).to.have.length(0);
+ return expect(scope.upper === scopeManager.scopes[1]).to.be["true"];
+ });
+ });
+
+}).call(this);
+
+//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImZ1bmN0aW9uLWV4cHJlc3Npb24tbmFtZS5jb2ZmZWUiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBdUJBO0FBQUEsTUFBQSxnQ0FBQTs7QUFBQSxFQUFBLE1BQUEsR0FBUyxPQUFBLENBQVMsTUFBVCxDQUFlLENBQUMsTUFBekIsQ0FBQTs7QUFBQSxFQUNBLE9BQUEsR0FBVSxPQUFBLENBQVMsU0FBVCxDQURWLENBQUE7O0FBQUEsRUFFQSxPQUFBLEdBQVUsT0FBQSxDQUFTLHdCQUFULENBRlYsQ0FBQTs7QUFBQSxFQUdBLE1BQUEsR0FBUyxPQUFBLENBQVMsSUFBVCxDQUhULENBQUE7O0FBQUEsRUFLQSxRQUFBLENBQVUsZUFBVixFQUEwQixTQUFBLEdBQUE7V0FDdEIsRUFBQSxDQUFJLGlDQUFKLEVBQXNDLFNBQUEsR0FBQTtBQUNsQyxVQUFBLHFDQUFBO0FBQUEsTUFBQSxHQUFBLEdBQ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CAnYXJndW1lbnRzJ1xuICAgICAgICBleHBlY3Qoc2NvcGUuaXNBcmd1bWVudHNNYXRlcmlhbGl6ZWQoKSkudG8uYmUuZmFsc2VcbiAgICAgICAgZXhwZWN0KHNjb3BlLnJlZmVyZW5jZXMpLnRvLmhhdmUubGVuZ3RoIDBcbiAgICAgICAgZXhwZWN0KHNjb3BlLnVwcGVyIGlzIHNjb3BlTWFuYWdlci5zY29wZXNbMV0pLnRvLmJlLnRydWVcblxuXG4jIHZpbTogc2V0IHN3PTQgdHM9NCBldCB0dz04MCA6XG4iXX0=
\ No newline at end of file
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/escope/powered-test/global-increment.js b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/escope/powered-test/global-increment.js
new file mode 100644
index 0000000..39024ff
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/escope/powered-test/global-increment.js
@@ -0,0 +1,28 @@
+(function() {
+ var escope, esprima, expect, harmony;
+
+ expect = require('chai').expect;
+
+ esprima = require('esprima');
+
+ harmony = require('../third_party/esprima');
+
+ escope = require('..');
+
+ describe('global increment', function() {
+ return it('becomes read/write', function() {
+ var ast, globalScope, scopeManager;
+ ast = esprima.parse("b++;");
+ scopeManager = escope.analyze(ast);
+ expect(scopeManager.scopes).to.have.length(1);
+ globalScope = scopeManager.scopes[0];
+ expect(globalScope.type).to.be.equal('global');
+ expect(globalScope.variables).to.have.length(0);
+ expect(globalScope.references).to.have.length(1);
+ return expect(globalScope.references[0].isReadWrite()).to.be["true"];
+ });
+ });
+
+}).call(this);
+
+//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImdsb2JhbC1pbmNyZW1lbnQuY29mZmVlIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQXVCQTtBQUFBLE1BQUEsZ0NBQUE7O0FBQUEsRUFBQSxNQUFBLEd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VJFLCBFVkVOIElGIEFEVklTRUQgT0YgVEhFIFBPU1NJQklMSVRZIE9GIFNVQ0ggREFNQUdFLlxuXG5leHBlY3QgPSByZXF1aXJlKCdjaGFpJykuZXhwZWN0XG5lc3ByaW1hID0gcmVxdWlyZSAnZXNwcmltYSdcbmhhcm1vbnkgPSByZXF1aXJlICcuLi90aGlyZF9wYXJ0eS9lc3ByaW1hJ1xuZXNjb3BlID0gcmVxdWlyZSAnLi4nXG5cbmRlc2NyaWJlICdnbG9iYWwgaW5jcmVtZW50JywgLT5cbiAgICBpdCAnYmVjb21lcyByZWFkL3dyaXRlJywgLT5cbiAgICAgICAgYXN0ID0gZXNwcmltYS5wYXJzZSBcIlwiXCJcbiAgICAgICAgYisrO1xuICAgICAgICBcIlwiXCJcblxuICAgICAgICBzY29wZU1hbmFnZXIgPSBlc2NvcGUuYW5hbHl6ZSBhc3RcbiAgICAgICAgZXhwZWN0KHNjb3BlTWFuYWdlci5zY29wZXMpLnRvLmhhdmUubGVuZ3RoIDFcbiAgICAgICAgZ2xvYmFsU2NvcGUgPSBzY29wZU1hbmFnZXIuc2NvcGVzWzBdXG4gICAgICAgIGV4cGVjdChnbG9iYWxTY29wZS50eXBlKS50by5iZS5lcXVhbCAnZ2xvYmFsJ1xuICAgICAgICBleHBlY3QoZ2xvYmFsU2NvcGUudmFyaWFibGVzKS50by5oYXZlLmxlbmd0aCAwXG4gICAgICAgIGV4cGVjdChnbG9iYWxTY29wZS5yZWZlcmVuY2VzKS50by5oYXZlLmxlbmd0aCAxXG4gICAgICAgIGV4cGVjdChnbG9iYWxTY29wZS5yZWZlcmVuY2VzWzBdLmlzUmVhZFdyaXRlKCkpLnRvLmJlLnRydWVcblxuIyB2aW06IHNldCBzdz00IHRzPTQgZXQgdHc9ODAgOlxuIl19
\ No newline at end of file
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/escope/powered-test/implicit-global-reference.js b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/escope/powered-test/implicit-global-reference.js
new file mode 100644
index 0000000..b6cf989
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/escope/powered-test/implicit-global-reference.js
@@ -0,0 +1,113 @@
+(function() {
+ 'use strict';
+ var escope, esprima, expect;
+
+ expect = require('chai').expect;
+
+ escope = require('..');
+
+ esprima = require('esprima');
+
+ describe('implicit global reference', function() {
+ it('assignments global scope', function() {
+ var ast, scopes;
+ ast = esprima.parse("var x = 20;\nx = 300;");
+ scopes = escope.analyze(ast).scopes;
+ expect(scopes.map(function(scope) {
+ return scope.variables.map(function(variable) {
+ return variable.defs.map(function(def) {
+ return def.type;
+ });
+ });
+ })).to.be.eql([[['Variable']]]);
+ return expect(scopes[0].implicit.variables.map(function(variable) {
+ return variable.name;
+ })).to.be.eql([]);
+ });
+ it('assignments global scope without definition', function() {
+ var ast, scopes;
+ ast = esprima.parse("x = 300;\nx = 300;");
+ scopes = escope.analyze(ast).scopes;
+ expect(scopes.map(function(scope) {
+ return scope.variables.map(function(variable) {
+ return variable.defs.map(function(def) {
+ return def.type;
+ });
+ });
+ })).to.be.eql([[]]);
+ return expect(scopes[0].implicit.variables.map(function(variable) {
+ return variable.name;
+ })).to.be.eql(['x']);
+ });
+ it('assignments global scope without definition eval', function() {
+ var ast, scopes;
+ ast = esprima.parse("function inner() {\n eval(str);\n x = 300;\n}");
+ scopes = escope.analyze(ast).scopes;
+ expect(scopes.map(function(scope) {
+ return scope.variables.map(function(variable) {
+ return variable.defs.map(function(def) {
+ return def.type;
+ });
+ });
+ })).to.be.eql([[['FunctionName']], [[]]]);
+ return expect(scopes[0].implicit.variables.map(function(variable) {
+ return variable.name;
+ })).to.be.eql([]);
+ });
+ it('assignment leaks', function() {
+ var ast, scopes;
+ ast = esprima.parse("function outer() {\n x = 20;\n}");
+ scopes = escope.analyze(ast).scopes;
+ expect(scopes.map(function(scope) {
+ return scope.variables.map(function(variable) {
+ return variable.name;
+ });
+ })).to.be.eql([['outer'], ['arguments']]);
+ return expect(scopes[0].implicit.variables.map(function(variable) {
+ return variable.name;
+ })).to.be.eql(['x']);
+ });
+ it('assignment doesn\'t leak', function() {
+ var ast, scopes;
+ ast = esprima.parse("function outer() {\n function inner() {\n x = 20;\n }\n var x;\n}");
+ scopes = escope.analyze(ast).scopes;
+ expect(scopes.map(function(scope) {
+ return scope.variables.map(function(variable) {
+ return variable.name;
+ });
+ })).to.be.eql([['outer'], ['arguments', 'inner', 'x'], ['arguments']]);
+ return expect(scopes[0].implicit.variables.map(function(variable) {
+ return variable.name;
+ })).to.be.eql([]);
+ });
+ it('for-in-statement leaks', function() {
+ var ast, scopes;
+ ast = esprima.parse("function outer() {\n for (x in y) { }\n}");
+ scopes = escope.analyze(ast).scopes;
+ expect(scopes.map(function(scope) {
+ return scope.variables.map(function(variable) {
+ return variable.name;
+ });
+ })).to.be.eql([['outer'], ['arguments']]);
+ return expect(scopes[0].implicit.variables.map(function(variable) {
+ return variable.name;
+ })).to.be.eql(['x']);
+ });
+ return it('for-in-statement doesn\'t leaks', function() {
+ var ast, scopes;
+ ast = esprima.parse("function outer() {\n function inner() {\n for (x in y) { }\n }\n var x;\n}");
+ scopes = escope.analyze(ast).scopes;
+ expect(scopes.map(function(scope) {
+ return scope.variables.map(function(variable) {
+ return variable.name;
+ });
+ })).to.be.eql([['outer'], ['arguments', 'inner', 'x'], ['arguments']]);
+ return expect(scopes[0].implicit.variables.map(function(variable) {
+ return variable.name;
+ })).to.be.eql([]);
+ });
+ });
+
+}).call(this);
+
+//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImltcGxpY2l0LWdsb2JhbC1yZWZlcmVuY2UuY29mZmVlIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQXNCQztBQUFBLEVBQUEsWUFBQSxDQUFBO0FBQUEsTUFBQSx1QkFBQTs7QUFBQSxFQUVELE1BQUEsR0FBUyxPQUFBLENB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YmUuZXFsKFtdKVxuXG4gICAgaXQgJ2Fzc2lnbm1lbnRzIGdsb2JhbCBzY29wZSB3aXRob3V0IGRlZmluaXRpb24nLCAtPlxuICAgICAgICBhc3QgPSBlc3ByaW1hLnBhcnNlIFwiXCJcIlxuICAgICAgICB4ID0gMzAwO1xuICAgICAgICB4ID0gMzAwO1xuICAgICAgICBcIlwiXCJcblxuICAgICAgICBzY29wZXMgPSBlc2NvcGUuYW5hbHl6ZShhc3QpLnNjb3Blc1xuXG4gICAgICAgIGV4cGVjdChzY29wZXMubWFwKChzY29wZSkgLT5cbiAgICAgICAgICAgIHNjb3BlLnZhcmlhYmxlcy5tYXAoKHZhcmlhYmxlKSAtPlxuICAgICAgICAgICAgICAgIHZhcmlhYmxlLmRlZnMubWFwKChkZWYpIC0+IGRlZi50eXBlKSkpKS50by5iZS5lcWwoXG4gICAgICAgICAgICBbXG4gICAgICAgICAgICAgICAgW1xuICAgICAgICAgICAgICAgIF1cbiAgICAgICAgICAgIF1cbiAgICAgICAgKVxuXG4gICAgICAgIGV4cGVjdChzY29wZXNbMF0uaW1wbGljaXQudmFyaWFibGVzLm1hcCgodmFyaWFibGUpIC0+IHZhcmlhYmxlLm5hbWUpKS50by5iZS5lcWwoXG4gICAgICAgICAgICBbXG4gICAgICAgICAgICAgICAgJ3gnXG4gICAgICAgICAgICBdXG4gICAgICAgIClcblxuICAgIGl0ICdhc3NpZ25tZW50cyBnbG9iYWwgc2NvcGUgd2l0aG91dCBkZWZpbml0aW9uIGV2YWwnLCAtPlxuICAgICAgICBhc3QgPSBlc3ByaW1hLnBhcnNlIFwiXCJcIlxuICAgICAgICBmdW5jdGlvbiBpbm5lcigpIHtcbiAgICAgICAgICAgIGV2YWwoc3RyKTtcbiAgICAgICAgICAgIHggPSAzMDA7XG4gICAgICAgIH1cbiAgICAgICAgXCJcIlwiXG5cbiAgICAgICAgc2NvcGVzID0gZXNjb3BlLmFuYWx5emUoYXN0KS5zY29wZXNcblxuICAgICAgICBleHBlY3Qoc2NvcGVzLm1hcCgoc2NvcGUpIC0+XG4gICAgICAgICAgICBzY29wZS52YXJpYWJsZXMubWFwKCh2YXJpYWJsZSkgLT5cbiAgICAgICAgICAgICAgICB2YXJpYWJsZS5kZWZzLm1hcCgoZGVmKSAtPiBkZWYudHlwZSkpKSkudG8uYmUuZXFsKFxuICAgICAgICAgICAgW1xuICAgICAgICAgICAgICAgIFtcbiAgICAgICAgICAgICAgICAgICAgW1xuICAgICAgICAgICAgICAgICAgICAgICAgJ0Z1bmN0aW9uTmFtZSdcbiAgICAgICAgICAgICAgICAgICAgXVxuICAgICAgICAgICAgICAgIF1cbiAgICAgICAgICAgICAgICBbXG4gICAgICAgICAgICAgICAgICAgIFtcbiAgICAgICAgICAgICAgICAgICAgXVxuICAgICAgICAgICAgICAgIF1cbiAgICAgICAgICAgIF1cbiAgICAgICAgKVxuXG4gICAgICAgIGV4cGVjdChzY29wZXNbMF0uaW1wbGljaXQudmFyaWFibGVzLm1hcCgodmFyaWFibGUpIC0+IHZhcmlhYmxlLm5hbWUpKS50by5iZS5lcWwoW10pXG5cbiAgICBpdCAnYXNzaWdubWVudCBsZWFrcycsIC0+XG4gICAgICAgIGFzdCA9IGVzcHJpbWEucGFyc2UgXCJcIlwiXG4gICAgICAgIGZ1bmN0aW9uIG91dGVyKCkge1xuICAgICAgICAgICAgeCA9IDIwO1xuICAgICAgICB9XG4gICAgICAgIFwiXCJcIlxuXG4gICAgICAgIHNjb3BlcyA9IGVzY29wZS5hbmFseXplKGFzdCkuc2NvcGVzXG5cbiAgICAgICAgZXhwZWN0KHNjb3Blcy5tYXAoKHNjb3BlKSAtPlxuICAgICAgICAgICAgc2NvcGUudmFyaWFibGVzLm1hcCgodmFyaWFibGUpIC0+IHZhcmlhYmxlLm5hbWUpKSkudG8uYmUuZXFsKFxuICAgICAgICAgICAgW1xuICAgICAgICAgICAgICAgIFtcbiAgICAgICAgICAgICAgICAgICAgJ291dGVyJ1xuICAgICAgICAgICAgICAgIF1cbiAgICAgICAgICAgICAgICBbXG4gICAgICAgICAgICAgICAgICAgICdhcmd1bWVudHMnXG4gICAgICAgICAgICAgICAgXVxuICAgICAgICAgICAgXVxuICAgICAgICApXG5cbiAgICAgICAgZXhwZWN0KHNjb3Blc1swXS5pbXBsaWNpdC52YXJpYWJsZXMubWFwKCh2YXJpYWJsZSkgLT4gdmFyaWFibGUubmFtZSkpLnRvLmJlLmVxbChcbiAgICAgICAgICAgIFtcbiAgICAgICAgICAgICAgICAneCdcbiAgICAgICAgICAgIF1cbiAgICAgICAgKVxuXG4gICAgaXQgJ2Fzc2lnbm1lbnQgZG9lc25cXCd0IGxlYWsnLCAtPlxuICAgICAgICBhc3QgPSBlc3ByaW1hLnBhcnNlIFwiXCJcIlxuICAgICAgICBmdW5jdGlvbiBvdXRlcigpIHtcbiAgICAgICAgICAgIGZ1bmN0aW9uIGlubmVyKCkge1xuICAgICAgICAgICAgICAgIHggPSAyMDtcbiAgICAgICAgICAgIH1cbiAgICAgICAgICAgIHZhciB4O1xuICAgICAgICB9XG4gICAgICAgIFwiXCJcIlxuXG4gICAgICAgIHNjb3BlcyA9IGVzY29wZS5hbmFseXplKGFzdCkuc2NvcGVzXG5cbiAgICAgICAgZXhwZWN0KHNjb3Blcy5tYXAoKHNjb3BlKSAtPlxuICAgICAgICAgICAgc2NvcGUudmFyaWFibGVzLm1hcCgodmFyaWFibGUpIC0+IHZhcmlhYmxlLm5hbWUpKSkudG8uYmUuZXFsKFxuICAgICAgICAgICAgW1xuICAgICAgICAgICAgICAgIFtcbiAgICAgICAgICAgICAgICAgICAgJ291dGVyJ1xuICAgICAgICAgICAgICAgIF1cbiAgICAgICAgICAgICAgICBbXG4gICAgICAgICAgICAgICAgICAgICdhcmd1bWVudHMnXG4gICAgICAgICAgICAgICAgICAgICdpbm5lcidcbiAgICAgICAgICAgICAgICAgICAgJ3gnXG4gICAgICAgICAgICAgICAgXVxuICAgICAgICAgICAgICAgIFtcbiAgICAgICAgICAgICAgICAgICAgJ2FyZ3VtZW50cydcbiAgICAgICAgICAgICAgICBdXG4gICAgICAgICAgICBdXG4gICAgICAgIClcblxuICAgICAgICBleHBlY3Qoc2NvcGVzWzBdLmltcGxpY2l0LnZhcmlhYmxlcy5tYXAoKHZhcmlhYmxlKSAtPiB2YXJpYWJsZS5uYW1lKSkudG8uYmUuZXFsKFtdKVxuXG5cbiAgICBpdCAnZm9yLWluLXN0YXRlbWVudCBsZWFrcycsIC0+XG4gICAgICAgIGFzdCA9IGVzcHJpbWEucGFyc2UgXCJcIlwiXG4gICAgICAgIGZ1bmN0aW9uIG91dGVyKCkge1xuICAgICAgICAgICAgZm9yICh4IGluIHkpIHsgfVxuICAgICAgICB9XG4gICAgICAgIFwiXCJcIlxuXG4gICAgICAgIHNjb3BlcyA9IGVzY29wZS5hbmFseXplKGFzdCkuc2NvcGVzXG5cbiAgICAgICAgZXhwZWN0KHNjb3Blcy5tYXAoKHNjb3BlKSAtPlxuICAgICAgICAgICAgc2NvcGUudmFyaWFibGVzLm1hcCgodmFyaWFibGUpIC0+IHZhcmlhYmxlLm5hbWUpKSkudG8uYmUuZXFsKFxuICAgICAgICAgICAgW1xuICAgICAgICAgICAgICAgIFtcbiAgICAgICAgICAgICAgICAgICAgJ291dGVyJ1xuICAgICAgICAgICAgICAgIF1cbiAgICAgICAgICAgICAgICBbXG4gICAgICAgICAgICAgICAgICAgICdhcmd1bWVudHMnXG4gICAgICAgICAgICAgICAgXVxuICAgICAgICAgICAgXVxuICAgICAgICApXG5cbiAgICAgICAgZXhwZWN0KHNjb3Blc1swXS5pbXBsaWNpdC52YXJpYWJsZXMubWFwKCh2YXJpYWJsZSkgLT4gdmFyaWFibGUubmFtZSkpLnRvLmJlLmVxbChcbiAgICAgICAgICAgIFtcbiAgICAgICAgICAgICAgICAneCdcbiAgICAgICAgICAgIF1cbiAgICAgICAgKVxuXG4gICAgaXQgJ2Zvci1pbi1zdGF0ZW1lbnQgZG9lc25cXCd0IGxlYWtzJywgLT5cbiAgICAgICAgYXN0ID0gZXNwcmltYS5wYXJzZSBcIlwiXCJcbiAgICAgICAgZnVuY3Rpb24gb3V0ZXIoKSB7XG4gICAgICAgICAgICBmdW5jdGlvbiBpbm5lcigpIHtcbiAgICAgICAgICAgICAgICBmb3IgKHggaW4geSkgeyB9XG4gICAgICAgICAgICB9XG4gICAgICAgICAgICB2YXIgeDtcbiAgICAgICAgfVxuICAgICAgICBcIlwiXCJcblxuICAgICAgICBzY29wZXMgPSBlc2NvcGUuYW5hbHl6ZShhc3QpLnNjb3Blc1xuXG4gICAgICAgIGV4cGVjdChzY29wZXMubWFwKChzY29wZSkgLT5cbiAgICAgICAgICAgIHNjb3BlLnZhcmlhYmxlcy5tYXAoKHZhcmlhYmxlKSAtPiB2YXJpYWJsZS5uYW1lKSkpLnRvLmJlLmVxbChcbiAgICAgICAgICAgIFtcbiAgICAgICAgICAgICAgICBbXG4gICAgICAgICAgICAgICAgICAgICdvdXRlcidcbiAgICAgICAgICAgICAgICBdXG4gICAgICAgICAgICAgICAgW1xuICAgICAgICAgICAgICAgICAgICAnYXJndW1lbnRzJ1xuICAgICAgICAgICAgICAgICAgICAnaW5uZXInXG4gICAgICAgICAgICAgICAgICAgICd4J1xuICAgICAgICAgICAgICAgIF1cbiAgICAgICAgICAgICAgICBbXG4gICAgICAgICAgICAgICAgICAgICdhcmd1bWVudHMnXG4gICAgICAgICAgICAgICAgXVxuICAgICAgICAgICAgXVxuICAgICAgICApXG5cbiAgICAgICAgZXhwZWN0KHNjb3Blc1swXS5pbXBsaWNpdC52YXJpYWJsZXMubWFwKCh2YXJpYWJsZSkgLT4gdmFyaWFibGUubmFtZSkpLnRvLmJlLmVxbChbXSlcbiJdfQ==
\ No newline at end of file
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/escope/powered-test/label-children.js b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/escope/powered-test/label-children.js
new file mode 100644
index 0000000..710732f
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/escope/powered-test/label-children.js
@@ -0,0 +1,34 @@
+(function() {
+ var escope, esprima, expect, harmony;
+
+ expect = require('chai').expect;
+
+ esprima = require('esprima');
+
+ harmony = require('../third_party/esprima');
+
+ escope = require('..');
+
+ describe('label', function() {
+ return it('should not create variables', function() {
+ var ast, globalScope, scope, scopeManager;
+ ast = esprima.parse("function bar() { q: for(;;) { break q; } }");
+ scopeManager = escope.analyze(ast);
+ expect(scopeManager.scopes).to.have.length(2);
+ globalScope = scopeManager.scopes[0];
+ expect(globalScope.type).to.be.equal('global');
+ expect(globalScope.variables).to.have.length(1);
+ expect(globalScope.variables[0].name).to.be.equal('bar');
+ expect(globalScope.references).to.have.length(0);
+ scope = scopeManager.scopes[1];
+ expect(scope.type).to.be.equal('function');
+ expect(scope.variables).to.have.length(1);
+ expect(scope.variables[0].name).to.be.equal('arguments');
+ expect(scope.isArgumentsMaterialized()).to.be["false"];
+ return expect(scope.references).to.have.length(0);
+ });
+ });
+
+}).call(this);
+
+//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImxhYmVsLWNoaWxkcmVuLmNvZmZlZSJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUF1QkE7QUFBQSxNQUFBLGdDQUFBOztBQUFBLEVBQUEsTUFBQSxHQUFTLE9BQUEsQ0FBUyxNQUFULENBQWUsQ0FBQyxNQUF6QixDQUFBOztBQUFBLEVBQ0EsT0FBQSxHQUFVLE9BQUEsQ0FBUyxTQUFULENBRFYsQ0FBQTs7QUFBQSxFQUVBLE9BQUEsR0FBVSxPQUFBLENBQVMsd0JBQVQsQ0FGVixDQUFBOztBQUFBLEVBR0EsTUFBQSxHQUFTLE9BQUEsQ0FBUyxJQUFULENBSFQsQ0FBQTs7QUFBQSxFQUtBLFFBQUEsQ0FBVSxPQUFWLEVBQWtCLFNBQUEsR0FBQTtXQUNkLEVB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NvcGUgPSBzY29wZU1hbmFnZXIuc2NvcGVzWzBdXG4gICAgICAgIGV4cGVjdChnbG9iYWxTY29wZS50eXBlKS50by5iZS5lcXVhbCAnZ2xvYmFsJ1xuICAgICAgICBleHBlY3QoZ2xvYmFsU2NvcGUudmFyaWFibGVzKS50by5oYXZlLmxlbmd0aCAxXG4gICAgICAgIGV4cGVjdChnbG9iYWxTY29wZS52YXJpYWJsZXNbMF0ubmFtZSkudG8uYmUuZXF1YWwgJ2JhcidcbiAgICAgICAgZXhwZWN0KGdsb2JhbFNjb3BlLnJlZmVyZW5jZXMpLnRvLmhhdmUubGVuZ3RoIDBcblxuICAgICAgICBzY29wZSA9IHNjb3BlTWFuYWdlci5zY29wZXNbMV1cbiAgICAgICAgZXhwZWN0KHNjb3BlLnR5cGUpLnRvLmJlLmVxdWFsICdmdW5jdGlvbidcbiAgICAgICAgZXhwZWN0KHNjb3BlLnZhcmlhYmxlcykudG8uaGF2ZS5sZW5ndGggMVxuICAgICAgICBleHBlY3Qoc2NvcGUudmFyaWFibGVzWzBdLm5hbWUpLnRvLmJlLmVxdWFsICdhcmd1bWVudHMnXG4gICAgICAgIGV4cGVjdChzY29wZS5pc0FyZ3VtZW50c01hdGVyaWFsaXplZCgpKS50by5iZS5mYWxzZVxuICAgICAgICBleHBlY3Qoc2NvcGUucmVmZXJlbmNlcykudG8uaGF2ZS5sZW5ndGggMFxuXG4jIHZpbTogc2V0IHN3PTQgdHM9NCBldCB0dz04MCA6XG4iXX0=
\ No newline at end of file
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/escope/powered-test/label.js b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/escope/powered-test/label.js
new file mode 100644
index 0000000..a54dcd9
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/escope/powered-test/label.js
@@ -0,0 +1,47 @@
+(function() {
+ var escope, esprima, expect, harmony;
+
+ expect = require('chai').expect;
+
+ esprima = require('esprima');
+
+ harmony = require('../third_party/esprima');
+
+ escope = require('..');
+
+ describe('label', function() {
+ it('should not create variables', function() {
+ var ast, globalScope, scope, scopeManager;
+ ast = esprima.parse("function bar() { q: for(;;) { break q; } }");
+ scopeManager = escope.analyze(ast);
+ expect(scopeManager.scopes).to.have.length(2);
+ globalScope = scopeManager.scopes[0];
+ expect(globalScope.type).to.be.equal('global');
+ expect(globalScope.variables).to.have.length(1);
+ expect(globalScope.variables[0].name).to.be.equal('bar');
+ expect(globalScope.references).to.have.length(0);
+ scope = scopeManager.scopes[1];
+ expect(scope.type).to.be.equal('function');
+ expect(scope.variables).to.have.length(1);
+ expect(scope.variables[0].name).to.be.equal('arguments');
+ expect(scope.isArgumentsMaterialized()).to.be["false"];
+ return expect(scope.references).to.have.length(0);
+ });
+ return it('should count child node references', function() {
+ var ast, globalScope, scopeManager;
+ ast = esprima.parse("var foo = 5;\n\nlabel: while (true) {\n console.log(foo);\n break;\n}");
+ scopeManager = escope.analyze(ast);
+ expect(scopeManager.scopes).to.have.length(1);
+ globalScope = scopeManager.scopes[0];
+ expect(globalScope.type).to.be.equal('global');
+ expect(globalScope.variables).to.have.length(1);
+ expect(globalScope.variables[0].name).to.be.equal('foo');
+ expect(globalScope.through.length).to.be.equal(3);
+ expect(globalScope.through[2].identifier.name).to.be.equal('foo');
+ return expect(globalScope.through[2].isRead()).to.be["true"];
+ });
+ });
+
+}).call(this);
+
+//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImxhYmVsLmNvZmZlZSJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUF1QkE7QUFBQSxNQUFBLGdDQUFBOztBQUFBLEVBQUEsTUFBQSxHQUFTLE9BQUEsQ0FBUyxNQUFULENBQWUsQ0FBQyxNQUF6QixDQUFBOztBQUFBLEVBQ0EsT0FBQSxHQUFVLE9BQUEsQ0FBUyxTQUFULENBRFYsQ0FBQTs7QUFBQSxF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5uYW1lKS50by5iZS5lcXVhbCAnZm9vJ1xuICAgICAgICAgICAgZXhwZWN0KGdsb2JhbFNjb3BlLnRocm91Z2hbMl0uaXNSZWFkKCkpLnRvLmJlLnRydWVcblxuIyB2aW06IHNldCBzdz00IHRzPTQgZXQgdHc9ODAgOlxuIl19
\ No newline at end of file
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/escope/powered-test/nodejs-scope.js b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/escope/powered-test/nodejs-scope.js
new file mode 100644
index 0000000..24fd61c
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/escope/powered-test/nodejs-scope.js
@@ -0,0 +1,65 @@
+(function() {
+ var escope, expect, harmony;
+
+ expect = require('chai').expect;
+
+ harmony = require('../third_party/esprima');
+
+ escope = require('..');
+
+ describe('nodejsScope option', function() {
+ it('creates a function scope following the global scope immediately', function() {
+ var ast, scope, scopeManager;
+ ast = harmony.parse("'use strict';\nvar hello = 20;");
+ scopeManager = escope.analyze(ast, {
+ ecmaVersion: 6,
+ nodejsScope: true
+ });
+ expect(scopeManager.scopes).to.have.length(2);
+ scope = scopeManager.scopes[0];
+ expect(scope.type).to.be.equal('global');
+ expect(scope.block.type).to.be.equal('Program');
+ expect(scope.isStrict).to.be["false"];
+ expect(scope.variables).to.have.length(0);
+ scope = scopeManager.scopes[1];
+ expect(scope.type).to.be.equal('function');
+ expect(scope.block.type).to.be.equal('Program');
+ expect(scope.isStrict).to.be["true"];
+ expect(scope.variables).to.have.length(2);
+ expect(scope.variables[0].name).to.be.equal('arguments');
+ return expect(scope.variables[1].name).to.be.equal('hello');
+ });
+ return it('creates a function scope following the global scope immediately and creates module scope', function() {
+ var ast, scope, scopeManager;
+ ast = harmony.parse("import {x as v} from \"mod\";", {
+ sourceType: 'module'
+ });
+ scopeManager = escope.analyze(ast, {
+ ecmaVersion: 6,
+ nodejsScope: true,
+ sourceType: 'module'
+ });
+ expect(scopeManager.scopes).to.have.length(3);
+ scope = scopeManager.scopes[0];
+ expect(scope.type).to.be.equal('global');
+ expect(scope.block.type).to.be.equal('Program');
+ expect(scope.isStrict).to.be["false"];
+ expect(scope.variables).to.have.length(0);
+ scope = scopeManager.scopes[1];
+ expect(scope.type).to.be.equal('function');
+ expect(scope.block.type).to.be.equal('Program');
+ expect(scope.isStrict).to.be["false"];
+ expect(scope.variables).to.have.length(1);
+ expect(scope.variables[0].name).to.be.equal('arguments');
+ scope = scopeManager.scopes[2];
+ expect(scope.type).to.be.equal('module');
+ expect(scope.variables).to.have.length(1);
+ expect(scope.variables[0].name).to.be.equal('v');
+ expect(scope.variables[0].defs[0].type).to.be.equal('ImportBinding');
+ return expect(scope.references).to.have.length(0);
+ });
+ });
+
+}).call(this);
+
+//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIm5vZGVqcy1zY29wZS5jb2ZmZWUiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBdUJBO0FBQUEsTUFBQSx1QkFBQTs7QUFBQSxFQUFBLE1BQUEsR0FBUyxPQUFBLENBQVMsTUFBVCxDQUFlLENBQUMsTUFBekIsQ0FBQTs7QUFBQSxFQUNBLE9BQUEsR0FBVSxPQUFBLENBQVMsd0JBQVQsQ0FEVixDQUFBOztBQUFBLEVBRUEsTUFBQSxHQUFTLE9BQUEsQ0FBUyxJQUFULENBRlQsQ0FBQTs7QUFBQSxFQUlBLFFBQUEsQ0FBVSxvQkFBVixFQUErQixTQUFBLEdBQUE7QUFDM0IsSUFBQSxFQUFBLENBQUksaUVBQUosRUFBc0UsU0FBQSxHQUFBO0FBQ2xFLFVBQUEsd0JBQUE7QUFBQSxNQUFBLEdBQUEsR0FBTSxPQUFPLENBQUMsS0FBUixDQUFpQixnQ0FBakIsQ0FBTixDQUFBO0FBQUEsTUFLQSxZQUFBLEdBQWUsTUFBTSxDQUFDLE9BQVAsQ0FBZS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LnR5cGUpLnRvLmJlLmVxdWFsICdQcm9ncmFtJ1xuICAgICAgICBleHBlY3Qoc2NvcGUuaXNTdHJpY3QpLnRvLmJlLmZhbHNlXG4gICAgICAgIGV4cGVjdChzY29wZS52YXJpYWJsZXMpLnRvLmhhdmUubGVuZ3RoIDBcblxuICAgICAgICBzY29wZSA9IHNjb3BlTWFuYWdlci5zY29wZXNbMV1cbiAgICAgICAgZXhwZWN0KHNjb3BlLnR5cGUpLnRvLmJlLmVxdWFsICdmdW5jdGlvbidcbiAgICAgICAgZXhwZWN0KHNjb3BlLmJsb2NrLnR5cGUpLnRvLmJlLmVxdWFsICdQcm9ncmFtJ1xuICAgICAgICBleHBlY3Qoc2NvcGUuaXNTdHJpY3QpLnRvLmJlLmZhbHNlXG4gICAgICAgIGV4cGVjdChzY29wZS52YXJpYWJsZXMpLnRvLmhhdmUubGVuZ3RoIDFcbiAgICAgICAgZXhwZWN0KHNjb3BlLnZhcmlhYmxlc1swXS5uYW1lKS50by5iZS5lcXVhbCAnYXJndW1lbnRzJ1xuXG4gICAgICAgIHNjb3BlID0gc2NvcGVNYW5hZ2VyLnNjb3Blc1syXVxuICAgICAgICBleHBlY3Qoc2NvcGUudHlwZSkudG8uYmUuZXF1YWwgJ21vZHVsZSdcbiAgICAgICAgZXhwZWN0KHNjb3BlLnZhcmlhYmxlcykudG8uaGF2ZS5sZW5ndGggMVxuICAgICAgICBleHBlY3Qoc2NvcGUudmFyaWFibGVzWzBdLm5hbWUpLnRvLmJlLmVxdWFsICd2J1xuICAgICAgICBleHBlY3Qoc2NvcGUudmFyaWFibGVzWzBdLmRlZnNbMF0udHlwZSkudG8uYmUuZXF1YWwgJ0ltcG9ydEJpbmRpbmcnXG4gICAgICAgIGV4cGVjdChzY29wZS5yZWZlcmVuY2VzKS50by5oYXZlLmxlbmd0aCAwXG5cblxuXG4jIHZpbTogc2V0IHN3PTQgdHM9NCBldCB0dz04MCA6XG4iXX0=
\ No newline at end of file
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/escope/powered-test/object-expression.js b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/escope/powered-test/object-expression.js
new file mode 100644
index 0000000..3e845c7
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/escope/powered-test/object-expression.js
@@ -0,0 +1,56 @@
+(function() {
+ 'use strict';
+ var escope, expect;
+
+ expect = require('chai').expect;
+
+ escope = require('..');
+
+ describe('object expression', function() {
+ return it('doesn\'t require property type', function() {
+ var ast, scope;
+ ast = {
+ type: 'Program',
+ body: [
+ {
+ type: 'VariableDeclaration',
+ declarations: [
+ {
+ type: 'VariableDeclarator',
+ id: {
+ type: 'Identifier',
+ name: 'a'
+ },
+ init: {
+ type: 'ObjectExpression',
+ properties: [
+ {
+ kind: 'init',
+ key: {
+ type: 'Identifier',
+ name: 'foo'
+ },
+ value: {
+ type: 'Identifier',
+ name: 'a'
+ }
+ }
+ ]
+ }
+ }
+ ]
+ }
+ ]
+ };
+ scope = escope.analyze(ast).scopes[0];
+ expect(scope.variables).to.have.length(1);
+ expect(scope.references).to.have.length(2);
+ expect(scope.variables[0].name).to.be.equal('a');
+ expect(scope.references[0].identifier.name).to.be.equal('a');
+ return expect(scope.references[1].identifier.name).to.be.equal('a');
+ });
+ });
+
+}).call(this);
+
+//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIm9iamVjdC1leHByZXNzaW9uLmNvZmZlZSJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQztBQUFBLEVBQUEsWUFBQSxDQUFBO0FBQUEsTUFBQSxjQUFBOztBQUFBLEVBRUQsTUFBQSxHQUFTLE9BQUEsQ0FBUyxNQUFULENBQWUsQ0FBQyxNQUZ4QixDQUFBOztBQUFBLEVBR0QsTUFBQSxHQUFTLE9BQUEsQ0FBUyxJQUFULENBSFIsQ0FBQTs7QUFBQSxFQUtELF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IGFkZHMgYW4gZXh0cmEgJ1Byb3BlcnR5J1xuICAgICAgICAjIGtleS92YWx1ZSB0byBPYmplY3RFeHByZXNzaW9ucywgc28gd2UncmUgbm90IHVzaW5nXG4gICAgICAgICMgaXQgcGFyc2UgYSBwcm9ncmFtIHN0cmluZy5cbiAgICAgICAgYXN0ID1cbiAgICAgICAgICAgIHR5cGU6ICdQcm9ncmFtJ1xuICAgICAgICAgICAgYm9keTogW3tcbiAgICAgICAgICAgICAgICB0eXBlOiAnVmFyaWFibGVEZWNsYXJhdGlvbidcbiAgICAgICAgICAgICAgICBkZWNsYXJhdGlvbnM6IFt7XG4gICAgICAgICAgICAgICAgICAgIHR5cGU6ICdWYXJpYWJsZURlY2xhcmF0b3InXG4gICAgICAgICAgICAgICAgICAgIGlkOlxuICAgICAgICAgICAgICAgICAgICAgICAgdHlwZTogJ0lkZW50aWZpZXInXG4gICAgICAgICAgICAgICAgICAgICAgICBuYW1lOiAnYSdcbiAgICAgICAgICAgICAgICAgICAgaW5pdDpcbiAgICAgICAgICAgICAgICAgICAgICAgIHR5cGU6ICdPYmplY3RFeHByZXNzaW9uJ1xuICAgICAgICAgICAgICAgICAgICAgICAgcHJvcGVydGllczogW3tcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBraW5kOiAnaW5pdCdcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBrZXk6XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHR5cGU6ICdJZGVudGlmaWVyJ1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBuYW1lOiAnZm9vJ1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgIHZhbHVlOlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB0eXBlOiAnSWRlbnRpZmllcidcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgbmFtZTogJ2EnXG4gICAgICAgICAgICAgICAgICAgICAgICB9XVxuICAgICAgICAgICAgICAgIH1dXG4gICAgICAgICAgICB9XVxuXG4gICAgICAgIHNjb3BlID0gZXNjb3BlLmFuYWx5emUoYXN0KS5zY29wZXNbMF1cbiAgICAgICAgZXhwZWN0KHNjb3BlLnZhcmlhYmxlcykudG8uaGF2ZS5sZW5ndGgoMSlcbiAgICAgICAgZXhwZWN0KHNjb3BlLnJlZmVyZW5jZXMpLnRvLmhhdmUubGVuZ3RoKDIpXG4gICAgICAgIGV4cGVjdChzY29wZS52YXJpYWJsZXNbMF0ubmFtZSkudG8uYmUuZXF1YWwoJ2EnKVxuICAgICAgICBleHBlY3Qoc2NvcGUucmVmZXJlbmNlc1swXS5pZGVudGlmaWVyLm5hbWUpLnRvLmJlLmVxdWFsKCdhJylcbiAgICAgICAgZXhwZWN0KHNjb3BlLnJlZmVyZW5jZXNbMV0uaWRlbnRpZmllci5uYW1lKS50by5iZS5lcXVhbCgnYScpXG4iXX0=
\ No newline at end of file
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/escope/powered-test/optimistic.js b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/escope/powered-test/optimistic.js
new file mode 100644
index 0000000..5e93a0a
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/escope/powered-test/optimistic.js
@@ -0,0 +1,40 @@
+(function() {
+ 'use strict';
+ var escope, esprima, expect;
+
+ expect = require('chai').expect;
+
+ escope = require('..');
+
+ esprima = require('esprima');
+
+ describe('optimistic', function() {
+ it('direct call to eval', function() {
+ var ast, scopes;
+ ast = esprima.parse("function outer() {\n eval(str);\n var i = 20;\n function inner() {\n i;\n }\n}");
+ scopes = escope.analyze(ast, {
+ optimistic: true
+ }).scopes;
+ return expect(scopes.map(function(scope) {
+ return scope.variables.map(function(variable) {
+ return variable.name;
+ });
+ })).to.be.eql([['outer'], ['arguments', 'i', 'inner'], ['arguments']]);
+ });
+ return it('with statement', function() {
+ var ast, scopes;
+ ast = esprima.parse("function outer() {\n eval(str);\n var i = 20;\n with (obj) {\n i;\n }\n}");
+ scopes = escope.analyze(ast, {
+ optimistic: true
+ }).scopes;
+ return expect(scopes.map(function(scope) {
+ return scope.variables.map(function(variable) {
+ return variable.name;
+ });
+ })).to.be.eql([['outer'], ['arguments', 'i'], []]);
+ });
+ });
+
+}).call(this);
+
+//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIm9wdGltaXN0aWMuY29mZmVlIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQXNCQztBQUFBLEVBQUEsWUFBQSxDQUFBO0FBQUEsTUFBQSx1QkFBQTs7QUFBQSxFQUVELE1BQUEsR0FBUyxPQUFBLENBQVMsTUFBVCxDQUFlLENBQUMsTUFGeEIsQ0FBQTs7QUFBQSxFQUdELE1BQUEsR0FBUyxPQUFBLENBQVMsSUFBVCxDQUhSLENBQUE7O0FBQUEsRUFJRCxPQUFBLEdBQVUsT0FBQSxDQUFTLFNBQVQsQ0FKVCxDQUFBOztBQUFBLEVBTUQsUUFBQSxDQUFVLFlBQVYsRUFBdUIsU0FBQSxHQUFBO0FBQ25CLElBQUEsRUFBQSxDQUFJLHFCQUFKLEVBQTBCLFNBQUEsR0FBQTtBQUN0QixVQUFBLFdBQUE7QUFBQSxNQUFBLEdBQUEsR0FBTSxPQUFPLENBQUMsS0FBUixDQUFpQixtR0FBakIsQ0FBTixDQUFBO0FBQUEsTUFVQSxNQUFBLEdBQVMsTUFBTSxDQUFDLE9BQVAsQ0FBZSxHQUFmLEVBQW9CO0FBQUEsUUFBQSxVQUFBLEVBQVksSUFBWjtPQUFwQixDQUFvQyxDQUFDLE1BVjlDLENBQUE7YUFZQSxNQUFBLENBQU8sTUFBTSxDQUFDLEdBQVAsQ0FBVyxTQUFDLEtBQUQsR0FBQTtlQUNkLEtBQUssQ0FBQyxTQUFTLENBQUMsR0FBaEIsQ0FBb0IsU0FBQyxRQUFELEdBQUE7aUJBQWMsUUFBUSxDQUFDLEtBQXZ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AgICAgIHZhciBpID0gMjA7XG4gICAgICAgICAgICBmdW5jdGlvbiBpbm5lcigpIHtcbiAgICAgICAgICAgICAgICBpO1xuICAgICAgICAgICAgfVxuICAgICAgICB9XG4gICAgICAgIFwiXCJcIlxuXG4gICAgICAgIHNjb3BlcyA9IGVzY29wZS5hbmFseXplKGFzdCwgb3B0aW1pc3RpYzogeWVzKS5zY29wZXNcblxuICAgICAgICBleHBlY3Qoc2NvcGVzLm1hcCgoc2NvcGUpIC0+XG4gICAgICAgICAgICBzY29wZS52YXJpYWJsZXMubWFwKCh2YXJpYWJsZSkgLT4gdmFyaWFibGUubmFtZSkpKS50by5iZS5lcWwoXG4gICAgICAgICAgICBbXG4gICAgICAgICAgICAgICAgW1xuICAgICAgICAgICAgICAgICAgICAnb3V0ZXInXG4gICAgICAgICAgICAgICAgXVxuICAgICAgICAgICAgICAgIFtcbiAgICAgICAgICAgICAgICAgICAgJ2FyZ3VtZW50cydcbiAgICAgICAgICAgICAgICAgICAgJ2knXG4gICAgICAgICAgICAgICAgICAgICdpbm5lcidcbiAgICAgICAgICAgICAgICBdXG4gICAgICAgICAgICAgICAgW1xuICAgICAgICAgICAgICAgICAgICAnYXJndW1lbnRzJ1xuICAgICAgICAgICAgICAgIF1cbiAgICAgICAgICAgIF1cbiAgICAgICAgKVxuXG4gICAgaXQgJ3dpdGggc3RhdGVtZW50JywgLT5cbiAgICAgICAgYXN0ID0gZXNwcmltYS5wYXJzZSBcIlwiXCJcbiAgICAgICAgZnVuY3Rpb24gb3V0ZXIoKSB7XG4gICAgICAgICAgICBldmFsKHN0cik7XG4gICAgICAgICAgICB2YXIgaSA9IDIwO1xuICAgICAgICAgICAgd2l0aCAob2JqKSB7XG4gICAgICAgICAgICAgICAgaTtcbiAgICAgICAgICAgIH1cbiAgICAgICAgfVxuICAgICAgICBcIlwiXCJcblxuICAgICAgICBzY29wZXMgPSBlc2NvcGUuYW5hbHl6ZShhc3QsIG9wdGltaXN0aWM6IHllcykuc2NvcGVzXG5cbiAgICAgICAgZXhwZWN0KHNjb3Blcy5tYXAoKHNjb3BlKSAtPlxuICAgICAgICAgICAgc2NvcGUudmFyaWFibGVzLm1hcCgodmFyaWFibGUpIC0+IHZhcmlhYmxlLm5hbWUpKSkudG8uYmUuZXFsKFxuICAgICAgICAgICAgW1xuICAgICAgICAgICAgICAgIFtcbiAgICAgICAgICAgICAgICAgICAgJ291dGVyJ1xuICAgICAgICAgICAgICAgIF1cbiAgICAgICAgICAgICAgICBbXG4gICAgICAgICAgICAgICAgICAgICdhcmd1bWVudHMnXG4gICAgICAgICAgICAgICAgICAgICdpJ1xuICAgICAgICAgICAgICAgIF1cbiAgICAgICAgICAgICAgICBbXG4gICAgICAgICAgICAgICAgXVxuICAgICAgICAgICAgXVxuICAgICAgICApXG5cblxuIl19
\ No newline at end of file
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/escope/powered-test/with-scope.js b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/escope/powered-test/with-scope.js
new file mode 100644
index 0000000..bb2c745
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/escope/powered-test/with-scope.js
@@ -0,0 +1,40 @@
+(function() {
+ var escope, esprima, expect, harmony;
+
+ expect = require('chai').expect;
+
+ esprima = require('esprima');
+
+ harmony = require('../third_party/esprima');
+
+ escope = require('..');
+
+ describe('with', function() {
+ return it('creates scope', function() {
+ var ast, globalScope, scope, scopeManager;
+ ast = esprima.parse("(function () {\n with (obj) {\n testing;\n }\n}());");
+ scopeManager = escope.analyze(ast);
+ expect(scopeManager.scopes).to.have.length(3);
+ globalScope = scopeManager.scopes[0];
+ expect(globalScope.type).to.be.equal('global');
+ expect(globalScope.variables).to.have.length(0);
+ expect(globalScope.references).to.have.length(0);
+ scope = scopeManager.scopes[1];
+ expect(scope.type).to.be.equal('function');
+ expect(scope.variables).to.have.length(1);
+ expect(scope.variables[0].name).to.be.equal('arguments');
+ expect(scope.isArgumentsMaterialized()).to.be["false"];
+ expect(scope.references).to.have.length(1);
+ expect(scope.references[0].resolved).to.be["null"];
+ scope = scopeManager.scopes[2];
+ expect(scope.type).to.be.equal('with');
+ expect(scope.variables).to.have.length(0);
+ expect(scope.isArgumentsMaterialized()).to.be["true"];
+ expect(scope.references).to.have.length(1);
+ return expect(scope.references[0].resolved).to.be["null"];
+ });
+ });
+
+}).call(this);
+
+//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndpdGgtc2NvcGUuY29mZmVlIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQXVCQTtBQUFBLE1BQUEsZ0NBQUE7O0FBQUEsRUFBQSxNQUFBLEdBQVMsT0FBQSxDQUFTLE1BQVQsQ0FBZSxDQUFDLE1BQXpCLENBQUE7O0FBQUEsRUFDQSxPQUFBLEdBQVUsT0FBQSxDQUFTLFNBQVQsQ0FEVixDQUFBOztBQUFBLEVBRUEsT0FBQSxHQUFVLE9BQUEsQ0FBUyx3QkFBVCxDQUZWLENBQUE7O0FBQUEsRUFHQSxNQUFBLEdBQVMsT0FBQSxDQUFTLElBQVQsQ0FIVCxDQUFBOztBQUFBLEVBS0EsUUFBQSxDQUFVLE1BQVYsRUFBaUIsU0FBQSxHQUFBO1dBQ2IsRUFBQSxDQUFJLGVBQUosRUFBb0IsU0FBQSxHQUFBO0FBQ2hCLFVBQUEscUNBQUE7QUFBQSxNQUFBLEdBQUEsR0FBTSxPQUFPLENBQUMsS0FBUixDQUFpQixrRUFBakIsQ0FBTixDQUFBO0FBQUEsTUFRQSxZQUFBLEdBQWUsTUFBTSxDQUFDLE9BQVAsQ0FBZSxHQUFmLENBUmYsQ0FBQTtBQUFBLE1BU0EsTUFBQSxDQUFPLFlBQVksQ0FBQyxNQUFwQixDQUEyQixDQUFDLEVBQUUsQ0FBQyxJQUFJLENBQUMsTUFBcEMsQ0FBMkMsQ0FBM0MsQ0FUQSxDQU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ZWN0KHNjb3BlLnJlZmVyZW5jZXMpLnRvLmhhdmUubGVuZ3RoIDFcbiAgICAgICAgZXhwZWN0KHNjb3BlLnJlZmVyZW5jZXNbMF0ucmVzb2x2ZWQpLnRvLmJlLm51bGxcblxuICAgICAgICBzY29wZSA9IHNjb3BlTWFuYWdlci5zY29wZXNbMl1cbiAgICAgICAgZXhwZWN0KHNjb3BlLnR5cGUpLnRvLmJlLmVxdWFsICd3aXRoJ1xuICAgICAgICBleHBlY3Qoc2NvcGUudmFyaWFibGVzKS50by5oYXZlLmxlbmd0aCAwXG4gICAgICAgIGV4cGVjdChzY29wZS5pc0FyZ3VtZW50c01hdGVyaWFsaXplZCgpKS50by5iZS50cnVlXG4gICAgICAgIGV4cGVjdChzY29wZS5yZWZlcmVuY2VzKS50by5oYXZlLmxlbmd0aCAxXG4gICAgICAgIGV4cGVjdChzY29wZS5yZWZlcmVuY2VzWzBdLnJlc29sdmVkKS50by5iZS5udWxsXG5cbiMgdmltOiBzZXQgc3c9NCB0cz00IGV0IHR3PTgwIDpcbiJdfQ==
\ No newline at end of file
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/escope/src/definition.js b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/escope/src/definition.js
new file mode 100644
index 0000000..faef938
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/escope/src/definition.js
@@ -0,0 +1,78 @@
+/*
+ Copyright (C) 2015 Yusuke Suzuki
+
+ Redistribution and use in source and binary forms, with or without
+ modification, are permitted provided that the following conditions are met:
+
+ * Redistributions of source code must retain the above copyright
+ notice, this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright
+ notice, this list of conditions and the following disclaimer in the
+ documentation and/or other materials provided with the distribution.
+
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ ARE DISCLAIMED. IN NO EVENT SHALL BE LIABLE FOR ANY
+ DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
+ (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
+ ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
+ THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+*/
+
+import Variable from './variable';
+
+/**
+ * @class Definition
+ */
+export default class Definition {
+ constructor(type, name, node, parent, index, kind) {
+ /**
+ * @member {String} Definition#type - type of the occurrence (e.g. "Parameter", "Variable", ...).
+ */
+ this.type = type;
+ /**
+ * @member {esprima.Identifier} Definition#name - the identifier AST node of the occurrence.
+ */
+ this.name = name;
+ /**
+ * @member {esprima.Node} Definition#node - the enclosing node of the identifier.
+ */
+ this.node = node;
+ /**
+ * @member {esprima.Node?} Definition#parent - the enclosing statement node of the identifier.
+ */
+ this.parent = parent;
+ /**
+ * @member {Number?} Definition#index - the index in the declaration statement.
+ */
+ this.index = index;
+ /**
+ * @member {String?} Definition#kind - the kind of the declaration statement.
+ */
+ this.kind = kind;
+ }
+}
+
+/**
+ * @class ParameterDefinition
+ */
+class ParameterDefinition extends Definition {
+ constructor(name, node, index, rest) {
+ super(Variable.Parameter, name, node, null, index, null);
+ /**
+ * Whether the parameter definition is a part of a rest parameter.
+ * @member {boolean} ParameterDefinition#rest
+ */
+ this.rest = rest;
+ }
+}
+
+export {
+ ParameterDefinition,
+ Definition
+}
+
+/* vim: set sw=4 ts=4 et tw=80 : */
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/escope/src/index.js b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/escope/src/index.js
new file mode 100644
index 0000000..a345e1c
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/escope/src/index.js
@@ -0,0 +1,146 @@
+/*
+ Copyright (C) 2012-2014 Yusuke Suzuki
+ Copyright (C) 2013 Alex Seville
+ Copyright (C) 2014 Thiago de Arruda
+
+ Redistribution and use in source and binary forms, with or without
+ modification, are permitted provided that the following conditions are met:
+
+ * Redistributions of source code must retain the above copyright
+ notice, this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright
+ notice, this list of conditions and the following disclaimer in the
+ documentation and/or other materials provided with the distribution.
+
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ ARE DISCLAIMED. IN NO EVENT SHALL BE LIABLE FOR ANY
+ DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
+ (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
+ ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
+ THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+*/
+
+/**
+ * Escope (escope ) is an ECMAScript
+ * scope analyzer extracted from the esmangle project .
+ *
+ * escope finds lexical scopes in a source program, i.e. areas of that
+ * program where different occurrences of the same identifier refer to the same
+ * variable. With each scope the contained variables are collected, and each
+ * identifier reference in code is linked to its corresponding variable (if
+ * possible).
+ *
+ * escope works on a syntax tree of the parsed source code which has
+ * to adhere to the
+ * Mozilla Parser API . E.g. esprima is a parser
+ * that produces such syntax trees.
+ *
+ * The main interface is the {@link analyze} function.
+ * @module escope
+ */
+
+/*jslint bitwise:true */
+
+import assert from 'assert';
+
+import ScopeManager from './scope-manager';
+import Referencer from './referencer';
+import Reference from './reference';
+import Variable from './variable';
+import Scope from './scope';
+import { version } from '../package.json';
+
+function defaultOptions() {
+ return {
+ optimistic: false,
+ directive: false,
+ nodejsScope: false,
+ impliedStrict: false,
+ sourceType: 'script', // one of ['script', 'module']
+ ecmaVersion: 5,
+ childVisitorKeys: null,
+ fallback: 'iteration'
+ };
+}
+
+function updateDeeply(target, override) {
+ var key, val;
+
+ function isHashObject(target) {
+ return typeof target === 'object' && target instanceof Object && !(target instanceof Array) && !(target instanceof RegExp);
+ }
+
+ for (key in override) {
+ if (override.hasOwnProperty(key)) {
+ val = override[key];
+ if (isHashObject(val)) {
+ if (isHashObject(target[key])) {
+ updateDeeply(target[key], val);
+ } else {
+ target[key] = updateDeeply({}, val);
+ }
+ } else {
+ target[key] = val;
+ }
+ }
+ }
+ return target;
+}
+
+/**
+ * Main interface function. Takes an Esprima syntax tree and returns the
+ * analyzed scopes.
+ * @function analyze
+ * @param {esprima.Tree} tree
+ * @param {Object} providedOptions - Options that tailor the scope analysis
+ * @param {boolean} [providedOptions.optimistic=false] - the optimistic flag
+ * @param {boolean} [providedOptions.directive=false]- the directive flag
+ * @param {boolean} [providedOptions.ignoreEval=false]- whether to check 'eval()' calls
+ * @param {boolean} [providedOptions.nodejsScope=false]- whether the whole
+ * script is executed under node.js environment. When enabled, escope adds
+ * a function scope immediately following the global scope.
+ * @param {boolean} [providedOptions.impliedStrict=false]- implied strict mode
+ * (if ecmaVersion >= 5).
+ * @param {string} [providedOptions.sourceType='script']- the source type of the script. one of 'script' and 'module'
+ * @param {number} [providedOptions.ecmaVersion=5]- which ECMAScript version is considered
+ * @param {Object} [providedOptions.childVisitorKeys=null] - Additional known visitor keys. See [esrecurse](https://github.com/estools/esrecurse)'s the `childVisitorKeys` option.
+ * @param {string} [providedOptions.fallback='iteration'] - A kind of the fallback in order to encounter with unknown node. See [esrecurse](https://github.com/estools/esrecurse)'s the `fallback` option.
+ * @return {ScopeManager}
+ */
+export function analyze(tree, providedOptions) {
+ var scopeManager, referencer, options;
+
+ options = updateDeeply(defaultOptions(), providedOptions);
+
+ scopeManager = new ScopeManager(options);
+
+ referencer = new Referencer(options, scopeManager);
+ referencer.visit(tree);
+
+ assert(scopeManager.__currentScope === null, 'currentScope should be null.');
+
+ return scopeManager;
+}
+
+export {
+ /** @name module:escope.version */
+ version,
+ /** @name module:escope.Reference */
+ Reference,
+ /** @name module:escope.Variable */
+ Variable,
+ /** @name module:escope.Scope */
+ Scope,
+ /** @name module:escope.ScopeManager */
+ ScopeManager
+};
+
+
+/* vim: set sw=4 ts=4 et tw=80 : */
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/escope/src/pattern-visitor.js b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/escope/src/pattern-visitor.js
new file mode 100644
index 0000000..b98e98a
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/escope/src/pattern-visitor.js
@@ -0,0 +1,134 @@
+/*
+ Copyright (C) 2015 Yusuke Suzuki
+
+ Redistribution and use in source and binary forms, with or without
+ modification, are permitted provided that the following conditions are met:
+
+ * Redistributions of source code must retain the above copyright
+ notice, this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright
+ notice, this list of conditions and the following disclaimer in the
+ documentation and/or other materials provided with the distribution.
+
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ ARE DISCLAIMED. IN NO EVENT SHALL BE LIABLE FOR ANY
+ DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
+ (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
+ ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
+ THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+*/
+
+import { Syntax } from 'estraverse';
+import esrecurse from 'esrecurse';
+
+function getLast(xs) {
+ return xs[xs.length - 1] || null;
+}
+
+export default class PatternVisitor extends esrecurse.Visitor {
+ static isPattern(node) {
+ var nodeType = node.type;
+ return (
+ nodeType === Syntax.Identifier ||
+ nodeType === Syntax.ObjectPattern ||
+ nodeType === Syntax.ArrayPattern ||
+ nodeType === Syntax.SpreadElement ||
+ nodeType === Syntax.RestElement ||
+ nodeType === Syntax.AssignmentPattern
+ );
+ }
+
+ constructor(options, rootPattern, callback) {
+ super(null, options);
+ this.rootPattern = rootPattern;
+ this.callback = callback;
+ this.assignments = [];
+ this.rightHandNodes = [];
+ this.restElements = [];
+ }
+
+ Identifier(pattern) {
+ const lastRestElement = getLast(this.restElements);
+ this.callback(pattern, {
+ topLevel: pattern === this.rootPattern,
+ rest: lastRestElement != null && lastRestElement.argument === pattern,
+ assignments: this.assignments
+ });
+ }
+
+ Property(property) {
+ // Computed property's key is a right hand node.
+ if (property.computed) {
+ this.rightHandNodes.push(property.key);
+ }
+
+ // If it's shorthand, its key is same as its value.
+ // If it's shorthand and has its default value, its key is same as its value.left (the value is AssignmentPattern).
+ // If it's not shorthand, the name of new variable is its value's.
+ this.visit(property.value);
+ }
+
+ ArrayPattern(pattern) {
+ var i, iz, element;
+ for (i = 0, iz = pattern.elements.length; i < iz; ++i) {
+ element = pattern.elements[i];
+ this.visit(element);
+ }
+ }
+
+ AssignmentPattern(pattern) {
+ this.assignments.push(pattern);
+ this.visit(pattern.left);
+ this.rightHandNodes.push(pattern.right);
+ this.assignments.pop();
+ }
+
+ RestElement(pattern) {
+ this.restElements.push(pattern);
+ this.visit(pattern.argument);
+ this.restElements.pop();
+ }
+
+ MemberExpression(node) {
+ // Computed property's key is a right hand node.
+ if (node.computed) {
+ this.rightHandNodes.push(node.property);
+ }
+ // the object is only read, write to its property.
+ this.rightHandNodes.push(node.object);
+ }
+
+ //
+ // ForInStatement.left and AssignmentExpression.left are LeftHandSideExpression.
+ // By spec, LeftHandSideExpression is Pattern or MemberExpression.
+ // (see also: https://github.com/estree/estree/pull/20#issuecomment-74584758)
+ // But espree 2.0 and esprima 2.0 parse to ArrayExpression, ObjectExpression, etc...
+ //
+
+ SpreadElement(node) {
+ this.visit(node.argument);
+ }
+
+ ArrayExpression(node) {
+ node.elements.forEach(this.visit, this);
+ }
+
+ AssignmentExpression(node) {
+ this.assignments.push(node);
+ this.visit(node.left);
+ this.rightHandNodes.push(node.right);
+ this.assignments.pop();
+ }
+
+ CallExpression(node) {
+ // arguments are right hand nodes.
+ node.arguments.forEach(a => { this.rightHandNodes.push(a); });
+ this.visit(node.callee);
+ }
+}
+
+/* vim: set sw=4 ts=4 et tw=80 : */
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/escope/src/reference.js b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/escope/src/reference.js
new file mode 100644
index 0000000..7f273a3
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/escope/src/reference.js
@@ -0,0 +1,154 @@
+/*
+ Copyright (C) 2015 Yusuke Suzuki
+
+ Redistribution and use in source and binary forms, with or without
+ modification, are permitted provided that the following conditions are met:
+
+ * Redistributions of source code must retain the above copyright
+ notice, this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright
+ notice, this list of conditions and the following disclaimer in the
+ documentation and/or other materials provided with the distribution.
+
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ ARE DISCLAIMED. IN NO EVENT SHALL BE LIABLE FOR ANY
+ DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
+ (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
+ ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
+ THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+*/
+
+const READ = 0x1;
+const WRITE = 0x2;
+const RW = READ | WRITE;
+
+/**
+ * A Reference represents a single occurrence of an identifier in code.
+ * @class Reference
+ */
+export default class Reference {
+ constructor(ident, scope, flag, writeExpr, maybeImplicitGlobal, partial, init) {
+ /**
+ * Identifier syntax node.
+ * @member {esprima#Identifier} Reference#identifier
+ */
+ this.identifier = ident;
+ /**
+ * Reference to the enclosing Scope.
+ * @member {Scope} Reference#from
+ */
+ this.from = scope;
+ /**
+ * Whether the reference comes from a dynamic scope (such as 'eval',
+ * 'with', etc.), and may be trapped by dynamic scopes.
+ * @member {boolean} Reference#tainted
+ */
+ this.tainted = false;
+ /**
+ * The variable this reference is resolved with.
+ * @member {Variable} Reference#resolved
+ */
+ this.resolved = null;
+ /**
+ * The read-write mode of the reference. (Value is one of {@link
+ * Reference.READ}, {@link Reference.RW}, {@link Reference.WRITE}).
+ * @member {number} Reference#flag
+ * @private
+ */
+ this.flag = flag;
+ if (this.isWrite()) {
+ /**
+ * If reference is writeable, this is the tree being written to it.
+ * @member {esprima#Node} Reference#writeExpr
+ */
+ this.writeExpr = writeExpr;
+ /**
+ * Whether the Reference might refer to a partial value of writeExpr.
+ * @member {boolean} Reference#partial
+ */
+ this.partial = partial;
+ /**
+ * Whether the Reference is to write of initialization.
+ * @member {boolean} Reference#init
+ */
+ this.init = init;
+ }
+ this.__maybeImplicitGlobal = maybeImplicitGlobal;
+ }
+
+ /**
+ * Whether the reference is static.
+ * @method Reference#isStatic
+ * @return {boolean}
+ */
+ isStatic() {
+ return !this.tainted && this.resolved && this.resolved.scope.isStatic();
+ }
+
+ /**
+ * Whether the reference is writeable.
+ * @method Reference#isWrite
+ * @return {boolean}
+ */
+ isWrite() {
+ return !!(this.flag & Reference.WRITE);
+ }
+
+ /**
+ * Whether the reference is readable.
+ * @method Reference#isRead
+ * @return {boolean}
+ */
+ isRead() {
+ return !!(this.flag & Reference.READ);
+ }
+
+ /**
+ * Whether the reference is read-only.
+ * @method Reference#isReadOnly
+ * @return {boolean}
+ */
+ isReadOnly() {
+ return this.flag === Reference.READ;
+ }
+
+ /**
+ * Whether the reference is write-only.
+ * @method Reference#isWriteOnly
+ * @return {boolean}
+ */
+ isWriteOnly() {
+ return this.flag === Reference.WRITE;
+ }
+
+ /**
+ * Whether the reference is read-write.
+ * @method Reference#isReadWrite
+ * @return {boolean}
+ */
+ isReadWrite() {
+ return this.flag === Reference.RW;
+ }
+}
+
+/**
+ * @constant Reference.READ
+ * @private
+ */
+Reference.READ = READ;
+/**
+ * @constant Reference.WRITE
+ * @private
+ */
+Reference.WRITE = WRITE;
+/**
+ * @constant Reference.RW
+ * @private
+ */
+Reference.RW = RW;
+
+/* vim: set sw=4 ts=4 et tw=80 : */
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/escope/src/referencer.js b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/escope/src/referencer.js
new file mode 100644
index 0000000..bd81080
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/escope/src/referencer.js
@@ -0,0 +1,584 @@
+/*
+ Copyright (C) 2015 Yusuke Suzuki
+
+ Redistribution and use in source and binary forms, with or without
+ modification, are permitted provided that the following conditions are met:
+
+ * Redistributions of source code must retain the above copyright
+ notice, this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright
+ notice, this list of conditions and the following disclaimer in the
+ documentation and/or other materials provided with the distribution.
+
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ ARE DISCLAIMED. IN NO EVENT SHALL BE LIABLE FOR ANY
+ DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
+ (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
+ ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
+ THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+*/
+import { Syntax } from 'estraverse';
+import esrecurse from 'esrecurse';
+import Reference from './reference';
+import Variable from './variable';
+import PatternVisitor from './pattern-visitor';
+import { ParameterDefinition, Definition } from './definition';
+import assert from 'assert';
+
+function traverseIdentifierInPattern(options, rootPattern, referencer, callback) {
+ // Call the callback at left hand identifier nodes, and Collect right hand nodes.
+ var visitor = new PatternVisitor(options, rootPattern, callback);
+ visitor.visit(rootPattern);
+
+ // Process the right hand nodes recursively.
+ if (referencer != null) {
+ visitor.rightHandNodes.forEach(referencer.visit, referencer);
+ }
+}
+
+// Importing ImportDeclaration.
+// http://people.mozilla.org/~jorendorff/es6-draft.html#sec-moduledeclarationinstantiation
+// https://github.com/estree/estree/blob/master/es6.md#importdeclaration
+// FIXME: Now, we don't create module environment, because the context is
+// implementation dependent.
+
+class Importer extends esrecurse.Visitor {
+ constructor(declaration, referencer) {
+ super(null, referencer.options);
+ this.declaration = declaration;
+ this.referencer = referencer;
+ }
+
+ visitImport(id, specifier) {
+ this.referencer.visitPattern(id, (pattern) => {
+ this.referencer.currentScope().__define(pattern,
+ new Definition(
+ Variable.ImportBinding,
+ pattern,
+ specifier,
+ this.declaration,
+ null,
+ null
+ ));
+ });
+ }
+
+ ImportNamespaceSpecifier(node) {
+ let local = (node.local || node.id);
+ if (local) {
+ this.visitImport(local, node);
+ }
+ }
+
+ ImportDefaultSpecifier(node) {
+ let local = (node.local || node.id);
+ this.visitImport(local, node);
+ }
+
+ ImportSpecifier(node) {
+ let local = (node.local || node.id);
+ if (node.name) {
+ this.visitImport(node.name, node);
+ } else {
+ this.visitImport(local, node);
+ }
+ }
+}
+
+// Referencing variables and creating bindings.
+export default class Referencer extends esrecurse.Visitor {
+ constructor(options, scopeManager) {
+ super(null, options);
+ this.options = options;
+ this.scopeManager = scopeManager;
+ this.parent = null;
+ this.isInnerMethodDefinition = false;
+ }
+
+ currentScope() {
+ return this.scopeManager.__currentScope;
+ }
+
+ close(node) {
+ while (this.currentScope() && node === this.currentScope().block) {
+ this.scopeManager.__currentScope = this.currentScope().__close(this.scopeManager);
+ }
+ }
+
+ pushInnerMethodDefinition(isInnerMethodDefinition) {
+ var previous = this.isInnerMethodDefinition;
+ this.isInnerMethodDefinition = isInnerMethodDefinition;
+ return previous;
+ }
+
+ popInnerMethodDefinition(isInnerMethodDefinition) {
+ this.isInnerMethodDefinition = isInnerMethodDefinition;
+ }
+
+ materializeTDZScope(node, iterationNode) {
+ // http://people.mozilla.org/~jorendorff/es6-draft.html#sec-runtime-semantics-forin-div-ofexpressionevaluation-abstract-operation
+ // TDZ scope hides the declaration's names.
+ this.scopeManager.__nestTDZScope(node, iterationNode);
+ this.visitVariableDeclaration(this.currentScope(), Variable.TDZ, iterationNode.left, 0, true);
+ }
+
+ materializeIterationScope(node) {
+ // Generate iteration scope for upper ForIn/ForOf Statements.
+ var letOrConstDecl;
+ this.scopeManager.__nestForScope(node);
+ letOrConstDecl = node.left;
+ this.visitVariableDeclaration(this.currentScope(), Variable.Variable, letOrConstDecl, 0);
+ this.visitPattern(letOrConstDecl.declarations[0].id, (pattern) => {
+ this.currentScope().__referencing(pattern, Reference.WRITE, node.right, null, true, true);
+ });
+ }
+
+ referencingDefaultValue(pattern, assignments, maybeImplicitGlobal, init) {
+ const scope = this.currentScope();
+ assignments.forEach(assignment => {
+ scope.__referencing(
+ pattern,
+ Reference.WRITE,
+ assignment.right,
+ maybeImplicitGlobal,
+ pattern !== assignment.left,
+ init);
+ });
+ }
+
+ visitPattern(node, options, callback) {
+ if (typeof options === 'function') {
+ callback = options;
+ options = {processRightHandNodes: false}
+ }
+ traverseIdentifierInPattern(
+ this.options,
+ node,
+ options.processRightHandNodes ? this : null,
+ callback);
+ }
+
+ visitFunction(node) {
+ var i, iz;
+ // FunctionDeclaration name is defined in upper scope
+ // NOTE: Not referring variableScope. It is intended.
+ // Since
+ // in ES5, FunctionDeclaration should be in FunctionBody.
+ // in ES6, FunctionDeclaration should be block scoped.
+ if (node.type === Syntax.FunctionDeclaration) {
+ // id is defined in upper scope
+ this.currentScope().__define(node.id,
+ new Definition(
+ Variable.FunctionName,
+ node.id,
+ node,
+ null,
+ null,
+ null
+ ));
+ }
+
+ // FunctionExpression with name creates its special scope;
+ // FunctionExpressionNameScope.
+ if (node.type === Syntax.FunctionExpression && node.id) {
+ this.scopeManager.__nestFunctionExpressionNameScope(node);
+ }
+
+ // Consider this function is in the MethodDefinition.
+ this.scopeManager.__nestFunctionScope(node, this.isInnerMethodDefinition);
+
+ // Process parameter declarations.
+ for (i = 0, iz = node.params.length; i < iz; ++i) {
+ this.visitPattern(node.params[i], {processRightHandNodes: true}, (pattern, info) => {
+ this.currentScope().__define(pattern,
+ new ParameterDefinition(
+ pattern,
+ node,
+ i,
+ info.rest
+ ));
+
+ this.referencingDefaultValue(pattern, info.assignments, null, true);
+ });
+ }
+
+ // if there's a rest argument, add that
+ if (node.rest) {
+ this.visitPattern({
+ type: 'RestElement',
+ argument: node.rest
+ }, (pattern) => {
+ this.currentScope().__define(pattern,
+ new ParameterDefinition(
+ pattern,
+ node,
+ node.params.length,
+ true
+ ));
+ });
+ }
+
+ // Skip BlockStatement to prevent creating BlockStatement scope.
+ if (node.body.type === Syntax.BlockStatement) {
+ this.visitChildren(node.body);
+ } else {
+ this.visit(node.body);
+ }
+
+ this.close(node);
+ }
+
+ visitClass(node) {
+ if (node.type === Syntax.ClassDeclaration) {
+ this.currentScope().__define(node.id,
+ new Definition(
+ Variable.ClassName,
+ node.id,
+ node,
+ null,
+ null,
+ null
+ ));
+ }
+
+ // FIXME: Maybe consider TDZ.
+ this.visit(node.superClass);
+
+ this.scopeManager.__nestClassScope(node);
+
+ if (node.id) {
+ this.currentScope().__define(node.id,
+ new Definition(
+ Variable.ClassName,
+ node.id,
+ node
+ ));
+ }
+ this.visit(node.body);
+
+ this.close(node);
+ }
+
+ visitProperty(node) {
+ var previous, isMethodDefinition;
+ if (node.computed) {
+ this.visit(node.key);
+ }
+
+ isMethodDefinition = node.type === Syntax.MethodDefinition;
+ if (isMethodDefinition) {
+ previous = this.pushInnerMethodDefinition(true);
+ }
+ this.visit(node.value);
+ if (isMethodDefinition) {
+ this.popInnerMethodDefinition(previous);
+ }
+ }
+
+ visitForIn(node) {
+ if (node.left.type === Syntax.VariableDeclaration && node.left.kind !== 'var') {
+ this.materializeTDZScope(node.right, node);
+ this.visit(node.right);
+ this.close(node.right);
+
+ this.materializeIterationScope(node);
+ this.visit(node.body);
+ this.close(node);
+ } else {
+ if (node.left.type === Syntax.VariableDeclaration) {
+ this.visit(node.left);
+ this.visitPattern(node.left.declarations[0].id, (pattern) => {
+ this.currentScope().__referencing(pattern, Reference.WRITE, node.right, null, true, true);
+ });
+ } else {
+ this.visitPattern(node.left, {processRightHandNodes: true}, (pattern, info) => {
+ var maybeImplicitGlobal = null;
+ if (!this.currentScope().isStrict) {
+ maybeImplicitGlobal = {
+ pattern: pattern,
+ node: node
+ };
+ }
+ this.referencingDefaultValue(pattern, info.assignments, maybeImplicitGlobal, false);
+ this.currentScope().__referencing(pattern, Reference.WRITE, node.right, maybeImplicitGlobal, true, false);
+ });
+ }
+ this.visit(node.right);
+ this.visit(node.body);
+ }
+ }
+
+ visitVariableDeclaration(variableTargetScope, type, node, index, fromTDZ) {
+ // If this was called to initialize a TDZ scope, this needs to make definitions, but doesn't make references.
+ var decl, init;
+
+ decl = node.declarations[index];
+ init = decl.init;
+ this.visitPattern(decl.id, {processRightHandNodes: !fromTDZ}, (pattern, info) => {
+ variableTargetScope.__define(pattern,
+ new Definition(
+ type,
+ pattern,
+ decl,
+ node,
+ index,
+ node.kind
+ ));
+
+ if (!fromTDZ) {
+ this.referencingDefaultValue(pattern, info.assignments, null, true);
+ }
+ if (init) {
+ this.currentScope().__referencing(pattern, Reference.WRITE, init, null, !info.topLevel, true);
+ }
+ });
+ }
+
+ AssignmentExpression(node) {
+ if (PatternVisitor.isPattern(node.left)) {
+ if (node.operator === '=') {
+ this.visitPattern(node.left, {processRightHandNodes: true}, (pattern, info) => {
+ var maybeImplicitGlobal = null;
+ if (!this.currentScope().isStrict) {
+ maybeImplicitGlobal = {
+ pattern: pattern,
+ node: node
+ };
+ }
+ this.referencingDefaultValue(pattern, info.assignments, maybeImplicitGlobal, false);
+ this.currentScope().__referencing(pattern, Reference.WRITE, node.right, maybeImplicitGlobal, !info.topLevel, false);
+ });
+ } else {
+ this.currentScope().__referencing(node.left, Reference.RW, node.right);
+ }
+ } else {
+ this.visit(node.left);
+ }
+ this.visit(node.right);
+ }
+
+ CatchClause(node) {
+ this.scopeManager.__nestCatchScope(node);
+
+ this.visitPattern(node.param, {processRightHandNodes: true}, (pattern, info) => {
+ this.currentScope().__define(pattern,
+ new Definition(
+ Variable.CatchClause,
+ node.param,
+ node,
+ null,
+ null,
+ null
+ ));
+ this.referencingDefaultValue(pattern, info.assignments, null, true);
+ });
+ this.visit(node.body);
+
+ this.close(node);
+ }
+
+ Program(node) {
+ this.scopeManager.__nestGlobalScope(node);
+
+ if (this.scopeManager.__isNodejsScope()) {
+ // Force strictness of GlobalScope to false when using node.js scope.
+ this.currentScope().isStrict = false;
+ this.scopeManager.__nestFunctionScope(node, false);
+ }
+
+ if (this.scopeManager.__isES6() && this.scopeManager.isModule()) {
+ this.scopeManager.__nestModuleScope(node);
+ }
+
+ if (this.scopeManager.isStrictModeSupported() && this.scopeManager.isImpliedStrict()) {
+ this.currentScope().isStrict = true;
+ }
+
+ this.visitChildren(node);
+ this.close(node);
+ }
+
+ Identifier(node) {
+ this.currentScope().__referencing(node);
+ }
+
+ UpdateExpression(node) {
+ if (PatternVisitor.isPattern(node.argument)) {
+ this.currentScope().__referencing(node.argument, Reference.RW, null);
+ } else {
+ this.visitChildren(node);
+ }
+ }
+
+ MemberExpression(node) {
+ this.visit(node.object);
+ if (node.computed) {
+ this.visit(node.property);
+ }
+ }
+
+ Property(node) {
+ this.visitProperty(node);
+ }
+
+ MethodDefinition(node) {
+ this.visitProperty(node);
+ }
+
+ BreakStatement() {}
+
+ ContinueStatement() {}
+
+ LabeledStatement(node) {
+ this.visit(node.body);
+ }
+
+ ForStatement(node) {
+ // Create ForStatement declaration.
+ // NOTE: In ES6, ForStatement dynamically generates
+ // per iteration environment. However, escope is
+ // a static analyzer, we only generate one scope for ForStatement.
+ if (node.init && node.init.type === Syntax.VariableDeclaration && node.init.kind !== 'var') {
+ this.scopeManager.__nestForScope(node);
+ }
+
+ this.visitChildren(node);
+
+ this.close(node);
+ }
+
+ ClassExpression(node) {
+ this.visitClass(node);
+ }
+
+ ClassDeclaration(node) {
+ this.visitClass(node);
+ }
+
+ CallExpression(node) {
+ // Check this is direct call to eval
+ if (!this.scopeManager.__ignoreEval() && node.callee.type === Syntax.Identifier && node.callee.name === 'eval') {
+ // NOTE: This should be `variableScope`. Since direct eval call always creates Lexical environment and
+ // let / const should be enclosed into it. Only VariableDeclaration affects on the caller's environment.
+ this.currentScope().variableScope.__detectEval();
+ }
+ this.visitChildren(node);
+ }
+
+ BlockStatement(node) {
+ if (this.scopeManager.__isES6()) {
+ this.scopeManager.__nestBlockScope(node);
+ }
+
+ this.visitChildren(node);
+
+ this.close(node);
+ }
+
+ ThisExpression() {
+ this.currentScope().variableScope.__detectThis();
+ }
+
+ WithStatement(node) {
+ this.visit(node.object);
+ // Then nest scope for WithStatement.
+ this.scopeManager.__nestWithScope(node);
+
+ this.visit(node.body);
+
+ this.close(node);
+ }
+
+ VariableDeclaration(node) {
+ var variableTargetScope, i, iz, decl;
+ variableTargetScope = (node.kind === 'var') ? this.currentScope().variableScope : this.currentScope();
+ for (i = 0, iz = node.declarations.length; i < iz; ++i) {
+ decl = node.declarations[i];
+ this.visitVariableDeclaration(variableTargetScope, Variable.Variable, node, i);
+ if (decl.init) {
+ this.visit(decl.init);
+ }
+ }
+ }
+
+ // sec 13.11.8
+ SwitchStatement(node) {
+ var i, iz;
+
+ this.visit(node.discriminant);
+
+ if (this.scopeManager.__isES6()) {
+ this.scopeManager.__nestSwitchScope(node);
+ }
+
+ for (i = 0, iz = node.cases.length; i < iz; ++i) {
+ this.visit(node.cases[i]);
+ }
+
+ this.close(node);
+ }
+
+ FunctionDeclaration(node) {
+ this.visitFunction(node);
+ }
+
+ FunctionExpression(node) {
+ this.visitFunction(node);
+ }
+
+ ForOfStatement(node) {
+ this.visitForIn(node);
+ }
+
+ ForInStatement(node) {
+ this.visitForIn(node);
+ }
+
+ ArrowFunctionExpression(node) {
+ this.visitFunction(node);
+ }
+
+ ImportDeclaration(node) {
+ var importer;
+
+ assert(this.scopeManager.__isES6() && this.scopeManager.isModule(), 'ImportDeclaration should appear when the mode is ES6 and in the module context.');
+
+ importer = new Importer(node, this);
+ importer.visit(node);
+ }
+
+ visitExportDeclaration(node) {
+ if (node.source) {
+ return;
+ }
+ if (node.declaration) {
+ this.visit(node.declaration);
+ return;
+ }
+
+ this.visitChildren(node);
+ }
+
+ ExportDeclaration(node) {
+ this.visitExportDeclaration(node);
+ }
+
+ ExportNamedDeclaration(node) {
+ this.visitExportDeclaration(node);
+ }
+
+ ExportSpecifier(node) {
+ let local = (node.id || node.local);
+ this.visit(local);
+ }
+
+ MetaProperty() {
+ // do nothing.
+ }
+}
+
+/* vim: set sw=4 ts=4 et tw=80 : */
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/escope/src/scope-manager.js b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/escope/src/scope-manager.js
new file mode 100644
index 0000000..024535d
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/escope/src/scope-manager.js
@@ -0,0 +1,245 @@
+/*
+ Copyright (C) 2015 Yusuke Suzuki
+
+ Redistribution and use in source and binary forms, with or without
+ modification, are permitted provided that the following conditions are met:
+
+ * Redistributions of source code must retain the above copyright
+ notice, this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright
+ notice, this list of conditions and the following disclaimer in the
+ documentation and/or other materials provided with the distribution.
+
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ ARE DISCLAIMED. IN NO EVENT SHALL BE LIABLE FOR ANY
+ DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
+ (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
+ ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
+ THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+*/
+
+import WeakMap from 'es6-weak-map';
+import Scope from './scope';
+import assert from 'assert';
+
+import {
+ GlobalScope,
+ CatchScope,
+ WithScope,
+ ModuleScope,
+ ClassScope,
+ SwitchScope,
+ FunctionScope,
+ ForScope,
+ TDZScope,
+ FunctionExpressionNameScope,
+ BlockScope
+} from './scope';
+
+/**
+ * @class ScopeManager
+ */
+export default class ScopeManager {
+ constructor(options) {
+ this.scopes = [];
+ this.globalScope = null;
+ this.__nodeToScope = new WeakMap();
+ this.__currentScope = null;
+ this.__options = options;
+ this.__declaredVariables = new WeakMap();
+ }
+
+ __useDirective() {
+ return this.__options.directive;
+ }
+
+ __isOptimistic() {
+ return this.__options.optimistic;
+ }
+
+ __ignoreEval() {
+ return this.__options.ignoreEval;
+ }
+
+ __isNodejsScope() {
+ return this.__options.nodejsScope;
+ }
+
+ isModule() {
+ return this.__options.sourceType === 'module';
+ }
+
+ isImpliedStrict() {
+ return this.__options.impliedStrict;
+ }
+
+ isStrictModeSupported() {
+ return this.__options.ecmaVersion >= 5;
+ }
+
+ // Returns appropriate scope for this node.
+ __get(node) {
+ return this.__nodeToScope.get(node);
+ }
+
+ /**
+ * Get variables that are declared by the node.
+ *
+ * "are declared by the node" means the node is same as `Variable.defs[].node` or `Variable.defs[].parent`.
+ * If the node declares nothing, this method returns an empty array.
+ * CAUTION: This API is experimental. See https://github.com/estools/escope/pull/69 for more details.
+ *
+ * @param {Esprima.Node} node - a node to get.
+ * @returns {Variable[]} variables that declared by the node.
+ */
+ getDeclaredVariables(node) {
+ return this.__declaredVariables.get(node) || [];
+ }
+
+ /**
+ * acquire scope from node.
+ * @method ScopeManager#acquire
+ * @param {Esprima.Node} node - node for the acquired scope.
+ * @param {boolean=} inner - look up the most inner scope, default value is false.
+ * @return {Scope?}
+ */
+ acquire(node, inner) {
+ var scopes, scope, i, iz;
+
+ function predicate(scope) {
+ if (scope.type === 'function' && scope.functionExpressionScope) {
+ return false;
+ }
+ if (scope.type === 'TDZ') {
+ return false;
+ }
+ return true;
+ }
+
+ scopes = this.__get(node);
+ if (!scopes || scopes.length === 0) {
+ return null;
+ }
+
+ // Heuristic selection from all scopes.
+ // If you would like to get all scopes, please use ScopeManager#acquireAll.
+ if (scopes.length === 1) {
+ return scopes[0];
+ }
+
+ if (inner) {
+ for (i = scopes.length - 1; i >= 0; --i) {
+ scope = scopes[i];
+ if (predicate(scope)) {
+ return scope;
+ }
+ }
+ } else {
+ for (i = 0, iz = scopes.length; i < iz; ++i) {
+ scope = scopes[i];
+ if (predicate(scope)) {
+ return scope;
+ }
+ }
+ }
+
+ return null;
+ }
+
+ /**
+ * acquire all scopes from node.
+ * @method ScopeManager#acquireAll
+ * @param {Esprima.Node} node - node for the acquired scope.
+ * @return {Scope[]?}
+ */
+ acquireAll(node) {
+ return this.__get(node);
+ }
+
+ /**
+ * release the node.
+ * @method ScopeManager#release
+ * @param {Esprima.Node} node - releasing node.
+ * @param {boolean=} inner - look up the most inner scope, default value is false.
+ * @return {Scope?} upper scope for the node.
+ */
+ release(node, inner) {
+ var scopes, scope;
+ scopes = this.__get(node);
+ if (scopes && scopes.length) {
+ scope = scopes[0].upper;
+ if (!scope) {
+ return null;
+ }
+ return this.acquire(scope.block, inner);
+ }
+ return null;
+ }
+
+ attach() { }
+
+ detach() { }
+
+ __nestScope(scope) {
+ if (scope instanceof GlobalScope) {
+ assert(this.__currentScope === null);
+ this.globalScope = scope;
+ }
+ this.__currentScope = scope;
+ return scope;
+ }
+
+ __nestGlobalScope(node) {
+ return this.__nestScope(new GlobalScope(this, node));
+ }
+
+ __nestBlockScope(node, isMethodDefinition) {
+ return this.__nestScope(new BlockScope(this, this.__currentScope, node));
+ }
+
+ __nestFunctionScope(node, isMethodDefinition) {
+ return this.__nestScope(new FunctionScope(this, this.__currentScope, node, isMethodDefinition));
+ }
+
+ __nestForScope(node) {
+ return this.__nestScope(new ForScope(this, this.__currentScope, node));
+ }
+
+ __nestCatchScope(node) {
+ return this.__nestScope(new CatchScope(this, this.__currentScope, node));
+ }
+
+ __nestWithScope(node) {
+ return this.__nestScope(new WithScope(this, this.__currentScope, node));
+ }
+
+ __nestClassScope(node) {
+ return this.__nestScope(new ClassScope(this, this.__currentScope, node));
+ }
+
+ __nestSwitchScope(node) {
+ return this.__nestScope(new SwitchScope(this, this.__currentScope, node));
+ }
+
+ __nestModuleScope(node) {
+ return this.__nestScope(new ModuleScope(this, this.__currentScope, node));
+ }
+
+ __nestTDZScope(node) {
+ return this.__nestScope(new TDZScope(this, this.__currentScope, node));
+ }
+
+ __nestFunctionExpressionNameScope(node) {
+ return this.__nestScope(new FunctionExpressionNameScope(this, this.__currentScope, node));
+ }
+
+ __isES6() {
+ return this.__options.ecmaVersion >= 6;
+ }
+}
+
+/* vim: set sw=4 ts=4 et tw=80 : */
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/escope/src/scope.js b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/escope/src/scope.js
new file mode 100644
index 0000000..0e4d8c2
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/escope/src/scope.js
@@ -0,0 +1,647 @@
+/*
+ Copyright (C) 2015 Yusuke Suzuki
+
+ Redistribution and use in source and binary forms, with or without
+ modification, are permitted provided that the following conditions are met:
+
+ * Redistributions of source code must retain the above copyright
+ notice, this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright
+ notice, this list of conditions and the following disclaimer in the
+ documentation and/or other materials provided with the distribution.
+
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ ARE DISCLAIMED. IN NO EVENT SHALL BE LIABLE FOR ANY
+ DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
+ (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
+ ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
+ THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+*/
+
+import { Syntax } from 'estraverse';
+import Map from 'es6-map';
+
+import Reference from './reference';
+import Variable from './variable';
+import Definition from './definition';
+import assert from 'assert';
+
+function isStrictScope(scope, block, isMethodDefinition, useDirective) {
+ var body, i, iz, stmt, expr;
+
+ // When upper scope is exists and strict, inner scope is also strict.
+ if (scope.upper && scope.upper.isStrict) {
+ return true;
+ }
+
+ // ArrowFunctionExpression's scope is always strict scope.
+ if (block.type === Syntax.ArrowFunctionExpression) {
+ return true;
+ }
+
+ if (isMethodDefinition) {
+ return true;
+ }
+
+ if (scope.type === 'class' || scope.type === 'module') {
+ return true;
+ }
+
+ if (scope.type === 'block' || scope.type === 'switch') {
+ return false;
+ }
+
+ if (scope.type === 'function') {
+ if (block.type === Syntax.Program) {
+ body = block;
+ } else {
+ body = block.body;
+ }
+ } else if (scope.type === 'global') {
+ body = block;
+ } else {
+ return false;
+ }
+
+ // Search 'use strict' directive.
+ if (useDirective) {
+ for (i = 0, iz = body.body.length; i < iz; ++i) {
+ stmt = body.body[i];
+ if (stmt.type !== Syntax.DirectiveStatement) {
+ break;
+ }
+ if (stmt.raw === '"use strict"' || stmt.raw === '\'use strict\'') {
+ return true;
+ }
+ }
+ } else {
+ for (i = 0, iz = body.body.length; i < iz; ++i) {
+ stmt = body.body[i];
+ if (stmt.type !== Syntax.ExpressionStatement) {
+ break;
+ }
+ expr = stmt.expression;
+ if (expr.type !== Syntax.Literal || typeof expr.value !== 'string') {
+ break;
+ }
+ if (expr.raw != null) {
+ if (expr.raw === '"use strict"' || expr.raw === '\'use strict\'') {
+ return true;
+ }
+ } else {
+ if (expr.value === 'use strict') {
+ return true;
+ }
+ }
+ }
+ }
+ return false;
+}
+
+function registerScope(scopeManager, scope) {
+ var scopes;
+
+ scopeManager.scopes.push(scope);
+
+ scopes = scopeManager.__nodeToScope.get(scope.block);
+ if (scopes) {
+ scopes.push(scope);
+ } else {
+ scopeManager.__nodeToScope.set(scope.block, [ scope ]);
+ }
+}
+
+function shouldBeStatically(def) {
+ return (
+ (def.type === Variable.ClassName) ||
+ (def.type === Variable.Variable && def.parent.kind !== 'var')
+ );
+}
+
+/**
+ * @class Scope
+ */
+export default class Scope {
+ constructor(scopeManager, type, upperScope, block, isMethodDefinition) {
+ /**
+ * One of 'TDZ', 'module', 'block', 'switch', 'function', 'catch', 'with', 'function', 'class', 'global'.
+ * @member {String} Scope#type
+ */
+ this.type = type;
+ /**
+ * The scoped {@link Variable}s of this scope, as { Variable.name
+ * : Variable }
.
+ * @member {Map} Scope#set
+ */
+ this.set = new Map();
+ /**
+ * The tainted variables of this scope, as { Variable.name :
+ * boolean }
.
+ * @member {Map} Scope#taints */
+ this.taints = new Map();
+ /**
+ * Generally, through the lexical scoping of JS you can always know
+ * which variable an identifier in the source code refers to. There are
+ * a few exceptions to this rule. With 'global' and 'with' scopes you
+ * can only decide at runtime which variable a reference refers to.
+ * Moreover, if 'eval()' is used in a scope, it might introduce new
+ * bindings in this or its parent scopes.
+ * All those scopes are considered 'dynamic'.
+ * @member {boolean} Scope#dynamic
+ */
+ this.dynamic = this.type === 'global' || this.type === 'with';
+ /**
+ * A reference to the scope-defining syntax node.
+ * @member {esprima.Node} Scope#block
+ */
+ this.block = block;
+ /**
+ * The {@link Reference|references} that are not resolved with this scope.
+ * @member {Reference[]} Scope#through
+ */
+ this.through = [];
+ /**
+ * The scoped {@link Variable}s of this scope. In the case of a
+ * 'function' scope this includes the automatic argument arguments as
+ * its first element, as well as all further formal arguments.
+ * @member {Variable[]} Scope#variables
+ */
+ this.variables = [];
+ /**
+ * Any variable {@link Reference|reference} found in this scope. This
+ * includes occurrences of local variables as well as variables from
+ * parent scopes (including the global scope). For local variables
+ * this also includes defining occurrences (like in a 'var' statement).
+ * In a 'function' scope this does not include the occurrences of the
+ * formal parameter in the parameter list.
+ * @member {Reference[]} Scope#references
+ */
+ this.references = [];
+
+ /**
+ * For 'global' and 'function' scopes, this is a self-reference. For
+ * other scope types this is the variableScope value of the
+ * parent scope.
+ * @member {Scope} Scope#variableScope
+ */
+ this.variableScope =
+ (this.type === 'global' || this.type === 'function' || this.type === 'module') ? this : upperScope.variableScope;
+ /**
+ * Whether this scope is created by a FunctionExpression.
+ * @member {boolean} Scope#functionExpressionScope
+ */
+ this.functionExpressionScope = false;
+ /**
+ * Whether this is a scope that contains an 'eval()' invocation.
+ * @member {boolean} Scope#directCallToEvalScope
+ */
+ this.directCallToEvalScope = false;
+ /**
+ * @member {boolean} Scope#thisFound
+ */
+ this.thisFound = false;
+
+ this.__left = [];
+
+ /**
+ * Reference to the parent {@link Scope|scope}.
+ * @member {Scope} Scope#upper
+ */
+ this.upper = upperScope;
+ /**
+ * Whether 'use strict' is in effect in this scope.
+ * @member {boolean} Scope#isStrict
+ */
+ this.isStrict = isStrictScope(this, block, isMethodDefinition, scopeManager.__useDirective());
+
+ /**
+ * List of nested {@link Scope}s.
+ * @member {Scope[]} Scope#childScopes
+ */
+ this.childScopes = [];
+ if (this.upper) {
+ this.upper.childScopes.push(this);
+ }
+
+ this.__declaredVariables = scopeManager.__declaredVariables;
+
+ registerScope(scopeManager, this);
+ }
+
+ __shouldStaticallyClose(scopeManager) {
+ return (!this.dynamic || scopeManager.__isOptimistic());
+ }
+
+ __shouldStaticallyCloseForGlobal(ref) {
+ // On global scope, let/const/class declarations should be resolved statically.
+ var name = ref.identifier.name;
+ if (!this.set.has(name)) {
+ return false;
+ }
+
+ var variable = this.set.get(name);
+ var defs = variable.defs;
+ return defs.length > 0 && defs.every(shouldBeStatically);
+ }
+
+ __staticCloseRef(ref) {
+ if (!this.__resolve(ref)) {
+ this.__delegateToUpperScope(ref);
+ }
+ }
+
+ __dynamicCloseRef(ref) {
+ // notify all names are through to global
+ let current = this;
+ do {
+ current.through.push(ref);
+ current = current.upper;
+ } while (current);
+ }
+
+ __globalCloseRef(ref) {
+ // let/const/class declarations should be resolved statically.
+ // others should be resolved dynamically.
+ if (this.__shouldStaticallyCloseForGlobal(ref)) {
+ this.__staticCloseRef(ref);
+ } else {
+ this.__dynamicCloseRef(ref);
+ }
+ }
+
+ __close(scopeManager) {
+ var closeRef;
+ if (this.__shouldStaticallyClose(scopeManager)) {
+ closeRef = this.__staticCloseRef;
+ } else if (this.type !== 'global') {
+ closeRef = this.__dynamicCloseRef;
+ } else {
+ closeRef = this.__globalCloseRef;
+ }
+
+ // Try Resolving all references in this scope.
+ for (let i = 0, iz = this.__left.length; i < iz; ++i) {
+ let ref = this.__left[i];
+ closeRef.call(this, ref);
+ }
+ this.__left = null;
+
+ return this.upper;
+ }
+
+ __resolve(ref) {
+ var variable, name;
+ name = ref.identifier.name;
+ if (this.set.has(name)) {
+ variable = this.set.get(name);
+ variable.references.push(ref);
+ variable.stack = variable.stack && ref.from.variableScope === this.variableScope;
+ if (ref.tainted) {
+ variable.tainted = true;
+ this.taints.set(variable.name, true);
+ }
+ ref.resolved = variable;
+ return true;
+ }
+ return false;
+ }
+
+ __delegateToUpperScope(ref) {
+ if (this.upper) {
+ this.upper.__left.push(ref);
+ }
+ this.through.push(ref);
+ }
+
+ __addDeclaredVariablesOfNode(variable, node) {
+ if (node == null) {
+ return;
+ }
+
+ var variables = this.__declaredVariables.get(node);
+ if (variables == null) {
+ variables = [];
+ this.__declaredVariables.set(node, variables);
+ }
+ if (variables.indexOf(variable) === -1) {
+ variables.push(variable);
+ }
+ }
+
+ __defineGeneric(name, set, variables, node, def) {
+ var variable;
+
+ variable = set.get(name);
+ if (!variable) {
+ variable = new Variable(name, this);
+ set.set(name, variable);
+ variables.push(variable);
+ }
+
+ if (def) {
+ variable.defs.push(def);
+ if (def.type !== Variable.TDZ) {
+ this.__addDeclaredVariablesOfNode(variable, def.node);
+ this.__addDeclaredVariablesOfNode(variable, def.parent);
+ }
+ }
+ if (node) {
+ variable.identifiers.push(node);
+ }
+ }
+
+ __define(node, def) {
+ if (node && node.type === Syntax.Identifier) {
+ this.__defineGeneric(
+ node.name,
+ this.set,
+ this.variables,
+ node,
+ def);
+ }
+ }
+
+ __referencing(node, assign, writeExpr, maybeImplicitGlobal, partial, init) {
+ // because Array element may be null
+ if (!node || node.type !== Syntax.Identifier) {
+ return;
+ }
+
+ // Specially handle like `this`.
+ if (node.name === 'super') {
+ return;
+ }
+
+ let ref = new Reference(node, this, assign || Reference.READ, writeExpr, maybeImplicitGlobal, !!partial, !!init);
+ this.references.push(ref);
+ this.__left.push(ref);
+ }
+
+ __detectEval() {
+ var current;
+ current = this;
+ this.directCallToEvalScope = true;
+ do {
+ current.dynamic = true;
+ current = current.upper;
+ } while (current);
+ }
+
+ __detectThis() {
+ this.thisFound = true;
+ }
+
+ __isClosed() {
+ return this.__left === null;
+ }
+
+ /**
+ * returns resolved {Reference}
+ * @method Scope#resolve
+ * @param {Esprima.Identifier} ident - identifier to be resolved.
+ * @return {Reference}
+ */
+ resolve(ident) {
+ var ref, i, iz;
+ assert(this.__isClosed(), 'Scope should be closed.');
+ assert(ident.type === Syntax.Identifier, 'Target should be identifier.');
+ for (i = 0, iz = this.references.length; i < iz; ++i) {
+ ref = this.references[i];
+ if (ref.identifier === ident) {
+ return ref;
+ }
+ }
+ return null;
+ }
+
+ /**
+ * returns this scope is static
+ * @method Scope#isStatic
+ * @return {boolean}
+ */
+ isStatic() {
+ return !this.dynamic;
+ }
+
+ /**
+ * returns this scope has materialized arguments
+ * @method Scope#isArgumentsMaterialized
+ * @return {boolean}
+ */
+ isArgumentsMaterialized() {
+ return true;
+ }
+
+ /**
+ * returns this scope has materialized `this` reference
+ * @method Scope#isThisMaterialized
+ * @return {boolean}
+ */
+ isThisMaterialized() {
+ return true;
+ }
+
+ isUsedName(name) {
+ if (this.set.has(name)) {
+ return true;
+ }
+ for (var i = 0, iz = this.through.length; i < iz; ++i) {
+ if (this.through[i].identifier.name === name) {
+ return true;
+ }
+ }
+ return false;
+ }
+}
+
+export class GlobalScope extends Scope {
+ constructor(scopeManager, block) {
+ super(scopeManager, 'global', null, block, false);
+ this.implicit = {
+ set: new Map(),
+ variables: [],
+ /**
+ * List of {@link Reference}s that are left to be resolved (i.e. which
+ * need to be linked to the variable they refer to).
+ * @member {Reference[]} Scope#implicit#left
+ */
+ left: []
+ };
+ }
+
+ __close(scopeManager) {
+ let implicit = [];
+ for (let i = 0, iz = this.__left.length; i < iz; ++i) {
+ let ref = this.__left[i];
+ if (ref.__maybeImplicitGlobal && !this.set.has(ref.identifier.name)) {
+ implicit.push(ref.__maybeImplicitGlobal);
+ }
+ }
+
+ // create an implicit global variable from assignment expression
+ for (let i = 0, iz = implicit.length; i < iz; ++i) {
+ let info = implicit[i];
+ this.__defineImplicit(info.pattern,
+ new Definition(
+ Variable.ImplicitGlobalVariable,
+ info.pattern,
+ info.node,
+ null,
+ null,
+ null
+ ));
+
+ }
+
+ this.implicit.left = this.__left;
+
+ return super.__close(scopeManager);
+ }
+
+ __defineImplicit(node, def) {
+ if (node && node.type === Syntax.Identifier) {
+ this.__defineGeneric(
+ node.name,
+ this.implicit.set,
+ this.implicit.variables,
+ node,
+ def);
+ }
+ }
+}
+
+export class ModuleScope extends Scope {
+ constructor(scopeManager, upperScope, block) {
+ super(scopeManager, 'module', upperScope, block, false);
+ }
+}
+
+export class FunctionExpressionNameScope extends Scope {
+ constructor(scopeManager, upperScope, block) {
+ super(scopeManager, 'function-expression-name', upperScope, block, false);
+ this.__define(block.id,
+ new Definition(
+ Variable.FunctionName,
+ block.id,
+ block,
+ null,
+ null,
+ null
+ ));
+ this.functionExpressionScope = true;
+ }
+}
+
+export class CatchScope extends Scope {
+ constructor(scopeManager, upperScope, block) {
+ super(scopeManager, 'catch', upperScope, block, false);
+ }
+}
+
+export class WithScope extends Scope {
+ constructor(scopeManager, upperScope, block) {
+ super(scopeManager, 'with', upperScope, block, false);
+ }
+
+ __close(scopeManager) {
+ if (this.__shouldStaticallyClose(scopeManager)) {
+ return super.__close(scopeManager);
+ }
+
+ for (let i = 0, iz = this.__left.length; i < iz; ++i) {
+ let ref = this.__left[i];
+ ref.tainted = true;
+ this.__delegateToUpperScope(ref);
+ }
+ this.__left = null;
+
+ return this.upper;
+ }
+}
+
+export class TDZScope extends Scope {
+ constructor(scopeManager, upperScope, block) {
+ super(scopeManager, 'TDZ', upperScope, block, false);
+ }
+}
+
+export class BlockScope extends Scope {
+ constructor(scopeManager, upperScope, block) {
+ super(scopeManager, 'block', upperScope, block, false);
+ }
+}
+
+export class SwitchScope extends Scope {
+ constructor(scopeManager, upperScope, block) {
+ super(scopeManager, 'switch', upperScope, block, false);
+ }
+}
+
+export class FunctionScope extends Scope {
+ constructor(scopeManager, upperScope, block, isMethodDefinition) {
+ super(scopeManager, 'function', upperScope, block, isMethodDefinition);
+
+ // section 9.2.13, FunctionDeclarationInstantiation.
+ // NOTE Arrow functions never have an arguments objects.
+ if (this.block.type !== Syntax.ArrowFunctionExpression) {
+ this.__defineArguments();
+ }
+ }
+
+ isArgumentsMaterialized() {
+ // TODO(Constellation)
+ // We can more aggressive on this condition like this.
+ //
+ // function t() {
+ // // arguments of t is always hidden.
+ // function arguments() {
+ // }
+ // }
+ if (this.block.type === Syntax.ArrowFunctionExpression) {
+ return false;
+ }
+
+ if (!this.isStatic()) {
+ return true;
+ }
+
+ let variable = this.set.get('arguments');
+ assert(variable, 'Always have arguments variable.');
+ return variable.tainted || variable.references.length !== 0;
+ }
+
+ isThisMaterialized() {
+ if (!this.isStatic()) {
+ return true;
+ }
+ return this.thisFound;
+ }
+
+ __defineArguments() {
+ this.__defineGeneric(
+ 'arguments',
+ this.set,
+ this.variables,
+ null,
+ null);
+ this.taints.set('arguments', true);
+ }
+}
+
+export class ForScope extends Scope {
+ constructor(scopeManager, upperScope, block) {
+ super(scopeManager, 'for', upperScope, block, false);
+ }
+}
+
+export class ClassScope extends Scope {
+ constructor(scopeManager, upperScope, block) {
+ super(scopeManager, 'class', upperScope, block, false);
+ }
+}
+
+/* vim: set sw=4 ts=4 et tw=80 : */
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/escope/src/variable.js b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/escope/src/variable.js
new file mode 100644
index 0000000..3945b38
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/escope/src/variable.js
@@ -0,0 +1,81 @@
+/*
+ Copyright (C) 2015 Yusuke Suzuki
+
+ Redistribution and use in source and binary forms, with or without
+ modification, are permitted provided that the following conditions are met:
+
+ * Redistributions of source code must retain the above copyright
+ notice, this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright
+ notice, this list of conditions and the following disclaimer in the
+ documentation and/or other materials provided with the distribution.
+
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ ARE DISCLAIMED. IN NO EVENT SHALL BE LIABLE FOR ANY
+ DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
+ (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
+ ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
+ THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+*/
+
+/**
+ * A Variable represents a locally scoped identifier. These include arguments to
+ * functions.
+ * @class Variable
+ */
+export default class Variable {
+ constructor(name, scope) {
+ /**
+ * The variable name, as given in the source code.
+ * @member {String} Variable#name
+ */
+ this.name = name;
+ /**
+ * List of defining occurrences of this variable (like in 'var ...'
+ * statements or as parameter), as AST nodes.
+ * @member {esprima.Identifier[]} Variable#identifiers
+ */
+ this.identifiers = [];
+ /**
+ * List of {@link Reference|references} of this variable (excluding parameter entries)
+ * in its defining scope and all nested scopes. For defining
+ * occurrences only see {@link Variable#defs}.
+ * @member {Reference[]} Variable#references
+ */
+ this.references = [];
+
+ /**
+ * List of defining occurrences of this variable (like in 'var ...'
+ * statements or as parameter), as custom objects.
+ * @member {Definition[]} Variable#defs
+ */
+ this.defs = [];
+
+ this.tainted = false;
+ /**
+ * Whether this is a stack variable.
+ * @member {boolean} Variable#stack
+ */
+ this.stack = true;
+ /**
+ * Reference to the enclosing Scope.
+ * @member {Scope} Variable#scope
+ */
+ this.scope = scope;
+ }
+}
+
+Variable.CatchClause = 'CatchClause';
+Variable.Parameter = 'Parameter';
+Variable.FunctionName = 'FunctionName';
+Variable.ClassName = 'ClassName';
+Variable.Variable = 'Variable';
+Variable.ImportBinding = 'ImportBinding';
+Variable.TDZ = 'TDZ';
+Variable.ImplicitGlobalVariable = 'ImplicitGlobalVariable';
+
+/* vim: set sw=4 ts=4 et tw=80 : */
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/escope/third_party/espree.js b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/escope/third_party/espree.js
new file mode 100644
index 0000000..2f68051
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/escope/third_party/espree.js
@@ -0,0 +1,56 @@
+/*
+ Copyright (C) 2015 Yusuke Suzuki
+
+ Redistribution and use in source and binary forms, with or without
+ modification, are permitted provided that the following conditions are met:
+
+ * Redistributions of source code must retain the above copyright
+ notice, this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright
+ notice, this list of conditions and the following disclaimer in the
+ documentation and/or other materials provided with the distribution.
+
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ ARE DISCLAIMED. IN NO EVENT SHALL BE LIABLE FOR ANY
+ DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
+ (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
+ ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
+ THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+*/
+
+var espree = require('espree');
+
+module.exports = function (code) {
+ return espree.parse(code, {
+
+ // attach range information to each node
+ range: true,
+
+ // attach line/column location information to each node
+ loc: true,
+
+ // create a top-level comments array containing all comments
+ comments: true,
+
+ // attach comments to the closest relevant node as leadingComments and
+ // trailingComments
+ attachComment: true,
+
+ // create a top-level tokens array containing all tokens
+ tokens: true,
+
+ // try to continue parsing if an error is encountered, store errors in a
+ // top-level errors array
+ tolerant: true,
+
+ // enable es6 features.
+ ecmaVersion: 6,
+ sourceType: "module"
+ });
+};
+
+/* vim: set sw=4 ts=4 et tw=80 : */
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/esrecurse/.babelrc b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/esrecurse/.babelrc
new file mode 100644
index 0000000..a0765e1
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/esrecurse/.babelrc
@@ -0,0 +1,3 @@
+{
+ "presets": ["es2015"]
+}
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/esrecurse/README.md b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/esrecurse/README.md
new file mode 100644
index 0000000..ffea6b4
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/esrecurse/README.md
@@ -0,0 +1,171 @@
+### Esrecurse [![Build Status](https://travis-ci.org/estools/esrecurse.svg?branch=master)](https://travis-ci.org/estools/esrecurse)
+
+Esrecurse ([esrecurse](https://github.com/estools/esrecurse)) is
+[ECMAScript](https://www.ecma-international.org/publications/standards/Ecma-262.htm)
+recursive traversing functionality.
+
+### Example Usage
+
+The following code will output all variables declared at the root of a file.
+
+```javascript
+esrecurse.visit(ast, {
+ XXXStatement: function (node) {
+ this.visit(node.left);
+ // do something...
+ this.visit(node.right);
+ }
+});
+```
+
+We can use `Visitor` instance.
+
+```javascript
+var visitor = new esrecurse.Visitor({
+ XXXStatement: function (node) {
+ this.visit(node.left);
+ // do something...
+ this.visit(node.right);
+ }
+});
+
+visitor.visit(ast);
+```
+
+We can inherit `Visitor` instance easily.
+
+```javascript
+class Derived extends esrecurse.Visitor {
+ constructor()
+ {
+ super(null);
+ }
+
+ XXXStatement(node) {
+ }
+}
+```
+
+```javascript
+function DerivedVisitor() {
+ esrecurse.Visitor.call(/* this for constructor */ this /* visitor object automatically becomes this. */);
+}
+util.inherits(DerivedVisitor, esrecurse.Visitor);
+DerivedVisitor.prototype.XXXStatement = function (node) {
+ this.visit(node.left);
+ // do something...
+ this.visit(node.right);
+};
+```
+
+And you can invoke default visiting operation inside custom visit operation.
+
+```javascript
+function DerivedVisitor() {
+ esrecurse.Visitor.call(/* this for constructor */ this /* visitor object automatically becomes this. */);
+}
+util.inherits(DerivedVisitor, esrecurse.Visitor);
+DerivedVisitor.prototype.XXXStatement = function (node) {
+ // do something...
+ this.visitChildren(node);
+};
+```
+
+The `childVisitorKeys` option does customize the behaviour of `this.visitChildren(node)`.
+We can use user-defined node types.
+
+```javascript
+// This tree contains a user-defined `TestExpression` node.
+var tree = {
+ type: 'TestExpression',
+
+ // This 'argument' is the property containing the other **node**.
+ argument: {
+ type: 'Literal',
+ value: 20
+ },
+
+ // This 'extended' is the property not containing the other **node**.
+ extended: true
+};
+esrecurse.visit(
+ ast,
+ {
+ Literal: function (node) {
+ // do something...
+ }
+ },
+ {
+ // Extending the existing traversing rules.
+ childVisitorKeys: {
+ // TargetNodeName: [ 'keys', 'containing', 'the', 'other', '**node**' ]
+ TestExpression: ['argument']
+ }
+ }
+);
+```
+
+We can use the `fallback` option as well.
+If the `fallback` option is `"iteration"`, `esrecurse` would visit all enumerable properties of unknown nodes.
+Please note circular references cause the stack overflow. AST might have circular references in additional properties for some purpose (e.g. `node.parent`).
+
+```javascript
+esrecurse.visit(
+ ast,
+ {
+ Literal: function (node) {
+ // do something...
+ }
+ },
+ {
+ fallback: 'iteration'
+ }
+);
+```
+
+If the `fallback` option is a function, `esrecurse` calls this function to determine the enumerable properties of unknown nodes.
+Please note circular references cause the stack overflow. AST might have circular references in additional properties for some purpose (e.g. `node.parent`).
+
+```javascript
+esrecurse.visit(
+ ast,
+ {
+ Literal: function (node) {
+ // do something...
+ }
+ },
+ {
+ fallback: function (node) {
+ return Object.keys(node).filter(function(key) {
+ return key !== 'argument'
+ });
+ }
+ }
+);
+```
+
+### License
+
+Copyright (C) 2014 [Yusuke Suzuki](https://github.com/Constellation)
+ (twitter: [@Constellation](https://twitter.com/Constellation)) and other contributors.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions are met:
+
+ * Redistributions of source code must retain the above copyright
+ notice, this list of conditions and the following disclaimer.
+
+ * Redistributions in binary form must reproduce the above copyright
+ notice, this list of conditions and the following disclaimer in the
+ documentation and/or other materials provided with the distribution.
+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ARE DISCLAIMED. IN NO EVENT SHALL BE LIABLE FOR ANY
+DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
+(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
+ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
+THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/esrecurse/esrecurse.js b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/esrecurse/esrecurse.js
new file mode 100644
index 0000000..15d57df
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/esrecurse/esrecurse.js
@@ -0,0 +1,117 @@
+/*
+ Copyright (C) 2014 Yusuke Suzuki
+
+ Redistribution and use in source and binary forms, with or without
+ modification, are permitted provided that the following conditions are met:
+
+ * Redistributions of source code must retain the above copyright
+ notice, this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright
+ notice, this list of conditions and the following disclaimer in the
+ documentation and/or other materials provided with the distribution.
+
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ ARE DISCLAIMED. IN NO EVENT SHALL BE LIABLE FOR ANY
+ DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
+ (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
+ ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
+ THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+*/
+(function () {
+ 'use strict';
+
+ var estraverse = require('estraverse');
+
+ function isNode(node) {
+ if (node == null) {
+ return false;
+ }
+ return typeof node === 'object' && typeof node.type === 'string';
+ }
+
+ function isProperty(nodeType, key) {
+ return (nodeType === estraverse.Syntax.ObjectExpression || nodeType === estraverse.Syntax.ObjectPattern) && key === 'properties';
+ }
+
+ function Visitor(visitor, options) {
+ options = options || {};
+
+ this.__visitor = visitor || this;
+ this.__childVisitorKeys = options.childVisitorKeys
+ ? Object.assign({}, estraverse.VisitorKeys, options.childVisitorKeys)
+ : estraverse.VisitorKeys;
+ if (options.fallback === 'iteration') {
+ this.__fallback = Object.keys;
+ } else if (typeof options.fallback === 'function') {
+ this.__fallback = options.fallback;
+ }
+ }
+
+ /* Default method for visiting children.
+ * When you need to call default visiting operation inside custom visiting
+ * operation, you can use it with `this.visitChildren(node)`.
+ */
+ Visitor.prototype.visitChildren = function (node) {
+ var type, children, i, iz, j, jz, child;
+
+ if (node == null) {
+ return;
+ }
+
+ type = node.type || estraverse.Syntax.Property;
+
+ children = this.__childVisitorKeys[type];
+ if (!children) {
+ if (this.__fallback) {
+ children = this.__fallback(node);
+ } else {
+ throw new Error('Unknown node type ' + type + '.');
+ }
+ }
+
+ for (i = 0, iz = children.length; i < iz; ++i) {
+ child = node[children[i]];
+ if (child) {
+ if (Array.isArray(child)) {
+ for (j = 0, jz = child.length; j < jz; ++j) {
+ if (child[j]) {
+ if (isNode(child[j]) || isProperty(type, children[i])) {
+ this.visit(child[j]);
+ }
+ }
+ }
+ } else if (isNode(child)) {
+ this.visit(child);
+ }
+ }
+ }
+ };
+
+ /* Dispatching node. */
+ Visitor.prototype.visit = function (node) {
+ var type;
+
+ if (node == null) {
+ return;
+ }
+
+ type = node.type || estraverse.Syntax.Property;
+ if (this.__visitor[type]) {
+ this.__visitor[type].call(this, node);
+ return;
+ }
+ this.visitChildren(node);
+ };
+
+ exports.version = require('./package.json').version;
+ exports.Visitor = Visitor;
+ exports.visit = function (node, visitor, options) {
+ var v = new Visitor(visitor, options);
+ v.visit(node);
+ };
+}());
+/* vim: set sw=4 ts=4 et tw=80 : */
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/esrecurse/gulpfile.babel.js b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/esrecurse/gulpfile.babel.js
new file mode 100644
index 0000000..aa881c9
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/esrecurse/gulpfile.babel.js
@@ -0,0 +1,92 @@
+// Copyright (C) 2014 Yusuke Suzuki
+//
+// Redistribution and use in source and binary forms, with or without
+// modification, are permitted provided that the following conditions are met:
+//
+// * Redistributions of source code must retain the above copyright
+// notice, this list of conditions and the following disclaimer.
+// * Redistributions in binary form must reproduce the above copyright
+// notice, this list of conditions and the following disclaimer in the
+// documentation and/or other materials provided with the distribution.
+//
+// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+// AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+// ARE DISCLAIMED. IN NO EVENT SHALL BE LIABLE FOR ANY
+// DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
+// (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+// LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
+// ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
+// THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+import gulp from 'gulp';
+import mocha from 'gulp-mocha';
+import eslint from 'gulp-eslint';
+import minimist from 'minimist';
+import git from 'gulp-git';
+import bump from 'gulp-bump';
+import filter from 'gulp-filter';
+import tagVersion from 'gulp-tag-version';
+import 'babel-register';
+
+const SOURCE = [
+ '*.js'
+];
+
+let ESLINT_OPTION = {
+ parser: 'babel-eslint',
+ parserOptions: {
+ 'sourceType': 'module'
+ },
+ rules: {
+ 'quotes': 0,
+ 'eqeqeq': 0,
+ 'no-use-before-define': 0,
+ 'no-shadow': 0,
+ 'no-new': 0,
+ 'no-underscore-dangle': 0,
+ 'no-multi-spaces': 0,
+ 'no-native-reassign': 0,
+ 'no-loop-func': 0
+ },
+ env: {
+ 'node': true
+ }
+};
+
+gulp.task('test', function() {
+ let options = minimist(process.argv.slice(2), {
+ string: 'test',
+ default: {
+ test: 'test/*.js'
+ }
+ }
+ );
+ return gulp.src(options.test).pipe(mocha({reporter: 'spec'}));
+});
+
+gulp.task('lint', () =>
+ gulp.src(SOURCE)
+ .pipe(eslint(ESLINT_OPTION))
+ .pipe(eslint.formatEach('stylish', process.stderr))
+ .pipe(eslint.failOnError())
+);
+
+let inc = importance =>
+ gulp.src(['./package.json'])
+ .pipe(bump({type: importance}))
+ .pipe(gulp.dest('./'))
+ .pipe(git.commit('Bumps package version'))
+ .pipe(filter('package.json'))
+ .pipe(tagVersion({
+ prefix: ''
+ }))
+;
+
+gulp.task('travis', [ 'lint', 'test' ]);
+gulp.task('default', [ 'travis' ]);
+
+gulp.task('patch', [ ], () => inc('patch'));
+gulp.task('minor', [ ], () => inc('minor'));
+gulp.task('major', [ ], () => inc('major'));
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/esrecurse/node_modules/estraverse/.jshintrc b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/esrecurse/node_modules/estraverse/.jshintrc
new file mode 100644
index 0000000..f642dae
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/esrecurse/node_modules/estraverse/.jshintrc
@@ -0,0 +1,16 @@
+{
+ "curly": true,
+ "eqeqeq": true,
+ "immed": true,
+ "eqnull": true,
+ "latedef": true,
+ "noarg": true,
+ "noempty": true,
+ "quotmark": "single",
+ "undef": true,
+ "unused": true,
+ "strict": true,
+ "trailing": true,
+
+ "node": true
+}
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/esrecurse/node_modules/estraverse/LICENSE.BSD b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/esrecurse/node_modules/estraverse/LICENSE.BSD
new file mode 100644
index 0000000..3e580c3
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/esrecurse/node_modules/estraverse/LICENSE.BSD
@@ -0,0 +1,19 @@
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions are met:
+
+ * Redistributions of source code must retain the above copyright
+ notice, this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright
+ notice, this list of conditions and the following disclaimer in the
+ documentation and/or other materials provided with the distribution.
+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ARE DISCLAIMED. IN NO EVENT SHALL BE LIABLE FOR ANY
+DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
+(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
+ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
+THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/esrecurse/node_modules/estraverse/README.md b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/esrecurse/node_modules/estraverse/README.md
new file mode 100644
index 0000000..ccd3377
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/esrecurse/node_modules/estraverse/README.md
@@ -0,0 +1,153 @@
+### Estraverse [![Build Status](https://secure.travis-ci.org/estools/estraverse.svg)](http://travis-ci.org/estools/estraverse)
+
+Estraverse ([estraverse](http://github.com/estools/estraverse)) is
+[ECMAScript](http://www.ecma-international.org/publications/standards/Ecma-262.htm)
+traversal functions from [esmangle project](http://github.com/estools/esmangle).
+
+### Documentation
+
+You can find usage docs at [wiki page](https://github.com/estools/estraverse/wiki/Usage).
+
+### Example Usage
+
+The following code will output all variables declared at the root of a file.
+
+```javascript
+estraverse.traverse(ast, {
+ enter: function (node, parent) {
+ if (node.type == 'FunctionExpression' || node.type == 'FunctionDeclaration')
+ return estraverse.VisitorOption.Skip;
+ },
+ leave: function (node, parent) {
+ if (node.type == 'VariableDeclarator')
+ console.log(node.id.name);
+ }
+});
+```
+
+We can use `this.skip`, `this.remove` and `this.break` functions instead of using Skip, Remove and Break.
+
+```javascript
+estraverse.traverse(ast, {
+ enter: function (node) {
+ this.break();
+ }
+});
+```
+
+And estraverse provides `estraverse.replace` function. When returning node from `enter`/`leave`, current node is replaced with it.
+
+```javascript
+result = estraverse.replace(tree, {
+ enter: function (node) {
+ // Replace it with replaced.
+ if (node.type === 'Literal')
+ return replaced;
+ }
+});
+```
+
+By passing `visitor.keys` mapping, we can extend estraverse traversing functionality.
+
+```javascript
+// This tree contains a user-defined `TestExpression` node.
+var tree = {
+ type: 'TestExpression',
+
+ // This 'argument' is the property containing the other **node**.
+ argument: {
+ type: 'Literal',
+ value: 20
+ },
+
+ // This 'extended' is the property not containing the other **node**.
+ extended: true
+};
+estraverse.traverse(tree, {
+ enter: function (node) { },
+
+ // Extending the existing traversing rules.
+ keys: {
+ // TargetNodeName: [ 'keys', 'containing', 'the', 'other', '**node**' ]
+ TestExpression: ['argument']
+ }
+});
+```
+
+By passing `visitor.fallback` option, we can control the behavior when encountering unknown nodes.
+
+```javascript
+// This tree contains a user-defined `TestExpression` node.
+var tree = {
+ type: 'TestExpression',
+
+ // This 'argument' is the property containing the other **node**.
+ argument: {
+ type: 'Literal',
+ value: 20
+ },
+
+ // This 'extended' is the property not containing the other **node**.
+ extended: true
+};
+estraverse.traverse(tree, {
+ enter: function (node) { },
+
+ // Iterating the child **nodes** of unknown nodes.
+ fallback: 'iteration'
+});
+```
+
+When `visitor.fallback` is a function, we can determine which keys to visit on each node.
+
+```javascript
+// This tree contains a user-defined `TestExpression` node.
+var tree = {
+ type: 'TestExpression',
+
+ // This 'argument' is the property containing the other **node**.
+ argument: {
+ type: 'Literal',
+ value: 20
+ },
+
+ // This 'extended' is the property not containing the other **node**.
+ extended: true
+};
+estraverse.traverse(tree, {
+ enter: function (node) { },
+
+ // Skip the `argument` property of each node
+ fallback: function(node) {
+ return Object.keys(node).filter(function(key) {
+ return key !== 'argument';
+ });
+ }
+});
+```
+
+### License
+
+Copyright (C) 2012-2016 [Yusuke Suzuki](http://github.com/Constellation)
+ (twitter: [@Constellation](http://twitter.com/Constellation)) and other contributors.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions are met:
+
+ * Redistributions of source code must retain the above copyright
+ notice, this list of conditions and the following disclaimer.
+
+ * Redistributions in binary form must reproduce the above copyright
+ notice, this list of conditions and the following disclaimer in the
+ documentation and/or other materials provided with the distribution.
+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ARE DISCLAIMED. IN NO EVENT SHALL BE LIABLE FOR ANY
+DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
+(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
+ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
+THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/esrecurse/node_modules/estraverse/estraverse.js b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/esrecurse/node_modules/estraverse/estraverse.js
new file mode 100644
index 0000000..f0d9af9
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/esrecurse/node_modules/estraverse/estraverse.js
@@ -0,0 +1,805 @@
+/*
+ Copyright (C) 2012-2013 Yusuke Suzuki
+ Copyright (C) 2012 Ariya Hidayat
+
+ Redistribution and use in source and binary forms, with or without
+ modification, are permitted provided that the following conditions are met:
+
+ * Redistributions of source code must retain the above copyright
+ notice, this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright
+ notice, this list of conditions and the following disclaimer in the
+ documentation and/or other materials provided with the distribution.
+
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ ARE DISCLAIMED. IN NO EVENT SHALL BE LIABLE FOR ANY
+ DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
+ (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
+ ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
+ THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+*/
+/*jslint vars:false, bitwise:true*/
+/*jshint indent:4*/
+/*global exports:true*/
+(function clone(exports) {
+ 'use strict';
+
+ var Syntax,
+ VisitorOption,
+ VisitorKeys,
+ BREAK,
+ SKIP,
+ REMOVE;
+
+ function deepCopy(obj) {
+ var ret = {}, key, val;
+ for (key in obj) {
+ if (obj.hasOwnProperty(key)) {
+ val = obj[key];
+ if (typeof val === 'object' && val !== null) {
+ ret[key] = deepCopy(val);
+ } else {
+ ret[key] = val;
+ }
+ }
+ }
+ return ret;
+ }
+
+ // based on LLVM libc++ upper_bound / lower_bound
+ // MIT License
+
+ function upperBound(array, func) {
+ var diff, len, i, current;
+
+ len = array.length;
+ i = 0;
+
+ while (len) {
+ diff = len >>> 1;
+ current = i + diff;
+ if (func(array[current])) {
+ len = diff;
+ } else {
+ i = current + 1;
+ len -= diff + 1;
+ }
+ }
+ return i;
+ }
+
+ Syntax = {
+ AssignmentExpression: 'AssignmentExpression',
+ AssignmentPattern: 'AssignmentPattern',
+ ArrayExpression: 'ArrayExpression',
+ ArrayPattern: 'ArrayPattern',
+ ArrowFunctionExpression: 'ArrowFunctionExpression',
+ AwaitExpression: 'AwaitExpression', // CAUTION: It's deferred to ES7.
+ BlockStatement: 'BlockStatement',
+ BinaryExpression: 'BinaryExpression',
+ BreakStatement: 'BreakStatement',
+ CallExpression: 'CallExpression',
+ CatchClause: 'CatchClause',
+ ChainExpression: 'ChainExpression',
+ ClassBody: 'ClassBody',
+ ClassDeclaration: 'ClassDeclaration',
+ ClassExpression: 'ClassExpression',
+ ComprehensionBlock: 'ComprehensionBlock', // CAUTION: It's deferred to ES7.
+ ComprehensionExpression: 'ComprehensionExpression', // CAUTION: It's deferred to ES7.
+ ConditionalExpression: 'ConditionalExpression',
+ ContinueStatement: 'ContinueStatement',
+ DebuggerStatement: 'DebuggerStatement',
+ DirectiveStatement: 'DirectiveStatement',
+ DoWhileStatement: 'DoWhileStatement',
+ EmptyStatement: 'EmptyStatement',
+ ExportAllDeclaration: 'ExportAllDeclaration',
+ ExportDefaultDeclaration: 'ExportDefaultDeclaration',
+ ExportNamedDeclaration: 'ExportNamedDeclaration',
+ ExportSpecifier: 'ExportSpecifier',
+ ExpressionStatement: 'ExpressionStatement',
+ ForStatement: 'ForStatement',
+ ForInStatement: 'ForInStatement',
+ ForOfStatement: 'ForOfStatement',
+ FunctionDeclaration: 'FunctionDeclaration',
+ FunctionExpression: 'FunctionExpression',
+ GeneratorExpression: 'GeneratorExpression', // CAUTION: It's deferred to ES7.
+ Identifier: 'Identifier',
+ IfStatement: 'IfStatement',
+ ImportExpression: 'ImportExpression',
+ ImportDeclaration: 'ImportDeclaration',
+ ImportDefaultSpecifier: 'ImportDefaultSpecifier',
+ ImportNamespaceSpecifier: 'ImportNamespaceSpecifier',
+ ImportSpecifier: 'ImportSpecifier',
+ Literal: 'Literal',
+ LabeledStatement: 'LabeledStatement',
+ LogicalExpression: 'LogicalExpression',
+ MemberExpression: 'MemberExpression',
+ MetaProperty: 'MetaProperty',
+ MethodDefinition: 'MethodDefinition',
+ ModuleSpecifier: 'ModuleSpecifier',
+ NewExpression: 'NewExpression',
+ ObjectExpression: 'ObjectExpression',
+ ObjectPattern: 'ObjectPattern',
+ PrivateIdentifier: 'PrivateIdentifier',
+ Program: 'Program',
+ Property: 'Property',
+ PropertyDefinition: 'PropertyDefinition',
+ RestElement: 'RestElement',
+ ReturnStatement: 'ReturnStatement',
+ SequenceExpression: 'SequenceExpression',
+ SpreadElement: 'SpreadElement',
+ Super: 'Super',
+ SwitchStatement: 'SwitchStatement',
+ SwitchCase: 'SwitchCase',
+ TaggedTemplateExpression: 'TaggedTemplateExpression',
+ TemplateElement: 'TemplateElement',
+ TemplateLiteral: 'TemplateLiteral',
+ ThisExpression: 'ThisExpression',
+ ThrowStatement: 'ThrowStatement',
+ TryStatement: 'TryStatement',
+ UnaryExpression: 'UnaryExpression',
+ UpdateExpression: 'UpdateExpression',
+ VariableDeclaration: 'VariableDeclaration',
+ VariableDeclarator: 'VariableDeclarator',
+ WhileStatement: 'WhileStatement',
+ WithStatement: 'WithStatement',
+ YieldExpression: 'YieldExpression'
+ };
+
+ VisitorKeys = {
+ AssignmentExpression: ['left', 'right'],
+ AssignmentPattern: ['left', 'right'],
+ ArrayExpression: ['elements'],
+ ArrayPattern: ['elements'],
+ ArrowFunctionExpression: ['params', 'body'],
+ AwaitExpression: ['argument'], // CAUTION: It's deferred to ES7.
+ BlockStatement: ['body'],
+ BinaryExpression: ['left', 'right'],
+ BreakStatement: ['label'],
+ CallExpression: ['callee', 'arguments'],
+ CatchClause: ['param', 'body'],
+ ChainExpression: ['expression'],
+ ClassBody: ['body'],
+ ClassDeclaration: ['id', 'superClass', 'body'],
+ ClassExpression: ['id', 'superClass', 'body'],
+ ComprehensionBlock: ['left', 'right'], // CAUTION: It's deferred to ES7.
+ ComprehensionExpression: ['blocks', 'filter', 'body'], // CAUTION: It's deferred to ES7.
+ ConditionalExpression: ['test', 'consequent', 'alternate'],
+ ContinueStatement: ['label'],
+ DebuggerStatement: [],
+ DirectiveStatement: [],
+ DoWhileStatement: ['body', 'test'],
+ EmptyStatement: [],
+ ExportAllDeclaration: ['source'],
+ ExportDefaultDeclaration: ['declaration'],
+ ExportNamedDeclaration: ['declaration', 'specifiers', 'source'],
+ ExportSpecifier: ['exported', 'local'],
+ ExpressionStatement: ['expression'],
+ ForStatement: ['init', 'test', 'update', 'body'],
+ ForInStatement: ['left', 'right', 'body'],
+ ForOfStatement: ['left', 'right', 'body'],
+ FunctionDeclaration: ['id', 'params', 'body'],
+ FunctionExpression: ['id', 'params', 'body'],
+ GeneratorExpression: ['blocks', 'filter', 'body'], // CAUTION: It's deferred to ES7.
+ Identifier: [],
+ IfStatement: ['test', 'consequent', 'alternate'],
+ ImportExpression: ['source'],
+ ImportDeclaration: ['specifiers', 'source'],
+ ImportDefaultSpecifier: ['local'],
+ ImportNamespaceSpecifier: ['local'],
+ ImportSpecifier: ['imported', 'local'],
+ Literal: [],
+ LabeledStatement: ['label', 'body'],
+ LogicalExpression: ['left', 'right'],
+ MemberExpression: ['object', 'property'],
+ MetaProperty: ['meta', 'property'],
+ MethodDefinition: ['key', 'value'],
+ ModuleSpecifier: [],
+ NewExpression: ['callee', 'arguments'],
+ ObjectExpression: ['properties'],
+ ObjectPattern: ['properties'],
+ PrivateIdentifier: [],
+ Program: ['body'],
+ Property: ['key', 'value'],
+ PropertyDefinition: ['key', 'value'],
+ RestElement: [ 'argument' ],
+ ReturnStatement: ['argument'],
+ SequenceExpression: ['expressions'],
+ SpreadElement: ['argument'],
+ Super: [],
+ SwitchStatement: ['discriminant', 'cases'],
+ SwitchCase: ['test', 'consequent'],
+ TaggedTemplateExpression: ['tag', 'quasi'],
+ TemplateElement: [],
+ TemplateLiteral: ['quasis', 'expressions'],
+ ThisExpression: [],
+ ThrowStatement: ['argument'],
+ TryStatement: ['block', 'handler', 'finalizer'],
+ UnaryExpression: ['argument'],
+ UpdateExpression: ['argument'],
+ VariableDeclaration: ['declarations'],
+ VariableDeclarator: ['id', 'init'],
+ WhileStatement: ['test', 'body'],
+ WithStatement: ['object', 'body'],
+ YieldExpression: ['argument']
+ };
+
+ // unique id
+ BREAK = {};
+ SKIP = {};
+ REMOVE = {};
+
+ VisitorOption = {
+ Break: BREAK,
+ Skip: SKIP,
+ Remove: REMOVE
+ };
+
+ function Reference(parent, key) {
+ this.parent = parent;
+ this.key = key;
+ }
+
+ Reference.prototype.replace = function replace(node) {
+ this.parent[this.key] = node;
+ };
+
+ Reference.prototype.remove = function remove() {
+ if (Array.isArray(this.parent)) {
+ this.parent.splice(this.key, 1);
+ return true;
+ } else {
+ this.replace(null);
+ return false;
+ }
+ };
+
+ function Element(node, path, wrap, ref) {
+ this.node = node;
+ this.path = path;
+ this.wrap = wrap;
+ this.ref = ref;
+ }
+
+ function Controller() { }
+
+ // API:
+ // return property path array from root to current node
+ Controller.prototype.path = function path() {
+ var i, iz, j, jz, result, element;
+
+ function addToPath(result, path) {
+ if (Array.isArray(path)) {
+ for (j = 0, jz = path.length; j < jz; ++j) {
+ result.push(path[j]);
+ }
+ } else {
+ result.push(path);
+ }
+ }
+
+ // root node
+ if (!this.__current.path) {
+ return null;
+ }
+
+ // first node is sentinel, second node is root element
+ result = [];
+ for (i = 2, iz = this.__leavelist.length; i < iz; ++i) {
+ element = this.__leavelist[i];
+ addToPath(result, element.path);
+ }
+ addToPath(result, this.__current.path);
+ return result;
+ };
+
+ // API:
+ // return type of current node
+ Controller.prototype.type = function () {
+ var node = this.current();
+ return node.type || this.__current.wrap;
+ };
+
+ // API:
+ // return array of parent elements
+ Controller.prototype.parents = function parents() {
+ var i, iz, result;
+
+ // first node is sentinel
+ result = [];
+ for (i = 1, iz = this.__leavelist.length; i < iz; ++i) {
+ result.push(this.__leavelist[i].node);
+ }
+
+ return result;
+ };
+
+ // API:
+ // return current node
+ Controller.prototype.current = function current() {
+ return this.__current.node;
+ };
+
+ Controller.prototype.__execute = function __execute(callback, element) {
+ var previous, result;
+
+ result = undefined;
+
+ previous = this.__current;
+ this.__current = element;
+ this.__state = null;
+ if (callback) {
+ result = callback.call(this, element.node, this.__leavelist[this.__leavelist.length - 1].node);
+ }
+ this.__current = previous;
+
+ return result;
+ };
+
+ // API:
+ // notify control skip / break
+ Controller.prototype.notify = function notify(flag) {
+ this.__state = flag;
+ };
+
+ // API:
+ // skip child nodes of current node
+ Controller.prototype.skip = function () {
+ this.notify(SKIP);
+ };
+
+ // API:
+ // break traversals
+ Controller.prototype['break'] = function () {
+ this.notify(BREAK);
+ };
+
+ // API:
+ // remove node
+ Controller.prototype.remove = function () {
+ this.notify(REMOVE);
+ };
+
+ Controller.prototype.__initialize = function(root, visitor) {
+ this.visitor = visitor;
+ this.root = root;
+ this.__worklist = [];
+ this.__leavelist = [];
+ this.__current = null;
+ this.__state = null;
+ this.__fallback = null;
+ if (visitor.fallback === 'iteration') {
+ this.__fallback = Object.keys;
+ } else if (typeof visitor.fallback === 'function') {
+ this.__fallback = visitor.fallback;
+ }
+
+ this.__keys = VisitorKeys;
+ if (visitor.keys) {
+ this.__keys = Object.assign(Object.create(this.__keys), visitor.keys);
+ }
+ };
+
+ function isNode(node) {
+ if (node == null) {
+ return false;
+ }
+ return typeof node === 'object' && typeof node.type === 'string';
+ }
+
+ function isProperty(nodeType, key) {
+ return (nodeType === Syntax.ObjectExpression || nodeType === Syntax.ObjectPattern) && 'properties' === key;
+ }
+
+ function candidateExistsInLeaveList(leavelist, candidate) {
+ for (var i = leavelist.length - 1; i >= 0; --i) {
+ if (leavelist[i].node === candidate) {
+ return true;
+ }
+ }
+ return false;
+ }
+
+ Controller.prototype.traverse = function traverse(root, visitor) {
+ var worklist,
+ leavelist,
+ element,
+ node,
+ nodeType,
+ ret,
+ key,
+ current,
+ current2,
+ candidates,
+ candidate,
+ sentinel;
+
+ this.__initialize(root, visitor);
+
+ sentinel = {};
+
+ // reference
+ worklist = this.__worklist;
+ leavelist = this.__leavelist;
+
+ // initialize
+ worklist.push(new Element(root, null, null, null));
+ leavelist.push(new Element(null, null, null, null));
+
+ while (worklist.length) {
+ element = worklist.pop();
+
+ if (element === sentinel) {
+ element = leavelist.pop();
+
+ ret = this.__execute(visitor.leave, element);
+
+ if (this.__state === BREAK || ret === BREAK) {
+ return;
+ }
+ continue;
+ }
+
+ if (element.node) {
+
+ ret = this.__execute(visitor.enter, element);
+
+ if (this.__state === BREAK || ret === BREAK) {
+ return;
+ }
+
+ worklist.push(sentinel);
+ leavelist.push(element);
+
+ if (this.__state === SKIP || ret === SKIP) {
+ continue;
+ }
+
+ node = element.node;
+ nodeType = node.type || element.wrap;
+ candidates = this.__keys[nodeType];
+ if (!candidates) {
+ if (this.__fallback) {
+ candidates = this.__fallback(node);
+ } else {
+ throw new Error('Unknown node type ' + nodeType + '.');
+ }
+ }
+
+ current = candidates.length;
+ while ((current -= 1) >= 0) {
+ key = candidates[current];
+ candidate = node[key];
+ if (!candidate) {
+ continue;
+ }
+
+ if (Array.isArray(candidate)) {
+ current2 = candidate.length;
+ while ((current2 -= 1) >= 0) {
+ if (!candidate[current2]) {
+ continue;
+ }
+
+ if (candidateExistsInLeaveList(leavelist, candidate[current2])) {
+ continue;
+ }
+
+ if (isProperty(nodeType, candidates[current])) {
+ element = new Element(candidate[current2], [key, current2], 'Property', null);
+ } else if (isNode(candidate[current2])) {
+ element = new Element(candidate[current2], [key, current2], null, null);
+ } else {
+ continue;
+ }
+ worklist.push(element);
+ }
+ } else if (isNode(candidate)) {
+ if (candidateExistsInLeaveList(leavelist, candidate)) {
+ continue;
+ }
+
+ worklist.push(new Element(candidate, key, null, null));
+ }
+ }
+ }
+ }
+ };
+
+ Controller.prototype.replace = function replace(root, visitor) {
+ var worklist,
+ leavelist,
+ node,
+ nodeType,
+ target,
+ element,
+ current,
+ current2,
+ candidates,
+ candidate,
+ sentinel,
+ outer,
+ key;
+
+ function removeElem(element) {
+ var i,
+ key,
+ nextElem,
+ parent;
+
+ if (element.ref.remove()) {
+ // When the reference is an element of an array.
+ key = element.ref.key;
+ parent = element.ref.parent;
+
+ // If removed from array, then decrease following items' keys.
+ i = worklist.length;
+ while (i--) {
+ nextElem = worklist[i];
+ if (nextElem.ref && nextElem.ref.parent === parent) {
+ if (nextElem.ref.key < key) {
+ break;
+ }
+ --nextElem.ref.key;
+ }
+ }
+ }
+ }
+
+ this.__initialize(root, visitor);
+
+ sentinel = {};
+
+ // reference
+ worklist = this.__worklist;
+ leavelist = this.__leavelist;
+
+ // initialize
+ outer = {
+ root: root
+ };
+ element = new Element(root, null, null, new Reference(outer, 'root'));
+ worklist.push(element);
+ leavelist.push(element);
+
+ while (worklist.length) {
+ element = worklist.pop();
+
+ if (element === sentinel) {
+ element = leavelist.pop();
+
+ target = this.__execute(visitor.leave, element);
+
+ // node may be replaced with null,
+ // so distinguish between undefined and null in this place
+ if (target !== undefined && target !== BREAK && target !== SKIP && target !== REMOVE) {
+ // replace
+ element.ref.replace(target);
+ }
+
+ if (this.__state === REMOVE || target === REMOVE) {
+ removeElem(element);
+ }
+
+ if (this.__state === BREAK || target === BREAK) {
+ return outer.root;
+ }
+ continue;
+ }
+
+ target = this.__execute(visitor.enter, element);
+
+ // node may be replaced with null,
+ // so distinguish between undefined and null in this place
+ if (target !== undefined && target !== BREAK && target !== SKIP && target !== REMOVE) {
+ // replace
+ element.ref.replace(target);
+ element.node = target;
+ }
+
+ if (this.__state === REMOVE || target === REMOVE) {
+ removeElem(element);
+ element.node = null;
+ }
+
+ if (this.__state === BREAK || target === BREAK) {
+ return outer.root;
+ }
+
+ // node may be null
+ node = element.node;
+ if (!node) {
+ continue;
+ }
+
+ worklist.push(sentinel);
+ leavelist.push(element);
+
+ if (this.__state === SKIP || target === SKIP) {
+ continue;
+ }
+
+ nodeType = node.type || element.wrap;
+ candidates = this.__keys[nodeType];
+ if (!candidates) {
+ if (this.__fallback) {
+ candidates = this.__fallback(node);
+ } else {
+ throw new Error('Unknown node type ' + nodeType + '.');
+ }
+ }
+
+ current = candidates.length;
+ while ((current -= 1) >= 0) {
+ key = candidates[current];
+ candidate = node[key];
+ if (!candidate) {
+ continue;
+ }
+
+ if (Array.isArray(candidate)) {
+ current2 = candidate.length;
+ while ((current2 -= 1) >= 0) {
+ if (!candidate[current2]) {
+ continue;
+ }
+ if (isProperty(nodeType, candidates[current])) {
+ element = new Element(candidate[current2], [key, current2], 'Property', new Reference(candidate, current2));
+ } else if (isNode(candidate[current2])) {
+ element = new Element(candidate[current2], [key, current2], null, new Reference(candidate, current2));
+ } else {
+ continue;
+ }
+ worklist.push(element);
+ }
+ } else if (isNode(candidate)) {
+ worklist.push(new Element(candidate, key, null, new Reference(node, key)));
+ }
+ }
+ }
+
+ return outer.root;
+ };
+
+ function traverse(root, visitor) {
+ var controller = new Controller();
+ return controller.traverse(root, visitor);
+ }
+
+ function replace(root, visitor) {
+ var controller = new Controller();
+ return controller.replace(root, visitor);
+ }
+
+ function extendCommentRange(comment, tokens) {
+ var target;
+
+ target = upperBound(tokens, function search(token) {
+ return token.range[0] > comment.range[0];
+ });
+
+ comment.extendedRange = [comment.range[0], comment.range[1]];
+
+ if (target !== tokens.length) {
+ comment.extendedRange[1] = tokens[target].range[0];
+ }
+
+ target -= 1;
+ if (target >= 0) {
+ comment.extendedRange[0] = tokens[target].range[1];
+ }
+
+ return comment;
+ }
+
+ function attachComments(tree, providedComments, tokens) {
+ // At first, we should calculate extended comment ranges.
+ var comments = [], comment, len, i, cursor;
+
+ if (!tree.range) {
+ throw new Error('attachComments needs range information');
+ }
+
+ // tokens array is empty, we attach comments to tree as 'leadingComments'
+ if (!tokens.length) {
+ if (providedComments.length) {
+ for (i = 0, len = providedComments.length; i < len; i += 1) {
+ comment = deepCopy(providedComments[i]);
+ comment.extendedRange = [0, tree.range[0]];
+ comments.push(comment);
+ }
+ tree.leadingComments = comments;
+ }
+ return tree;
+ }
+
+ for (i = 0, len = providedComments.length; i < len; i += 1) {
+ comments.push(extendCommentRange(deepCopy(providedComments[i]), tokens));
+ }
+
+ // This is based on John Freeman's implementation.
+ cursor = 0;
+ traverse(tree, {
+ enter: function (node) {
+ var comment;
+
+ while (cursor < comments.length) {
+ comment = comments[cursor];
+ if (comment.extendedRange[1] > node.range[0]) {
+ break;
+ }
+
+ if (comment.extendedRange[1] === node.range[0]) {
+ if (!node.leadingComments) {
+ node.leadingComments = [];
+ }
+ node.leadingComments.push(comment);
+ comments.splice(cursor, 1);
+ } else {
+ cursor += 1;
+ }
+ }
+
+ // already out of owned node
+ if (cursor === comments.length) {
+ return VisitorOption.Break;
+ }
+
+ if (comments[cursor].extendedRange[0] > node.range[1]) {
+ return VisitorOption.Skip;
+ }
+ }
+ });
+
+ cursor = 0;
+ traverse(tree, {
+ leave: function (node) {
+ var comment;
+
+ while (cursor < comments.length) {
+ comment = comments[cursor];
+ if (node.range[1] < comment.extendedRange[0]) {
+ break;
+ }
+
+ if (node.range[1] === comment.extendedRange[0]) {
+ if (!node.trailingComments) {
+ node.trailingComments = [];
+ }
+ node.trailingComments.push(comment);
+ comments.splice(cursor, 1);
+ } else {
+ cursor += 1;
+ }
+ }
+
+ // already out of owned node
+ if (cursor === comments.length) {
+ return VisitorOption.Break;
+ }
+
+ if (comments[cursor].extendedRange[0] > node.range[1]) {
+ return VisitorOption.Skip;
+ }
+ }
+ });
+
+ return tree;
+ }
+
+ exports.Syntax = Syntax;
+ exports.traverse = traverse;
+ exports.replace = replace;
+ exports.attachComments = attachComments;
+ exports.VisitorKeys = VisitorKeys;
+ exports.VisitorOption = VisitorOption;
+ exports.Controller = Controller;
+ exports.cloneEnvironment = function () { return clone({}); };
+
+ return exports;
+}(exports));
+/* vim: set sw=4 ts=4 et tw=80 : */
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/esrecurse/node_modules/estraverse/gulpfile.js b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/esrecurse/node_modules/estraverse/gulpfile.js
new file mode 100644
index 0000000..8772bbc
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/esrecurse/node_modules/estraverse/gulpfile.js
@@ -0,0 +1,70 @@
+/*
+ Copyright (C) 2014 Yusuke Suzuki
+
+ Redistribution and use in source and binary forms, with or without
+ modification, are permitted provided that the following conditions are met:
+
+ * Redistributions of source code must retain the above copyright
+ notice, this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright
+ notice, this list of conditions and the following disclaimer in the
+ documentation and/or other materials provided with the distribution.
+
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 'AS IS'
+ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ ARE DISCLAIMED. IN NO EVENT SHALL BE LIABLE FOR ANY
+ DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
+ (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
+ ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
+ THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+*/
+
+'use strict';
+
+var gulp = require('gulp'),
+ git = require('gulp-git'),
+ bump = require('gulp-bump'),
+ filter = require('gulp-filter'),
+ tagVersion = require('gulp-tag-version');
+
+var TEST = [ 'test/*.js' ];
+var POWERED = [ 'powered-test/*.js' ];
+var SOURCE = [ 'src/**/*.js' ];
+
+/**
+ * Bumping version number and tagging the repository with it.
+ * Please read http://semver.org/
+ *
+ * You can use the commands
+ *
+ * gulp patch # makes v0.1.0 -> v0.1.1
+ * gulp feature # makes v0.1.1 -> v0.2.0
+ * gulp release # makes v0.2.1 -> v1.0.0
+ *
+ * To bump the version numbers accordingly after you did a patch,
+ * introduced a feature or made a backwards-incompatible release.
+ */
+
+function inc(importance) {
+ // get all the files to bump version in
+ return gulp.src(['./package.json'])
+ // bump the version number in those files
+ .pipe(bump({type: importance}))
+ // save it back to filesystem
+ .pipe(gulp.dest('./'))
+ // commit the changed version number
+ .pipe(git.commit('Bumps package version'))
+ // read only one file to get the version number
+ .pipe(filter('package.json'))
+ // **tag it in the repository**
+ .pipe(tagVersion({
+ prefix: ''
+ }));
+}
+
+gulp.task('patch', [ ], function () { return inc('patch'); })
+gulp.task('minor', [ ], function () { return inc('minor'); })
+gulp.task('major', [ ], function () { return inc('major'); })
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/esrecurse/node_modules/estraverse/package.json b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/esrecurse/node_modules/estraverse/package.json
new file mode 100644
index 0000000..a863218
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/esrecurse/node_modules/estraverse/package.json
@@ -0,0 +1,40 @@
+{
+ "name": "estraverse",
+ "description": "ECMAScript JS AST traversal functions",
+ "homepage": "https://github.com/estools/estraverse",
+ "main": "estraverse.js",
+ "version": "5.3.0",
+ "engines": {
+ "node": ">=4.0"
+ },
+ "maintainers": [
+ {
+ "name": "Yusuke Suzuki",
+ "email": "utatane.tea@gmail.com",
+ "web": "http://github.com/Constellation"
+ }
+ ],
+ "repository": {
+ "type": "git",
+ "url": "http://github.com/estools/estraverse.git"
+ },
+ "devDependencies": {
+ "babel-preset-env": "^1.6.1",
+ "babel-register": "^6.3.13",
+ "chai": "^2.1.1",
+ "espree": "^1.11.0",
+ "gulp": "^3.8.10",
+ "gulp-bump": "^0.2.2",
+ "gulp-filter": "^2.0.0",
+ "gulp-git": "^1.0.1",
+ "gulp-tag-version": "^1.3.0",
+ "jshint": "^2.5.6",
+ "mocha": "^2.1.0"
+ },
+ "license": "BSD-2-Clause",
+ "scripts": {
+ "test": "npm run-script lint && npm run-script unit-test",
+ "lint": "jshint estraverse.js",
+ "unit-test": "mocha --compilers js:babel-register"
+ }
+}
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/esrecurse/package.json b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/esrecurse/package.json
new file mode 100644
index 0000000..dec5b1b
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/esrecurse/package.json
@@ -0,0 +1,52 @@
+{
+ "name": "esrecurse",
+ "description": "ECMAScript AST recursive visitor",
+ "homepage": "https://github.com/estools/esrecurse",
+ "main": "esrecurse.js",
+ "version": "4.3.0",
+ "engines": {
+ "node": ">=4.0"
+ },
+ "maintainers": [
+ {
+ "name": "Yusuke Suzuki",
+ "email": "utatane.tea@gmail.com",
+ "web": "https://github.com/Constellation"
+ }
+ ],
+ "repository": {
+ "type": "git",
+ "url": "https://github.com/estools/esrecurse.git"
+ },
+ "dependencies": {
+ "estraverse": "^5.2.0"
+ },
+ "devDependencies": {
+ "babel-cli": "^6.24.1",
+ "babel-eslint": "^7.2.3",
+ "babel-preset-es2015": "^6.24.1",
+ "babel-register": "^6.24.1",
+ "chai": "^4.0.2",
+ "esprima": "^4.0.0",
+ "gulp": "^3.9.0",
+ "gulp-bump": "^2.7.0",
+ "gulp-eslint": "^4.0.0",
+ "gulp-filter": "^5.0.0",
+ "gulp-git": "^2.4.1",
+ "gulp-mocha": "^4.3.1",
+ "gulp-tag-version": "^1.2.1",
+ "jsdoc": "^3.3.0-alpha10",
+ "minimist": "^1.1.0"
+ },
+ "license": "BSD-2-Clause",
+ "scripts": {
+ "test": "gulp travis",
+ "unit-test": "gulp test",
+ "lint": "gulp lint"
+ },
+ "babel": {
+ "presets": [
+ "es2015"
+ ]
+ }
+}
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/estraverse/.jshintrc b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/estraverse/.jshintrc
new file mode 100644
index 0000000..f642dae
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/estraverse/.jshintrc
@@ -0,0 +1,16 @@
+{
+ "curly": true,
+ "eqeqeq": true,
+ "immed": true,
+ "eqnull": true,
+ "latedef": true,
+ "noarg": true,
+ "noempty": true,
+ "quotmark": "single",
+ "undef": true,
+ "unused": true,
+ "strict": true,
+ "trailing": true,
+
+ "node": true
+}
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/estraverse/LICENSE.BSD b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/estraverse/LICENSE.BSD
new file mode 100644
index 0000000..3e580c3
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/estraverse/LICENSE.BSD
@@ -0,0 +1,19 @@
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions are met:
+
+ * Redistributions of source code must retain the above copyright
+ notice, this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright
+ notice, this list of conditions and the following disclaimer in the
+ documentation and/or other materials provided with the distribution.
+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ARE DISCLAIMED. IN NO EVENT SHALL BE LIABLE FOR ANY
+DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
+(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
+ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
+THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/estraverse/README.md b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/estraverse/README.md
new file mode 100644
index 0000000..ccd3377
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/estraverse/README.md
@@ -0,0 +1,153 @@
+### Estraverse [![Build Status](https://secure.travis-ci.org/estools/estraverse.svg)](http://travis-ci.org/estools/estraverse)
+
+Estraverse ([estraverse](http://github.com/estools/estraverse)) is
+[ECMAScript](http://www.ecma-international.org/publications/standards/Ecma-262.htm)
+traversal functions from [esmangle project](http://github.com/estools/esmangle).
+
+### Documentation
+
+You can find usage docs at [wiki page](https://github.com/estools/estraverse/wiki/Usage).
+
+### Example Usage
+
+The following code will output all variables declared at the root of a file.
+
+```javascript
+estraverse.traverse(ast, {
+ enter: function (node, parent) {
+ if (node.type == 'FunctionExpression' || node.type == 'FunctionDeclaration')
+ return estraverse.VisitorOption.Skip;
+ },
+ leave: function (node, parent) {
+ if (node.type == 'VariableDeclarator')
+ console.log(node.id.name);
+ }
+});
+```
+
+We can use `this.skip`, `this.remove` and `this.break` functions instead of using Skip, Remove and Break.
+
+```javascript
+estraverse.traverse(ast, {
+ enter: function (node) {
+ this.break();
+ }
+});
+```
+
+And estraverse provides `estraverse.replace` function. When returning node from `enter`/`leave`, current node is replaced with it.
+
+```javascript
+result = estraverse.replace(tree, {
+ enter: function (node) {
+ // Replace it with replaced.
+ if (node.type === 'Literal')
+ return replaced;
+ }
+});
+```
+
+By passing `visitor.keys` mapping, we can extend estraverse traversing functionality.
+
+```javascript
+// This tree contains a user-defined `TestExpression` node.
+var tree = {
+ type: 'TestExpression',
+
+ // This 'argument' is the property containing the other **node**.
+ argument: {
+ type: 'Literal',
+ value: 20
+ },
+
+ // This 'extended' is the property not containing the other **node**.
+ extended: true
+};
+estraverse.traverse(tree, {
+ enter: function (node) { },
+
+ // Extending the existing traversing rules.
+ keys: {
+ // TargetNodeName: [ 'keys', 'containing', 'the', 'other', '**node**' ]
+ TestExpression: ['argument']
+ }
+});
+```
+
+By passing `visitor.fallback` option, we can control the behavior when encountering unknown nodes.
+
+```javascript
+// This tree contains a user-defined `TestExpression` node.
+var tree = {
+ type: 'TestExpression',
+
+ // This 'argument' is the property containing the other **node**.
+ argument: {
+ type: 'Literal',
+ value: 20
+ },
+
+ // This 'extended' is the property not containing the other **node**.
+ extended: true
+};
+estraverse.traverse(tree, {
+ enter: function (node) { },
+
+ // Iterating the child **nodes** of unknown nodes.
+ fallback: 'iteration'
+});
+```
+
+When `visitor.fallback` is a function, we can determine which keys to visit on each node.
+
+```javascript
+// This tree contains a user-defined `TestExpression` node.
+var tree = {
+ type: 'TestExpression',
+
+ // This 'argument' is the property containing the other **node**.
+ argument: {
+ type: 'Literal',
+ value: 20
+ },
+
+ // This 'extended' is the property not containing the other **node**.
+ extended: true
+};
+estraverse.traverse(tree, {
+ enter: function (node) { },
+
+ // Skip the `argument` property of each node
+ fallback: function(node) {
+ return Object.keys(node).filter(function(key) {
+ return key !== 'argument';
+ });
+ }
+});
+```
+
+### License
+
+Copyright (C) 2012-2016 [Yusuke Suzuki](http://github.com/Constellation)
+ (twitter: [@Constellation](http://twitter.com/Constellation)) and other contributors.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions are met:
+
+ * Redistributions of source code must retain the above copyright
+ notice, this list of conditions and the following disclaimer.
+
+ * Redistributions in binary form must reproduce the above copyright
+ notice, this list of conditions and the following disclaimer in the
+ documentation and/or other materials provided with the distribution.
+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ARE DISCLAIMED. IN NO EVENT SHALL BE LIABLE FOR ANY
+DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
+(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
+ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
+THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/estraverse/estraverse.js b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/estraverse/estraverse.js
new file mode 100644
index 0000000..b106d38
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/estraverse/estraverse.js
@@ -0,0 +1,782 @@
+/*
+ Copyright (C) 2012-2013 Yusuke Suzuki
+ Copyright (C) 2012 Ariya Hidayat
+
+ Redistribution and use in source and binary forms, with or without
+ modification, are permitted provided that the following conditions are met:
+
+ * Redistributions of source code must retain the above copyright
+ notice, this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright
+ notice, this list of conditions and the following disclaimer in the
+ documentation and/or other materials provided with the distribution.
+
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ ARE DISCLAIMED. IN NO EVENT SHALL BE LIABLE FOR ANY
+ DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
+ (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
+ ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
+ THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+*/
+/*jslint vars:false, bitwise:true*/
+/*jshint indent:4*/
+/*global exports:true*/
+(function clone(exports) {
+ 'use strict';
+
+ var Syntax,
+ VisitorOption,
+ VisitorKeys,
+ BREAK,
+ SKIP,
+ REMOVE;
+
+ function deepCopy(obj) {
+ var ret = {}, key, val;
+ for (key in obj) {
+ if (obj.hasOwnProperty(key)) {
+ val = obj[key];
+ if (typeof val === 'object' && val !== null) {
+ ret[key] = deepCopy(val);
+ } else {
+ ret[key] = val;
+ }
+ }
+ }
+ return ret;
+ }
+
+ // based on LLVM libc++ upper_bound / lower_bound
+ // MIT License
+
+ function upperBound(array, func) {
+ var diff, len, i, current;
+
+ len = array.length;
+ i = 0;
+
+ while (len) {
+ diff = len >>> 1;
+ current = i + diff;
+ if (func(array[current])) {
+ len = diff;
+ } else {
+ i = current + 1;
+ len -= diff + 1;
+ }
+ }
+ return i;
+ }
+
+ Syntax = {
+ AssignmentExpression: 'AssignmentExpression',
+ AssignmentPattern: 'AssignmentPattern',
+ ArrayExpression: 'ArrayExpression',
+ ArrayPattern: 'ArrayPattern',
+ ArrowFunctionExpression: 'ArrowFunctionExpression',
+ AwaitExpression: 'AwaitExpression', // CAUTION: It's deferred to ES7.
+ BlockStatement: 'BlockStatement',
+ BinaryExpression: 'BinaryExpression',
+ BreakStatement: 'BreakStatement',
+ CallExpression: 'CallExpression',
+ CatchClause: 'CatchClause',
+ ClassBody: 'ClassBody',
+ ClassDeclaration: 'ClassDeclaration',
+ ClassExpression: 'ClassExpression',
+ ComprehensionBlock: 'ComprehensionBlock', // CAUTION: It's deferred to ES7.
+ ComprehensionExpression: 'ComprehensionExpression', // CAUTION: It's deferred to ES7.
+ ConditionalExpression: 'ConditionalExpression',
+ ContinueStatement: 'ContinueStatement',
+ DebuggerStatement: 'DebuggerStatement',
+ DirectiveStatement: 'DirectiveStatement',
+ DoWhileStatement: 'DoWhileStatement',
+ EmptyStatement: 'EmptyStatement',
+ ExportAllDeclaration: 'ExportAllDeclaration',
+ ExportDefaultDeclaration: 'ExportDefaultDeclaration',
+ ExportNamedDeclaration: 'ExportNamedDeclaration',
+ ExportSpecifier: 'ExportSpecifier',
+ ExpressionStatement: 'ExpressionStatement',
+ ForStatement: 'ForStatement',
+ ForInStatement: 'ForInStatement',
+ ForOfStatement: 'ForOfStatement',
+ FunctionDeclaration: 'FunctionDeclaration',
+ FunctionExpression: 'FunctionExpression',
+ GeneratorExpression: 'GeneratorExpression', // CAUTION: It's deferred to ES7.
+ Identifier: 'Identifier',
+ IfStatement: 'IfStatement',
+ ImportExpression: 'ImportExpression',
+ ImportDeclaration: 'ImportDeclaration',
+ ImportDefaultSpecifier: 'ImportDefaultSpecifier',
+ ImportNamespaceSpecifier: 'ImportNamespaceSpecifier',
+ ImportSpecifier: 'ImportSpecifier',
+ Literal: 'Literal',
+ LabeledStatement: 'LabeledStatement',
+ LogicalExpression: 'LogicalExpression',
+ MemberExpression: 'MemberExpression',
+ MetaProperty: 'MetaProperty',
+ MethodDefinition: 'MethodDefinition',
+ ModuleSpecifier: 'ModuleSpecifier',
+ NewExpression: 'NewExpression',
+ ObjectExpression: 'ObjectExpression',
+ ObjectPattern: 'ObjectPattern',
+ Program: 'Program',
+ Property: 'Property',
+ RestElement: 'RestElement',
+ ReturnStatement: 'ReturnStatement',
+ SequenceExpression: 'SequenceExpression',
+ SpreadElement: 'SpreadElement',
+ Super: 'Super',
+ SwitchStatement: 'SwitchStatement',
+ SwitchCase: 'SwitchCase',
+ TaggedTemplateExpression: 'TaggedTemplateExpression',
+ TemplateElement: 'TemplateElement',
+ TemplateLiteral: 'TemplateLiteral',
+ ThisExpression: 'ThisExpression',
+ ThrowStatement: 'ThrowStatement',
+ TryStatement: 'TryStatement',
+ UnaryExpression: 'UnaryExpression',
+ UpdateExpression: 'UpdateExpression',
+ VariableDeclaration: 'VariableDeclaration',
+ VariableDeclarator: 'VariableDeclarator',
+ WhileStatement: 'WhileStatement',
+ WithStatement: 'WithStatement',
+ YieldExpression: 'YieldExpression'
+ };
+
+ VisitorKeys = {
+ AssignmentExpression: ['left', 'right'],
+ AssignmentPattern: ['left', 'right'],
+ ArrayExpression: ['elements'],
+ ArrayPattern: ['elements'],
+ ArrowFunctionExpression: ['params', 'body'],
+ AwaitExpression: ['argument'], // CAUTION: It's deferred to ES7.
+ BlockStatement: ['body'],
+ BinaryExpression: ['left', 'right'],
+ BreakStatement: ['label'],
+ CallExpression: ['callee', 'arguments'],
+ CatchClause: ['param', 'body'],
+ ClassBody: ['body'],
+ ClassDeclaration: ['id', 'superClass', 'body'],
+ ClassExpression: ['id', 'superClass', 'body'],
+ ComprehensionBlock: ['left', 'right'], // CAUTION: It's deferred to ES7.
+ ComprehensionExpression: ['blocks', 'filter', 'body'], // CAUTION: It's deferred to ES7.
+ ConditionalExpression: ['test', 'consequent', 'alternate'],
+ ContinueStatement: ['label'],
+ DebuggerStatement: [],
+ DirectiveStatement: [],
+ DoWhileStatement: ['body', 'test'],
+ EmptyStatement: [],
+ ExportAllDeclaration: ['source'],
+ ExportDefaultDeclaration: ['declaration'],
+ ExportNamedDeclaration: ['declaration', 'specifiers', 'source'],
+ ExportSpecifier: ['exported', 'local'],
+ ExpressionStatement: ['expression'],
+ ForStatement: ['init', 'test', 'update', 'body'],
+ ForInStatement: ['left', 'right', 'body'],
+ ForOfStatement: ['left', 'right', 'body'],
+ FunctionDeclaration: ['id', 'params', 'body'],
+ FunctionExpression: ['id', 'params', 'body'],
+ GeneratorExpression: ['blocks', 'filter', 'body'], // CAUTION: It's deferred to ES7.
+ Identifier: [],
+ IfStatement: ['test', 'consequent', 'alternate'],
+ ImportExpression: ['source'],
+ ImportDeclaration: ['specifiers', 'source'],
+ ImportDefaultSpecifier: ['local'],
+ ImportNamespaceSpecifier: ['local'],
+ ImportSpecifier: ['imported', 'local'],
+ Literal: [],
+ LabeledStatement: ['label', 'body'],
+ LogicalExpression: ['left', 'right'],
+ MemberExpression: ['object', 'property'],
+ MetaProperty: ['meta', 'property'],
+ MethodDefinition: ['key', 'value'],
+ ModuleSpecifier: [],
+ NewExpression: ['callee', 'arguments'],
+ ObjectExpression: ['properties'],
+ ObjectPattern: ['properties'],
+ Program: ['body'],
+ Property: ['key', 'value'],
+ RestElement: [ 'argument' ],
+ ReturnStatement: ['argument'],
+ SequenceExpression: ['expressions'],
+ SpreadElement: ['argument'],
+ Super: [],
+ SwitchStatement: ['discriminant', 'cases'],
+ SwitchCase: ['test', 'consequent'],
+ TaggedTemplateExpression: ['tag', 'quasi'],
+ TemplateElement: [],
+ TemplateLiteral: ['quasis', 'expressions'],
+ ThisExpression: [],
+ ThrowStatement: ['argument'],
+ TryStatement: ['block', 'handler', 'finalizer'],
+ UnaryExpression: ['argument'],
+ UpdateExpression: ['argument'],
+ VariableDeclaration: ['declarations'],
+ VariableDeclarator: ['id', 'init'],
+ WhileStatement: ['test', 'body'],
+ WithStatement: ['object', 'body'],
+ YieldExpression: ['argument']
+ };
+
+ // unique id
+ BREAK = {};
+ SKIP = {};
+ REMOVE = {};
+
+ VisitorOption = {
+ Break: BREAK,
+ Skip: SKIP,
+ Remove: REMOVE
+ };
+
+ function Reference(parent, key) {
+ this.parent = parent;
+ this.key = key;
+ }
+
+ Reference.prototype.replace = function replace(node) {
+ this.parent[this.key] = node;
+ };
+
+ Reference.prototype.remove = function remove() {
+ if (Array.isArray(this.parent)) {
+ this.parent.splice(this.key, 1);
+ return true;
+ } else {
+ this.replace(null);
+ return false;
+ }
+ };
+
+ function Element(node, path, wrap, ref) {
+ this.node = node;
+ this.path = path;
+ this.wrap = wrap;
+ this.ref = ref;
+ }
+
+ function Controller() { }
+
+ // API:
+ // return property path array from root to current node
+ Controller.prototype.path = function path() {
+ var i, iz, j, jz, result, element;
+
+ function addToPath(result, path) {
+ if (Array.isArray(path)) {
+ for (j = 0, jz = path.length; j < jz; ++j) {
+ result.push(path[j]);
+ }
+ } else {
+ result.push(path);
+ }
+ }
+
+ // root node
+ if (!this.__current.path) {
+ return null;
+ }
+
+ // first node is sentinel, second node is root element
+ result = [];
+ for (i = 2, iz = this.__leavelist.length; i < iz; ++i) {
+ element = this.__leavelist[i];
+ addToPath(result, element.path);
+ }
+ addToPath(result, this.__current.path);
+ return result;
+ };
+
+ // API:
+ // return type of current node
+ Controller.prototype.type = function () {
+ var node = this.current();
+ return node.type || this.__current.wrap;
+ };
+
+ // API:
+ // return array of parent elements
+ Controller.prototype.parents = function parents() {
+ var i, iz, result;
+
+ // first node is sentinel
+ result = [];
+ for (i = 1, iz = this.__leavelist.length; i < iz; ++i) {
+ result.push(this.__leavelist[i].node);
+ }
+
+ return result;
+ };
+
+ // API:
+ // return current node
+ Controller.prototype.current = function current() {
+ return this.__current.node;
+ };
+
+ Controller.prototype.__execute = function __execute(callback, element) {
+ var previous, result;
+
+ result = undefined;
+
+ previous = this.__current;
+ this.__current = element;
+ this.__state = null;
+ if (callback) {
+ result = callback.call(this, element.node, this.__leavelist[this.__leavelist.length - 1].node);
+ }
+ this.__current = previous;
+
+ return result;
+ };
+
+ // API:
+ // notify control skip / break
+ Controller.prototype.notify = function notify(flag) {
+ this.__state = flag;
+ };
+
+ // API:
+ // skip child nodes of current node
+ Controller.prototype.skip = function () {
+ this.notify(SKIP);
+ };
+
+ // API:
+ // break traversals
+ Controller.prototype['break'] = function () {
+ this.notify(BREAK);
+ };
+
+ // API:
+ // remove node
+ Controller.prototype.remove = function () {
+ this.notify(REMOVE);
+ };
+
+ Controller.prototype.__initialize = function(root, visitor) {
+ this.visitor = visitor;
+ this.root = root;
+ this.__worklist = [];
+ this.__leavelist = [];
+ this.__current = null;
+ this.__state = null;
+ this.__fallback = null;
+ if (visitor.fallback === 'iteration') {
+ this.__fallback = Object.keys;
+ } else if (typeof visitor.fallback === 'function') {
+ this.__fallback = visitor.fallback;
+ }
+
+ this.__keys = VisitorKeys;
+ if (visitor.keys) {
+ this.__keys = Object.assign(Object.create(this.__keys), visitor.keys);
+ }
+ };
+
+ function isNode(node) {
+ if (node == null) {
+ return false;
+ }
+ return typeof node === 'object' && typeof node.type === 'string';
+ }
+
+ function isProperty(nodeType, key) {
+ return (nodeType === Syntax.ObjectExpression || nodeType === Syntax.ObjectPattern) && 'properties' === key;
+ }
+
+ Controller.prototype.traverse = function traverse(root, visitor) {
+ var worklist,
+ leavelist,
+ element,
+ node,
+ nodeType,
+ ret,
+ key,
+ current,
+ current2,
+ candidates,
+ candidate,
+ sentinel;
+
+ this.__initialize(root, visitor);
+
+ sentinel = {};
+
+ // reference
+ worklist = this.__worklist;
+ leavelist = this.__leavelist;
+
+ // initialize
+ worklist.push(new Element(root, null, null, null));
+ leavelist.push(new Element(null, null, null, null));
+
+ while (worklist.length) {
+ element = worklist.pop();
+
+ if (element === sentinel) {
+ element = leavelist.pop();
+
+ ret = this.__execute(visitor.leave, element);
+
+ if (this.__state === BREAK || ret === BREAK) {
+ return;
+ }
+ continue;
+ }
+
+ if (element.node) {
+
+ ret = this.__execute(visitor.enter, element);
+
+ if (this.__state === BREAK || ret === BREAK) {
+ return;
+ }
+
+ worklist.push(sentinel);
+ leavelist.push(element);
+
+ if (this.__state === SKIP || ret === SKIP) {
+ continue;
+ }
+
+ node = element.node;
+ nodeType = node.type || element.wrap;
+ candidates = this.__keys[nodeType];
+ if (!candidates) {
+ if (this.__fallback) {
+ candidates = this.__fallback(node);
+ } else {
+ throw new Error('Unknown node type ' + nodeType + '.');
+ }
+ }
+
+ current = candidates.length;
+ while ((current -= 1) >= 0) {
+ key = candidates[current];
+ candidate = node[key];
+ if (!candidate) {
+ continue;
+ }
+
+ if (Array.isArray(candidate)) {
+ current2 = candidate.length;
+ while ((current2 -= 1) >= 0) {
+ if (!candidate[current2]) {
+ continue;
+ }
+ if (isProperty(nodeType, candidates[current])) {
+ element = new Element(candidate[current2], [key, current2], 'Property', null);
+ } else if (isNode(candidate[current2])) {
+ element = new Element(candidate[current2], [key, current2], null, null);
+ } else {
+ continue;
+ }
+ worklist.push(element);
+ }
+ } else if (isNode(candidate)) {
+ worklist.push(new Element(candidate, key, null, null));
+ }
+ }
+ }
+ }
+ };
+
+ Controller.prototype.replace = function replace(root, visitor) {
+ var worklist,
+ leavelist,
+ node,
+ nodeType,
+ target,
+ element,
+ current,
+ current2,
+ candidates,
+ candidate,
+ sentinel,
+ outer,
+ key;
+
+ function removeElem(element) {
+ var i,
+ key,
+ nextElem,
+ parent;
+
+ if (element.ref.remove()) {
+ // When the reference is an element of an array.
+ key = element.ref.key;
+ parent = element.ref.parent;
+
+ // If removed from array, then decrease following items' keys.
+ i = worklist.length;
+ while (i--) {
+ nextElem = worklist[i];
+ if (nextElem.ref && nextElem.ref.parent === parent) {
+ if (nextElem.ref.key < key) {
+ break;
+ }
+ --nextElem.ref.key;
+ }
+ }
+ }
+ }
+
+ this.__initialize(root, visitor);
+
+ sentinel = {};
+
+ // reference
+ worklist = this.__worklist;
+ leavelist = this.__leavelist;
+
+ // initialize
+ outer = {
+ root: root
+ };
+ element = new Element(root, null, null, new Reference(outer, 'root'));
+ worklist.push(element);
+ leavelist.push(element);
+
+ while (worklist.length) {
+ element = worklist.pop();
+
+ if (element === sentinel) {
+ element = leavelist.pop();
+
+ target = this.__execute(visitor.leave, element);
+
+ // node may be replaced with null,
+ // so distinguish between undefined and null in this place
+ if (target !== undefined && target !== BREAK && target !== SKIP && target !== REMOVE) {
+ // replace
+ element.ref.replace(target);
+ }
+
+ if (this.__state === REMOVE || target === REMOVE) {
+ removeElem(element);
+ }
+
+ if (this.__state === BREAK || target === BREAK) {
+ return outer.root;
+ }
+ continue;
+ }
+
+ target = this.__execute(visitor.enter, element);
+
+ // node may be replaced with null,
+ // so distinguish between undefined and null in this place
+ if (target !== undefined && target !== BREAK && target !== SKIP && target !== REMOVE) {
+ // replace
+ element.ref.replace(target);
+ element.node = target;
+ }
+
+ if (this.__state === REMOVE || target === REMOVE) {
+ removeElem(element);
+ element.node = null;
+ }
+
+ if (this.__state === BREAK || target === BREAK) {
+ return outer.root;
+ }
+
+ // node may be null
+ node = element.node;
+ if (!node) {
+ continue;
+ }
+
+ worklist.push(sentinel);
+ leavelist.push(element);
+
+ if (this.__state === SKIP || target === SKIP) {
+ continue;
+ }
+
+ nodeType = node.type || element.wrap;
+ candidates = this.__keys[nodeType];
+ if (!candidates) {
+ if (this.__fallback) {
+ candidates = this.__fallback(node);
+ } else {
+ throw new Error('Unknown node type ' + nodeType + '.');
+ }
+ }
+
+ current = candidates.length;
+ while ((current -= 1) >= 0) {
+ key = candidates[current];
+ candidate = node[key];
+ if (!candidate) {
+ continue;
+ }
+
+ if (Array.isArray(candidate)) {
+ current2 = candidate.length;
+ while ((current2 -= 1) >= 0) {
+ if (!candidate[current2]) {
+ continue;
+ }
+ if (isProperty(nodeType, candidates[current])) {
+ element = new Element(candidate[current2], [key, current2], 'Property', new Reference(candidate, current2));
+ } else if (isNode(candidate[current2])) {
+ element = new Element(candidate[current2], [key, current2], null, new Reference(candidate, current2));
+ } else {
+ continue;
+ }
+ worklist.push(element);
+ }
+ } else if (isNode(candidate)) {
+ worklist.push(new Element(candidate, key, null, new Reference(node, key)));
+ }
+ }
+ }
+
+ return outer.root;
+ };
+
+ function traverse(root, visitor) {
+ var controller = new Controller();
+ return controller.traverse(root, visitor);
+ }
+
+ function replace(root, visitor) {
+ var controller = new Controller();
+ return controller.replace(root, visitor);
+ }
+
+ function extendCommentRange(comment, tokens) {
+ var target;
+
+ target = upperBound(tokens, function search(token) {
+ return token.range[0] > comment.range[0];
+ });
+
+ comment.extendedRange = [comment.range[0], comment.range[1]];
+
+ if (target !== tokens.length) {
+ comment.extendedRange[1] = tokens[target].range[0];
+ }
+
+ target -= 1;
+ if (target >= 0) {
+ comment.extendedRange[0] = tokens[target].range[1];
+ }
+
+ return comment;
+ }
+
+ function attachComments(tree, providedComments, tokens) {
+ // At first, we should calculate extended comment ranges.
+ var comments = [], comment, len, i, cursor;
+
+ if (!tree.range) {
+ throw new Error('attachComments needs range information');
+ }
+
+ // tokens array is empty, we attach comments to tree as 'leadingComments'
+ if (!tokens.length) {
+ if (providedComments.length) {
+ for (i = 0, len = providedComments.length; i < len; i += 1) {
+ comment = deepCopy(providedComments[i]);
+ comment.extendedRange = [0, tree.range[0]];
+ comments.push(comment);
+ }
+ tree.leadingComments = comments;
+ }
+ return tree;
+ }
+
+ for (i = 0, len = providedComments.length; i < len; i += 1) {
+ comments.push(extendCommentRange(deepCopy(providedComments[i]), tokens));
+ }
+
+ // This is based on John Freeman's implementation.
+ cursor = 0;
+ traverse(tree, {
+ enter: function (node) {
+ var comment;
+
+ while (cursor < comments.length) {
+ comment = comments[cursor];
+ if (comment.extendedRange[1] > node.range[0]) {
+ break;
+ }
+
+ if (comment.extendedRange[1] === node.range[0]) {
+ if (!node.leadingComments) {
+ node.leadingComments = [];
+ }
+ node.leadingComments.push(comment);
+ comments.splice(cursor, 1);
+ } else {
+ cursor += 1;
+ }
+ }
+
+ // already out of owned node
+ if (cursor === comments.length) {
+ return VisitorOption.Break;
+ }
+
+ if (comments[cursor].extendedRange[0] > node.range[1]) {
+ return VisitorOption.Skip;
+ }
+ }
+ });
+
+ cursor = 0;
+ traverse(tree, {
+ leave: function (node) {
+ var comment;
+
+ while (cursor < comments.length) {
+ comment = comments[cursor];
+ if (node.range[1] < comment.extendedRange[0]) {
+ break;
+ }
+
+ if (node.range[1] === comment.extendedRange[0]) {
+ if (!node.trailingComments) {
+ node.trailingComments = [];
+ }
+ node.trailingComments.push(comment);
+ comments.splice(cursor, 1);
+ } else {
+ cursor += 1;
+ }
+ }
+
+ // already out of owned node
+ if (cursor === comments.length) {
+ return VisitorOption.Break;
+ }
+
+ if (comments[cursor].extendedRange[0] > node.range[1]) {
+ return VisitorOption.Skip;
+ }
+ }
+ });
+
+ return tree;
+ }
+
+ exports.version = require('./package.json').version;
+ exports.Syntax = Syntax;
+ exports.traverse = traverse;
+ exports.replace = replace;
+ exports.attachComments = attachComments;
+ exports.VisitorKeys = VisitorKeys;
+ exports.VisitorOption = VisitorOption;
+ exports.Controller = Controller;
+ exports.cloneEnvironment = function () { return clone({}); };
+
+ return exports;
+}(exports));
+/* vim: set sw=4 ts=4 et tw=80 : */
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/estraverse/gulpfile.js b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/estraverse/gulpfile.js
new file mode 100644
index 0000000..8772bbc
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/estraverse/gulpfile.js
@@ -0,0 +1,70 @@
+/*
+ Copyright (C) 2014 Yusuke Suzuki
+
+ Redistribution and use in source and binary forms, with or without
+ modification, are permitted provided that the following conditions are met:
+
+ * Redistributions of source code must retain the above copyright
+ notice, this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright
+ notice, this list of conditions and the following disclaimer in the
+ documentation and/or other materials provided with the distribution.
+
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 'AS IS'
+ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ ARE DISCLAIMED. IN NO EVENT SHALL BE LIABLE FOR ANY
+ DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
+ (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
+ ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
+ THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+*/
+
+'use strict';
+
+var gulp = require('gulp'),
+ git = require('gulp-git'),
+ bump = require('gulp-bump'),
+ filter = require('gulp-filter'),
+ tagVersion = require('gulp-tag-version');
+
+var TEST = [ 'test/*.js' ];
+var POWERED = [ 'powered-test/*.js' ];
+var SOURCE = [ 'src/**/*.js' ];
+
+/**
+ * Bumping version number and tagging the repository with it.
+ * Please read http://semver.org/
+ *
+ * You can use the commands
+ *
+ * gulp patch # makes v0.1.0 -> v0.1.1
+ * gulp feature # makes v0.1.1 -> v0.2.0
+ * gulp release # makes v0.2.1 -> v1.0.0
+ *
+ * To bump the version numbers accordingly after you did a patch,
+ * introduced a feature or made a backwards-incompatible release.
+ */
+
+function inc(importance) {
+ // get all the files to bump version in
+ return gulp.src(['./package.json'])
+ // bump the version number in those files
+ .pipe(bump({type: importance}))
+ // save it back to filesystem
+ .pipe(gulp.dest('./'))
+ // commit the changed version number
+ .pipe(git.commit('Bumps package version'))
+ // read only one file to get the version number
+ .pipe(filter('package.json'))
+ // **tag it in the repository**
+ .pipe(tagVersion({
+ prefix: ''
+ }));
+}
+
+gulp.task('patch', [ ], function () { return inc('patch'); })
+gulp.task('minor', [ ], function () { return inc('minor'); })
+gulp.task('major', [ ], function () { return inc('major'); })
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/estraverse/package.json b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/estraverse/package.json
new file mode 100644
index 0000000..1138238
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/estraverse/package.json
@@ -0,0 +1,40 @@
+{
+ "name": "estraverse",
+ "description": "ECMAScript JS AST traversal functions",
+ "homepage": "https://github.com/estools/estraverse",
+ "main": "estraverse.js",
+ "version": "4.3.0",
+ "engines": {
+ "node": ">=4.0"
+ },
+ "maintainers": [
+ {
+ "name": "Yusuke Suzuki",
+ "email": "utatane.tea@gmail.com",
+ "web": "http://github.com/Constellation"
+ }
+ ],
+ "repository": {
+ "type": "git",
+ "url": "http://github.com/estools/estraverse.git"
+ },
+ "devDependencies": {
+ "babel-preset-env": "^1.6.1",
+ "babel-register": "^6.3.13",
+ "chai": "^2.1.1",
+ "espree": "^1.11.0",
+ "gulp": "^3.8.10",
+ "gulp-bump": "^0.2.2",
+ "gulp-filter": "^2.0.0",
+ "gulp-git": "^1.0.1",
+ "gulp-tag-version": "^1.3.0",
+ "jshint": "^2.5.6",
+ "mocha": "^2.1.0"
+ },
+ "license": "BSD-2-Clause",
+ "scripts": {
+ "test": "npm run-script lint && npm run-script unit-test",
+ "lint": "jshint estraverse.js",
+ "unit-test": "mocha --compilers js:babel-register"
+ }
+}
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/event-emitter/.lint b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/event-emitter/.lint
new file mode 100644
index 0000000..f76e528
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/event-emitter/.lint
@@ -0,0 +1,15 @@
+@root
+
+module
+es5
+
+indent 2
+maxlen 80
+tabs
+
+ass
+plusplus
+nomen
+
+./benchmark
+predef+ console
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/event-emitter/.npmignore b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/event-emitter/.npmignore
new file mode 100644
index 0000000..68ebfdd
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/event-emitter/.npmignore
@@ -0,0 +1,3 @@
+.DS_Store
+/.lintcache
+/node_modules
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/event-emitter/.testignore b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/event-emitter/.testignore
new file mode 100644
index 0000000..f9c8c38
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/event-emitter/.testignore
@@ -0,0 +1 @@
+/benchmark
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/event-emitter/.travis.yml b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/event-emitter/.travis.yml
new file mode 100644
index 0000000..5f29034
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/event-emitter/.travis.yml
@@ -0,0 +1,16 @@
+sudo: false # http://docs.travis-ci.com/user/workers/container-based-infrastructure/
+language: node_js
+node_js:
+ - 0.12
+ - 4
+ - 6
+ - 7
+
+before_install:
+ - mkdir node_modules; ln -s ../ node_modules/event-emitter
+
+notifications:
+ email:
+ - medikoo+event-emitter@medikoo.com
+
+script: "npm test && npm run lint"
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/event-emitter/CHANGES b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/event-emitter/CHANGES
new file mode 100644
index 0000000..3ac46ce
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/event-emitter/CHANGES
@@ -0,0 +1,73 @@
+v0.3.5 -- 2017.03.15
+* Improve documentation
+* Update dependencies
+
+v0.3.4 -- 2015.10.02
+* Add `emitError` extension
+
+v0.3.3 -- 2015.01.30
+* Fix reference to module in benchmarks
+
+v0.3.2 -- 2015.01.20
+* Improve documentation
+* Configure lint scripts
+* Fix spelling of LICENSE
+
+v0.3.1 -- 2014.04.25
+* Fix redefinition of emit method in `pipe`
+* Allow custom emit method name in `pipe`
+
+v0.3.0 -- 2014.04.24
+* Move out from lib folder
+* Do not expose all utilities on main module
+* Support objects which do not inherit from Object.prototype
+* Improve arguments validation
+* Improve internals
+* Remove Makefile
+* Improve documentation
+
+v0.2.2 -- 2013.06.05
+* `unify` functionality
+
+v0.2.1 -- 2012.09.21
+* hasListeners module
+* Simplified internal id (improves performance a little), now it starts with
+ underscore (hint it's private). Abstracted it to external module to have it
+ one place
+* Documentation cleanup
+
+v0.2.0 -- 2012.09.19
+* Trashed poor implementation of v0.1 and came up with something solid
+
+Changes:
+* Improved performance
+* Fixed bugs event-emitter is now cross-prototype safe and not affected by
+ unexpected methods attached to Object.prototype
+* Removed support for optional "emitter" argument in `emit` method, it was
+ cumbersome to use, and should be solved just with event objects
+
+v0.1.5 -- 2012.08.06
+* (maintanance) Do not use descriptors for internal objects, it exposes V8 bugs
+ (only Node v0.6 branch)
+
+v0.1.4 -- 2012.06.13
+* Fix detachment of listeners added with 'once'
+
+v0.1.3 -- 2012.05.28
+* Updated es5-ext to latest version (v0.8)
+* Cleared package.json so it's in npm friendly format
+
+v0.1.2 -- 2012.01.22
+* Support for emitter argument in emit function, this allows some listeners not
+ to be notified about event
+* allOff - removes all listeners from object
+* All methods returns self object
+* Internal fixes
+* Travis CI integration
+
+v0.1.1 -- 2011.08.08
+* Added TAD test suite to devDependencies, configured test commands.
+ Tests can be run with 'make test' or 'npm test'
+
+v0.1.0 -- 2011.08.08
+Initial version
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/event-emitter/LICENSE b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/event-emitter/LICENSE
new file mode 100644
index 0000000..ccb76f6
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/event-emitter/LICENSE
@@ -0,0 +1,19 @@
+Copyright (C) 2012-2015 Mariusz Nowak (www.medikoo.com)
+
+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.
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/event-emitter/README.md b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/event-emitter/README.md
new file mode 100644
index 0000000..0499054
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/event-emitter/README.md
@@ -0,0 +1,98 @@
+# event-emitter
+## Environment agnostic event emitter
+
+### Installation
+
+ $ npm install event-emitter
+
+To port it to Browser or any other (non CJS) environment, use your favorite CJS bundler. No favorite yet? Try: [Browserify](http://browserify.org/), [Webmake](https://github.com/medikoo/modules-webmake) or [Webpack](http://webpack.github.io/)
+
+### Usage
+
+```javascript
+var ee = require('event-emitter');
+
+var MyClass = function () { /* .. */ };
+ee(MyClass.prototype); // All instances of MyClass will expose event-emitter interface
+
+var emitter = new MyClass(), listener;
+
+emitter.on('test', listener = function (args) {
+ // … react to 'test' event
+});
+
+emitter.once('test', function (args) {
+ // … react to first 'test' event (invoked only once!)
+});
+
+emitter.emit('test', arg1, arg2/*…args*/); // Two above listeners invoked
+emitter.emit('test', arg1, arg2/*…args*/); // Only first listener invoked
+
+emitter.off('test', listener); // Removed first listener
+emitter.emit('test', arg1, arg2/*…args*/); // No listeners invoked
+```
+### Additional utilities
+
+#### allOff(obj) _(event-emitter/all-off)_
+
+Removes all listeners from given event emitter object
+
+#### hasListeners(obj[, name]) _(event-emitter/has-listeners)_
+
+Whether object has some listeners attached to the object.
+When `name` is provided, it checks listeners for specific event name
+
+```javascript
+var emitter = ee();
+var hasListeners = require('event-emitter/has-listeners');
+var listener = function () {};
+
+hasListeners(emitter); // false
+
+emitter.on('foo', listener);
+hasListeners(emitter); // true
+hasListeners(emitter, 'foo'); // true
+hasListeners(emitter, 'bar'); // false
+
+emitter.off('foo', listener);
+hasListeners(emitter, 'foo'); // false
+```
+
+#### pipe(source, target[, emitMethodName]) _(event-emitter/pipe)_
+
+Pipes all events from _source_ emitter onto _target_ emitter (all events from _source_ emitter will be emitted also on _target_ emitter, but not other way).
+Returns _pipe_ object which exposes `pipe.close` function. Invoke it to close configured _pipe_.
+It works internally by redefinition of `emit` method, if in your interface this method is referenced differently, provide its name (or symbol) with third argument.
+
+#### unify(emitter1, emitter2) _(event-emitter/unify)_
+
+Unifies event handling for two objects. Events emitted on _emitter1_ would be also emitted on _emitter2_, and other way back.
+Non reversible.
+
+```javascript
+var eeUnify = require('event-emitter/unify');
+
+var emitter1 = ee(), listener1, listener3;
+var emitter2 = ee(), listener2, listener4;
+
+emitter1.on('test', listener1 = function () { });
+emitter2.on('test', listener2 = function () { });
+
+emitter1.emit('test'); // Invoked listener1
+emitter2.emit('test'); // Invoked listener2
+
+var unify = eeUnify(emitter1, emitter2);
+
+emitter1.emit('test'); // Invoked listener1 and listener2
+emitter2.emit('test'); // Invoked listener1 and listener2
+
+emitter1.on('test', listener3 = function () { });
+emitter2.on('test', listener4 = function () { });
+
+emitter1.emit('test'); // Invoked listener1, listener2, listener3 and listener4
+emitter2.emit('test'); // Invoked listener1, listener2, listener3 and listener4
+```
+
+### Tests [![Build Status](https://travis-ci.org/medikoo/event-emitter.png)](https://travis-ci.org/medikoo/event-emitter)
+
+ $ npm test
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/event-emitter/all-off.js b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/event-emitter/all-off.js
new file mode 100644
index 0000000..829be65
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/event-emitter/all-off.js
@@ -0,0 +1,19 @@
+'use strict';
+
+var value = require('es5-ext/object/valid-object')
+
+ , hasOwnProperty = Object.prototype.hasOwnProperty;
+
+module.exports = function (emitter/*, type*/) {
+ var type = arguments[1], data;
+
+ value(emitter);
+
+ if (type !== undefined) {
+ data = hasOwnProperty.call(emitter, '__ee__') && emitter.__ee__;
+ if (!data) return;
+ if (data[type]) delete data[type];
+ return;
+ }
+ if (hasOwnProperty.call(emitter, '__ee__')) delete emitter.__ee__;
+};
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/event-emitter/benchmark/many-on.js b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/event-emitter/benchmark/many-on.js
new file mode 100644
index 0000000..e09bfde
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/event-emitter/benchmark/many-on.js
@@ -0,0 +1,83 @@
+'use strict';
+
+// Benchmark comparing performance of event emit for many listeners
+// To run it, do following in memoizee package path:
+//
+// $ npm install eventemitter2 signals
+// $ node benchmark/many-on.js
+
+var forEach = require('es5-ext/object/for-each')
+ , pad = require('es5-ext/string/#/pad')
+
+ , now = Date.now
+
+ , time, count = 1000000, i, data = {}
+ , ee, native, ee2, signals, a = {}, b = {};
+
+ee = (function () {
+ var ee = require('../')();
+ ee.on('test', function () { return arguments; });
+ ee.on('test', function () { return arguments; });
+ return ee.on('test', function () { return arguments; });
+}());
+
+native = (function () {
+ var ee = require('events');
+ ee = new ee.EventEmitter();
+ ee.on('test', function () { return arguments; });
+ ee.on('test', function () { return arguments; });
+ return ee.on('test', function () { return arguments; });
+}());
+
+ee2 = (function () {
+ var ee = require('eventemitter2');
+ ee = new ee.EventEmitter2();
+ ee.on('test', function () { return arguments; });
+ ee.on('test', function () { return arguments; });
+ return ee.on('test', function () { return arguments; });
+}());
+
+signals = (function () {
+ var Signal = require('signals')
+ , ee = { test: new Signal() };
+ ee.test.add(function () { return arguments; });
+ ee.test.add(function () { return arguments; });
+ ee.test.add(function () { return arguments; });
+ return ee;
+}());
+
+console.log("Emit for 3 listeners", "x" + count + ":\n");
+
+i = count;
+time = now();
+while (i--) {
+ ee.emit('test', a, b);
+}
+data["event-emitter (this implementation)"] = now() - time;
+
+i = count;
+time = now();
+while (i--) {
+ native.emit('test', a, b);
+}
+data["EventEmitter (Node.js native)"] = now() - time;
+
+i = count;
+time = now();
+while (i--) {
+ ee2.emit('test', a, b);
+}
+data.EventEmitter2 = now() - time;
+
+i = count;
+time = now();
+while (i--) {
+ signals.test.dispatch(a, b);
+}
+data.Signals = now() - time;
+
+forEach(data, function (value, name, obj, index) {
+ console.log(index + 1 + ":", pad.call(value, " ", 5), name);
+}, null, function (a, b) {
+ return this[a] - this[b];
+});
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/event-emitter/benchmark/single-on.js b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/event-emitter/benchmark/single-on.js
new file mode 100644
index 0000000..99decbd
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/event-emitter/benchmark/single-on.js
@@ -0,0 +1,73 @@
+'use strict';
+
+// Benchmark comparing performance of event emit for single listener
+// To run it, do following in memoizee package path:
+//
+// $ npm install eventemitter2 signals
+// $ node benchmark/single-on.js
+
+var forEach = require('es5-ext/object/for-each')
+ , pad = require('es5-ext/string/#/pad')
+
+ , now = Date.now
+
+ , time, count = 1000000, i, data = {}
+ , ee, native, ee2, signals, a = {}, b = {};
+
+ee = (function () {
+ var ee = require('../');
+ return ee().on('test', function () { return arguments; });
+}());
+
+native = (function () {
+ var ee = require('events');
+ return (new ee.EventEmitter()).on('test', function () { return arguments; });
+}());
+
+ee2 = (function () {
+ var ee = require('eventemitter2');
+ return (new ee.EventEmitter2()).on('test', function () { return arguments; });
+}());
+
+signals = (function () {
+ var Signal = require('signals')
+ , ee = { test: new Signal() };
+ ee.test.add(function () { return arguments; });
+ return ee;
+}());
+
+console.log("Emit for single listener", "x" + count + ":\n");
+
+i = count;
+time = now();
+while (i--) {
+ ee.emit('test', a, b);
+}
+data["event-emitter (this implementation)"] = now() - time;
+
+i = count;
+time = now();
+while (i--) {
+ native.emit('test', a, b);
+}
+data["EventEmitter (Node.js native)"] = now() - time;
+
+i = count;
+time = now();
+while (i--) {
+ ee2.emit('test', a, b);
+}
+data.EventEmitter2 = now() - time;
+
+i = count;
+time = now();
+while (i--) {
+ signals.test.dispatch(a, b);
+}
+data.Signals = now() - time;
+
+forEach(data, function (value, name, obj, index) {
+ console.log(index + 1 + ":", pad.call(value, " ", 5), name);
+}, null, function (a, b) {
+ return this[a] - this[b];
+});
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/event-emitter/emit-error.js b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/event-emitter/emit-error.js
new file mode 100644
index 0000000..769b4c5
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/event-emitter/emit-error.js
@@ -0,0 +1,13 @@
+'use strict';
+
+var ensureError = require('es5-ext/error/valid-error')
+ , ensureObject = require('es5-ext/object/valid-object')
+
+ , hasOwnProperty = Object.prototype.hasOwnProperty;
+
+module.exports = function (err) {
+ (ensureObject(this) && ensureError(err));
+ if (!hasOwnProperty.call(ensureObject(this), '__ee__')) throw err;
+ if (!this.__ee__.error) throw err;
+ this.emit('error', err);
+};
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/event-emitter/has-listeners.js b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/event-emitter/has-listeners.js
new file mode 100644
index 0000000..8744522
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/event-emitter/has-listeners.js
@@ -0,0 +1,16 @@
+'use strict';
+
+var isEmpty = require('es5-ext/object/is-empty')
+ , value = require('es5-ext/object/valid-value')
+
+ , hasOwnProperty = Object.prototype.hasOwnProperty;
+
+module.exports = function (obj/*, type*/) {
+ var type;
+ value(obj);
+ type = arguments[1];
+ if (arguments.length > 1) {
+ return hasOwnProperty.call(obj, '__ee__') && Boolean(obj.__ee__[type]);
+ }
+ return obj.hasOwnProperty('__ee__') && !isEmpty(obj.__ee__);
+};
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/event-emitter/index.js b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/event-emitter/index.js
new file mode 100644
index 0000000..c36d3e4
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/event-emitter/index.js
@@ -0,0 +1,132 @@
+'use strict';
+
+var d = require('d')
+ , callable = require('es5-ext/object/valid-callable')
+
+ , apply = Function.prototype.apply, call = Function.prototype.call
+ , create = Object.create, defineProperty = Object.defineProperty
+ , defineProperties = Object.defineProperties
+ , hasOwnProperty = Object.prototype.hasOwnProperty
+ , descriptor = { configurable: true, enumerable: false, writable: true }
+
+ , on, once, off, emit, methods, descriptors, base;
+
+on = function (type, listener) {
+ var data;
+
+ callable(listener);
+
+ if (!hasOwnProperty.call(this, '__ee__')) {
+ data = descriptor.value = create(null);
+ defineProperty(this, '__ee__', descriptor);
+ descriptor.value = null;
+ } else {
+ data = this.__ee__;
+ }
+ if (!data[type]) data[type] = listener;
+ else if (typeof data[type] === 'object') data[type].push(listener);
+ else data[type] = [data[type], listener];
+
+ return this;
+};
+
+once = function (type, listener) {
+ var once, self;
+
+ callable(listener);
+ self = this;
+ on.call(this, type, once = function () {
+ off.call(self, type, once);
+ apply.call(listener, this, arguments);
+ });
+
+ once.__eeOnceListener__ = listener;
+ return this;
+};
+
+off = function (type, listener) {
+ var data, listeners, candidate, i;
+
+ callable(listener);
+
+ if (!hasOwnProperty.call(this, '__ee__')) return this;
+ data = this.__ee__;
+ if (!data[type]) return this;
+ listeners = data[type];
+
+ if (typeof listeners === 'object') {
+ for (i = 0; (candidate = listeners[i]); ++i) {
+ if ((candidate === listener) ||
+ (candidate.__eeOnceListener__ === listener)) {
+ if (listeners.length === 2) data[type] = listeners[i ? 0 : 1];
+ else listeners.splice(i, 1);
+ }
+ }
+ } else {
+ if ((listeners === listener) ||
+ (listeners.__eeOnceListener__ === listener)) {
+ delete data[type];
+ }
+ }
+
+ return this;
+};
+
+emit = function (type) {
+ var i, l, listener, listeners, args;
+
+ if (!hasOwnProperty.call(this, '__ee__')) return;
+ listeners = this.__ee__[type];
+ if (!listeners) return;
+
+ if (typeof listeners === 'object') {
+ l = arguments.length;
+ args = new Array(l - 1);
+ for (i = 1; i < l; ++i) args[i - 1] = arguments[i];
+
+ listeners = listeners.slice();
+ for (i = 0; (listener = listeners[i]); ++i) {
+ apply.call(listener, this, args);
+ }
+ } else {
+ switch (arguments.length) {
+ case 1:
+ call.call(listeners, this);
+ break;
+ case 2:
+ call.call(listeners, this, arguments[1]);
+ break;
+ case 3:
+ call.call(listeners, this, arguments[1], arguments[2]);
+ break;
+ default:
+ l = arguments.length;
+ args = new Array(l - 1);
+ for (i = 1; i < l; ++i) {
+ args[i - 1] = arguments[i];
+ }
+ apply.call(listeners, this, args);
+ }
+ }
+};
+
+methods = {
+ on: on,
+ once: once,
+ off: off,
+ emit: emit
+};
+
+descriptors = {
+ on: d(on),
+ once: d(once),
+ off: d(off),
+ emit: d(emit)
+};
+
+base = defineProperties({}, descriptors);
+
+module.exports = exports = function (o) {
+ return (o == null) ? create(base) : defineProperties(Object(o), descriptors);
+};
+exports.methods = methods;
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/event-emitter/package.json b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/event-emitter/package.json
new file mode 100644
index 0000000..8784036
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/event-emitter/package.json
@@ -0,0 +1,34 @@
+{
+ "name": "event-emitter",
+ "version": "0.3.5",
+ "description": "Environment agnostic event emitter",
+ "author": "Mariusz Nowak (http://www.medikoo.com/)",
+ "keywords": [
+ "event",
+ "events",
+ "trigger",
+ "observer",
+ "listener",
+ "emitter",
+ "pubsub"
+ ],
+ "repository": {
+ "type": "git",
+ "url": "git://github.com/medikoo/event-emitter.git"
+ },
+ "dependencies": {
+ "es5-ext": "~0.10.14",
+ "d": "1"
+ },
+ "devDependencies": {
+ "tad": "~0.2.7",
+ "xlint": "~0.2.2",
+ "xlint-jslint-medikoo": "~0.1.4"
+ },
+ "scripts": {
+ "lint": "node node_modules/xlint/bin/xlint --linter=node_modules/xlint-jslint-medikoo/index.js --no-cache --no-stream",
+ "lint-console": "node node_modules/xlint/bin/xlint --linter=node_modules/xlint-jslint-medikoo/index.js --watch",
+ "test": "node ./node_modules/tad/bin/tad"
+ },
+ "license": "MIT"
+}
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/event-emitter/pipe.js b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/event-emitter/pipe.js
new file mode 100644
index 0000000..0088efe
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/event-emitter/pipe.js
@@ -0,0 +1,42 @@
+'use strict';
+
+var aFrom = require('es5-ext/array/from')
+ , remove = require('es5-ext/array/#/remove')
+ , value = require('es5-ext/object/valid-object')
+ , d = require('d')
+ , emit = require('./').methods.emit
+
+ , defineProperty = Object.defineProperty
+ , hasOwnProperty = Object.prototype.hasOwnProperty
+ , getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
+
+module.exports = function (e1, e2/*, name*/) {
+ var pipes, pipe, desc, name;
+
+ (value(e1) && value(e2));
+ name = arguments[2];
+ if (name === undefined) name = 'emit';
+
+ pipe = {
+ close: function () { remove.call(pipes, e2); }
+ };
+ if (hasOwnProperty.call(e1, '__eePipes__')) {
+ (pipes = e1.__eePipes__).push(e2);
+ return pipe;
+ }
+ defineProperty(e1, '__eePipes__', d('c', pipes = [e2]));
+ desc = getOwnPropertyDescriptor(e1, name);
+ if (!desc) {
+ desc = d('c', undefined);
+ } else {
+ delete desc.get;
+ delete desc.set;
+ }
+ desc.value = function () {
+ var i, emitter, data = aFrom(pipes);
+ emit.apply(this, arguments);
+ for (i = 0; (emitter = data[i]); ++i) emit.apply(emitter, arguments);
+ };
+ defineProperty(e1, name, desc);
+ return pipe;
+};
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/event-emitter/test/all-off.js b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/event-emitter/test/all-off.js
new file mode 100644
index 0000000..8aa872e
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/event-emitter/test/all-off.js
@@ -0,0 +1,48 @@
+'use strict';
+
+var ee = require('../');
+
+module.exports = function (t, a) {
+ var x, count, count2;
+
+ x = ee();
+ count = 0;
+ count2 = 0;
+ x.on('foo', function () {
+ ++count;
+ });
+ x.on('foo', function () {
+ ++count;
+ });
+ x.on('bar', function () {
+ ++count2;
+ });
+ x.on('bar', function () {
+ ++count2;
+ });
+ t(x, 'foo');
+ x.emit('foo');
+ x.emit('bar');
+ a(count, 0, "All off: type");
+ a(count2, 2, "All off: ohter type");
+
+ count = 0;
+ count2 = 0;
+ x.on('foo', function () {
+ ++count;
+ });
+ x.on('foo', function () {
+ ++count;
+ });
+ x.on('bar', function () {
+ ++count2;
+ });
+ x.on('bar', function () {
+ ++count2;
+ });
+ t(x);
+ x.emit('foo');
+ x.emit('bar');
+ a(count, 0, "All off: type");
+ a(count2, 0, "All off: other type");
+};
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/event-emitter/test/emit-error.js b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/event-emitter/test/emit-error.js
new file mode 100644
index 0000000..edac350
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/event-emitter/test/emit-error.js
@@ -0,0 +1,14 @@
+'use strict';
+
+var customError = require('es5-ext/error/custom')
+ , ee = require('../');
+
+module.exports = function (t, a) {
+ var x, error = customError('Some error', 'ERROR_TEST'), emitted;
+
+ x = ee();
+ a.throws(function () { t.call(x, error); }, 'ERROR_TEST');
+ x.on('error', function (err) { emitted = err; });
+ t.call(x, error);
+ a(emitted, error);
+};
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/event-emitter/test/has-listeners.js b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/event-emitter/test/has-listeners.js
new file mode 100644
index 0000000..875b048
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/event-emitter/test/has-listeners.js
@@ -0,0 +1,42 @@
+'use strict';
+
+var ee = require('../');
+
+module.exports = function (t) {
+ var x, y;
+ return {
+ Any: function (a) {
+ a(t(true), false, "Primitive");
+ a(t({ events: [] }), false, "Other object");
+ a(t(x = ee()), false, "Emitter: empty");
+
+ x.on('test', y = function () {});
+ a(t(x), true, "Emitter: full");
+ x.off('test', y);
+ a(t(x), false, "Emitter: empty but touched");
+ x.once('test', y = function () {});
+ a(t(x), true, "Emitter: full: Once");
+ x.off('test', y);
+ a(t(x), false, "Emitter: empty but touched by once");
+ },
+ Specific: function (a) {
+ a(t(true, 'test'), false, "Primitive");
+ a(t({ events: [] }, 'test'), false, "Other object");
+ a(t(x = ee(), 'test'), false, "Emitter: empty");
+
+ x.on('test', y = function () {});
+ a(t(x, 'test'), true, "Emitter: full");
+ a(t(x, 'foo'), false, "Emitter: full, other event");
+ x.off('test', y);
+ a(t(x, 'test'), false, "Emitter: empty but touched");
+ a(t(x, 'foo'), false, "Emitter: empty but touched, other event");
+
+ x.once('test', y = function () {});
+ a(t(x, 'test'), true, "Emitter: full: Once");
+ a(t(x, 'foo'), false, "Emitter: full: Once, other event");
+ x.off('test', y);
+ a(t(x, 'test'), false, "Emitter: empty but touched by once");
+ a(t(x, 'foo'), false, "Emitter: empty but touched by once, other event");
+ }
+ };
+};
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/event-emitter/test/index.js b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/event-emitter/test/index.js
new file mode 100644
index 0000000..c7c3f24
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/event-emitter/test/index.js
@@ -0,0 +1,107 @@
+'use strict';
+
+module.exports = function (t, a) {
+ var x = t(), y, count, count2, count3, count4, test, listener1, listener2;
+
+ x.emit('none');
+
+ test = "Once: ";
+ count = 0;
+ x.once('foo', function (a1, a2, a3) {
+ a(this, x, test + "Context");
+ a.deep([a1, a2, a3], ['foo', x, 15], test + "Arguments");
+ ++count;
+ });
+
+ x.emit('foobar');
+ a(count, 0, test + "Not invoked on other event");
+ x.emit('foo', 'foo', x, 15);
+ a(count, 1, test + "Emitted");
+ x.emit('foo');
+ a(count, 1, test + "Emitted once");
+
+ test = "On & Once: ";
+ count = 0;
+ x.on('foo', listener1 = function (a1, a2, a3) {
+ a(this, x, test + "Context");
+ a.deep([a1, a2, a3], ['foo', x, 15], test + "Arguments");
+ ++count;
+ });
+ count2 = 0;
+ x.once('foo', listener2 = function (a1, a2, a3) {
+ a(this, x, test + "Context");
+ a.deep([a1, a2, a3], ['foo', x, 15], test + "Arguments");
+ ++count2;
+ });
+
+ x.emit('foobar');
+ a(count, 0, test + "Not invoked on other event");
+ x.emit('foo', 'foo', x, 15);
+ a(count, 1, test + "Emitted");
+ x.emit('foo', 'foo', x, 15);
+ a(count, 2, test + "Emitted twice");
+ a(count2, 1, test + "Emitted once");
+ x.off('foo', listener1);
+ x.emit('foo');
+ a(count, 2, test + "Not emitter after off");
+
+ count = 0;
+ x.once('foo', listener1 = function () { ++count; });
+
+ x.off('foo', listener1);
+ x.emit('foo');
+ a(count, 0, "Once Off: Not emitted");
+
+ count = 0;
+ x.on('foo', listener2 = function () {});
+ x.once('foo', listener1 = function () { ++count; });
+
+ x.off('foo', listener1);
+ x.emit('foo');
+ a(count, 0, "Once Off (multi): Not emitted");
+ x.off('foo', listener2);
+
+ test = "Prototype Share: ";
+
+ y = Object.create(x);
+
+ count = 0;
+ count2 = 0;
+ count3 = 0;
+ count4 = 0;
+ x.on('foo', function () {
+ ++count;
+ });
+ y.on('foo', function () {
+ ++count2;
+ });
+ x.once('foo', function () {
+ ++count3;
+ });
+ y.once('foo', function () {
+ ++count4;
+ });
+ x.emit('foo');
+ a(count, 1, test + "x on count");
+ a(count2, 0, test + "y on count");
+ a(count3, 1, test + "x once count");
+ a(count4, 0, test + "y once count");
+
+ y.emit('foo');
+ a(count, 1, test + "x on count");
+ a(count2, 1, test + "y on count");
+ a(count3, 1, test + "x once count");
+ a(count4, 1, test + "y once count");
+
+ x.emit('foo');
+ a(count, 2, test + "x on count");
+ a(count2, 1, test + "y on count");
+ a(count3, 1, test + "x once count");
+ a(count4, 1, test + "y once count");
+
+ y.emit('foo');
+ a(count, 2, test + "x on count");
+ a(count2, 2, test + "y on count");
+ a(count3, 1, test + "x once count");
+ a(count4, 1, test + "y once count");
+};
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/event-emitter/test/pipe.js b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/event-emitter/test/pipe.js
new file mode 100644
index 0000000..9d15d6d
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/event-emitter/test/pipe.js
@@ -0,0 +1,53 @@
+'use strict';
+
+var ee = require('../');
+
+module.exports = function (t, a) {
+ var x = {}, y = {}, z = {}, count, count2, count3, pipe;
+
+ ee(x);
+ x = Object.create(x);
+ ee(y);
+ ee(z);
+
+ count = 0;
+ count2 = 0;
+ count3 = 0;
+ x.on('foo', function () {
+ ++count;
+ });
+ y.on('foo', function () {
+ ++count2;
+ });
+ z.on('foo', function () {
+ ++count3;
+ });
+
+ x.emit('foo');
+ a(count, 1, "Pre pipe, x");
+ a(count2, 0, "Pre pipe, y");
+ a(count3, 0, "Pre pipe, z");
+
+ pipe = t(x, y);
+ x.emit('foo');
+ a(count, 2, "Post pipe, x");
+ a(count2, 1, "Post pipe, y");
+ a(count3, 0, "Post pipe, z");
+
+ y.emit('foo');
+ a(count, 2, "Post pipe, on y, x");
+ a(count2, 2, "Post pipe, on y, y");
+ a(count3, 0, "Post pipe, on y, z");
+
+ t(x, z);
+ x.emit('foo');
+ a(count, 3, "Post pipe z, x");
+ a(count2, 3, "Post pipe z, y");
+ a(count3, 1, "Post pipe z, z");
+
+ pipe.close();
+ x.emit('foo');
+ a(count, 4, "Close pipe y, x");
+ a(count2, 3, "Close pipe y, y");
+ a(count3, 2, "Close pipe y, z");
+};
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/event-emitter/test/unify.js b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/event-emitter/test/unify.js
new file mode 100644
index 0000000..69295e0
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/event-emitter/test/unify.js
@@ -0,0 +1,123 @@
+'use strict';
+
+var ee = require('../');
+
+module.exports = function (t) {
+
+ return {
+ "": function (a) {
+ var x = {}, y = {}, z = {}, count, count2, count3;
+
+ ee(x);
+ ee(y);
+ ee(z);
+
+ count = 0;
+ count2 = 0;
+ count3 = 0;
+ x.on('foo', function () { ++count; });
+ y.on('foo', function () { ++count2; });
+ z.on('foo', function () { ++count3; });
+
+ x.emit('foo');
+ a(count, 1, "Pre unify, x");
+ a(count2, 0, "Pre unify, y");
+ a(count3, 0, "Pre unify, z");
+
+ t(x, y);
+ a(x.__ee__, y.__ee__, "Post unify y");
+ x.emit('foo');
+ a(count, 2, "Post unify, x");
+ a(count2, 1, "Post unify, y");
+ a(count3, 0, "Post unify, z");
+
+ y.emit('foo');
+ a(count, 3, "Post unify, on y, x");
+ a(count2, 2, "Post unify, on y, y");
+ a(count3, 0, "Post unify, on y, z");
+
+ t(x, z);
+ a(x.__ee__, x.__ee__, "Post unify z");
+ x.emit('foo');
+ a(count, 4, "Post unify z, x");
+ a(count2, 3, "Post unify z, y");
+ a(count3, 1, "Post unify z, z");
+ },
+ "On empty": function (a) {
+ var x = {}, y = {}, z = {}, count, count2, count3;
+
+ ee(x);
+ ee(y);
+ ee(z);
+
+ count = 0;
+ count2 = 0;
+ count3 = 0;
+ y.on('foo', function () { ++count2; });
+ x.emit('foo');
+ a(count, 0, "Pre unify, x");
+ a(count2, 0, "Pre unify, y");
+ a(count3, 0, "Pre unify, z");
+
+ t(x, y);
+ a(x.__ee__, y.__ee__, "Post unify y");
+ x.on('foo', function () { ++count; });
+ x.emit('foo');
+ a(count, 1, "Post unify, x");
+ a(count2, 1, "Post unify, y");
+ a(count3, 0, "Post unify, z");
+
+ y.emit('foo');
+ a(count, 2, "Post unify, on y, x");
+ a(count2, 2, "Post unify, on y, y");
+ a(count3, 0, "Post unify, on y, z");
+
+ t(x, z);
+ a(x.__ee__, z.__ee__, "Post unify z");
+ z.on('foo', function () { ++count3; });
+ x.emit('foo');
+ a(count, 3, "Post unify z, x");
+ a(count2, 3, "Post unify z, y");
+ a(count3, 1, "Post unify z, z");
+ },
+ Many: function (a) {
+ var x = {}, y = {}, z = {}, count, count2, count3;
+
+ ee(x);
+ ee(y);
+ ee(z);
+
+ count = 0;
+ count2 = 0;
+ count3 = 0;
+ x.on('foo', function () { ++count; });
+ y.on('foo', function () { ++count2; });
+ y.on('foo', function () { ++count2; });
+ z.on('foo', function () { ++count3; });
+
+ x.emit('foo');
+ a(count, 1, "Pre unify, x");
+ a(count2, 0, "Pre unify, y");
+ a(count3, 0, "Pre unify, z");
+
+ t(x, y);
+ a(x.__ee__, y.__ee__, "Post unify y");
+ x.emit('foo');
+ a(count, 2, "Post unify, x");
+ a(count2, 2, "Post unify, y");
+ a(count3, 0, "Post unify, z");
+
+ y.emit('foo');
+ a(count, 3, "Post unify, on y, x");
+ a(count2, 4, "Post unify, on y, y");
+ a(count3, 0, "Post unify, on y, z");
+
+ t(x, z);
+ a(x.__ee__, x.__ee__, "Post unify z");
+ x.emit('foo');
+ a(count, 4, "Post unify z, x");
+ a(count2, 6, "Post unify z, y");
+ a(count3, 1, "Post unify z, z");
+ }
+ };
+};
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/event-emitter/unify.js b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/event-emitter/unify.js
new file mode 100644
index 0000000..c6a858a
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/event-emitter/unify.js
@@ -0,0 +1,50 @@
+'use strict';
+
+var forEach = require('es5-ext/object/for-each')
+ , validValue = require('es5-ext/object/valid-object')
+
+ , push = Array.prototype.apply, defineProperty = Object.defineProperty
+ , create = Object.create, hasOwnProperty = Object.prototype.hasOwnProperty
+ , d = { configurable: true, enumerable: false, writable: true };
+
+module.exports = function (e1, e2) {
+ var data;
+ (validValue(e1) && validValue(e2));
+ if (!hasOwnProperty.call(e1, '__ee__')) {
+ if (!hasOwnProperty.call(e2, '__ee__')) {
+ d.value = create(null);
+ defineProperty(e1, '__ee__', d);
+ defineProperty(e2, '__ee__', d);
+ d.value = null;
+ return;
+ }
+ d.value = e2.__ee__;
+ defineProperty(e1, '__ee__', d);
+ d.value = null;
+ return;
+ }
+ data = d.value = e1.__ee__;
+ if (!hasOwnProperty.call(e2, '__ee__')) {
+ defineProperty(e2, '__ee__', d);
+ d.value = null;
+ return;
+ }
+ if (data === e2.__ee__) return;
+ forEach(e2.__ee__, function (listener, name) {
+ if (!data[name]) {
+ data[name] = listener;
+ return;
+ }
+ if (typeof data[name] === 'object') {
+ if (typeof listener === 'object') push.apply(data[name], listener);
+ else data[name].push(listener);
+ } else if (typeof listener === 'object') {
+ listener.unshift(data[name]);
+ data[name] = listener;
+ } else {
+ data[name] = [data[name], listener];
+ }
+ });
+ defineProperty(e2, '__ee__', d);
+ d.value = null;
+};
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/events/.airtap.yml b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/events/.airtap.yml
new file mode 100644
index 0000000..c7a8a87
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/events/.airtap.yml
@@ -0,0 +1,15 @@
+sauce_connect: true
+loopback: airtap.local
+browsers:
+ - name: chrome
+ version: latest
+ - name: firefox
+ version: latest
+ - name: safari
+ version: 9..latest
+ - name: iphone
+ version: latest
+ - name: ie
+ version: 9..latest
+ - name: microsoftedge
+ version: 13..latest
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/events/.github/FUNDING.yml b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/events/.github/FUNDING.yml
new file mode 100644
index 0000000..8b8cb78
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/events/.github/FUNDING.yml
@@ -0,0 +1,12 @@
+# These are supported funding model platforms
+
+github: # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2]
+patreon: # Replace with a single Patreon username
+open_collective: # Replace with a single Open Collective username
+ko_fi: # Replace with a single Ko-fi username
+tidelift: npm/events
+community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry
+liberapay: # Replace with a single Liberapay username
+issuehunt: # Replace with a single IssueHunt username
+otechie: # Replace with a single Otechie username
+custom: # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2']
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/events/.travis.yml b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/events/.travis.yml
new file mode 100644
index 0000000..486dc3c
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/events/.travis.yml
@@ -0,0 +1,18 @@
+dist: xenial
+os: linux
+language: node_js
+node_js:
+ - 'stable'
+ - 'lts/*'
+ - '0.12'
+script:
+ - npm test
+ - if [ "${TRAVIS_PULL_REQUEST}" = "false" ] && [ "${TRAVIS_NODE_VERSION}" = "stable" ]; then npm run test:browsers; fi
+addons:
+ sauce_connect: true
+ hosts:
+ - airtap.local
+env:
+ global:
+ - secure: XcBiD8yReflut9q7leKsigDZ0mI3qTKH+QrNVY8DaqlomJOZw8aOrVuX9Jz12l86ZJ41nbxmKnRNkFzcVr9mbP9YaeTb3DpeOBWmvaoSfud9Wnc16VfXtc1FCcwDhSVcSiM3UtnrmFU5cH+Dw1LPh5PbfylYOS/nJxUvG0FFLqI=
+ - secure: jNWtEbqhUdQ0xXDHvCYfUbKYeJCi6a7B4LsrcxYCyWWn4NIgncE5x2YbB+FSUUFVYfz0dsn5RKP1oHB99f0laUEo18HBNkrAS/rtyOdVzcpJjbQ6kgSILGjnJD/Ty1B57Rcz3iyev5Y7bLZ6Y1FbDnk/i9/l0faOGz8vTC3Vdkc=
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/events/History.md b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/events/History.md
new file mode 100644
index 0000000..f48bf21
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/events/History.md
@@ -0,0 +1,118 @@
+# 3.3.0
+
+ - Support EventTarget emitters in `events.once` from Node.js 12.11.0.
+
+ Now you can use the `events.once` function with objects that implement the EventTarget interface. This interface is used widely in
+ the DOM and other web APIs.
+
+ ```js
+ var events = require('events');
+ var assert = require('assert');
+
+ async function connect() {
+ var ws = new WebSocket('wss://example.com');
+ await events.once(ws, 'open');
+ assert(ws.readyState === WebSocket.OPEN);
+ }
+
+ async function onClick() {
+ await events.once(document.body, 'click');
+ alert('you clicked the page!');
+ }
+ ```
+
+# 3.2.0
+
+ - Add `events.once` from Node.js 11.13.0.
+
+ To use this function, Promises must be supported in the environment. Use a polyfill like `es6-promise` if you support older browsers.
+
+# 3.1.0 (2020-01-08)
+
+`events` now matches the Node.js 11.12.0 API.
+
+ - pass through return value in wrapped `emitter.once()` listeners
+
+ Now, this works:
+ ```js
+ emitter.once('myevent', function () { return 1; });
+ var listener = emitter.rawListeners('myevent')[0]
+ assert(listener() === 1);
+ ```
+ Previously, `listener()` would return undefined regardless of the implementation.
+
+ Ported from https://github.com/nodejs/node/commit/acc506c2d2771dab8d7bba6d3452bc5180dff7cf
+
+ - Reduce code duplication in listener type check ([#67](https://github.com/Gozala/events/pull/67) by [@friederbluemle](https://github.com/friederbluemle)).
+ - Improve `emitter.once()` performance in some engines
+
+# 3.0.0 (2018-05-25)
+
+**This version drops support for IE8.** `events` no longer includes polyfills
+for ES5 features. If you need to support older environments, use an ES5 shim
+like [es5-shim](https://npmjs.com/package/es5-shim). Both the shim and sham
+versions of es5-shim are necessary.
+
+ - Update to events code from Node.js 10.x
+ - (semver major) Adds `off()` method
+ - Port more tests from Node.js
+ - Switch browser tests to airtap, making things more reliable
+
+# 2.1.0 (2018-05-25)
+
+ - add Emitter#rawListeners from Node.js v9.4
+
+# 2.0.0 (2018-02-02)
+
+ - Update to events code from node.js 8.x
+ - Adds `prependListener()` and `prependOnceListener()`
+ - Adds `eventNames()` method
+ - (semver major) Unwrap `once()` listeners in `listeners()`
+ - copy tests from node.js
+
+Note that this version doubles the gzipped size, jumping from 1.1KB to 2.1KB,
+due to new methods and runtime performance improvements. Be aware of that when
+upgrading.
+
+# 1.1.1 (2016-06-22)
+
+ - add more context to errors if they are not instanceof Error
+
+# 1.1.0 (2015-09-29)
+
+ - add Emitter#listerCount (to match node v4 api)
+
+# 1.0.2 (2014-08-28)
+
+ - remove un-reachable code
+ - update devDeps
+
+## 1.0.1 / 2014-05-11
+
+ - check for console.trace before using it
+
+## 1.0.0 / 2013-12-10
+
+ - Update to latest events code from node.js 0.10
+ - copy tests from node.js
+
+## 0.4.0 / 2011-07-03 ##
+
+ - Switching to graphquire@0.8.0
+
+## 0.3.0 / 2011-07-03 ##
+
+ - Switching to URL based module require.
+
+## 0.2.0 / 2011-06-10 ##
+
+ - Simplified package structure.
+ - Graphquire for dependency management.
+
+## 0.1.1 / 2011-05-16 ##
+
+ - Unhandled errors are logged via console.error
+
+## 0.1.0 / 2011-04-22 ##
+
+ - Initial release
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/events/LICENSE b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/events/LICENSE
new file mode 100644
index 0000000..52ed3b0
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/events/LICENSE
@@ -0,0 +1,22 @@
+MIT
+
+Copyright Joyent, Inc. and other Node 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.
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/events/Readme.md b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/events/Readme.md
new file mode 100644
index 0000000..80849c0
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/events/Readme.md
@@ -0,0 +1,50 @@
+# events [![Build Status](https://travis-ci.org/Gozala/events.png?branch=master)](https://travis-ci.org/Gozala/events)
+
+> Node's event emitter for all engines.
+
+This implements the Node.js [`events`][node.js docs] module for environments that do not have it, like browsers.
+
+> `events` currently matches the **Node.js 11.13.0** API.
+
+Note that the `events` module uses ES5 features. If you need to support very old browsers like IE8, use a shim like [`es5-shim`](https://www.npmjs.com/package/es5-shim). You need both the shim and the sham versions of `es5-shim`.
+
+This module is maintained, but only by very few people. If you'd like to help, let us know in the [Maintainer Needed](https://github.com/Gozala/events/issues/43) issue!
+
+## Install
+
+You usually do not have to install `events` yourself! If your code runs in Node.js, `events` is built in. If your code runs in the browser, bundlers like [browserify](https://github.com/browserify/browserify) or [webpack](https://github.com/webpack/webpack) also include the `events` module.
+
+But if none of those apply, with npm do:
+
+```
+npm install events
+```
+
+## Usage
+
+```javascript
+var EventEmitter = require('events')
+
+var ee = new EventEmitter()
+ee.on('message', function (text) {
+ console.log(text)
+})
+ee.emit('message', 'hello world')
+```
+
+## API
+
+See the [Node.js EventEmitter docs][node.js docs]. `events` currently matches the Node.js 11.13.0 API.
+
+## Contributing
+
+PRs are very welcome! The main way to contribute to `events` is by porting features, bugfixes and tests from Node.js. Ideally, code contributions to this module are copy-pasted from Node.js and transpiled to ES5, rather than reimplemented from scratch. Matching the Node.js code as closely as possible makes maintenance simpler when new changes land in Node.js.
+This module intends to provide exactly the same API as Node.js, so features that are not available in the core `events` module will not be accepted. Feature requests should instead be directed at [nodejs/node](https://github.com/nodejs/node) and will be added to this module once they are implemented in Node.js.
+
+If there is a difference in behaviour between Node.js's `events` module and this module, please open an issue!
+
+## License
+
+[MIT](./LICENSE)
+
+[node.js docs]: https://nodejs.org/dist/v11.13.0/docs/api/events.html
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/events/events.js b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/events/events.js
new file mode 100644
index 0000000..34b69a0
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/events/events.js
@@ -0,0 +1,497 @@
+// Copyright Joyent, Inc. and other Node 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.
+
+'use strict';
+
+var R = typeof Reflect === 'object' ? Reflect : null
+var ReflectApply = R && typeof R.apply === 'function'
+ ? R.apply
+ : function ReflectApply(target, receiver, args) {
+ return Function.prototype.apply.call(target, receiver, args);
+ }
+
+var ReflectOwnKeys
+if (R && typeof R.ownKeys === 'function') {
+ ReflectOwnKeys = R.ownKeys
+} else if (Object.getOwnPropertySymbols) {
+ ReflectOwnKeys = function ReflectOwnKeys(target) {
+ return Object.getOwnPropertyNames(target)
+ .concat(Object.getOwnPropertySymbols(target));
+ };
+} else {
+ ReflectOwnKeys = function ReflectOwnKeys(target) {
+ return Object.getOwnPropertyNames(target);
+ };
+}
+
+function ProcessEmitWarning(warning) {
+ if (console && console.warn) console.warn(warning);
+}
+
+var NumberIsNaN = Number.isNaN || function NumberIsNaN(value) {
+ return value !== value;
+}
+
+function EventEmitter() {
+ EventEmitter.init.call(this);
+}
+module.exports = EventEmitter;
+module.exports.once = once;
+
+// Backwards-compat with node 0.10.x
+EventEmitter.EventEmitter = EventEmitter;
+
+EventEmitter.prototype._events = undefined;
+EventEmitter.prototype._eventsCount = 0;
+EventEmitter.prototype._maxListeners = undefined;
+
+// By default EventEmitters will print a warning if more than 10 listeners are
+// added to it. This is a useful default which helps finding memory leaks.
+var defaultMaxListeners = 10;
+
+function checkListener(listener) {
+ if (typeof listener !== 'function') {
+ throw new TypeError('The "listener" argument must be of type Function. Received type ' + typeof listener);
+ }
+}
+
+Object.defineProperty(EventEmitter, 'defaultMaxListeners', {
+ enumerable: true,
+ get: function() {
+ return defaultMaxListeners;
+ },
+ set: function(arg) {
+ if (typeof arg !== 'number' || arg < 0 || NumberIsNaN(arg)) {
+ throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received ' + arg + '.');
+ }
+ defaultMaxListeners = arg;
+ }
+});
+
+EventEmitter.init = function() {
+
+ if (this._events === undefined ||
+ this._events === Object.getPrototypeOf(this)._events) {
+ this._events = Object.create(null);
+ this._eventsCount = 0;
+ }
+
+ this._maxListeners = this._maxListeners || undefined;
+};
+
+// Obviously not all Emitters should be limited to 10. This function allows
+// that to be increased. Set to zero for unlimited.
+EventEmitter.prototype.setMaxListeners = function setMaxListeners(n) {
+ if (typeof n !== 'number' || n < 0 || NumberIsNaN(n)) {
+ throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received ' + n + '.');
+ }
+ this._maxListeners = n;
+ return this;
+};
+
+function _getMaxListeners(that) {
+ if (that._maxListeners === undefined)
+ return EventEmitter.defaultMaxListeners;
+ return that._maxListeners;
+}
+
+EventEmitter.prototype.getMaxListeners = function getMaxListeners() {
+ return _getMaxListeners(this);
+};
+
+EventEmitter.prototype.emit = function emit(type) {
+ var args = [];
+ for (var i = 1; i < arguments.length; i++) args.push(arguments[i]);
+ var doError = (type === 'error');
+
+ var events = this._events;
+ if (events !== undefined)
+ doError = (doError && events.error === undefined);
+ else if (!doError)
+ return false;
+
+ // If there is no 'error' event listener then throw.
+ if (doError) {
+ var er;
+ if (args.length > 0)
+ er = args[0];
+ if (er instanceof Error) {
+ // Note: The comments on the `throw` lines are intentional, they show
+ // up in Node's output if this results in an unhandled exception.
+ throw er; // Unhandled 'error' event
+ }
+ // At least give some kind of context to the user
+ var err = new Error('Unhandled error.' + (er ? ' (' + er.message + ')' : ''));
+ err.context = er;
+ throw err; // Unhandled 'error' event
+ }
+
+ var handler = events[type];
+
+ if (handler === undefined)
+ return false;
+
+ if (typeof handler === 'function') {
+ ReflectApply(handler, this, args);
+ } else {
+ var len = handler.length;
+ var listeners = arrayClone(handler, len);
+ for (var i = 0; i < len; ++i)
+ ReflectApply(listeners[i], this, args);
+ }
+
+ return true;
+};
+
+function _addListener(target, type, listener, prepend) {
+ var m;
+ var events;
+ var existing;
+
+ checkListener(listener);
+
+ events = target._events;
+ if (events === undefined) {
+ events = target._events = Object.create(null);
+ target._eventsCount = 0;
+ } else {
+ // To avoid recursion in the case that type === "newListener"! Before
+ // adding it to the listeners, first emit "newListener".
+ if (events.newListener !== undefined) {
+ target.emit('newListener', type,
+ listener.listener ? listener.listener : listener);
+
+ // Re-assign `events` because a newListener handler could have caused the
+ // this._events to be assigned to a new object
+ events = target._events;
+ }
+ existing = events[type];
+ }
+
+ if (existing === undefined) {
+ // Optimize the case of one listener. Don't need the extra array object.
+ existing = events[type] = listener;
+ ++target._eventsCount;
+ } else {
+ if (typeof existing === 'function') {
+ // Adding the second element, need to change to array.
+ existing = events[type] =
+ prepend ? [listener, existing] : [existing, listener];
+ // If we've already got an array, just append.
+ } else if (prepend) {
+ existing.unshift(listener);
+ } else {
+ existing.push(listener);
+ }
+
+ // Check for listener leak
+ m = _getMaxListeners(target);
+ if (m > 0 && existing.length > m && !existing.warned) {
+ existing.warned = true;
+ // No error code for this since it is a Warning
+ // eslint-disable-next-line no-restricted-syntax
+ var w = new Error('Possible EventEmitter memory leak detected. ' +
+ existing.length + ' ' + String(type) + ' listeners ' +
+ 'added. Use emitter.setMaxListeners() to ' +
+ 'increase limit');
+ w.name = 'MaxListenersExceededWarning';
+ w.emitter = target;
+ w.type = type;
+ w.count = existing.length;
+ ProcessEmitWarning(w);
+ }
+ }
+
+ return target;
+}
+
+EventEmitter.prototype.addListener = function addListener(type, listener) {
+ return _addListener(this, type, listener, false);
+};
+
+EventEmitter.prototype.on = EventEmitter.prototype.addListener;
+
+EventEmitter.prototype.prependListener =
+ function prependListener(type, listener) {
+ return _addListener(this, type, listener, true);
+ };
+
+function onceWrapper() {
+ if (!this.fired) {
+ this.target.removeListener(this.type, this.wrapFn);
+ this.fired = true;
+ if (arguments.length === 0)
+ return this.listener.call(this.target);
+ return this.listener.apply(this.target, arguments);
+ }
+}
+
+function _onceWrap(target, type, listener) {
+ var state = { fired: false, wrapFn: undefined, target: target, type: type, listener: listener };
+ var wrapped = onceWrapper.bind(state);
+ wrapped.listener = listener;
+ state.wrapFn = wrapped;
+ return wrapped;
+}
+
+EventEmitter.prototype.once = function once(type, listener) {
+ checkListener(listener);
+ this.on(type, _onceWrap(this, type, listener));
+ return this;
+};
+
+EventEmitter.prototype.prependOnceListener =
+ function prependOnceListener(type, listener) {
+ checkListener(listener);
+ this.prependListener(type, _onceWrap(this, type, listener));
+ return this;
+ };
+
+// Emits a 'removeListener' event if and only if the listener was removed.
+EventEmitter.prototype.removeListener =
+ function removeListener(type, listener) {
+ var list, events, position, i, originalListener;
+
+ checkListener(listener);
+
+ events = this._events;
+ if (events === undefined)
+ return this;
+
+ list = events[type];
+ if (list === undefined)
+ return this;
+
+ if (list === listener || list.listener === listener) {
+ if (--this._eventsCount === 0)
+ this._events = Object.create(null);
+ else {
+ delete events[type];
+ if (events.removeListener)
+ this.emit('removeListener', type, list.listener || listener);
+ }
+ } else if (typeof list !== 'function') {
+ position = -1;
+
+ for (i = list.length - 1; i >= 0; i--) {
+ if (list[i] === listener || list[i].listener === listener) {
+ originalListener = list[i].listener;
+ position = i;
+ break;
+ }
+ }
+
+ if (position < 0)
+ return this;
+
+ if (position === 0)
+ list.shift();
+ else {
+ spliceOne(list, position);
+ }
+
+ if (list.length === 1)
+ events[type] = list[0];
+
+ if (events.removeListener !== undefined)
+ this.emit('removeListener', type, originalListener || listener);
+ }
+
+ return this;
+ };
+
+EventEmitter.prototype.off = EventEmitter.prototype.removeListener;
+
+EventEmitter.prototype.removeAllListeners =
+ function removeAllListeners(type) {
+ var listeners, events, i;
+
+ events = this._events;
+ if (events === undefined)
+ return this;
+
+ // not listening for removeListener, no need to emit
+ if (events.removeListener === undefined) {
+ if (arguments.length === 0) {
+ this._events = Object.create(null);
+ this._eventsCount = 0;
+ } else if (events[type] !== undefined) {
+ if (--this._eventsCount === 0)
+ this._events = Object.create(null);
+ else
+ delete events[type];
+ }
+ return this;
+ }
+
+ // emit removeListener for all listeners on all events
+ if (arguments.length === 0) {
+ var keys = Object.keys(events);
+ var key;
+ for (i = 0; i < keys.length; ++i) {
+ key = keys[i];
+ if (key === 'removeListener') continue;
+ this.removeAllListeners(key);
+ }
+ this.removeAllListeners('removeListener');
+ this._events = Object.create(null);
+ this._eventsCount = 0;
+ return this;
+ }
+
+ listeners = events[type];
+
+ if (typeof listeners === 'function') {
+ this.removeListener(type, listeners);
+ } else if (listeners !== undefined) {
+ // LIFO order
+ for (i = listeners.length - 1; i >= 0; i--) {
+ this.removeListener(type, listeners[i]);
+ }
+ }
+
+ return this;
+ };
+
+function _listeners(target, type, unwrap) {
+ var events = target._events;
+
+ if (events === undefined)
+ return [];
+
+ var evlistener = events[type];
+ if (evlistener === undefined)
+ return [];
+
+ if (typeof evlistener === 'function')
+ return unwrap ? [evlistener.listener || evlistener] : [evlistener];
+
+ return unwrap ?
+ unwrapListeners(evlistener) : arrayClone(evlistener, evlistener.length);
+}
+
+EventEmitter.prototype.listeners = function listeners(type) {
+ return _listeners(this, type, true);
+};
+
+EventEmitter.prototype.rawListeners = function rawListeners(type) {
+ return _listeners(this, type, false);
+};
+
+EventEmitter.listenerCount = function(emitter, type) {
+ if (typeof emitter.listenerCount === 'function') {
+ return emitter.listenerCount(type);
+ } else {
+ return listenerCount.call(emitter, type);
+ }
+};
+
+EventEmitter.prototype.listenerCount = listenerCount;
+function listenerCount(type) {
+ var events = this._events;
+
+ if (events !== undefined) {
+ var evlistener = events[type];
+
+ if (typeof evlistener === 'function') {
+ return 1;
+ } else if (evlistener !== undefined) {
+ return evlistener.length;
+ }
+ }
+
+ return 0;
+}
+
+EventEmitter.prototype.eventNames = function eventNames() {
+ return this._eventsCount > 0 ? ReflectOwnKeys(this._events) : [];
+};
+
+function arrayClone(arr, n) {
+ var copy = new Array(n);
+ for (var i = 0; i < n; ++i)
+ copy[i] = arr[i];
+ return copy;
+}
+
+function spliceOne(list, index) {
+ for (; index + 1 < list.length; index++)
+ list[index] = list[index + 1];
+ list.pop();
+}
+
+function unwrapListeners(arr) {
+ var ret = new Array(arr.length);
+ for (var i = 0; i < ret.length; ++i) {
+ ret[i] = arr[i].listener || arr[i];
+ }
+ return ret;
+}
+
+function once(emitter, name) {
+ return new Promise(function (resolve, reject) {
+ function errorListener(err) {
+ emitter.removeListener(name, resolver);
+ reject(err);
+ }
+
+ function resolver() {
+ if (typeof emitter.removeListener === 'function') {
+ emitter.removeListener('error', errorListener);
+ }
+ resolve([].slice.call(arguments));
+ };
+
+ eventTargetAgnosticAddListener(emitter, name, resolver, { once: true });
+ if (name !== 'error') {
+ addErrorHandlerIfEventEmitter(emitter, errorListener, { once: true });
+ }
+ });
+}
+
+function addErrorHandlerIfEventEmitter(emitter, handler, flags) {
+ if (typeof emitter.on === 'function') {
+ eventTargetAgnosticAddListener(emitter, 'error', handler, flags);
+ }
+}
+
+function eventTargetAgnosticAddListener(emitter, name, listener, flags) {
+ if (typeof emitter.on === 'function') {
+ if (flags.once) {
+ emitter.once(name, listener);
+ } else {
+ emitter.on(name, listener);
+ }
+ } else if (typeof emitter.addEventListener === 'function') {
+ // EventTarget does not have `error` event semantics like Node
+ // EventEmitters, we do not listen for `error` events here.
+ emitter.addEventListener(name, function wrapListener(arg) {
+ // IE does not have builtin `{ once: true }` support so we
+ // have to do it manually.
+ if (flags.once) {
+ emitter.removeEventListener(name, wrapListener);
+ }
+ listener(arg);
+ });
+ } else {
+ throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type ' + typeof emitter);
+ }
+}
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/events/package.json b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/events/package.json
new file mode 100644
index 0000000..b9580d8
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/events/package.json
@@ -0,0 +1,37 @@
+{
+ "name": "events",
+ "version": "3.3.0",
+ "description": "Node's event emitter for all engines.",
+ "keywords": [
+ "events",
+ "eventEmitter",
+ "eventDispatcher",
+ "listeners"
+ ],
+ "author": "Irakli Gozalishvili (http://jeditoolkit.com)",
+ "repository": {
+ "type": "git",
+ "url": "git://github.com/Gozala/events.git",
+ "web": "https://github.com/Gozala/events"
+ },
+ "bugs": {
+ "url": "http://github.com/Gozala/events/issues/"
+ },
+ "main": "./events.js",
+ "engines": {
+ "node": ">=0.8.x"
+ },
+ "devDependencies": {
+ "airtap": "^1.0.0",
+ "functions-have-names": "^1.2.1",
+ "has": "^1.0.3",
+ "has-symbols": "^1.0.1",
+ "isarray": "^2.0.5",
+ "tape": "^5.0.0"
+ },
+ "scripts": {
+ "test": "node tests/index.js",
+ "test:browsers": "airtap -- tests/index.js"
+ },
+ "license": "MIT"
+}
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/events/security.md b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/events/security.md
new file mode 100644
index 0000000..a14ace6
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/events/security.md
@@ -0,0 +1,10 @@
+# Security Policy
+
+## Supported Versions
+Only the latest major version is supported at any given time.
+
+## Reporting a Vulnerability
+
+To report a security vulnerability, please use the
+[Tidelift security contact](https://tidelift.com/security).
+Tidelift will coordinate the fix and disclosure.
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/events/tests/add-listeners.js b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/events/tests/add-listeners.js
new file mode 100644
index 0000000..9b57827
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/events/tests/add-listeners.js
@@ -0,0 +1,111 @@
+// Copyright Joyent, Inc. and other Node 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.
+
+var common = require('./common');
+var assert = require('assert');
+var EventEmitter = require('../');
+
+{
+ var ee = new EventEmitter();
+ var events_new_listener_emitted = [];
+ var listeners_new_listener_emitted = [];
+
+ // Sanity check
+ assert.strictEqual(ee.addListener, ee.on);
+
+ ee.on('newListener', function(event, listener) {
+ // Don't track newListener listeners.
+ if (event === 'newListener')
+ return;
+
+ events_new_listener_emitted.push(event);
+ listeners_new_listener_emitted.push(listener);
+ });
+
+ var hello = common.mustCall(function(a, b) {
+ assert.strictEqual('a', a);
+ assert.strictEqual('b', b);
+ });
+
+ ee.once('newListener', function(name, listener) {
+ assert.strictEqual(name, 'hello');
+ assert.strictEqual(listener, hello);
+
+ var listeners = this.listeners('hello');
+ assert.ok(Array.isArray(listeners));
+ assert.strictEqual(listeners.length, 0);
+ });
+
+ ee.on('hello', hello);
+ ee.once('foo', assert.fail);
+
+ assert.ok(Array.isArray(events_new_listener_emitted));
+ assert.strictEqual(events_new_listener_emitted.length, 2);
+ assert.strictEqual(events_new_listener_emitted[0], 'hello');
+ assert.strictEqual(events_new_listener_emitted[1], 'foo');
+
+ assert.ok(Array.isArray(listeners_new_listener_emitted));
+ assert.strictEqual(listeners_new_listener_emitted.length, 2);
+ assert.strictEqual(listeners_new_listener_emitted[0], hello);
+ assert.strictEqual(listeners_new_listener_emitted[1], assert.fail);
+
+ ee.emit('hello', 'a', 'b');
+}
+
+// just make sure that this doesn't throw:
+{
+ var f = new EventEmitter();
+
+ f.setMaxListeners(0);
+}
+
+{
+ var listen1 = function() {};
+ var listen2 = function() {};
+ var ee = new EventEmitter();
+
+ ee.once('newListener', function() {
+ var listeners = ee.listeners('hello');
+ assert.ok(Array.isArray(listeners));
+ assert.strictEqual(listeners.length, 0);
+ ee.once('newListener', function() {
+ var listeners = ee.listeners('hello');
+ assert.ok(Array.isArray(listeners));
+ assert.strictEqual(listeners.length, 0);
+ });
+ ee.on('hello', listen2);
+ });
+ ee.on('hello', listen1);
+ // The order of listeners on an event is not always the order in which the
+ // listeners were added.
+ var listeners = ee.listeners('hello');
+ assert.ok(Array.isArray(listeners));
+ assert.strictEqual(listeners.length, 2);
+ assert.strictEqual(listeners[0], listen2);
+ assert.strictEqual(listeners[1], listen1);
+}
+
+// Verify that the listener must be a function
+assert.throws(function() {
+ var ee = new EventEmitter();
+
+ ee.on('foo', null);
+}, /^TypeError: The "listener" argument must be of type Function. Received type object$/);
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/events/tests/check-listener-leaks.js b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/events/tests/check-listener-leaks.js
new file mode 100644
index 0000000..7fce48f
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/events/tests/check-listener-leaks.js
@@ -0,0 +1,101 @@
+// Copyright Joyent, Inc. and other Node 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.
+
+var common = require('./common');
+var assert = require('assert');
+var events = require('../');
+
+// Redirect warning output to tape.
+var consoleWarn = console.warn;
+console.warn = common.test.comment;
+
+common.test.on('end', function () {
+ console.warn = consoleWarn;
+});
+
+// default
+{
+ var e = new events.EventEmitter();
+
+ for (var i = 0; i < 10; i++) {
+ e.on('default', common.mustNotCall());
+ }
+ assert.ok(!e._events['default'].hasOwnProperty('warned'));
+ e.on('default', common.mustNotCall());
+ assert.ok(e._events['default'].warned);
+
+ // specific
+ e.setMaxListeners(5);
+ for (var i = 0; i < 5; i++) {
+ e.on('specific', common.mustNotCall());
+ }
+ assert.ok(!e._events['specific'].hasOwnProperty('warned'));
+ e.on('specific', common.mustNotCall());
+ assert.ok(e._events['specific'].warned);
+
+ // only one
+ e.setMaxListeners(1);
+ e.on('only one', common.mustNotCall());
+ assert.ok(!e._events['only one'].hasOwnProperty('warned'));
+ e.on('only one', common.mustNotCall());
+ assert.ok(e._events['only one'].hasOwnProperty('warned'));
+
+ // unlimited
+ e.setMaxListeners(0);
+ for (var i = 0; i < 1000; i++) {
+ e.on('unlimited', common.mustNotCall());
+ }
+ assert.ok(!e._events['unlimited'].hasOwnProperty('warned'));
+}
+
+// process-wide
+{
+ events.EventEmitter.defaultMaxListeners = 42;
+ var e = new events.EventEmitter();
+
+ for (var i = 0; i < 42; ++i) {
+ e.on('fortytwo', common.mustNotCall());
+ }
+ assert.ok(!e._events['fortytwo'].hasOwnProperty('warned'));
+ e.on('fortytwo', common.mustNotCall());
+ assert.ok(e._events['fortytwo'].hasOwnProperty('warned'));
+ delete e._events['fortytwo'].warned;
+
+ events.EventEmitter.defaultMaxListeners = 44;
+ e.on('fortytwo', common.mustNotCall());
+ assert.ok(!e._events['fortytwo'].hasOwnProperty('warned'));
+ e.on('fortytwo', common.mustNotCall());
+ assert.ok(e._events['fortytwo'].hasOwnProperty('warned'));
+}
+
+// but _maxListeners still has precedence over defaultMaxListeners
+{
+ events.EventEmitter.defaultMaxListeners = 42;
+ var e = new events.EventEmitter();
+ e.setMaxListeners(1);
+ e.on('uno', common.mustNotCall());
+ assert.ok(!e._events['uno'].hasOwnProperty('warned'));
+ e.on('uno', common.mustNotCall());
+ assert.ok(e._events['uno'].hasOwnProperty('warned'));
+
+ // chainable
+ assert.strictEqual(e, e.setMaxListeners(1));
+}
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/events/tests/common.js b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/events/tests/common.js
new file mode 100644
index 0000000..49569b0
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/events/tests/common.js
@@ -0,0 +1,104 @@
+// Copyright Joyent, Inc. and other Node 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.
+
+var test = require('tape');
+var assert = require('assert');
+
+var noop = function() {};
+
+var mustCallChecks = [];
+
+function runCallChecks(exitCode) {
+ if (exitCode !== 0) return;
+
+ var failed = filter(mustCallChecks, function(context) {
+ if ('minimum' in context) {
+ context.messageSegment = 'at least ' + context.minimum;
+ return context.actual < context.minimum;
+ } else {
+ context.messageSegment = 'exactly ' + context.exact;
+ return context.actual !== context.exact;
+ }
+ });
+
+ for (var i = 0; i < failed.length; i++) {
+ var context = failed[i];
+ console.log('Mismatched %s function calls. Expected %s, actual %d.',
+ context.name,
+ context.messageSegment,
+ context.actual);
+ // IE8 has no .stack
+ if (context.stack) console.log(context.stack.split('\n').slice(2).join('\n'));
+ }
+
+ assert.strictEqual(failed.length, 0);
+}
+
+exports.mustCall = function(fn, exact) {
+ return _mustCallInner(fn, exact, 'exact');
+};
+
+function _mustCallInner(fn, criteria, field) {
+ if (typeof criteria == 'undefined') criteria = 1;
+
+ if (typeof fn === 'number') {
+ criteria = fn;
+ fn = noop;
+ } else if (fn === undefined) {
+ fn = noop;
+ }
+
+ if (typeof criteria !== 'number')
+ throw new TypeError('Invalid ' + field + ' value: ' + criteria);
+
+ var context = {
+ actual: 0,
+ stack: (new Error()).stack,
+ name: fn.name || ''
+ };
+
+ context[field] = criteria;
+
+ // add the exit listener only once to avoid listener leak warnings
+ if (mustCallChecks.length === 0) test.onFinish(function() { runCallChecks(0); });
+
+ mustCallChecks.push(context);
+
+ return function() {
+ context.actual++;
+ return fn.apply(this, arguments);
+ };
+}
+
+exports.mustNotCall = function(msg) {
+ return function mustNotCall() {
+ assert.fail(msg || 'function should not have been called');
+ };
+};
+
+function filter(arr, fn) {
+ if (arr.filter) return arr.filter(fn);
+ var filtered = [];
+ for (var i = 0; i < arr.length; i++) {
+ if (fn(arr[i], i, arr)) filtered.push(arr[i]);
+ }
+ return filtered
+}
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/events/tests/errors.js b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/events/tests/errors.js
new file mode 100644
index 0000000..a23df43
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/events/tests/errors.js
@@ -0,0 +1,13 @@
+'use strict';
+var assert = require('assert');
+var EventEmitter = require('../');
+
+var EE = new EventEmitter();
+
+assert.throws(function () {
+ EE.emit('error', 'Accepts a string');
+}, 'Error: Unhandled error. (Accepts a string)');
+
+assert.throws(function () {
+ EE.emit('error', { message: 'Error!' });
+}, 'Unhandled error. ([object Object])');
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/events/tests/events-list.js b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/events/tests/events-list.js
new file mode 100644
index 0000000..08aa621
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/events/tests/events-list.js
@@ -0,0 +1,28 @@
+'use strict';
+
+var EventEmitter = require('../');
+var assert = require('assert');
+
+var EE = new EventEmitter();
+var m = function() {};
+EE.on('foo', function() {});
+assert.equal(1, EE.eventNames().length);
+assert.equal('foo', EE.eventNames()[0]);
+EE.on('bar', m);
+assert.equal(2, EE.eventNames().length);
+assert.equal('foo', EE.eventNames()[0]);
+assert.equal('bar', EE.eventNames()[1]);
+EE.removeListener('bar', m);
+assert.equal(1, EE.eventNames().length);
+assert.equal('foo', EE.eventNames()[0]);
+
+if (typeof Symbol !== 'undefined') {
+ var s = Symbol('s');
+ EE.on(s, m);
+ assert.equal(2, EE.eventNames().length);
+ assert.equal('foo', EE.eventNames()[0]);
+ assert.equal(s, EE.eventNames()[1]);
+ EE.removeListener(s, m);
+ assert.equal(1, EE.eventNames().length);
+ assert.equal('foo', EE.eventNames()[0]);
+}
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/events/tests/events-once.js b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/events/tests/events-once.js
new file mode 100644
index 0000000..dae8649
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/events/tests/events-once.js
@@ -0,0 +1,234 @@
+'use strict';
+
+var common = require('./common');
+var EventEmitter = require('../').EventEmitter;
+var once = require('../').once;
+var has = require('has');
+var assert = require('assert');
+
+function Event(type) {
+ this.type = type;
+}
+
+function EventTargetMock() {
+ this.events = {};
+
+ this.addEventListener = common.mustCall(this.addEventListener);
+ this.removeEventListener = common.mustCall(this.removeEventListener);
+}
+
+EventTargetMock.prototype.addEventListener = function addEventListener(name, listener, options) {
+ if (!(name in this.events)) {
+ this.events[name] = { listeners: [], options: options || {} }
+ }
+ this.events[name].listeners.push(listener);
+};
+
+EventTargetMock.prototype.removeEventListener = function removeEventListener(name, callback) {
+ if (!(name in this.events)) {
+ return;
+ }
+ var event = this.events[name];
+ var stack = event.listeners;
+
+ for (var i = 0, l = stack.length; i < l; i++) {
+ if (stack[i] === callback) {
+ stack.splice(i, 1);
+ if (stack.length === 0) {
+ delete this.events[name];
+ }
+ return;
+ }
+ }
+};
+
+EventTargetMock.prototype.dispatchEvent = function dispatchEvent(arg) {
+ if (!(arg.type in this.events)) {
+ return true;
+ }
+
+ var event = this.events[arg.type];
+ var stack = event.listeners.slice();
+
+ for (var i = 0, l = stack.length; i < l; i++) {
+ stack[i].call(null, arg);
+ if (event.options.once) {
+ this.removeEventListener(arg.type, stack[i]);
+ }
+ }
+ return !arg.defaultPrevented;
+};
+
+function onceAnEvent() {
+ var ee = new EventEmitter();
+
+ process.nextTick(function () {
+ ee.emit('myevent', 42);
+ });
+
+ return once(ee, 'myevent').then(function (args) {
+ var value = args[0]
+ assert.strictEqual(value, 42);
+ assert.strictEqual(ee.listenerCount('error'), 0);
+ assert.strictEqual(ee.listenerCount('myevent'), 0);
+ });
+}
+
+function onceAnEventWithTwoArgs() {
+ var ee = new EventEmitter();
+
+ process.nextTick(function () {
+ ee.emit('myevent', 42, 24);
+ });
+
+ return once(ee, 'myevent').then(function (value) {
+ assert.strictEqual(value.length, 2);
+ assert.strictEqual(value[0], 42);
+ assert.strictEqual(value[1], 24);
+ });
+}
+
+function catchesErrors() {
+ var ee = new EventEmitter();
+
+ var expected = new Error('kaboom');
+ var err;
+ process.nextTick(function () {
+ ee.emit('error', expected);
+ });
+
+ return once(ee, 'myevent').then(function () {
+ throw new Error('should reject')
+ }, function (err) {
+ assert.strictEqual(err, expected);
+ assert.strictEqual(ee.listenerCount('error'), 0);
+ assert.strictEqual(ee.listenerCount('myevent'), 0);
+ });
+}
+
+function stopListeningAfterCatchingError() {
+ var ee = new EventEmitter();
+
+ var expected = new Error('kaboom');
+ var err;
+ process.nextTick(function () {
+ ee.emit('error', expected);
+ ee.emit('myevent', 42, 24);
+ });
+
+ // process.on('multipleResolves', common.mustNotCall());
+
+ return once(ee, 'myevent').then(common.mustNotCall, function (err) {
+ // process.removeAllListeners('multipleResolves');
+ assert.strictEqual(err, expected);
+ assert.strictEqual(ee.listenerCount('error'), 0);
+ assert.strictEqual(ee.listenerCount('myevent'), 0);
+ });
+}
+
+function onceError() {
+ var ee = new EventEmitter();
+
+ var expected = new Error('kaboom');
+ process.nextTick(function () {
+ ee.emit('error', expected);
+ });
+
+ var promise = once(ee, 'error');
+ assert.strictEqual(ee.listenerCount('error'), 1);
+ return promise.then(function (args) {
+ var err = args[0]
+ assert.strictEqual(err, expected);
+ assert.strictEqual(ee.listenerCount('error'), 0);
+ assert.strictEqual(ee.listenerCount('myevent'), 0);
+ });
+}
+
+function onceWithEventTarget() {
+ var et = new EventTargetMock();
+ var event = new Event('myevent');
+ process.nextTick(function () {
+ et.dispatchEvent(event);
+ });
+ return once(et, 'myevent').then(function (args) {
+ var value = args[0];
+ assert.strictEqual(value, event);
+ assert.strictEqual(has(et.events, 'myevent'), false);
+ });
+}
+
+function onceWithEventTargetError() {
+ var et = new EventTargetMock();
+ var error = new Event('error');
+ process.nextTick(function () {
+ et.dispatchEvent(error);
+ });
+ return once(et, 'error').then(function (args) {
+ var err = args[0];
+ assert.strictEqual(err, error);
+ assert.strictEqual(has(et.events, 'error'), false);
+ });
+}
+
+function prioritizesEventEmitter() {
+ var ee = new EventEmitter();
+ ee.addEventListener = assert.fail;
+ ee.removeAllListeners = assert.fail;
+ process.nextTick(function () {
+ ee.emit('foo');
+ });
+ return once(ee, 'foo');
+}
+
+var allTests = [
+ onceAnEvent(),
+ onceAnEventWithTwoArgs(),
+ catchesErrors(),
+ stopListeningAfterCatchingError(),
+ onceError(),
+ onceWithEventTarget(),
+ onceWithEventTargetError(),
+ prioritizesEventEmitter()
+];
+
+var hasBrowserEventTarget = false;
+try {
+ hasBrowserEventTarget = typeof (new window.EventTarget().addEventListener) === 'function' &&
+ new window.Event('xyz').type === 'xyz';
+} catch (err) {}
+
+if (hasBrowserEventTarget) {
+ var onceWithBrowserEventTarget = function onceWithBrowserEventTarget() {
+ var et = new window.EventTarget();
+ var event = new window.Event('myevent');
+ process.nextTick(function () {
+ et.dispatchEvent(event);
+ });
+ return once(et, 'myevent').then(function (args) {
+ var value = args[0];
+ assert.strictEqual(value, event);
+ assert.strictEqual(has(et.events, 'myevent'), false);
+ });
+ }
+
+ var onceWithBrowserEventTargetError = function onceWithBrowserEventTargetError() {
+ var et = new window.EventTarget();
+ var error = new window.Event('error');
+ process.nextTick(function () {
+ et.dispatchEvent(error);
+ });
+ return once(et, 'error').then(function (args) {
+ var err = args[0];
+ assert.strictEqual(err, error);
+ assert.strictEqual(has(et.events, 'error'), false);
+ });
+ }
+
+ common.test.comment('Testing with browser built-in EventTarget');
+ allTests.push([
+ onceWithBrowserEventTarget(),
+ onceWithBrowserEventTargetError()
+ ]);
+}
+
+module.exports = Promise.all(allTests);
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/events/tests/index.js b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/events/tests/index.js
new file mode 100644
index 0000000..2d739e6
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/events/tests/index.js
@@ -0,0 +1,64 @@
+var test = require('tape');
+var functionsHaveNames = require('functions-have-names');
+var hasSymbols = require('has-symbols');
+
+require('./legacy-compat');
+var common = require('./common');
+
+// we do this to easily wrap each file in a mocha test
+// and also have browserify be able to statically analyze this file
+var orig_require = require;
+var require = function(file) {
+ test(file, function(t) {
+ // Store the tape object so tests can access it.
+ t.on('end', function () { delete common.test; });
+ common.test = t;
+
+ try {
+ var exp = orig_require(file);
+ if (exp && exp.then) {
+ exp.then(function () { t.end(); }, t.fail);
+ return;
+ }
+ } catch (err) {
+ t.fail(err);
+ }
+ t.end();
+ });
+};
+
+require('./add-listeners.js');
+require('./check-listener-leaks.js');
+require('./errors.js');
+require('./events-list.js');
+if (typeof Promise === 'function') {
+ require('./events-once.js');
+} else {
+ // Promise support is not available.
+ test('./events-once.js', { skip: true }, function () {});
+}
+require('./listener-count.js');
+require('./listeners-side-effects.js');
+require('./listeners.js');
+require('./max-listeners.js');
+if (functionsHaveNames()) {
+ require('./method-names.js');
+} else {
+ // Function.name is not supported in IE
+ test('./method-names.js', { skip: true }, function () {});
+}
+require('./modify-in-emit.js');
+require('./num-args.js');
+require('./once.js');
+require('./prepend.js');
+require('./set-max-listeners-side-effects.js');
+require('./special-event-names.js');
+require('./subclass.js');
+if (hasSymbols()) {
+ require('./symbols.js');
+} else {
+ // Symbol is not available.
+ test('./symbols.js', { skip: true }, function () {});
+}
+require('./remove-all-listeners.js');
+require('./remove-listeners.js');
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/events/tests/legacy-compat.js b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/events/tests/legacy-compat.js
new file mode 100644
index 0000000..a402be6
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/events/tests/legacy-compat.js
@@ -0,0 +1,16 @@
+// sigh... life is hard
+if (!global.console) {
+ console = {}
+}
+
+var fns = ['log', 'error', 'trace'];
+for (var i=0 ; ifoo should not be emitted');
+}
+
+e.once('foo', remove);
+e.removeListener('foo', remove);
+e.emit('foo');
+
+e.once('e', common.mustCall(function() {
+ e.emit('e');
+}));
+
+e.once('e', common.mustCall());
+
+e.emit('e');
+
+// Verify that the listener must be a function
+assert.throws(function() {
+ var ee = new EventEmitter();
+
+ ee.once('foo', null);
+}, /^TypeError: The "listener" argument must be of type Function. Received type object$/);
+
+{
+ // once() has different code paths based on the number of arguments being
+ // emitted. Verify that all of the cases are covered.
+ var maxArgs = 4;
+
+ for (var i = 0; i <= maxArgs; ++i) {
+ var ee = new EventEmitter();
+ var args = ['foo'];
+
+ for (var j = 0; j < i; ++j)
+ args.push(j);
+
+ ee.once('foo', common.mustCall(function() {
+ var params = Array.prototype.slice.call(arguments);
+ var restArgs = args.slice(1);
+ assert.ok(Array.isArray(params));
+ assert.strictEqual(params.length, restArgs.length);
+ for (var index = 0; index < params.length; index++) {
+ var param = params[index];
+ assert.strictEqual(param, restArgs[index]);
+ }
+ }));
+
+ EventEmitter.prototype.emit.apply(ee, args);
+ }
+}
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/events/tests/prepend.js b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/events/tests/prepend.js
new file mode 100644
index 0000000..79afde0
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/events/tests/prepend.js
@@ -0,0 +1,31 @@
+'use strict';
+
+var common = require('./common');
+var EventEmitter = require('../');
+var assert = require('assert');
+
+var myEE = new EventEmitter();
+var m = 0;
+// This one comes last.
+myEE.on('foo', common.mustCall(function () {
+ assert.strictEqual(m, 2);
+}));
+
+// This one comes second.
+myEE.prependListener('foo', common.mustCall(function () {
+ assert.strictEqual(m++, 1);
+}));
+
+// This one comes first.
+myEE.prependOnceListener('foo',
+ common.mustCall(function () {
+ assert.strictEqual(m++, 0);
+ }));
+
+myEE.emit('foo');
+
+// Verify that the listener must be a function
+assert.throws(function () {
+ var ee = new EventEmitter();
+ ee.prependOnceListener('foo', null);
+}, 'TypeError: The "listener" argument must be of type Function. Received type object');
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/events/tests/remove-all-listeners.js b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/events/tests/remove-all-listeners.js
new file mode 100644
index 0000000..622941c
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/events/tests/remove-all-listeners.js
@@ -0,0 +1,133 @@
+// Copyright Joyent, Inc. and other Node 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.
+
+var common = require('./common');
+var assert = require('assert');
+var events = require('../');
+var test = require('tape');
+
+function expect(expected) {
+ var actual = [];
+ test.onFinish(function() {
+ var sortedActual = actual.sort();
+ var sortedExpected = expected.sort();
+ assert.strictEqual(sortedActual.length, sortedExpected.length);
+ for (var index = 0; index < sortedActual.length; index++) {
+ var value = sortedActual[index];
+ assert.strictEqual(value, sortedExpected[index]);
+ }
+ });
+ function listener(name) {
+ actual.push(name);
+ }
+ return common.mustCall(listener, expected.length);
+}
+
+{
+ var ee = new events.EventEmitter();
+ var noop = common.mustNotCall();
+ ee.on('foo', noop);
+ ee.on('bar', noop);
+ ee.on('baz', noop);
+ ee.on('baz', noop);
+ var fooListeners = ee.listeners('foo');
+ var barListeners = ee.listeners('bar');
+ var bazListeners = ee.listeners('baz');
+ ee.on('removeListener', expect(['bar', 'baz', 'baz']));
+ ee.removeAllListeners('bar');
+ ee.removeAllListeners('baz');
+
+ var listeners = ee.listeners('foo');
+ assert.ok(Array.isArray(listeners));
+ assert.strictEqual(listeners.length, 1);
+ assert.strictEqual(listeners[0], noop);
+
+ listeners = ee.listeners('bar');
+ assert.ok(Array.isArray(listeners));
+ assert.strictEqual(listeners.length, 0);
+ listeners = ee.listeners('baz');
+ assert.ok(Array.isArray(listeners));
+ assert.strictEqual(listeners.length, 0);
+ // After calling removeAllListeners(),
+ // the old listeners array should stay unchanged.
+ assert.strictEqual(fooListeners.length, 1);
+ assert.strictEqual(fooListeners[0], noop);
+ assert.strictEqual(barListeners.length, 1);
+ assert.strictEqual(barListeners[0], noop);
+ assert.strictEqual(bazListeners.length, 2);
+ assert.strictEqual(bazListeners[0], noop);
+ assert.strictEqual(bazListeners[1], noop);
+ // After calling removeAllListeners(),
+ // new listeners arrays is different from the old.
+ assert.notStrictEqual(ee.listeners('bar'), barListeners);
+ assert.notStrictEqual(ee.listeners('baz'), bazListeners);
+}
+
+{
+ var ee = new events.EventEmitter();
+ ee.on('foo', common.mustNotCall());
+ ee.on('bar', common.mustNotCall());
+ // Expect LIFO order
+ ee.on('removeListener', expect(['foo', 'bar', 'removeListener']));
+ ee.on('removeListener', expect(['foo', 'bar']));
+ ee.removeAllListeners();
+
+ var listeners = ee.listeners('foo');
+ assert.ok(Array.isArray(listeners));
+ assert.strictEqual(listeners.length, 0);
+ listeners = ee.listeners('bar');
+ assert.ok(Array.isArray(listeners));
+ assert.strictEqual(listeners.length, 0);
+}
+
+{
+ var ee = new events.EventEmitter();
+ ee.on('removeListener', common.mustNotCall());
+ // Check for regression where removeAllListeners() throws when
+ // there exists a 'removeListener' listener, but there exists
+ // no listeners for the provided event type.
+ assert.doesNotThrow(function () { ee.removeAllListeners(ee, 'foo') });
+}
+
+{
+ var ee = new events.EventEmitter();
+ var expectLength = 2;
+ ee.on('removeListener', function() {
+ assert.strictEqual(expectLength--, this.listeners('baz').length);
+ });
+ ee.on('baz', common.mustNotCall());
+ ee.on('baz', common.mustNotCall());
+ ee.on('baz', common.mustNotCall());
+ assert.strictEqual(ee.listeners('baz').length, expectLength + 1);
+ ee.removeAllListeners('baz');
+ assert.strictEqual(ee.listeners('baz').length, 0);
+}
+
+{
+ var ee = new events.EventEmitter();
+ assert.strictEqual(ee, ee.removeAllListeners());
+}
+
+{
+ var ee = new events.EventEmitter();
+ ee._events = undefined;
+ assert.strictEqual(ee, ee.removeAllListeners());
+}
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/events/tests/remove-listeners.js b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/events/tests/remove-listeners.js
new file mode 100644
index 0000000..18e4d16
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/events/tests/remove-listeners.js
@@ -0,0 +1,212 @@
+// Copyright Joyent, Inc. and other Node 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.
+
+var common = require('./common');
+var assert = require('assert');
+var EventEmitter = require('../');
+
+var listener1 = function listener1() {};
+var listener2 = function listener2() {};
+
+{
+ var ee = new EventEmitter();
+ ee.on('hello', listener1);
+ ee.on('removeListener', common.mustCall(function(name, cb) {
+ assert.strictEqual(name, 'hello');
+ assert.strictEqual(cb, listener1);
+ }));
+ ee.removeListener('hello', listener1);
+ var listeners = ee.listeners('hello');
+ assert.ok(Array.isArray(listeners));
+ assert.strictEqual(listeners.length, 0);
+}
+
+{
+ var ee = new EventEmitter();
+ ee.on('hello', listener1);
+ ee.on('removeListener', common.mustNotCall());
+ ee.removeListener('hello', listener2);
+
+ var listeners = ee.listeners('hello');
+ assert.ok(Array.isArray(listeners));
+ assert.strictEqual(listeners.length, 1);
+ assert.strictEqual(listeners[0], listener1);
+}
+
+{
+ var ee = new EventEmitter();
+ ee.on('hello', listener1);
+ ee.on('hello', listener2);
+
+ var listeners;
+ ee.once('removeListener', common.mustCall(function(name, cb) {
+ assert.strictEqual(name, 'hello');
+ assert.strictEqual(cb, listener1);
+ listeners = ee.listeners('hello');
+ assert.ok(Array.isArray(listeners));
+ assert.strictEqual(listeners.length, 1);
+ assert.strictEqual(listeners[0], listener2);
+ }));
+ ee.removeListener('hello', listener1);
+ listeners = ee.listeners('hello');
+ assert.ok(Array.isArray(listeners));
+ assert.strictEqual(listeners.length, 1);
+ assert.strictEqual(listeners[0], listener2);
+ ee.once('removeListener', common.mustCall(function(name, cb) {
+ assert.strictEqual(name, 'hello');
+ assert.strictEqual(cb, listener2);
+ listeners = ee.listeners('hello');
+ assert.ok(Array.isArray(listeners));
+ assert.strictEqual(listeners.length, 0);
+ }));
+ ee.removeListener('hello', listener2);
+ listeners = ee.listeners('hello');
+ assert.ok(Array.isArray(listeners));
+ assert.strictEqual(listeners.length, 0);
+}
+
+{
+ var ee = new EventEmitter();
+
+ function remove1() {
+ assert.fail('remove1 should not have been called');
+ }
+
+ function remove2() {
+ assert.fail('remove2 should not have been called');
+ }
+
+ ee.on('removeListener', common.mustCall(function(name, cb) {
+ if (cb !== remove1) return;
+ this.removeListener('quux', remove2);
+ this.emit('quux');
+ }, 2));
+ ee.on('quux', remove1);
+ ee.on('quux', remove2);
+ ee.removeListener('quux', remove1);
+}
+
+{
+ var ee = new EventEmitter();
+ ee.on('hello', listener1);
+ ee.on('hello', listener2);
+
+ var listeners;
+ ee.once('removeListener', common.mustCall(function(name, cb) {
+ assert.strictEqual(name, 'hello');
+ assert.strictEqual(cb, listener1);
+ listeners = ee.listeners('hello');
+ assert.ok(Array.isArray(listeners));
+ assert.strictEqual(listeners.length, 1);
+ assert.strictEqual(listeners[0], listener2);
+ ee.once('removeListener', common.mustCall(function(name, cb) {
+ assert.strictEqual(name, 'hello');
+ assert.strictEqual(cb, listener2);
+ listeners = ee.listeners('hello');
+ assert.ok(Array.isArray(listeners));
+ assert.strictEqual(listeners.length, 0);
+ }));
+ ee.removeListener('hello', listener2);
+ listeners = ee.listeners('hello');
+ assert.ok(Array.isArray(listeners));
+ assert.strictEqual(listeners.length, 0);
+ }));
+ ee.removeListener('hello', listener1);
+ listeners = ee.listeners('hello');
+ assert.ok(Array.isArray(listeners));
+ assert.strictEqual(listeners.length, 0);
+}
+
+{
+ var ee = new EventEmitter();
+ var listener3 = common.mustCall(function() {
+ ee.removeListener('hello', listener4);
+ }, 2);
+ var listener4 = common.mustCall();
+
+ ee.on('hello', listener3);
+ ee.on('hello', listener4);
+
+ // listener4 will still be called although it is removed by listener 3.
+ ee.emit('hello');
+ // This is so because the interal listener array at time of emit
+ // was [listener3,listener4]
+
+ // Interal listener array [listener3]
+ ee.emit('hello');
+}
+
+{
+ var ee = new EventEmitter();
+
+ ee.once('hello', listener1);
+ ee.on('removeListener', common.mustCall(function(eventName, listener) {
+ assert.strictEqual(eventName, 'hello');
+ assert.strictEqual(listener, listener1);
+ }));
+ ee.emit('hello');
+}
+
+{
+ var ee = new EventEmitter();
+
+ assert.strictEqual(ee, ee.removeListener('foo', function() {}));
+}
+
+// Verify that the removed listener must be a function
+assert.throws(function() {
+ var ee = new EventEmitter();
+
+ ee.removeListener('foo', null);
+}, /^TypeError: The "listener" argument must be of type Function\. Received type object$/);
+
+{
+ var ee = new EventEmitter();
+ var listener = function() {};
+ ee._events = undefined;
+ var e = ee.removeListener('foo', listener);
+ assert.strictEqual(e, ee);
+}
+
+{
+ var ee = new EventEmitter();
+
+ ee.on('foo', listener1);
+ ee.on('foo', listener2);
+ var listeners = ee.listeners('foo');
+ assert.ok(Array.isArray(listeners));
+ assert.strictEqual(listeners.length, 2);
+ assert.strictEqual(listeners[0], listener1);
+ assert.strictEqual(listeners[1], listener2);
+
+ ee.removeListener('foo', listener1);
+ assert.strictEqual(ee._events.foo, listener2);
+
+ ee.on('foo', listener1);
+ listeners = ee.listeners('foo');
+ assert.ok(Array.isArray(listeners));
+ assert.strictEqual(listeners.length, 2);
+ assert.strictEqual(listeners[0], listener2);
+ assert.strictEqual(listeners[1], listener1);
+
+ ee.removeListener('foo', listener1);
+ assert.strictEqual(ee._events.foo, listener2);
+}
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/events/tests/set-max-listeners-side-effects.js b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/events/tests/set-max-listeners-side-effects.js
new file mode 100644
index 0000000..13dbb67
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/events/tests/set-max-listeners-side-effects.js
@@ -0,0 +1,31 @@
+// Copyright Joyent, Inc. and other Node 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.
+
+require('./common');
+var assert = require('assert');
+var events = require('../');
+
+var e = new events.EventEmitter();
+
+if (Object.create) assert.ok(!(e._events instanceof Object));
+assert.strictEqual(Object.keys(e._events).length, 0);
+e.setMaxListeners(5);
+assert.strictEqual(Object.keys(e._events).length, 0);
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/events/tests/special-event-names.js b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/events/tests/special-event-names.js
new file mode 100644
index 0000000..a2f0b74
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/events/tests/special-event-names.js
@@ -0,0 +1,45 @@
+'use strict';
+
+var common = require('./common');
+var EventEmitter = require('../');
+var assert = require('assert');
+
+var ee = new EventEmitter();
+var handler = function() {};
+
+assert.strictEqual(ee.eventNames().length, 0);
+
+assert.strictEqual(ee._events.hasOwnProperty, undefined);
+assert.strictEqual(ee._events.toString, undefined);
+
+ee.on('__defineGetter__', handler);
+ee.on('toString', handler);
+ee.on('__proto__', handler);
+
+assert.strictEqual(ee.eventNames()[0], '__defineGetter__');
+assert.strictEqual(ee.eventNames()[1], 'toString');
+
+assert.strictEqual(ee.listeners('__defineGetter__').length, 1);
+assert.strictEqual(ee.listeners('__defineGetter__')[0], handler);
+assert.strictEqual(ee.listeners('toString').length, 1);
+assert.strictEqual(ee.listeners('toString')[0], handler);
+
+// Only run __proto__ tests if that property can actually be set
+if ({ __proto__: 'ok' }.__proto__ === 'ok') {
+ assert.strictEqual(ee.eventNames().length, 3);
+ assert.strictEqual(ee.eventNames()[2], '__proto__');
+ assert.strictEqual(ee.listeners('__proto__').length, 1);
+ assert.strictEqual(ee.listeners('__proto__')[0], handler);
+
+ ee.on('__proto__', common.mustCall(function(val) {
+ assert.strictEqual(val, 1);
+ }));
+ ee.emit('__proto__', 1);
+
+ process.on('__proto__', common.mustCall(function(val) {
+ assert.strictEqual(val, 1);
+ }));
+ process.emit('__proto__', 1);
+} else {
+ console.log('# skipped __proto__')
+}
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/events/tests/subclass.js b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/events/tests/subclass.js
new file mode 100644
index 0000000..bd033ff
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/events/tests/subclass.js
@@ -0,0 +1,66 @@
+// Copyright Joyent, Inc. and other Node 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.
+
+var common = require('./common');
+var test = require('tape');
+var assert = require('assert');
+var EventEmitter = require('../').EventEmitter;
+var util = require('util');
+
+util.inherits(MyEE, EventEmitter);
+
+function MyEE(cb) {
+ this.once(1, cb);
+ this.emit(1);
+ this.removeAllListeners();
+ EventEmitter.call(this);
+}
+
+var myee = new MyEE(common.mustCall());
+
+
+util.inherits(ErrorEE, EventEmitter);
+function ErrorEE() {
+ this.emit('error', new Error('blerg'));
+}
+
+assert.throws(function() {
+ new ErrorEE();
+}, /blerg/);
+
+test.onFinish(function() {
+ assert.ok(!(myee._events instanceof Object));
+ assert.strictEqual(Object.keys(myee._events).length, 0);
+});
+
+
+function MyEE2() {
+ EventEmitter.call(this);
+}
+
+MyEE2.prototype = new EventEmitter();
+
+var ee1 = new MyEE2();
+var ee2 = new MyEE2();
+
+ee1.on('x', function() {});
+
+assert.strictEqual(ee2.listenerCount('x'), 0);
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/events/tests/symbols.js b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/events/tests/symbols.js
new file mode 100644
index 0000000..0721f0e
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/events/tests/symbols.js
@@ -0,0 +1,25 @@
+'use strict';
+
+var common = require('./common');
+var EventEmitter = require('../');
+var assert = require('assert');
+
+var ee = new EventEmitter();
+var foo = Symbol('foo');
+var listener = common.mustCall();
+
+ee.on(foo, listener);
+assert.strictEqual(ee.listeners(foo).length, 1);
+assert.strictEqual(ee.listeners(foo)[0], listener);
+
+ee.emit(foo);
+
+ee.removeAllListeners();
+assert.strictEqual(ee.listeners(foo).length, 0);
+
+ee.on(foo, listener);
+assert.strictEqual(ee.listeners(foo).length, 1);
+assert.strictEqual(ee.listeners(foo)[0], listener);
+
+ee.removeListener(foo, listener);
+assert.strictEqual(ee.listeners(foo).length, 0);
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/evp_bytestokey/LICENSE b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/evp_bytestokey/LICENSE
new file mode 100644
index 0000000..f06007a
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/evp_bytestokey/LICENSE
@@ -0,0 +1,21 @@
+The MIT License (MIT)
+
+Copyright (c) 2017 crypto-browserify 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.
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/evp_bytestokey/README.md b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/evp_bytestokey/README.md
new file mode 100644
index 0000000..36da238
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/evp_bytestokey/README.md
@@ -0,0 +1,51 @@
+# EVP\_BytesToKey
+[![NPM Package](https://img.shields.io/npm/v/evp_bytestokey.svg?style=flat-square)](https://www.npmjs.org/package/evp_bytestokey)
+[![Build Status](https://img.shields.io/travis/crypto-browserify/EVP_BytesToKey.svg?branch=master&style=flat-square)](https://travis-ci.org/crypto-browserify/EVP_BytesToKey)
+[![Dependency status](https://img.shields.io/david/crypto-browserify/EVP_BytesToKey.svg?style=flat-square)](https://david-dm.org/crypto-browserify/EVP_BytesToKey#info=dependencies)
+
+[![js-standard-style](https://cdn.rawgit.com/feross/standard/master/badge.svg)](https://github.com/feross/standard)
+
+The insecure [key derivation algorithm from OpenSSL.][1]
+
+**WARNING: DO NOT USE, except for compatibility reasons.**
+
+MD5 is insecure.
+
+Use at least `scrypt` or `pbkdf2-hmac-sha256` instead.
+
+
+## API
+`EVP_BytesToKey(password, salt, keyLen, ivLen)`
+
+* `password` - `Buffer`, password used to derive the key data.
+* `salt` - 8 byte `Buffer` or `null`, salt is used as a salt in the derivation.
+* `keyBits` - `number`, key length in **bits**.
+* `ivLen` - `number`, iv length in bytes.
+
+*Returns*: `{ key: Buffer, iv: Buffer }`
+
+
+## Examples
+MD5 with `aes-256-cbc`:
+
+```js
+const crypto = require('crypto')
+const EVP_BytesToKey = require('evp_bytestokey')
+
+const result = EVP_BytesToKey(
+ 'my-secret-password',
+ null,
+ 32,
+ 16
+)
+// =>
+// { key: ,
+// iv: }
+
+const cipher = crypto.createCipheriv('aes-256-cbc', result.key, result.iv)
+```
+
+## LICENSE [MIT](LICENSE)
+
+[1]: https://wiki.openssl.org/index.php/Manual:EVP_BytesToKey(3)
+[2]: https://nodejs.org/api/crypto.html#crypto_class_hash
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/evp_bytestokey/index.js b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/evp_bytestokey/index.js
new file mode 100644
index 0000000..f9d4757
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/evp_bytestokey/index.js
@@ -0,0 +1,45 @@
+var Buffer = require('safe-buffer').Buffer
+var MD5 = require('md5.js')
+
+/* eslint-disable camelcase */
+function EVP_BytesToKey (password, salt, keyBits, ivLen) {
+ if (!Buffer.isBuffer(password)) password = Buffer.from(password, 'binary')
+ if (salt) {
+ if (!Buffer.isBuffer(salt)) salt = Buffer.from(salt, 'binary')
+ if (salt.length !== 8) throw new RangeError('salt should be Buffer with 8 byte length')
+ }
+
+ var keyLen = keyBits / 8
+ var key = Buffer.alloc(keyLen)
+ var iv = Buffer.alloc(ivLen || 0)
+ var tmp = Buffer.alloc(0)
+
+ while (keyLen > 0 || ivLen > 0) {
+ var hash = new MD5()
+ hash.update(tmp)
+ hash.update(password)
+ if (salt) hash.update(salt)
+ tmp = hash.digest()
+
+ var used = 0
+
+ if (keyLen > 0) {
+ var keyStart = key.length - keyLen
+ used = Math.min(keyLen, tmp.length)
+ tmp.copy(key, keyStart, 0, used)
+ keyLen -= used
+ }
+
+ if (used < tmp.length && ivLen > 0) {
+ var ivStart = iv.length - ivLen
+ var length = Math.min(ivLen, tmp.length - used)
+ tmp.copy(iv, ivStart, used, used + length)
+ ivLen -= length
+ }
+ }
+
+ tmp.fill(0)
+ return { key: key, iv: iv }
+}
+
+module.exports = EVP_BytesToKey
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/evp_bytestokey/package.json b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/evp_bytestokey/package.json
new file mode 100644
index 0000000..517891a
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/evp_bytestokey/package.json
@@ -0,0 +1,45 @@
+{
+ "name": "evp_bytestokey",
+ "version": "1.0.3",
+ "description": "The insecure key derivation algorithm from OpenSSL",
+ "keywords": [
+ "crypto",
+ "openssl"
+ ],
+ "homepage": "https://github.com/crypto-browserify/EVP_BytesToKey",
+ "bugs": {
+ "url": "https://github.com/crypto-browserify/EVP_BytesToKey/issues"
+ },
+ "license": "MIT",
+ "author": "Calvin Metcalf ",
+ "contributors": [
+ "Kirill Fomichev "
+ ],
+ "files": [
+ "index.js"
+ ],
+ "main": "index.js",
+ "repository": {
+ "type": "git",
+ "url": "https://github.com/crypto-browserify/EVP_BytesToKey.git"
+ },
+ "scripts": {
+ "coverage": "nyc tape test/*.js",
+ "lint": "standard",
+ "test": "npm run lint && npm run unit",
+ "test:prepare": "node-gyp rebuild",
+ "unit": "tape test/*.js"
+ },
+ "devDependencies": {
+ "bindings": "^1.2.1",
+ "nan": "^2.4.0",
+ "nyc": "^8.1.0",
+ "standard": "^8.0.0",
+ "tape": "^4.6.0"
+ },
+ "gypfile": false,
+ "dependencies": {
+ "md5.js": "^1.3.4",
+ "safe-buffer": "^5.1.1"
+ }
+}
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/execa/index.js b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/execa/index.js
new file mode 100644
index 0000000..74ba8ee
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/execa/index.js
@@ -0,0 +1,309 @@
+'use strict';
+const childProcess = require('child_process');
+const util = require('util');
+const crossSpawn = require('cross-spawn');
+const stripEof = require('strip-eof');
+const npmRunPath = require('npm-run-path');
+const isStream = require('is-stream');
+const _getStream = require('get-stream');
+const pFinally = require('p-finally');
+const onExit = require('signal-exit');
+const errname = require('./lib/errname');
+const stdio = require('./lib/stdio');
+
+const TEN_MEGABYTES = 1000 * 1000 * 10;
+
+function handleArgs(cmd, args, opts) {
+ let parsed;
+
+ if (opts && opts.env && opts.extendEnv !== false) {
+ opts.env = Object.assign({}, process.env, opts.env);
+ }
+
+ if (opts && opts.__winShell === true) {
+ delete opts.__winShell;
+ parsed = {
+ command: cmd,
+ args,
+ options: opts,
+ file: cmd,
+ original: cmd
+ };
+ } else {
+ parsed = crossSpawn._parse(cmd, args, opts);
+ }
+
+ opts = Object.assign({
+ maxBuffer: TEN_MEGABYTES,
+ stripEof: true,
+ preferLocal: true,
+ localDir: parsed.options.cwd || process.cwd(),
+ encoding: 'utf8',
+ reject: true,
+ cleanup: true
+ }, parsed.options);
+
+ opts.stdio = stdio(opts);
+
+ if (opts.preferLocal) {
+ opts.env = npmRunPath.env(Object.assign({}, opts, {cwd: opts.localDir}));
+ }
+
+ return {
+ cmd: parsed.command,
+ args: parsed.args,
+ opts,
+ parsed
+ };
+}
+
+function handleInput(spawned, opts) {
+ const input = opts.input;
+
+ if (input === null || input === undefined) {
+ return;
+ }
+
+ if (isStream(input)) {
+ input.pipe(spawned.stdin);
+ } else {
+ spawned.stdin.end(input);
+ }
+}
+
+function handleOutput(opts, val) {
+ if (val && opts.stripEof) {
+ val = stripEof(val);
+ }
+
+ return val;
+}
+
+function handleShell(fn, cmd, opts) {
+ let file = '/bin/sh';
+ let args = ['-c', cmd];
+
+ opts = Object.assign({}, opts);
+
+ if (process.platform === 'win32') {
+ opts.__winShell = true;
+ file = process.env.comspec || 'cmd.exe';
+ args = ['/s', '/c', `"${cmd}"`];
+ opts.windowsVerbatimArguments = true;
+ }
+
+ if (opts.shell) {
+ file = opts.shell;
+ delete opts.shell;
+ }
+
+ return fn(file, args, opts);
+}
+
+function getStream(process, stream, encoding, maxBuffer) {
+ if (!process[stream]) {
+ return null;
+ }
+
+ let ret;
+
+ if (encoding) {
+ ret = _getStream(process[stream], {
+ encoding,
+ maxBuffer
+ });
+ } else {
+ ret = _getStream.buffer(process[stream], {maxBuffer});
+ }
+
+ return ret.catch(err => {
+ err.stream = stream;
+ err.message = `${stream} ${err.message}`;
+ throw err;
+ });
+}
+
+module.exports = (cmd, args, opts) => {
+ let joinedCmd = cmd;
+
+ if (Array.isArray(args) && args.length > 0) {
+ joinedCmd += ' ' + args.join(' ');
+ }
+
+ const parsed = handleArgs(cmd, args, opts);
+ const encoding = parsed.opts.encoding;
+ const maxBuffer = parsed.opts.maxBuffer;
+
+ let spawned;
+ try {
+ spawned = childProcess.spawn(parsed.cmd, parsed.args, parsed.opts);
+ } catch (err) {
+ return Promise.reject(err);
+ }
+
+ let removeExitHandler;
+ if (parsed.opts.cleanup) {
+ removeExitHandler = onExit(() => {
+ spawned.kill();
+ });
+ }
+
+ let timeoutId = null;
+ let timedOut = false;
+
+ const cleanupTimeout = () => {
+ if (timeoutId) {
+ clearTimeout(timeoutId);
+ timeoutId = null;
+ }
+ };
+
+ if (parsed.opts.timeout > 0) {
+ timeoutId = setTimeout(() => {
+ timeoutId = null;
+ timedOut = true;
+ spawned.kill(parsed.opts.killSignal);
+ }, parsed.opts.timeout);
+ }
+
+ const processDone = new Promise(resolve => {
+ spawned.on('exit', (code, signal) => {
+ cleanupTimeout();
+ resolve({code, signal});
+ });
+
+ spawned.on('error', err => {
+ cleanupTimeout();
+ resolve({err});
+ });
+
+ if (spawned.stdin) {
+ spawned.stdin.on('error', err => {
+ cleanupTimeout();
+ resolve({err});
+ });
+ }
+ });
+
+ function destroy() {
+ if (spawned.stdout) {
+ spawned.stdout.destroy();
+ }
+
+ if (spawned.stderr) {
+ spawned.stderr.destroy();
+ }
+ }
+
+ const promise = pFinally(Promise.all([
+ processDone,
+ getStream(spawned, 'stdout', encoding, maxBuffer),
+ getStream(spawned, 'stderr', encoding, maxBuffer)
+ ]).then(arr => {
+ const result = arr[0];
+ const stdout = arr[1];
+ const stderr = arr[2];
+
+ let err = result.err;
+ const code = result.code;
+ const signal = result.signal;
+
+ if (removeExitHandler) {
+ removeExitHandler();
+ }
+
+ if (err || code !== 0 || signal !== null) {
+ if (!err) {
+ let output = '';
+
+ if (Array.isArray(parsed.opts.stdio)) {
+ if (parsed.opts.stdio[2] !== 'inherit') {
+ output += output.length > 0 ? stderr : `\n${stderr}`;
+ }
+
+ if (parsed.opts.stdio[1] !== 'inherit') {
+ output += `\n${stdout}`;
+ }
+ } else if (parsed.opts.stdio !== 'inherit') {
+ output = `\n${stderr}${stdout}`;
+ }
+
+ err = new Error(`Command failed: ${joinedCmd}${output}`);
+ err.code = code < 0 ? errname(code) : code;
+ }
+
+ // TODO: missing some timeout logic for killed
+ // https://github.com/nodejs/node/blob/master/lib/child_process.js#L203
+ // err.killed = spawned.killed || killed;
+ err.killed = err.killed || spawned.killed;
+
+ err.stdout = stdout;
+ err.stderr = stderr;
+ err.failed = true;
+ err.signal = signal || null;
+ err.cmd = joinedCmd;
+ err.timedOut = timedOut;
+
+ if (!parsed.opts.reject) {
+ return err;
+ }
+
+ throw err;
+ }
+
+ return {
+ stdout: handleOutput(parsed.opts, stdout),
+ stderr: handleOutput(parsed.opts, stderr),
+ code: 0,
+ failed: false,
+ killed: false,
+ signal: null,
+ cmd: joinedCmd,
+ timedOut: false
+ };
+ }), destroy);
+
+ crossSpawn._enoent.hookChildProcess(spawned, parsed.parsed);
+
+ handleInput(spawned, parsed.opts);
+
+ spawned.then = promise.then.bind(promise);
+ spawned.catch = promise.catch.bind(promise);
+
+ return spawned;
+};
+
+module.exports.stdout = function () {
+ // TODO: set `stderr: 'ignore'` when that option is implemented
+ return module.exports.apply(null, arguments).then(x => x.stdout);
+};
+
+module.exports.stderr = function () {
+ // TODO: set `stdout: 'ignore'` when that option is implemented
+ return module.exports.apply(null, arguments).then(x => x.stderr);
+};
+
+module.exports.shell = (cmd, opts) => handleShell(module.exports, cmd, opts);
+
+module.exports.sync = (cmd, args, opts) => {
+ const parsed = handleArgs(cmd, args, opts);
+
+ if (isStream(parsed.opts.input)) {
+ throw new TypeError('The `input` option cannot be a stream in sync mode');
+ }
+
+ const result = childProcess.spawnSync(parsed.cmd, parsed.args, parsed.opts);
+
+ if (result.error || result.status !== 0) {
+ throw (result.error || new Error(result.stderr === '' ? result.stdout : result.stderr));
+ }
+
+ result.stdout = handleOutput(parsed.opts, result.stdout);
+ result.stderr = handleOutput(parsed.opts, result.stderr);
+
+ return result;
+};
+
+module.exports.shellSync = (cmd, opts) => handleShell(module.exports.sync, cmd, opts);
+
+module.exports.spawn = util.deprecate(module.exports, 'execa.spawn() is deprecated. Use execa() instead.');
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/execa/lib/errname.js b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/execa/lib/errname.js
new file mode 100644
index 0000000..328f3e3
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/execa/lib/errname.js
@@ -0,0 +1,37 @@
+'use strict';
+// The Node team wants to deprecate `process.bind(...)`.
+// https://github.com/nodejs/node/pull/2768
+//
+// However, we need the 'uv' binding for errname support.
+// This is a defensive wrapper around it so `execa` will not fail entirely if it stops working someday.
+//
+// If this ever stops working. See: https://github.com/sindresorhus/execa/issues/31#issuecomment-215939939 for another possible solution.
+let uv;
+
+try {
+ uv = process.binding('uv');
+
+ if (typeof uv.errname !== 'function') {
+ throw new TypeError('uv.errname is not a function');
+ }
+} catch (err) {
+ console.error('execa/lib/errname: unable to establish process.binding(\'uv\')', err);
+ uv = null;
+}
+
+function errname(uv, code) {
+ if (uv) {
+ return uv.errname(code);
+ }
+
+ if (!(code < 0)) {
+ throw new Error('err >= 0');
+ }
+
+ return `Unknown system error ${code}`;
+}
+
+module.exports = code => errname(uv, code);
+
+// Used for testing the fallback behavior
+module.exports.__test__ = errname;
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/execa/lib/stdio.js b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/execa/lib/stdio.js
new file mode 100644
index 0000000..a82d468
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/execa/lib/stdio.js
@@ -0,0 +1,41 @@
+'use strict';
+const alias = ['stdin', 'stdout', 'stderr'];
+
+const hasAlias = opts => alias.some(x => Boolean(opts[x]));
+
+module.exports = opts => {
+ if (!opts) {
+ return null;
+ }
+
+ if (opts.stdio && hasAlias(opts)) {
+ throw new Error(`It's not possible to provide \`stdio\` in combination with one of ${alias.map(x => `\`${x}\``).join(', ')}`);
+ }
+
+ if (typeof opts.stdio === 'string') {
+ return opts.stdio;
+ }
+
+ const stdio = opts.stdio || [];
+
+ if (!Array.isArray(stdio)) {
+ throw new TypeError(`Expected \`stdio\` to be of type \`string\` or \`Array\`, got \`${typeof stdio}\``);
+ }
+
+ const result = [];
+ const len = Math.max(stdio.length, alias.length);
+
+ for (let i = 0; i < len; i++) {
+ let value = null;
+
+ if (stdio[i] !== undefined) {
+ value = stdio[i];
+ } else if (opts[alias[i]] !== undefined) {
+ value = opts[alias[i]];
+ }
+
+ result[i] = value;
+ }
+
+ return result;
+};
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/execa/license b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/execa/license
new file mode 100644
index 0000000..e7af2f7
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/execa/license
@@ -0,0 +1,9 @@
+MIT License
+
+Copyright (c) Sindre Sorhus (sindresorhus.com)
+
+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.
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/execa/package.json b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/execa/package.json
new file mode 100644
index 0000000..41d934d
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/execa/package.json
@@ -0,0 +1,76 @@
+{
+ "name": "execa",
+ "version": "0.7.0",
+ "description": "A better `child_process`",
+ "license": "MIT",
+ "repository": "sindresorhus/execa",
+ "author": {
+ "name": "Sindre Sorhus",
+ "email": "sindresorhus@gmail.com",
+ "url": "sindresorhus.com"
+ },
+ "maintainers": [
+ {
+ "name": "James Talmage",
+ "email": "james@talmage.io",
+ "url": "github.com/jamestalmage"
+ }
+ ],
+ "engines": {
+ "node": ">=4"
+ },
+ "scripts": {
+ "test": "xo && nyc ava"
+ },
+ "files": [
+ "index.js",
+ "lib"
+ ],
+ "keywords": [
+ "exec",
+ "child",
+ "process",
+ "execute",
+ "fork",
+ "execfile",
+ "spawn",
+ "file",
+ "shell",
+ "bin",
+ "binary",
+ "binaries",
+ "npm",
+ "path",
+ "local"
+ ],
+ "dependencies": {
+ "cross-spawn": "^5.0.1",
+ "get-stream": "^3.0.0",
+ "is-stream": "^1.1.0",
+ "npm-run-path": "^2.0.0",
+ "p-finally": "^1.0.0",
+ "signal-exit": "^3.0.0",
+ "strip-eof": "^1.0.0"
+ },
+ "devDependencies": {
+ "ava": "*",
+ "cat-names": "^1.0.2",
+ "coveralls": "^2.11.9",
+ "delay": "^2.0.0",
+ "is-running": "^2.0.0",
+ "nyc": "^11.0.2",
+ "tempfile": "^2.0.0",
+ "xo": "*"
+ },
+ "nyc": {
+ "reporter": [
+ "text",
+ "lcov"
+ ],
+ "exclude": [
+ "**/fixtures/**",
+ "**/test.js",
+ "**/test/**"
+ ]
+ }
+}
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/execa/readme.md b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/execa/readme.md
new file mode 100644
index 0000000..18c808a
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/execa/readme.md
@@ -0,0 +1,279 @@
+# execa [![Build Status: Linux](https://travis-ci.org/sindresorhus/execa.svg?branch=master)](https://travis-ci.org/sindresorhus/execa) [![Build status: Windows](https://ci.appveyor.com/api/projects/status/x5ajamxtjtt93cqv/branch/master?svg=true)](https://ci.appveyor.com/project/sindresorhus/execa/branch/master) [![Coverage Status](https://coveralls.io/repos/github/sindresorhus/execa/badge.svg?branch=master)](https://coveralls.io/github/sindresorhus/execa?branch=master)
+
+> A better [`child_process`](https://nodejs.org/api/child_process.html)
+
+
+## Why
+
+- Promise interface.
+- [Strips EOF](https://github.com/sindresorhus/strip-eof) from the output so you don't have to `stdout.trim()`.
+- Supports [shebang](https://en.wikipedia.org/wiki/Shebang_(Unix)) binaries cross-platform.
+- [Improved Windows support.](https://github.com/IndigoUnited/node-cross-spawn#why)
+- Higher max buffer. 10 MB instead of 200 KB.
+- [Executes locally installed binaries by name.](#preferlocal)
+- [Cleans up spawned processes when the parent process dies.](#cleanup)
+
+
+## Install
+
+```
+$ npm install --save execa
+```
+
+
+## Usage
+
+```js
+const execa = require('execa');
+
+execa('echo', ['unicorns']).then(result => {
+ console.log(result.stdout);
+ //=> 'unicorns'
+});
+
+// pipe the child process stdout to the current stdout
+execa('echo', ['unicorns']).stdout.pipe(process.stdout);
+
+execa.shell('echo unicorns').then(result => {
+ console.log(result.stdout);
+ //=> 'unicorns'
+});
+
+// example of catching an error
+execa.shell('exit 3').catch(error => {
+ console.log(error);
+ /*
+ {
+ message: 'Command failed: /bin/sh -c exit 3'
+ killed: false,
+ code: 3,
+ signal: null,
+ cmd: '/bin/sh -c exit 3',
+ stdout: '',
+ stderr: '',
+ timedOut: false
+ }
+ */
+});
+```
+
+
+## API
+
+### execa(file, [arguments], [options])
+
+Execute a file.
+
+Think of this as a mix of `child_process.execFile` and `child_process.spawn`.
+
+Returns a [`child_process` instance](https://nodejs.org/api/child_process.html#child_process_class_childprocess), which is enhanced to also be a `Promise` for a result `Object` with `stdout` and `stderr` properties.
+
+### execa.stdout(file, [arguments], [options])
+
+Same as `execa()`, but returns only `stdout`.
+
+### execa.stderr(file, [arguments], [options])
+
+Same as `execa()`, but returns only `stderr`.
+
+### execa.shell(command, [options])
+
+Execute a command through the system shell. Prefer `execa()` whenever possible, as it's both faster and safer.
+
+Returns a [`child_process` instance](https://nodejs.org/api/child_process.html#child_process_class_childprocess).
+
+The `child_process` instance is enhanced to also be promise for a result object with `stdout` and `stderr` properties.
+
+### execa.sync(file, [arguments], [options])
+
+Execute a file synchronously.
+
+Returns the same result object as [`child_process.spawnSync`](https://nodejs.org/api/child_process.html#child_process_child_process_spawnsync_command_args_options).
+
+This method throws an `Error` if the command fails.
+
+### execa.shellSync(file, [options])
+
+Execute a command synchronously through the system shell.
+
+Returns the same result object as [`child_process.spawnSync`](https://nodejs.org/api/child_process.html#child_process_child_process_spawnsync_command_args_options).
+
+### options
+
+Type: `Object`
+
+#### cwd
+
+Type: `string`
+Default: `process.cwd()`
+
+Current working directory of the child process.
+
+#### env
+
+Type: `Object`
+Default: `process.env`
+
+Environment key-value pairs. Extends automatically from `process.env`. Set `extendEnv` to `false` if you don't want this.
+
+#### extendEnv
+
+Type: `boolean`
+Default: `true`
+
+Set to `false` if you don't want to extend the environment variables when providing the `env` property.
+
+#### argv0
+
+Type: `string`
+
+Explicitly set the value of `argv[0]` sent to the child process. This will be set to `command` or `file` if not specified.
+
+#### stdio
+
+Type: `Array` `string`
+Default: `pipe`
+
+Child's [stdio](https://nodejs.org/api/child_process.html#child_process_options_stdio) configuration.
+
+#### detached
+
+Type: `boolean`
+
+Prepare child to run independently of its parent process. Specific behavior [depends on the platform](https://nodejs.org/api/child_process.html#child_process_options_detached).
+
+#### uid
+
+Type: `number`
+
+Sets the user identity of the process.
+
+#### gid
+
+Type: `number`
+
+Sets the group identity of the process.
+
+#### shell
+
+Type: `boolean` `string`
+Default: `false`
+
+If `true`, runs `command` inside of a shell. Uses `/bin/sh` on UNIX and `cmd.exe` on Windows. A different shell can be specified as a string. The shell should understand the `-c` switch on UNIX or `/d /s /c` on Windows.
+
+#### stripEof
+
+Type: `boolean`
+Default: `true`
+
+[Strip EOF](https://github.com/sindresorhus/strip-eof) (last newline) from the output.
+
+#### preferLocal
+
+Type: `boolean`
+Default: `true`
+
+Prefer locally installed binaries when looking for a binary to execute.
+If you `$ npm install foo`, you can then `execa('foo')`.
+
+#### localDir
+
+Type: `string`
+Default: `process.cwd()`
+
+Preferred path to find locally installed binaries in (use with `preferLocal`).
+
+#### input
+
+Type: `string` `Buffer` `stream.Readable`
+
+Write some input to the `stdin` of your binary.
+Streams are not allowed when using the synchronous methods.
+
+#### reject
+
+Type: `boolean`
+Default: `true`
+
+Setting this to `false` resolves the promise with the error instead of rejecting it.
+
+#### cleanup
+
+Type: `boolean`
+Default: `true`
+
+Keep track of the spawned process and `kill` it when the parent process exits.
+
+#### encoding
+
+Type: `string`
+Default: `utf8`
+
+Specify the character encoding used to decode the `stdout` and `stderr` output.
+
+#### timeout
+
+Type: `number`
+Default: `0`
+
+If timeout is greater than `0`, the parent will send the signal identified by the `killSignal` property (the default is `SIGTERM`) if the child runs longer than timeout milliseconds.
+
+#### maxBuffer
+
+Type: `number`
+Default: `10000000` (10MB)
+
+Largest amount of data in bytes allowed on `stdout` or `stderr`.
+
+#### killSignal
+
+Type: `string` `number`
+Default: `SIGTERM`
+
+Signal value to be used when the spawned process will be killed.
+
+#### stdin
+
+Type: `string` `number` `Stream` `undefined` `null`
+Default: `pipe`
+
+Same options as [`stdio`](https://nodejs.org/dist/latest-v6.x/docs/api/child_process.html#child_process_options_stdio).
+
+#### stdout
+
+Type: `string` `number` `Stream` `undefined` `null`
+Default: `pipe`
+
+Same options as [`stdio`](https://nodejs.org/dist/latest-v6.x/docs/api/child_process.html#child_process_options_stdio).
+
+#### stderr
+
+Type: `string` `number` `Stream` `undefined` `null`
+Default: `pipe`
+
+Same options as [`stdio`](https://nodejs.org/dist/latest-v6.x/docs/api/child_process.html#child_process_options_stdio).
+
+
+## Tips
+
+### Save and pipe output from a child process
+
+Let's say you want to show the output of a child process in real-time while also saving it to a variable.
+
+```js
+const execa = require('execa');
+const getStream = require('get-stream');
+
+const stream = execa('echo', ['foo']).stdout;
+
+stream.pipe(process.stdout);
+
+getStream(stream).then(value => {
+ console.log('child output:', value);
+});
+```
+
+
+## License
+
+MIT © [Sindre Sorhus](https://sindresorhus.com)
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/expand-brackets/LICENSE b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/expand-brackets/LICENSE
new file mode 100644
index 0000000..6525171
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/expand-brackets/LICENSE
@@ -0,0 +1,21 @@
+The MIT License (MIT)
+
+Copyright (c) 2015-2016, Jon Schlinkert
+
+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.
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/expand-brackets/README.md b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/expand-brackets/README.md
new file mode 100644
index 0000000..c0e33d0
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/expand-brackets/README.md
@@ -0,0 +1,302 @@
+# expand-brackets [![NPM version](https://img.shields.io/npm/v/expand-brackets.svg?style=flat)](https://www.npmjs.com/package/expand-brackets) [![NPM monthly downloads](https://img.shields.io/npm/dm/expand-brackets.svg?style=flat)](https://npmjs.org/package/expand-brackets) [![NPM total downloads](https://img.shields.io/npm/dt/expand-brackets.svg?style=flat)](https://npmjs.org/package/expand-brackets) [![Linux Build Status](https://img.shields.io/travis/jonschlinkert/expand-brackets.svg?style=flat&label=Travis)](https://travis-ci.org/jonschlinkert/expand-brackets) [![Windows Build Status](https://img.shields.io/appveyor/ci/jonschlinkert/expand-brackets.svg?style=flat&label=AppVeyor)](https://ci.appveyor.com/project/jonschlinkert/expand-brackets)
+
+> Expand POSIX bracket expressions (character classes) in glob patterns.
+
+## Install
+
+Install with [npm](https://www.npmjs.com/):
+
+```sh
+$ npm install --save expand-brackets
+```
+
+## Usage
+
+```js
+var brackets = require('expand-brackets');
+brackets(string[, options]);
+```
+
+**Params**
+
+The main export is a function that takes the following parameters:
+
+* `pattern` **{String}**: the pattern to convert
+* `options` **{Object}**: optionally supply an options object
+* `returns` **{String}**: returns a string that can be used to create a regex
+
+**Example**
+
+```js
+console.log(brackets('[![:lower:]]'));
+//=> '[^a-z]'
+```
+
+## API
+
+### [brackets](index.js#L29)
+
+Parses the given POSIX character class `pattern` and returns a
+string that can be used for creating regular expressions for matching.
+
+**Params**
+
+* `pattern` **{String}**
+* `options` **{Object}**
+* `returns` **{Object}**
+
+### [.match](index.js#L54)
+
+Takes an array of strings and a POSIX character class pattern, and returns a new array with only the strings that matched the pattern.
+
+**Example**
+
+```js
+var brackets = require('expand-brackets');
+console.log(brackets.match(['1', 'a', 'ab'], '[[:alpha:]]'));
+//=> ['a']
+
+console.log(brackets.match(['1', 'a', 'ab'], '[[:alpha:]]+'));
+//=> ['a', 'ab']
+```
+
+**Params**
+
+* `arr` **{Array}**: Array of strings to match
+* `pattern` **{String}**: POSIX character class pattern(s)
+* `options` **{Object}**
+* `returns` **{Array}**
+
+### [.isMatch](index.js#L100)
+
+Returns true if the specified `string` matches the given brackets `pattern`.
+
+**Example**
+
+```js
+var brackets = require('expand-brackets');
+
+console.log(brackets.isMatch('a.a', '[[:alpha:]].[[:alpha:]]'));
+//=> true
+console.log(brackets.isMatch('1.2', '[[:alpha:]].[[:alpha:]]'));
+//=> false
+```
+
+**Params**
+
+* `string` **{String}**: String to match
+* `pattern` **{String}**: Poxis pattern
+* `options` **{String}**
+* `returns` **{Boolean}**
+
+### [.matcher](index.js#L123)
+
+Takes a POSIX character class pattern and returns a matcher function. The returned function takes the string to match as its only argument.
+
+**Example**
+
+```js
+var brackets = require('expand-brackets');
+var isMatch = brackets.matcher('[[:lower:]].[[:upper:]]');
+
+console.log(isMatch('a.a'));
+//=> false
+console.log(isMatch('a.A'));
+//=> true
+```
+
+**Params**
+
+* `pattern` **{String}**: Poxis pattern
+* `options` **{String}**
+* `returns` **{Boolean}**
+
+### [.makeRe](index.js#L145)
+
+Create a regular expression from the given `pattern`.
+
+**Example**
+
+```js
+var brackets = require('expand-brackets');
+var re = brackets.makeRe('[[:alpha:]]');
+console.log(re);
+//=> /^(?:[a-zA-Z])$/
+```
+
+**Params**
+
+* `pattern` **{String}**: The pattern to convert to regex.
+* `options` **{Object}**
+* `returns` **{RegExp}**
+
+### [.create](index.js#L187)
+
+Parses the given POSIX character class `pattern` and returns an object with the compiled `output` and optional source `map`.
+
+**Example**
+
+```js
+var brackets = require('expand-brackets');
+console.log(brackets('[[:alpha:]]'));
+// { options: { source: 'string' },
+// input: '[[:alpha:]]',
+// state: {},
+// compilers:
+// { eos: [Function],
+// noop: [Function],
+// bos: [Function],
+// not: [Function],
+// escape: [Function],
+// text: [Function],
+// posix: [Function],
+// bracket: [Function],
+// 'bracket.open': [Function],
+// 'bracket.inner': [Function],
+// 'bracket.literal': [Function],
+// 'bracket.close': [Function] },
+// output: '[a-zA-Z]',
+// ast:
+// { type: 'root',
+// errors: [],
+// nodes: [ [Object], [Object], [Object] ] },
+// parsingErrors: [] }
+```
+
+**Params**
+
+* `pattern` **{String}**
+* `options` **{Object}**
+* `returns` **{Object}**
+
+## Options
+
+### options.sourcemap
+
+Generate a source map for the given pattern.
+
+**Example**
+
+```js
+var res = brackets('[:alpha:]', {sourcemap: true});
+
+console.log(res.map);
+// { version: 3,
+// sources: [ 'brackets' ],
+// names: [],
+// mappings: 'AAAA,MAAS',
+// sourcesContent: [ '[:alpha:]' ] }
+```
+
+### POSIX Character classes
+
+The following named POSIX bracket expressions are supported:
+
+* `[:alnum:]`: Alphanumeric characters (`a-zA-Z0-9]`)
+* `[:alpha:]`: Alphabetic characters (`a-zA-Z]`)
+* `[:blank:]`: Space and tab (`[ t]`)
+* `[:digit:]`: Digits (`[0-9]`)
+* `[:lower:]`: Lowercase letters (`[a-z]`)
+* `[:punct:]`: Punctuation and symbols. (`[!"#$%&'()*+, -./:;<=>?@ [\]^_``{|}~]`)
+* `[:upper:]`: Uppercase letters (`[A-Z]`)
+* `[:word:]`: Word characters (letters, numbers and underscores) (`[A-Za-z0-9_]`)
+* `[:xdigit:]`: Hexadecimal digits (`[A-Fa-f0-9]`)
+
+See [posix-character-classes](https://github.com/jonschlinkert/posix-character-classes) for more details.
+
+**Not supported**
+
+* [equivalence classes](https://www.gnu.org/software/gawk/manual/html_node/Bracket-Expressions.html) are not supported
+* [POSIX.2 collating symbols](https://www.gnu.org/software/gawk/manual/html_node/Bracket-Expressions.html) are not supported
+
+## Changelog
+
+### v2.0.0
+
+**Breaking changes**
+
+* The main export now returns the compiled string, instead of the object returned from the compiler
+
+**Added features**
+
+* Adds a `.create` method to do what the main function did before v2.0.0
+
+### v0.2.0
+
+In addition to performance and matching improvements, the v0.2.0 refactor adds complete POSIX character class support, with the exception of equivalence classes and POSIX.2 collating symbols which are not relevant to node.js usage.
+
+**Added features**
+
+* parser is exposed, so that expand-brackets parsers can be used by upstream parsers (like [micromatch](https://github.com/jonschlinkert/micromatch))
+* compiler is exposed, so that expand-brackets compilers can be used by upstream compilers
+* source maps
+
+**source map example**
+
+```js
+var brackets = require('expand-brackets');
+var res = brackets('[:alpha:]');
+console.log(res.map);
+
+{ version: 3,
+ sources: [ 'brackets' ],
+ names: [],
+ mappings: 'AAAA,MAAS',
+ sourcesContent: [ '[:alpha:]' ] }
+```
+
+## About
+
+### Related projects
+
+* [braces](https://www.npmjs.com/package/braces): Fast, comprehensive, bash-like brace expansion implemented in JavaScript. Complete support for the Bash 4.3 braces… [more](https://github.com/jonschlinkert/braces) | [homepage](https://github.com/jonschlinkert/braces "Fast, comprehensive, bash-like brace expansion implemented in JavaScript. Complete support for the Bash 4.3 braces specification, without sacrificing speed.")
+* [extglob](https://www.npmjs.com/package/extglob): Extended glob support for JavaScript. Adds (almost) the expressive power of regular expressions to glob… [more](https://github.com/jonschlinkert/extglob) | [homepage](https://github.com/jonschlinkert/extglob "Extended glob support for JavaScript. Adds (almost) the expressive power of regular expressions to glob patterns.")
+* [micromatch](https://www.npmjs.com/package/micromatch): Glob matching for javascript/node.js. A drop-in replacement and faster alternative to minimatch and multimatch. | [homepage](https://github.com/jonschlinkert/micromatch "Glob matching for javascript/node.js. A drop-in replacement and faster alternative to minimatch and multimatch.")
+* [nanomatch](https://www.npmjs.com/package/nanomatch): Fast, minimal glob matcher for node.js. Similar to micromatch, minimatch and multimatch, but complete Bash… [more](https://github.com/jonschlinkert/nanomatch) | [homepage](https://github.com/jonschlinkert/nanomatch "Fast, minimal glob matcher for node.js. Similar to micromatch, minimatch and multimatch, but complete Bash 4.3 wildcard support only (no support for exglobs, posix brackets or braces)")
+
+### Contributing
+
+Pull requests and stars are always welcome. For bugs and feature requests, [please create an issue](../../issues/new).
+
+### Contributors
+
+| **Commits** | **Contributor** |
+| --- | --- |
+| 66 | [jonschlinkert](https://github.com/jonschlinkert) |
+| 2 | [MartinKolarik](https://github.com/MartinKolarik) |
+| 2 | [es128](https://github.com/es128) |
+| 1 | [eush77](https://github.com/eush77) |
+
+### Building docs
+
+_(This document was generated by [verb-generate-readme](https://github.com/verbose/verb-generate-readme) (a [verb](https://github.com/verbose/verb) generator), please don't edit the readme directly. Any changes to the readme must be made in [.verb.md](.verb.md).)_
+
+To generate the readme and API documentation with [verb](https://github.com/verbose/verb):
+
+```sh
+$ npm install -g verb verb-generate-readme && verb
+```
+
+### Running tests
+
+Install dev dependencies:
+
+```sh
+$ npm install -d && npm test
+```
+
+### Author
+
+**Jon Schlinkert**
+
+* [github/jonschlinkert](https://github.com/jonschlinkert)
+* [twitter/jonschlinkert](http://twitter.com/jonschlinkert)
+
+### License
+
+Copyright © 2016, [Jon Schlinkert](https://github.com/jonschlinkert).
+Released under the [MIT license](https://github.com/jonschlinkert/expand-brackets/blob/master/LICENSE).
+
+***
+
+_This file was generated by [verb-generate-readme](https://github.com/verbose/verb-generate-readme), v0.2.0, on December 12, 2016._
\ No newline at end of file
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/expand-brackets/changelog.md b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/expand-brackets/changelog.md
new file mode 100644
index 0000000..0c0723a
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/expand-brackets/changelog.md
@@ -0,0 +1,35 @@
+## Changelog
+
+### v2.0.0
+
+**Breaking changes**
+
+- The main export now returns the compiled string, instead of the object returned from the compiler
+
+**Added features**
+
+- Adds a `.create` method to do what the main function did before v2.0.0
+
+### v0.2.0
+
+In addition to performance and matching improvements, the v0.2.0 refactor adds complete POSIX character class support, with the exception of equivalence classes and POSIX.2 collating symbols which are not relevant to node.js usage.
+
+**Added features**
+
+- parser is exposed, so that expand-brackets parsers can be used by upstream parsers (like [micromatch][])
+- compiler is exposed, so that expand-brackets compilers can be used by upstream compilers
+- source maps
+
+**source map example**
+
+```js
+var brackets = require('expand-brackets');
+var res = brackets('[:alpha:]');
+console.log(res.map);
+
+{ version: 3,
+ sources: [ 'brackets' ],
+ names: [],
+ mappings: 'AAAA,MAAS',
+ sourcesContent: [ '[:alpha:]' ] }
+```
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/expand-brackets/index.js b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/expand-brackets/index.js
new file mode 100644
index 0000000..74b8b15
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/expand-brackets/index.js
@@ -0,0 +1,211 @@
+'use strict';
+
+/**
+ * Local dependencies
+ */
+
+var compilers = require('./lib/compilers');
+var parsers = require('./lib/parsers');
+
+/**
+ * Module dependencies
+ */
+
+var debug = require('debug')('expand-brackets');
+var extend = require('extend-shallow');
+var Snapdragon = require('snapdragon');
+var toRegex = require('to-regex');
+
+/**
+ * Parses the given POSIX character class `pattern` and returns a
+ * string that can be used for creating regular expressions for matching.
+ *
+ * @param {String} `pattern`
+ * @param {Object} `options`
+ * @return {Object}
+ * @api public
+ */
+
+function brackets(pattern, options) {
+ debug('initializing from <%s>', __filename);
+ var res = brackets.create(pattern, options);
+ return res.output;
+}
+
+/**
+ * Takes an array of strings and a POSIX character class pattern, and returns a new
+ * array with only the strings that matched the pattern.
+ *
+ * ```js
+ * var brackets = require('expand-brackets');
+ * console.log(brackets.match(['1', 'a', 'ab'], '[[:alpha:]]'));
+ * //=> ['a']
+ *
+ * console.log(brackets.match(['1', 'a', 'ab'], '[[:alpha:]]+'));
+ * //=> ['a', 'ab']
+ * ```
+ * @param {Array} `arr` Array of strings to match
+ * @param {String} `pattern` POSIX character class pattern(s)
+ * @param {Object} `options`
+ * @return {Array}
+ * @api public
+ */
+
+brackets.match = function(arr, pattern, options) {
+ arr = [].concat(arr);
+ var opts = extend({}, options);
+ var isMatch = brackets.matcher(pattern, opts);
+ var len = arr.length;
+ var idx = -1;
+ var res = [];
+
+ while (++idx < len) {
+ var ele = arr[idx];
+ if (isMatch(ele)) {
+ res.push(ele);
+ }
+ }
+
+ if (res.length === 0) {
+ if (opts.failglob === true) {
+ throw new Error('no matches found for "' + pattern + '"');
+ }
+
+ if (opts.nonull === true || opts.nullglob === true) {
+ return [pattern.split('\\').join('')];
+ }
+ }
+ return res;
+};
+
+/**
+ * Returns true if the specified `string` matches the given
+ * brackets `pattern`.
+ *
+ * ```js
+ * var brackets = require('expand-brackets');
+ *
+ * console.log(brackets.isMatch('a.a', '[[:alpha:]].[[:alpha:]]'));
+ * //=> true
+ * console.log(brackets.isMatch('1.2', '[[:alpha:]].[[:alpha:]]'));
+ * //=> false
+ * ```
+ * @param {String} `string` String to match
+ * @param {String} `pattern` Poxis pattern
+ * @param {String} `options`
+ * @return {Boolean}
+ * @api public
+ */
+
+brackets.isMatch = function(str, pattern, options) {
+ return brackets.matcher(pattern, options)(str);
+};
+
+/**
+ * Takes a POSIX character class pattern and returns a matcher function. The returned
+ * function takes the string to match as its only argument.
+ *
+ * ```js
+ * var brackets = require('expand-brackets');
+ * var isMatch = brackets.matcher('[[:lower:]].[[:upper:]]');
+ *
+ * console.log(isMatch('a.a'));
+ * //=> false
+ * console.log(isMatch('a.A'));
+ * //=> true
+ * ```
+ * @param {String} `pattern` Poxis pattern
+ * @param {String} `options`
+ * @return {Boolean}
+ * @api public
+ */
+
+brackets.matcher = function(pattern, options) {
+ var re = brackets.makeRe(pattern, options);
+ return function(str) {
+ return re.test(str);
+ };
+};
+
+/**
+ * Create a regular expression from the given `pattern`.
+ *
+ * ```js
+ * var brackets = require('expand-brackets');
+ * var re = brackets.makeRe('[[:alpha:]]');
+ * console.log(re);
+ * //=> /^(?:[a-zA-Z])$/
+ * ```
+ * @param {String} `pattern` The pattern to convert to regex.
+ * @param {Object} `options`
+ * @return {RegExp}
+ * @api public
+ */
+
+brackets.makeRe = function(pattern, options) {
+ var res = brackets.create(pattern, options);
+ var opts = extend({strictErrors: false}, options);
+ return toRegex(res.output, opts);
+};
+
+/**
+ * Parses the given POSIX character class `pattern` and returns an object
+ * with the compiled `output` and optional source `map`.
+ *
+ * ```js
+ * var brackets = require('expand-brackets');
+ * console.log(brackets('[[:alpha:]]'));
+ * // { options: { source: 'string' },
+ * // input: '[[:alpha:]]',
+ * // state: {},
+ * // compilers:
+ * // { eos: [Function],
+ * // noop: [Function],
+ * // bos: [Function],
+ * // not: [Function],
+ * // escape: [Function],
+ * // text: [Function],
+ * // posix: [Function],
+ * // bracket: [Function],
+ * // 'bracket.open': [Function],
+ * // 'bracket.inner': [Function],
+ * // 'bracket.literal': [Function],
+ * // 'bracket.close': [Function] },
+ * // output: '[a-zA-Z]',
+ * // ast:
+ * // { type: 'root',
+ * // errors: [],
+ * // nodes: [ [Object], [Object], [Object] ] },
+ * // parsingErrors: [] }
+ * ```
+ * @param {String} `pattern`
+ * @param {Object} `options`
+ * @return {Object}
+ * @api public
+ */
+
+brackets.create = function(pattern, options) {
+ var snapdragon = (options && options.snapdragon) || new Snapdragon(options);
+ compilers(snapdragon);
+ parsers(snapdragon);
+
+ var ast = snapdragon.parse(pattern, options);
+ ast.input = pattern;
+ var res = snapdragon.compile(ast, options);
+ res.input = pattern;
+ return res;
+};
+
+/**
+ * Expose `brackets` constructor, parsers and compilers
+ */
+
+brackets.compilers = compilers;
+brackets.parsers = parsers;
+
+/**
+ * Expose `brackets`
+ * @type {Function}
+ */
+
+module.exports = brackets;
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/expand-brackets/lib/compilers.js b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/expand-brackets/lib/compilers.js
new file mode 100644
index 0000000..fbf7fe8
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/expand-brackets/lib/compilers.js
@@ -0,0 +1,87 @@
+'use strict';
+
+var posix = require('posix-character-classes');
+
+module.exports = function(brackets) {
+ brackets.compiler
+
+ /**
+ * Escaped characters
+ */
+
+ .set('escape', function(node) {
+ return this.emit('\\' + node.val.replace(/^\\/, ''), node);
+ })
+
+ /**
+ * Text
+ */
+
+ .set('text', function(node) {
+ return this.emit(node.val.replace(/([{}])/g, '\\$1'), node);
+ })
+
+ /**
+ * POSIX character classes
+ */
+
+ .set('posix', function(node) {
+ if (node.val === '[::]') {
+ return this.emit('\\[::\\]', node);
+ }
+
+ var val = posix[node.inner];
+ if (typeof val === 'undefined') {
+ val = '[' + node.inner + ']';
+ }
+ return this.emit(val, node);
+ })
+
+ /**
+ * Non-posix brackets
+ */
+
+ .set('bracket', function(node) {
+ return this.mapVisit(node.nodes);
+ })
+ .set('bracket.open', function(node) {
+ return this.emit(node.val, node);
+ })
+ .set('bracket.inner', function(node) {
+ var inner = node.val;
+
+ if (inner === '[' || inner === ']') {
+ return this.emit('\\' + node.val, node);
+ }
+ if (inner === '^]') {
+ return this.emit('^\\]', node);
+ }
+ if (inner === '^') {
+ return this.emit('^', node);
+ }
+
+ if (/-/.test(inner) && !/(\d-\d|\w-\w)/.test(inner)) {
+ inner = inner.split('-').join('\\-');
+ }
+
+ var isNegated = inner.charAt(0) === '^';
+ // add slashes to negated brackets, per spec
+ if (isNegated && inner.indexOf('/') === -1) {
+ inner += '/';
+ }
+ if (isNegated && inner.indexOf('.') === -1) {
+ inner += '.';
+ }
+
+ // don't unescape `0` (octal literal)
+ inner = inner.replace(/\\([1-9])/g, '$1');
+ return this.emit(inner, node);
+ })
+ .set('bracket.close', function(node) {
+ var val = node.val.replace(/^\\/, '');
+ if (node.parent.escaped === true) {
+ return this.emit('\\' + val, node);
+ }
+ return this.emit(val, node);
+ });
+};
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/expand-brackets/lib/parsers.js b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/expand-brackets/lib/parsers.js
new file mode 100644
index 0000000..450a512
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/expand-brackets/lib/parsers.js
@@ -0,0 +1,219 @@
+'use strict';
+
+var utils = require('./utils');
+var define = require('define-property');
+
+/**
+ * Text regex
+ */
+
+var TEXT_REGEX = '(\\[(?=.*\\])|\\])+';
+var not = utils.createRegex(TEXT_REGEX);
+
+/**
+ * Brackets parsers
+ */
+
+function parsers(brackets) {
+ brackets.state = brackets.state || {};
+ brackets.parser.sets.bracket = brackets.parser.sets.bracket || [];
+ brackets.parser
+
+ .capture('escape', function() {
+ if (this.isInside('bracket')) return;
+ var pos = this.position();
+ var m = this.match(/^\\(.)/);
+ if (!m) return;
+
+ return pos({
+ type: 'escape',
+ val: m[0]
+ });
+ })
+
+ /**
+ * Text parser
+ */
+
+ .capture('text', function() {
+ if (this.isInside('bracket')) return;
+ var pos = this.position();
+ var m = this.match(not);
+ if (!m || !m[0]) return;
+
+ return pos({
+ type: 'text',
+ val: m[0]
+ });
+ })
+
+ /**
+ * POSIX character classes: "[[:alpha:][:digits:]]"
+ */
+
+ .capture('posix', function() {
+ var pos = this.position();
+ var m = this.match(/^\[:(.*?):\](?=.*\])/);
+ if (!m) return;
+
+ var inside = this.isInside('bracket');
+ if (inside) {
+ brackets.posix++;
+ }
+
+ return pos({
+ type: 'posix',
+ insideBracket: inside,
+ inner: m[1],
+ val: m[0]
+ });
+ })
+
+ /**
+ * Bracket (noop)
+ */
+
+ .capture('bracket', function() {})
+
+ /**
+ * Open: '['
+ */
+
+ .capture('bracket.open', function() {
+ var parsed = this.parsed;
+ var pos = this.position();
+ var m = this.match(/^\[(?=.*\])/);
+ if (!m) return;
+
+ var prev = this.prev();
+ var last = utils.last(prev.nodes);
+
+ if (parsed.slice(-1) === '\\' && !this.isInside('bracket')) {
+ last.val = last.val.slice(0, last.val.length - 1);
+ return pos({
+ type: 'escape',
+ val: m[0]
+ });
+ }
+
+ var open = pos({
+ type: 'bracket.open',
+ val: m[0]
+ });
+
+ if (last.type === 'bracket.open' || this.isInside('bracket')) {
+ open.val = '\\' + open.val;
+ open.type = 'bracket.inner';
+ open.escaped = true;
+ return open;
+ }
+
+ var node = pos({
+ type: 'bracket',
+ nodes: [open]
+ });
+
+ define(node, 'parent', prev);
+ define(open, 'parent', node);
+ this.push('bracket', node);
+ prev.nodes.push(node);
+ })
+
+ /**
+ * Bracket text
+ */
+
+ .capture('bracket.inner', function() {
+ if (!this.isInside('bracket')) return;
+ var pos = this.position();
+ var m = this.match(not);
+ if (!m || !m[0]) return;
+
+ var next = this.input.charAt(0);
+ var val = m[0];
+
+ var node = pos({
+ type: 'bracket.inner',
+ val: val
+ });
+
+ if (val === '\\\\') {
+ return node;
+ }
+
+ var first = val.charAt(0);
+ var last = val.slice(-1);
+
+ if (first === '!') {
+ val = '^' + val.slice(1);
+ }
+
+ if (last === '\\' || (val === '^' && next === ']')) {
+ val += this.input[0];
+ this.consume(1);
+ }
+
+ node.val = val;
+ return node;
+ })
+
+ /**
+ * Close: ']'
+ */
+
+ .capture('bracket.close', function() {
+ var parsed = this.parsed;
+ var pos = this.position();
+ var m = this.match(/^\]/);
+ if (!m) return;
+
+ var prev = this.prev();
+ var last = utils.last(prev.nodes);
+
+ if (parsed.slice(-1) === '\\' && !this.isInside('bracket')) {
+ last.val = last.val.slice(0, last.val.length - 1);
+
+ return pos({
+ type: 'escape',
+ val: m[0]
+ });
+ }
+
+ var node = pos({
+ type: 'bracket.close',
+ rest: this.input,
+ val: m[0]
+ });
+
+ if (last.type === 'bracket.open') {
+ node.type = 'bracket.inner';
+ node.escaped = true;
+ return node;
+ }
+
+ var bracket = this.pop('bracket');
+ if (!this.isType(bracket, 'bracket')) {
+ if (this.options.strict) {
+ throw new Error('missing opening "["');
+ }
+ node.type = 'bracket.inner';
+ node.escaped = true;
+ return node;
+ }
+
+ bracket.nodes.push(node);
+ define(node, 'parent', bracket);
+ });
+}
+
+/**
+ * Brackets parsers
+ */
+
+module.exports = parsers;
+
+/**
+ * Expose text regex
+ */
+
+module.exports.TEXT_REGEX = TEXT_REGEX;
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/expand-brackets/lib/utils.js b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/expand-brackets/lib/utils.js
new file mode 100644
index 0000000..599ff51
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/expand-brackets/lib/utils.js
@@ -0,0 +1,34 @@
+'use strict';
+
+var toRegex = require('to-regex');
+var regexNot = require('regex-not');
+var cached;
+
+/**
+ * Get the last element from `array`
+ * @param {Array} `array`
+ * @return {*}
+ */
+
+exports.last = function(arr) {
+ return arr[arr.length - 1];
+};
+
+/**
+ * Create and cache regex to use for text nodes
+ */
+
+exports.createRegex = function(pattern, include) {
+ if (cached) return cached;
+ var opts = {contains: true, strictClose: false};
+ var not = regexNot.create(pattern, opts);
+ var re;
+
+ if (typeof include === 'string') {
+ re = toRegex('^(?:' + include + '|' + not + ')', opts);
+ } else {
+ re = toRegex(not, opts);
+ }
+
+ return (cached = re);
+};
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/expand-brackets/node_modules/define-property/LICENSE b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/expand-brackets/node_modules/define-property/LICENSE
new file mode 100644
index 0000000..65f90ac
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/expand-brackets/node_modules/define-property/LICENSE
@@ -0,0 +1,21 @@
+The MIT License (MIT)
+
+Copyright (c) 2015, Jon Schlinkert.
+
+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.
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/expand-brackets/node_modules/define-property/README.md b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/expand-brackets/node_modules/define-property/README.md
new file mode 100644
index 0000000..8cac698
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/expand-brackets/node_modules/define-property/README.md
@@ -0,0 +1,77 @@
+# define-property [![NPM version](https://badge.fury.io/js/define-property.svg)](http://badge.fury.io/js/define-property)
+
+> Define a non-enumerable property on an object.
+
+## Install
+
+Install with [npm](https://www.npmjs.com/)
+
+```sh
+$ npm i define-property --save
+```
+
+## Usage
+
+**Params**
+
+* `obj`: The object on which to define the property.
+* `prop`: The name of the property to be defined or modified.
+* `descriptor`: The descriptor for the property being defined or modified.
+
+```js
+var define = require('define-property');
+var obj = {};
+define(obj, 'foo', function(val) {
+ return val.toUpperCase();
+});
+
+console.log(obj);
+//=> {}
+
+console.log(obj.foo('bar'));
+//=> 'BAR'
+```
+
+**get/set**
+
+```js
+define(obj, 'foo', {
+ get: function() {},
+ set: function() {}
+});
+```
+
+## Related projects
+
+* [delegate-object](https://www.npmjs.com/package/delegate-object): Copy properties from an object to another object, where properties with function values will be… [more](https://www.npmjs.com/package/delegate-object) | [homepage](https://github.com/doowb/delegate-object)
+* [forward-object](https://www.npmjs.com/package/forward-object): Copy properties from an object to another object, where properties with function values will be… [more](https://www.npmjs.com/package/forward-object) | [homepage](https://github.com/doowb/forward-object)
+* [mixin-deep](https://www.npmjs.com/package/mixin-deep): Deeply mix the properties of objects into the first object. Like merge-deep, but doesn't clone. | [homepage](https://github.com/jonschlinkert/mixin-deep)
+* [mixin-object](https://www.npmjs.com/package/mixin-object): Mixin the own and inherited properties of other objects onto the first object. Pass an… [more](https://www.npmjs.com/package/mixin-object) | [homepage](https://github.com/jonschlinkert/mixin-object)
+
+## Running tests
+
+Install dev dependencies:
+
+```sh
+$ npm i -d && npm test
+```
+
+## Contributing
+
+Pull requests and stars are always welcome. For bugs and feature requests, [please create an issue](https://github.com/jonschlinkert/define-property/issues/new).
+
+## Author
+
+**Jon Schlinkert**
+
++ [github/jonschlinkert](https://github.com/jonschlinkert)
++ [twitter/jonschlinkert](http://twitter.com/jonschlinkert)
+
+## License
+
+Copyright © 2015 Jon Schlinkert
+Released under the MIT license.
+
+***
+
+_This file was generated by [verb-cli](https://github.com/assemble/verb-cli) on August 31, 2015._
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/expand-brackets/node_modules/define-property/index.js b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/expand-brackets/node_modules/define-property/index.js
new file mode 100644
index 0000000..3e0e5e1
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/expand-brackets/node_modules/define-property/index.js
@@ -0,0 +1,31 @@
+/*!
+ * define-property
+ *
+ * Copyright (c) 2015, Jon Schlinkert.
+ * Licensed under the MIT License.
+ */
+
+'use strict';
+
+var isDescriptor = require('is-descriptor');
+
+module.exports = function defineProperty(obj, prop, val) {
+ if (typeof obj !== 'object' && typeof obj !== 'function') {
+ throw new TypeError('expected an object or function.');
+ }
+
+ if (typeof prop !== 'string') {
+ throw new TypeError('expected `prop` to be a string.');
+ }
+
+ if (isDescriptor(val) && ('set' in val || 'get' in val)) {
+ return Object.defineProperty(obj, prop, val);
+ }
+
+ return Object.defineProperty(obj, prop, {
+ configurable: true,
+ enumerable: false,
+ writable: true,
+ value: val
+ });
+};
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/expand-brackets/node_modules/define-property/package.json b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/expand-brackets/node_modules/define-property/package.json
new file mode 100644
index 0000000..43561bf
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/expand-brackets/node_modules/define-property/package.json
@@ -0,0 +1,51 @@
+{
+ "name": "define-property",
+ "description": "Define a non-enumerable property on an object.",
+ "version": "0.2.5",
+ "homepage": "https://github.com/jonschlinkert/define-property",
+ "author": "Jon Schlinkert (https://github.com/jonschlinkert)",
+ "repository": "jonschlinkert/define-property",
+ "bugs": {
+ "url": "https://github.com/jonschlinkert/define-property/issues"
+ },
+ "license": "MIT",
+ "files": [
+ "index.js"
+ ],
+ "main": "index.js",
+ "engines": {
+ "node": ">=0.10.0"
+ },
+ "scripts": {
+ "test": "mocha"
+ },
+ "devDependencies": {
+ "mocha": "*",
+ "should": "^7.0.4"
+ },
+ "keywords": [
+ "define",
+ "define-property",
+ "enumerable",
+ "key",
+ "non",
+ "non-enumerable",
+ "object",
+ "prop",
+ "property",
+ "value"
+ ],
+ "verb": {
+ "related": {
+ "list": [
+ "mixin-deep",
+ "mixin-object",
+ "delegate-object",
+ "forward-object"
+ ]
+ }
+ },
+ "dependencies": {
+ "is-descriptor": "^0.1.0"
+ }
+}
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/expand-brackets/node_modules/extend-shallow/LICENSE b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/expand-brackets/node_modules/extend-shallow/LICENSE
new file mode 100644
index 0000000..fa30c4c
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/expand-brackets/node_modules/extend-shallow/LICENSE
@@ -0,0 +1,21 @@
+The MIT License (MIT)
+
+Copyright (c) 2014-2015, Jon Schlinkert.
+
+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.
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/expand-brackets/node_modules/extend-shallow/README.md b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/expand-brackets/node_modules/extend-shallow/README.md
new file mode 100644
index 0000000..cdc45d4
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/expand-brackets/node_modules/extend-shallow/README.md
@@ -0,0 +1,61 @@
+# extend-shallow [![NPM version](https://badge.fury.io/js/extend-shallow.svg)](http://badge.fury.io/js/extend-shallow) [![Build Status](https://travis-ci.org/jonschlinkert/extend-shallow.svg)](https://travis-ci.org/jonschlinkert/extend-shallow)
+
+> Extend an object with the properties of additional objects. node.js/javascript util.
+
+## Install
+
+Install with [npm](https://www.npmjs.com/)
+
+```sh
+$ npm i extend-shallow --save
+```
+
+## Usage
+
+```js
+var extend = require('extend-shallow');
+
+extend({a: 'b'}, {c: 'd'})
+//=> {a: 'b', c: 'd'}
+```
+
+Pass an empty object to shallow clone:
+
+```js
+var obj = {};
+extend(obj, {a: 'b'}, {c: 'd'})
+//=> {a: 'b', c: 'd'}
+```
+
+## Related
+
+* [extend-shallow](https://github.com/jonschlinkert/extend-shallow): Extend an object with the properties of additional objects. node.js/javascript util.
+* [for-own](https://github.com/jonschlinkert/for-own): Iterate over the own enumerable properties of an object, and return an object with properties… [more](https://github.com/jonschlinkert/for-own)
+* [for-in](https://github.com/jonschlinkert/for-in): Iterate over the own and inherited enumerable properties of an objecte, and return an object… [more](https://github.com/jonschlinkert/for-in)
+* [is-plain-object](https://github.com/jonschlinkert/is-plain-object): Returns true if an object was created by the `Object` constructor.
+* [isobject](https://github.com/jonschlinkert/isobject): Returns true if the value is an object and not an array or null.
+* [kind-of](https://github.com/jonschlinkert/kind-of): Get the native type of a value.
+
+## Running tests
+
+Install dev dependencies:
+
+```sh
+$ npm i -d && npm test
+```
+
+## Author
+
+**Jon Schlinkert**
+
++ [github/jonschlinkert](https://github.com/jonschlinkert)
++ [twitter/jonschlinkert](http://twitter.com/jonschlinkert)
+
+## License
+
+Copyright © 2015 Jon Schlinkert
+Released under the MIT license.
+
+***
+
+_This file was generated by [verb-cli](https://github.com/assemble/verb-cli) on June 29, 2015._
\ No newline at end of file
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/expand-brackets/node_modules/extend-shallow/index.js b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/expand-brackets/node_modules/extend-shallow/index.js
new file mode 100644
index 0000000..92a067f
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/expand-brackets/node_modules/extend-shallow/index.js
@@ -0,0 +1,33 @@
+'use strict';
+
+var isObject = require('is-extendable');
+
+module.exports = function extend(o/*, objects*/) {
+ if (!isObject(o)) { o = {}; }
+
+ var len = arguments.length;
+ for (var i = 1; i < len; i++) {
+ var obj = arguments[i];
+
+ if (isObject(obj)) {
+ assign(o, obj);
+ }
+ }
+ return o;
+};
+
+function assign(a, b) {
+ for (var key in b) {
+ if (hasOwn(b, key)) {
+ a[key] = b[key];
+ }
+ }
+}
+
+/**
+ * Returns true if the given `key` is an own property of `obj`.
+ */
+
+function hasOwn(obj, key) {
+ return Object.prototype.hasOwnProperty.call(obj, key);
+}
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/expand-brackets/node_modules/extend-shallow/package.json b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/expand-brackets/node_modules/extend-shallow/package.json
new file mode 100644
index 0000000..b42e01c
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/expand-brackets/node_modules/extend-shallow/package.json
@@ -0,0 +1,56 @@
+{
+ "name": "extend-shallow",
+ "description": "Extend an object with the properties of additional objects. node.js/javascript util.",
+ "version": "2.0.1",
+ "homepage": "https://github.com/jonschlinkert/extend-shallow",
+ "author": "Jon Schlinkert (https://github.com/jonschlinkert)",
+ "repository": "jonschlinkert/extend-shallow",
+ "bugs": {
+ "url": "https://github.com/jonschlinkert/extend-shallow/issues"
+ },
+ "license": "MIT",
+ "files": [
+ "index.js"
+ ],
+ "main": "index.js",
+ "engines": {
+ "node": ">=0.10.0"
+ },
+ "scripts": {
+ "test": "mocha"
+ },
+ "dependencies": {
+ "is-extendable": "^0.1.0"
+ },
+ "devDependencies": {
+ "array-slice": "^0.2.3",
+ "benchmarked": "^0.1.4",
+ "chalk": "^1.0.0",
+ "for-own": "^0.1.3",
+ "glob": "^5.0.12",
+ "is-plain-object": "^2.0.1",
+ "kind-of": "^2.0.0",
+ "minimist": "^1.1.1",
+ "mocha": "^2.2.5",
+ "should": "^7.0.1"
+ },
+ "keywords": [
+ "assign",
+ "extend",
+ "javascript",
+ "js",
+ "keys",
+ "merge",
+ "obj",
+ "object",
+ "prop",
+ "properties",
+ "property",
+ "props",
+ "shallow",
+ "util",
+ "utility",
+ "utils",
+ "value"
+ ]
+}
\ No newline at end of file
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/expand-brackets/node_modules/is-accessor-descriptor/LICENSE b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/expand-brackets/node_modules/is-accessor-descriptor/LICENSE
new file mode 100644
index 0000000..65f90ac
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/expand-brackets/node_modules/is-accessor-descriptor/LICENSE
@@ -0,0 +1,21 @@
+The MIT License (MIT)
+
+Copyright (c) 2015, Jon Schlinkert.
+
+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.
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/expand-brackets/node_modules/is-accessor-descriptor/README.md b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/expand-brackets/node_modules/is-accessor-descriptor/README.md
new file mode 100644
index 0000000..3743fe6
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/expand-brackets/node_modules/is-accessor-descriptor/README.md
@@ -0,0 +1,123 @@
+# is-accessor-descriptor [![NPM version](https://img.shields.io/npm/v/is-accessor-descriptor.svg)](https://www.npmjs.com/package/is-accessor-descriptor) [![Build Status](https://img.shields.io/travis/jonschlinkert/is-accessor-descriptor.svg)](https://travis-ci.org/jonschlinkert/is-accessor-descriptor)
+
+> Returns true if a value has the characteristics of a valid JavaScript accessor descriptor.
+
+- [Install](#install)
+- [Usage](#usage)
+- [Examples](#examples)
+- [API](#api)
+- [Related projects](#related-projects)
+- [Running tests](#running-tests)
+- [Contributing](#contributing)
+- [Author](#author)
+- [License](#license)
+
+_(TOC generated by [verb](https://github.com/verbose/verb) using [markdown-toc](https://github.com/jonschlinkert/markdown-toc))_
+
+## Install
+
+Install with [npm](https://www.npmjs.com/):
+
+```sh
+$ npm i is-accessor-descriptor --save
+```
+
+## Usage
+
+```js
+var isAccessor = require('is-accessor-descriptor');
+
+isAccessor({get: function() {}});
+//=> true
+```
+
+You may also pass an object and property name to check if the property is an accessor:
+
+```js
+isAccessor(foo, 'bar');
+```
+
+## Examples
+
+`false` when not an object
+
+```js
+isAccessor('a')
+isAccessor(null)
+isAccessor([])
+//=> false
+```
+
+`true` when the object has valid properties
+
+and the properties all have the correct JavaScript types:
+
+```js
+isAccessor({get: noop, set: noop})
+isAccessor({get: noop})
+isAccessor({set: noop})
+//=> true
+```
+
+`false` when the object has invalid properties
+
+```js
+isAccessor({get: noop, set: noop, bar: 'baz'})
+isAccessor({get: noop, writable: true})
+isAccessor({get: noop, value: true})
+//=> false
+```
+
+`false` when an accessor is not a function
+
+```js
+isAccessor({get: noop, set: 'baz'})
+isAccessor({get: 'foo', set: noop})
+isAccessor({get: 'foo', bar: 'baz'})
+isAccessor({get: 'foo', set: 'baz'})
+//=> false
+```
+
+`false` when a value is not the correct type
+
+```js
+isAccessor({get: noop, set: noop, enumerable: 'foo'})
+isAccessor({set: noop, configurable: 'foo'})
+isAccessor({get: noop, configurable: 'foo'})
+//=> false
+```
+
+## Related projects
+
+* [is-accessor-descriptor](https://www.npmjs.com/package/is-accessor-descriptor): Returns true if a value has the characteristics of a valid JavaScript accessor descriptor. | [homepage](https://github.com/jonschlinkert/is-accessor-descriptor)
+* [is-data-descriptor](https://www.npmjs.com/package/is-data-descriptor): Returns true if a value has the characteristics of a valid JavaScript data descriptor. | [homepage](https://github.com/jonschlinkert/is-data-descriptor)
+* [is-descriptor](https://www.npmjs.com/package/is-descriptor): Returns true if a value has the characteristics of a valid JavaScript descriptor. Works for… [more](https://www.npmjs.com/package/is-descriptor) | [homepage](https://github.com/jonschlinkert/is-descriptor)
+* [isobject](https://www.npmjs.com/package/isobject): Returns true if the value is an object and not an array or null. | [homepage](https://github.com/jonschlinkert/isobject)
+
+## Running tests
+
+Install dev dependencies:
+
+```sh
+$ npm i -d && npm test
+```
+
+## Contributing
+
+Pull requests and stars are always welcome. For bugs and feature requests, [please create an issue](https://github.com/jonschlinkert/is-accessor-descriptor/issues/new).
+
+## Author
+
+**Jon Schlinkert**
+
+* [github/jonschlinkert](https://github.com/jonschlinkert)
+* [twitter/jonschlinkert](http://twitter.com/jonschlinkert)
+
+## License
+
+Copyright © 2015 [Jon Schlinkert](https://github.com/jonschlinkert)
+Released under the MIT license.
+
+***
+
+_This file was generated by [verb](https://github.com/verbose/verb) on December 28, 2015._
\ No newline at end of file
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/expand-brackets/node_modules/is-accessor-descriptor/index.js b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/expand-brackets/node_modules/is-accessor-descriptor/index.js
new file mode 100644
index 0000000..2ca4af8
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/expand-brackets/node_modules/is-accessor-descriptor/index.js
@@ -0,0 +1,69 @@
+/*!
+ * is-accessor-descriptor
+ *
+ * Copyright (c) 2015, Jon Schlinkert.
+ * Licensed under the MIT License.
+ */
+
+'use strict';
+
+var typeOf = require('kind-of');
+
+// accessor descriptor properties
+var accessor = {
+ get: 'function',
+ set: 'function',
+ configurable: 'boolean',
+ enumerable: 'boolean'
+};
+
+function isAccessorDescriptor(obj, prop) {
+ if (typeof prop === 'string') {
+ var val = Object.getOwnPropertyDescriptor(obj, prop);
+ return typeof val !== 'undefined';
+ }
+
+ if (typeOf(obj) !== 'object') {
+ return false;
+ }
+
+ if (has(obj, 'value') || has(obj, 'writable')) {
+ return false;
+ }
+
+ if (!has(obj, 'get') || typeof obj.get !== 'function') {
+ return false;
+ }
+
+ // tldr: it's valid to have "set" be undefined
+ // "set" might be undefined if `Object.getOwnPropertyDescriptor`
+ // was used to get the value, and only `get` was defined by the user
+ if (has(obj, 'set') && typeof obj[key] !== 'function' && typeof obj[key] !== 'undefined') {
+ return false;
+ }
+
+ for (var key in obj) {
+ if (!accessor.hasOwnProperty(key)) {
+ continue;
+ }
+
+ if (typeOf(obj[key]) === accessor[key]) {
+ continue;
+ }
+
+ if (typeof obj[key] !== 'undefined') {
+ return false;
+ }
+ }
+ return true;
+}
+
+function has(obj, key) {
+ return {}.hasOwnProperty.call(obj, key);
+}
+
+/**
+ * Expose `isAccessorDescriptor`
+ */
+
+module.exports = isAccessorDescriptor;
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/expand-brackets/node_modules/is-accessor-descriptor/package.json b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/expand-brackets/node_modules/is-accessor-descriptor/package.json
new file mode 100644
index 0000000..0f39c64
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/expand-brackets/node_modules/is-accessor-descriptor/package.json
@@ -0,0 +1,61 @@
+{
+ "name": "is-accessor-descriptor",
+ "description": "Returns true if a value has the characteristics of a valid JavaScript accessor descriptor.",
+ "version": "0.1.6",
+ "homepage": "https://github.com/jonschlinkert/is-accessor-descriptor",
+ "author": "Jon Schlinkert (https://github.com/jonschlinkert)",
+ "repository": "jonschlinkert/is-accessor-descriptor",
+ "bugs": {
+ "url": "https://github.com/jonschlinkert/is-accessor-descriptor/issues"
+ },
+ "license": "MIT",
+ "files": [
+ "index.js"
+ ],
+ "main": "index.js",
+ "engines": {
+ "node": ">=0.10.0"
+ },
+ "scripts": {
+ "test": "mocha"
+ },
+ "dependencies": {
+ "kind-of": "^3.0.2"
+ },
+ "devDependencies": {
+ "mocha": "*",
+ "should": "*"
+ },
+ "keywords": [
+ "accessor",
+ "check",
+ "data",
+ "descriptor",
+ "get",
+ "getter",
+ "is",
+ "keys",
+ "object",
+ "properties",
+ "property",
+ "set",
+ "setter",
+ "type",
+ "valid",
+ "value"
+ ],
+ "verb": {
+ "related": {
+ "list": [
+ "is-accessor-descriptor",
+ "is-data-descriptor",
+ "is-descriptor",
+ "isobject"
+ ]
+ },
+ "plugins": [
+ "gulp-format-md"
+ ],
+ "layout": "default"
+ }
+}
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/expand-brackets/node_modules/is-data-descriptor/LICENSE b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/expand-brackets/node_modules/is-data-descriptor/LICENSE
new file mode 100644
index 0000000..65f90ac
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/expand-brackets/node_modules/is-data-descriptor/LICENSE
@@ -0,0 +1,21 @@
+The MIT License (MIT)
+
+Copyright (c) 2015, Jon Schlinkert.
+
+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.
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/expand-brackets/node_modules/is-data-descriptor/README.md b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/expand-brackets/node_modules/is-data-descriptor/README.md
new file mode 100644
index 0000000..41e1643
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/expand-brackets/node_modules/is-data-descriptor/README.md
@@ -0,0 +1,128 @@
+# is-data-descriptor [![NPM version](https://img.shields.io/npm/v/is-data-descriptor.svg)](https://www.npmjs.com/package/is-data-descriptor) [![Build Status](https://img.shields.io/travis/jonschlinkert/is-data-descriptor.svg)](https://travis-ci.org/jonschlinkert/is-data-descriptor)
+
+> Returns true if a value has the characteristics of a valid JavaScript data descriptor.
+
+## Install
+
+Install with [npm](https://www.npmjs.com/):
+
+```sh
+$ npm i is-data-descriptor --save
+```
+
+## Usage
+
+```js
+var isDataDesc = require('is-data-descriptor');
+```
+
+## Examples
+
+`true` when the descriptor has valid properties with valid values.
+
+```js
+// `value` can be anything
+isDataDesc({value: 'foo'})
+isDataDesc({value: function() {}})
+isDataDesc({value: true})
+//=> true
+```
+
+`false` when not an object
+
+```js
+isDataDesc('a')
+//=> false
+isDataDesc(null)
+//=> false
+isDataDesc([])
+//=> false
+```
+
+`false` when the object has invalid properties
+
+```js
+isDataDesc({value: 'foo', bar: 'baz'})
+//=> false
+isDataDesc({value: 'foo', bar: 'baz'})
+//=> false
+isDataDesc({value: 'foo', get: function(){}})
+//=> false
+isDataDesc({get: function(){}, value: 'foo'})
+//=> false
+```
+
+`false` when a value is not the correct type
+
+```js
+isDataDesc({value: 'foo', enumerable: 'foo'})
+//=> false
+isDataDesc({value: 'foo', configurable: 'foo'})
+//=> false
+isDataDesc({value: 'foo', writable: 'foo'})
+//=> false
+```
+
+## Valid properties
+
+The only valid data descriptor properties are the following:
+
+* `configurable` (required)
+* `enumerable` (required)
+* `value` (optional)
+* `writable` (optional)
+
+To be a valid data descriptor, either `value` or `writable` must be defined.
+
+**Invalid properties**
+
+A descriptor may have additional _invalid_ properties (an error will **not** be thrown).
+
+```js
+var foo = {};
+
+Object.defineProperty(foo, 'bar', {
+ enumerable: true,
+ whatever: 'blah', // invalid, but doesn't cause an error
+ get: function() {
+ return 'baz';
+ }
+});
+
+console.log(foo.bar);
+//=> 'baz'
+```
+
+## Related projects
+
+* [is-accessor-descriptor](https://www.npmjs.com/package/is-accessor-descriptor): Returns true if a value has the characteristics of a valid JavaScript accessor descriptor. | [homepage](https://github.com/jonschlinkert/is-accessor-descriptor)
+* [is-descriptor](https://www.npmjs.com/package/is-descriptor): Returns true if a value has the characteristics of a valid JavaScript descriptor. Works for… [more](https://www.npmjs.com/package/is-descriptor) | [homepage](https://github.com/jonschlinkert/is-descriptor)
+* [isobject](https://www.npmjs.com/package/isobject): Returns true if the value is an object and not an array or null. | [homepage](https://github.com/jonschlinkert/isobject)
+
+## Running tests
+
+Install dev dependencies:
+
+```sh
+$ npm i -d && npm test
+```
+
+## Contributing
+
+Pull requests and stars are always welcome. For bugs and feature requests, [please create an issue](https://github.com/jonschlinkert/is-data-descriptor/issues/new).
+
+## Author
+
+**Jon Schlinkert**
+
+* [github/jonschlinkert](https://github.com/jonschlinkert)
+* [twitter/jonschlinkert](http://twitter.com/jonschlinkert)
+
+## License
+
+Copyright © 2015 [Jon Schlinkert](https://github.com/jonschlinkert)
+Released under the MIT license.
+
+***
+
+_This file was generated by [verb](https://github.com/verbose/verb) on December 28, 2015._
\ No newline at end of file
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/expand-brackets/node_modules/is-data-descriptor/index.js b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/expand-brackets/node_modules/is-data-descriptor/index.js
new file mode 100644
index 0000000..d4d09c9
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/expand-brackets/node_modules/is-data-descriptor/index.js
@@ -0,0 +1,55 @@
+/*!
+ * is-data-descriptor
+ *
+ * Copyright (c) 2015, Jon Schlinkert.
+ * Licensed under the MIT License.
+ */
+
+'use strict';
+
+var typeOf = require('kind-of');
+
+// data descriptor properties
+var data = {
+ configurable: 'boolean',
+ enumerable: 'boolean',
+ writable: 'boolean'
+};
+
+function isDataDescriptor(obj, prop) {
+ if (typeOf(obj) !== 'object') {
+ return false;
+ }
+
+ if (typeof prop === 'string') {
+ var val = Object.getOwnPropertyDescriptor(obj, prop);
+ return typeof val !== 'undefined';
+ }
+
+ if (!('value' in obj) && !('writable' in obj)) {
+ return false;
+ }
+
+ for (var key in obj) {
+ if (key === 'value') continue;
+
+ if (!data.hasOwnProperty(key)) {
+ continue;
+ }
+
+ if (typeOf(obj[key]) === data[key]) {
+ continue;
+ }
+
+ if (typeof obj[key] !== 'undefined') {
+ return false;
+ }
+ }
+ return true;
+}
+
+/**
+ * Expose `isDataDescriptor`
+ */
+
+module.exports = isDataDescriptor;
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/expand-brackets/node_modules/is-data-descriptor/package.json b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/expand-brackets/node_modules/is-data-descriptor/package.json
new file mode 100644
index 0000000..5fb294b
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/expand-brackets/node_modules/is-data-descriptor/package.json
@@ -0,0 +1,60 @@
+{
+ "name": "is-data-descriptor",
+ "description": "Returns true if a value has the characteristics of a valid JavaScript data descriptor.",
+ "version": "0.1.4",
+ "homepage": "https://github.com/jonschlinkert/is-data-descriptor",
+ "author": "Jon Schlinkert (https://github.com/jonschlinkert)",
+ "repository": "jonschlinkert/is-data-descriptor",
+ "bugs": {
+ "url": "https://github.com/jonschlinkert/is-data-descriptor/issues"
+ },
+ "license": "MIT",
+ "files": [
+ "index.js"
+ ],
+ "main": "index.js",
+ "engines": {
+ "node": ">=0.10.0"
+ },
+ "scripts": {
+ "test": "mocha"
+ },
+ "dependencies": {
+ "kind-of": "^3.0.2"
+ },
+ "devDependencies": {
+ "mocha": "*",
+ "should": "*"
+ },
+ "keywords": [
+ "accessor",
+ "check",
+ "data",
+ "descriptor",
+ "get",
+ "getter",
+ "is",
+ "keys",
+ "object",
+ "properties",
+ "property",
+ "set",
+ "setter",
+ "type",
+ "valid",
+ "value"
+ ],
+ "verb": {
+ "related": {
+ "list": [
+ "is-accessor-descriptor",
+ "is-data-descriptor",
+ "is-descriptor",
+ "isobject"
+ ]
+ },
+ "plugins": [
+ "gulp-format-md"
+ ]
+ }
+}
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/expand-brackets/node_modules/is-descriptor/LICENSE b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/expand-brackets/node_modules/is-descriptor/LICENSE
new file mode 100644
index 0000000..c0d7f13
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/expand-brackets/node_modules/is-descriptor/LICENSE
@@ -0,0 +1,21 @@
+The MIT License (MIT)
+
+Copyright (c) 2015-2017, Jon Schlinkert.
+
+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.
\ No newline at end of file
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/expand-brackets/node_modules/is-descriptor/README.md b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/expand-brackets/node_modules/is-descriptor/README.md
new file mode 100644
index 0000000..658e533
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/expand-brackets/node_modules/is-descriptor/README.md
@@ -0,0 +1,193 @@
+# is-descriptor [![NPM version](https://img.shields.io/npm/v/is-descriptor.svg?style=flat)](https://www.npmjs.com/package/is-descriptor) [![NPM monthly downloads](https://img.shields.io/npm/dm/is-descriptor.svg?style=flat)](https://npmjs.org/package/is-descriptor) [![NPM total downloads](https://img.shields.io/npm/dt/is-descriptor.svg?style=flat)](https://npmjs.org/package/is-descriptor) [![Linux Build Status](https://img.shields.io/travis/jonschlinkert/is-descriptor.svg?style=flat&label=Travis)](https://travis-ci.org/jonschlinkert/is-descriptor)
+
+> Returns true if a value has the characteristics of a valid JavaScript descriptor. Works for data descriptors and accessor descriptors.
+
+## Install
+
+Install with [npm](https://www.npmjs.com/):
+
+```sh
+$ npm install --save is-descriptor
+```
+
+## Usage
+
+```js
+var isDescriptor = require('is-descriptor');
+
+isDescriptor({value: 'foo'})
+//=> true
+isDescriptor({get: function(){}, set: function(){}})
+//=> true
+isDescriptor({get: 'foo', set: function(){}})
+//=> false
+```
+
+You may also check for a descriptor by passing an object as the first argument and property name (`string`) as the second argument.
+
+```js
+var obj = {};
+obj.foo = 'abc';
+
+Object.defineProperty(obj, 'bar', {
+ value: 'xyz'
+});
+
+isDescriptor(obj, 'foo');
+//=> true
+isDescriptor(obj, 'bar');
+//=> true
+```
+
+## Examples
+
+### value type
+
+`false` when not an object
+
+```js
+isDescriptor('a');
+//=> false
+isDescriptor(null);
+//=> false
+isDescriptor([]);
+//=> false
+```
+
+### data descriptor
+
+`true` when the object has valid properties with valid values.
+
+```js
+isDescriptor({value: 'foo'});
+//=> true
+isDescriptor({value: noop});
+//=> true
+```
+
+`false` when the object has invalid properties
+
+```js
+isDescriptor({value: 'foo', bar: 'baz'});
+//=> false
+isDescriptor({value: 'foo', bar: 'baz'});
+//=> false
+isDescriptor({value: 'foo', get: noop});
+//=> false
+isDescriptor({get: noop, value: noop});
+//=> false
+```
+
+`false` when a value is not the correct type
+
+```js
+isDescriptor({value: 'foo', enumerable: 'foo'});
+//=> false
+isDescriptor({value: 'foo', configurable: 'foo'});
+//=> false
+isDescriptor({value: 'foo', writable: 'foo'});
+//=> false
+```
+
+### accessor descriptor
+
+`true` when the object has valid properties with valid values.
+
+```js
+isDescriptor({get: noop, set: noop});
+//=> true
+isDescriptor({get: noop});
+//=> true
+isDescriptor({set: noop});
+//=> true
+```
+
+`false` when the object has invalid properties
+
+```js
+isDescriptor({get: noop, set: noop, bar: 'baz'});
+//=> false
+isDescriptor({get: noop, writable: true});
+//=> false
+isDescriptor({get: noop, value: true});
+//=> false
+```
+
+`false` when an accessor is not a function
+
+```js
+isDescriptor({get: noop, set: 'baz'});
+//=> false
+isDescriptor({get: 'foo', set: noop});
+//=> false
+isDescriptor({get: 'foo', bar: 'baz'});
+//=> false
+isDescriptor({get: 'foo', set: 'baz'});
+//=> false
+```
+
+`false` when a value is not the correct type
+
+```js
+isDescriptor({get: noop, set: noop, enumerable: 'foo'});
+//=> false
+isDescriptor({set: noop, configurable: 'foo'});
+//=> false
+isDescriptor({get: noop, configurable: 'foo'});
+//=> false
+```
+
+## About
+
+### Related projects
+
+* [is-accessor-descriptor](https://www.npmjs.com/package/is-accessor-descriptor): Returns true if a value has the characteristics of a valid JavaScript accessor descriptor. | [homepage](https://github.com/jonschlinkert/is-accessor-descriptor "Returns true if a value has the characteristics of a valid JavaScript accessor descriptor.")
+* [is-data-descriptor](https://www.npmjs.com/package/is-data-descriptor): Returns true if a value has the characteristics of a valid JavaScript data descriptor. | [homepage](https://github.com/jonschlinkert/is-data-descriptor "Returns true if a value has the characteristics of a valid JavaScript data descriptor.")
+* [is-descriptor](https://www.npmjs.com/package/is-descriptor): Returns true if a value has the characteristics of a valid JavaScript descriptor. Works for… [more](https://github.com/jonschlinkert/is-descriptor) | [homepage](https://github.com/jonschlinkert/is-descriptor "Returns true if a value has the characteristics of a valid JavaScript descriptor. Works for data descriptors and accessor descriptors.")
+* [isobject](https://www.npmjs.com/package/isobject): Returns true if the value is an object and not an array or null. | [homepage](https://github.com/jonschlinkert/isobject "Returns true if the value is an object and not an array or null.")
+
+### Contributing
+
+Pull requests and stars are always welcome. For bugs and feature requests, [please create an issue](../../issues/new).
+
+### Contributors
+
+| **Commits** | **Contributor** |
+| --- | --- |
+| 24 | [jonschlinkert](https://github.com/jonschlinkert) |
+| 1 | [doowb](https://github.com/doowb) |
+| 1 | [wtgtybhertgeghgtwtg](https://github.com/wtgtybhertgeghgtwtg) |
+
+### Building docs
+
+_(This project's readme.md is generated by [verb](https://github.com/verbose/verb-generate-readme), please don't edit the readme directly. Any changes to the readme must be made in the [.verb.md](.verb.md) readme template.)_
+
+To generate the readme, run the following command:
+
+```sh
+$ npm install -g verbose/verb#dev verb-generate-readme && verb
+```
+
+### Running tests
+
+Running and reviewing unit tests is a great way to get familiarized with a library and its API. You can install dependencies and run tests with the following command:
+
+```sh
+$ npm install && npm test
+```
+
+### Author
+
+**Jon Schlinkert**
+
+* [github/jonschlinkert](https://github.com/jonschlinkert)
+* [twitter/jonschlinkert](https://twitter.com/jonschlinkert)
+
+### License
+
+Copyright © 2017, [Jon Schlinkert](https://github.com/jonschlinkert).
+Released under the [MIT License](LICENSE).
+
+***
+
+_This file was generated by [verb-generate-readme](https://github.com/verbose/verb-generate-readme), v0.6.0, on July 22, 2017._
\ No newline at end of file
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/expand-brackets/node_modules/is-descriptor/index.js b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/expand-brackets/node_modules/is-descriptor/index.js
new file mode 100644
index 0000000..c9b91d7
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/expand-brackets/node_modules/is-descriptor/index.js
@@ -0,0 +1,22 @@
+/*!
+ * is-descriptor
+ *
+ * Copyright (c) 2015-2017, Jon Schlinkert.
+ * Released under the MIT License.
+ */
+
+'use strict';
+
+var typeOf = require('kind-of');
+var isAccessor = require('is-accessor-descriptor');
+var isData = require('is-data-descriptor');
+
+module.exports = function isDescriptor(obj, key) {
+ if (typeOf(obj) !== 'object') {
+ return false;
+ }
+ if ('get' in obj) {
+ return isAccessor(obj, key);
+ }
+ return isData(obj, key);
+};
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/expand-brackets/node_modules/is-descriptor/node_modules/kind-of/LICENSE b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/expand-brackets/node_modules/is-descriptor/node_modules/kind-of/LICENSE
new file mode 100644
index 0000000..3f2eca1
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/expand-brackets/node_modules/is-descriptor/node_modules/kind-of/LICENSE
@@ -0,0 +1,21 @@
+The MIT License (MIT)
+
+Copyright (c) 2014-2017, Jon Schlinkert.
+
+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.
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/expand-brackets/node_modules/is-descriptor/node_modules/kind-of/README.md b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/expand-brackets/node_modules/is-descriptor/node_modules/kind-of/README.md
new file mode 100644
index 0000000..170bf30
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/expand-brackets/node_modules/is-descriptor/node_modules/kind-of/README.md
@@ -0,0 +1,342 @@
+# kind-of [![NPM version](https://img.shields.io/npm/v/kind-of.svg?style=flat)](https://www.npmjs.com/package/kind-of) [![NPM monthly downloads](https://img.shields.io/npm/dm/kind-of.svg?style=flat)](https://npmjs.org/package/kind-of) [![NPM total downloads](https://img.shields.io/npm/dt/kind-of.svg?style=flat)](https://npmjs.org/package/kind-of) [![Linux Build Status](https://img.shields.io/travis/jonschlinkert/kind-of.svg?style=flat&label=Travis)](https://travis-ci.org/jonschlinkert/kind-of)
+
+> Get the native type of a value.
+
+Please consider following this project's author, [Jon Schlinkert](https://github.com/jonschlinkert), and consider starring the project to show your :heart: and support.
+
+## Install
+
+Install with [npm](https://www.npmjs.com/):
+
+```sh
+$ npm install --save kind-of
+```
+
+Install with [bower](https://bower.io/)
+
+```sh
+$ bower install kind-of --save
+```
+
+## Why use this?
+
+1. [it's fast](#benchmarks) | [optimizations](#optimizations)
+2. [better type checking](#better-type-checking)
+
+## Usage
+
+> es5, browser and es6 ready
+
+```js
+var kindOf = require('kind-of');
+
+kindOf(undefined);
+//=> 'undefined'
+
+kindOf(null);
+//=> 'null'
+
+kindOf(true);
+//=> 'boolean'
+
+kindOf(false);
+//=> 'boolean'
+
+kindOf(new Boolean(true));
+//=> 'boolean'
+
+kindOf(new Buffer(''));
+//=> 'buffer'
+
+kindOf(42);
+//=> 'number'
+
+kindOf(new Number(42));
+//=> 'number'
+
+kindOf('str');
+//=> 'string'
+
+kindOf(new String('str'));
+//=> 'string'
+
+kindOf(arguments);
+//=> 'arguments'
+
+kindOf({});
+//=> 'object'
+
+kindOf(Object.create(null));
+//=> 'object'
+
+kindOf(new Test());
+//=> 'object'
+
+kindOf(new Date());
+//=> 'date'
+
+kindOf([]);
+//=> 'array'
+
+kindOf([1, 2, 3]);
+//=> 'array'
+
+kindOf(new Array());
+//=> 'array'
+
+kindOf(/foo/);
+//=> 'regexp'
+
+kindOf(new RegExp('foo'));
+//=> 'regexp'
+
+kindOf(function () {});
+//=> 'function'
+
+kindOf(function * () {});
+//=> 'function'
+
+kindOf(new Function());
+//=> 'function'
+
+kindOf(new Map());
+//=> 'map'
+
+kindOf(new WeakMap());
+//=> 'weakmap'
+
+kindOf(new Set());
+//=> 'set'
+
+kindOf(new WeakSet());
+//=> 'weakset'
+
+kindOf(Symbol('str'));
+//=> 'symbol'
+
+kindOf(new Int8Array());
+//=> 'int8array'
+
+kindOf(new Uint8Array());
+//=> 'uint8array'
+
+kindOf(new Uint8ClampedArray());
+//=> 'uint8clampedarray'
+
+kindOf(new Int16Array());
+//=> 'int16array'
+
+kindOf(new Uint16Array());
+//=> 'uint16array'
+
+kindOf(new Int32Array());
+//=> 'int32array'
+
+kindOf(new Uint32Array());
+//=> 'uint32array'
+
+kindOf(new Float32Array());
+//=> 'float32array'
+
+kindOf(new Float64Array());
+//=> 'float64array'
+```
+
+## Release history
+
+### v4.0.0
+
+**Added**
+
+* `promise` support
+
+### v5.0.0
+
+**Added**
+
+* `Set Iterator` and `Map Iterator` support
+
+**Fixed**
+
+* Now returns `generatorfunction` for generator functions
+
+## Benchmarks
+
+Benchmarked against [typeof](http://github.com/CodingFu/typeof) and [type-of](https://github.com/ForbesLindesay/type-of).
+Note that performaces is slower for es6 features `Map`, `WeakMap`, `Set` and `WeakSet`.
+
+```bash
+#1: array
+ current x 23,329,397 ops/sec ±0.82% (94 runs sampled)
+ lib-type-of x 4,170,273 ops/sec ±0.55% (94 runs sampled)
+ lib-typeof x 9,686,935 ops/sec ±0.59% (98 runs sampled)
+
+#2: boolean
+ current x 27,197,115 ops/sec ±0.85% (94 runs sampled)
+ lib-type-of x 3,145,791 ops/sec ±0.73% (97 runs sampled)
+ lib-typeof x 9,199,562 ops/sec ±0.44% (99 runs sampled)
+
+#3: date
+ current x 20,190,117 ops/sec ±0.86% (92 runs sampled)
+ lib-type-of x 5,166,970 ops/sec ±0.74% (94 runs sampled)
+ lib-typeof x 9,610,821 ops/sec ±0.50% (96 runs sampled)
+
+#4: function
+ current x 23,855,460 ops/sec ±0.60% (97 runs sampled)
+ lib-type-of x 5,667,740 ops/sec ±0.54% (100 runs sampled)
+ lib-typeof x 10,010,644 ops/sec ±0.44% (100 runs sampled)
+
+#5: null
+ current x 27,061,047 ops/sec ±0.97% (96 runs sampled)
+ lib-type-of x 13,965,573 ops/sec ±0.62% (97 runs sampled)
+ lib-typeof x 8,460,194 ops/sec ±0.61% (97 runs sampled)
+
+#6: number
+ current x 25,075,682 ops/sec ±0.53% (99 runs sampled)
+ lib-type-of x 2,266,405 ops/sec ±0.41% (98 runs sampled)
+ lib-typeof x 9,821,481 ops/sec ±0.45% (99 runs sampled)
+
+#7: object
+ current x 3,348,980 ops/sec ±0.49% (99 runs sampled)
+ lib-type-of x 3,245,138 ops/sec ±0.60% (94 runs sampled)
+ lib-typeof x 9,262,952 ops/sec ±0.59% (99 runs sampled)
+
+#8: regex
+ current x 21,284,827 ops/sec ±0.72% (96 runs sampled)
+ lib-type-of x 4,689,241 ops/sec ±0.43% (100 runs sampled)
+ lib-typeof x 8,957,593 ops/sec ±0.62% (98 runs sampled)
+
+#9: string
+ current x 25,379,234 ops/sec ±0.58% (96 runs sampled)
+ lib-type-of x 3,635,148 ops/sec ±0.76% (93 runs sampled)
+ lib-typeof x 9,494,134 ops/sec ±0.49% (98 runs sampled)
+
+#10: undef
+ current x 27,459,221 ops/sec ±1.01% (93 runs sampled)
+ lib-type-of x 14,360,433 ops/sec ±0.52% (99 runs sampled)
+ lib-typeof x 23,202,868 ops/sec ±0.59% (94 runs sampled)
+
+```
+
+## Optimizations
+
+In 7 out of 8 cases, this library is 2x-10x faster than other top libraries included in the benchmarks. There are a few things that lead to this performance advantage, none of them hard and fast rules, but all of them simple and repeatable in almost any code library:
+
+1. Optimize around the fastest and most common use cases first. Of course, this will change from project-to-project, but I took some time to understand how and why `typeof` checks were being used in my own libraries and other libraries I use a lot.
+2. Optimize around bottlenecks - In other words, the order in which conditionals are implemented is significant, because each check is only as fast as the failing checks that came before it. Here, the biggest bottleneck by far is checking for plain objects (an object that was created by the `Object` constructor). I opted to make this check happen by process of elimination rather than brute force up front (e.g. by using something like `val.constructor.name`), so that every other type check would not be penalized it.
+3. Don't do uneccessary processing - why do `.slice(8, -1).toLowerCase();` just to get the word `regex`? It's much faster to do `if (type === '[object RegExp]') return 'regex'`
+4. There is no reason to make the code in a microlib as terse as possible, just to win points for making it shorter. It's always better to favor performant code over terse code. You will always only be using a single `require()` statement to use the library anyway, regardless of how the code is written.
+
+## Better type checking
+
+kind-of is more correct than other type checking libs I've looked at. For example, here are some differing results from other popular libs:
+
+### [typeof](https://github.com/CodingFu/typeof) lib
+
+Incorrectly tests instances of custom constructors (pretty common):
+
+```js
+var typeOf = require('typeof');
+function Test() {}
+console.log(typeOf(new Test()));
+//=> 'test'
+```
+
+Returns `object` instead of `arguments`:
+
+```js
+function foo() {
+ console.log(typeOf(arguments)) //=> 'object'
+}
+foo();
+```
+
+### [type-of](https://github.com/ForbesLindesay/type-of) lib
+
+Incorrectly returns `object` for generator functions, buffers, `Map`, `Set`, `WeakMap` and `WeakSet`:
+
+```js
+function * foo() {}
+console.log(typeOf(foo));
+//=> 'object'
+console.log(typeOf(new Buffer('')));
+//=> 'object'
+console.log(typeOf(new Map()));
+//=> 'object'
+console.log(typeOf(new Set()));
+//=> 'object'
+console.log(typeOf(new WeakMap()));
+//=> 'object'
+console.log(typeOf(new WeakSet()));
+//=> 'object'
+```
+
+## About
+
+
+Contributing
+
+Pull requests and stars are always welcome. For bugs and feature requests, [please create an issue](../../issues/new).
+
+
+
+
+Running Tests
+
+Running and reviewing unit tests is a great way to get familiarized with a library and its API. You can install dependencies and run tests with the following command:
+
+```sh
+$ npm install && npm test
+```
+
+
+
+
+Building docs
+
+_(This project's readme.md is generated by [verb](https://github.com/verbose/verb-generate-readme), please don't edit the readme directly. Any changes to the readme must be made in the [.verb.md](.verb.md) readme template.)_
+
+To generate the readme, run the following command:
+
+```sh
+$ npm install -g verbose/verb#dev verb-generate-readme && verb
+```
+
+
+
+### Related projects
+
+You might also be interested in these projects:
+
+* [is-glob](https://www.npmjs.com/package/is-glob): Returns `true` if the given string looks like a glob pattern or an extglob pattern… [more](https://github.com/jonschlinkert/is-glob) | [homepage](https://github.com/jonschlinkert/is-glob "Returns `true` if the given string looks like a glob pattern or an extglob pattern. This makes it easy to create code that only uses external modules like node-glob when necessary, resulting in much faster code execution and initialization time, and a bet")
+* [is-number](https://www.npmjs.com/package/is-number): Returns true if the value is a number. comprehensive tests. | [homepage](https://github.com/jonschlinkert/is-number "Returns true if the value is a number. comprehensive tests.")
+* [is-primitive](https://www.npmjs.com/package/is-primitive): Returns `true` if the value is a primitive. | [homepage](https://github.com/jonschlinkert/is-primitive "Returns `true` if the value is a primitive. ")
+
+### Contributors
+
+| **Commits** | **Contributor** |
+| --- | --- |
+| 82 | [jonschlinkert](https://github.com/jonschlinkert) |
+| 3 | [aretecode](https://github.com/aretecode) |
+| 2 | [miguelmota](https://github.com/miguelmota) |
+| 1 | [dtothefp](https://github.com/dtothefp) |
+| 1 | [ksheedlo](https://github.com/ksheedlo) |
+| 1 | [pdehaan](https://github.com/pdehaan) |
+| 1 | [laggingreflex](https://github.com/laggingreflex) |
+| 1 | [charlike](https://github.com/charlike) |
+
+### Author
+
+**Jon Schlinkert**
+
+* [github/jonschlinkert](https://github.com/jonschlinkert)
+* [twitter/jonschlinkert](https://twitter.com/jonschlinkert)
+
+### License
+
+Copyright © 2017, [Jon Schlinkert](https://github.com/jonschlinkert).
+Released under the [MIT License](LICENSE).
+
+***
+
+_This file was generated by [verb-generate-readme](https://github.com/verbose/verb-generate-readme), v0.6.0, on October 13, 2017._
\ No newline at end of file
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/expand-brackets/node_modules/is-descriptor/node_modules/kind-of/index.js b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/expand-brackets/node_modules/is-descriptor/node_modules/kind-of/index.js
new file mode 100644
index 0000000..fc5cde9
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/expand-brackets/node_modules/is-descriptor/node_modules/kind-of/index.js
@@ -0,0 +1,147 @@
+var toString = Object.prototype.toString;
+
+/**
+ * Get the native `typeof` a value.
+ *
+ * @param {*} `val`
+ * @return {*} Native javascript type
+ */
+
+module.exports = function kindOf(val) {
+ var type = typeof val;
+
+ // primitivies
+ if (type === 'undefined') {
+ return 'undefined';
+ }
+ if (val === null) {
+ return 'null';
+ }
+ if (val === true || val === false || val instanceof Boolean) {
+ return 'boolean';
+ }
+ if (type === 'string' || val instanceof String) {
+ return 'string';
+ }
+ if (type === 'number' || val instanceof Number) {
+ return 'number';
+ }
+
+ // functions
+ if (type === 'function' || val instanceof Function) {
+ if (typeof val.constructor.name !== 'undefined' && val.constructor.name.slice(0, 9) === 'Generator') {
+ return 'generatorfunction';
+ }
+ return 'function';
+ }
+
+ // array
+ if (typeof Array.isArray !== 'undefined' && Array.isArray(val)) {
+ return 'array';
+ }
+
+ // check for instances of RegExp and Date before calling `toString`
+ if (val instanceof RegExp) {
+ return 'regexp';
+ }
+ if (val instanceof Date) {
+ return 'date';
+ }
+
+ // other objects
+ type = toString.call(val);
+
+ if (type === '[object RegExp]') {
+ return 'regexp';
+ }
+ if (type === '[object Date]') {
+ return 'date';
+ }
+ if (type === '[object Arguments]') {
+ return 'arguments';
+ }
+ if (type === '[object Error]') {
+ return 'error';
+ }
+ if (type === '[object Promise]') {
+ return 'promise';
+ }
+
+ // buffer
+ if (isBuffer(val)) {
+ return 'buffer';
+ }
+
+ // es6: Map, WeakMap, Set, WeakSet
+ if (type === '[object Set]') {
+ return 'set';
+ }
+ if (type === '[object WeakSet]') {
+ return 'weakset';
+ }
+ if (type === '[object Map]') {
+ return 'map';
+ }
+ if (type === '[object WeakMap]') {
+ return 'weakmap';
+ }
+ if (type === '[object Symbol]') {
+ return 'symbol';
+ }
+
+ if (type === '[object Map Iterator]') {
+ return 'mapiterator';
+ }
+ if (type === '[object Set Iterator]') {
+ return 'setiterator';
+ }
+ if (type === '[object String Iterator]') {
+ return 'stringiterator';
+ }
+ if (type === '[object Array Iterator]') {
+ return 'arrayiterator';
+ }
+
+ // typed arrays
+ if (type === '[object Int8Array]') {
+ return 'int8array';
+ }
+ if (type === '[object Uint8Array]') {
+ return 'uint8array';
+ }
+ if (type === '[object Uint8ClampedArray]') {
+ return 'uint8clampedarray';
+ }
+ if (type === '[object Int16Array]') {
+ return 'int16array';
+ }
+ if (type === '[object Uint16Array]') {
+ return 'uint16array';
+ }
+ if (type === '[object Int32Array]') {
+ return 'int32array';
+ }
+ if (type === '[object Uint32Array]') {
+ return 'uint32array';
+ }
+ if (type === '[object Float32Array]') {
+ return 'float32array';
+ }
+ if (type === '[object Float64Array]') {
+ return 'float64array';
+ }
+
+ // must be a plain object
+ return 'object';
+};
+
+/**
+ * If you need to support Safari 5-7 (8-10 yr-old browser),
+ * take a look at https://github.com/feross/is-buffer
+ */
+
+function isBuffer(val) {
+ return val.constructor
+ && typeof val.constructor.isBuffer === 'function'
+ && val.constructor.isBuffer(val);
+}
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/expand-brackets/node_modules/is-descriptor/node_modules/kind-of/package.json b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/expand-brackets/node_modules/is-descriptor/node_modules/kind-of/package.json
new file mode 100644
index 0000000..334235f
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/expand-brackets/node_modules/is-descriptor/node_modules/kind-of/package.json
@@ -0,0 +1,91 @@
+{
+ "name": "kind-of",
+ "description": "Get the native type of a value.",
+ "version": "5.1.0",
+ "homepage": "https://github.com/jonschlinkert/kind-of",
+ "author": "Jon Schlinkert (https://github.com/jonschlinkert)",
+ "contributors": [
+ "David Fox-Powell (https://dtothefp.github.io/me)",
+ "James (https://twitter.com/aretecode)",
+ "Jon Schlinkert (http://twitter.com/jonschlinkert)",
+ "Ken Sheedlo (kensheedlo.com)",
+ "laggingreflex (https://github.com/laggingreflex)",
+ "Miguel Mota (https://miguelmota.com)",
+ "Peter deHaan (http://about.me/peterdehaan)",
+ "tunnckoCore (https://i.am.charlike.online)"
+ ],
+ "repository": "jonschlinkert/kind-of",
+ "bugs": {
+ "url": "https://github.com/jonschlinkert/kind-of/issues"
+ },
+ "license": "MIT",
+ "files": [
+ "index.js"
+ ],
+ "main": "index.js",
+ "engines": {
+ "node": ">=0.10.0"
+ },
+ "scripts": {
+ "test": "mocha",
+ "prepublish": "browserify -o browser.js -e index.js -s index --bare"
+ },
+ "devDependencies": {
+ "ansi-bold": "^0.1.1",
+ "benchmarked": "^1.1.1",
+ "browserify": "^14.4.0",
+ "gulp-format-md": "^0.1.12",
+ "matched": "^0.4.4",
+ "mocha": "^3.4.2",
+ "type-of": "^2.0.1",
+ "typeof": "^1.0.0"
+ },
+ "keywords": [
+ "arguments",
+ "array",
+ "boolean",
+ "check",
+ "date",
+ "function",
+ "is",
+ "is-type",
+ "is-type-of",
+ "kind",
+ "kind-of",
+ "number",
+ "object",
+ "of",
+ "regexp",
+ "string",
+ "test",
+ "type",
+ "type-of",
+ "typeof",
+ "types"
+ ],
+ "verb": {
+ "related": {
+ "list": [
+ "is-glob",
+ "is-number",
+ "is-primitive"
+ ]
+ },
+ "toc": false,
+ "layout": "default",
+ "tasks": [
+ "readme"
+ ],
+ "plugins": [
+ "gulp-format-md"
+ ],
+ "lint": {
+ "reflinks": true
+ },
+ "reflinks": [
+ "type-of",
+ "typeof",
+ "verb"
+ ]
+ }
+}
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/expand-brackets/node_modules/is-descriptor/package.json b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/expand-brackets/node_modules/is-descriptor/package.json
new file mode 100644
index 0000000..a561bfe
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/expand-brackets/node_modules/is-descriptor/package.json
@@ -0,0 +1,75 @@
+{
+ "name": "is-descriptor",
+ "description": "Returns true if a value has the characteristics of a valid JavaScript descriptor. Works for data descriptors and accessor descriptors.",
+ "version": "0.1.6",
+ "homepage": "https://github.com/jonschlinkert/is-descriptor",
+ "author": "Jon Schlinkert (https://github.com/jonschlinkert)",
+ "contributors": [
+ "Brian Woodward (https://twitter.com/doowb)",
+ "Jon Schlinkert (http://twitter.com/jonschlinkert)",
+ "(https://github.com/wtgtybhertgeghgtwtg)"
+ ],
+ "repository": "jonschlinkert/is-descriptor",
+ "bugs": {
+ "url": "https://github.com/jonschlinkert/is-descriptor/issues"
+ },
+ "license": "MIT",
+ "files": [
+ "index.js"
+ ],
+ "main": "index.js",
+ "engines": {
+ "node": ">=0.10.0"
+ },
+ "scripts": {
+ "test": "mocha"
+ },
+ "dependencies": {
+ "is-accessor-descriptor": "^0.1.6",
+ "is-data-descriptor": "^0.1.4",
+ "kind-of": "^5.0.0"
+ },
+ "devDependencies": {
+ "gulp-format-md": "^1.0.0",
+ "mocha": "^3.4.2"
+ },
+ "keywords": [
+ "accessor",
+ "check",
+ "data",
+ "descriptor",
+ "get",
+ "getter",
+ "is",
+ "keys",
+ "object",
+ "properties",
+ "property",
+ "set",
+ "setter",
+ "type",
+ "valid",
+ "value"
+ ],
+ "verb": {
+ "related": {
+ "list": [
+ "is-accessor-descriptor",
+ "is-data-descriptor",
+ "is-descriptor",
+ "isobject"
+ ]
+ },
+ "plugins": [
+ "gulp-format-md"
+ ],
+ "toc": false,
+ "layout": "default",
+ "tasks": [
+ "readme"
+ ],
+ "lint": {
+ "reflinks": true
+ }
+ }
+}
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/expand-brackets/node_modules/is-extendable/LICENSE b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/expand-brackets/node_modules/is-extendable/LICENSE
new file mode 100644
index 0000000..65f90ac
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/expand-brackets/node_modules/is-extendable/LICENSE
@@ -0,0 +1,21 @@
+The MIT License (MIT)
+
+Copyright (c) 2015, Jon Schlinkert.
+
+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.
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/expand-brackets/node_modules/is-extendable/README.md b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/expand-brackets/node_modules/is-extendable/README.md
new file mode 100644
index 0000000..e4cfaeb
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/expand-brackets/node_modules/is-extendable/README.md
@@ -0,0 +1,72 @@
+# is-extendable [![NPM version](https://badge.fury.io/js/is-extendable.svg)](http://badge.fury.io/js/is-extendable)
+
+> Returns true if a value is any of the object types: array, regexp, plain object, function or date. This is useful for determining if a value can be extended, e.g. "can the value have keys?"
+
+## Install
+
+Install with [npm](https://www.npmjs.com/)
+
+```sh
+$ npm i is-extendable --save
+```
+
+## Usage
+
+```js
+var isExtendable = require('is-extendable');
+```
+
+Returns true if the value is any of the following:
+
+* `array`
+* `regexp`
+* `plain object`
+* `function`
+* `date`
+* `error`
+
+## Notes
+
+All objects in JavaScript can have keys, but it's a pain to check for this, since we ether need to verify that the value is not `null` or `undefined` and:
+
+* the value is not a primitive, or
+* that the object is an `object`, `function`
+
+Also note that an `extendable` object is not the same as an [extensible object](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/isExtensible), which is one that (in es6) is not sealed, frozen, or marked as non-extensible using `preventExtensions`.
+
+## Related projects
+
+* [assign-deep](https://github.com/jonschlinkert/assign-deep): Deeply assign the enumerable properties of source objects to a destination object.
+* [extend-shallow](https://github.com/jonschlinkert/extend-shallow): Extend an object with the properties of additional objects. node.js/javascript util.
+* [isobject](https://github.com/jonschlinkert/isobject): Returns true if the value is an object and not an array or null.
+* [is-plain-object](https://github.com/jonschlinkert/is-plain-object): Returns true if an object was created by the `Object` constructor.
+* [is-equal-shallow](https://github.com/jonschlinkert/is-equal-shallow): Does a shallow comparison of two objects, returning false if the keys or values differ.
+* [kind-of](https://github.com/jonschlinkert/kind-of): Get the native type of a value.
+
+## Running tests
+
+Install dev dependencies:
+
+```sh
+$ npm i -d && npm test
+```
+
+## Contributing
+
+Pull requests and stars are always welcome. For bugs and feature requests, [please create an issue](https://github.com/jonschlinkert/is-extendable/issues/new)
+
+## Author
+
+**Jon Schlinkert**
+
++ [github/jonschlinkert](https://github.com/jonschlinkert)
++ [twitter/jonschlinkert](http://twitter.com/jonschlinkert)
+
+## License
+
+Copyright © 2015 Jon Schlinkert
+Released under the MIT license.
+
+***
+
+_This file was generated by [verb-cli](https://github.com/assemble/verb-cli) on July 04, 2015._
\ No newline at end of file
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/expand-brackets/node_modules/is-extendable/index.js b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/expand-brackets/node_modules/is-extendable/index.js
new file mode 100644
index 0000000..4ee71a4
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/expand-brackets/node_modules/is-extendable/index.js
@@ -0,0 +1,13 @@
+/*!
+ * is-extendable
+ *
+ * Copyright (c) 2015, Jon Schlinkert.
+ * Licensed under the MIT License.
+ */
+
+'use strict';
+
+module.exports = function isExtendable(val) {
+ return typeof val !== 'undefined' && val !== null
+ && (typeof val === 'object' || typeof val === 'function');
+};
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/expand-brackets/node_modules/is-extendable/package.json b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/expand-brackets/node_modules/is-extendable/package.json
new file mode 100644
index 0000000..5dd006e
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/expand-brackets/node_modules/is-extendable/package.json
@@ -0,0 +1,51 @@
+{
+ "name": "is-extendable",
+ "description": "Returns true if a value is any of the object types: array, regexp, plain object, function or date. This is useful for determining if a value can be extended, e.g. \"can the value have keys?\"",
+ "version": "0.1.1",
+ "homepage": "https://github.com/jonschlinkert/is-extendable",
+ "author": "Jon Schlinkert (https://github.com/jonschlinkert)",
+ "repository": "jonschlinkert/is-extendable",
+ "bugs": {
+ "url": "https://github.com/jonschlinkert/is-extendable/issues"
+ },
+ "license": "MIT",
+ "files": [
+ "index.js"
+ ],
+ "main": "index.js",
+ "engines": {
+ "node": ">=0.10.0"
+ },
+ "scripts": {
+ "test": "mocha"
+ },
+ "devDependencies": {
+ "mocha": "*"
+ },
+ "keywords": [
+ "array",
+ "assign",
+ "check",
+ "date",
+ "extend",
+ "extensible",
+ "function",
+ "is",
+ "object",
+ "regex",
+ "test"
+ ],
+ "verbiage": {
+ "related": {
+ "list": [
+ "isobject",
+ "is-plain-object",
+ "kind-of",
+ "is-extendable",
+ "is-equal-shallow",
+ "extend-shallow",
+ "assign-deep"
+ ]
+ }
+ }
+}
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/expand-brackets/package.json b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/expand-brackets/package.json
new file mode 100644
index 0000000..1c5233c
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/expand-brackets/package.json
@@ -0,0 +1,85 @@
+{
+ "name": "expand-brackets",
+ "description": "Expand POSIX bracket expressions (character classes) in glob patterns.",
+ "version": "2.1.4",
+ "homepage": "https://github.com/jonschlinkert/expand-brackets",
+ "author": "Jon Schlinkert (https://github.com/jonschlinkert)",
+ "contributors": [
+ "Elan Shanker (https://github.com/es128)",
+ "Eugene Sharygin (https://github.com/eush77)",
+ "Jon Schlinkert (http://twitter.com/jonschlinkert)",
+ "Martin Kolárik (http://kolarik.sk)"
+ ],
+ "repository": "jonschlinkert/expand-brackets",
+ "bugs": {
+ "url": "https://github.com/jonschlinkert/expand-brackets/issues"
+ },
+ "license": "MIT",
+ "files": [
+ "index.js",
+ "lib"
+ ],
+ "main": "index.js",
+ "engines": {
+ "node": ">=0.10.0"
+ },
+ "scripts": {
+ "test": "mocha"
+ },
+ "dependencies": {
+ "debug": "^2.3.3",
+ "define-property": "^0.2.5",
+ "extend-shallow": "^2.0.1",
+ "posix-character-classes": "^0.1.0",
+ "regex-not": "^1.0.0",
+ "snapdragon": "^0.8.1",
+ "to-regex": "^3.0.1"
+ },
+ "devDependencies": {
+ "bash-match": "^0.1.1",
+ "gulp-format-md": "^0.1.10",
+ "helper-changelog": "^0.3.0",
+ "minimatch": "^3.0.3",
+ "mocha": "^3.0.2",
+ "multimatch": "^2.1.0",
+ "yargs-parser": "^4.0.0"
+ },
+ "keywords": [
+ "bracket",
+ "brackets",
+ "character class",
+ "expand",
+ "expression",
+ "posix"
+ ],
+ "verb": {
+ "run": true,
+ "toc": false,
+ "layout": "default",
+ "tasks": [
+ "readme"
+ ],
+ "plugins": [
+ "gulp-format-md"
+ ],
+ "helpers": [
+ "helper-changelog"
+ ],
+ "related": {
+ "list": [
+ "braces",
+ "extglob",
+ "micromatch",
+ "nanomatch"
+ ]
+ },
+ "reflinks": [
+ "micromatch",
+ "verb",
+ "verb-generate-readme"
+ ],
+ "lint": {
+ "reflinks": true
+ }
+ }
+}
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/CHANGELOG.md b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/CHANGELOG.md
new file mode 100644
index 0000000..48bffa3
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/CHANGELOG.md
@@ -0,0 +1,89 @@
+# Changelog
+
+All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
+
+## [1.7.0](https://github.com/medikoo/es5-ext/compare/v1.6.0...v1.7.0) (2022-08-31)
+
+### Features
+
+- `string.camelToHyphen` method ([b8ea4ab](https://github.com/medikoo/es5-ext/commit/b8ea4ab6c8b920ecdff224f9c92092e1c7f8cdfc))
+- `string.capitalize` method ([32e7360](https://github.com/medikoo/es5-ext/commit/32e736034bd27ed25d4566b22aa93aa66c7901cf))
+
+## [1.6.0](https://github.com/medikoo/es5-ext/compare/v1.5.0...v1.6.0) (2021-09-24)
+
+### Features
+
+- `Object.clear` util ([a955da4](https://github.com/medikoo/es5-ext/commit/a955da41e65a25ad87a46234bae065f096abd1d2))
+
+### Bug Fixes
+
+- Fix `Object.entries` to not return non enumerable properties ([44fb872](https://github.com/medikoo/es5-ext/commit/44fb87266617378d2f47a1a5baad6280bf6298a8))
+
+## [1.5.0](https://github.com/medikoo/es5-ext/compare/v1.3.0...v1.5.0) (2021-08-23)
+
+### Features
+
+- `Promise.limit` ([060a05d](https://github.com/medikoo/es5-ext/commit/060a05d4751cd291c6dd7641f5a73ba9338ea7ab))
+- `String.prototype.includes` ([ceebe8d](https://github.com/medikoo/es5-ext/commit/ceebe8dfd6f479d6a7e7b6cd79369291869ee2dd))
+- `charset` option for `String.random` ([2a20eeb](https://github.com/medikoo/es5-ext/commit/2a20eebc5ae784e5c1aacd2c54433fe92a9464c9))
+
+## [1.4.0](https://github.com///compare/v1.3.0...v1.4.0) (2019-11-29)
+
+### Features
+
+- `charset` option for `String.random` ([2a20eeb](https://github.com///commit/2a20eebc5ae784e5c1aacd2c54433fe92a9464c9))
+- `String.prototype.includes` implementation ([ceebe8d](https://github.com///commit/ceebe8dfd6f479d6a7e7b6cd79369291869ee2dd))
+
+## [1.3.0](https://github.com///compare/v1.2.1...v1.3.0) (2019-11-28)
+
+### Features
+
+- `String.random` util ([5b5860a](https://github.com///commit/5b5860ac545b05f00527e00295fdb4f97e4a4e5b))
+
+### [1.2.1](https://github.com///compare/v1.2.0...v1.2.1) (2019-11-26)
+
+## [1.2.0](https://github.com/medikoo/ext/compare/v1.1.2...v1.2.0) (2019-11-07)
+
+### Features
+
+- ceil10, floor10 and round10 for Math ([6a2bc4b](https://github.com/medikoo/ext/commit/6a2bc4b))
+
+### [1.1.2](https://github.com/medikoo/ext/compare/v1.1.1...v1.1.2) (2019-10-29)
+
+### Bug Fixes
+
+- Improve globalThis detection ([470862d](https://github.com/medikoo/ext/commit/470862d))
+
+### [1.1.1](https://github.com/medikoo/ext/compare/v1.1.0...v1.1.1) (2019-10-29)
+
+### Bug Fixes
+
+- Provide naive fallback for sealed Object.prototype case ([a8d528b](https://github.com/medikoo/ext/commit/a8d528b))
+- Workaournd Safari incompatibility case ([0b051e6](https://github.com/medikoo/ext/commit/0b051e6))
+
+## [1.1.0](https://github.com/medikoo/ext/compare/v1.0.3...v1.1.0) (2019-10-21)
+
+### Features
+
+- Object.entries implementation ([cf51e45](https://github.com/medikoo/ext/commit/cf51e45))
+
+### [1.0.3](https://github.com/medikoo/ext/compare/v1.0.1...v1.0.3) (2019-07-03)
+
+Remove obsolete files from publication
+
+### [1.0.2](https://github.com/medikoo/ext/compare/v1.0.1...v1.0.2) (2019-07-03)
+
+(no changes)
+
+### [1.0.1](https://github.com/medikoo/ext/compare/v1.0.0...v1.0.1) (2019-07-03)
+
+Prettify
+
+## 1.0.0 (2019-07-03)
+
+### Features
+
+- `function/identity` (adapted from `es5-ext`) ([f0102af](https://github.com/medikoo/ext/commit/f0102af))
+- `thenable/finally` (adapted from `es5-ext`) ([a8494ac](https://github.com/medikoo/ext/commit/a8494ac))
+- `global-this/is-implemented` ([3a80904](https://github.com/medikoo/ext/commit/3a80904))
+- `globalThis` (mostly adapted from `es5-ext`) ([6559bd3](https://github.com/medikoo/ext/commit/6559bd3))
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/LICENSE b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/LICENSE
new file mode 100644
index 0000000..7df6b3d
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/LICENSE
@@ -0,0 +1,15 @@
+ISC License
+
+Copyright (c) 2011-2022, Mariusz Nowak, @medikoo, medikoo.com
+
+Permission to use, copy, modify, and/or distribute this software for any
+purpose with or without fee is hereby granted, provided that the above
+copyright notice and this permission notice appear in all copies.
+
+THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
+REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
+AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
+INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
+LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
+OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
+PERFORMANCE OF THIS SOFTWARE.
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/README.md b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/README.md
new file mode 100644
index 0000000..29491e2
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/README.md
@@ -0,0 +1,46 @@
+[![Build status][build-image]][build-url]
+[![npm version][npm-image]][npm-url]
+
+# ext
+
+_(Previously known as `es5-ext`)_
+
+## JavaScript language extensions (with respect to evolving standard)
+
+Non-standard or soon to be standard language utilities in a future proof, non-invasive form.
+
+Doesn't enforce transpilation step. Where it's applicable utilities/extensions are safe to use in all ES3+ implementations.
+
+### Installation
+
+```bash
+npm install ext
+```
+
+### Utilities
+
+- [`globalThis`](docs/global-this.md)
+- `Function`
+ - [`identity`](docs/function/identity.md)
+- `Math`
+ - [`ceil10`](docs/math/ceil-10.md)
+ - [`floor10`](docs/math/floor-10.md)
+ - [`round10`](docs/math/round-10.md)
+- `Object`
+ - [`clear`](docs/object/clear.md)
+ - [`entries`](docs/object/entries.md)
+- `Promise`
+ - [`limit`](docs/promise/limit.md)
+- `String`
+ - [`random`](docs/string/random.md)
+- `String.prototype`
+ - [`campelToHyphen`](docs/string_/camel-to-hyphen.md)
+ - [`capitalize`](docs/string_/capitalize.md)
+ - [`includes`](docs/string_/includes.md)
+- `Thenable.prototype`
+ - [`finally`](docs/thenable_/finally.md)
+
+[build-image]: https://github.com/medikoo/es5-ext/workflows/Integrate%20[ext]/badge.svg
+[build-url]: https://github.com/medikoo/es5-ext/actions?query=workflow%3AIntegrate%20[ext]
+[npm-image]: https://img.shields.io/npm/v/ext.svg
+[npm-url]: https://www.npmjs.com/package/ext
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/docs/function/identity.md b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/docs/function/identity.md
new file mode 100644
index 0000000..b6a5c1d
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/docs/function/identity.md
@@ -0,0 +1,9 @@
+# `Function.identity` _(ext/function/identity)_
+
+Returns input argument.
+
+```javascript
+const identity = require("ext/function/identity");
+
+identity("foo"); // "foo"
+```
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/docs/global-this.md b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/docs/global-this.md
new file mode 100644
index 0000000..fafd422
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/docs/global-this.md
@@ -0,0 +1,9 @@
+# `globalThis` _(ext/global-this)_
+
+Returns global object. Resolve native [globalThis](https://github.com/tc39/proposal-global) if implemented, otherwise fallback to internal resolution of a global object.
+
+```javascript
+const globalThis = require("ext/global-this");
+
+globalThis.Array === Array; // true
+```
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/docs/math/ceil-10.md b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/docs/math/ceil-10.md
new file mode 100644
index 0000000..1d53122
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/docs/math/ceil-10.md
@@ -0,0 +1,10 @@
+# `Math.ceil10` _(ext/math/ceil-10)_
+
+Decimal ceil
+
+```javascript
+const ceil10 = require("ext/math/ceil-10");
+
+ceil10(55.51, -1); // 55.6
+ceil10(-59, 1); // -50;
+```
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/docs/math/floor-10.md b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/docs/math/floor-10.md
new file mode 100644
index 0000000..099c1b6
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/docs/math/floor-10.md
@@ -0,0 +1,10 @@
+# `Math.floor10` _(ext/math/floor-10)_
+
+Decimal floor
+
+```javascript
+const floor10 = require("ext/math/floor-10");
+
+floor10(55.59, -1); // 55.5
+floor10(59, 1); // 50
+```
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/docs/math/round-10.md b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/docs/math/round-10.md
new file mode 100644
index 0000000..727acb1
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/docs/math/round-10.md
@@ -0,0 +1,10 @@
+# `Math.round10` _(ext/math/round-10)_
+
+Decimal round
+
+```javascript
+const round10 = require("ext/math/round-10");
+
+round10(55.549, -1); // 55.5
+round10(1.005, -2); // 1.01
+```
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/docs/object/clear.md b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/docs/object/clear.md
new file mode 100644
index 0000000..468be1b
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/docs/object/clear.md
@@ -0,0 +1,12 @@
+# `Object.clear` _(ext/object/clear)_
+
+Deletes all own, enumerable, non-symbol properties in the object
+
+```javascript
+const clear = require("ext/object/clear");
+
+const obj = { foo: "bar" };
+
+clear(obj);
+Object.keys(obj); // []
+```
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/docs/object/entries.md b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/docs/object/entries.md
new file mode 100644
index 0000000..2d05f4c
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/docs/object/entries.md
@@ -0,0 +1,11 @@
+# `Object.entries` _(ext/object/entries)_
+
+[Object.entries](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/entries) implementation.
+
+Returns native `Object.entries` if it's implemented, otherwise library implementation is returned
+
+```javascript
+const entries = require("ext/object/entries");
+
+entries({ foo: "bar" }); // [["foo", "bar"]]
+```
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/docs/promise/limit.md b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/docs/promise/limit.md
new file mode 100644
index 0000000..8b0ea38
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/docs/promise/limit.md
@@ -0,0 +1,13 @@
+# `Promise.limit` _(ext/promise/limit)_
+
+Helps to limit concurrency of asynchronous operations.
+
+```javascript
+const limit = require("ext/promise/limit").bind(Promise);
+
+const limittedAsyncFunction = limit(2, asyncFunction);
+
+imittedAsyncFunction(); // Async operation started
+imittedAsyncFunction(); // Async operation started
+imittedAsyncFunction(); // On hold until one of previously started finalizes
+```
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/docs/string/random.md b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/docs/string/random.md
new file mode 100644
index 0000000..c3099e9
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/docs/string/random.md
@@ -0,0 +1,31 @@
+# `String.random(options = { ... })` _(ext/string/random)_
+
+Returns generated random string, contained only of ascii cars `a-z` and `0-1`.
+By default returns string of length `10`.
+
+```javascript
+const random = require("ext/string/random");
+
+random(); // "upcfns0i4t"
+random({ length: 3 }); // "5tw"
+```
+
+## Supported options:
+
+### `isUnique: false`
+
+Ensures generated string is unique among ones already returned.
+
+_Note: When not applying this setting, accidental generation of same string is still highly unlikely. Provided option is just to provide a mean to eliminate possibility of an edge case of duplicate string being returned_
+
+### `length: 10`
+
+Desired length of result string
+
+### `charset: null`
+
+Fixed list of possible characters
+
+```javascript
+random({ charset: "abc" }); // "bacbccbbac"
+```
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/docs/string_/camel-to-hyphen.md b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/docs/string_/camel-to-hyphen.md
new file mode 100644
index 0000000..e3e4c03
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/docs/string_/camel-to-hyphen.md
@@ -0,0 +1,9 @@
+# `string.camelToHyphen()` _(ext/string\_/camel-to-hyphen)_
+
+Convert camelCase string to hyphen separated, e.g. `oneTwoThree` into `one-to-three`. Useful when converting names from js property convention into filename convention.
+
+```javascript
+const camelToHyphen = require("ext/string_/camelToHyphen");
+
+camelToHyphen.call("razDwaTrzy"); // raz-dwa-trzy
+```
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/docs/string_/capitalize.md b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/docs/string_/capitalize.md
new file mode 100644
index 0000000..319e194
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/docs/string_/capitalize.md
@@ -0,0 +1,9 @@
+# `string.capitalize()` _(ext/string\_/capitalize)_
+
+Capitalize input string, e.g. convert `this is a test` into `This is a test`.
+
+```javascript
+const capitalize = require("ext/string_/capitalize");
+
+capitalize.call("this is a test"); // This is a test
+```
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/docs/string_/includes.md b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/docs/string_/includes.md
new file mode 100644
index 0000000..4fe1b58
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/docs/string_/includes.md
@@ -0,0 +1,10 @@
+# `string.includes(position = 0)` _(ext/string\_/includes)_
+
+`includes` method for strings. Resolve native [includes](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/includes) if implemented, otherwise fallback to shim implementation.
+
+```javascript
+const includes = require("ext/string_/includes");
+
+includes.call("razdwa", "raz"); // true
+includes.call("razdwa", "trzy"); // false
+```
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/docs/thenable_/finally.md b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/docs/thenable_/finally.md
new file mode 100644
index 0000000..978ce0c
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/docs/thenable_/finally.md
@@ -0,0 +1,9 @@
+# `thenable.finally` _(ext/thenable\_/finally)_
+
+`finally` method for any _thenable_ input
+
+```javascript
+const finally = require("ext/thenable_/finally");
+
+finally.call(thenable, () => console.log("Thenable resolved"));
+```
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/function/identity.js b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/function/identity.js
new file mode 100644
index 0000000..cde213f
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/function/identity.js
@@ -0,0 +1,3 @@
+"use strict";
+
+module.exports = function (value) { return value; };
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/global-this/implementation.js b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/global-this/implementation.js
new file mode 100644
index 0000000..6a06d52
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/global-this/implementation.js
@@ -0,0 +1,31 @@
+var naiveFallback = function () {
+ if (typeof self === "object" && self) return self;
+ if (typeof window === "object" && window) return window;
+ throw new Error("Unable to resolve global `this`");
+};
+
+module.exports = (function () {
+ if (this) return this;
+
+ // Unexpected strict mode (may happen if e.g. bundled into ESM module)
+
+ // Thanks @mathiasbynens -> https://mathiasbynens.be/notes/globalthis
+ // In all ES5+ engines global object inherits from Object.prototype
+ // (if you approached one that doesn't please report)
+ try {
+ Object.defineProperty(Object.prototype, "__global__", {
+ get: function () { return this; },
+ configurable: true
+ });
+ } catch (error) {
+ // Unfortunate case of Object.prototype being sealed (via preventExtensions, seal or freeze)
+ return naiveFallback();
+ }
+ try {
+ // Safari case (window.__global__ is resolved with global context, but __global__ does not)
+ if (!__global__) return naiveFallback();
+ return __global__;
+ } finally {
+ delete Object.prototype.__global__;
+ }
+})();
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/global-this/index.js b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/global-this/index.js
new file mode 100644
index 0000000..8a99c25
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/global-this/index.js
@@ -0,0 +1,3 @@
+"use strict";
+
+module.exports = require("./is-implemented")() ? globalThis : require("./implementation");
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/global-this/is-implemented.js b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/global-this/is-implemented.js
new file mode 100644
index 0000000..3eae23e
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/global-this/is-implemented.js
@@ -0,0 +1,7 @@
+"use strict";
+
+module.exports = function () {
+ if (typeof globalThis !== "object") return false;
+ if (!globalThis) return false;
+ return globalThis.Array === Array;
+};
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/lib/private/decimal-adjust.js b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/lib/private/decimal-adjust.js
new file mode 100644
index 0000000..e04cde9
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/lib/private/decimal-adjust.js
@@ -0,0 +1,29 @@
+// Credit:
+// https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Math/round
+// #Decimal_rounding
+
+"use strict";
+
+var isValue = require("type/object/is")
+ , ensureInteger = require("type/integer/ensure");
+
+var split = String.prototype.split;
+
+module.exports = function (type) {
+ return function (value/*, exp*/) {
+ value = Number(value);
+ var exp = arguments[1];
+ if (isValue(exp)) exp = ensureInteger(exp);
+ if (!value) return value;
+ if (!exp) return Math[type](value);
+ if (!isFinite(value)) return value;
+
+ // Shift
+ var tokens = split.call(value, "e");
+ value = Math[type](tokens[0] + "e" + ((tokens[1] || 0) - exp));
+
+ // Shift back
+ tokens = value.toString().split("e");
+ return Number(tokens[0] + "e" + (Number(tokens[1] || 0) + exp));
+ };
+};
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/lib/private/define-function-length.js b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/lib/private/define-function-length.js
new file mode 100644
index 0000000..4db3228
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/lib/private/define-function-length.js
@@ -0,0 +1,56 @@
+"use strict";
+
+var test = function (arg1, arg2) { return arg2; };
+
+try {
+ Object.defineProperty(test, "length", {
+ configurable: true,
+ writable: false,
+ enumerable: false,
+ value: 1
+ });
+}
+catch (ignore) {}
+
+if (test.length === 1) {
+ // ES2015+
+ var desc = { configurable: true, writable: false, enumerable: false };
+ module.exports = function (length, fn) {
+ if (fn.length === length) return fn;
+ desc.value = length;
+ return Object.defineProperty(fn, "length", desc);
+ };
+ return;
+}
+
+module.exports = function (length, fn) {
+ if (fn.length === length) return fn;
+ switch (length) {
+ case 0:
+ return function () { return fn.apply(this, arguments); };
+ case 1:
+ return function (ignored1) { return fn.apply(this, arguments); };
+ case 2:
+ return function (ignored1, ignored2) { return fn.apply(this, arguments); };
+ case 3:
+ return function (ignored1, ignored2, ignored3) { return fn.apply(this, arguments); };
+ case 4:
+ return function (ignored1, ignored2, ignored3, ignored4) {
+ return fn.apply(this, arguments);
+ };
+ case 5:
+ return function (ignored1, ignored2, ignored3, ignored4, ignored5) {
+ return fn.apply(this, arguments);
+ };
+ case 6:
+ return function (ignored1, ignored2, ignored3, ignored4, ignored5, ignored6) {
+ return fn.apply(this, arguments);
+ };
+ case 7:
+ return function (ignored1, ignored2, ignored3, ignored4, ignored5, ignored6, ignored7) {
+ return fn.apply(this, arguments);
+ };
+ default:
+ throw new Error("Usupported function length");
+ }
+};
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/math/ceil-10.js b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/math/ceil-10.js
new file mode 100644
index 0000000..c57a730
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/math/ceil-10.js
@@ -0,0 +1,3 @@
+"use strict";
+
+module.exports = require("../lib/private/decimal-adjust")("ceil");
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/math/floor-10.js b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/math/floor-10.js
new file mode 100644
index 0000000..27dd1aa
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/math/floor-10.js
@@ -0,0 +1,3 @@
+"use strict";
+
+module.exports = require("../lib/private/decimal-adjust")("floor");
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/math/round-10.js b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/math/round-10.js
new file mode 100644
index 0000000..643d676
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/math/round-10.js
@@ -0,0 +1,3 @@
+"use strict";
+
+module.exports = require("../lib/private/decimal-adjust")("round");
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/CHANGELOG.md b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/CHANGELOG.md
new file mode 100644
index 0000000..001636b
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/CHANGELOG.md
@@ -0,0 +1,172 @@
+# Changelog
+
+All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
+
+### [2.7.2](https://github.com/medikoo/type/compare/v2.7.1...v2.7.2) (2022-08-05)
+
+### Maintenance Improvements
+
+- **TS:** Improve `ensure` options handling ([#8](https://github.com/medikoo/type/issues/8)) ([4a54066](https://github.com/medikoo/type/commit/4a54066d7b55cef14ac4aa25a6f070296a043a6f)) ([Marco](https://github.com/borracciaBlu))
+
+### [2.7.1](https://github.com/medikoo/type/compare/v2.7.0...v2.7.1) (2022-08-04)
+
+### Maintenance Improvements
+
+- **TS:** Fix support for `isOptional` in `ensure` options ([#7](https://github.com/medikoo/type/issues/7)) ([320f89b](https://github.com/medikoo/type/commit/320f89b89237e3e0ceff5e26b67cb18bd52cb42d)) ([Marco](https://github.com/borracciaBlu))
+
+## [2.7.0](https://github.com/medikoo/type/compare/v2.6.1...v2.7.0) (2022-08-03)
+
+### Features
+
+- `BigInt.coerce` and `BigInt.ensure` ([e49ad78](https://github.com/medikoo/type/commit/e49ad787bd3aa67b7aa9f7a8ea4cde22a08bebc5))
+
+### [2.6.1](https://github.com/medikoo/type/compare/v2.6.0...v2.6.1) (2022-07-29)
+
+### Maintenance Improvements
+
+- Declare TS types ([#6](https://github.com/medikoo/type/issues/6)) ([6378e2c](https://github.com/medikoo/type/commit/6378e2c457670bcb8a9b898e0f2502ed5b942d44)) ([Marco](https://github.com/borracciaBlu))
+
+## [2.6.0](https://github.com/medikoo/type/compare/v2.5.0...v2.6.0) (2022-02-02)
+
+### Features
+
+- `constructor` validation utils ([74b99bb](https://github.com/medikoo/type/commit/74b99bbf6be27083bf9a053961edb2a585ae3e77))
+
+## [2.5.0](https://github.com/medikoo/type/compare/v2.4.0...v2.5.0) (2021-03-08)
+
+### Features
+
+- `errorCode` option for `ensure*` utils ([777a1f2](https://github.com/medikoo/type/commit/777a1f2c9fd76defcd24d3a30cce49491947fef7))
+
+## [2.4.0](https://github.com/medikoo/type/compare/v2.3.0...v2.4.0) (2021-03-08)
+
+### Features
+
+- `set/is` and `set/ensure` utils ([083ec23](https://github.com/medikoo/type/commit/083ec2351718c310f316dcfd8c624a13201e227f))
+
+## [2.3.0](https://github.com/medikoo/type/compare/v2.2.0...v2.3.0) (2021-02-16)
+
+### Features
+
+- `map/is` and `map/ensure` utils ([aafd1cb](https://github.com/medikoo/type/commit/aafd1cbd8c888fda98d39fd17e59f38b078d7bcf))
+
+## [2.2.0](https://github.com/medikoo/type/compare/v2.1.0...v2.2.0) (2021-02-11)
+
+### Features
+
+- Support `ensureItem` option in `array/ensure` ([8f74973](https://github.com/medikoo/type/commit/8f749739df9bfebf44087093e09c8f7341a33a09))
+
+## [2.1.0](https://github.com/medikoo/type/compare/v2.0.0...v2.1.0) (2020-08-21)
+
+### Features
+
+- `ensure` util for cumulated input validation ([814c5a8](https://github.com/medikoo/type/commit/814c5a801ecac23d06d8a5f4bcafc4763a04408c))
+- Provide an alternative error message with `options.name` ([c7751c0](https://github.com/medikoo/type/commit/c7751c084ee4f3d3ed10500db0edde2ff00e03a1))
+- Support `%n` (meaningful name) token in error message resolver ([b0f374e](https://github.com/medikoo/type/commit/b0f374e54345c714fe37a90887ecfe60577ce133))
+- Support `min` validation for natural numbers ([e703512](https://github.com/medikoo/type/commit/e70351248818d3e113110106ad174b42c5fd9b25))
+- Support custom Error constructors ([c6ecb90](https://github.com/medikoo/type/commit/c6ecb90e21c1c778210934204cbe393fb89ef2f6))
+
+### Bug Fixes
+
+- Fix typo in error message ([2735533](https://github.com/medikoo/type/commit/2735533de28d33dfa13222743698169c92d08c09))
+
+## [2.0.0](https://github.com/medikoo/type/compare/v1.2.0...v2.0.0) (2019-10-10)
+
+### Features
+
+- `allowedKeys` option for plain-object/ensure ([f81e72e](https://github.com/medikoo/type/commit/f81e72e))
+- `ensurePropertyValue` option for plain-object/ensure ([c5ff8fb](https://github.com/medikoo/type/commit/c5ff8fb))
+- Replace `coerceItem` with `ensureItem` option in iterable/ensure ([721494f](https://github.com/medikoo/type/commit/721494f))
+- Seclude lib/resolve-error-message ([12636d9](https://github.com/medikoo/type/commit/12636d9))
+- Validate options.ensureItem in iterable/ensure ([78da6c1](https://github.com/medikoo/type/commit/78da6c1))
+
+### BREAKING CHANGES
+
+- iterable/ensure no longer supports `coerceItem` option. Instead `ensureItem` was introduced
+
+## [1.2.0](https://github.com/medikoo/type/compare/v1.1.0...v1.2.0) (2019-09-20)
+
+### Bug Fixes
+
+- Improve error message so it's not confusing ([97cd6b9](https://github.com/medikoo/type/commit/97cd6b9))
+
+### Features
+
+- 'coerceItem' option for iterable/ensure ([0818860](https://github.com/medikoo/type/commit/0818860))
+
+## [1.1.0](https://github.com/medikoo/type/compare/v1.0.3...v1.1.0) (2019-09-20)
+
+### Features
+
+- `denyEmpty` option for iterables validation ([301d071](https://github.com/medikoo/type/commit/301d071))
+
+### [1.0.3](https://github.com/medikoo/type/compare/v1.0.2...v1.0.3) (2019-08-06)
+
+### Bug Fixes
+
+- Recognize custom built ES5 era errors ([6462fac](https://github.com/medikoo/type/commit/6462fac))
+
+### [1.0.2](https://github.com/medikoo/type/compare/v1.0.1...v1.0.2) (2019-08-06)
+
+### Bug Fixes
+
+- Recognize host errors (e.g. DOMException) ([96ef399](https://github.com/medikoo/type/commit/96ef399))
+
+## [1.0.1](https://github.com/medikoo/type/compare/v1.0.0...v1.0.1) (2019-04-08)
+
+# 1.0.0 (2019-04-05)
+
+### Bug Fixes
+
+- ensure 'is' functions can't crash ([59ceb78](https://github.com/medikoo/type/commit/59ceb78))
+
+### Features
+
+- array-length/coerce ([af8ddec](https://github.com/medikoo/type/commit/af8ddec))
+- array-length/ensure ([d313eb6](https://github.com/medikoo/type/commit/d313eb6))
+- array-like/ensure ([45f1ddd](https://github.com/medikoo/type/commit/45f1ddd))
+- array-like/is ([9a026a5](https://github.com/medikoo/type/commit/9a026a5))
+- array/ensure ([9db1515](https://github.com/medikoo/type/commit/9db1515))
+- array/is ([9672839](https://github.com/medikoo/type/commit/9672839))
+- date/ensure ([44e25a0](https://github.com/medikoo/type/commit/44e25a0))
+- date/is ([0316558](https://github.com/medikoo/type/commit/0316558))
+- ensure to not crash ([3998348](https://github.com/medikoo/type/commit/3998348))
+- ensure/number ([134b5cb](https://github.com/medikoo/type/commit/134b5cb))
+- error/ensure ([d5c8a30](https://github.com/medikoo/type/commit/d5c8a30))
+- error/is-error ([4d6b899](https://github.com/medikoo/type/commit/4d6b899))
+- finite/coerce ([accaad1](https://github.com/medikoo/type/commit/accaad1))
+- finite/ensure ([51e4174](https://github.com/medikoo/type/commit/51e4174))
+- function/ensure ([b624c9a](https://github.com/medikoo/type/commit/b624c9a))
+- function/is ([dab8026](https://github.com/medikoo/type/commit/dab8026))
+- integer/coerce ([89dea2e](https://github.com/medikoo/type/commit/89dea2e))
+- integer/ensure ([44a7071](https://github.com/medikoo/type/commit/44a7071))
+- iterable/ensure ([3d48841](https://github.com/medikoo/type/commit/3d48841))
+- iterable/is ([cf09513](https://github.com/medikoo/type/commit/cf09513))
+- lib/is-to-string-tag-supported ([c8c001d](https://github.com/medikoo/type/commit/c8c001d))
+- natural-number/coerce ([d08fdd9](https://github.com/medikoo/type/commit/d08fdd9))
+- natural-number/ensure ([6c24d12](https://github.com/medikoo/type/commit/6c24d12))
+- number/coerce ([86ccf08](https://github.com/medikoo/type/commit/86ccf08))
+- object/ensure ([a9e8eed](https://github.com/medikoo/type/commit/a9e8eed))
+- object/is ([d2d7251](https://github.com/medikoo/type/commit/d2d7251))
+- plain-function/ensure ([5186518](https://github.com/medikoo/type/commit/5186518))
+- plain-function/is ([51bc791](https://github.com/medikoo/type/commit/51bc791))
+- plain-object/ensure ([91cf5e5](https://github.com/medikoo/type/commit/91cf5e5))
+- plain-object/is ([4dcf393](https://github.com/medikoo/type/commit/4dcf393))
+- promise/ensure ([8d096a4](https://github.com/medikoo/type/commit/8d096a4))
+- promise/is ([a00de02](https://github.com/medikoo/type/commit/a00de02))
+- prototype/is ([b23bdcc](https://github.com/medikoo/type/commit/b23bdcc))
+- reg-exp/ensure ([6f7bbcb](https://github.com/medikoo/type/commit/6f7bbcb))
+- reg-exp/is ([9728519](https://github.com/medikoo/type/commit/9728519))
+- safe-integer/coerce ([b8549c4](https://github.com/medikoo/type/commit/b8549c4))
+- safe-integer/ensure ([a70ef3f](https://github.com/medikoo/type/commit/a70ef3f))
+- string/coerce ([b25c71f](https://github.com/medikoo/type/commit/b25c71f))
+- string/ensure ([b62577d](https://github.com/medikoo/type/commit/b62577d))
+- support 'default' in resolveException ([e08332a](https://github.com/medikoo/type/commit/e08332a))
+- switch config to ES3 based ([37606d9](https://github.com/medikoo/type/commit/37606d9))
+- thenable/ensure ([6762c0d](https://github.com/medikoo/type/commit/6762c0d))
+- thenable/is ([2711d70](https://github.com/medikoo/type/commit/2711d70))
+- time-value/coerce ([27fd109](https://github.com/medikoo/type/commit/27fd109))
+- time-value/ensure ([1f6a8ea](https://github.com/medikoo/type/commit/1f6a8ea))
+- **string/coerce:** restrict toString acceptance ([2a87100](https://github.com/medikoo/type/commit/2a87100))
+- value/ensure ([dd6d8cb](https://github.com/medikoo/type/commit/dd6d8cb))
+- value/is ([fdf4763](https://github.com/medikoo/type/commit/fdf4763))
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/LICENSE b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/LICENSE
new file mode 100644
index 0000000..ce541c9
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/LICENSE
@@ -0,0 +1,15 @@
+ISC License
+
+Copyright (c) 2019-2022, Mariusz Nowak, @medikoo, medikoo.com
+
+Permission to use, copy, modify, and/or distribute this software for any
+purpose with or without fee is hereby granted, provided that the above
+copyright notice and this permission notice appear in all copies.
+
+THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
+REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
+AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
+INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
+LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
+OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
+PERFORMANCE OF THIS SOFTWARE.
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/README.md b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/README.md
new file mode 100644
index 0000000..6b20794
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/README.md
@@ -0,0 +1,168 @@
+[![Build status][build-image]][build-url]
+[![Tests coverage][cov-image]][cov-url]
+[![npm version][npm-image]][npm-url]
+
+# type
+
+## Runtime validation and processing of JavaScript types
+
+- Respects language nature and acknowledges its quirks
+- Allows coercion in restricted forms (rejects clearly invalid input, normalizes permissible type deviations)
+- No transpilation implied, written to work in all ECMAScript 3+ engines
+
+## Use case
+
+Validate arguments input in public API endpoints.
+
+_For validation of more sophisticated input structures (as deeply nested configuration objects) it's recommended to consider more powerful schema based utlities (as [AJV](https://ajv.js.org/) or [@hapi/joi](https://hapi.dev/family/joi/))_
+
+### Example usage
+
+Bulletproof input arguments normalization and validation:
+
+```javascript
+const ensureString = require('type/string/ensure')
+ , ensureDate = require('type/date/ensure')
+ , ensureNaturalNumber = require('type/natural-number/ensure')
+ , isObject = require('type/object/is');
+
+module.exports = (path, options = { min: 0 }) {
+ path = ensureString(path, { errorMessage: "%v is not a path" });
+ if (!isObject(options)) options = {};
+ const min = ensureNaturalNumber(options.min, { default: 0 })
+ , max = ensureNaturalNumber(options.max, { isOptional: true })
+ , startTime = ensureDate(options.startTime, { isOptional: true });
+
+ // ...logic
+};
+```
+
+### Installation
+
+```bash
+npm install type
+```
+
+## Utilities
+
+Aside of general [`ensure`](docs/ensure.md) validation util, following kind of utilities for recognized JavaScript types are provided:
+
+##### `*/coerce`
+
+Restricted coercion into primitive type. Returns coerced value or `null` if value is not coercible per rules.
+
+##### `*/is`
+
+Object type/kind confirmation, returns either `true` or `false`.
+
+##### `*/ensure`
+
+Value validation. Returns input value (in primitive cases possibly coerced) or if value doesn't meet the constraints throws `TypeError` .
+
+Each `*/ensure` utility, accepts following options (eventually passed with second argument):
+
+- `isOptional` - Makes `null` or `undefined` accepted as valid value. In such case instead of `TypeError` being thrown, `null` is returned.
+- `default` - A value to be returned if `null` or `undefined` is passed as an input value.
+- `errorMessage` - Custom error message. Following placeholders can be used:
+ - `%v` - To be replaced with short string representation of invalid value
+ - `%n` - To be replaced with meaninfgul name (to be passed with `name` option) of validated value. Not effective if `name` option is not present
+- `errorCode` - Eventual error code to be exposed on `.code` error property
+- `name` - Meaningful name for validated value, to be used in error message, assuming it contains `%n` placeholder
+- `Error` - Alternative error constructor to be used (defaults to `TypeError`)
+
+### Index
+
+#### General utils:
+
+- [`ensure`](docs/ensure.md)
+
+#### Type specific utils:
+
+- **Value**
+ - [`value/is`](docs/value.md#valueis)
+ - [`value/ensure`](docs/value.md#valueensure)
+- **Object**
+ - [`object/is`](docs/object.md#objectis)
+ - [`object/ensure`](docs/object.md#objectensure)
+ - **Plain Object**
+ - [`plain-object/is`](docs/plain-object.md#plain-objectis)
+ - [`plain-object/ensure`](docs/plain-object.md#plain-objectensure)
+- **String**
+ - [`string/coerce`](docs/string.md#stringcoerce)
+ - [`string/ensure`](docs/string.md#stringensure)
+- **Number**
+ - [`number/coerce`](docs/number.md#numbercoerce)
+ - [`number/ensure`](docs/number.md#numberensure)
+ - **Finite Number**
+ - [`finite/coerce`](docs/finite.md#finitecoerce)
+ - [`finite/ensure`](docs/finite.md#finiteensure)
+ - **Integer Number**
+ - [`integer/coerce`](docs/integer.md#integercoerce)
+ - [`integer/ensure`](docs/integer.md#integerensure)
+ - **Safe Integer Number**
+ - [`safe-integer/coerce`](docs/safe-integer.md#safe-integercoerce)
+ - [`safe-integer/ensure`](docs/.md#safe-integerensure)
+ - **Natural Number**
+ - [`natural-number/coerce`](docs/natural-number.md#natural-numbercoerce)
+ - [`natural-number/ensure`](docs/natural-number.md#natural-numberensure)
+ - **Array Length**
+ - [`array-length/coerce`](docs/array-length.md#array-lengthcoerce)
+ - [`array-length/ensure`](docs/array-length.md#array-lengthensure)
+ - **Time Value**
+ - [`time-value/coerce`](docs/time-value.md#time-valuecoerce)
+ - [`time-value/ensure`](docs/time-value.md#time-valueensure)
+- **BigInt**
+ - [`big-int/coerce`](docs/big-int.md#big-intcoerce)
+ - [`big-int/ensure`](docs/big-int.md#big-intensure)
+- **Array Like**
+ - [`array-like/is`](docs/array-like.md#array-likeis)
+ - [`array-like/ensure`](docs/array-like.md#array-likeensure)
+ - **Array**
+ - [`array/is`](docs/array.md#arrayis)
+ - [`array/ensure`](docs/array.md#arrayensure)
+- **Iterable**
+ - [`iterable/is`](docs/iterable.md#iterableis)
+ - [`iterable/ensure`](docs/iterable.md#iterableensure)
+- **Set**
+ - [`set/is`](docs/set.md#setis)
+ - [`set/ensure`](docs/set.md#setensure)
+- **Map**
+ - [`map/is`](docs/map.md#mapis)
+ - [`map/ensure`](docs/map.md#mapensure)
+- **Date**
+ - [`date/is`](docs/date.md#dateis)
+ - [`date/ensure`](docs/date.md#dateensure)
+- **Function**
+ - [`function/is`](docs/function.md#functionis)
+ - [`function/ensure`](docs/function.md#functionensure)
+ - **Constructor**
+ - [`constructor/is`](docs/constructor.md#plain-functionis)
+ - [`constructor/ensure`](docs/constructor.md#plain-functionensure)
+ - **Plain Function**
+ - [`plain-function/is`](docs/plain-function.md#plain-functionis)
+ - [`plain-function/ensure`](docs/plain-function.md#plain-functionensure)
+- **Reg Exp**
+ - [`reg-exp/is`](docs/reg-exp.md#reg-expis)
+ - [`reg-exp/ensure`](docs/.md#reg-expensure)
+- **Thenable**
+ - [`thenable/is`](docs/thenable.md#thenableis)
+ - [`thenable/ensure`](docs/thenable.md#thenableensure)
+ - **Promise**
+ - [`promise/is`](docs/promise.md#promiseis)
+ - [`promise/ensure`](docs/promise.md#promiseensure)
+- **Error**
+ - [`error/is`](docs/error.md#erroris)
+ - [`error/ensure`](docs/error.md#errorensure)
+- **Prototype**
+ - [`prototype/is`](docs/prototype.md#prototypeis)
+
+### Tests
+
+ $ npm test
+
+[build-image]: https://github.com/medikoo/type/workflows/Integrate/badge.svg
+[build-url]: https://github.com/medikoo/type/actions?query=workflow%3AIntegrate
+[cov-image]: https://img.shields.io/codecov/c/github/medikoo/type.svg
+[cov-url]: https://codecov.io/gh/medikoo/type
+[npm-image]: https://img.shields.io/npm/v/type.svg
+[npm-url]: https://www.npmjs.com/package/type
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/array-length/coerce.js b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/array-length/coerce.js
new file mode 100644
index 0000000..3dbbf97
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/array-length/coerce.js
@@ -0,0 +1,10 @@
+"use strict";
+
+var coerceToSafeInteger = require("../safe-integer/coerce");
+
+module.exports = function (value) {
+ value = coerceToSafeInteger(value);
+ if (!value) return value;
+ if (value < 0) return null;
+ return value;
+};
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/array-length/ensure.js b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/array-length/ensure.js
new file mode 100644
index 0000000..2b48ddc
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/array-length/ensure.js
@@ -0,0 +1,15 @@
+"use strict";
+
+var resolveException = require("../lib/resolve-exception")
+ , coerce = require("./coerce");
+
+module.exports = function (value/*, options*/) {
+ var coerced = coerce(value);
+ if (coerced !== null) return coerced;
+ var options = arguments[1];
+ var errorMessage =
+ options && options.name
+ ? "Expected an array length for %n, received %v"
+ : "%v is not an array length";
+ return resolveException(value, errorMessage, options);
+};
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/array-like/ensure.js b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/array-like/ensure.js
new file mode 100644
index 0000000..0d1a9f7
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/array-like/ensure.js
@@ -0,0 +1,14 @@
+"use strict";
+
+var resolveException = require("../lib/resolve-exception")
+ , is = require("./is");
+
+module.exports = function (value/*, options*/) {
+ if (is(value, arguments[1])) return value;
+ var options = arguments[1];
+ var errorMessage =
+ options && options.name
+ ? "Expected an array like for %n, received %v"
+ : "%v is not an array like";
+ return resolveException(value, errorMessage, options);
+};
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/array-like/is.js b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/array-like/is.js
new file mode 100644
index 0000000..7778fed
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/array-like/is.js
@@ -0,0 +1,21 @@
+"use strict";
+
+var coerceToArrayLength = require("../array-length/coerce")
+ , isObject = require("../object/is");
+
+module.exports = function (value/*, options*/) {
+ if (!isObject(value)) {
+ var options = arguments[1];
+ if (isObject(options) && options.allowString && typeof value === "string") return true;
+ return false;
+ }
+
+ if (typeof value === "function") return false;
+
+ var length;
+ try { length = value.length; }
+ catch (error) { return false; }
+
+ if (coerceToArrayLength(length) === null) return false;
+ return true;
+};
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/array/ensure.js b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/array/ensure.js
new file mode 100644
index 0000000..19e4599
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/array/ensure.js
@@ -0,0 +1,43 @@
+"use strict";
+
+var resolveException = require("../lib/resolve-exception")
+ , resolveErrorMessage = require("../lib/resolve-error-message")
+ , toShortString = require("../lib/to-short-string")
+ , ensurePlainFunction = require("../plain-function/ensure")
+ , is = require("./is");
+
+var objHasOwnProperty = Object.prototype.hasOwnProperty, invalidItemsLimit = 3;
+
+module.exports = function (value /*, options*/) {
+ var options = arguments[1];
+ var mainErrorMessage =
+ options && options.name ? "Expected an array for %n, received %v" : "%v is not an array";
+ if (!is(value)) return resolveException(value, mainErrorMessage, options);
+ if (!options) return value;
+
+ var ensureItem = ensurePlainFunction(options.ensureItem, { isOptional: true });
+ if (ensureItem) {
+ var coercedValue = [], invalidItems;
+ for (var index = 0, length = value.length; index < length; ++index) {
+ if (!objHasOwnProperty.call(value, index)) continue;
+ var coercedItem;
+ try {
+ coercedItem = ensureItem(value[index]);
+ } catch (error) {
+ if (!invalidItems) invalidItems = [];
+ if (invalidItems.push(toShortString(value[index])) === invalidItemsLimit) break;
+ }
+ if (invalidItems) continue;
+ coercedValue[index] = coercedItem;
+ }
+ if (invalidItems) {
+ throw new TypeError(
+ resolveErrorMessage(mainErrorMessage, value, options) +
+ ".\n Following items are invalid: " +
+ invalidItems.join(", ")
+ );
+ }
+ return coercedValue;
+ }
+ return value;
+};
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/array/is.js b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/array/is.js
new file mode 100644
index 0000000..13fd8d3
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/array/is.js
@@ -0,0 +1,27 @@
+"use strict";
+
+var isPrototype = require("../prototype/is");
+
+var isArray;
+if (typeof Array.isArray === "function") {
+ isArray = Array.isArray;
+} else {
+ var objectToString = Object.prototype.toString, objectTaggedString = objectToString.call([]);
+ isArray = function (value) { return objectToString.call(value) === objectTaggedString; };
+}
+
+module.exports = function (value) {
+ if (!isArray(value)) return false;
+
+ // Sanity check (reject objects which do not expose common Array interface)
+ if (!hasOwnProperty.call(value, "length")) return false;
+ try {
+ if (typeof value.length !== "number") return false;
+ if (typeof value.push !== "function") return false;
+ if (typeof value.splice !== "function") return false;
+ } catch (error) {
+ return false;
+ }
+
+ return !isPrototype(value);
+};
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/big-int/coerce.js b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/big-int/coerce.js
new file mode 100644
index 0000000..a600a20
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/big-int/coerce.js
@@ -0,0 +1,13 @@
+"use strict";
+
+var isValue = require("../value/is");
+
+// Sanity BigInt support check
+BigInt(0);
+
+module.exports = function (value) {
+ if (!isValue(value)) return null;
+ if (typeof value === "bigint") return value;
+ try { return BigInt(value); }
+ catch (error) { return null; }
+};
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/big-int/ensure.js b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/big-int/ensure.js
new file mode 100644
index 0000000..319b1b7
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/big-int/ensure.js
@@ -0,0 +1,13 @@
+"use strict";
+
+var resolveException = require("../lib/resolve-exception")
+ , coerce = require("./coerce");
+
+module.exports = function (value /*, options*/) {
+ var coerced = coerce(value);
+ if (coerced !== null) return coerced;
+ var options = arguments[1];
+ var errorMessage =
+ options && options.name ? "Expected bigint for %n, received %v" : "%v is not a bigint";
+ return resolveException(value, errorMessage, options);
+};
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/constructor/ensure.js b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/constructor/ensure.js
new file mode 100644
index 0000000..4f3e846
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/constructor/ensure.js
@@ -0,0 +1,14 @@
+"use strict";
+
+var resolveException = require("../lib/resolve-exception")
+ , is = require("./is");
+
+module.exports = function (value /*, options*/) {
+ if (is(value)) return value;
+ var options = arguments[1];
+ var errorMessage =
+ options && options.name
+ ? "Expected a constructor function for %n, received %v"
+ : "%v is not a constructor function";
+ return resolveException(value, errorMessage, options);
+};
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/constructor/is.js b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/constructor/is.js
new file mode 100644
index 0000000..058a156
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/constructor/is.js
@@ -0,0 +1,12 @@
+"use strict";
+
+var isFunction = require("../function/is");
+
+var constructorRe = /^\s*(?:class[\s{/}]|function[\s(])/
+ , functionToString = Function.prototype.toString;
+
+module.exports = function (value) {
+ if (!isFunction(value)) return false;
+ if (!constructorRe.test(functionToString.call(value))) return false;
+ return true;
+};
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/date/ensure.js b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/date/ensure.js
new file mode 100644
index 0000000..0fae4d3
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/date/ensure.js
@@ -0,0 +1,12 @@
+"use strict";
+
+var resolveException = require("../lib/resolve-exception")
+ , is = require("./is");
+
+module.exports = function (value/*, options*/) {
+ if (is(value)) return value;
+ var options = arguments[1];
+ var errorMessage =
+ options && options.name ? "Expected a date for %n, received %v" : "%v is not a date";
+ return resolveException(value, errorMessage, options);
+};
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/date/is.js b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/date/is.js
new file mode 100644
index 0000000..0754085
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/date/is.js
@@ -0,0 +1,26 @@
+"use strict";
+
+var isPrototype = require("../prototype/is");
+
+var dateValueOf = Date.prototype.valueOf;
+
+module.exports = function (value) {
+ if (!value) return false;
+
+ try {
+ // Sanity check (reject objects which do not expose common Date interface)
+ if (typeof value.getFullYear !== "function") return false;
+ if (typeof value.getTimezoneOffset !== "function") return false;
+ if (typeof value.setFullYear !== "function") return false;
+
+ // Ensure its native Date object (has [[DateValue]] slot)
+ dateValueOf.call(value);
+ } catch (error) {
+ return false;
+ }
+
+ // Ensure it hosts valid date
+ if (isNaN(value)) return false;
+
+ return !isPrototype(value);
+};
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/docs/array-length.md b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/docs/array-length.md
new file mode 100644
index 0000000..cca7d8a
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/docs/array-length.md
@@ -0,0 +1,27 @@
+# Array length
+
+_number_ primitive that conforms as valid _array length_
+
+## `array-length/coerce`
+
+Follows [`safe-integer/coerce`](safe-integer.md#safe-integercoerce) but returns `null` in place of values which are below `0`
+
+```javascript
+const coerceToArrayLength = require("type/safe-integer/coerce");
+
+coerceToArrayLength("12.95"); // 12
+coerceToArrayLength(9007199254740992); // null
+coerceToArrayLength(null); // null
+```
+
+## `array-length/ensure`
+
+If given argument is an _array length_ coercible value (via [`array-length/coerce`](#array-lengthcoerce)) returns result number.
+Otherwise `TypeError` is thrown.
+
+```javascript
+const ensureArrayLength = require("type/array-length/ensure");
+
+ensureArrayLength(12.93); // "12"
+ensureArrayLength(9007199254740992); // Thrown TypeError: 9007199254740992 is not a valid array length
+```
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/docs/array-like.md b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/docs/array-like.md
new file mode 100644
index 0000000..2a48df8
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/docs/array-like.md
@@ -0,0 +1,33 @@
+# Array Like
+
+_Array-like_ value (any value with `length` property)
+
+## `array-like/is`
+
+Restricted _array-like_ confirmation. Returns true for every value that meets following contraints
+
+- is an _object_ (or with `allowString` option, a _string_)
+- is not a _function_
+- Exposes `length` that meets [`array-length`](array-length.md#array-lengthcoerce) constraints
+
+```javascript
+const isArrayLike = require("type/array-like/is");
+
+isArrayLike([]); // true
+isArrayLike({}); // false
+isArrayLike({ length: 0 }); // true
+isArrayLike("foo"); // false
+isArrayLike("foo", { allowString: true }); // true
+```
+
+## `array-like/ensure`
+
+If given argument is an _array-like_, it is returned back. Otherwise `TypeError` is thrown.
+
+```javascript
+const ensureArrayLike = require("type/array-like/ensure");
+
+ensureArrayLike({ length: 0 }); // { length: 0 }
+ensureArrayLike("foo", { allowString: true }); // "foo"
+ensureArrayLike({}); // Thrown TypeError: null is not an iterable
+```
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/docs/array.md b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/docs/array.md
new file mode 100644
index 0000000..0c6ac4e
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/docs/array.md
@@ -0,0 +1,46 @@
+# Array
+
+_Array_ instance
+
+## `array/is`
+
+Confirms if given object is a native array
+
+```javascript
+const isArray = require("type/array/is");
+
+isArray([]); // true
+isArray({}); // false
+isArray("foo"); // false
+```
+
+## `array/ensure`
+
+If given argument is an array, it is returned back. Otherwise `TypeError` is thrown.
+
+```javascript
+const ensureArray = require("type/array/ensure");
+
+ensureArray(["foo"]); // ["foo"]
+ensureArray("foo"); // Thrown TypeError: foo is not an array
+```
+
+### Confirming on items
+
+Items can be validated by passing `ensureItem` option. Note that in this case:
+
+- A newly created instance of an array with coerced item values is returned
+- Error message lists up to three items which are invalid
+
+```javascript
+const ensureString = require("type/string/ensure");
+
+ensureArray([12], { ensureItem: ensureString }); // ["12"]
+
+/*
+ Below invocation with crash with:
+ TypeError: 23, [object Object], [object Object] is not a valid array.
+ Following items are invalid: [object Object], [object Object]
+*/
+ensureArray([23, {}, {}], { ensureItem: ensureString });
+```
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/docs/big-int.md b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/docs/big-int.md
new file mode 100644
index 0000000..78626fd
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/docs/big-int.md
@@ -0,0 +1,27 @@
+# BigInt
+
+_bigint_ primitive
+
+## `big-int/coerce`
+
+BigInt coercion. If value can be coerced by `BigInt` its result is returned.
+For all other values `null` is returned
+
+```javascript
+const coerceToBigInt = require("type/big-int/coerce");
+
+coerceToBigInt(12); // 12n
+coerceToBigInt(undefined); // null
+```
+
+## `big-int/ensure`
+
+If given argument is a _bigint_ coercible value (via [`big-int/coerce`](#big-intcoerce)) returns result bigint.
+Otherwise `TypeError` is thrown.
+
+```javascript
+const ensureBigInt = require("type/big-int/ensure");
+
+ensureBigInt(12); // 12n
+ensureBigInt(null); // Thrown TypeError: null is not a bigint
+```
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/docs/constructor.md b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/docs/constructor.md
new file mode 100644
index 0000000..172462a
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/docs/constructor.md
@@ -0,0 +1,28 @@
+# Constructor
+
+A _Function_ instance that's a _constructor_ (either regular function or _class_)
+
+## `constructor/is`
+
+Confirms if given object is a constructor function\_
+
+```javascript
+const isConstructor = require("type/constructor/is");
+
+isConstructor(function () {}); // true
+isConstructor(() => {}); // false
+isConstructor(class {}); // true
+isConstructor("foo"); // false
+```
+
+## `constructor/ensure`
+
+If given argument is a _constructor function_, it is returned back. Otherwise `TypeError` is thrown.
+
+```javascript
+const ensureConstructor = require("type/constructor/ensure");
+
+const fn = function () {};
+ensureConstructor(fn); // fn
+ensureConstructor(() => {}); // Thrown TypeError: () => {} is not a constructor function
+```
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/docs/date.md b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/docs/date.md
new file mode 100644
index 0000000..98d3654
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/docs/date.md
@@ -0,0 +1,28 @@
+# Date
+
+_Date_ instance
+
+## `date/is`
+
+Confirms if given object is a native date, and is not an _Invalid Date_
+
+```javascript
+const isDate = require("type/date/is");
+
+isDate(new Date()); // true
+isDate(new Date("Invalid date")); // false
+isDate(Date.now()); // false
+isDate("foo"); // false
+```
+
+## `date/ensure`
+
+If given argument is a date object, it is returned back. Otherwise `TypeError` is thrown.
+
+```javascript
+const ensureDate = require("type/date/ensure");
+
+const date = new Date();
+ensureDate(date); // date
+ensureDate(123123); // Thrown TypeError: 123123 is not a date object
+```
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/docs/ensure.md b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/docs/ensure.md
new file mode 100644
index 0000000..c3a9527
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/docs/ensure.md
@@ -0,0 +1,40 @@
+# `ensure(validationDatum1[, ...validationDatumN[, options]])`
+
+Provides a complete cumulated input validation for an API endpoint. Validates multiple input arguments and consolidates eventual errors into one.
+
+## Arguments
+
+### `validationDatum1[, ...validationDatumN]`
+
+For each argument to be validated a `validationDatum` of following stucture should be defined:
+
+```javascript
+[argumentName, inputValue, ensureFunction, (options = {})];
+```
+
+- `argumentName` - Name of validated argument (used for meaningful error messaging)
+- `inputValue` - An argument value as passed to function
+- `ensureFunction` - An `ensureX` function with which argument should be validated (e.g. if we're after string, then we need [string/ensure](string.md#stringensure))
+- `options` - Optional, extra options to be passed to `ensureX` function
+
+### `[options]`
+
+Eventual options be passed to underlying `ensureX` functions. If custom error constructor is passed with an `Error` option, then cumulated error is created with this constructor.
+
+## Usage example
+
+```javascript
+const ensure = require("type/ensure");
+const ensureString = require("type/string/ensure");
+const ensureNaturalNumber = require("type/natural-number/ensure");
+
+const resolveRepositoryIssue = (repoName, issueNumber) => {
+ // Validate input
+ [repoName, issueNumber] = ensure(
+ ["repoName", repoName, ensureString],
+ ["issueNumber", issueNumber, ensureNaturalNumber],
+ { Error: UserError }
+ );
+ // ... logic
+};
+```
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/docs/error.md b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/docs/error.md
new file mode 100644
index 0000000..c779333
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/docs/error.md
@@ -0,0 +1,26 @@
+# Error
+
+_Error_ instance
+
+## `error/is`
+
+Confirms if given object is a native error object
+
+```javascript
+const isError = require("type/error/is");
+
+isError(new Error()); // true
+isError({ message: "Fake error" }); // false
+```
+
+## `error/ensure`
+
+If given argument is an error object, it is returned back. Otherwise `TypeError` is thrown.
+
+```javascript
+const ensureError = require("type/error/ensure");
+
+const someError = new Error("Some error");
+ensureError(someError); // someError
+ensureError({ message: "Fake error" }); // Thrown TypeError: [object Object] is not an error object
+```
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/docs/finite.md b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/docs/finite.md
new file mode 100644
index 0000000..68786ca
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/docs/finite.md
@@ -0,0 +1,27 @@
+# Finite Number
+
+Finite _number_ primitive
+
+## `finite/coerce`
+
+Follows [`number/coerce`](number.md#numbercoerce) additionally rejecting `Infinity` and `-Infinity` values (`null` is returned if given values coerces to them)
+
+```javascript
+const coerceToFinite = require("type/finite/coerce");
+
+coerceToFinite("12"); // 12
+coerceToFinite(Infinity); // null
+coerceToFinite(null); // null
+```
+
+## `finite/ensure`
+
+If given argument is a finite number coercible value (via [`finite/coerce`](#finitecoerce)) returns result number.
+Otherwise `TypeError` is thrown.
+
+```javascript
+const ensureFinite = require("type/finite/ensure");
+
+ensureFinite(12); // "12"
+ensureFinite(null); // Thrown TypeError: null is not a finite number
+```
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/docs/function.md b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/docs/function.md
new file mode 100644
index 0000000..23f3827
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/docs/function.md
@@ -0,0 +1,28 @@
+# Function
+
+_Function_ instance
+
+## `function/is`
+
+Confirms if given object is a native function
+
+```javascript
+const isFunction = require("type/function/is");
+
+isFunction(function () {}); // true
+isFunction(() => {}); // true
+isFunction(class {}); // true
+isFunction("foo"); // false
+```
+
+## `function/ensure`
+
+If given argument is a function object, it is returned back. Otherwise `TypeError` is thrown.
+
+```javascript
+const ensureFunction = require("type/function/ensure");
+
+const fn = function () {};
+ensureFunction(fn); // fn
+ensureFunction(/foo/); // Thrown TypeError: /foo/ is not a function
+```
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/docs/integer.md b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/docs/integer.md
new file mode 100644
index 0000000..9260a46
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/docs/integer.md
@@ -0,0 +1,27 @@
+# Integer Number
+
+Integer _number_ primitive
+
+## `integer/coerce`
+
+Follows [`finite/coerce`](finite.md#finitecoerce) additionally stripping decimal part from the number
+
+```javascript
+const coerceToInteger = require("type/integer/coerce");
+
+coerceToInteger("12.95"); // 12
+coerceToInteger(Infinity); // null
+coerceToInteger(null); // null
+```
+
+## `integer/ensure`
+
+If given argument is an integer coercible value (via [`integer/coerce`](#integercoerce)) returns result number.
+Otherwise `TypeError` is thrown.
+
+```javascript
+const ensureInteger = require("type/integer/ensure");
+
+ensureInteger(12.93); // "12"
+ensureInteger(null); // Thrown TypeError: null is not an integer
+```
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/docs/iterable.md b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/docs/iterable.md
new file mode 100644
index 0000000..862e6c8
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/docs/iterable.md
@@ -0,0 +1,65 @@
+# Iterable
+
+Value which implements _iterable_ protocol
+
+## `iterable/is`
+
+Confirms if given object is an _iterable_ and is not a _string_ (unless `allowString` option is passed)
+
+```javascript
+const isIterable = require("type/iterable/is");
+
+isIterable([]); // true
+isIterable({}); // false
+isIterable("foo"); // false
+isIterable("foo", { allowString: true }); // true
+```
+
+Supports also `denyEmpty` option
+
+```javascript
+isIterable([], { denyEmpty: true }); // false
+isIterable(["foo"], { denyEmpty: true }); // true
+```
+
+## `iterable/ensure`
+
+If given argument is an _iterable_, it is returned back. Otherwise `TypeError` is thrown.
+By default _string_ primitives are rejected unless `allowString` option is passed.
+
+```javascript
+const ensureIterable = require("type/iterable/ensure");
+
+ensureIterable([]); // []
+ensureIterable("foo", { allowString: true }); // "foo"
+ensureIterable({}); // Thrown TypeError: null is not expected iterable
+```
+
+### Denying empty iterables
+
+Pass `denyEmpty` option to require non empty iterables
+
+```javascript
+ensureIterable([], { denyEmpty: true }); // Thrown TypeError: [] is not expected iterable
+```
+
+### Confirming on items
+
+Items can be validated by passing `ensureItem` option. Note that in this case:
+
+- A newly created instance of array with coerced values is returned
+- Error message lists up to three invalid items
+
+```javascript
+const ensureString = require("type/string/ensure");
+
+ensureIterable(new Set(["foo", 12]), { ensureItem: ensureString }); // ["foo", "12"]
+
+/*
+ Below invocation with crash with:
+ TypeError: [object Set] is not expected iterable value.
+ Following items are invalid:
+ - [object Object]
+*/
+ensureIterable(new Set(["foo", {}]), { ensureItem: ensureString });
+```
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/docs/map.md b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/docs/map.md
new file mode 100644
index 0000000..c128022
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/docs/map.md
@@ -0,0 +1,27 @@
+# Map
+
+_Map_ instance
+
+## `map/is`
+
+Confirms if given object is a native _map_
+
+```javascript
+const isMap = require("type/map/is");
+
+isMap(new Map()); // true
+isMap(new Set()); // false
+isMap({}); // false
+```
+
+## `map/ensure`
+
+If given argument is a _map_, it is returned back. Otherwise `TypeError` is thrown.
+
+```javascript
+const ensureMap = require("type/map/ensure");
+
+const map = new Map();
+ensureMap(map); // map
+eensureMap({}); // Thrown TypeError: [object Object] is not a map
+```
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/docs/natural-number.md b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/docs/natural-number.md
new file mode 100644
index 0000000..c91ee16
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/docs/natural-number.md
@@ -0,0 +1,27 @@
+# Natural Number
+
+Natural _number_ primitive
+
+## `natural-number/coerce`
+
+Follows [`integer/coerce`](integer.md#integercoerce) but returns `null` for values below `0`
+
+```javascript
+const coerceToNaturalNumber = require("type/natural-number/coerce");
+
+coerceToNaturalNumber("12.95"); // 12
+coerceToNaturalNumber(-120); // null
+coerceToNaturalNumber(null); // null
+```
+
+## `natural-number/ensure`
+
+If given argument is a natural number coercible value (via [`natural-number/coerce`](#natural-numbercoerce)) returns result number.
+Otherwise `TypeError` is thrown.
+
+```javascript
+const ensureNaturalNumber = require("type/natural-number/ensure");
+
+ensureNaturalNumber(12.93); // "12"
+ensureNaturalNumber(-230); // Thrown TypeError: null is not a natural number
+```
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/docs/number.md b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/docs/number.md
new file mode 100644
index 0000000..5f4dfa9
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/docs/number.md
@@ -0,0 +1,33 @@
+# Number
+
+_number_ primitive
+
+## `number/coerce`
+
+Restricted number coercion. Returns number presentation for every value that follows below constraints
+
+- is implicitly coercible to number
+- is neither `null` nor `undefined`
+- is not `NaN` and doesn't coerce to `NaN`
+
+For all other values `null` is returned
+
+```javascript
+const coerceToNumber = require("type/number/coerce");
+
+coerceToNumber("12"); // 12
+coerceToNumber({}); // null
+coerceToNumber(null); // null
+```
+
+## `number/ensure`
+
+If given argument is a number coercible value (via [`number/coerce`](#numbercoerce)) returns result number.
+Otherwise `TypeError` is thrown.
+
+```javascript
+const ensureNumber = require("type/number/ensure");
+
+ensureNumber(12); // "12"
+ensureNumber(null); // Thrown TypeError: null is not a number
+```
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/docs/object.md b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/docs/object.md
new file mode 100644
index 0000000..ed43b1f
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/docs/object.md
@@ -0,0 +1,28 @@
+# Object
+
+_Object_, any non-primitive value
+
+## `object/is`
+
+Confirms if passed value is an object
+
+```javascript
+const isObject = require("type/object/is");
+
+isObject({}); // true
+isObject(true); // false
+isObject(null); // false
+```
+
+## `object/ensure`
+
+If given argument is an object, it is returned back. Otherwise `TypeError` is thrown.
+
+```javascript
+const ensureObject = require("type/object/ensure");
+
+const obj = {};
+
+ensureObject(obj); // obj
+ensureString(null); // Thrown TypeError: null is not an object
+```
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/docs/plain-function.md b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/docs/plain-function.md
new file mode 100644
index 0000000..e3a8895
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/docs/plain-function.md
@@ -0,0 +1,28 @@
+# Plain Function
+
+A _Function_ instance that is not a _Class_
+
+## `plain-function/is`
+
+Confirms if given object is a _plain function_
+
+```javascript
+const isPlainFunction = require("type/plain-function/is");
+
+isPlainFunction(function () {}); // true
+isPlainFunction(() => {}); // true
+isPlainFunction(class {}); // false
+isPlainFunction("foo"); // false
+```
+
+## `plain-function/ensure`
+
+If given argument is a _plain function_ object, it is returned back. Otherwise `TypeError` is thrown.
+
+```javascript
+const ensurePlainFunction = require("type/function/ensure");
+
+const fn = function () {};
+ensurePlainFunction(fn); // fn
+ensurePlainFunction(class {}); // Thrown TypeError: class is not a plain function
+```
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/docs/plain-object.md b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/docs/plain-object.md
new file mode 100644
index 0000000..ce3f522
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/docs/plain-object.md
@@ -0,0 +1,69 @@
+# Plain Object
+
+A _plain object_
+
+- Inherits directly from `Object.prototype` or `null`
+- Is not a constructor's `prototype` property
+
+## `plain-object/is`
+
+Confirms if given object is a _plain object_
+
+```javascript
+const isPlainObject = require("type/plain-object/is");
+
+isPlainObject({}); // true
+isPlainObject(Object.create(null)); // true
+isPlainObject([]); // false
+```
+
+## `plain-object/ensure`
+
+If given argument is a plain object it is returned back. Otherwise `TypeError` is thrown.
+
+```javascript
+const ensurePlainObject = require("type/plain-object/ensure");
+
+ensurePlainObject({}); // {}
+ensurePlainObject("foo"); // Thrown TypeError: foo is not a plain object
+```
+
+### Confirming on keys
+
+Keys can be validated by passing `allowedKeys` option. Note that in this case:
+
+- Error message lists up to three invalid keys
+
+```javascript
+const allowedKeys = ["foo"];
+
+ensurePlainObject({}, { allowedKeys }); // {}
+ensurePlainObject({ foo: "bar" }, { allowedKeys }); // { foo: 'bar' }
+
+/*
+ Below invocation with crash with:
+ TypeError: [object Object] is not a valid plain object.
+ Following keys are unexpected: lorem, ipsum
+*/
+ensurePlainObject({ foo: "bar", lorem: 1, ipsum: 2 }, { allowedKeys });
+```
+
+### Confirming on property values
+
+Property values can be validated by passing `ensurePropertyValue` option. Note that in this case:
+
+- A newly created instance of plain object with coerced values is returned
+- Error message lists up to three keys that contain invalid values
+
+```javascript
+const ensureString = require("type/string/ensure");
+
+ensurePlainObject({ foo: 12 }, { ensurePropertyValue: ensureString }); // { foo: '12' }
+
+/*
+ Below invocation with crash with:
+ TypeError: [object Object] is not a valid plain object.
+ Valuees for following keys are invalid: lorem, ipsum
+*/
+ensurePlainObject({ foo: 23, lorem: {}, ipsum: {} }, { ensurePropertyValue: ensureString });
+```
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/docs/promise.md b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/docs/promise.md
new file mode 100644
index 0000000..ce38794
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/docs/promise.md
@@ -0,0 +1,27 @@
+# Promise
+
+_Promise_ instance
+
+## `promise/is`
+
+Confirms if given object is a native _promise_
+
+```javascript
+const isPromise = require("type/promise/is");
+
+isPromise(Promise.resolve()); // true
+isPromise({ then: () => {} }); // false
+isPromise({}); // false
+```
+
+## `promise/ensure`
+
+If given argument is a promise, it is returned back. Otherwise `TypeError` is thrown.
+
+```javascript
+const ensurePromise = require("type/promise/ensure");
+
+const promise = Promise.resolve();
+ensurePromise(promise); // promise
+eensurePromise({}); // Thrown TypeError: [object Object] is not a promise
+```
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/docs/prototype.md b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/docs/prototype.md
new file mode 100644
index 0000000..926c256
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/docs/prototype.md
@@ -0,0 +1,15 @@
+# Prototype
+
+Some constructor's `prototype` property
+
+## `prototype/is`
+
+Confirms if given object serves as a _prototype_ property
+
+```javascript
+const isPrototype = require("type/prototype/is");
+
+isPrototype({}); // false
+isPrototype(Object.prototype); // true
+isPrototype(Array.prototype); // true
+```
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/docs/reg-exp.md b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/docs/reg-exp.md
new file mode 100644
index 0000000..00d081c
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/docs/reg-exp.md
@@ -0,0 +1,26 @@
+# RegExp
+
+_RegExp_ instance
+
+## `reg-exp/is`
+
+Confirms if given object is a native regular expression object
+
+```javascript
+const isRegExp = require("type/reg-exp/is");
+
+isRegExp(/foo/);
+isRegExp({}); // false
+isRegExp("foo"); // false
+```
+
+## `reg-exp/ensure`
+
+If given argument is a regular expression object, it is returned back. Otherwise `TypeError` is thrown.
+
+```javascript
+const ensureRegExp = require("type/reg-exp/ensure");
+
+ensureRegExp(/foo/); // /foo/
+ensureRegExp("foo"); // Thrown TypeError: null is not a regular expression object
+```
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/docs/safe-integer.md b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/docs/safe-integer.md
new file mode 100644
index 0000000..cf4bb1c
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/docs/safe-integer.md
@@ -0,0 +1,27 @@
+# Safe Integer Number
+
+Safe integer _number_ primitive
+
+## `safe-integer/coerce`
+
+Follows [`integer/coerce`](integer.md#integercoerce) but returns `null` in place of values which are beyond `Number.MIN_SAFE_INTEGER` and `Number.MAX_SAFE_INTEGER` range.
+
+```javascript
+const coerceToSafeInteger = require("type/safe-integer/coerce");
+
+coerceToInteger("12.95"); // 12
+coerceToInteger(9007199254740992); // null
+coerceToInteger(null); // null
+```
+
+## `safe-integer/ensure`
+
+If given argument is a safe integer coercible value (via [`safe-integer/coerce`](#safe-integercoerce)) returns result number.
+Otherwise `TypeError` is thrown.
+
+```javascript
+const ensureSafeInteger = require("type/safe-integer/ensure");
+
+ensureSafeInteger(12.93); // "12"
+ensureSafeInteger(9007199254740992); // Thrown TypeError: null is not a safe integer
+```
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/docs/set.md b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/docs/set.md
new file mode 100644
index 0000000..33f8876
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/docs/set.md
@@ -0,0 +1,27 @@
+# Set
+
+_Set_ instance
+
+## `set/is`
+
+Confirms if given object is a native set\_
+
+```javascript
+const isSet = require("type/set/is");
+
+isSet(new Set()); // true
+isSet(new Map()); // false
+isSet({}); // false
+```
+
+## `Set/ensure`
+
+If given argument is a _set_, it is returned back. Otherwise `TypeError` is thrown.
+
+```javascript
+const ensureSet = require("type/set/ensure");
+
+const set = new Set();
+ensureSet(set); // set
+eensureSet({}); // Thrown TypeError: [object Object] is not a set
+```
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/docs/string.md b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/docs/string.md
new file mode 100644
index 0000000..051b4a3
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/docs/string.md
@@ -0,0 +1,32 @@
+# String
+
+_string_ primitive
+
+## `string/coerce`
+
+Restricted string coercion. Returns string presentation for every value that follows below constraints
+
+- is implicitly coercible to string
+- is neither`null` nor `undefined`
+- its `toString` method is not `Object.prototype.toString`
+
+For all other values `null` is returned
+
+```javascript
+const coerceToString = require("type/string/coerce");
+
+coerceToString(12); // "12"
+coerceToString(undefined); // null
+```
+
+## `string/ensure`
+
+If given argument is a string coercible value (via [`string/coerce`](#stringcoerce)) returns result string.
+Otherwise `TypeError` is thrown.
+
+```javascript
+const ensureString = require("type/string/ensure");
+
+ensureString(12); // "12"
+ensureString(null); // Thrown TypeError: null is not a string
+```
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/docs/thenable.md b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/docs/thenable.md
new file mode 100644
index 0000000..1bdf92d
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/docs/thenable.md
@@ -0,0 +1,27 @@
+# Thenable
+
+_Thenable_ object (an object with `then` method)
+
+## `thenable/is`
+
+Confirms if given object is a _thenable_
+
+```javascript
+const isThenable = require("type/thenable/is");
+
+isThenable(Promise.resolve()); // true
+isThenable({ then: () => {} }); // true
+isThenable({}); // false
+```
+
+## `thenable/ensure`
+
+If given argument is a _thenable_ object, it is returned back. Otherwise `TypeError` is thrown.
+
+```javascript
+const ensureThenable = require("type/thenable/ensure");
+
+const promise = Promise.resolve();
+ensureThenable(promise); // promise
+ensureThenable({}); // Thrown TypeError: [object Object] is not a thenable object
+```
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/docs/time-value.md b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/docs/time-value.md
new file mode 100644
index 0000000..98e9e8e
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/docs/time-value.md
@@ -0,0 +1,27 @@
+# Time value
+
+_number_ primitive which is a valid _time value_ (as used internally in _Date_ instances)
+
+## `time-value/coerce`
+
+Follows [`integer/coerce`](integer.md#integercoerce) but returns `null` in place of values which go beyond 100 000 0000 days from unix epoch
+
+```javascript
+const coerceToTimeValue = require("type/time-value/coerce");
+
+coerceToTimeValue(12312312); // true
+coerceToTimeValue(Number.MAX_SAFE_INTEGER); // false
+coerceToTimeValue("foo"); // false
+```
+
+## `time-value/ensure`
+
+If given argument is a _time value_ coercible value (via [`time-value/coerce`](#time-valuecoerce)) returns result number.
+Otherwise `TypeError` is thrown.
+
+```javascript
+const ensureTimeValue = require("type/time-value/ensure");
+
+ensureTimeValue(12.93); // "12"
+ensureTimeValue(Number.MAX_SAFE_INTEGER); // Thrown TypeError: null is not a natural number
+```
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/docs/value.md b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/docs/value.md
new file mode 100644
index 0000000..1310609
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/docs/value.md
@@ -0,0 +1,27 @@
+# Value
+
+_Value_, any value that's neither `null` nor `undefined` .
+
+## `value/is`
+
+Confirms whether passed argument is a _value_
+
+```javascript
+const isValue = require("type/value/is");
+
+isValue({}); // true
+isValue(null); // false
+```
+
+## `value/ensure`
+
+Ensures if given argument is a _value_. If it's a value it is returned back, if not `TypeError` is thrown
+
+```javascript
+const ensureValue = require("type/value/ensure");
+
+const obj = {};
+
+ensureValue(obj); // obj
+ensureValue(null); // Thrown TypeError: Cannot use null
+```
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/ensure.js b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/ensure.js
new file mode 100644
index 0000000..7fe8220
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/ensure.js
@@ -0,0 +1,51 @@
+"use strict";
+
+var isArray = require("./array/is")
+ , toShortString = require("./lib/to-short-string");
+
+var objPropertyIsEnumerable = Object.prototype.propertyIsEnumerable;
+
+var assign = function (target, source) {
+ for (var key in source) {
+ if (objPropertyIsEnumerable.call(source, key)) target[key] = source[key];
+ }
+};
+
+module.exports = function (validationDatum1/*, ...validationDatumN, options */) {
+ var validationData = [validationDatum1];
+ var globalOptions;
+ if (arguments.length > 1) {
+ var hasOptions = !isArray(arguments[arguments.length - 1]);
+ if (hasOptions) globalOptions = arguments[arguments.length - 1];
+ var lastDatumIndex = hasOptions ? arguments.length - 2 : arguments.length - 1;
+ for (var i = 1; i <= lastDatumIndex; ++i) validationData.push(arguments[i]);
+ }
+ var result = [], errors;
+ for (var j = 0; j < validationData.length; ++j) {
+ var validationDatum = validationData[j];
+ var options = { name: validationDatum[0] };
+ if (globalOptions) assign(options, globalOptions);
+ if (validationDatum[3]) assign(options, validationDatum[3]);
+ var resultItem;
+ if (typeof validationDatum[2] !== "function") {
+ throw new TypeError(toShortString(validationDatum[2]) + " is not a function");
+ }
+ try {
+ resultItem = validationDatum[2](validationDatum[1], options);
+ } catch (error) {
+ if (!errors) errors = [];
+ errors.push(error);
+ }
+ if (errors) continue;
+ result.push(resultItem);
+ }
+ if (!errors) return result;
+
+ if (errors.length === 1) throw errors[0];
+ var ErrorConstructor = (globalOptions && globalOptions.Error) || TypeError;
+ var errorMessage = "Approached following errors:";
+ for (var k = 0; k < errors.length; ++k) {
+ errorMessage += "\n - " + errors[k].message.split("\n").join("\n ");
+ }
+ throw new ErrorConstructor(errorMessage);
+};
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/error/ensure.js b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/error/ensure.js
new file mode 100644
index 0000000..8b28d85
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/error/ensure.js
@@ -0,0 +1,12 @@
+"use strict";
+
+var resolveException = require("../lib/resolve-exception")
+ , is = require("./is");
+
+module.exports = function (value/*, options*/) {
+ if (is(value)) return value;
+ var options = arguments[1];
+ var errorMessage =
+ options && options.name ? "Expected an error for %n, received %v" : "%v is not an error";
+ return resolveException(value, errorMessage, options);
+};
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/error/is.js b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/error/is.js
new file mode 100644
index 0000000..bf04c80
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/error/is.js
@@ -0,0 +1,45 @@
+"use strict";
+
+var isPrototype = require("../prototype/is")
+ , isPlainObject = require("../plain-object/is");
+
+var objectToString = Object.prototype.toString;
+
+// Recognize host specific errors (e.g. DOMException)
+var errorTaggedStringRe = /^\[object .*(?:Error|Exception)\]$/
+ , errorNameRe = /^[^\s]*(?:Error|Exception)$/;
+
+module.exports = function (value) {
+ if (!value) return false;
+
+ var name;
+ // Sanity check (reject objects which do not expose common Error interface)
+ try {
+ name = value.name;
+ if (typeof name !== "string") return false;
+ if (typeof value.message !== "string") return false;
+ } catch (error) {
+ return false;
+ }
+
+ // Ensure its a native-like Error object
+ // (has [[ErrorData]] slot, or was created to resemble one)
+ // Note: It's not a 100% bulletproof check of confirming that as:
+ // - In ES2015+ string tag can be overriden via Symbol.toStringTag property
+ // - Host errors do not share native error tag. Still we rely on assumption that
+ // tag for each error will end either with `Error` or `Exception` string
+ // - In pre ES2015 era, no custom errors will share the error tag.
+ if (!errorTaggedStringRe.test(objectToString.call(value))) {
+ // Definitely not an ES2015 error instance, but could still be an error
+ // (created via e.g. CustomError.prototype = Object.create(Error.prototype))
+ try {
+ if (name !== value.constructor.name) return false;
+ } catch (error) {
+ return false;
+ }
+ if (!errorNameRe.test(name)) return false;
+ if (isPlainObject(value)) return false;
+ }
+
+ return !isPrototype(value);
+};
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/finite/coerce.js b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/finite/coerce.js
new file mode 100644
index 0000000..a3783be
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/finite/coerce.js
@@ -0,0 +1,8 @@
+"use strict";
+
+var coerceToNumber = require("../number/coerce");
+
+module.exports = function (value) {
+ value = coerceToNumber(value);
+ return isFinite(value) ? value : null;
+};
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/finite/ensure.js b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/finite/ensure.js
new file mode 100644
index 0000000..aac96be
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/finite/ensure.js
@@ -0,0 +1,15 @@
+"use strict";
+
+var resolveException = require("../lib/resolve-exception")
+ , coerce = require("./coerce");
+
+module.exports = function (value/*, options*/) {
+ var coerced = coerce(value);
+ if (coerced !== null) return coerced;
+ var options = arguments[1];
+ var errorMessage =
+ options && options.name
+ ? "Expected a finite number for %n, received %v"
+ : "%v is not a finite number";
+ return resolveException(value, errorMessage, options);
+};
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/function/ensure.js b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/function/ensure.js
new file mode 100644
index 0000000..d133701
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/function/ensure.js
@@ -0,0 +1,14 @@
+"use strict";
+
+var resolveException = require("../lib/resolve-exception")
+ , is = require("./is");
+
+module.exports = function (value/*, options*/) {
+ if (is(value)) return value;
+ var options = arguments[1];
+ var errorMessage =
+ options && options.name
+ ? "Expected a function for %n, received %v"
+ : "%v is not a function";
+ return resolveException(value, errorMessage, options);
+};
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/function/is.js b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/function/is.js
new file mode 100644
index 0000000..981990a
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/function/is.js
@@ -0,0 +1,19 @@
+"use strict";
+
+var isPrototype = require("../prototype/is");
+
+module.exports = function (value) {
+ if (typeof value !== "function") return false;
+
+ if (!hasOwnProperty.call(value, "length")) return false;
+
+ try {
+ if (typeof value.length !== "number") return false;
+ if (typeof value.call !== "function") return false;
+ if (typeof value.apply !== "function") return false;
+ } catch (error) {
+ return false;
+ }
+
+ return !isPrototype(value);
+};
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/integer/coerce.js b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/integer/coerce.js
new file mode 100644
index 0000000..cba5e17
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/integer/coerce.js
@@ -0,0 +1,11 @@
+"use strict";
+
+var coerceToFinite = require("../finite/coerce");
+
+var abs = Math.abs, floor = Math.floor;
+
+module.exports = function (value) {
+ value = coerceToFinite(value);
+ if (!value) return value;
+ return (value > 0 ? 1 : -1) * floor(abs(value));
+};
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/integer/ensure.js b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/integer/ensure.js
new file mode 100644
index 0000000..df1a975
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/integer/ensure.js
@@ -0,0 +1,15 @@
+"use strict";
+
+var resolveException = require("../lib/resolve-exception")
+ , coerce = require("./coerce");
+
+module.exports = function (value/*, options*/) {
+ var coerced = coerce(value);
+ if (coerced !== null) return coerced;
+ var options = arguments[1];
+ var errorMessage =
+ options && options.name
+ ? "Expected an integer for %n, received %v"
+ : "%v is not an integer";
+ return resolveException(value, errorMessage, options);
+};
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/iterable/ensure.js b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/iterable/ensure.js
new file mode 100644
index 0000000..b1a2489
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/iterable/ensure.js
@@ -0,0 +1,49 @@
+"use strict";
+
+var resolveException = require("../lib/resolve-exception")
+ , resolveErrorMessage = require("../lib/resolve-error-message")
+ , toShortString = require("../lib/to-short-string")
+ , ensurePlainFunction = require("../plain-function/ensure")
+ , is = require("./is");
+
+var invalidItemsLimit = 3;
+
+module.exports = function (value/*, options*/) {
+ var options = arguments[1];
+ var mainErrorMessage =
+ options && options.name
+ ? "Expected an iterable for %n, received %v"
+ : "%v is not expected iterable";
+ if (!is(value, options)) return resolveException(value, mainErrorMessage, options);
+ if (!options) return value;
+
+ var ensureItem = ensurePlainFunction(options.ensureItem, { isOptional: true });
+ if (ensureItem) {
+ var coercedValue = [];
+ var iterator = value[Symbol.iterator]();
+ var item, invalidItems;
+ while (!(item = iterator.next()).done) {
+ var newItemValue;
+ try {
+ newItemValue = ensureItem(item.value);
+ } catch (error) {
+ if (!invalidItems) invalidItems = [];
+ if (invalidItems.push(item.value) === invalidItemsLimit) break;
+ }
+ if (invalidItems) continue;
+ coercedValue.push(newItemValue);
+ }
+ if (invalidItems) {
+ var errorMessage =
+ resolveErrorMessage(mainErrorMessage, value, options) +
+ ".\n Following items are invalid:";
+ for (var i = 0; i < invalidItems.length; ++i) {
+ errorMessage += "\n - " + toShortString(invalidItems[i]);
+ }
+ throw new TypeError(errorMessage);
+ }
+ return coercedValue;
+ }
+
+ return value;
+};
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/iterable/is.js b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/iterable/is.js
new file mode 100644
index 0000000..d35408c
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/iterable/is.js
@@ -0,0 +1,32 @@
+// Polyfills friendly, therefore ES5 syntax
+
+"use strict";
+
+var isObject = require("../object/is");
+
+var iteratorSymbol = Symbol.iterator;
+
+if (!iteratorSymbol) {
+ throw new Error("Cannot initialize iterator/is due to Symbol.iterator not being implemented");
+}
+
+module.exports = function (value/*, options*/) {
+ var options = arguments[1];
+ if (!isObject(value)) {
+ if (!isObject(options) || !options.allowString || typeof value !== "string") return false;
+ }
+ try {
+ if (typeof value[iteratorSymbol] !== "function") return false;
+ } catch (error) {
+ return false;
+ }
+ if (!options) return true;
+ if (options.denyEmpty) {
+ try {
+ if (value[iteratorSymbol]().next().done) return false;
+ } catch (error) {
+ return false;
+ }
+ }
+ return true;
+};
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/lib/ensure/min.js b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/lib/ensure/min.js
new file mode 100644
index 0000000..df878bd
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/lib/ensure/min.js
@@ -0,0 +1,12 @@
+"use strict";
+
+var resolveException = require("../resolve-exception");
+
+module.exports = function (value, coerced, options) {
+ if (coerced >= options.min) return coerced;
+ var errorMessage =
+ options && options.name
+ ? "Expected %n to be greater or equal " + options.min + ", received %v"
+ : "%v is not greater or equal " + options.min;
+ return resolveException(value, errorMessage, options);
+};
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/lib/is-to-string-tag-supported.js b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/lib/is-to-string-tag-supported.js
new file mode 100644
index 0000000..254d8b3
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/lib/is-to-string-tag-supported.js
@@ -0,0 +1,3 @@
+"use strict";
+
+module.exports = typeof Symbol === "function" && typeof Symbol.toStringTag === "symbol";
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/lib/resolve-error-message.js b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/lib/resolve-error-message.js
new file mode 100644
index 0000000..3cb000b
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/lib/resolve-error-message.js
@@ -0,0 +1,52 @@
+"use strict";
+
+var stringCoerce = require("../string/coerce")
+ , toShortString = require("./to-short-string");
+
+module.exports = function (errorMessage, value, inputOptions) {
+ if (inputOptions && inputOptions.errorMessage) {
+ errorMessage = stringCoerce(inputOptions.errorMessage);
+ }
+
+ var valueInsertIndex = errorMessage.indexOf("%v");
+ var valueToken = valueInsertIndex > -1 ? toShortString(value) : null;
+ if (inputOptions && inputOptions.name) {
+ var nameInsertIndex = errorMessage.indexOf("%n");
+ if (nameInsertIndex > -1) {
+ if (valueInsertIndex > -1) {
+ var firstToken, secondToken, firstInsertIndex, secondInsertIndex;
+ if (nameInsertIndex > valueInsertIndex) {
+ firstToken = valueToken;
+ firstInsertIndex = valueInsertIndex;
+ secondToken = inputOptions.name;
+ secondInsertIndex = nameInsertIndex;
+ } else {
+ firstToken = inputOptions.name;
+ firstInsertIndex = nameInsertIndex;
+ secondToken = valueToken;
+ secondInsertIndex = valueInsertIndex;
+ }
+ return (
+ errorMessage.slice(0, firstInsertIndex) +
+ firstToken +
+ errorMessage.slice(firstInsertIndex + 2, secondInsertIndex) +
+ secondToken +
+ errorMessage.slice(secondInsertIndex + 2)
+ );
+ }
+ return (
+ errorMessage.slice(0, nameInsertIndex) +
+ inputOptions.name +
+ errorMessage.slice(nameInsertIndex + 2)
+ );
+ }
+ }
+ if (valueInsertIndex > -1) {
+ return (
+ errorMessage.slice(0, valueInsertIndex) +
+ valueToken +
+ errorMessage.slice(valueInsertIndex + 2)
+ );
+ }
+ return errorMessage;
+};
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/lib/resolve-exception.js b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/lib/resolve-exception.js
new file mode 100644
index 0000000..6c99286
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/lib/resolve-exception.js
@@ -0,0 +1,15 @@
+"use strict";
+
+var isValue = require("../value/is")
+ , resolveErrorMessage = require("./resolve-error-message");
+
+module.exports = function (value, defaultMessage, inputOptions) {
+ if (inputOptions && !isValue(value)) {
+ if ("default" in inputOptions) return inputOptions["default"];
+ if (inputOptions.isOptional) return null;
+ }
+ var ErrorConstructor = (inputOptions && inputOptions.Error) || TypeError;
+ var error = new ErrorConstructor(resolveErrorMessage(defaultMessage, value, inputOptions));
+ if (inputOptions && inputOptions.errorCode) error.code = inputOptions.errorCode;
+ throw error;
+};
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/lib/safe-to-string.js b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/lib/safe-to-string.js
new file mode 100644
index 0000000..a756dd3
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/lib/safe-to-string.js
@@ -0,0 +1,10 @@
+"use strict";
+
+module.exports = function (value) {
+ try {
+ return value.toString();
+ } catch (error) {
+ try { return String(value); }
+ catch (error2) { return null; }
+ }
+};
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/lib/to-short-string.js b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/lib/to-short-string.js
new file mode 100644
index 0000000..c8d7ed8
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/lib/to-short-string.js
@@ -0,0 +1,29 @@
+"use strict";
+
+var safeToString = require("./safe-to-string");
+
+var reNewLine = /[\n\r\u2028\u2029]/g;
+
+module.exports = function (value) {
+ var string = safeToString(value);
+ if (string === null) return "";
+ // Trim if too long
+ if (string.length > 100) string = string.slice(0, 99) + "…";
+ // Replace eventual new lines
+ string = string.replace(reNewLine, function (char) {
+ switch (char) {
+ case "\n":
+ return "\\n";
+ case "\r":
+ return "\\r";
+ case "\u2028":
+ return "\\u2028";
+ case "\u2029":
+ return "\\u2029";
+ /* istanbul ignore next */
+ default:
+ throw new Error("Unexpected character");
+ }
+ });
+ return string;
+};
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/map/ensure.js b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/map/ensure.js
new file mode 100644
index 0000000..3e3325a
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/map/ensure.js
@@ -0,0 +1,12 @@
+"use strict";
+
+var resolveException = require("../lib/resolve-exception")
+ , is = require("./is");
+
+module.exports = function (value /*, options*/) {
+ if (is(value)) return value;
+ var options = arguments[1];
+ var errorMessage =
+ options && options.name ? "Expected a map for %n, received %v" : "%v is not a map";
+ return resolveException(value, errorMessage, options);
+};
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/map/is.js b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/map/is.js
new file mode 100644
index 0000000..4ed7bae
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/map/is.js
@@ -0,0 +1,28 @@
+"use strict";
+
+var isPrototype = require("../prototype/is");
+
+// In theory we could rely on Symbol.toStringTag directly,
+// still early native implementation (e.g. in FF) predated symbols
+var objectToString = Object.prototype.toString, objectTaggedString = objectToString.call(new Map());
+
+module.exports = function (value) {
+ if (!value) return false;
+
+ // Sanity check (reject objects which do not expose common Promise interface)
+ try {
+ if (typeof value.set !== "function") return false;
+ if (typeof value.get !== "function") return false;
+ if (typeof value.has !== "function") return false;
+ if (typeof value.clear !== "function") return false;
+ } catch (error) {
+ return false;
+ }
+
+ // Ensure its native Promise object (has [[MapData]] slot)
+ // Note: it's not 100% precise as string tag may be overriden
+ // and other objects could be hacked to expose it
+ if (objectToString.call(value) !== objectTaggedString) return false;
+
+ return !isPrototype(value);
+};
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/natural-number/coerce.js b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/natural-number/coerce.js
new file mode 100644
index 0000000..4b7931c
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/natural-number/coerce.js
@@ -0,0 +1,10 @@
+"use strict";
+
+var coerceToInteger = require("../integer/coerce");
+
+module.exports = function (value) {
+ value = coerceToInteger(value);
+ if (!value) return value;
+ if (value < 0) return null;
+ return value;
+};
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/natural-number/ensure.js b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/natural-number/ensure.js
new file mode 100644
index 0000000..1f09174
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/natural-number/ensure.js
@@ -0,0 +1,21 @@
+"use strict";
+
+var resolveException = require("../lib/resolve-exception")
+ , ensureMin = require("../lib/ensure/min")
+ , coerce = require("./coerce");
+
+module.exports = function (value/*, options*/) {
+ var coerced = coerce(value), options = arguments[1];
+ if (coerced !== null) {
+ if (options) {
+ if (options.min) ensureMin(value, coerced, options);
+ }
+ return coerced;
+ }
+
+ var errorMessage =
+ options && options.name
+ ? "Expected a natural number for %n, received %v"
+ : "%v is not a natural number";
+ return resolveException(value, errorMessage, options);
+};
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/number/coerce.js b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/number/coerce.js
new file mode 100644
index 0000000..1bb1512
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/number/coerce.js
@@ -0,0 +1,14 @@
+"use strict";
+
+var isValue = require("../value/is");
+
+module.exports = function (value) {
+ if (!isValue(value)) return null;
+ try {
+ value = +value; // Ensure implicit coercion
+ } catch (error) {
+ return null;
+ }
+ if (isNaN(value)) return null;
+ return value;
+};
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/number/ensure.js b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/number/ensure.js
new file mode 100644
index 0000000..9ae705d
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/number/ensure.js
@@ -0,0 +1,13 @@
+"use strict";
+
+var resolveException = require("../lib/resolve-exception")
+ , coerce = require("./coerce");
+
+module.exports = function (value/*, options*/) {
+ var coerced = coerce(value);
+ if (coerced !== null) return coerced;
+ var options = arguments[1];
+ var errorMessage =
+ options && options.name ? "Expected a number for %n, received %v" : "%v is not a number";
+ return resolveException(value, errorMessage, options);
+};
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/object/ensure.js b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/object/ensure.js
new file mode 100644
index 0000000..341f55c
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/object/ensure.js
@@ -0,0 +1,12 @@
+"use strict";
+
+var resolveException = require("../lib/resolve-exception")
+ , is = require("./is");
+
+module.exports = function (value/*, options*/) {
+ if (is(value)) return value;
+ var options = arguments[1];
+ var errorMessage =
+ options && options.name ? "Expected an object for %n, received %v" : "%v is not an object";
+ return resolveException(value, errorMessage, options);
+};
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/object/is.js b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/object/is.js
new file mode 100644
index 0000000..a254dcb
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/object/is.js
@@ -0,0 +1,11 @@
+"use strict";
+
+var isValue = require("../value/is");
+
+// prettier-ignore
+var possibleTypes = { "object": true, "function": true, "undefined": true /* document.all */ };
+
+module.exports = function (value) {
+ if (!isValue(value)) return false;
+ return hasOwnProperty.call(possibleTypes, typeof value);
+};
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/package.json b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/package.json
new file mode 100644
index 0000000..a863fbf
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/package.json
@@ -0,0 +1,120 @@
+{
+ "name": "type",
+ "version": "2.7.2",
+ "description": "Runtime validation and processing of JavaScript types",
+ "author": "Mariusz Nowak (https://www.medikoo.com/)",
+ "keywords": [
+ "type",
+ "coercion"
+ ],
+ "repository": "medikoo/type",
+ "devDependencies": {
+ "chai": "^4.3.6",
+ "eslint": "^8.21.0",
+ "eslint-config-medikoo": "^4.1.2",
+ "git-list-updated": "^1.2.1",
+ "github-release-from-cc-changelog": "^2.3.0",
+ "husky": "^4.3.8",
+ "lint-staged": "^13.0.3",
+ "mocha": "^6.2.3",
+ "nyc": "^15.1.0",
+ "prettier-elastic": "^2.2.1"
+ },
+ "typesVersions": {
+ ">=4": {
+ "*": [
+ "ts-types/*"
+ ]
+ }
+ },
+ "husky": {
+ "hooks": {
+ "pre-commit": "lint-staged"
+ }
+ },
+ "lint-staged": {
+ "*.js": [
+ "eslint"
+ ],
+ "*.{css,html,js,json,md,yaml,yml}": [
+ "prettier -c"
+ ]
+ },
+ "eslintConfig": {
+ "extends": "medikoo/es3",
+ "root": true,
+ "globals": {
+ "BigInt": true,
+ "Map": true,
+ "Promise": true,
+ "Set": true,
+ "Symbol": true
+ },
+ "overrides": [
+ {
+ "files": "test/**/*.js",
+ "env": {
+ "mocha": true
+ },
+ "rules": {
+ "no-eval": "off",
+ "no-new-wrappers": "off"
+ }
+ },
+ {
+ "files": [
+ "string/coerce.js",
+ "number/coerce.js"
+ ],
+ "rules": {
+ "no-implicit-coercion": "off"
+ }
+ },
+ {
+ "files": "plain-object/is.js",
+ "rules": {
+ "no-proto": "off"
+ }
+ }
+ ]
+ },
+ "prettier": {
+ "printWidth": 100,
+ "tabWidth": 4,
+ "overrides": [
+ {
+ "files": [
+ "*.md",
+ "*.yml"
+ ],
+ "options": {
+ "tabWidth": 2
+ }
+ }
+ ]
+ },
+ "nyc": {
+ "all": true,
+ "exclude": [
+ ".github",
+ "coverage/**",
+ "test/**",
+ "*.config.js"
+ ],
+ "reporter": [
+ "lcov",
+ "html",
+ "text-summary"
+ ]
+ },
+ "scripts": {
+ "coverage": "nyc npm test",
+ "lint:updated": "pipe-git-updated --base=main --ext=js -- eslint --ignore-pattern '!*'",
+ "prettier-check": "prettier -c --ignore-path .gitignore \"**/*.{css,html,js,json,md,yaml,yml}\"",
+ "prettier-check:updated": "pipe-git-updated --base=main --ext=css --ext=html --ext=js --ext=json --ext=md --ext=yaml --ext=yml -- prettier -c",
+ "prettify": "prettier --write --ignore-path .gitignore \"**/*.{css,html,js,json,md,yaml,yml}\"",
+ "prettify:updated": "pipe-git-updated ---base=main -ext=css --ext=html --ext=js --ext=json --ext=md --ext=yaml --ext=yml -- prettier --write",
+ "test": "mocha --recursive"
+ },
+ "license": "ISC"
+}
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/plain-function/ensure.js b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/plain-function/ensure.js
new file mode 100644
index 0000000..d3a20e6
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/plain-function/ensure.js
@@ -0,0 +1,14 @@
+"use strict";
+
+var resolveException = require("../lib/resolve-exception")
+ , is = require("./is");
+
+module.exports = function (value/*, options*/) {
+ if (is(value)) return value;
+ var options = arguments[1];
+ var errorMessage =
+ options && options.name
+ ? "Expected a plain function for %n, received %v"
+ : "%v is not a plain function";
+ return resolveException(value, errorMessage, options);
+};
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/plain-function/is.js b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/plain-function/is.js
new file mode 100644
index 0000000..b55d4ff
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/plain-function/is.js
@@ -0,0 +1,11 @@
+"use strict";
+
+var isFunction = require("../function/is");
+
+var classRe = /^\s*class[\s{/}]/, functionToString = Function.prototype.toString;
+
+module.exports = function (value) {
+ if (!isFunction(value)) return false;
+ if (classRe.test(functionToString.call(value))) return false;
+ return true;
+};
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/plain-object/ensure.js b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/plain-object/ensure.js
new file mode 100644
index 0000000..519261e
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/plain-object/ensure.js
@@ -0,0 +1,67 @@
+"use strict";
+
+var resolveException = require("../lib/resolve-exception")
+ , resolveErrorMessage = require("../lib/resolve-error-message")
+ , ensurePlainFunction = require("../plain-function/ensure")
+ , ensureArray = require("../array/ensure")
+ , is = require("./is");
+
+var objHasOwnProperty = Object.prototype.hasOwnProperty, invalidItemsLimit = 3;
+
+module.exports = function (value/*, options*/) {
+ var options = arguments[1];
+ var mainErrorMessage =
+ options && options.name
+ ? "Expected a plain object for %n, received %v"
+ : "%v is not a plain object";
+ if (!is(value)) return resolveException(value, mainErrorMessage, options);
+ if (!options) return value;
+
+ var invalidKeys, key, errorMessage;
+ var allowedKeys = ensureArray(options.allowedKeys, { isOptional: true });
+ if (allowedKeys) {
+ for (key in value) {
+ if (!objHasOwnProperty.call(value, key)) continue;
+ if (allowedKeys.indexOf(key) > -1) continue;
+ if (!invalidKeys) invalidKeys = [];
+ if (invalidKeys.push(key) === invalidItemsLimit) break;
+ }
+ if (invalidKeys) {
+ errorMessage =
+ resolveErrorMessage(mainErrorMessage, value, options) +
+ ".\n Following keys are unexpected: " +
+ invalidKeys.join(", ");
+ throw new TypeError(errorMessage);
+ }
+ }
+
+ var ensurePropertyValue = ensurePlainFunction(options.ensurePropertyValue, {
+ isOptional: true
+ });
+ if (ensurePropertyValue) {
+ var coercedValue = {};
+ for (key in value) {
+ if (!objHasOwnProperty.call(value, key)) continue;
+ var coercedPropertyValue;
+ try {
+ coercedPropertyValue = ensurePropertyValue(value[key]);
+ } catch (error) {
+ if (!invalidKeys) invalidKeys = [];
+ if (invalidKeys.push(key) === invalidItemsLimit) break;
+ }
+ if (invalidKeys) continue;
+ coercedValue[key] = coercedPropertyValue;
+ }
+ if (invalidKeys) {
+ errorMessage =
+ resolveErrorMessage(mainErrorMessage, value, options) +
+ ".\n Values for following keys are invalid: " +
+ invalidKeys.join(", ");
+ throw new TypeError(errorMessage);
+ }
+
+ return coercedValue;
+ }
+
+ return value;
+};
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/plain-object/is.js b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/plain-object/is.js
new file mode 100644
index 0000000..50d6713
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/plain-object/is.js
@@ -0,0 +1,28 @@
+"use strict";
+
+var isObject = require("../object/is")
+ , isPrototype = require("../prototype/is");
+
+var getPrototypeOf;
+if (typeof Object.getPrototypeOf === "function") {
+ getPrototypeOf = Object.getPrototypeOf;
+} else if ({}.__proto__ === Object.prototype) {
+ getPrototypeOf = function (object) { return object.__proto__; };
+}
+
+module.exports = function (value) {
+ if (!isObject(value)) return false;
+ var prototype;
+ if (getPrototypeOf) {
+ prototype = getPrototypeOf(value);
+ } else {
+ try {
+ var valueConstructor = value.constructor;
+ if (valueConstructor) prototype = valueConstructor.prototype;
+ } catch (error) {
+ return false;
+ }
+ }
+ if (prototype && !hasOwnProperty.call(prototype, "propertyIsEnumerable")) return false;
+ return !isPrototype(value);
+};
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/promise/ensure.js b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/promise/ensure.js
new file mode 100644
index 0000000..7fbebb3
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/promise/ensure.js
@@ -0,0 +1,12 @@
+"use strict";
+
+var resolveException = require("../lib/resolve-exception")
+ , is = require("./is");
+
+module.exports = function (value/*, options*/) {
+ if (is(value)) return value;
+ var options = arguments[1];
+ var errorMessage =
+ options && options.name ? "Expected a promise for %n, received %v" : "%v is not a promise";
+ return resolveException(value, errorMessage, options);
+};
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/promise/is.js b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/promise/is.js
new file mode 100644
index 0000000..5353362
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/promise/is.js
@@ -0,0 +1,27 @@
+"use strict";
+
+var isPrototype = require("../prototype/is");
+
+// In theory we could rely on Symbol.toStringTag directly,
+// still early native implementation (e.g. in FF) predated symbols
+var objectToString = Object.prototype.toString
+ , objectTaggedString = objectToString.call(Promise.resolve());
+
+module.exports = function (value) {
+ if (!value) return false;
+
+ // Sanity check (reject objects which do not expose common Promise interface)
+ try {
+ if (typeof value.then !== "function") return false;
+ if (typeof value["catch"] !== "function") return false;
+ } catch (error) {
+ return false;
+ }
+
+ // Ensure its native Promise object (has [[PromiseState]] slot)
+ // Note: it's not 100% precise as string tag may be overriden
+ // and other objects could be hacked to expose it
+ if (objectToString.call(value) !== objectTaggedString) return false;
+
+ return !isPrototype(value);
+};
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/prototype/is.js b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/prototype/is.js
new file mode 100644
index 0000000..aaddb2a
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/prototype/is.js
@@ -0,0 +1,13 @@
+"use strict";
+
+var isObject = require("../object/is");
+
+module.exports = function (value) {
+ if (!isObject(value)) return false;
+ try {
+ if (!value.constructor) return false;
+ return value.constructor.prototype === value;
+ } catch (error) {
+ return false;
+ }
+};
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/reg-exp/ensure.js b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/reg-exp/ensure.js
new file mode 100644
index 0000000..50669f3
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/reg-exp/ensure.js
@@ -0,0 +1,14 @@
+"use strict";
+
+var resolveException = require("../lib/resolve-exception")
+ , is = require("./is");
+
+module.exports = function (value/*, options*/) {
+ if (is(value)) return value;
+ var options = arguments[1];
+ var errorMessage =
+ options && options.name
+ ? "Expected a regular expression for %n, received %v"
+ : "%v is not a regular expression";
+ return resolveException(value, errorMessage, options);
+};
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/reg-exp/is.js b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/reg-exp/is.js
new file mode 100644
index 0000000..f0c69d5
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/reg-exp/is.js
@@ -0,0 +1,37 @@
+"use strict";
+
+var isToStringTagSupported = require("../lib/is-to-string-tag-supported")
+ , isPrototype = require("../prototype/is");
+
+var regExpTest = RegExp.prototype.test
+ , objectToString = Object.prototype.toString
+ , objectTaggedString = objectToString.call(/a/);
+
+module.exports = function (value) {
+ if (!value) return false;
+
+ // Sanity check (reject objects which do not expose common RegExp interface)
+ if (!hasOwnProperty.call(value, "lastIndex")) return false;
+ try {
+ if (typeof value.lastIndex !== "number") return false;
+ if (typeof value.test !== "function") return false;
+ if (typeof value.exec !== "function") return false;
+ } catch (error) {
+ return false;
+ }
+
+ // Ensure its native RegExp object (has [[RegExpMatcher]] slot)
+ if (isToStringTagSupported && typeof value[Symbol.toStringTag] === "string") {
+ // Edge case (possibly a regExp with custom Symbol.toStringTag)
+ try {
+ var lastIndex = value.lastIndex;
+ regExpTest.call(value, "");
+ if (value.lastIndex !== lastIndex) value.lastIndex = lastIndex;
+ return true;
+ } catch (error) {
+ return false;
+ }
+ }
+ if (objectToString.call(value) !== objectTaggedString) return false;
+ return !isPrototype(value);
+};
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/safe-integer/coerce.js b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/safe-integer/coerce.js
new file mode 100644
index 0000000..b97e4aa
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/safe-integer/coerce.js
@@ -0,0 +1,13 @@
+"use strict";
+
+var coerceToInteger = require("../integer/coerce");
+
+var MAX_SAFE_INTEGER = 9007199254740991, MIN_SAFE_INTEGER = -9007199254740991;
+
+module.exports = function (value) {
+ value = coerceToInteger(value);
+ if (!value) return value;
+ if (value > MAX_SAFE_INTEGER) return null;
+ if (value < MIN_SAFE_INTEGER) return null;
+ return value;
+};
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/safe-integer/ensure.js b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/safe-integer/ensure.js
new file mode 100644
index 0000000..dbdc46d
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/safe-integer/ensure.js
@@ -0,0 +1,15 @@
+"use strict";
+
+var resolveException = require("../lib/resolve-exception")
+ , coerce = require("./coerce");
+
+module.exports = function (value/*, options*/) {
+ var coerced = coerce(value);
+ if (coerced !== null) return coerced;
+ var options = arguments[1];
+ var errorMessage =
+ options && options.name
+ ? "Expected a safe integer for %n, received %v"
+ : "%v is not a safe integer";
+ return resolveException(value, errorMessage, options);
+};
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/set/ensure.js b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/set/ensure.js
new file mode 100644
index 0000000..c5b6a41
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/set/ensure.js
@@ -0,0 +1,12 @@
+"use strict";
+
+var resolveException = require("../lib/resolve-exception")
+ , is = require("./is");
+
+module.exports = function (value /*, options*/) {
+ if (is(value)) return value;
+ var options = arguments[1];
+ var errorMessage =
+ options && options.name ? "Expected a set for %n, received %v" : "%v is not a set";
+ return resolveException(value, errorMessage, options);
+};
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/set/is.js b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/set/is.js
new file mode 100644
index 0000000..d0b137b
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/set/is.js
@@ -0,0 +1,27 @@
+"use strict";
+
+var isPrototype = require("../prototype/is");
+
+// In theory we could rely on Symbol.toStringTag directly,
+// still early native implementation (e.g. in FF) predated symbols
+var objectToString = Object.prototype.toString, objectTaggedString = objectToString.call(new Set());
+
+module.exports = function (value) {
+ if (!value) return false;
+
+ // Sanity check (reject objects which do not expose common Set interface)
+ try {
+ if (typeof value.add !== "function") return false;
+ if (typeof value.has !== "function") return false;
+ if (typeof value.clear !== "function") return false;
+ } catch (error) {
+ return false;
+ }
+
+ // Ensure its native Set object (has [[SetData]] slot)
+ // Note: it's not 100% precise as string tag may be overriden
+ // and other objects could be hacked to expose it
+ if (objectToString.call(value) !== objectTaggedString) return false;
+
+ return !isPrototype(value);
+};
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/string/coerce.js b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/string/coerce.js
new file mode 100644
index 0000000..43cd931
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/string/coerce.js
@@ -0,0 +1,23 @@
+"use strict";
+
+var isValue = require("../value/is")
+ , isObject = require("../object/is");
+
+var objectToString = Object.prototype.toString;
+
+module.exports = function (value) {
+ if (!isValue(value)) return null;
+ if (isObject(value)) {
+ // Reject Object.prototype.toString coercion
+ var valueToString = value.toString;
+ if (typeof valueToString !== "function") return null;
+ if (valueToString === objectToString) return null;
+ // Note: It can be object coming from other realm, still as there's no ES3 and CSP compliant
+ // way to resolve its realm's Object.prototype.toString it's left as not addressed edge case
+ }
+ try {
+ return "" + value; // Ensure implicit coercion
+ } catch (error) {
+ return null;
+ }
+};
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/string/ensure.js b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/string/ensure.js
new file mode 100644
index 0000000..e26b5f0
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/string/ensure.js
@@ -0,0 +1,13 @@
+"use strict";
+
+var resolveException = require("../lib/resolve-exception")
+ , coerce = require("./coerce");
+
+module.exports = function (value/*, options*/) {
+ var coerced = coerce(value);
+ if (coerced !== null) return coerced;
+ var options = arguments[1];
+ var errorMessage =
+ options && options.name ? "Expected a string for %n, received %v" : "%v is not a string";
+ return resolveException(value, errorMessage, options);
+};
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/thenable/ensure.js b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/thenable/ensure.js
new file mode 100644
index 0000000..8397c7c
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/thenable/ensure.js
@@ -0,0 +1,14 @@
+"use strict";
+
+var resolveException = require("../lib/resolve-exception")
+ , is = require("./is");
+
+module.exports = function (value/*, options*/) {
+ if (is(value)) return value;
+ var options = arguments[1];
+ var errorMessage =
+ options && options.name
+ ? "Expected a thenable for %n, received %v"
+ : "%v is not a thenable";
+ return resolveException(value, errorMessage, options);
+};
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/thenable/is.js b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/thenable/is.js
new file mode 100644
index 0000000..1f3d399
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/thenable/is.js
@@ -0,0 +1,9 @@
+"use strict";
+
+var isObject = require("../object/is");
+
+module.exports = function (value) {
+ if (!isObject(value)) return false;
+ try { return typeof value.then === "function"; }
+ catch (error) { return false; }
+};
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/time-value/coerce.js b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/time-value/coerce.js
new file mode 100644
index 0000000..7124864
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/time-value/coerce.js
@@ -0,0 +1,12 @@
+"use strict";
+
+var coerceToInteger = require("../integer/coerce");
+
+var abs = Math.abs;
+
+module.exports = function (value) {
+ value = coerceToInteger(value);
+ if (!value) return value;
+ if (abs(value) > 8.64e15) return null;
+ return value;
+};
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/time-value/ensure.js b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/time-value/ensure.js
new file mode 100644
index 0000000..ddf4f61
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/time-value/ensure.js
@@ -0,0 +1,15 @@
+"use strict";
+
+var resolveException = require("../lib/resolve-exception")
+ , coerce = require("./coerce");
+
+module.exports = function (value/*, options*/) {
+ var coerced = coerce(value);
+ if (coerced !== null) return coerced;
+ var options = arguments[1];
+ var errorMessage =
+ options && options.name
+ ? "Expected a time value for %n, received %v"
+ : "%v is not a time value";
+ return resolveException(value, errorMessage, options);
+};
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/ts-types/array-length/coerce.d.ts b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/ts-types/array-length/coerce.d.ts
new file mode 100644
index 0000000..e949e11
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/ts-types/array-length/coerce.d.ts
@@ -0,0 +1,2 @@
+declare function coerceToArrayLength(value: any): number | null;
+export default coerceToArrayLength;
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/ts-types/array-length/ensure.d.ts b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/ts-types/array-length/ensure.d.ts
new file mode 100644
index 0000000..25c9370
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/ts-types/array-length/ensure.d.ts
@@ -0,0 +1,7 @@
+import { EnsureBaseOptions, EnsureIsOptional, EnsureDefault } from '../ensure';
+
+declare function ensureArrayLength(value: any, options?: EnsureBaseOptions): number;
+declare function ensureArrayLength(value: any, options?: EnsureBaseOptions & EnsureIsOptional): number | null;
+declare function ensureArrayLength(value: any, options?: EnsureBaseOptions & EnsureIsOptional & EnsureDefault): number;
+
+export default ensureArrayLength;
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/ts-types/array-like/ensure.d.ts b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/ts-types/array-like/ensure.d.ts
new file mode 100644
index 0000000..549febe
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/ts-types/array-like/ensure.d.ts
@@ -0,0 +1,11 @@
+import { EnsureBaseOptions, EnsureIsOptional, EnsureDefault } from '../ensure';
+
+type LengthwiseObject = { length: number } & object;
+type ArrayLikeEnsureOptions = { allowString?: boolean };
+
+
+declare function ensureArrayLike(value: any, options?: ArrayLikeEnsureOptions & EnsureBaseOptions): T[] | string | LengthwiseObject;
+declare function ensureArrayLike(value: any, options?: ArrayLikeEnsureOptions & EnsureBaseOptions & EnsureIsOptional): T[] | string | LengthwiseObject | null;
+declare function ensureArrayLike(value: any, options?: ArrayLikeEnsureOptions & EnsureBaseOptions & EnsureIsOptional & EnsureDefault): T[] | string | LengthwiseObject;
+
+export default ensureArrayLike;
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/ts-types/array-like/is.d.ts b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/ts-types/array-like/is.d.ts
new file mode 100644
index 0000000..acdd657
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/ts-types/array-like/is.d.ts
@@ -0,0 +1,2 @@
+declare function isArrayLike(value: any, options?: {allowString?: boolean}): boolean;
+export default isArrayLike;
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/ts-types/array/ensure.d.ts b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/ts-types/array/ensure.d.ts
new file mode 100644
index 0000000..6c249b7
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/ts-types/array/ensure.d.ts
@@ -0,0 +1,10 @@
+import { EnsureFunction, EnsureBaseOptions, EnsureIsOptional, EnsureDefault } from '../ensure';
+
+type EnsureArrayOptions = { ensureItem?: EnsureFunction };
+
+
+declare function ensureArray(value: any, options?: EnsureArrayOptions & EnsureBaseOptions): T[];
+declare function ensureArray(value: any, options?: EnsureArrayOptions & EnsureBaseOptions & EnsureIsOptional): T[] | null;
+declare function ensureArray(value: any, options?: EnsureArrayOptions & EnsureBaseOptions & EnsureIsOptional & EnsureDefault): T[];
+
+export default ensureArray;
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/ts-types/array/is.d.ts b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/ts-types/array/is.d.ts
new file mode 100644
index 0000000..71af03e
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/ts-types/array/is.d.ts
@@ -0,0 +1,2 @@
+declare function isArray(value: any): boolean;
+export default isArray;
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/ts-types/big-int/coerce.d.ts b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/ts-types/big-int/coerce.d.ts
new file mode 100644
index 0000000..8c73fc6
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/ts-types/big-int/coerce.d.ts
@@ -0,0 +1,2 @@
+declare function coerceToBigInt(value: any): bigint | null;
+export default coerceToBigInt;
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/ts-types/big-int/ensure.d.ts b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/ts-types/big-int/ensure.d.ts
new file mode 100644
index 0000000..93073cb
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/ts-types/big-int/ensure.d.ts
@@ -0,0 +1,7 @@
+import { EnsureBaseOptions, EnsureIsOptional, EnsureDefault } from '../ensure';
+
+declare function ensureBigInt(value: any, options?: EnsureBaseOptions): bigint;
+declare function ensureBigInt(value: any, options?: EnsureBaseOptions & EnsureIsOptional): bigint | null;
+declare function ensureBigInt(value: any, options?: EnsureBaseOptions & EnsureIsOptional & EnsureDefault): bigint;
+
+export default ensureBigInt;
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/ts-types/constructor/ensure.d.ts b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/ts-types/constructor/ensure.d.ts
new file mode 100644
index 0000000..79dd28c
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/ts-types/constructor/ensure.d.ts
@@ -0,0 +1,7 @@
+import { EnsureFunction, EnsureBaseOptions, EnsureIsOptional, EnsureDefault } from '../ensure';
+
+declare function ensureConstructor(value: any, options?: EnsureBaseOptions): EnsureFunction | object;
+declare function ensureConstructor(value: any, options?: EnsureBaseOptions & EnsureIsOptional): EnsureFunction | object | null;
+declare function ensureConstructor(value: any, options?: EnsureBaseOptions & EnsureIsOptional & EnsureDefault): EnsureFunction | object;
+
+export default ensureConstructor;
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/ts-types/constructor/is.d.ts b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/ts-types/constructor/is.d.ts
new file mode 100644
index 0000000..768a635
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/ts-types/constructor/is.d.ts
@@ -0,0 +1,2 @@
+declare function isConstructor(value: any): boolean;
+export default isConstructor;
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/ts-types/date/ensure.d.ts b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/ts-types/date/ensure.d.ts
new file mode 100644
index 0000000..d96ad31
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/ts-types/date/ensure.d.ts
@@ -0,0 +1,7 @@
+import { EnsureBaseOptions, EnsureIsOptional, EnsureDefault } from '../ensure';
+
+declare function ensureDate(value: any, options?: EnsureBaseOptions): Date;
+declare function ensureDate(value: any, options?: EnsureBaseOptions & EnsureIsOptional): Date | null;
+declare function ensureDate(value: any, options?: EnsureBaseOptions & EnsureIsOptional & EnsureDefault): Date;
+
+export default ensureDate;
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/ts-types/date/is.d.ts b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/ts-types/date/is.d.ts
new file mode 100644
index 0000000..7907a8f
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/ts-types/date/is.d.ts
@@ -0,0 +1,2 @@
+declare function isDate(value: any): boolean;
+export default isDate;
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/ts-types/ensure.d.ts b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/ts-types/ensure.d.ts
new file mode 100644
index 0000000..62ba597
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/ts-types/ensure.d.ts
@@ -0,0 +1,24 @@
+export type EnsureFunction = (...args: any[]) => any;
+export interface EnsureBaseOptions {
+ name?: string;
+ errorMessage?: string;
+ errorCode?: number;
+ Error?: ErrorConstructor;
+}
+
+export interface EnsureIsOptional {
+ isOptional: boolean;
+}
+
+export interface EnsureDefault {
+ default: T;
+}
+
+type EnsureOptions = EnsureBaseOptions & { isOptional?: boolean } & { default?: any };
+
+type ValidationDatum = [argumentName: string, inputValue: any, ensureFunction: EnsureFunction, options?: object];
+type ValidationDatumList = ValidationDatum[];
+
+declare function ensure(...args: [...ValidationDatumList, EnsureOptions]): T;
+declare function ensure(...args: [...ValidationDatumList]): T;
+export default ensure;
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/ts-types/error/ensure.d.ts b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/ts-types/error/ensure.d.ts
new file mode 100644
index 0000000..b42f446
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/ts-types/error/ensure.d.ts
@@ -0,0 +1,7 @@
+import { EnsureBaseOptions, EnsureIsOptional, EnsureDefault } from '../ensure';
+
+declare function ensureError(value: any, options?: EnsureBaseOptions): Error;
+declare function ensureError(value: any, options?: EnsureBaseOptions & EnsureIsOptional): Error | null;
+declare function ensureError(value: any, options?: EnsureBaseOptions & EnsureIsOptional & EnsureDefault): Error;
+
+export default ensureError;
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/ts-types/error/is.d.ts b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/ts-types/error/is.d.ts
new file mode 100644
index 0000000..db64ea3
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/ts-types/error/is.d.ts
@@ -0,0 +1,2 @@
+declare function isError(value: any): boolean;
+export default isError;
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/ts-types/finite/coerce.d.ts b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/ts-types/finite/coerce.d.ts
new file mode 100644
index 0000000..f1edc2d
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/ts-types/finite/coerce.d.ts
@@ -0,0 +1,2 @@
+declare function coerceToFinite(value: any): number | null;
+export default coerceToFinite;
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/ts-types/finite/ensure.d.ts b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/ts-types/finite/ensure.d.ts
new file mode 100644
index 0000000..988c511
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/ts-types/finite/ensure.d.ts
@@ -0,0 +1,7 @@
+import { EnsureBaseOptions, EnsureIsOptional, EnsureDefault } from '../ensure';
+
+declare function ensureFinite(value: any, options?: EnsureBaseOptions): number;
+declare function ensureFinite(value: any, options?: EnsureBaseOptions & EnsureIsOptional): number | null;
+declare function ensureFinite(value: any, options?: EnsureBaseOptions & EnsureIsOptional & EnsureDefault): number;
+
+export default ensureFinite;
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/ts-types/function/ensure.d.ts b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/ts-types/function/ensure.d.ts
new file mode 100644
index 0000000..30839e5
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/ts-types/function/ensure.d.ts
@@ -0,0 +1,7 @@
+import { EnsureFunction, EnsureBaseOptions, EnsureIsOptional, EnsureDefault } from '../ensure';
+
+declare function ensureFunction(value: any, options?: EnsureBaseOptions): EnsureFunction;
+declare function ensureFunction(value: any, options?: EnsureBaseOptions & EnsureIsOptional): EnsureFunction | null;
+declare function ensureFunction(value: any, options?: EnsureBaseOptions & EnsureIsOptional & EnsureDefault): EnsureFunction;
+
+export default ensureFunction;
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/ts-types/function/is.d.ts b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/ts-types/function/is.d.ts
new file mode 100644
index 0000000..9d94f95
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/ts-types/function/is.d.ts
@@ -0,0 +1,2 @@
+declare function isFunction(value: any): boolean;
+export default isFunction;
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/ts-types/integer/coerce.d.ts b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/ts-types/integer/coerce.d.ts
new file mode 100644
index 0000000..3bbb00f
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/ts-types/integer/coerce.d.ts
@@ -0,0 +1,2 @@
+declare function coerceToInteger(value: any): number | null;
+export default coerceToInteger;
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/ts-types/integer/ensure.d.ts b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/ts-types/integer/ensure.d.ts
new file mode 100644
index 0000000..06f1c8a
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/ts-types/integer/ensure.d.ts
@@ -0,0 +1,7 @@
+import { EnsureBaseOptions, EnsureIsOptional, EnsureDefault } from '../ensure';
+
+declare function ensureInteger(value: any, options?: EnsureBaseOptions): number;
+declare function ensureInteger(value: any, options?: EnsureBaseOptions & EnsureIsOptional): number | null;
+declare function ensureInteger(value: any, options?: EnsureBaseOptions & EnsureIsOptional & EnsureDefault): number;
+
+export default ensureInteger;
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/ts-types/iterable/ensure.d.ts b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/ts-types/iterable/ensure.d.ts
new file mode 100644
index 0000000..973d3ea
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/ts-types/iterable/ensure.d.ts
@@ -0,0 +1,10 @@
+import { EnsureFunction, EnsureBaseOptions, EnsureIsOptional, EnsureDefault } from '../ensure';
+
+type IterableEnsureOptions = { ensureItem?: EnsureFunction, allowString?: boolean, denyEmpty?: boolean};
+
+
+declare function ensureIterable(value: any, options?: IterableEnsureOptions & EnsureBaseOptions): T[];
+declare function ensureIterable(value: any, options?: IterableEnsureOptions & EnsureBaseOptions & EnsureIsOptional): T[] | null;
+declare function ensureIterable(value: any, options?: IterableEnsureOptions & EnsureBaseOptions & EnsureIsOptional & EnsureDefault): T[];
+
+export default ensureIterable;
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/ts-types/iterable/is.d.ts b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/ts-types/iterable/is.d.ts
new file mode 100644
index 0000000..93686d2
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/ts-types/iterable/is.d.ts
@@ -0,0 +1,2 @@
+declare function isIterable(value: any, options?: { allowString?: boolean, denyEmpty?: boolean }): boolean;
+export default isIterable;
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/ts-types/map/ensure.d.ts b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/ts-types/map/ensure.d.ts
new file mode 100644
index 0000000..6a23851
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/ts-types/map/ensure.d.ts
@@ -0,0 +1,7 @@
+import { EnsureBaseOptions, EnsureIsOptional, EnsureDefault } from '../ensure';
+
+declare function ensureMap(value: any, options?: EnsureBaseOptions): Map;
+declare function ensureMap(value: any, options?: EnsureBaseOptions & EnsureIsOptional): Map | null;
+declare function ensureMap(value: any, options?: EnsureBaseOptions & EnsureIsOptional & EnsureDefault>): Map;
+
+export default ensureMap;
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/ts-types/map/is.d.ts b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/ts-types/map/is.d.ts
new file mode 100644
index 0000000..340ed1b
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/ts-types/map/is.d.ts
@@ -0,0 +1,2 @@
+declare function isMap(value: any): boolean;
+export default isMap;
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/ts-types/natural-number/coerce.d.ts b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/ts-types/natural-number/coerce.d.ts
new file mode 100644
index 0000000..633317c
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/ts-types/natural-number/coerce.d.ts
@@ -0,0 +1,2 @@
+declare function coerceToNaturalNumber(value: any): number | null;
+export default coerceToNaturalNumber;
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/ts-types/natural-number/ensure.d.ts b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/ts-types/natural-number/ensure.d.ts
new file mode 100644
index 0000000..2f6d6b5
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/ts-types/natural-number/ensure.d.ts
@@ -0,0 +1,7 @@
+import { EnsureBaseOptions, EnsureIsOptional, EnsureDefault } from '../ensure';
+
+declare function ensureNaturalNumber(value: any, options?: EnsureBaseOptions): number;
+declare function ensureNaturalNumber(value: any, options?: EnsureBaseOptions & EnsureIsOptional): number | null;
+declare function ensureNaturalNumber(value: any, options?: EnsureBaseOptions & EnsureIsOptional & EnsureDefault): number;
+
+export default ensureNaturalNumber;
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/ts-types/number/coerce.d.ts b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/ts-types/number/coerce.d.ts
new file mode 100644
index 0000000..cc9f355
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/ts-types/number/coerce.d.ts
@@ -0,0 +1,2 @@
+declare function coerceToNumber(value: any): number | null;
+export default coerceToNumber;
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/ts-types/number/ensure.d.ts b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/ts-types/number/ensure.d.ts
new file mode 100644
index 0000000..326b222
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/ts-types/number/ensure.d.ts
@@ -0,0 +1,7 @@
+import { EnsureBaseOptions, EnsureIsOptional, EnsureDefault } from '../ensure';
+
+declare function ensureNumber(value: any, options?: EnsureBaseOptions): number;
+declare function ensureNumber(value: any, options?: EnsureBaseOptions & EnsureIsOptional): number | null;
+declare function ensureNumber(value: any, options?: EnsureBaseOptions & EnsureIsOptional & EnsureDefault): number;
+
+export default ensureNumber;
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/ts-types/object/ensure.d.ts b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/ts-types/object/ensure.d.ts
new file mode 100644
index 0000000..f5ccce1
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/ts-types/object/ensure.d.ts
@@ -0,0 +1,7 @@
+import { EnsureBaseOptions, EnsureIsOptional, EnsureDefault } from '../ensure';
+
+declare function ensureObject(value: any, options?: EnsureBaseOptions): object;
+declare function ensureObject(value: any, options?: EnsureBaseOptions & EnsureIsOptional): object | null;
+declare function ensureObject(value: any, options?: EnsureBaseOptions & EnsureIsOptional & EnsureDefault): object;
+
+export default ensureObject;
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/ts-types/object/is.d.ts b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/ts-types/object/is.d.ts
new file mode 100644
index 0000000..47fdd9c
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/ts-types/object/is.d.ts
@@ -0,0 +1,2 @@
+declare function isObject(value: any): boolean;
+export default isObject;
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/ts-types/plain-function/ensure.d.ts b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/ts-types/plain-function/ensure.d.ts
new file mode 100644
index 0000000..8681e77
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/ts-types/plain-function/ensure.d.ts
@@ -0,0 +1,7 @@
+import { EnsureFunction, EnsureBaseOptions, EnsureIsOptional, EnsureDefault } from '../ensure';
+
+declare function ensurePlainFunction(value: any, options?: EnsureBaseOptions): EnsureFunction;
+declare function ensurePlainFunction(value: any, options?: EnsureBaseOptions & EnsureIsOptional): EnsureFunction | null;
+declare function ensurePlainFunction(value: any, options?: EnsureBaseOptions & EnsureIsOptional & EnsureDefault): EnsureFunction;
+
+export default ensurePlainFunction;
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/ts-types/plain-function/is.d.ts b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/ts-types/plain-function/is.d.ts
new file mode 100644
index 0000000..de32a5e
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/ts-types/plain-function/is.d.ts
@@ -0,0 +1,2 @@
+declare function isPlainFunction(value: any): boolean;
+export default isPlainFunction;
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/ts-types/plain-object/ensure.d.ts b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/ts-types/plain-object/ensure.d.ts
new file mode 100644
index 0000000..063d709
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/ts-types/plain-object/ensure.d.ts
@@ -0,0 +1,10 @@
+import { EnsureFunction, EnsureBaseOptions, EnsureIsOptional, EnsureDefault } from '../ensure';
+
+type PlainObjectEnsureOptions = {allowedKeys?: string[], ensurePropertyValue?: EnsureFunction};
+
+
+declare function ensurePlainObject(value: any, options?: PlainObjectEnsureOptions & EnsureBaseOptions): object;
+declare function ensurePlainObject(value: any, options?: PlainObjectEnsureOptions & EnsureBaseOptions & EnsureIsOptional): object | null;
+declare function ensurePlainObject(value: any, options?: PlainObjectEnsureOptions & EnsureBaseOptions & EnsureIsOptional & EnsureDefault): object;
+
+export default ensurePlainObject;
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/ts-types/plain-object/is.d.ts b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/ts-types/plain-object/is.d.ts
new file mode 100644
index 0000000..8626085
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/ts-types/plain-object/is.d.ts
@@ -0,0 +1,2 @@
+declare function isPlainObject(value: any): boolean;
+export default isPlainObject;
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/ts-types/promise/ensure.d.ts b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/ts-types/promise/ensure.d.ts
new file mode 100644
index 0000000..3ddf4ea
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/ts-types/promise/ensure.d.ts
@@ -0,0 +1,7 @@
+import { EnsureBaseOptions, EnsureIsOptional, EnsureDefault } from '../ensure';
+
+declare function ensurePromise(value: any, options?: EnsureBaseOptions): Promise;
+declare function ensurePromise(value: any, options?: EnsureBaseOptions & EnsureIsOptional): Promise | null;
+declare function ensurePromise(value: any, options?: EnsureBaseOptions & EnsureIsOptional & EnsureDefault>): Promise;
+
+export default ensurePromise;
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/ts-types/promise/is.d.ts b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/ts-types/promise/is.d.ts
new file mode 100644
index 0000000..9306fe5
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/ts-types/promise/is.d.ts
@@ -0,0 +1,2 @@
+declare function isPromise(value: any): boolean;
+export default isPromise;
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/ts-types/prototype/is.d.ts b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/ts-types/prototype/is.d.ts
new file mode 100644
index 0000000..7f2eb12
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/ts-types/prototype/is.d.ts
@@ -0,0 +1,2 @@
+declare function isPrototype(value: any): boolean;
+export default isPrototype;
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/ts-types/reg-exp/ensure.d.ts b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/ts-types/reg-exp/ensure.d.ts
new file mode 100644
index 0000000..95a2c9b
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/ts-types/reg-exp/ensure.d.ts
@@ -0,0 +1,7 @@
+import { EnsureBaseOptions, EnsureIsOptional, EnsureDefault } from '../ensure';
+
+declare function ensureRegExp(value: any, options?: EnsureBaseOptions): RegExp;
+declare function ensureRegExp(value: any, options?: EnsureBaseOptions & EnsureIsOptional): RegExp | null;
+declare function ensureRegExp(value: any, options?: EnsureBaseOptions & EnsureIsOptional & EnsureDefault): RegExp;
+
+export default ensureRegExp;
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/ts-types/reg-exp/is.d.ts b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/ts-types/reg-exp/is.d.ts
new file mode 100644
index 0000000..a325e34
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/ts-types/reg-exp/is.d.ts
@@ -0,0 +1,2 @@
+declare function isRegExp(value: any): boolean;
+export default isRegExp;
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/ts-types/safe-integer/coerce.d.ts b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/ts-types/safe-integer/coerce.d.ts
new file mode 100644
index 0000000..5e6539c
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/ts-types/safe-integer/coerce.d.ts
@@ -0,0 +1,2 @@
+declare function coerceToSafeInteger(value: any): number | null;
+export default coerceToSafeInteger;
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/ts-types/safe-integer/ensure.d.ts b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/ts-types/safe-integer/ensure.d.ts
new file mode 100644
index 0000000..5d4b953
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/ts-types/safe-integer/ensure.d.ts
@@ -0,0 +1,7 @@
+import { EnsureBaseOptions, EnsureIsOptional, EnsureDefault } from '../ensure';
+
+declare function ensureSafeInteger(value: any, options?: EnsureBaseOptions): number;
+declare function ensureSafeInteger(value: any, options?: EnsureBaseOptions & EnsureIsOptional): number | null;
+declare function ensureSafeInteger(value: any, options?: EnsureBaseOptions & EnsureIsOptional & EnsureDefault): number;
+
+export default ensureSafeInteger;
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/ts-types/set/ensure.d.ts b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/ts-types/set/ensure.d.ts
new file mode 100644
index 0000000..2b14259
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/ts-types/set/ensure.d.ts
@@ -0,0 +1,7 @@
+import { EnsureBaseOptions, EnsureIsOptional, EnsureDefault } from '../ensure';
+
+declare function ensureSet(value: any, options?: EnsureBaseOptions): Set;
+declare function ensureSet(value: any, options?: EnsureBaseOptions & EnsureIsOptional): Set | null;
+declare function ensureSet(value: any, options?: EnsureBaseOptions & EnsureIsOptional & EnsureDefault>): Set;
+
+export default ensureSet;
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/ts-types/set/is.d.ts b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/ts-types/set/is.d.ts
new file mode 100644
index 0000000..530aed3
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/ts-types/set/is.d.ts
@@ -0,0 +1,2 @@
+declare function isSet(value: any): boolean;
+export default isSet;
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/ts-types/string/coerce.d.ts b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/ts-types/string/coerce.d.ts
new file mode 100644
index 0000000..603519d
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/ts-types/string/coerce.d.ts
@@ -0,0 +1,2 @@
+declare function coerceToString(value: any): string | null;
+export default coerceToString;
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/ts-types/string/ensure.d.ts b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/ts-types/string/ensure.d.ts
new file mode 100644
index 0000000..d31965a
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/ts-types/string/ensure.d.ts
@@ -0,0 +1,7 @@
+import { EnsureBaseOptions, EnsureIsOptional, EnsureDefault } from '../ensure';
+
+declare function ensureString(value: any, options?: EnsureBaseOptions): string;
+declare function ensureString(value: any, options?: EnsureBaseOptions & EnsureIsOptional): string | null;
+declare function ensureString(value: any, options?: EnsureBaseOptions & EnsureIsOptional & EnsureDefault): string;
+
+export default ensureString;
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/ts-types/thenable/ensure.d.ts b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/ts-types/thenable/ensure.d.ts
new file mode 100644
index 0000000..741faad
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/ts-types/thenable/ensure.d.ts
@@ -0,0 +1,10 @@
+import { EnsureFunction, EnsureBaseOptions, EnsureIsOptional, EnsureDefault } from '../ensure';
+
+type ThenableObject = { then: EnsureFunction } & object;
+
+
+declare function ensureThenable(value: any, options?: EnsureBaseOptions): Promise | ThenableObject;
+declare function ensureThenable(value: any, options?: EnsureBaseOptions & EnsureIsOptional): Promise | ThenableObject | null;
+declare function ensureThenable(value: any, options?: EnsureBaseOptions & EnsureIsOptional & EnsureDefault | ThenableObject>): Promise | ThenableObject;
+
+export default ensureThenable;
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/ts-types/thenable/is.d.ts b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/ts-types/thenable/is.d.ts
new file mode 100644
index 0000000..c8f207f
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/ts-types/thenable/is.d.ts
@@ -0,0 +1,2 @@
+declare function isThenable(value: any): boolean;
+export default isThenable;
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/ts-types/time-value/coerce.d.ts b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/ts-types/time-value/coerce.d.ts
new file mode 100644
index 0000000..44849ba
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/ts-types/time-value/coerce.d.ts
@@ -0,0 +1,2 @@
+declare function coerceToTimeValue(value: any): number | null;
+export default coerceToTimeValue;
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/ts-types/time-value/ensure.d.ts b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/ts-types/time-value/ensure.d.ts
new file mode 100644
index 0000000..f8084b8
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/ts-types/time-value/ensure.d.ts
@@ -0,0 +1,5 @@
+import { EnsureBaseOptions, EnsureIsOptional, EnsureDefault } from '../ensure';
+
+declare function ensureTimeValue(value: any, options?: EnsureBaseOptions & EnsureIsOptional): number | null;
+declare function ensureTimeValue(value: any, options?: EnsureBaseOptions & EnsureIsOptional & EnsureDefault): number;
+export default ensureTimeValue;
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/ts-types/value/ensure.d.ts b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/ts-types/value/ensure.d.ts
new file mode 100644
index 0000000..928b29e
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/ts-types/value/ensure.d.ts
@@ -0,0 +1,4 @@
+import { EnsureOptions } from '../ensure';
+
+declare function ensureValue(value: any, options?: EnsureOptions): T;
+export default ensureValue;
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/ts-types/value/is.d.ts b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/ts-types/value/is.d.ts
new file mode 100644
index 0000000..31f306d
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/ts-types/value/is.d.ts
@@ -0,0 +1,2 @@
+declare function isValue(value: any): boolean;
+export default isValue;
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/value/ensure.js b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/value/ensure.js
new file mode 100644
index 0000000..3067a3e
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/value/ensure.js
@@ -0,0 +1,12 @@
+"use strict";
+
+var resolveException = require("../lib/resolve-exception")
+ , is = require("./is");
+
+module.exports = function (value/*, options*/) {
+ if (is(value)) return value;
+ var options = arguments[1];
+ var errorMessage =
+ options && options.name ? "Expected a value for %n, received %v" : "Cannot use %v";
+ return resolveException(value, errorMessage, options);
+};
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/value/is.js b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/value/is.js
new file mode 100644
index 0000000..648aa9c
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/node_modules/type/value/is.js
@@ -0,0 +1,6 @@
+"use strict";
+
+// ES3 safe
+var _undefined = void 0;
+
+module.exports = function (value) { return value !== _undefined && value !== null; };
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/object/clear.js b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/object/clear.js
new file mode 100644
index 0000000..be3be2b
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/object/clear.js
@@ -0,0 +1,15 @@
+"use strict";
+
+var ensureObject = require("type/object/ensure")
+ , ensure = require("type/ensure");
+
+var objPropertyIsEnumerable = Object.prototype.propertyIsEnumerable;
+
+module.exports = function (object) {
+ ensure(["object", object, ensureObject]);
+ for (var key in object) {
+ if (!objPropertyIsEnumerable.call(object, key)) continue;
+ delete object[key];
+ }
+ return object;
+};
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/object/entries/implement.js b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/object/entries/implement.js
new file mode 100644
index 0000000..383ceee
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/object/entries/implement.js
@@ -0,0 +1,10 @@
+"use strict";
+
+if (!require("./is-implemented")()) {
+ Object.defineProperty(Object, "entries", {
+ value: require("./implementation"),
+ configurable: true,
+ enumerable: false,
+ writable: true
+ });
+}
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/object/entries/implementation.js b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/object/entries/implementation.js
new file mode 100644
index 0000000..d6f121c
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/object/entries/implementation.js
@@ -0,0 +1,15 @@
+"use strict";
+
+var ensureValue = require("type/value/ensure");
+
+var objPropertyIsEnumerable = Object.prototype.propertyIsEnumerable;
+
+module.exports = function (object) {
+ object = Object(ensureValue(object));
+ var result = [];
+ for (var key in object) {
+ if (!objPropertyIsEnumerable.call(object, key)) continue;
+ result.push([key, object[key]]);
+ }
+ return result;
+};
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/object/entries/index.js b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/object/entries/index.js
new file mode 100644
index 0000000..0a784d6
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/object/entries/index.js
@@ -0,0 +1,3 @@
+"use strict";
+
+module.exports = require("./is-implemented")() ? Object.entries : require("./implementation");
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/object/entries/is-implemented.js b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/object/entries/is-implemented.js
new file mode 100644
index 0000000..aad52b2
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/object/entries/is-implemented.js
@@ -0,0 +1,6 @@
+"use strict";
+
+module.exports = function () {
+ try { return Object.entries({ foo: 12 })[0][0] === "foo"; }
+ catch (e) { return false; }
+};
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/package.json b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/package.json
new file mode 100644
index 0000000..4bf9e12
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/package.json
@@ -0,0 +1,152 @@
+{
+ "name": "ext",
+ "version": "1.7.0",
+ "description": "JavaScript utilities with respect to emerging standard",
+ "author": "Mariusz Nowak (http://www.medikoo.com/)",
+ "keywords": [
+ "ecmascript",
+ "es",
+ "es6",
+ "extensions",
+ "ext",
+ "addons",
+ "lodash",
+ "extras",
+ "harmony",
+ "javascript",
+ "polyfill",
+ "shim",
+ "util",
+ "utils",
+ "utilities"
+ ],
+ "repository": {
+ "type": "git",
+ "url": "https://github.com/medikoo/es5-ext#ext"
+ },
+ "dependencies": {
+ "type": "^2.7.2"
+ },
+ "devDependencies": {
+ "chai": "^4.3.6",
+ "eslint": "^8.23.0",
+ "eslint-config-medikoo": "^4.1.2",
+ "git-list-updated": "^1.2.1",
+ "github-release-from-cc-changelog": "^2.3.0",
+ "husky": "^4.3.8",
+ "lint-staged": "^13.0.3",
+ "mocha": "^6.2.3",
+ "nyc": "^15.1.0",
+ "prettier-elastic": "^2.2.1",
+ "sinon": "^8.1.1",
+ "timers-ext": "^0.1.7"
+ },
+ "husky": {
+ "hooks": {
+ "pre-commit": "lint-staged"
+ }
+ },
+ "lint-staged": {
+ "*.js": [
+ "eslint"
+ ],
+ "*.{css,html,js,json,md,yaml,yml}": [
+ "prettier -c"
+ ]
+ },
+ "eslintIgnore": [
+ "_es5-ext"
+ ],
+ "eslintConfig": {
+ "extends": "medikoo/es3",
+ "root": true,
+ "overrides": [
+ {
+ "files": "global-this/implementation.js",
+ "globals": {
+ "__global__": true,
+ "self": true,
+ "window": true
+ },
+ "rules": {
+ "no-extend-native": "off",
+ "strict": "off"
+ }
+ },
+ {
+ "files": [
+ "global-this/is-implemented.js",
+ "global-this/index.js"
+ ],
+ "globals": {
+ "globalThis": true
+ }
+ },
+ {
+ "files": "string_/camel-to-hyphen.js",
+ "rules": {
+ "id-length": "off"
+ }
+ },
+ {
+ "files": "test/**/*.js",
+ "env": {
+ "mocha": true
+ }
+ },
+ {
+ "files": [
+ "test/promise/limit.js",
+ "test/thenable_/finally.js"
+ ],
+ "globals": {
+ "Promise": true
+ }
+ }
+ ]
+ },
+ "prettier": {
+ "printWidth": 100,
+ "tabWidth": 4,
+ "overrides": [
+ {
+ "files": [
+ "*.md",
+ "*.yml"
+ ],
+ "options": {
+ "tabWidth": 2
+ }
+ }
+ ]
+ },
+ "mocha": {
+ "recursive": true
+ },
+ "nyc": {
+ "all": true,
+ "exclude": [
+ ".github",
+ "_es5-ext",
+ "coverage/**",
+ "test/**",
+ "*.config.js"
+ ],
+ "reporter": [
+ "lcov",
+ "html",
+ "text-summary"
+ ]
+ },
+ "scripts": {
+ "coverage": "nyc npm test",
+ "lint": "eslint .",
+ "lint:updated": "pipe-git-updated --ext=js -- eslint --ignore-pattern '!*'",
+ "prettier-check": "prettier -c --ignore-path .gitignore \"**/*.{css,html,js,json,md,yaml,yml}\"",
+ "prettier-check:updated": "pipe-git-updated --ext=css --ext=html --ext=js --ext=json --ext=md --ext=yaml --ext=yml -- prettier -c",
+ "prettify": "prettier --write --ignore-path .gitignore '**/*.{css,html,js,json,md,yaml,yml}'",
+ "prettify:updated": "pipe-git-updated ---base=main -ext=css --ext=html --ext=js --ext=json --ext=md --ext=yaml --ext=yml -- prettier --write",
+ "test": "mocha"
+ },
+ "license": "ISC"
+}
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/promise/limit.js b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/promise/limit.js
new file mode 100644
index 0000000..841afad
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/promise/limit.js
@@ -0,0 +1,62 @@
+"use strict";
+
+var ensureNaturalNumber = require("type/natural-number/ensure")
+ , ensurePlainFunction = require("type/plain-function/ensure")
+ , ensure = require("type/ensure")
+ , defineFunctionLength = require("../lib/private/define-function-length");
+
+module.exports = function (limit, callback) {
+ limit = ensure(
+ ["limit", limit, ensureNaturalNumber, { min: 1 }],
+ ["callback", callback, ensurePlainFunction]
+ )[0];
+
+ var Promise = this, ongoingCount = 0, pending = [];
+ var onSuccess, onFailure;
+
+ var release = function () {
+ --ongoingCount;
+ if (ongoingCount >= limit) return;
+ var next = pending.shift();
+ if (!next) return;
+ ++ongoingCount;
+ try {
+ next.resolve(
+ Promise.resolve(callback.apply(next.context, next.arguments)).then(
+ onSuccess, onFailure
+ )
+ );
+ } catch (exception) {
+ release();
+ next.reject(exception);
+ }
+ };
+
+ onSuccess = function (value) {
+ release();
+ return value;
+ };
+
+ onFailure = function (exception) {
+ release();
+ throw exception;
+ };
+
+ return defineFunctionLength(callback.length, function () {
+ if (ongoingCount >= limit) {
+ var context = this, args = arguments;
+ return new Promise(function (resolve, reject) {
+ pending.push({
+ context: context,
+ arguments: args,
+ resolve: resolve,
+ reject: reject
+ });
+ });
+ }
+ ++ongoingCount;
+ try {
+ return Promise.resolve(callback.apply(this, arguments)).then(onSuccess, onFailure);
+ } catch (exception) { return onFailure(exception); }
+ });
+};
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/string/random.js b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/string/random.js
new file mode 100644
index 0000000..c96ef92
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/string/random.js
@@ -0,0 +1,50 @@
+"use strict";
+
+var isObject = require("type/object/is")
+ , ensureNaturalNumber = require("type/natural-number/ensure")
+ , ensureString = require("type/string/ensure");
+
+var generated = Object.create(null), random = Math.random, uniqTryLimit = 100;
+
+var getChunk = function () { return random().toString(36).slice(2); };
+
+var getString = function (length, charset) {
+ var str;
+ if (charset) {
+ var charsetLength = charset.length;
+ str = "";
+ for (var i = 0; i < length; ++i) {
+ str += charset.charAt(Math.floor(Math.random() * charsetLength));
+ }
+ return str;
+ }
+ str = getChunk();
+ if (length === null) return str;
+ while (str.length < length) str += getChunk();
+ return str.slice(0, length);
+};
+
+module.exports = function (/* options */) {
+ var options = arguments[0];
+ if (!isObject(options)) options = {};
+ var length = ensureNaturalNumber(options.length, { "default": 10 })
+ , isUnique = options.isUnique
+ , charset = ensureString(options.charset, { isOptional: true });
+
+ var str = getString(length, charset);
+ if (isUnique) {
+ var count = 0;
+ while (generated[str]) {
+ if (++count === uniqTryLimit) {
+ throw new Error(
+ "Cannot generate random string.\n" +
+ "String.random is not designed to effectively generate many short and " +
+ "unique random strings"
+ );
+ }
+ str = getString(length);
+ }
+ generated[str] = true;
+ }
+ return str;
+};
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/string_/camel-to-hyphen.js b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/string_/camel-to-hyphen.js
new file mode 100644
index 0000000..feffae6
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/string_/camel-to-hyphen.js
@@ -0,0 +1,49 @@
+"use strict";
+
+var ensureString = require("type/string/ensure")
+ , objHasOwnProperty = Object.prototype.hasOwnProperty;
+
+var capitalLetters = {
+ A: true,
+ B: true,
+ C: true,
+ D: true,
+ E: true,
+ F: true,
+ G: true,
+ H: true,
+ I: true,
+ J: true,
+ K: true,
+ L: true,
+ M: true,
+ N: true,
+ O: true,
+ P: true,
+ Q: true,
+ R: true,
+ S: true,
+ T: true,
+ U: true,
+ V: true,
+ W: true,
+ X: true,
+ Y: true,
+ Z: true
+};
+
+module.exports = function () {
+ var input = ensureString(this);
+ if (!input) return input;
+ var outputLetters = [];
+ for (var index = 0, letter; (letter = input[index]); ++index) {
+ if (objHasOwnProperty.call(capitalLetters, letter)) {
+ if (index) outputLetters.push("-");
+ outputLetters.push(letter.toLowerCase());
+ } else {
+ outputLetters.push(letter);
+ }
+ }
+
+ return outputLetters.join("");
+};
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/string_/capitalize.js b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/string_/capitalize.js
new file mode 100644
index 0000000..bc76311
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/string_/capitalize.js
@@ -0,0 +1,9 @@
+"use strict";
+
+var ensureString = require("type/string/ensure");
+
+module.exports = function () {
+ var input = ensureString(this);
+ if (!input) return input;
+ return input.charAt(0).toUpperCase() + input.slice(1);
+};
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/string_/includes/implementation.js b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/string_/includes/implementation.js
new file mode 100644
index 0000000..a7219f2
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/string_/includes/implementation.js
@@ -0,0 +1,7 @@
+"use strict";
+
+var indexOf = String.prototype.indexOf;
+
+module.exports = function (searchString/*, position*/) {
+ return indexOf.call(this, searchString, arguments[1]) > -1;
+};
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/string_/includes/index.js b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/string_/includes/index.js
new file mode 100644
index 0000000..ee4e284
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/string_/includes/index.js
@@ -0,0 +1,5 @@
+"use strict";
+
+module.exports = require("./is-implemented")()
+ ? String.prototype.includes
+ : require("./implementation");
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/string_/includes/is-implemented.js b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/string_/includes/is-implemented.js
new file mode 100644
index 0000000..edc4515
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/string_/includes/is-implemented.js
@@ -0,0 +1,8 @@
+"use strict";
+
+var str = "razdwatrzy";
+
+module.exports = function () {
+ if (typeof str.includes !== "function") return false;
+ return str.includes("dwa") === true && str.includes("foo") === false;
+};
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/thenable_/finally.js b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/thenable_/finally.js
new file mode 100644
index 0000000..42274bf
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/ext/thenable_/finally.js
@@ -0,0 +1,24 @@
+"use strict";
+
+var ensurePlainFunction = require("type/plain-function/ensure")
+ , isThenable = require("type/thenable/is")
+ , ensureThenable = require("type/thenable/ensure");
+
+var resolveCallback = function (callback, next) {
+ var callbackResult = callback();
+ if (!isThenable(callbackResult)) return next();
+ return callbackResult.then(next);
+};
+
+module.exports = function (callback) {
+ ensureThenable(this);
+ ensurePlainFunction(callback);
+ return this.then(
+ function (result) {
+ return resolveCallback(callback, function () { return result; });
+ },
+ function (error) {
+ return resolveCallback(callback, function () { throw error; });
+ }
+ );
+};
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/extend-shallow/LICENSE b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/extend-shallow/LICENSE
new file mode 100644
index 0000000..99c9369
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/extend-shallow/LICENSE
@@ -0,0 +1,21 @@
+The MIT License (MIT)
+
+Copyright (c) 2014-2015, 2017, Jon Schlinkert.
+
+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.
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/extend-shallow/README.md b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/extend-shallow/README.md
new file mode 100644
index 0000000..dee226f
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/extend-shallow/README.md
@@ -0,0 +1,97 @@
+# extend-shallow [![NPM version](https://img.shields.io/npm/v/extend-shallow.svg?style=flat)](https://www.npmjs.com/package/extend-shallow) [![NPM monthly downloads](https://img.shields.io/npm/dm/extend-shallow.svg?style=flat)](https://npmjs.org/package/extend-shallow) [![NPM total downloads](https://img.shields.io/npm/dt/extend-shallow.svg?style=flat)](https://npmjs.org/package/extend-shallow) [![Linux Build Status](https://img.shields.io/travis/jonschlinkert/extend-shallow.svg?style=flat&label=Travis)](https://travis-ci.org/jonschlinkert/extend-shallow)
+
+> Extend an object with the properties of additional objects. node.js/javascript util.
+
+Please consider following this project's author, [Jon Schlinkert](https://github.com/jonschlinkert), and consider starring the project to show your :heart: and support.
+
+## Install
+
+Install with [npm](https://www.npmjs.com/):
+
+```sh
+$ npm install --save extend-shallow
+```
+
+## Usage
+
+```js
+var extend = require('extend-shallow');
+
+extend({a: 'b'}, {c: 'd'})
+//=> {a: 'b', c: 'd'}
+```
+
+Pass an empty object to shallow clone:
+
+```js
+var obj = {};
+extend(obj, {a: 'b'}, {c: 'd'})
+//=> {a: 'b', c: 'd'}
+```
+
+## About
+
+
+Contributing
+
+Pull requests and stars are always welcome. For bugs and feature requests, [please create an issue](../../issues/new).
+
+
+
+
+Running Tests
+
+Running and reviewing unit tests is a great way to get familiarized with a library and its API. You can install dependencies and run tests with the following command:
+
+```sh
+$ npm install && npm test
+```
+
+
+
+
+Building docs
+
+_(This project's readme.md is generated by [verb](https://github.com/verbose/verb-generate-readme), please don't edit the readme directly. Any changes to the readme must be made in the [.verb.md](.verb.md) readme template.)_
+
+To generate the readme, run the following command:
+
+```sh
+$ npm install -g verbose/verb#dev verb-generate-readme && verb
+```
+
+
+
+### Related projects
+
+You might also be interested in these projects:
+
+* [extend-shallow](https://www.npmjs.com/package/extend-shallow): Extend an object with the properties of additional objects. node.js/javascript util. | [homepage](https://github.com/jonschlinkert/extend-shallow "Extend an object with the properties of additional objects. node.js/javascript util.")
+* [for-in](https://www.npmjs.com/package/for-in): Iterate over the own and inherited enumerable properties of an object, and return an object… [more](https://github.com/jonschlinkert/for-in) | [homepage](https://github.com/jonschlinkert/for-in "Iterate over the own and inherited enumerable properties of an object, and return an object with properties that evaluate to true from the callback. Exit early by returning `false`. JavaScript/Node.js")
+* [for-own](https://www.npmjs.com/package/for-own): Iterate over the own enumerable properties of an object, and return an object with properties… [more](https://github.com/jonschlinkert/for-own) | [homepage](https://github.com/jonschlinkert/for-own "Iterate over the own enumerable properties of an object, and return an object with properties that evaluate to true from the callback. Exit early by returning `false`. JavaScript/Node.js.")
+* [is-plain-object](https://www.npmjs.com/package/is-plain-object): Returns true if an object was created by the `Object` constructor. | [homepage](https://github.com/jonschlinkert/is-plain-object "Returns true if an object was created by the `Object` constructor.")
+* [isobject](https://www.npmjs.com/package/isobject): Returns true if the value is an object and not an array or null. | [homepage](https://github.com/jonschlinkert/isobject "Returns true if the value is an object and not an array or null.")
+* [kind-of](https://www.npmjs.com/package/kind-of): Get the native type of a value. | [homepage](https://github.com/jonschlinkert/kind-of "Get the native type of a value.")
+
+### Contributors
+
+| **Commits** | **Contributor** |
+| --- | --- |
+| 33 | [jonschlinkert](https://github.com/jonschlinkert) |
+| 1 | [pdehaan](https://github.com/pdehaan) |
+
+### Author
+
+**Jon Schlinkert**
+
+* [github/jonschlinkert](https://github.com/jonschlinkert)
+* [twitter/jonschlinkert](https://twitter.com/jonschlinkert)
+
+### License
+
+Copyright © 2017, [Jon Schlinkert](https://github.com/jonschlinkert).
+Released under the [MIT License](LICENSE).
+
+***
+
+_This file was generated by [verb-generate-readme](https://github.com/verbose/verb-generate-readme), v0.6.0, on November 19, 2017._
\ No newline at end of file
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/extend-shallow/index.js b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/extend-shallow/index.js
new file mode 100644
index 0000000..c9582f8
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/extend-shallow/index.js
@@ -0,0 +1,60 @@
+'use strict';
+
+var isExtendable = require('is-extendable');
+var assignSymbols = require('assign-symbols');
+
+module.exports = Object.assign || function(obj/*, objects*/) {
+ if (obj === null || typeof obj === 'undefined') {
+ throw new TypeError('Cannot convert undefined or null to object');
+ }
+ if (!isObject(obj)) {
+ obj = {};
+ }
+ for (var i = 1; i < arguments.length; i++) {
+ var val = arguments[i];
+ if (isString(val)) {
+ val = toObject(val);
+ }
+ if (isObject(val)) {
+ assign(obj, val);
+ assignSymbols(obj, val);
+ }
+ }
+ return obj;
+};
+
+function assign(a, b) {
+ for (var key in b) {
+ if (hasOwn(b, key)) {
+ a[key] = b[key];
+ }
+ }
+}
+
+function isString(val) {
+ return (val && typeof val === 'string');
+}
+
+function toObject(str) {
+ var obj = {};
+ for (var i in str) {
+ obj[i] = str[i];
+ }
+ return obj;
+}
+
+function isObject(val) {
+ return (val && typeof val === 'object') || isExtendable(val);
+}
+
+/**
+ * Returns true if the given `key` is an own property of `obj`.
+ */
+
+function hasOwn(obj, key) {
+ return Object.prototype.hasOwnProperty.call(obj, key);
+}
+
+function isEnum(obj, key) {
+ return Object.prototype.propertyIsEnumerable.call(obj, key);
+}
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/extend-shallow/package.json b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/extend-shallow/package.json
new file mode 100644
index 0000000..e5e9105
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/extend-shallow/package.json
@@ -0,0 +1,83 @@
+{
+ "name": "extend-shallow",
+ "description": "Extend an object with the properties of additional objects. node.js/javascript util.",
+ "version": "3.0.2",
+ "homepage": "https://github.com/jonschlinkert/extend-shallow",
+ "author": "Jon Schlinkert (https://github.com/jonschlinkert)",
+ "contributors": [
+ "Jon Schlinkert (http://twitter.com/jonschlinkert)",
+ "Peter deHaan (http://about.me/peterdehaan)"
+ ],
+ "repository": "jonschlinkert/extend-shallow",
+ "bugs": {
+ "url": "https://github.com/jonschlinkert/extend-shallow/issues"
+ },
+ "license": "MIT",
+ "files": [
+ "index.js"
+ ],
+ "main": "index.js",
+ "engines": {
+ "node": ">=0.10.0"
+ },
+ "scripts": {
+ "test": "mocha"
+ },
+ "dependencies": {
+ "assign-symbols": "^1.0.0",
+ "is-extendable": "^1.0.1"
+ },
+ "devDependencies": {
+ "array-slice": "^1.0.0",
+ "benchmarked": "^2.0.0",
+ "for-own": "^1.0.0",
+ "gulp-format-md": "^1.0.0",
+ "is-plain-object": "^2.0.4",
+ "kind-of": "^6.0.1",
+ "minimist": "^1.2.0",
+ "mocha": "^3.5.3",
+ "object-assign": "^4.1.1"
+ },
+ "keywords": [
+ "assign",
+ "clone",
+ "extend",
+ "merge",
+ "obj",
+ "object",
+ "object-assign",
+ "object.assign",
+ "prop",
+ "properties",
+ "property",
+ "props",
+ "shallow",
+ "util",
+ "utility",
+ "utils",
+ "value"
+ ],
+ "verb": {
+ "toc": false,
+ "layout": "default",
+ "tasks": [
+ "readme"
+ ],
+ "related": {
+ "list": [
+ "extend-shallow",
+ "for-in",
+ "for-own",
+ "is-plain-object",
+ "isobject",
+ "kind-of"
+ ]
+ },
+ "plugins": [
+ "gulp-format-md"
+ ],
+ "lint": {
+ "reflinks": true
+ }
+ }
+}
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/extglob/LICENSE b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/extglob/LICENSE
new file mode 100644
index 0000000..e33d14b
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/extglob/LICENSE
@@ -0,0 +1,21 @@
+The MIT License (MIT)
+
+Copyright (c) 2015-2017, Jon Schlinkert.
+
+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.
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/extglob/README.md b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/extglob/README.md
new file mode 100644
index 0000000..3255ea2
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/extglob/README.md
@@ -0,0 +1,362 @@
+# extglob [![NPM version](https://img.shields.io/npm/v/extglob.svg?style=flat)](https://www.npmjs.com/package/extglob) [![NPM monthly downloads](https://img.shields.io/npm/dm/extglob.svg?style=flat)](https://npmjs.org/package/extglob) [![NPM total downloads](https://img.shields.io/npm/dt/extglob.svg?style=flat)](https://npmjs.org/package/extglob) [![Linux Build Status](https://img.shields.io/travis/micromatch/extglob.svg?style=flat&label=Travis)](https://travis-ci.org/micromatch/extglob) [![Windows Build Status](https://img.shields.io/appveyor/ci/micromatch/extglob.svg?style=flat&label=AppVeyor)](https://ci.appveyor.com/project/micromatch/extglob)
+
+> Extended glob support for JavaScript. Adds (almost) the expressive power of regular expressions to glob patterns.
+
+Please consider following this project's author, [Jon Schlinkert](https://github.com/jonschlinkert), and consider starring the project to show your :heart: and support.
+
+## Install
+
+Install with [npm](https://www.npmjs.com/):
+
+```sh
+$ npm install --save extglob
+```
+
+* Convert an extglob string to a regex-compatible string.
+* More complete (and correct) support than [minimatch](https://github.com/isaacs/minimatch) (minimatch fails a large percentage of the extglob tests)
+* Handles [negation patterns](#extglob-patterns)
+* Handles [nested patterns](#extglob-patterns)
+* Organized code base, easy to maintain and make changes when edge cases arise
+* As you can see by the [benchmarks](#benchmarks), extglob doesn't pay with speed for it's completeness, accuracy and quality.
+
+**Heads up!**: This library only supports extglobs, to handle full glob patterns and other extended globbing features use [micromatch](https://github.com/jonschlinkert/micromatch) instead.
+
+## Usage
+
+The main export is a function that takes a string and options, and returns an object with the parsed AST and the compiled `.output`, which is a regex-compatible string that can be used for matching.
+
+```js
+var extglob = require('extglob');
+console.log(extglob('!(xyz)*.js'));
+```
+
+## Extglob cheatsheet
+
+Extended globbing patterns can be defined as follows (as described by the [bash man page](https://www.gnu.org/software/bash/manual/html_node/Pattern-Matching.html)):
+
+| **pattern** | **regex equivalent** | **description** |
+| --- | --- | --- |
+| `?(pattern-list)` | `(...|...)?` | Matches zero or one occurrence of the given pattern(s) |
+| `*(pattern-list)` | `(...|...)*` | Matches zero or more occurrences of the given pattern(s) |
+| `+(pattern-list)` | `(...|...)+` | Matches one or more occurrences of the given pattern(s) |
+| `@(pattern-list)` | `(...|...)` | Matches one of the given pattern(s) |
+| `!(pattern-list)` | N/A | Matches anything except one of the given pattern(s) |
+
+## API
+
+### [extglob](index.js#L36)
+
+Convert the given `extglob` pattern into a regex-compatible string. Returns an object with the compiled result and the parsed AST.
+
+**Params**
+
+* `pattern` **{String}**
+* `options` **{Object}**
+* `returns` **{String}**
+
+**Example**
+
+```js
+var extglob = require('extglob');
+console.log(extglob('*.!(*a)'));
+//=> '(?!\\.)[^/]*?\\.(?!(?!\\.)[^/]*?a\\b).*?'
+```
+
+### [.match](index.js#L56)
+
+Takes an array of strings and an extglob pattern and returns a new array that contains only the strings that match the pattern.
+
+**Params**
+
+* `list` **{Array}**: Array of strings to match
+* `pattern` **{String}**: Extglob pattern
+* `options` **{Object}**
+* `returns` **{Array}**: Returns an array of matches
+
+**Example**
+
+```js
+var extglob = require('extglob');
+console.log(extglob.match(['a.a', 'a.b', 'a.c'], '*.!(*a)'));
+//=> ['a.b', 'a.c']
+```
+
+### [.isMatch](index.js#L111)
+
+Returns true if the specified `string` matches the given extglob `pattern`.
+
+**Params**
+
+* `string` **{String}**: String to match
+* `pattern` **{String}**: Extglob pattern
+* `options` **{String}**
+* `returns` **{Boolean}**
+
+**Example**
+
+```js
+var extglob = require('extglob');
+
+console.log(extglob.isMatch('a.a', '*.!(*a)'));
+//=> false
+console.log(extglob.isMatch('a.b', '*.!(*a)'));
+//=> true
+```
+
+### [.contains](index.js#L150)
+
+Returns true if the given `string` contains the given pattern. Similar to `.isMatch` but the pattern can match any part of the string.
+
+**Params**
+
+* `str` **{String}**: The string to match.
+* `pattern` **{String}**: Glob pattern to use for matching.
+* `options` **{Object}**
+* `returns` **{Boolean}**: Returns true if the patter matches any part of `str`.
+
+**Example**
+
+```js
+var extglob = require('extglob');
+console.log(extglob.contains('aa/bb/cc', '*b'));
+//=> true
+console.log(extglob.contains('aa/bb/cc', '*d'));
+//=> false
+```
+
+### [.matcher](index.js#L184)
+
+Takes an extglob pattern and returns a matcher function. The returned function takes the string to match as its only argument.
+
+**Params**
+
+* `pattern` **{String}**: Extglob pattern
+* `options` **{String}**
+* `returns` **{Boolean}**
+
+**Example**
+
+```js
+var extglob = require('extglob');
+var isMatch = extglob.matcher('*.!(*a)');
+
+console.log(isMatch('a.a'));
+//=> false
+console.log(isMatch('a.b'));
+//=> true
+```
+
+### [.create](index.js#L214)
+
+Convert the given `extglob` pattern into a regex-compatible string. Returns an object with the compiled result and the parsed AST.
+
+**Params**
+
+* `str` **{String}**
+* `options` **{Object}**
+* `returns` **{String}**
+
+**Example**
+
+```js
+var extglob = require('extglob');
+console.log(extglob.create('*.!(*a)').output);
+//=> '(?!\\.)[^/]*?\\.(?!(?!\\.)[^/]*?a\\b).*?'
+```
+
+### [.capture](index.js#L248)
+
+Returns an array of matches captured by `pattern` in `string`, or `null` if the pattern did not match.
+
+**Params**
+
+* `pattern` **{String}**: Glob pattern to use for matching.
+* `string` **{String}**: String to match
+* `options` **{Object}**: See available [options](#options) for changing how matches are performed
+* `returns` **{Boolean}**: Returns an array of captures if the string matches the glob pattern, otherwise `null`.
+
+**Example**
+
+```js
+var extglob = require('extglob');
+extglob.capture(pattern, string[, options]);
+
+console.log(extglob.capture('test/*.js', 'test/foo.js'));
+//=> ['foo']
+console.log(extglob.capture('test/*.js', 'foo/bar.css'));
+//=> null
+```
+
+### [.makeRe](index.js#L281)
+
+Create a regular expression from the given `pattern` and `options`.
+
+**Params**
+
+* `pattern` **{String}**: The pattern to convert to regex.
+* `options` **{Object}**
+* `returns` **{RegExp}**
+
+**Example**
+
+```js
+var extglob = require('extglob');
+var re = extglob.makeRe('*.!(*a)');
+console.log(re);
+//=> /^[^\/]*?\.(?![^\/]*?a)[^\/]*?$/
+```
+
+## Options
+
+Available options are based on the options from Bash (and the option names used in bash).
+
+### options.nullglob
+
+**Type**: `boolean`
+
+**Default**: `undefined`
+
+When enabled, the pattern itself will be returned when no matches are found.
+
+### options.nonull
+
+Alias for [options.nullglob](#optionsnullglob), included for parity with minimatch.
+
+### options.cache
+
+**Type**: `boolean`
+
+**Default**: `undefined`
+
+Functions are memoized based on the given glob patterns and options. Disable memoization by setting `options.cache` to false.
+
+### options.failglob
+
+**Type**: `boolean`
+
+**Default**: `undefined`
+
+Throw an error is no matches are found.
+
+## Benchmarks
+
+Last run on December 21, 2017
+
+```sh
+# negation-nested (49 bytes)
+ extglob x 2,228,255 ops/sec ±0.98% (89 runs sampled)
+ minimatch x 207,875 ops/sec ±0.61% (91 runs sampled)
+
+ fastest is extglob (by 1072% avg)
+
+# negation-simple (43 bytes)
+ extglob x 2,205,668 ops/sec ±1.00% (91 runs sampled)
+ minimatch x 311,923 ops/sec ±1.25% (91 runs sampled)
+
+ fastest is extglob (by 707% avg)
+
+# range-false (57 bytes)
+ extglob x 2,263,877 ops/sec ±0.40% (94 runs sampled)
+ minimatch x 271,372 ops/sec ±1.02% (91 runs sampled)
+
+ fastest is extglob (by 834% avg)
+
+# range-true (56 bytes)
+ extglob x 2,161,891 ops/sec ±0.41% (92 runs sampled)
+ minimatch x 268,265 ops/sec ±1.17% (91 runs sampled)
+
+ fastest is extglob (by 806% avg)
+
+# star-simple (46 bytes)
+ extglob x 2,211,081 ops/sec ±0.49% (92 runs sampled)
+ minimatch x 343,319 ops/sec ±0.59% (91 runs sampled)
+
+ fastest is extglob (by 644% avg)
+
+```
+
+## Differences from Bash
+
+This library has complete parity with Bash 4.3 with only a couple of minor differences.
+
+* In some cases Bash returns true if the given string "contains" the pattern, whereas this library returns true if the string is an exact match for the pattern. You can relax this by setting `options.contains` to true.
+* This library is more accurate than Bash and thus does not fail some of the tests that Bash 4.3 still lists as failing in their unit tests
+
+## About
+
+
+Contributing
+
+Pull requests and stars are always welcome. For bugs and feature requests, [please create an issue](../../issues/new).
+
+
+
+
+Running Tests
+
+Running and reviewing unit tests is a great way to get familiarized with a library and its API. You can install dependencies and run tests with the following command:
+
+```sh
+$ npm install && npm test
+```
+
+
+
+Building docs
+
+_(This project's readme.md is generated by [verb](https://github.com/verbose/verb-generate-readme), please don't edit the readme directly. Any changes to the readme must be made in the [.verb.md](.verb.md) readme template.)_
+
+To generate the readme, run the following command:
+
+```sh
+$ npm install -g verbose/verb#dev verb-generate-readme && verb
+```
+
+
+
+### Related projects
+
+You might also be interested in these projects:
+
+* [braces](https://www.npmjs.com/package/braces): Bash-like brace expansion, implemented in JavaScript. Safer than other brace expansion libs, with complete support… [more](https://github.com/micromatch/braces) | [homepage](https://github.com/micromatch/braces "Bash-like brace expansion, implemented in JavaScript. Safer than other brace expansion libs, with complete support for the Bash 4.3 braces specification, without sacrificing speed.")
+* [expand-brackets](https://www.npmjs.com/package/expand-brackets): Expand POSIX bracket expressions (character classes) in glob patterns. | [homepage](https://github.com/jonschlinkert/expand-brackets "Expand POSIX bracket expressions (character classes) in glob patterns.")
+* [expand-range](https://www.npmjs.com/package/expand-range): Fast, bash-like range expansion. Expand a range of numbers or letters, uppercase or lowercase. Used… [more](https://github.com/jonschlinkert/expand-range) | [homepage](https://github.com/jonschlinkert/expand-range "Fast, bash-like range expansion. Expand a range of numbers or letters, uppercase or lowercase. Used by [micromatch].")
+* [fill-range](https://www.npmjs.com/package/fill-range): Fill in a range of numbers or letters, optionally passing an increment or `step` to… [more](https://github.com/jonschlinkert/fill-range) | [homepage](https://github.com/jonschlinkert/fill-range "Fill in a range of numbers or letters, optionally passing an increment or `step` to use, or create a regex-compatible range with `options.toRegex`")
+* [micromatch](https://www.npmjs.com/package/micromatch): Glob matching for javascript/node.js. A drop-in replacement and faster alternative to minimatch and multimatch. | [homepage](https://github.com/micromatch/micromatch "Glob matching for javascript/node.js. A drop-in replacement and faster alternative to minimatch and multimatch.")
+
+### Contributors
+
+| **Commits** | **Contributor** |
+| --- | --- |
+| 49 | [jonschlinkert](https://github.com/jonschlinkert) |
+| 2 | [isiahmeadows](https://github.com/isiahmeadows) |
+| 1 | [doowb](https://github.com/doowb) |
+| 1 | [devongovett](https://github.com/devongovett) |
+| 1 | [mjbvz](https://github.com/mjbvz) |
+| 1 | [shinnn](https://github.com/shinnn) |
+
+### Author
+
+**Jon Schlinkert**
+
+* [linkedin/in/jonschlinkert](https://linkedin.com/in/jonschlinkert)
+* [github/jonschlinkert](https://github.com/jonschlinkert)
+* [twitter/jonschlinkert](https://twitter.com/jonschlinkert)
+
+### License
+
+Copyright © 2017, [Jon Schlinkert](https://github.com/jonschlinkert).
+Released under the [MIT License](LICENSE).
+
+***
+
+_This file was generated by [verb-generate-readme](https://github.com/verbose/verb-generate-readme), v0.6.0, on December 21, 2017._
+
+
+
\ No newline at end of file
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/extglob/changelog.md b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/extglob/changelog.md
new file mode 100644
index 0000000..c9fc4fc
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/extglob/changelog.md
@@ -0,0 +1,25 @@
+## Changelog
+
+### v2.0.0
+
+**Added features**
+
+- Adds [.capture](readme.md#capture) method for capturing matches, thanks to [devongovett](https://github.com/devongovett)
+
+
+### v1.0.0
+
+**Breaking changes**
+
+- The main export now returns the compiled string, instead of the object returned from the compiler
+
+**Added features**
+
+- Adds a `.create` method to do what the main function did before v1.0.0
+
+**Other changes**
+
+- adds `expand-brackets` parsers/compilers to handle nested brackets and extglobs
+- uses `to-regex` to build regex for `makeRe` method
+- improves coverage
+- optimizations
\ No newline at end of file
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/extglob/index.js b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/extglob/index.js
new file mode 100644
index 0000000..116e6d5
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/extglob/index.js
@@ -0,0 +1,331 @@
+'use strict';
+
+/**
+ * Module dependencies
+ */
+
+var extend = require('extend-shallow');
+var unique = require('array-unique');
+var toRegex = require('to-regex');
+
+/**
+ * Local dependencies
+ */
+
+var compilers = require('./lib/compilers');
+var parsers = require('./lib/parsers');
+var Extglob = require('./lib/extglob');
+var utils = require('./lib/utils');
+var MAX_LENGTH = 1024 * 64;
+
+/**
+ * Convert the given `extglob` pattern into a regex-compatible string. Returns
+ * an object with the compiled result and the parsed AST.
+ *
+ * ```js
+ * var extglob = require('extglob');
+ * console.log(extglob('*.!(*a)'));
+ * //=> '(?!\\.)[^/]*?\\.(?!(?!\\.)[^/]*?a\\b).*?'
+ * ```
+ * @param {String} `pattern`
+ * @param {Object} `options`
+ * @return {String}
+ * @api public
+ */
+
+function extglob(pattern, options) {
+ return extglob.create(pattern, options).output;
+}
+
+/**
+ * Takes an array of strings and an extglob pattern and returns a new
+ * array that contains only the strings that match the pattern.
+ *
+ * ```js
+ * var extglob = require('extglob');
+ * console.log(extglob.match(['a.a', 'a.b', 'a.c'], '*.!(*a)'));
+ * //=> ['a.b', 'a.c']
+ * ```
+ * @param {Array} `list` Array of strings to match
+ * @param {String} `pattern` Extglob pattern
+ * @param {Object} `options`
+ * @return {Array} Returns an array of matches
+ * @api public
+ */
+
+extglob.match = function(list, pattern, options) {
+ if (typeof pattern !== 'string') {
+ throw new TypeError('expected pattern to be a string');
+ }
+
+ list = utils.arrayify(list);
+ var isMatch = extglob.matcher(pattern, options);
+ var len = list.length;
+ var idx = -1;
+ var matches = [];
+
+ while (++idx < len) {
+ var ele = list[idx];
+
+ if (isMatch(ele)) {
+ matches.push(ele);
+ }
+ }
+
+ // if no options were passed, uniquify results and return
+ if (typeof options === 'undefined') {
+ return unique(matches);
+ }
+
+ if (matches.length === 0) {
+ if (options.failglob === true) {
+ throw new Error('no matches found for "' + pattern + '"');
+ }
+ if (options.nonull === true || options.nullglob === true) {
+ return [pattern.split('\\').join('')];
+ }
+ }
+
+ return options.nodupes !== false ? unique(matches) : matches;
+};
+
+/**
+ * Returns true if the specified `string` matches the given
+ * extglob `pattern`.
+ *
+ * ```js
+ * var extglob = require('extglob');
+ *
+ * console.log(extglob.isMatch('a.a', '*.!(*a)'));
+ * //=> false
+ * console.log(extglob.isMatch('a.b', '*.!(*a)'));
+ * //=> true
+ * ```
+ * @param {String} `string` String to match
+ * @param {String} `pattern` Extglob pattern
+ * @param {String} `options`
+ * @return {Boolean}
+ * @api public
+ */
+
+extglob.isMatch = function(str, pattern, options) {
+ if (typeof pattern !== 'string') {
+ throw new TypeError('expected pattern to be a string');
+ }
+
+ if (typeof str !== 'string') {
+ throw new TypeError('expected a string');
+ }
+
+ if (pattern === str) {
+ return true;
+ }
+
+ if (pattern === '' || pattern === ' ' || pattern === '.') {
+ return pattern === str;
+ }
+
+ var isMatch = utils.memoize('isMatch', pattern, options, extglob.matcher);
+ return isMatch(str);
+};
+
+/**
+ * Returns true if the given `string` contains the given pattern. Similar to `.isMatch` but
+ * the pattern can match any part of the string.
+ *
+ * ```js
+ * var extglob = require('extglob');
+ * console.log(extglob.contains('aa/bb/cc', '*b'));
+ * //=> true
+ * console.log(extglob.contains('aa/bb/cc', '*d'));
+ * //=> false
+ * ```
+ * @param {String} `str` The string to match.
+ * @param {String} `pattern` Glob pattern to use for matching.
+ * @param {Object} `options`
+ * @return {Boolean} Returns true if the patter matches any part of `str`.
+ * @api public
+ */
+
+extglob.contains = function(str, pattern, options) {
+ if (typeof str !== 'string') {
+ throw new TypeError('expected a string');
+ }
+
+ if (pattern === '' || pattern === ' ' || pattern === '.') {
+ return pattern === str;
+ }
+
+ var opts = extend({}, options, {contains: true});
+ opts.strictClose = false;
+ opts.strictOpen = false;
+ return extglob.isMatch(str, pattern, opts);
+};
+
+/**
+ * Takes an extglob pattern and returns a matcher function. The returned
+ * function takes the string to match as its only argument.
+ *
+ * ```js
+ * var extglob = require('extglob');
+ * var isMatch = extglob.matcher('*.!(*a)');
+ *
+ * console.log(isMatch('a.a'));
+ * //=> false
+ * console.log(isMatch('a.b'));
+ * //=> true
+ * ```
+ * @param {String} `pattern` Extglob pattern
+ * @param {String} `options`
+ * @return {Boolean}
+ * @api public
+ */
+
+extglob.matcher = function(pattern, options) {
+ if (typeof pattern !== 'string') {
+ throw new TypeError('expected pattern to be a string');
+ }
+
+ function matcher() {
+ var re = extglob.makeRe(pattern, options);
+ return function(str) {
+ return re.test(str);
+ };
+ }
+
+ return utils.memoize('matcher', pattern, options, matcher);
+};
+
+/**
+ * Convert the given `extglob` pattern into a regex-compatible string. Returns
+ * an object with the compiled result and the parsed AST.
+ *
+ * ```js
+ * var extglob = require('extglob');
+ * console.log(extglob.create('*.!(*a)').output);
+ * //=> '(?!\\.)[^/]*?\\.(?!(?!\\.)[^/]*?a\\b).*?'
+ * ```
+ * @param {String} `str`
+ * @param {Object} `options`
+ * @return {String}
+ * @api public
+ */
+
+extglob.create = function(pattern, options) {
+ if (typeof pattern !== 'string') {
+ throw new TypeError('expected pattern to be a string');
+ }
+
+ function create() {
+ var ext = new Extglob(options);
+ var ast = ext.parse(pattern, options);
+ return ext.compile(ast, options);
+ }
+
+ return utils.memoize('create', pattern, options, create);
+};
+
+/**
+ * Returns an array of matches captured by `pattern` in `string`, or `null`
+ * if the pattern did not match.
+ *
+ * ```js
+ * var extglob = require('extglob');
+ * extglob.capture(pattern, string[, options]);
+ *
+ * console.log(extglob.capture('test/*.js', 'test/foo.js'));
+ * //=> ['foo']
+ * console.log(extglob.capture('test/*.js', 'foo/bar.css'));
+ * //=> null
+ * ```
+ * @param {String} `pattern` Glob pattern to use for matching.
+ * @param {String} `string` String to match
+ * @param {Object} `options` See available [options](#options) for changing how matches are performed
+ * @return {Boolean} Returns an array of captures if the string matches the glob pattern, otherwise `null`.
+ * @api public
+ */
+
+extglob.capture = function(pattern, str, options) {
+ var re = extglob.makeRe(pattern, extend({capture: true}, options));
+
+ function match() {
+ return function(string) {
+ var match = re.exec(string);
+ if (!match) {
+ return null;
+ }
+
+ return match.slice(1);
+ };
+ }
+
+ var capture = utils.memoize('capture', pattern, options, match);
+ return capture(str);
+};
+
+/**
+ * Create a regular expression from the given `pattern` and `options`.
+ *
+ * ```js
+ * var extglob = require('extglob');
+ * var re = extglob.makeRe('*.!(*a)');
+ * console.log(re);
+ * //=> /^[^\/]*?\.(?![^\/]*?a)[^\/]*?$/
+ * ```
+ * @param {String} `pattern` The pattern to convert to regex.
+ * @param {Object} `options`
+ * @return {RegExp}
+ * @api public
+ */
+
+extglob.makeRe = function(pattern, options) {
+ if (pattern instanceof RegExp) {
+ return pattern;
+ }
+
+ if (typeof pattern !== 'string') {
+ throw new TypeError('expected pattern to be a string');
+ }
+
+ if (pattern.length > MAX_LENGTH) {
+ throw new Error('expected pattern to be less than ' + MAX_LENGTH + ' characters');
+ }
+
+ function makeRe() {
+ var opts = extend({strictErrors: false}, options);
+ if (opts.strictErrors === true) opts.strict = true;
+ var res = extglob.create(pattern, opts);
+ return toRegex(res.output, opts);
+ }
+
+ var regex = utils.memoize('makeRe', pattern, options, makeRe);
+ if (regex.source.length > MAX_LENGTH) {
+ throw new SyntaxError('potentially malicious regex detected');
+ }
+
+ return regex;
+};
+
+/**
+ * Cache
+ */
+
+extglob.cache = utils.cache;
+extglob.clearCache = function() {
+ extglob.cache.__data__ = {};
+};
+
+/**
+ * Expose `Extglob` constructor, parsers and compilers
+ */
+
+extglob.Extglob = Extglob;
+extglob.compilers = compilers;
+extglob.parsers = parsers;
+
+/**
+ * Expose `extglob`
+ * @type {Function}
+ */
+
+module.exports = extglob;
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/extglob/lib/.DS_Store b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/extglob/lib/.DS_Store
new file mode 100644
index 0000000..5008ddf
Binary files /dev/null and b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/extglob/lib/.DS_Store differ
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/extglob/lib/compilers.js b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/extglob/lib/compilers.js
new file mode 100644
index 0000000..d7bed25
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/extglob/lib/compilers.js
@@ -0,0 +1,169 @@
+'use strict';
+
+var brackets = require('expand-brackets');
+
+/**
+ * Extglob compilers
+ */
+
+module.exports = function(extglob) {
+ function star() {
+ if (typeof extglob.options.star === 'function') {
+ return extglob.options.star.apply(this, arguments);
+ }
+ if (typeof extglob.options.star === 'string') {
+ return extglob.options.star;
+ }
+ return '.*?';
+ }
+
+ /**
+ * Use `expand-brackets` compilers
+ */
+
+ extglob.use(brackets.compilers);
+ extglob.compiler
+
+ /**
+ * Escaped: "\\*"
+ */
+
+ .set('escape', function(node) {
+ return this.emit(node.val, node);
+ })
+
+ /**
+ * Dot: "."
+ */
+
+ .set('dot', function(node) {
+ return this.emit('\\' + node.val, node);
+ })
+
+ /**
+ * Question mark: "?"
+ */
+
+ .set('qmark', function(node) {
+ var val = '[^\\\\/.]';
+ var prev = this.prev();
+
+ if (node.parsed.slice(-1) === '(') {
+ var ch = node.rest.charAt(0);
+ if (ch !== '!' && ch !== '=' && ch !== ':') {
+ return this.emit(val, node);
+ }
+ return this.emit(node.val, node);
+ }
+
+ if (prev.type === 'text' && prev.val) {
+ return this.emit(val, node);
+ }
+
+ if (node.val.length > 1) {
+ val += '{' + node.val.length + '}';
+ }
+ return this.emit(val, node);
+ })
+
+ /**
+ * Plus: "+"
+ */
+
+ .set('plus', function(node) {
+ var prev = node.parsed.slice(-1);
+ if (prev === ']' || prev === ')') {
+ return this.emit(node.val, node);
+ }
+ var ch = this.output.slice(-1);
+ if (!this.output || (/[?*+]/.test(ch) && node.parent.type !== 'bracket')) {
+ return this.emit('\\+', node);
+ }
+ if (/\w/.test(ch) && !node.inside) {
+ return this.emit('+\\+?', node);
+ }
+ return this.emit('+', node);
+ })
+
+ /**
+ * Star: "*"
+ */
+
+ .set('star', function(node) {
+ var prev = this.prev();
+ var prefix = prev.type !== 'text' && prev.type !== 'escape'
+ ? '(?!\\.)'
+ : '';
+
+ return this.emit(prefix + star.call(this, node), node);
+ })
+
+ /**
+ * Parens
+ */
+
+ .set('paren', function(node) {
+ return this.mapVisit(node.nodes);
+ })
+ .set('paren.open', function(node) {
+ var capture = this.options.capture ? '(' : '';
+
+ switch (node.parent.prefix) {
+ case '!':
+ case '^':
+ return this.emit(capture + '(?:(?!(?:', node);
+ case '*':
+ case '+':
+ case '?':
+ case '@':
+ return this.emit(capture + '(?:', node);
+ default: {
+ var val = node.val;
+ if (this.options.bash === true) {
+ val = '\\' + val;
+ } else if (!this.options.capture && val === '(' && node.parent.rest[0] !== '?') {
+ val += '?:';
+ }
+
+ return this.emit(val, node);
+ }
+ }
+ })
+ .set('paren.close', function(node) {
+ var capture = this.options.capture ? ')' : '';
+
+ switch (node.prefix) {
+ case '!':
+ case '^':
+ var prefix = /^(\)|$)/.test(node.rest) ? '$' : '';
+ var str = star.call(this, node);
+
+ // if the extglob has a slash explicitly defined, we know the user wants
+ // to match slashes, so we need to ensure the "star" regex allows for it
+ if (node.parent.hasSlash && !this.options.star && this.options.slash !== false) {
+ str = '.*?';
+ }
+
+ return this.emit(prefix + ('))' + str + ')') + capture, node);
+ case '*':
+ case '+':
+ case '?':
+ return this.emit(')' + node.prefix + capture, node);
+ case '@':
+ return this.emit(')' + capture, node);
+ default: {
+ var val = (this.options.bash === true ? '\\' : '') + ')';
+ return this.emit(val, node);
+ }
+ }
+ })
+
+ /**
+ * Text
+ */
+
+ .set('text', function(node) {
+ var val = node.val.replace(/[\[\]]/g, '\\$&');
+ return this.emit(val, node);
+ });
+};
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/extglob/lib/extglob.js b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/extglob/lib/extglob.js
new file mode 100644
index 0000000..015f928
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/extglob/lib/extglob.js
@@ -0,0 +1,78 @@
+'use strict';
+
+/**
+ * Module dependencies
+ */
+
+var Snapdragon = require('snapdragon');
+var define = require('define-property');
+var extend = require('extend-shallow');
+
+/**
+ * Local dependencies
+ */
+
+var compilers = require('./compilers');
+var parsers = require('./parsers');
+
+/**
+ * Customize Snapdragon parser and renderer
+ */
+
+function Extglob(options) {
+ this.options = extend({source: 'extglob'}, options);
+ this.snapdragon = this.options.snapdragon || new Snapdragon(this.options);
+ this.snapdragon.patterns = this.snapdragon.patterns || {};
+ this.compiler = this.snapdragon.compiler;
+ this.parser = this.snapdragon.parser;
+
+ compilers(this.snapdragon);
+ parsers(this.snapdragon);
+
+ /**
+ * Override Snapdragon `.parse` method
+ */
+
+ define(this.snapdragon, 'parse', function(str, options) {
+ var parsed = Snapdragon.prototype.parse.apply(this, arguments);
+ parsed.input = str;
+
+ // escape unmatched brace/bracket/parens
+ var last = this.parser.stack.pop();
+ if (last && this.options.strict !== true) {
+ var node = last.nodes[0];
+ node.val = '\\' + node.val;
+ var sibling = node.parent.nodes[1];
+ if (sibling.type === 'star') {
+ sibling.loose = true;
+ }
+ }
+
+ // add non-enumerable parser reference
+ define(parsed, 'parser', this.parser);
+ return parsed;
+ });
+
+ /**
+ * Decorate `.parse` method
+ */
+
+ define(this, 'parse', function(ast, options) {
+ return this.snapdragon.parse.apply(this.snapdragon, arguments);
+ });
+
+ /**
+ * Decorate `.compile` method
+ */
+
+ define(this, 'compile', function(ast, options) {
+ return this.snapdragon.compile.apply(this.snapdragon, arguments);
+ });
+
+}
+
+/**
+ * Expose `Extglob`
+ */
+
+module.exports = Extglob;
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/extglob/lib/parsers.js b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/extglob/lib/parsers.js
new file mode 100644
index 0000000..2ba7352
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/extglob/lib/parsers.js
@@ -0,0 +1,156 @@
+'use strict';
+
+var brackets = require('expand-brackets');
+var define = require('define-property');
+var utils = require('./utils');
+
+/**
+ * Characters to use in text regex (we want to "not" match
+ * characters that are matched by other parsers)
+ */
+
+var TEXT_REGEX = '([!@*?+]?\\(|\\)|[*?.+\\\\]|\\[:?(?=.*\\])|:?\\])+';
+var not = utils.createRegex(TEXT_REGEX);
+
+/**
+ * Extglob parsers
+ */
+
+function parsers(extglob) {
+ extglob.state = extglob.state || {};
+
+ /**
+ * Use `expand-brackets` parsers
+ */
+
+ extglob.use(brackets.parsers);
+ extglob.parser.sets.paren = extglob.parser.sets.paren || [];
+ extglob.parser
+
+ /**
+ * Extglob open: "*("
+ */
+
+ .capture('paren.open', function() {
+ var parsed = this.parsed;
+ var pos = this.position();
+ var m = this.match(/^([!@*?+])?\(/);
+ if (!m) return;
+
+ var prev = this.prev();
+ var prefix = m[1];
+ var val = m[0];
+
+ var open = pos({
+ type: 'paren.open',
+ parsed: parsed,
+ val: val
+ });
+
+ var node = pos({
+ type: 'paren',
+ prefix: prefix,
+ nodes: [open]
+ });
+
+ // if nested negation extglobs, just cancel them out to simplify
+ if (prefix === '!' && prev.type === 'paren' && prev.prefix === '!') {
+ prev.prefix = '@';
+ node.prefix = '@';
+ }
+
+ define(node, 'rest', this.input);
+ define(node, 'parsed', parsed);
+ define(node, 'parent', prev);
+ define(open, 'parent', node);
+
+ this.push('paren', node);
+ prev.nodes.push(node);
+ })
+
+ /**
+ * Extglob close: ")"
+ */
+
+ .capture('paren.close', function() {
+ var parsed = this.parsed;
+ var pos = this.position();
+ var m = this.match(/^\)/);
+ if (!m) return;
+
+ var parent = this.pop('paren');
+ var node = pos({
+ type: 'paren.close',
+ rest: this.input,
+ parsed: parsed,
+ val: m[0]
+ });
+
+ if (!this.isType(parent, 'paren')) {
+ if (this.options.strict) {
+ throw new Error('missing opening paren: "("');
+ }
+ node.escaped = true;
+ return node;
+ }
+
+ node.prefix = parent.prefix;
+ parent.nodes.push(node);
+ define(node, 'parent', parent);
+ })
+
+ /**
+ * Escape: "\\."
+ */
+
+ .capture('escape', function() {
+ var pos = this.position();
+ var m = this.match(/^\\(.)/);
+ if (!m) return;
+
+ return pos({
+ type: 'escape',
+ val: m[0],
+ ch: m[1]
+ });
+ })
+
+ /**
+ * Question marks: "?"
+ */
+
+ .capture('qmark', function() {
+ var parsed = this.parsed;
+ var pos = this.position();
+ var m = this.match(/^\?+(?!\()/);
+ if (!m) return;
+ extglob.state.metachar = true;
+ return pos({
+ type: 'qmark',
+ rest: this.input,
+ parsed: parsed,
+ val: m[0]
+ });
+ })
+
+ /**
+ * Character parsers
+ */
+
+ .capture('star', /^\*(?!\()/)
+ .capture('plus', /^\+(?!\()/)
+ .capture('dot', /^\./)
+ .capture('text', not);
+};
+
+/**
+ * Expose text regex string
+ */
+
+module.exports.TEXT_REGEX = TEXT_REGEX;
+
+/**
+ * Extglob parsers
+ */
+
+module.exports = parsers;
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/extglob/lib/utils.js b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/extglob/lib/utils.js
new file mode 100644
index 0000000..37a59fb
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/extglob/lib/utils.js
@@ -0,0 +1,69 @@
+'use strict';
+
+var regex = require('regex-not');
+var Cache = require('fragment-cache');
+
+/**
+ * Utils
+ */
+
+var utils = module.exports;
+var cache = utils.cache = new Cache();
+
+/**
+ * Cast `val` to an array
+ * @return {Array}
+ */
+
+utils.arrayify = function(val) {
+ if (!Array.isArray(val)) {
+ return [val];
+ }
+ return val;
+};
+
+/**
+ * Memoize a generated regex or function
+ */
+
+utils.memoize = function(type, pattern, options, fn) {
+ var key = utils.createKey(type + pattern, options);
+
+ if (cache.has(type, key)) {
+ return cache.get(type, key);
+ }
+
+ var val = fn(pattern, options);
+ if (options && options.cache === false) {
+ return val;
+ }
+
+ cache.set(type, key, val);
+ return val;
+};
+
+/**
+ * Create the key to use for memoization. The key is generated
+ * by iterating over the options and concatenating key-value pairs
+ * to the pattern string.
+ */
+
+utils.createKey = function(pattern, options) {
+ var key = pattern;
+ if (typeof options === 'undefined') {
+ return key;
+ }
+ for (var prop in options) {
+ key += ';' + prop + '=' + String(options[prop]);
+ }
+ return key;
+};
+
+/**
+ * Create the regex to use for matching text
+ */
+
+utils.createRegex = function(str) {
+ var opts = {contains: true, strictClose: false};
+ return regex(str, opts);
+};
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/extglob/node_modules/define-property/LICENSE b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/extglob/node_modules/define-property/LICENSE
new file mode 100644
index 0000000..ec85897
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/extglob/node_modules/define-property/LICENSE
@@ -0,0 +1,21 @@
+The MIT License (MIT)
+
+Copyright (c) 2015, 2017, Jon Schlinkert
+
+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.
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/extglob/node_modules/define-property/README.md b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/extglob/node_modules/define-property/README.md
new file mode 100644
index 0000000..2f1af05
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/extglob/node_modules/define-property/README.md
@@ -0,0 +1,95 @@
+# define-property [![NPM version](https://img.shields.io/npm/v/define-property.svg?style=flat)](https://www.npmjs.com/package/define-property) [![NPM monthly downloads](https://img.shields.io/npm/dm/define-property.svg?style=flat)](https://npmjs.org/package/define-property) [![NPM total downloads](https://img.shields.io/npm/dt/define-property.svg?style=flat)](https://npmjs.org/package/define-property) [![Linux Build Status](https://img.shields.io/travis/jonschlinkert/define-property.svg?style=flat&label=Travis)](https://travis-ci.org/jonschlinkert/define-property)
+
+> Define a non-enumerable property on an object.
+
+## Install
+
+Install with [npm](https://www.npmjs.com/):
+
+```sh
+$ npm install --save define-property
+```
+
+Install with [yarn](https://yarnpkg.com):
+
+```sh
+$ yarn add define-property
+```
+
+## Usage
+
+**Params**
+
+* `obj`: The object on which to define the property.
+* `prop`: The name of the property to be defined or modified.
+* `descriptor`: The descriptor for the property being defined or modified.
+
+```js
+var define = require('define-property');
+var obj = {};
+define(obj, 'foo', function(val) {
+ return val.toUpperCase();
+});
+
+console.log(obj);
+//=> {}
+
+console.log(obj.foo('bar'));
+//=> 'BAR'
+```
+
+**get/set**
+
+```js
+define(obj, 'foo', {
+ get: function() {},
+ set: function() {}
+});
+```
+
+## About
+
+### Related projects
+
+* [assign-deep](https://www.npmjs.com/package/assign-deep): Deeply assign the enumerable properties and/or es6 Symbol properies of source objects to the target… [more](https://github.com/jonschlinkert/assign-deep) | [homepage](https://github.com/jonschlinkert/assign-deep "Deeply assign the enumerable properties and/or es6 Symbol properies of source objects to the target (first) object.")
+* [extend-shallow](https://www.npmjs.com/package/extend-shallow): Extend an object with the properties of additional objects. node.js/javascript util. | [homepage](https://github.com/jonschlinkert/extend-shallow "Extend an object with the properties of additional objects. node.js/javascript util.")
+* [merge-deep](https://www.npmjs.com/package/merge-deep): Recursively merge values in a javascript object. | [homepage](https://github.com/jonschlinkert/merge-deep "Recursively merge values in a javascript object.")
+* [mixin-deep](https://www.npmjs.com/package/mixin-deep): Deeply mix the properties of objects into the first object. Like merge-deep, but doesn't clone. | [homepage](https://github.com/jonschlinkert/mixin-deep "Deeply mix the properties of objects into the first object. Like merge-deep, but doesn't clone.")
+
+### Contributing
+
+Pull requests and stars are always welcome. For bugs and feature requests, [please create an issue](../../issues/new).
+
+### Building docs
+
+_(This project's readme.md is generated by [verb](https://github.com/verbose/verb-generate-readme), please don't edit the readme directly. Any changes to the readme must be made in the [.verb.md](.verb.md) readme template.)_
+
+To generate the readme, run the following command:
+
+```sh
+$ npm install -g verbose/verb#dev verb-generate-readme && verb
+```
+
+### Running tests
+
+Running and reviewing unit tests is a great way to get familiarized with a library and its API. You can install dependencies and run tests with the following command:
+
+```sh
+$ npm install && npm test
+```
+
+### Author
+
+**Jon Schlinkert**
+
+* [github/jonschlinkert](https://github.com/jonschlinkert)
+* [twitter/jonschlinkert](https://twitter.com/jonschlinkert)
+
+### License
+
+Copyright © 2017, [Jon Schlinkert](https://github.com/jonschlinkert).
+Released under the [MIT License](LICENSE).
+
+***
+
+_This file was generated by [verb-generate-readme](https://github.com/verbose/verb-generate-readme), v0.5.0, on April 20, 2017._
\ No newline at end of file
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/extglob/node_modules/define-property/index.js b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/extglob/node_modules/define-property/index.js
new file mode 100644
index 0000000..27c19eb
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/extglob/node_modules/define-property/index.js
@@ -0,0 +1,31 @@
+/*!
+ * define-property
+ *
+ * Copyright (c) 2015, 2017, Jon Schlinkert.
+ * Released under the MIT License.
+ */
+
+'use strict';
+
+var isDescriptor = require('is-descriptor');
+
+module.exports = function defineProperty(obj, prop, val) {
+ if (typeof obj !== 'object' && typeof obj !== 'function') {
+ throw new TypeError('expected an object or function.');
+ }
+
+ if (typeof prop !== 'string') {
+ throw new TypeError('expected `prop` to be a string.');
+ }
+
+ if (isDescriptor(val) && ('set' in val || 'get' in val)) {
+ return Object.defineProperty(obj, prop, val);
+ }
+
+ return Object.defineProperty(obj, prop, {
+ configurable: true,
+ enumerable: false,
+ writable: true,
+ value: val
+ });
+};
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/extglob/node_modules/define-property/package.json b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/extglob/node_modules/define-property/package.json
new file mode 100644
index 0000000..e0ab1ca
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/extglob/node_modules/define-property/package.json
@@ -0,0 +1,62 @@
+{
+ "name": "define-property",
+ "description": "Define a non-enumerable property on an object.",
+ "version": "1.0.0",
+ "homepage": "https://github.com/jonschlinkert/define-property",
+ "author": "Jon Schlinkert (https://github.com/jonschlinkert)",
+ "repository": "jonschlinkert/define-property",
+ "bugs": {
+ "url": "https://github.com/jonschlinkert/define-property/issues"
+ },
+ "license": "MIT",
+ "files": [
+ "index.js"
+ ],
+ "main": "index.js",
+ "engines": {
+ "node": ">=0.10.0"
+ },
+ "scripts": {
+ "test": "mocha"
+ },
+ "dependencies": {
+ "is-descriptor": "^1.0.0"
+ },
+ "devDependencies": {
+ "gulp-format-md": "^0.1.12",
+ "mocha": "^3.2.0"
+ },
+ "keywords": [
+ "define",
+ "define-property",
+ "enumerable",
+ "key",
+ "non",
+ "non-enumerable",
+ "object",
+ "prop",
+ "property",
+ "value"
+ ],
+ "verb": {
+ "related": {
+ "list": [
+ "extend-shallow",
+ "merge-deep",
+ "assign-deep",
+ "mixin-deep"
+ ]
+ },
+ "toc": false,
+ "layout": "default",
+ "tasks": [
+ "readme"
+ ],
+ "plugins": [
+ "gulp-format-md"
+ ],
+ "lint": {
+ "reflinks": true
+ }
+ }
+}
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/extglob/node_modules/extend-shallow/LICENSE b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/extglob/node_modules/extend-shallow/LICENSE
new file mode 100644
index 0000000..fa30c4c
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/extglob/node_modules/extend-shallow/LICENSE
@@ -0,0 +1,21 @@
+The MIT License (MIT)
+
+Copyright (c) 2014-2015, Jon Schlinkert.
+
+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.
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/extglob/node_modules/extend-shallow/README.md b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/extglob/node_modules/extend-shallow/README.md
new file mode 100644
index 0000000..cdc45d4
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/extglob/node_modules/extend-shallow/README.md
@@ -0,0 +1,61 @@
+# extend-shallow [![NPM version](https://badge.fury.io/js/extend-shallow.svg)](http://badge.fury.io/js/extend-shallow) [![Build Status](https://travis-ci.org/jonschlinkert/extend-shallow.svg)](https://travis-ci.org/jonschlinkert/extend-shallow)
+
+> Extend an object with the properties of additional objects. node.js/javascript util.
+
+## Install
+
+Install with [npm](https://www.npmjs.com/)
+
+```sh
+$ npm i extend-shallow --save
+```
+
+## Usage
+
+```js
+var extend = require('extend-shallow');
+
+extend({a: 'b'}, {c: 'd'})
+//=> {a: 'b', c: 'd'}
+```
+
+Pass an empty object to shallow clone:
+
+```js
+var obj = {};
+extend(obj, {a: 'b'}, {c: 'd'})
+//=> {a: 'b', c: 'd'}
+```
+
+## Related
+
+* [extend-shallow](https://github.com/jonschlinkert/extend-shallow): Extend an object with the properties of additional objects. node.js/javascript util.
+* [for-own](https://github.com/jonschlinkert/for-own): Iterate over the own enumerable properties of an object, and return an object with properties… [more](https://github.com/jonschlinkert/for-own)
+* [for-in](https://github.com/jonschlinkert/for-in): Iterate over the own and inherited enumerable properties of an objecte, and return an object… [more](https://github.com/jonschlinkert/for-in)
+* [is-plain-object](https://github.com/jonschlinkert/is-plain-object): Returns true if an object was created by the `Object` constructor.
+* [isobject](https://github.com/jonschlinkert/isobject): Returns true if the value is an object and not an array or null.
+* [kind-of](https://github.com/jonschlinkert/kind-of): Get the native type of a value.
+
+## Running tests
+
+Install dev dependencies:
+
+```sh
+$ npm i -d && npm test
+```
+
+## Author
+
+**Jon Schlinkert**
+
++ [github/jonschlinkert](https://github.com/jonschlinkert)
++ [twitter/jonschlinkert](http://twitter.com/jonschlinkert)
+
+## License
+
+Copyright © 2015 Jon Schlinkert
+Released under the MIT license.
+
+***
+
+_This file was generated by [verb-cli](https://github.com/assemble/verb-cli) on June 29, 2015._
\ No newline at end of file
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/extglob/node_modules/extend-shallow/index.js b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/extglob/node_modules/extend-shallow/index.js
new file mode 100644
index 0000000..92a067f
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/extglob/node_modules/extend-shallow/index.js
@@ -0,0 +1,33 @@
+'use strict';
+
+var isObject = require('is-extendable');
+
+module.exports = function extend(o/*, objects*/) {
+ if (!isObject(o)) { o = {}; }
+
+ var len = arguments.length;
+ for (var i = 1; i < len; i++) {
+ var obj = arguments[i];
+
+ if (isObject(obj)) {
+ assign(o, obj);
+ }
+ }
+ return o;
+};
+
+function assign(a, b) {
+ for (var key in b) {
+ if (hasOwn(b, key)) {
+ a[key] = b[key];
+ }
+ }
+}
+
+/**
+ * Returns true if the given `key` is an own property of `obj`.
+ */
+
+function hasOwn(obj, key) {
+ return Object.prototype.hasOwnProperty.call(obj, key);
+}
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/extglob/node_modules/extend-shallow/package.json b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/extglob/node_modules/extend-shallow/package.json
new file mode 100644
index 0000000..b42e01c
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/extglob/node_modules/extend-shallow/package.json
@@ -0,0 +1,56 @@
+{
+ "name": "extend-shallow",
+ "description": "Extend an object with the properties of additional objects. node.js/javascript util.",
+ "version": "2.0.1",
+ "homepage": "https://github.com/jonschlinkert/extend-shallow",
+ "author": "Jon Schlinkert (https://github.com/jonschlinkert)",
+ "repository": "jonschlinkert/extend-shallow",
+ "bugs": {
+ "url": "https://github.com/jonschlinkert/extend-shallow/issues"
+ },
+ "license": "MIT",
+ "files": [
+ "index.js"
+ ],
+ "main": "index.js",
+ "engines": {
+ "node": ">=0.10.0"
+ },
+ "scripts": {
+ "test": "mocha"
+ },
+ "dependencies": {
+ "is-extendable": "^0.1.0"
+ },
+ "devDependencies": {
+ "array-slice": "^0.2.3",
+ "benchmarked": "^0.1.4",
+ "chalk": "^1.0.0",
+ "for-own": "^0.1.3",
+ "glob": "^5.0.12",
+ "is-plain-object": "^2.0.1",
+ "kind-of": "^2.0.0",
+ "minimist": "^1.1.1",
+ "mocha": "^2.2.5",
+ "should": "^7.0.1"
+ },
+ "keywords": [
+ "assign",
+ "extend",
+ "javascript",
+ "js",
+ "keys",
+ "merge",
+ "obj",
+ "object",
+ "prop",
+ "properties",
+ "property",
+ "props",
+ "shallow",
+ "util",
+ "utility",
+ "utils",
+ "value"
+ ]
+}
\ No newline at end of file
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/extglob/node_modules/is-extendable/LICENSE b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/extglob/node_modules/is-extendable/LICENSE
new file mode 100644
index 0000000..65f90ac
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/extglob/node_modules/is-extendable/LICENSE
@@ -0,0 +1,21 @@
+The MIT License (MIT)
+
+Copyright (c) 2015, Jon Schlinkert.
+
+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.
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/extglob/node_modules/is-extendable/README.md b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/extglob/node_modules/is-extendable/README.md
new file mode 100644
index 0000000..e4cfaeb
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/extglob/node_modules/is-extendable/README.md
@@ -0,0 +1,72 @@
+# is-extendable [![NPM version](https://badge.fury.io/js/is-extendable.svg)](http://badge.fury.io/js/is-extendable)
+
+> Returns true if a value is any of the object types: array, regexp, plain object, function or date. This is useful for determining if a value can be extended, e.g. "can the value have keys?"
+
+## Install
+
+Install with [npm](https://www.npmjs.com/)
+
+```sh
+$ npm i is-extendable --save
+```
+
+## Usage
+
+```js
+var isExtendable = require('is-extendable');
+```
+
+Returns true if the value is any of the following:
+
+* `array`
+* `regexp`
+* `plain object`
+* `function`
+* `date`
+* `error`
+
+## Notes
+
+All objects in JavaScript can have keys, but it's a pain to check for this, since we ether need to verify that the value is not `null` or `undefined` and:
+
+* the value is not a primitive, or
+* that the object is an `object`, `function`
+
+Also note that an `extendable` object is not the same as an [extensible object](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/isExtensible), which is one that (in es6) is not sealed, frozen, or marked as non-extensible using `preventExtensions`.
+
+## Related projects
+
+* [assign-deep](https://github.com/jonschlinkert/assign-deep): Deeply assign the enumerable properties of source objects to a destination object.
+* [extend-shallow](https://github.com/jonschlinkert/extend-shallow): Extend an object with the properties of additional objects. node.js/javascript util.
+* [isobject](https://github.com/jonschlinkert/isobject): Returns true if the value is an object and not an array or null.
+* [is-plain-object](https://github.com/jonschlinkert/is-plain-object): Returns true if an object was created by the `Object` constructor.
+* [is-equal-shallow](https://github.com/jonschlinkert/is-equal-shallow): Does a shallow comparison of two objects, returning false if the keys or values differ.
+* [kind-of](https://github.com/jonschlinkert/kind-of): Get the native type of a value.
+
+## Running tests
+
+Install dev dependencies:
+
+```sh
+$ npm i -d && npm test
+```
+
+## Contributing
+
+Pull requests and stars are always welcome. For bugs and feature requests, [please create an issue](https://github.com/jonschlinkert/is-extendable/issues/new)
+
+## Author
+
+**Jon Schlinkert**
+
++ [github/jonschlinkert](https://github.com/jonschlinkert)
++ [twitter/jonschlinkert](http://twitter.com/jonschlinkert)
+
+## License
+
+Copyright © 2015 Jon Schlinkert
+Released under the MIT license.
+
+***
+
+_This file was generated by [verb-cli](https://github.com/assemble/verb-cli) on July 04, 2015._
\ No newline at end of file
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/extglob/node_modules/is-extendable/index.js b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/extglob/node_modules/is-extendable/index.js
new file mode 100644
index 0000000..4ee71a4
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/extglob/node_modules/is-extendable/index.js
@@ -0,0 +1,13 @@
+/*!
+ * is-extendable
+ *
+ * Copyright (c) 2015, Jon Schlinkert.
+ * Licensed under the MIT License.
+ */
+
+'use strict';
+
+module.exports = function isExtendable(val) {
+ return typeof val !== 'undefined' && val !== null
+ && (typeof val === 'object' || typeof val === 'function');
+};
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/extglob/node_modules/is-extendable/package.json b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/extglob/node_modules/is-extendable/package.json
new file mode 100644
index 0000000..5dd006e
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/extglob/node_modules/is-extendable/package.json
@@ -0,0 +1,51 @@
+{
+ "name": "is-extendable",
+ "description": "Returns true if a value is any of the object types: array, regexp, plain object, function or date. This is useful for determining if a value can be extended, e.g. \"can the value have keys?\"",
+ "version": "0.1.1",
+ "homepage": "https://github.com/jonschlinkert/is-extendable",
+ "author": "Jon Schlinkert (https://github.com/jonschlinkert)",
+ "repository": "jonschlinkert/is-extendable",
+ "bugs": {
+ "url": "https://github.com/jonschlinkert/is-extendable/issues"
+ },
+ "license": "MIT",
+ "files": [
+ "index.js"
+ ],
+ "main": "index.js",
+ "engines": {
+ "node": ">=0.10.0"
+ },
+ "scripts": {
+ "test": "mocha"
+ },
+ "devDependencies": {
+ "mocha": "*"
+ },
+ "keywords": [
+ "array",
+ "assign",
+ "check",
+ "date",
+ "extend",
+ "extensible",
+ "function",
+ "is",
+ "object",
+ "regex",
+ "test"
+ ],
+ "verbiage": {
+ "related": {
+ "list": [
+ "isobject",
+ "is-plain-object",
+ "kind-of",
+ "is-extendable",
+ "is-equal-shallow",
+ "extend-shallow",
+ "assign-deep"
+ ]
+ }
+ }
+}
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/extglob/package.json b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/extglob/package.json
new file mode 100644
index 0000000..afe5157
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/extglob/package.json
@@ -0,0 +1,108 @@
+{
+ "name": "extglob",
+ "description": "Extended glob support for JavaScript. Adds (almost) the expressive power of regular expressions to glob patterns.",
+ "version": "2.0.4",
+ "homepage": "https://github.com/micromatch/extglob",
+ "author": "Jon Schlinkert (https://github.com/jonschlinkert)",
+ "contributors": [
+ "Brian Woodward (https://twitter.com/doowb)",
+ "Devon Govett (http://badassjs.com)",
+ "Isiah Meadows (https://www.isiahmeadows.com)",
+ "Jon Schlinkert (http://twitter.com/jonschlinkert)",
+ "Matt Bierner (http://mattbierner.com)",
+ "Shinnosuke Watanabe (https://shinnn.github.io)"
+ ],
+ "repository": "micromatch/extglob",
+ "bugs": {
+ "url": "https://github.com/micromatch/extglob/issues"
+ },
+ "license": "MIT",
+ "files": [
+ "index.js",
+ "lib"
+ ],
+ "main": "index.js",
+ "engines": {
+ "node": ">=0.10.0"
+ },
+ "scripts": {
+ "test": "mocha"
+ },
+ "dependencies": {
+ "array-unique": "^0.3.2",
+ "define-property": "^1.0.0",
+ "expand-brackets": "^2.1.4",
+ "extend-shallow": "^2.0.1",
+ "fragment-cache": "^0.2.1",
+ "regex-not": "^1.0.0",
+ "snapdragon": "^0.8.1",
+ "to-regex": "^3.0.1"
+ },
+ "devDependencies": {
+ "bash-match": "^1.0.2",
+ "for-own": "^1.0.0",
+ "gulp": "^3.9.1",
+ "gulp-eslint": "^4.0.0",
+ "gulp-format-md": "^1.0.0",
+ "gulp-istanbul": "^1.1.2",
+ "gulp-mocha": "^3.0.1",
+ "gulp-unused": "^0.2.1",
+ "helper-changelog": "^0.3.0",
+ "is-windows": "^1.0.1",
+ "micromatch": "^3.0.4",
+ "minimatch": "^3.0.4",
+ "minimist": "^1.2.0",
+ "mocha": "^3.5.0",
+ "multimatch": "^2.1.0"
+ },
+ "keywords": [
+ "bash",
+ "extended",
+ "extglob",
+ "glob",
+ "globbing",
+ "ksh",
+ "match",
+ "pattern",
+ "patterns",
+ "regex",
+ "test",
+ "wildcard"
+ ],
+ "lintDeps": {
+ "devDependencies": {
+ "files": {
+ "options": {
+ "ignore": [
+ "benchmark/**/*.js"
+ ]
+ }
+ }
+ }
+ },
+ "verb": {
+ "toc": false,
+ "layout": "default",
+ "tasks": [
+ "readme"
+ ],
+ "related": {
+ "list": [
+ "braces",
+ "expand-brackets",
+ "expand-range",
+ "fill-range",
+ "micromatch"
+ ]
+ },
+ "helpers": [
+ "helper-changelog"
+ ],
+ "plugins": [
+ "gulp-format-md"
+ ],
+ "lint": {
+ "reflinks": true
+ }
+ }
+}
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/fast-deep-equal/LICENSE b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/fast-deep-equal/LICENSE
new file mode 100644
index 0000000..7f15435
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/fast-deep-equal/LICENSE
@@ -0,0 +1,21 @@
+MIT License
+
+Copyright (c) 2017 Evgeny Poberezkin
+
+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.
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/fast-deep-equal/README.md b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/fast-deep-equal/README.md
new file mode 100644
index 0000000..ee83edd
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/fast-deep-equal/README.md
@@ -0,0 +1,55 @@
+# fast-deep-equal
+The fastest deep equal
+
+[![Build Status](https://travis-ci.org/epoberezkin/fast-deep-equal.svg?branch=master)](https://travis-ci.org/epoberezkin/fast-deep-equal)
+[![npm version](https://badge.fury.io/js/fast-deep-equal.svg)](http://badge.fury.io/js/fast-deep-equal)
+[![Coverage Status](https://coveralls.io/repos/github/epoberezkin/fast-deep-equal/badge.svg?branch=master)](https://coveralls.io/github/epoberezkin/fast-deep-equal?branch=master)
+
+
+## Install
+
+```bash
+npm install fast-deep-equal
+```
+
+
+## Features
+
+- ES5 compatible
+- works in node.js (0.10+) and browsers (IE9+)
+- checks equality of Date and RegExp objects by value.
+
+
+## Usage
+
+```javascript
+var equal = require('fast-deep-equal');
+console.log(equal({foo: 'bar'}, {foo: 'bar'})); // true
+```
+
+
+## Performance benchmark
+
+```
+fast-deep-equal x 82,915 ops/sec ±0.63% (89 runs sampled)
+nano-equal x 50,506 ops/sec ±2.23% (86 runs sampled)
+shallow-equal-fuzzy x 14,873 ops/sec ±3.19% (83 runs sampled)
+underscore.isEqual x 16,055 ops/sec ±2.29% (85 runs sampled)
+lodash.isEqual x 10,740 ops/sec ±1.04% (89 runs sampled)
+deep-equal x 12,276 ops/sec ±2.44% (84 runs sampled)
+deep-eql x 10,565 ops/sec ±0.89% (90 runs sampled)
+assert.deepStrictEqual x 965 ops/sec ±2.99% (81 runs sampled)
+The fastest is fast-deep-equal
+```
+
+To run benchmark (requires node.js 6+):
+
+```bash
+npm install
+node benchmark
+```
+
+
+## License
+
+[MIT](https://github.com/epoberezkin/fast-deep-equal/blob/master/LICENSE)
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/fast-deep-equal/index.d.ts b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/fast-deep-equal/index.d.ts
new file mode 100644
index 0000000..3c042ca
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/fast-deep-equal/index.d.ts
@@ -0,0 +1,4 @@
+declare module 'fast-deep-equal' {
+ const equal: (a: any, b: any) => boolean;
+ export = equal;
+}
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/fast-deep-equal/index.js b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/fast-deep-equal/index.js
new file mode 100644
index 0000000..7aaaba3
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/fast-deep-equal/index.js
@@ -0,0 +1,55 @@
+'use strict';
+
+var isArray = Array.isArray;
+var keyList = Object.keys;
+var hasProp = Object.prototype.hasOwnProperty;
+
+module.exports = function equal(a, b) {
+ if (a === b) return true;
+
+ var arrA = isArray(a)
+ , arrB = isArray(b)
+ , i
+ , length
+ , key;
+
+ if (arrA && arrB) {
+ length = a.length;
+ if (length != b.length) return false;
+ for (i = 0; i < length; i++)
+ if (!equal(a[i], b[i])) return false;
+ return true;
+ }
+
+ if (arrA != arrB) return false;
+
+ var dateA = a instanceof Date
+ , dateB = b instanceof Date;
+ if (dateA != dateB) return false;
+ if (dateA && dateB) return a.getTime() == b.getTime();
+
+ var regexpA = a instanceof RegExp
+ , regexpB = b instanceof RegExp;
+ if (regexpA != regexpB) return false;
+ if (regexpA && regexpB) return a.toString() == b.toString();
+
+ if (a instanceof Object && b instanceof Object) {
+ var keys = keyList(a);
+ length = keys.length;
+
+ if (length !== keyList(b).length)
+ return false;
+
+ for (i = 0; i < length; i++)
+ if (!hasProp.call(b, keys[i])) return false;
+
+ for (i = 0; i < length; i++) {
+ key = keys[i];
+ if (!equal(a[key], b[key])) return false;
+ }
+
+ return true;
+ }
+
+ return false;
+};
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/fast-deep-equal/package.json b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/fast-deep-equal/package.json
new file mode 100644
index 0000000..1e7b6b4
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/fast-deep-equal/package.json
@@ -0,0 +1,58 @@
+{
+ "name": "fast-deep-equal",
+ "version": "1.1.0",
+ "description": "Fast deep equal",
+ "main": "index.js",
+ "scripts": {
+ "eslint": "eslint *.js benchmark spec",
+ "test-spec": "mocha spec/*.spec.js -R spec",
+ "test-cov": "nyc npm run test-spec",
+ "test-ts": "tsc --target ES5 --noImplicitAny index.d.ts",
+ "test": "npm run eslint && npm run test-ts && npm run test-cov"
+ },
+ "repository": {
+ "type": "git",
+ "url": "git+https://github.com/epoberezkin/fast-deep-equal.git"
+ },
+ "keywords": [
+ "fast",
+ "equal",
+ "deep-equal"
+ ],
+ "author": "Evgeny Poberezkin",
+ "license": "MIT",
+ "bugs": {
+ "url": "https://github.com/epoberezkin/fast-deep-equal/issues"
+ },
+ "homepage": "https://github.com/epoberezkin/fast-deep-equal#readme",
+ "devDependencies": {
+ "benchmark": "^2.1.4",
+ "coveralls": "^2.13.1",
+ "deep-eql": "^2.0.2",
+ "deep-equal": "^1.0.1",
+ "eslint": "^4.0.0",
+ "lodash": "^4.17.4",
+ "mocha": "^3.4.2",
+ "nano-equal": "^1.0.1",
+ "nyc": "^11.0.2",
+ "pre-commit": "^1.2.2",
+ "shallow-equal-fuzzy": "0.0.2",
+ "typescript": "^2.6.1",
+ "underscore": "^1.8.3"
+ },
+ "nyc": {
+ "exclude": [
+ "**/spec/**",
+ "node_modules"
+ ],
+ "reporter": [
+ "lcov",
+ "text-summary"
+ ]
+ },
+ "files": [
+ "index.js",
+ "index.d.ts"
+ ],
+ "types": "index.d.ts"
+}
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/fast-json-stable-stringify/.eslintrc.yml b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/fast-json-stable-stringify/.eslintrc.yml
new file mode 100644
index 0000000..1c77b0d
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/fast-json-stable-stringify/.eslintrc.yml
@@ -0,0 +1,26 @@
+extends: eslint:recommended
+env:
+ node: true
+ browser: true
+rules:
+ block-scoped-var: 2
+ callback-return: 2
+ dot-notation: 2
+ indent: 2
+ linebreak-style: [2, unix]
+ new-cap: 2
+ no-console: [2, allow: [warn, error]]
+ no-else-return: 2
+ no-eq-null: 2
+ no-fallthrough: 2
+ no-invalid-this: 2
+ no-return-assign: 2
+ no-shadow: 1
+ no-trailing-spaces: 2
+ no-use-before-define: [2, nofunc]
+ quotes: [2, single, avoid-escape]
+ semi: [2, always]
+ strict: [2, global]
+ valid-jsdoc: [2, requireReturn: false]
+ no-control-regex: 0
+ no-useless-escape: 2
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/fast-json-stable-stringify/.github/FUNDING.yml b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/fast-json-stable-stringify/.github/FUNDING.yml
new file mode 100644
index 0000000..61f9daa
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/fast-json-stable-stringify/.github/FUNDING.yml
@@ -0,0 +1 @@
+tidelift: "npm/fast-json-stable-stringify"
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/fast-json-stable-stringify/.travis.yml b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/fast-json-stable-stringify/.travis.yml
new file mode 100644
index 0000000..b61e8f0
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/fast-json-stable-stringify/.travis.yml
@@ -0,0 +1,8 @@
+language: node_js
+node_js:
+ - "8"
+ - "10"
+ - "12"
+ - "13"
+after_script:
+ - coveralls < coverage/lcov.info
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/fast-json-stable-stringify/LICENSE b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/fast-json-stable-stringify/LICENSE
new file mode 100644
index 0000000..c932223
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/fast-json-stable-stringify/LICENSE
@@ -0,0 +1,21 @@
+This software is released under the MIT license:
+
+Copyright (c) 2017 Evgeny Poberezkin
+Copyright (c) 2013 James Halliday
+
+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.
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/fast-json-stable-stringify/README.md b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/fast-json-stable-stringify/README.md
new file mode 100644
index 0000000..02cf49f
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/fast-json-stable-stringify/README.md
@@ -0,0 +1,131 @@
+# fast-json-stable-stringify
+
+Deterministic `JSON.stringify()` - a faster version of [@substack](https://github.com/substack)'s json-stable-strigify without [jsonify](https://github.com/substack/jsonify).
+
+You can also pass in a custom comparison function.
+
+[![Build Status](https://travis-ci.org/epoberezkin/fast-json-stable-stringify.svg?branch=master)](https://travis-ci.org/epoberezkin/fast-json-stable-stringify)
+[![Coverage Status](https://coveralls.io/repos/github/epoberezkin/fast-json-stable-stringify/badge.svg?branch=master)](https://coveralls.io/github/epoberezkin/fast-json-stable-stringify?branch=master)
+
+# example
+
+``` js
+var stringify = require('fast-json-stable-stringify');
+var obj = { c: 8, b: [{z:6,y:5,x:4},7], a: 3 };
+console.log(stringify(obj));
+```
+
+output:
+
+```
+{"a":3,"b":[{"x":4,"y":5,"z":6},7],"c":8}
+```
+
+
+# methods
+
+``` js
+var stringify = require('fast-json-stable-stringify')
+```
+
+## var str = stringify(obj, opts)
+
+Return a deterministic stringified string `str` from the object `obj`.
+
+
+## options
+
+### cmp
+
+If `opts` is given, you can supply an `opts.cmp` to have a custom comparison
+function for object keys. Your function `opts.cmp` is called with these
+parameters:
+
+``` js
+opts.cmp({ key: akey, value: avalue }, { key: bkey, value: bvalue })
+```
+
+For example, to sort on the object key names in reverse order you could write:
+
+``` js
+var stringify = require('fast-json-stable-stringify');
+
+var obj = { c: 8, b: [{z:6,y:5,x:4},7], a: 3 };
+var s = stringify(obj, function (a, b) {
+ return a.key < b.key ? 1 : -1;
+});
+console.log(s);
+```
+
+which results in the output string:
+
+```
+{"c":8,"b":[{"z":6,"y":5,"x":4},7],"a":3}
+```
+
+Or if you wanted to sort on the object values in reverse order, you could write:
+
+```
+var stringify = require('fast-json-stable-stringify');
+
+var obj = { d: 6, c: 5, b: [{z:3,y:2,x:1},9], a: 10 };
+var s = stringify(obj, function (a, b) {
+ return a.value < b.value ? 1 : -1;
+});
+console.log(s);
+```
+
+which outputs:
+
+```
+{"d":6,"c":5,"b":[{"z":3,"y":2,"x":1},9],"a":10}
+```
+
+### cycles
+
+Pass `true` in `opts.cycles` to stringify circular property as `__cycle__` - the result will not be a valid JSON string in this case.
+
+TypeError will be thrown in case of circular object without this option.
+
+
+# install
+
+With [npm](https://npmjs.org) do:
+
+```
+npm install fast-json-stable-stringify
+```
+
+
+# benchmark
+
+To run benchmark (requires Node.js 6+):
+```
+node benchmark
+```
+
+Results:
+```
+fast-json-stable-stringify x 17,189 ops/sec ±1.43% (83 runs sampled)
+json-stable-stringify x 13,634 ops/sec ±1.39% (85 runs sampled)
+fast-stable-stringify x 20,212 ops/sec ±1.20% (84 runs sampled)
+faster-stable-stringify x 15,549 ops/sec ±1.12% (84 runs sampled)
+The fastest is fast-stable-stringify
+```
+
+
+## Enterprise support
+
+fast-json-stable-stringify package is a part of [Tidelift enterprise subscription](https://tidelift.com/subscription/pkg/npm-fast-json-stable-stringify?utm_source=npm-fast-json-stable-stringify&utm_medium=referral&utm_campaign=enterprise&utm_term=repo) - it provides a centralised commercial support to open-source software users, in addition to the support provided by software maintainers.
+
+
+## Security contact
+
+To report a security vulnerability, please use the
+[Tidelift security contact](https://tidelift.com/security).
+Tidelift will coordinate the fix and disclosure. Please do NOT report security vulnerability via GitHub issues.
+
+
+# license
+
+[MIT](https://github.com/epoberezkin/fast-json-stable-stringify/blob/master/LICENSE)
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/fast-json-stable-stringify/benchmark/index.js b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/fast-json-stable-stringify/benchmark/index.js
new file mode 100644
index 0000000..e725f9f
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/fast-json-stable-stringify/benchmark/index.js
@@ -0,0 +1,31 @@
+'use strict';
+
+const Benchmark = require('benchmark');
+const suite = new Benchmark.Suite;
+const testData = require('./test.json');
+
+
+const stringifyPackages = {
+ // 'JSON.stringify': JSON.stringify,
+ 'fast-json-stable-stringify': require('../index'),
+ 'json-stable-stringify': true,
+ 'fast-stable-stringify': true,
+ 'faster-stable-stringify': true
+};
+
+
+for (const name in stringifyPackages) {
+ let func = stringifyPackages[name];
+ if (func === true) func = require(name);
+
+ suite.add(name, function() {
+ func(testData);
+ });
+}
+
+suite
+ .on('cycle', (event) => console.log(String(event.target)))
+ .on('complete', function () {
+ console.log('The fastest is ' + this.filter('fastest').map('name'));
+ })
+ .run({async: true});
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/fast-json-stable-stringify/benchmark/test.json b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/fast-json-stable-stringify/benchmark/test.json
new file mode 100644
index 0000000..c9118c1
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/fast-json-stable-stringify/benchmark/test.json
@@ -0,0 +1,137 @@
+[
+ {
+ "_id": "59ef4a83ee8364808d761beb",
+ "index": 0,
+ "guid": "e50ffae9-7128-4148-9ee5-40c3fc523c5d",
+ "isActive": false,
+ "balance": "$2,341.81",
+ "picture": "http://placehold.it/32x32",
+ "age": 28,
+ "eyeColor": "brown",
+ "name": "Carey Savage",
+ "gender": "female",
+ "company": "VERAQ",
+ "email": "careysavage@veraq.com",
+ "phone": "+1 (897) 574-3014",
+ "address": "458 Willow Street, Henrietta, California, 7234",
+ "about": "Nisi reprehenderit nulla ad officia pariatur non dolore laboris irure cupidatat laborum. Minim eu ex Lorem adipisicing exercitation irure minim sunt est enim mollit incididunt voluptate nulla. Ut mollit anim reprehenderit et aliqua ex esse aliquip. Aute sit duis deserunt do incididunt consequat minim qui dolor commodo deserunt et voluptate.\r\n",
+ "registered": "2014-05-21T01:56:51 -01:00",
+ "latitude": 63.89502,
+ "longitude": 62.369807,
+ "tags": [
+ "nostrud",
+ "nisi",
+ "consectetur",
+ "ullamco",
+ "cupidatat",
+ "culpa",
+ "commodo"
+ ],
+ "friends": [
+ {
+ "id": 0,
+ "name": "Henry Walls"
+ },
+ {
+ "id": 1,
+ "name": "Janice Baker"
+ },
+ {
+ "id": 2,
+ "name": "Russell Bush"
+ }
+ ],
+ "greeting": "Hello, Carey Savage! You have 4 unread messages.",
+ "favoriteFruit": "banana"
+ },
+ {
+ "_id": "59ef4a83ff5774a691454e89",
+ "index": 1,
+ "guid": "2bee9efc-4095-4c2e-87ef-d08c8054c89d",
+ "isActive": true,
+ "balance": "$1,618.15",
+ "picture": "http://placehold.it/32x32",
+ "age": 35,
+ "eyeColor": "blue",
+ "name": "Elinor Pearson",
+ "gender": "female",
+ "company": "FLEXIGEN",
+ "email": "elinorpearson@flexigen.com",
+ "phone": "+1 (923) 548-3751",
+ "address": "600 Bayview Avenue, Draper, Montana, 3088",
+ "about": "Mollit commodo ea sit Lorem velit. Irure anim esse Lorem sint quis officia ut. Aliqua nisi dolore in aute deserunt mollit ex ea in mollit.\r\n",
+ "registered": "2017-04-22T07:58:41 -01:00",
+ "latitude": -87.824919,
+ "longitude": 69.538927,
+ "tags": [
+ "fugiat",
+ "labore",
+ "proident",
+ "quis",
+ "eiusmod",
+ "qui",
+ "est"
+ ],
+ "friends": [
+ {
+ "id": 0,
+ "name": "Massey Wagner"
+ },
+ {
+ "id": 1,
+ "name": "Marcella Ferrell"
+ },
+ {
+ "id": 2,
+ "name": "Evans Mckee"
+ }
+ ],
+ "greeting": "Hello, Elinor Pearson! You have 3 unread messages.",
+ "favoriteFruit": "strawberry"
+ },
+ {
+ "_id": "59ef4a839ec8a4be4430b36b",
+ "index": 2,
+ "guid": "ddd6e8c0-95bd-416d-8b46-a768d6363809",
+ "isActive": false,
+ "balance": "$2,046.95",
+ "picture": "http://placehold.it/32x32",
+ "age": 40,
+ "eyeColor": "green",
+ "name": "Irwin Davidson",
+ "gender": "male",
+ "company": "DANJA",
+ "email": "irwindavidson@danja.com",
+ "phone": "+1 (883) 537-2041",
+ "address": "439 Cook Street, Chapin, Kentucky, 7398",
+ "about": "Irure velit non commodo aliqua exercitation ut nostrud minim magna. Dolor ad ad ut irure eu. Non pariatur dolor eiusmod ipsum do et exercitation cillum. Et amet laboris minim eiusmod ullamco magna ea reprehenderit proident sunt.\r\n",
+ "registered": "2016-09-01T07:49:08 -01:00",
+ "latitude": -49.803812,
+ "longitude": 104.93279,
+ "tags": [
+ "consequat",
+ "enim",
+ "quis",
+ "magna",
+ "est",
+ "culpa",
+ "tempor"
+ ],
+ "friends": [
+ {
+ "id": 0,
+ "name": "Ruth Hansen"
+ },
+ {
+ "id": 1,
+ "name": "Kathrine Austin"
+ },
+ {
+ "id": 2,
+ "name": "Rivera Munoz"
+ }
+ ],
+ "greeting": "Hello, Irwin Davidson! You have 2 unread messages.",
+ "favoriteFruit": "banana"
+ }
+]
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/fast-json-stable-stringify/example/key_cmp.js b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/fast-json-stable-stringify/example/key_cmp.js
new file mode 100644
index 0000000..d5f6675
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/fast-json-stable-stringify/example/key_cmp.js
@@ -0,0 +1,7 @@
+var stringify = require('../');
+
+var obj = { c: 8, b: [{z:6,y:5,x:4},7], a: 3 };
+var s = stringify(obj, function (a, b) {
+ return a.key < b.key ? 1 : -1;
+});
+console.log(s);
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/fast-json-stable-stringify/example/nested.js b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/fast-json-stable-stringify/example/nested.js
new file mode 100644
index 0000000..9a672fc
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/fast-json-stable-stringify/example/nested.js
@@ -0,0 +1,3 @@
+var stringify = require('../');
+var obj = { c: 8, b: [{z:6,y:5,x:4},7], a: 3 };
+console.log(stringify(obj));
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/fast-json-stable-stringify/example/str.js b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/fast-json-stable-stringify/example/str.js
new file mode 100644
index 0000000..9b4b3cd
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/fast-json-stable-stringify/example/str.js
@@ -0,0 +1,3 @@
+var stringify = require('../');
+var obj = { c: 6, b: [4,5], a: 3 };
+console.log(stringify(obj));
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/fast-json-stable-stringify/example/value_cmp.js b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/fast-json-stable-stringify/example/value_cmp.js
new file mode 100644
index 0000000..09f1c5f
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/fast-json-stable-stringify/example/value_cmp.js
@@ -0,0 +1,7 @@
+var stringify = require('../');
+
+var obj = { d: 6, c: 5, b: [{z:3,y:2,x:1},9], a: 10 };
+var s = stringify(obj, function (a, b) {
+ return a.value < b.value ? 1 : -1;
+});
+console.log(s);
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/fast-json-stable-stringify/index.d.ts b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/fast-json-stable-stringify/index.d.ts
new file mode 100644
index 0000000..23e46ca
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/fast-json-stable-stringify/index.d.ts
@@ -0,0 +1,4 @@
+declare module 'fast-json-stable-stringify' {
+ function stringify(obj: any): string;
+ export = stringify;
+}
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/fast-json-stable-stringify/index.js b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/fast-json-stable-stringify/index.js
new file mode 100644
index 0000000..c44e6a4
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/fast-json-stable-stringify/index.js
@@ -0,0 +1,59 @@
+'use strict';
+
+module.exports = function (data, opts) {
+ if (!opts) opts = {};
+ if (typeof opts === 'function') opts = { cmp: opts };
+ var cycles = (typeof opts.cycles === 'boolean') ? opts.cycles : false;
+
+ var cmp = opts.cmp && (function (f) {
+ return function (node) {
+ return function (a, b) {
+ var aobj = { key: a, value: node[a] };
+ var bobj = { key: b, value: node[b] };
+ return f(aobj, bobj);
+ };
+ };
+ })(opts.cmp);
+
+ var seen = [];
+ return (function stringify (node) {
+ if (node && node.toJSON && typeof node.toJSON === 'function') {
+ node = node.toJSON();
+ }
+
+ if (node === undefined) return;
+ if (typeof node == 'number') return isFinite(node) ? '' + node : 'null';
+ if (typeof node !== 'object') return JSON.stringify(node);
+
+ var i, out;
+ if (Array.isArray(node)) {
+ out = '[';
+ for (i = 0; i < node.length; i++) {
+ if (i) out += ',';
+ out += stringify(node[i]) || 'null';
+ }
+ return out + ']';
+ }
+
+ if (node === null) return 'null';
+
+ if (seen.indexOf(node) !== -1) {
+ if (cycles) return JSON.stringify('__cycle__');
+ throw new TypeError('Converting circular structure to JSON');
+ }
+
+ var seenIndex = seen.push(node) - 1;
+ var keys = Object.keys(node).sort(cmp && cmp(node));
+ out = '';
+ for (i = 0; i < keys.length; i++) {
+ var key = keys[i];
+ var value = stringify(node[key]);
+
+ if (!value) continue;
+ if (out) out += ',';
+ out += JSON.stringify(key) + ':' + value;
+ }
+ seen.splice(seenIndex, 1);
+ return '{' + out + '}';
+ })(data);
+};
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/fast-json-stable-stringify/package.json b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/fast-json-stable-stringify/package.json
new file mode 100644
index 0000000..ad2c8bf
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/fast-json-stable-stringify/package.json
@@ -0,0 +1,52 @@
+{
+ "name": "fast-json-stable-stringify",
+ "version": "2.1.0",
+ "description": "deterministic `JSON.stringify()` - a faster version of substack's json-stable-strigify without jsonify",
+ "main": "index.js",
+ "types": "index.d.ts",
+ "dependencies": {},
+ "devDependencies": {
+ "benchmark": "^2.1.4",
+ "coveralls": "^3.0.0",
+ "eslint": "^6.7.0",
+ "fast-stable-stringify": "latest",
+ "faster-stable-stringify": "latest",
+ "json-stable-stringify": "latest",
+ "nyc": "^14.1.0",
+ "pre-commit": "^1.2.2",
+ "tape": "^4.11.0"
+ },
+ "scripts": {
+ "eslint": "eslint index.js test",
+ "test-spec": "tape test/*.js",
+ "test": "npm run eslint && nyc npm run test-spec"
+ },
+ "repository": {
+ "type": "git",
+ "url": "git://github.com/epoberezkin/fast-json-stable-stringify.git"
+ },
+ "homepage": "https://github.com/epoberezkin/fast-json-stable-stringify",
+ "keywords": [
+ "json",
+ "stringify",
+ "deterministic",
+ "hash",
+ "stable"
+ ],
+ "author": {
+ "name": "James Halliday",
+ "email": "mail@substack.net",
+ "url": "http://substack.net"
+ },
+ "license": "MIT",
+ "nyc": {
+ "exclude": [
+ "test",
+ "node_modules"
+ ],
+ "reporter": [
+ "lcov",
+ "text-summary"
+ ]
+ }
+}
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/fast-json-stable-stringify/test/cmp.js b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/fast-json-stable-stringify/test/cmp.js
new file mode 100644
index 0000000..4efd6b5
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/fast-json-stable-stringify/test/cmp.js
@@ -0,0 +1,13 @@
+'use strict';
+
+var test = require('tape');
+var stringify = require('../');
+
+test('custom comparison function', function (t) {
+ t.plan(1);
+ var obj = { c: 8, b: [{z:6,y:5,x:4},7], a: 3 };
+ var s = stringify(obj, function (a, b) {
+ return a.key < b.key ? 1 : -1;
+ });
+ t.equal(s, '{"c":8,"b":[{"z":6,"y":5,"x":4},7],"a":3}');
+});
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/fast-json-stable-stringify/test/nested.js b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/fast-json-stable-stringify/test/nested.js
new file mode 100644
index 0000000..167a358
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/fast-json-stable-stringify/test/nested.js
@@ -0,0 +1,44 @@
+'use strict';
+
+var test = require('tape');
+var stringify = require('../');
+
+test('nested', function (t) {
+ t.plan(1);
+ var obj = { c: 8, b: [{z:6,y:5,x:4},7], a: 3 };
+ t.equal(stringify(obj), '{"a":3,"b":[{"x":4,"y":5,"z":6},7],"c":8}');
+});
+
+test('cyclic (default)', function (t) {
+ t.plan(1);
+ var one = { a: 1 };
+ var two = { a: 2, one: one };
+ one.two = two;
+ try {
+ stringify(one);
+ } catch (ex) {
+ t.equal(ex.toString(), 'TypeError: Converting circular structure to JSON');
+ }
+});
+
+test('cyclic (specifically allowed)', function (t) {
+ t.plan(1);
+ var one = { a: 1 };
+ var two = { a: 2, one: one };
+ one.two = two;
+ t.equal(stringify(one, {cycles:true}), '{"a":1,"two":{"a":2,"one":"__cycle__"}}');
+});
+
+test('repeated non-cyclic value', function(t) {
+ t.plan(1);
+ var one = { x: 1 };
+ var two = { a: one, b: one };
+ t.equal(stringify(two), '{"a":{"x":1},"b":{"x":1}}');
+});
+
+test('acyclic but with reused obj-property pointers', function (t) {
+ t.plan(1);
+ var x = { a: 1 };
+ var y = { b: x, c: x };
+ t.equal(stringify(y), '{"b":{"a":1},"c":{"a":1}}');
+});
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/fast-json-stable-stringify/test/str.js b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/fast-json-stable-stringify/test/str.js
new file mode 100644
index 0000000..99a9ade
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/fast-json-stable-stringify/test/str.js
@@ -0,0 +1,46 @@
+'use strict';
+
+var test = require('tape');
+var stringify = require('../');
+
+test('simple object', function (t) {
+ t.plan(1);
+ var obj = { c: 6, b: [4,5], a: 3, z: null };
+ t.equal(stringify(obj), '{"a":3,"b":[4,5],"c":6,"z":null}');
+});
+
+test('object with undefined', function (t) {
+ t.plan(1);
+ var obj = { a: 3, z: undefined };
+ t.equal(stringify(obj), '{"a":3}');
+});
+
+test('object with null', function (t) {
+ t.plan(1);
+ var obj = { a: 3, z: null };
+ t.equal(stringify(obj), '{"a":3,"z":null}');
+});
+
+test('object with NaN and Infinity', function (t) {
+ t.plan(1);
+ var obj = { a: 3, b: NaN, c: Infinity };
+ t.equal(stringify(obj), '{"a":3,"b":null,"c":null}');
+});
+
+test('array with undefined', function (t) {
+ t.plan(1);
+ var obj = [4, undefined, 6];
+ t.equal(stringify(obj), '[4,null,6]');
+});
+
+test('object with empty string', function (t) {
+ t.plan(1);
+ var obj = { a: 3, z: '' };
+ t.equal(stringify(obj), '{"a":3,"z":""}');
+});
+
+test('array with empty string', function (t) {
+ t.plan(1);
+ var obj = [4, '', 6];
+ t.equal(stringify(obj), '[4,"",6]');
+});
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/fast-json-stable-stringify/test/to-json.js b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/fast-json-stable-stringify/test/to-json.js
new file mode 100644
index 0000000..2fb2cfa
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/fast-json-stable-stringify/test/to-json.js
@@ -0,0 +1,22 @@
+'use strict';
+
+var test = require('tape');
+var stringify = require('../');
+
+test('toJSON function', function (t) {
+ t.plan(1);
+ var obj = { one: 1, two: 2, toJSON: function() { return { one: 1 }; } };
+ t.equal(stringify(obj), '{"one":1}' );
+});
+
+test('toJSON returns string', function (t) {
+ t.plan(1);
+ var obj = { one: 1, two: 2, toJSON: function() { return 'one'; } };
+ t.equal(stringify(obj), '"one"');
+});
+
+test('toJSON returns array', function (t) {
+ t.plan(1);
+ var obj = { one: 1, two: 2, toJSON: function() { return ['one']; } };
+ t.equal(stringify(obj), '["one"]');
+});
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/fill-range/LICENSE b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/fill-range/LICENSE
new file mode 100644
index 0000000..9af4a67
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/fill-range/LICENSE
@@ -0,0 +1,21 @@
+The MIT License (MIT)
+
+Copyright (c) 2014-present, Jon Schlinkert.
+
+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.
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/fill-range/README.md b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/fill-range/README.md
new file mode 100644
index 0000000..8d756fe
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/fill-range/README.md
@@ -0,0 +1,237 @@
+# fill-range [![Donate](https://img.shields.io/badge/Donate-PayPal-green.svg)](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=W8YFZ425KND68) [![NPM version](https://img.shields.io/npm/v/fill-range.svg?style=flat)](https://www.npmjs.com/package/fill-range) [![NPM monthly downloads](https://img.shields.io/npm/dm/fill-range.svg?style=flat)](https://npmjs.org/package/fill-range) [![NPM total downloads](https://img.shields.io/npm/dt/fill-range.svg?style=flat)](https://npmjs.org/package/fill-range) [![Linux Build Status](https://img.shields.io/travis/jonschlinkert/fill-range.svg?style=flat&label=Travis)](https://travis-ci.org/jonschlinkert/fill-range)
+
+> Fill in a range of numbers or letters, optionally passing an increment or `step` to use, or create a regex-compatible range with `options.toRegex`
+
+Please consider following this project's author, [Jon Schlinkert](https://github.com/jonschlinkert), and consider starring the project to show your :heart: and support.
+
+## Install
+
+Install with [npm](https://www.npmjs.com/):
+
+```sh
+$ npm install --save fill-range
+```
+
+## Usage
+
+Expands numbers and letters, optionally using a `step` as the last argument. _(Numbers may be defined as JavaScript numbers or strings)_.
+
+```js
+const fill = require('fill-range');
+// fill(from, to[, step, options]);
+
+console.log(fill('1', '10')); //=> ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10']
+console.log(fill('1', '10', { toRegex: true })); //=> [1-9]|10
+```
+
+**Params**
+
+* `from`: **{String|Number}** the number or letter to start with
+* `to`: **{String|Number}** the number or letter to end with
+* `step`: **{String|Number|Object|Function}** Optionally pass a [step](#optionsstep) to use.
+* `options`: **{Object|Function}**: See all available [options](#options)
+
+## Examples
+
+By default, an array of values is returned.
+
+**Alphabetical ranges**
+
+```js
+console.log(fill('a', 'e')); //=> ['a', 'b', 'c', 'd', 'e']
+console.log(fill('A', 'E')); //=> [ 'A', 'B', 'C', 'D', 'E' ]
+```
+
+**Numerical ranges**
+
+Numbers can be defined as actual numbers or strings.
+
+```js
+console.log(fill(1, 5)); //=> [ 1, 2, 3, 4, 5 ]
+console.log(fill('1', '5')); //=> [ 1, 2, 3, 4, 5 ]
+```
+
+**Negative ranges**
+
+Numbers can be defined as actual numbers or strings.
+
+```js
+console.log(fill('-5', '-1')); //=> [ '-5', '-4', '-3', '-2', '-1' ]
+console.log(fill('-5', '5')); //=> [ '-5', '-4', '-3', '-2', '-1', '0', '1', '2', '3', '4', '5' ]
+```
+
+**Steps (increments)**
+
+```js
+// numerical ranges with increments
+console.log(fill('0', '25', 4)); //=> [ '0', '4', '8', '12', '16', '20', '24' ]
+console.log(fill('0', '25', 5)); //=> [ '0', '5', '10', '15', '20', '25' ]
+console.log(fill('0', '25', 6)); //=> [ '0', '6', '12', '18', '24' ]
+
+// alphabetical ranges with increments
+console.log(fill('a', 'z', 4)); //=> [ 'a', 'e', 'i', 'm', 'q', 'u', 'y' ]
+console.log(fill('a', 'z', 5)); //=> [ 'a', 'f', 'k', 'p', 'u', 'z' ]
+console.log(fill('a', 'z', 6)); //=> [ 'a', 'g', 'm', 's', 'y' ]
+```
+
+## Options
+
+### options.step
+
+**Type**: `number` (formatted as a string or number)
+
+**Default**: `undefined`
+
+**Description**: The increment to use for the range. Can be used with letters or numbers.
+
+**Example(s)**
+
+```js
+// numbers
+console.log(fill('1', '10', 2)); //=> [ '1', '3', '5', '7', '9' ]
+console.log(fill('1', '10', 3)); //=> [ '1', '4', '7', '10' ]
+console.log(fill('1', '10', 4)); //=> [ '1', '5', '9' ]
+
+// letters
+console.log(fill('a', 'z', 5)); //=> [ 'a', 'f', 'k', 'p', 'u', 'z' ]
+console.log(fill('a', 'z', 7)); //=> [ 'a', 'h', 'o', 'v' ]
+console.log(fill('a', 'z', 9)); //=> [ 'a', 'j', 's' ]
+```
+
+### options.strictRanges
+
+**Type**: `boolean`
+
+**Default**: `false`
+
+**Description**: By default, `null` is returned when an invalid range is passed. Enable this option to throw a `RangeError` on invalid ranges.
+
+**Example(s)**
+
+The following are all invalid:
+
+```js
+fill('1.1', '2'); // decimals not supported in ranges
+fill('a', '2'); // incompatible range values
+fill(1, 10, 'foo'); // invalid "step" argument
+```
+
+### options.stringify
+
+**Type**: `boolean`
+
+**Default**: `undefined`
+
+**Description**: Cast all returned values to strings. By default, integers are returned as numbers.
+
+**Example(s)**
+
+```js
+console.log(fill(1, 5)); //=> [ 1, 2, 3, 4, 5 ]
+console.log(fill(1, 5, { stringify: true })); //=> [ '1', '2', '3', '4', '5' ]
+```
+
+### options.toRegex
+
+**Type**: `boolean`
+
+**Default**: `undefined`
+
+**Description**: Create a regex-compatible source string, instead of expanding values to an array.
+
+**Example(s)**
+
+```js
+// alphabetical range
+console.log(fill('a', 'e', { toRegex: true })); //=> '[a-e]'
+// alphabetical with step
+console.log(fill('a', 'z', 3, { toRegex: true })); //=> 'a|d|g|j|m|p|s|v|y'
+// numerical range
+console.log(fill('1', '100', { toRegex: true })); //=> '[1-9]|[1-9][0-9]|100'
+// numerical range with zero padding
+console.log(fill('000001', '100000', { toRegex: true }));
+//=> '0{5}[1-9]|0{4}[1-9][0-9]|0{3}[1-9][0-9]{2}|0{2}[1-9][0-9]{3}|0[1-9][0-9]{4}|100000'
+```
+
+### options.transform
+
+**Type**: `function`
+
+**Default**: `undefined`
+
+**Description**: Customize each value in the returned array (or [string](#optionstoRegex)). _(you can also pass this function as the last argument to `fill()`)_.
+
+**Example(s)**
+
+```js
+// add zero padding
+console.log(fill(1, 5, value => String(value).padStart(4, '0')));
+//=> ['0001', '0002', '0003', '0004', '0005']
+```
+
+## About
+
+
+Contributing
+
+Pull requests and stars are always welcome. For bugs and feature requests, [please create an issue](../../issues/new).
+
+
+
+
+Running Tests
+
+Running and reviewing unit tests is a great way to get familiarized with a library and its API. You can install dependencies and run tests with the following command:
+
+```sh
+$ npm install && npm test
+```
+
+
+
+
+Building docs
+
+_(This project's readme.md is generated by [verb](https://github.com/verbose/verb-generate-readme), please don't edit the readme directly. Any changes to the readme must be made in the [.verb.md](.verb.md) readme template.)_
+
+To generate the readme, run the following command:
+
+```sh
+$ npm install -g verbose/verb#dev verb-generate-readme && verb
+```
+
+
+
+### Contributors
+
+| **Commits** | **Contributor** |
+| --- | --- |
+| 116 | [jonschlinkert](https://github.com/jonschlinkert) |
+| 4 | [paulmillr](https://github.com/paulmillr) |
+| 2 | [realityking](https://github.com/realityking) |
+| 2 | [bluelovers](https://github.com/bluelovers) |
+| 1 | [edorivai](https://github.com/edorivai) |
+| 1 | [wtgtybhertgeghgtwtg](https://github.com/wtgtybhertgeghgtwtg) |
+
+### Author
+
+**Jon Schlinkert**
+
+* [GitHub Profile](https://github.com/jonschlinkert)
+* [Twitter Profile](https://twitter.com/jonschlinkert)
+* [LinkedIn Profile](https://linkedin.com/in/jonschlinkert)
+
+Please consider supporting me on Patreon, or [start your own Patreon page](https://patreon.com/invite/bxpbvm)!
+
+
+
+
+
+### License
+
+Copyright © 2019, [Jon Schlinkert](https://github.com/jonschlinkert).
+Released under the [MIT License](LICENSE).
+
+***
+
+_This file was generated by [verb-generate-readme](https://github.com/verbose/verb-generate-readme), v0.8.0, on April 08, 2019._
\ No newline at end of file
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/fill-range/index.js b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/fill-range/index.js
new file mode 100644
index 0000000..97ce35a
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/fill-range/index.js
@@ -0,0 +1,249 @@
+/*!
+ * fill-range
+ *
+ * Copyright (c) 2014-present, Jon Schlinkert.
+ * Licensed under the MIT License.
+ */
+
+'use strict';
+
+const util = require('util');
+const toRegexRange = require('to-regex-range');
+
+const isObject = val => val !== null && typeof val === 'object' && !Array.isArray(val);
+
+const transform = toNumber => {
+ return value => toNumber === true ? Number(value) : String(value);
+};
+
+const isValidValue = value => {
+ return typeof value === 'number' || (typeof value === 'string' && value !== '');
+};
+
+const isNumber = num => Number.isInteger(+num);
+
+const zeros = input => {
+ let value = `${input}`;
+ let index = -1;
+ if (value[0] === '-') value = value.slice(1);
+ if (value === '0') return false;
+ while (value[++index] === '0');
+ return index > 0;
+};
+
+const stringify = (start, end, options) => {
+ if (typeof start === 'string' || typeof end === 'string') {
+ return true;
+ }
+ return options.stringify === true;
+};
+
+const pad = (input, maxLength, toNumber) => {
+ if (maxLength > 0) {
+ let dash = input[0] === '-' ? '-' : '';
+ if (dash) input = input.slice(1);
+ input = (dash + input.padStart(dash ? maxLength - 1 : maxLength, '0'));
+ }
+ if (toNumber === false) {
+ return String(input);
+ }
+ return input;
+};
+
+const toMaxLen = (input, maxLength) => {
+ let negative = input[0] === '-' ? '-' : '';
+ if (negative) {
+ input = input.slice(1);
+ maxLength--;
+ }
+ while (input.length < maxLength) input = '0' + input;
+ return negative ? ('-' + input) : input;
+};
+
+const toSequence = (parts, options) => {
+ parts.negatives.sort((a, b) => a < b ? -1 : a > b ? 1 : 0);
+ parts.positives.sort((a, b) => a < b ? -1 : a > b ? 1 : 0);
+
+ let prefix = options.capture ? '' : '?:';
+ let positives = '';
+ let negatives = '';
+ let result;
+
+ if (parts.positives.length) {
+ positives = parts.positives.join('|');
+ }
+
+ if (parts.negatives.length) {
+ negatives = `-(${prefix}${parts.negatives.join('|')})`;
+ }
+
+ if (positives && negatives) {
+ result = `${positives}|${negatives}`;
+ } else {
+ result = positives || negatives;
+ }
+
+ if (options.wrap) {
+ return `(${prefix}${result})`;
+ }
+
+ return result;
+};
+
+const toRange = (a, b, isNumbers, options) => {
+ if (isNumbers) {
+ return toRegexRange(a, b, { wrap: false, ...options });
+ }
+
+ let start = String.fromCharCode(a);
+ if (a === b) return start;
+
+ let stop = String.fromCharCode(b);
+ return `[${start}-${stop}]`;
+};
+
+const toRegex = (start, end, options) => {
+ if (Array.isArray(start)) {
+ let wrap = options.wrap === true;
+ let prefix = options.capture ? '' : '?:';
+ return wrap ? `(${prefix}${start.join('|')})` : start.join('|');
+ }
+ return toRegexRange(start, end, options);
+};
+
+const rangeError = (...args) => {
+ return new RangeError('Invalid range arguments: ' + util.inspect(...args));
+};
+
+const invalidRange = (start, end, options) => {
+ if (options.strictRanges === true) throw rangeError([start, end]);
+ return [];
+};
+
+const invalidStep = (step, options) => {
+ if (options.strictRanges === true) {
+ throw new TypeError(`Expected step "${step}" to be a number`);
+ }
+ return [];
+};
+
+const fillNumbers = (start, end, step = 1, options = {}) => {
+ let a = Number(start);
+ let b = Number(end);
+
+ if (!Number.isInteger(a) || !Number.isInteger(b)) {
+ if (options.strictRanges === true) throw rangeError([start, end]);
+ return [];
+ }
+
+ // fix negative zero
+ if (a === 0) a = 0;
+ if (b === 0) b = 0;
+
+ let descending = a > b;
+ let startString = String(start);
+ let endString = String(end);
+ let stepString = String(step);
+ step = Math.max(Math.abs(step), 1);
+
+ let padded = zeros(startString) || zeros(endString) || zeros(stepString);
+ let maxLen = padded ? Math.max(startString.length, endString.length, stepString.length) : 0;
+ let toNumber = padded === false && stringify(start, end, options) === false;
+ let format = options.transform || transform(toNumber);
+
+ if (options.toRegex && step === 1) {
+ return toRange(toMaxLen(start, maxLen), toMaxLen(end, maxLen), true, options);
+ }
+
+ let parts = { negatives: [], positives: [] };
+ let push = num => parts[num < 0 ? 'negatives' : 'positives'].push(Math.abs(num));
+ let range = [];
+ let index = 0;
+
+ while (descending ? a >= b : a <= b) {
+ if (options.toRegex === true && step > 1) {
+ push(a);
+ } else {
+ range.push(pad(format(a, index), maxLen, toNumber));
+ }
+ a = descending ? a - step : a + step;
+ index++;
+ }
+
+ if (options.toRegex === true) {
+ return step > 1
+ ? toSequence(parts, options)
+ : toRegex(range, null, { wrap: false, ...options });
+ }
+
+ return range;
+};
+
+const fillLetters = (start, end, step = 1, options = {}) => {
+ if ((!isNumber(start) && start.length > 1) || (!isNumber(end) && end.length > 1)) {
+ return invalidRange(start, end, options);
+ }
+
+
+ let format = options.transform || (val => String.fromCharCode(val));
+ let a = `${start}`.charCodeAt(0);
+ let b = `${end}`.charCodeAt(0);
+
+ let descending = a > b;
+ let min = Math.min(a, b);
+ let max = Math.max(a, b);
+
+ if (options.toRegex && step === 1) {
+ return toRange(min, max, false, options);
+ }
+
+ let range = [];
+ let index = 0;
+
+ while (descending ? a >= b : a <= b) {
+ range.push(format(a, index));
+ a = descending ? a - step : a + step;
+ index++;
+ }
+
+ if (options.toRegex === true) {
+ return toRegex(range, null, { wrap: false, options });
+ }
+
+ return range;
+};
+
+const fill = (start, end, step, options = {}) => {
+ if (end == null && isValidValue(start)) {
+ return [start];
+ }
+
+ if (!isValidValue(start) || !isValidValue(end)) {
+ return invalidRange(start, end, options);
+ }
+
+ if (typeof step === 'function') {
+ return fill(start, end, 1, { transform: step });
+ }
+
+ if (isObject(step)) {
+ return fill(start, end, 0, step);
+ }
+
+ let opts = { ...options };
+ if (opts.capture === true) opts.wrap = true;
+ step = step || opts.step || 1;
+
+ if (!isNumber(step)) {
+ if (step != null && !isObject(step)) return invalidStep(step, opts);
+ return fill(start, end, 1, step);
+ }
+
+ if (isNumber(start) && isNumber(end)) {
+ return fillNumbers(start, end, step, opts);
+ }
+
+ return fillLetters(start, end, Math.max(Math.abs(step), 1), opts);
+};
+
+module.exports = fill;
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/fill-range/package.json b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/fill-range/package.json
new file mode 100644
index 0000000..07d3076
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/fill-range/package.json
@@ -0,0 +1,69 @@
+{
+ "name": "fill-range",
+ "description": "Fill in a range of numbers or letters, optionally passing an increment or `step` to use, or create a regex-compatible range with `options.toRegex`",
+ "version": "7.0.1",
+ "homepage": "https://github.com/jonschlinkert/fill-range",
+ "author": "Jon Schlinkert (https://github.com/jonschlinkert)",
+ "contributors": [
+ "Edo Rivai (edo.rivai.nl)",
+ "Jon Schlinkert (http://twitter.com/jonschlinkert)",
+ "Paul Miller (paulmillr.com)",
+ "Rouven Weßling (www.rouvenwessling.de)",
+ "(https://github.com/wtgtybhertgeghgtwtg)"
+ ],
+ "repository": "jonschlinkert/fill-range",
+ "bugs": {
+ "url": "https://github.com/jonschlinkert/fill-range/issues"
+ },
+ "license": "MIT",
+ "files": [
+ "index.js"
+ ],
+ "main": "index.js",
+ "engines": {
+ "node": ">=8"
+ },
+ "scripts": {
+ "test": "mocha"
+ },
+ "dependencies": {
+ "to-regex-range": "^5.0.1"
+ },
+ "devDependencies": {
+ "gulp-format-md": "^2.0.0",
+ "mocha": "^6.1.1"
+ },
+ "keywords": [
+ "alpha",
+ "alphabetical",
+ "array",
+ "bash",
+ "brace",
+ "expand",
+ "expansion",
+ "fill",
+ "glob",
+ "match",
+ "matches",
+ "matching",
+ "number",
+ "numerical",
+ "range",
+ "ranges",
+ "regex",
+ "sh"
+ ],
+ "verb": {
+ "toc": false,
+ "layout": "default",
+ "tasks": [
+ "readme"
+ ],
+ "plugins": [
+ "gulp-format-md"
+ ],
+ "lint": {
+ "reflinks": true
+ }
+ }
+}
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/find-up/index.js b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/find-up/index.js
new file mode 100644
index 0000000..939c955
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/find-up/index.js
@@ -0,0 +1,48 @@
+'use strict';
+const path = require('path');
+const locatePath = require('locate-path');
+
+module.exports = (filename, opts) => {
+ opts = opts || {};
+
+ const startDir = path.resolve(opts.cwd || '');
+ const root = path.parse(startDir).root;
+
+ const filenames = [].concat(filename);
+
+ return new Promise(resolve => {
+ (function find(dir) {
+ locatePath(filenames, {cwd: dir}).then(file => {
+ if (file) {
+ resolve(path.join(dir, file));
+ } else if (dir === root) {
+ resolve(null);
+ } else {
+ find(path.dirname(dir));
+ }
+ });
+ })(startDir);
+ });
+};
+
+module.exports.sync = (filename, opts) => {
+ opts = opts || {};
+
+ let dir = path.resolve(opts.cwd || '');
+ const root = path.parse(dir).root;
+
+ const filenames = [].concat(filename);
+
+ // eslint-disable-next-line no-constant-condition
+ while (true) {
+ const file = locatePath.sync(filenames, {cwd: dir});
+
+ if (file) {
+ return path.join(dir, file);
+ } else if (dir === root) {
+ return null;
+ }
+
+ dir = path.dirname(dir);
+ }
+};
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/find-up/license b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/find-up/license
new file mode 100644
index 0000000..654d0bf
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/find-up/license
@@ -0,0 +1,21 @@
+The MIT License (MIT)
+
+Copyright (c) Sindre Sorhus (sindresorhus.com)
+
+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.
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/find-up/package.json b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/find-up/package.json
new file mode 100644
index 0000000..7ec85bb
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/find-up/package.json
@@ -0,0 +1,53 @@
+{
+ "name": "find-up",
+ "version": "2.1.0",
+ "description": "Find a file by walking up parent directories",
+ "license": "MIT",
+ "repository": "sindresorhus/find-up",
+ "author": {
+ "name": "Sindre Sorhus",
+ "email": "sindresorhus@gmail.com",
+ "url": "sindresorhus.com"
+ },
+ "engines": {
+ "node": ">=4"
+ },
+ "scripts": {
+ "test": "xo && ava"
+ },
+ "files": [
+ "index.js"
+ ],
+ "keywords": [
+ "find",
+ "up",
+ "find-up",
+ "findup",
+ "look-up",
+ "look",
+ "file",
+ "search",
+ "match",
+ "package",
+ "resolve",
+ "parent",
+ "parents",
+ "folder",
+ "directory",
+ "dir",
+ "walk",
+ "walking",
+ "path"
+ ],
+ "dependencies": {
+ "locate-path": "^2.0.0"
+ },
+ "devDependencies": {
+ "ava": "*",
+ "tempfile": "^1.1.1",
+ "xo": "*"
+ },
+ "xo": {
+ "esnext": true
+ }
+}
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/find-up/readme.md b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/find-up/readme.md
new file mode 100644
index 0000000..b5ad694
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/find-up/readme.md
@@ -0,0 +1,85 @@
+# find-up [![Build Status: Linux and macOS](https://travis-ci.org/sindresorhus/find-up.svg?branch=master)](https://travis-ci.org/sindresorhus/find-up) [![Build Status: Windows](https://ci.appveyor.com/api/projects/status/l0cyjmvh5lq72vq2/branch/master?svg=true)](https://ci.appveyor.com/project/sindresorhus/find-up/branch/master)
+
+> Find a file by walking up parent directories
+
+
+## Install
+
+```
+$ npm install --save find-up
+```
+
+
+## Usage
+
+```
+/
+└── Users
+ └── sindresorhus
+ ├── unicorn.png
+ └── foo
+ └── bar
+ ├── baz
+ └── example.js
+```
+
+```js
+// example.js
+const findUp = require('find-up');
+
+findUp('unicorn.png').then(filepath => {
+ console.log(filepath);
+ //=> '/Users/sindresorhus/unicorn.png'
+});
+
+findUp(['rainbow.png', 'unicorn.png']).then(filepath => {
+ console.log(filepath);
+ //=> '/Users/sindresorhus/unicorn.png'
+});
+```
+
+
+## API
+
+### findUp(filename, [options])
+
+Returns a `Promise` for the filepath or `null`.
+
+### findUp([filenameA, filenameB], [options])
+
+Returns a `Promise` for the first filepath found (by respecting the order) or `null`.
+
+### findUp.sync(filename, [options])
+
+Returns a filepath or `null`.
+
+### findUp.sync([filenameA, filenameB], [options])
+
+Returns the first filepath found (by respecting the order) or `null`.
+
+#### filename
+
+Type: `string`
+
+Filename of the file to find.
+
+#### options
+
+##### cwd
+
+Type: `string`
+Default: `process.cwd()`
+
+Directory to start from.
+
+
+## Related
+
+- [find-up-cli](https://github.com/sindresorhus/find-up-cli) - CLI for this module
+- [pkg-up](https://github.com/sindresorhus/pkg-up) - Find the closest package.json file
+- [pkg-dir](https://github.com/sindresorhus/pkg-dir) - Find the root directory of an npm package
+
+
+## License
+
+MIT © [Sindre Sorhus](https://sindresorhus.com)
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/for-in/LICENSE b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/for-in/LICENSE
new file mode 100644
index 0000000..d734237
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/for-in/LICENSE
@@ -0,0 +1,21 @@
+The MIT License (MIT)
+
+Copyright (c) 2014-2017, Jon Schlinkert
+
+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.
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/for-in/README.md b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/for-in/README.md
new file mode 100644
index 0000000..874e189
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/for-in/README.md
@@ -0,0 +1,85 @@
+# for-in [![NPM version](https://img.shields.io/npm/v/for-in.svg?style=flat)](https://www.npmjs.com/package/for-in) [![NPM monthly downloads](https://img.shields.io/npm/dm/for-in.svg?style=flat)](https://npmjs.org/package/for-in) [![NPM total downloads](https://img.shields.io/npm/dt/for-in.svg?style=flat)](https://npmjs.org/package/for-in) [![Linux Build Status](https://img.shields.io/travis/jonschlinkert/for-in.svg?style=flat&label=Travis)](https://travis-ci.org/jonschlinkert/for-in)
+
+> Iterate over the own and inherited enumerable properties of an object, and return an object with properties that evaluate to true from the callback. Exit early by returning `false`. JavaScript/Node.js
+
+## Install
+
+Install with [npm](https://www.npmjs.com/):
+
+```sh
+$ npm install --save for-in
+```
+
+## Usage
+
+```js
+var forIn = require('for-in');
+
+var obj = {a: 'foo', b: 'bar', c: 'baz'};
+var values = [];
+var keys = [];
+
+forIn(obj, function (value, key, o) {
+ keys.push(key);
+ values.push(value);
+});
+
+console.log(keys);
+//=> ['a', 'b', 'c'];
+
+console.log(values);
+//=> ['foo', 'bar', 'baz'];
+```
+
+## About
+
+### Related projects
+
+* [arr-flatten](https://www.npmjs.com/package/arr-flatten): Recursively flatten an array or arrays. This is the fastest implementation of array flatten. | [homepage](https://github.com/jonschlinkert/arr-flatten "Recursively flatten an array or arrays. This is the fastest implementation of array flatten.")
+* [collection-map](https://www.npmjs.com/package/collection-map): Returns an array of mapped values from an array or object. | [homepage](https://github.com/jonschlinkert/collection-map "Returns an array of mapped values from an array or object.")
+* [for-own](https://www.npmjs.com/package/for-own): Iterate over the own enumerable properties of an object, and return an object with properties… [more](https://github.com/jonschlinkert/for-own) | [homepage](https://github.com/jonschlinkert/for-own "Iterate over the own enumerable properties of an object, and return an object with properties that evaluate to true from the callback. Exit early by returning `false`. JavaScript/Node.js.")
+
+### Contributing
+
+Pull requests and stars are always welcome. For bugs and feature requests, [please create an issue](../../issues/new).
+
+### Contributors
+
+| **Commits** | **Contributor** |
+| --- | --- |
+| 16 | [jonschlinkert](https://github.com/jonschlinkert) |
+| 2 | [paulirish](https://github.com/paulirish) |
+
+### Building docs
+
+_(This project's readme.md is generated by [verb](https://github.com/verbose/verb-generate-readme), please don't edit the readme directly. Any changes to the readme must be made in the [.verb.md](.verb.md) readme template.)_
+
+To generate the readme, run the following command:
+
+```sh
+$ npm install -g verbose/verb#dev verb-generate-readme && verb
+```
+
+### Running tests
+
+Running and reviewing unit tests is a great way to get familiarized with a library and its API. You can install dependencies and run tests with the following command:
+
+```sh
+$ npm install && npm test
+```
+
+### Author
+
+**Jon Schlinkert**
+
+* [github/jonschlinkert](https://github.com/jonschlinkert)
+* [twitter/jonschlinkert](https://twitter.com/jonschlinkert)
+
+### License
+
+Copyright © 2017, [Jon Schlinkert](https://github.com/jonschlinkert).
+Released under the [MIT License](LICENSE).
+
+***
+
+_This file was generated by [verb-generate-readme](https://github.com/verbose/verb-generate-readme), v0.4.2, on February 28, 2017._
\ No newline at end of file
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/for-in/index.js b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/for-in/index.js
new file mode 100644
index 0000000..0b5f95f
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/for-in/index.js
@@ -0,0 +1,16 @@
+/*!
+ * for-in
+ *
+ * Copyright (c) 2014-2017, Jon Schlinkert.
+ * Released under the MIT License.
+ */
+
+'use strict';
+
+module.exports = function forIn(obj, fn, thisArg) {
+ for (var key in obj) {
+ if (fn.call(thisArg, obj[key], key, obj) === false) {
+ break;
+ }
+ }
+};
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/for-in/package.json b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/for-in/package.json
new file mode 100644
index 0000000..48810a1
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/for-in/package.json
@@ -0,0 +1,68 @@
+{
+ "name": "for-in",
+ "description": "Iterate over the own and inherited enumerable properties of an object, and return an object with properties that evaluate to true from the callback. Exit early by returning `false`. JavaScript/Node.js",
+ "version": "1.0.2",
+ "homepage": "https://github.com/jonschlinkert/for-in",
+ "author": "Jon Schlinkert (https://github.com/jonschlinkert)",
+ "contributors": [
+ "Jon Schlinkert (http://twitter.com/jonschlinkert)",
+ "Paul Irish (http://paulirish.com)"
+ ],
+ "repository": "jonschlinkert/for-in",
+ "bugs": {
+ "url": "https://github.com/jonschlinkert/for-in/issues"
+ },
+ "license": "MIT",
+ "files": [
+ "index.js"
+ ],
+ "main": "index.js",
+ "engines": {
+ "node": ">=0.10.0"
+ },
+ "scripts": {
+ "test": "mocha"
+ },
+ "devDependencies": {
+ "gulp-format-md": "^0.1.11",
+ "mocha": "^3.2.0"
+ },
+ "keywords": [
+ "for",
+ "for-in",
+ "for-own",
+ "has",
+ "has-own",
+ "hasOwn",
+ "in",
+ "key",
+ "keys",
+ "object",
+ "own",
+ "value"
+ ],
+ "verb": {
+ "run": true,
+ "toc": false,
+ "layout": "default",
+ "tasks": [
+ "readme"
+ ],
+ "plugins": [
+ "gulp-format-md"
+ ],
+ "related": {
+ "list": [
+ "arr-flatten",
+ "collection-map",
+ "for-own"
+ ]
+ },
+ "reflinks": [
+ "verb"
+ ],
+ "lint": {
+ "reflinks": true
+ }
+ }
+}
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/fragment-cache/LICENSE b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/fragment-cache/LICENSE
new file mode 100644
index 0000000..b11cb79
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/fragment-cache/LICENSE
@@ -0,0 +1,21 @@
+The MIT License (MIT)
+
+Copyright (c) 2016-2017, Jon Schlinkert
+
+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.
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/fragment-cache/README.md b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/fragment-cache/README.md
new file mode 100644
index 0000000..541ef0f
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/fragment-cache/README.md
@@ -0,0 +1,156 @@
+# fragment-cache [![NPM version](https://img.shields.io/npm/v/fragment-cache.svg?style=flat)](https://www.npmjs.com/package/fragment-cache) [![NPM downloads](https://img.shields.io/npm/dm/fragment-cache.svg?style=flat)](https://npmjs.org/package/fragment-cache) [![Linux Build Status](https://img.shields.io/travis/jonschlinkert/fragment-cache.svg?style=flat&label=Travis)](https://travis-ci.org/jonschlinkert/fragment-cache)
+
+> A cache for managing namespaced sub-caches
+
+## Install
+
+Install with [npm](https://www.npmjs.com/):
+
+```sh
+$ npm install --save fragment-cache
+```
+
+## Usage
+
+```js
+var Fragment = require('fragment-cache');
+var fragment = new Fragment();
+```
+
+## API
+
+### [FragmentCache](index.js#L24)
+
+Create a new `FragmentCache` with an optional object to use for `caches`.
+
+**Example**
+
+```js
+var fragment = new FragmentCache();
+```
+
+**Params**
+
+* `cacheName` **{String}**
+* `returns` **{Object}**: Returns the [map-cache](https://github.com/jonschlinkert/map-cache) instance.
+
+### [.cache](index.js#L49)
+
+Get cache `name` from the `fragment.caches` object. Creates a new `MapCache` if it doesn't already exist.
+
+**Example**
+
+```js
+var cache = fragment.cache('files');
+console.log(fragment.caches.hasOwnProperty('files'));
+//=> true
+```
+
+**Params**
+
+* `cacheName` **{String}**
+* `returns` **{Object}**: Returns the [map-cache](https://github.com/jonschlinkert/map-cache) instance.
+
+### [.set](index.js#L67)
+
+Set a value for property `key` on cache `name`
+
+**Example**
+
+```js
+fragment.set('files', 'somefile.js', new File({path: 'somefile.js'}));
+```
+
+**Params**
+
+* `name` **{String}**
+* `key` **{String}**: Property name to set
+* `val` **{any}**: The value of `key`
+* `returns` **{Object}**: The cache instance for chaining
+
+### [.has](index.js#L93)
+
+Returns true if a non-undefined value is set for `key` on fragment cache `name`.
+
+**Example**
+
+```js
+var cache = fragment.cache('files');
+cache.set('somefile.js');
+
+console.log(cache.has('somefile.js'));
+//=> true
+
+console.log(cache.has('some-other-file.js'));
+//=> false
+```
+
+**Params**
+
+* `name` **{String}**: Cache name
+* `key` **{String}**: Optionally specify a property to check for on cache `name`
+* `returns` **{Boolean}**
+
+### [.get](index.js#L115)
+
+Get `name`, or if specified, the value of `key`. Invokes the [cache](#cache) method, so that cache `name` will be created it doesn't already exist. If `key` is not passed, the entire cache (`name`) is returned.
+
+**Example**
+
+```js
+var Vinyl = require('vinyl');
+var cache = fragment.cache('files');
+cache.set('somefile.js', new Vinyl({path: 'somefile.js'}));
+console.log(cache.get('somefile.js'));
+//=>
+```
+
+**Params**
+
+* `name` **{String}**
+* `returns` **{Object}**: Returns cache `name`, or the value of `key` if specified
+
+## About
+
+### Related projects
+
+* [base](https://www.npmjs.com/package/base): base is the foundation for creating modular, unit testable and highly pluggable node.js applications, starting… [more](https://github.com/node-base/base) | [homepage](https://github.com/node-base/base "base is the foundation for creating modular, unit testable and highly pluggable node.js applications, starting with a handful of common methods, like `set`, `get`, `del` and `use`.")
+* [map-cache](https://www.npmjs.com/package/map-cache): Basic cache object for storing key-value pairs. | [homepage](https://github.com/jonschlinkert/map-cache "Basic cache object for storing key-value pairs.")
+
+### Contributing
+
+Pull requests and stars are always welcome. For bugs and feature requests, [please create an issue](../../issues/new).
+
+### Building docs
+
+_(This document was generated by [verb-generate-readme](https://github.com/verbose/verb-generate-readme) (a [verb](https://github.com/verbose/verb) generator), please don't edit the readme directly. Any changes to the readme must be made in [.verb.md](.verb.md).)_
+
+To generate the readme and API documentation with [verb](https://github.com/verbose/verb):
+
+```sh
+$ npm install -g verb verb-generate-readme && verb
+```
+
+### Running tests
+
+Install dev dependencies:
+
+```sh
+$ npm install -d && npm test
+```
+
+### Author
+
+**Jon Schlinkert**
+
+* [github/jonschlinkert](https://github.com/jonschlinkert)
+* [twitter/jonschlinkert](http://twitter.com/jonschlinkert)
+
+### License
+
+Copyright © 2016, [Jon Schlinkert](https://github.com/jonschlinkert).
+Released under the [MIT license](https://github.com/jonschlinkert/fragment-cache/blob/master/LICENSE).
+
+***
+
+_This file was generated by [verb-generate-readme](https://github.com/verbose/verb-generate-readme), v0.2.0, on October 17, 2016._
\ No newline at end of file
diff --git a/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/fragment-cache/index.js b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/fragment-cache/index.js
new file mode 100644
index 0000000..8ce6216
--- /dev/null
+++ b/11-前端模块化开发/03-webpack模块化开发/02-webpack_Loader使用/node_modules/fragment-cache/index.js
@@ -0,0 +1,128 @@
+/*!
+ * fragment-cache