Skip to content

Commit

Permalink
fix: update webpack-runner & mini-runner snap
Browse files Browse the repository at this point in the history
@babel/helpers - typeof update
  • Loading branch information
zhiqingchen committed Apr 11, 2022
1 parent 1ba88cb commit d166341
Show file tree
Hide file tree
Showing 28 changed files with 1,442 additions and 1,760 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ require(\\"./taro\\");
function processApis() {}
var EMPTY_OBJ = {};
},
13: function(module, __webpack_exports__, __webpack_require__) {
12: function(module, __webpack_exports__, __webpack_require__) {
\\"use strict\\";
(function(navigator) {
var _tarojs_shared__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(1);
Expand Down Expand Up @@ -558,11 +558,11 @@ require(\\"./taro\\");
Object(_tarojs_shared__WEBPACK_IMPORTED_MODULE_0__[\\"e\\"])(components);
}).call(this, __webpack_require__(0)[\\"navigator\\"]);
},
14: function(module, exports, __webpack_require__) {},
18: function(module, __webpack_exports__, __webpack_require__) {
13: function(module, exports, __webpack_require__) {},
17: function(module, __webpack_exports__, __webpack_require__) {
\\"use strict\\";
__webpack_require__.r(__webpack_exports__);
var runtime = __webpack_require__(13);
var runtime = __webpack_require__(12);
var taro_runtime = __webpack_require__(0);
function _defineProperty(obj, key, value) {
if (key in obj) {
Expand Down Expand Up @@ -1214,7 +1214,7 @@ require(\\"./taro\\");
var oldDiffedHook, oldVNodeHook, runtime_options;
}
var mocks_react = __webpack_require__(2);
var src_app = __webpack_require__(14);
var src_app = __webpack_require__(13);
var app_App = function(_Component) {
Object(inherits[\\"a\\"])(App, _Component);
var _super = Object(createSuper[\\"a\\"])(App);
Expand Down Expand Up @@ -1243,7 +1243,7 @@ require(\\"./taro\\");
return App;
}(mocks_react[\\"Component\\"]);
var lib_src_app = app_App;
var taro_react = __webpack_require__(10);
var taro_react = __webpack_require__(9);
var app_config = {
pages: [ \\"pages/index/index\\" ],
window: {
Expand All @@ -1264,7 +1264,7 @@ require(\\"./taro\\");
}
});
}
}, [ [ 18, 0, 1, 3, 2 ] ] ]);
}, [ [ 17, 0, 1, 3, 2 ] ] ]);
Expand Down Expand Up @@ -1445,13 +1445,13 @@ require(\\"./taro\\");
/** filePath: dist/custom-wrapper.js **/
(my[\\"webpackJsonp\\"] = my[\\"webpackJsonp\\"] || []).push([ [ 6 ], {
15: function(module, __webpack_exports__, __webpack_require__) {
14: function(module, __webpack_exports__, __webpack_require__) {
\\"use strict\\";
__webpack_require__.r(__webpack_exports__);
var _tarojs_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(0);
Component(Object(_tarojs_runtime__WEBPACK_IMPORTED_MODULE_0__[\\"createRecursiveComponentConfig\\"])(\\"custom-wrapper\\"));
}
}, [ [ 15, 0, 1 ] ] ]);
}, [ [ 14, 0, 1 ] ] ]);
/** filePath: dist/custom-wrapper.json **/
{\\"component\\":true,\\"usingComponents\\":{\\"custom-wrapper\\":\\"./custom-wrapper\\"}}
Expand All @@ -1465,13 +1465,13 @@ require(\\"./taro\\");
/** filePath: dist/pages/index/index.js **/
(my[\\"webpackJsonp\\"] = my[\\"webpackJsonp\\"] || []).push([ [ 7 ], {
16: function(module, __webpack_exports__, __webpack_require__) {
15: function(module, __webpack_exports__, __webpack_require__) {
\\"use strict\\";
__webpack_require__.r(__webpack_exports__);
__webpack_exports__[\\"default\\"] = \\"dependencies\\";
},
17: function(module, exports, __webpack_require__) {},
19: function(module, __webpack_exports__, __webpack_require__) {
16: function(module, exports, __webpack_require__) {},
18: function(module, __webpack_exports__, __webpack_require__) {
\\"use strict\\";
__webpack_require__.r(__webpack_exports__);
var taro_runtime = __webpack_require__(0);
Expand Down Expand Up @@ -1512,7 +1512,7 @@ require(\\"./taro\\");
var regenerator_default = __webpack_require__.n(regenerator);
var react = __webpack_require__(2);
var taro_components = __webpack_require__(3);
var index = __webpack_require__(17);
var index = __webpack_require__(16);
var index_Index = function(_Component) {
Object(inherits[\\"a\\"])(Index, _Component);
var _super = Object(createSuper[\\"a\\"])(Index);
Expand Down Expand Up @@ -1580,9 +1580,9 @@ require(\\"./taro\\");
}, config || {}));
},
8: function(module, exports, __webpack_require__) {
module.exports = __webpack_require__(16);
module.exports = __webpack_require__(15);
}
}, [ [ 19, 0, 1, 3, 2 ] ] ]);
}, [ [ 18, 0, 1, 3, 2 ] ] ]);
/** filePath: dist/pages/index/index.json **/
{\\"navigationBarTitleText\\":\\"首页\\",\\"usingComponents\\":{\\"custom-wrapper\\":\\"../../custom-wrapper\\"}}
Expand All @@ -1597,13 +1597,13 @@ require(\\"./taro\\");
__webpack_require__.r(__webpack_exports__);
__webpack_exports__[\\"default\\"] = \\"taro-runtime-mock\\";
},
10: function(module, __webpack_exports__, __webpack_require__) {
\\"use strict\\";
__webpack_exports__[\\"a\\"] = \\"taro-react-mock\\";
},
3: function(module, __webpack_exports__, __webpack_require__) {
\\"use strict\\";
var _unused_webpack_default_export = \\"taro-components-mock\\";
},
9: function(module, __webpack_exports__, __webpack_require__) {
\\"use strict\\";
__webpack_exports__[\\"a\\"] = \\"taro-react-mock\\";
}
} ]);
Expand Down Expand Up @@ -1658,6 +1658,9 @@ export default {
function _createClass(Constructor, protoProps, staticProps) {
if (protoProps) _defineProperties(Constructor.prototype, protoProps);
if (staticProps) _defineProperties(Constructor, staticProps);
Object.defineProperty(Constructor, \\"prototype\\", {
writable: false
});
return Constructor;
}
}, function(module, __webpack_exports__, __webpack_require__) {
Expand All @@ -1682,16 +1685,22 @@ export default {
return false;
}
}
var helpers_typeof = __webpack_require__(9);
var typeof_default = __webpack_require__.n(helpers_typeof);
function _typeof(obj) {
\\"@babel/helpers - typeof\\";
return _typeof = \\"function\\" == typeof Symbol && \\"symbol\\" == typeof Symbol.iterator ? function(obj) {
return typeof obj;
} : function(obj) {
return obj && \\"function\\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \\"symbol\\" : typeof obj;
}, _typeof(obj);
}
function _assertThisInitialized(self) {
if (self === void 0) {
throw new ReferenceError(\\"this hasn't been initialised - super() hasn't been called\\");
}
return self;
}
function _possibleConstructorReturn(self, call) {
if (call && (typeof_default()(call) === \\"object\\" || typeof call === \\"function\\")) {
if (call && (_typeof(call) === \\"object\\" || typeof call === \\"function\\")) {
return call;
} else if (call !== void 0) {
throw new TypeError(\\"Derived constructors may only return object or undefined\\");
Expand Down Expand Up @@ -1734,26 +1743,11 @@ export default {
configurable: true
}
});
Object.defineProperty(subClass, \\"prototype\\", {
writable: false
});
if (superClass) _setPrototypeOf(subClass, superClass);
}
}, , function(module, exports) {
function _typeof(obj) {
\\"@babel/helpers - typeof\\";
if (typeof Symbol === \\"function\\" && typeof Symbol.iterator === \\"symbol\\") {
module.exports = _typeof = function _typeof(obj) {
return typeof obj;
};
module.exports[\\"default\\"] = module.exports, module.exports.__esModule = true;
} else {
module.exports = _typeof = function _typeof(obj) {
return obj && typeof Symbol === \\"function\\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \\"symbol\\" : typeof obj;
};
module.exports[\\"default\\"] = module.exports, module.exports.__esModule = true;
}
return _typeof(obj);
}
module.exports = _typeof;
module.exports[\\"default\\"] = module.exports, module.exports.__esModule = true;
} ] ]);
"
`;
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ require(\\"./vendors\\");
require(\\"./taro\\");
(wx[\\"webpackJsonp\\"] = wx[\\"webpackJsonp\\"] || []).push([ [ 4 ], {
11: function(module, exports, __webpack_require__) {},
15: function(module, __webpack_exports__, __webpack_require__) {
10: function(module, exports, __webpack_require__) {},
14: function(module, __webpack_exports__, __webpack_require__) {
\\"use strict\\";
__webpack_require__.r(__webpack_exports__);
var mocks_taro = \\"taro\\";
Expand Down Expand Up @@ -1020,7 +1020,7 @@ require(\\"./taro\\");
var oldDiffedHook, oldVNodeHook, runtime_options;
}
var mocks_react = __webpack_require__(5);
var src_app = __webpack_require__(11);
var src_app = __webpack_require__(10);
var app_App = function(_Component) {
Object(inherits[\\"a\\"])(App, _Component);
var _super = Object(createSuper[\\"a\\"])(App);
Expand Down Expand Up @@ -1049,7 +1049,7 @@ require(\\"./taro\\");
return App;
}(mocks_react[\\"Component\\"]);
var lib_src_app = app_App;
var taro_react = __webpack_require__(8);
var taro_react = __webpack_require__(7);
var app_config = {
pages: [ \\"pages/index/index\\" ],
window: {
Expand All @@ -1070,7 +1070,7 @@ require(\\"./taro\\");
}
});
}
}, [ [ 15, 0, 1, 3, 2 ] ] ]);
}, [ [ 14, 0, 1, 3, 2 ] ] ]);
Expand Down Expand Up @@ -1869,13 +1869,13 @@ require(\\"./taro\\");
/** filePath: dist/comp.js **/
(wx[\\"webpackJsonp\\"] = wx[\\"webpackJsonp\\"] || []).push([ [ 6 ], {
12: function(module, __webpack_exports__, __webpack_require__) {
11: function(module, __webpack_exports__, __webpack_require__) {
\\"use strict\\";
__webpack_require__.r(__webpack_exports__);
var _tarojs_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(0);
Component(Object(_tarojs_runtime__WEBPACK_IMPORTED_MODULE_0__[\\"createRecursiveComponentConfig\\"])());
}
}, [ [ 12, 0, 1 ] ] ]);
}, [ [ 11, 0, 1 ] ] ]);
/** filePath: dist/comp.json **/
{\\"component\\":true,\\"usingComponents\\":{\\"comp\\":\\"./comp\\",\\"custom-wrapper\\":\\"./custom-wrapper\\"}}
Expand All @@ -1886,13 +1886,13 @@ require(\\"./taro\\");
/** filePath: dist/custom-wrapper.js **/
(wx[\\"webpackJsonp\\"] = wx[\\"webpackJsonp\\"] || []).push([ [ 7 ], {
13: function(module, __webpack_exports__, __webpack_require__) {
12: function(module, __webpack_exports__, __webpack_require__) {
\\"use strict\\";
__webpack_require__.r(__webpack_exports__);
var _tarojs_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(0);
Component(Object(_tarojs_runtime__WEBPACK_IMPORTED_MODULE_0__[\\"createRecursiveComponentConfig\\"])(\\"custom-wrapper\\"));
}
}, [ [ 13, 0, 1 ] ] ]);
}, [ [ 12, 0, 1 ] ] ]);
/** filePath: dist/custom-wrapper.json **/
{\\"component\\":true,\\"usingComponents\\":{\\"comp\\":\\"./comp\\",\\"custom-wrapper\\":\\"./custom-wrapper\\"}}
Expand All @@ -1905,8 +1905,8 @@ require(\\"./taro\\");
/** filePath: dist/pages/index/index.js **/
(wx[\\"webpackJsonp\\"] = wx[\\"webpackJsonp\\"] || []).push([ [ 8 ], {
14: function(module, exports, __webpack_require__) {},
16: function(module, __webpack_exports__, __webpack_require__) {
13: function(module, exports, __webpack_require__) {},
15: function(module, __webpack_exports__, __webpack_require__) {
\\"use strict\\";
__webpack_require__.r(__webpack_exports__);
var taro_runtime = __webpack_require__(0);
Expand All @@ -1916,7 +1916,7 @@ require(\\"./taro\\");
var createSuper = __webpack_require__(3);
var react = __webpack_require__(5);
var taro_components = __webpack_require__(6);
var index = __webpack_require__(14);
var index = __webpack_require__(13);
var index_Index = function(_Component) {
Object(inherits[\\"a\\"])(Index, _Component);
var _super = Object(createSuper[\\"a\\"])(Index);
Expand Down Expand Up @@ -1948,7 +1948,7 @@ require(\\"./taro\\");
}
}, config || {}));
}
}, [ [ 16, 0, 1, 3, 2 ] ] ]);
}, [ [ 15, 0, 1, 3, 2 ] ] ]);
/** filePath: dist/pages/index/index.json **/
{\\"navigationBarTitleText\\":\\"首页\\",\\"usingComponents\\":{\\"custom-wrapper\\":\\"../../custom-wrapper\\",\\"comp\\":\\"../../comp\\"}}
Expand All @@ -1964,20 +1964,16 @@ require(\\"./taro\\");
/** filePath: dist/taro.js **/
(wx[\\"webpackJsonp\\"] = wx[\\"webpackJsonp\\"] || []).push([ [ 1 ], {
0: function(module, __webpack_exports__, __webpack_require__) {
\\"use strict\\";
var _unused_webpack_default_export = \\"taro-runtime-mock\\";
},
6: function(module, __webpack_exports__, __webpack_require__) {
\\"use strict\\";
var _unused_webpack_default_export = \\"taro-components-mock\\";
},
8: function(module, __webpack_exports__, __webpack_require__) {
\\"use strict\\";
__webpack_exports__[\\"a\\"] = \\"taro-react-mock\\";
}
} ]);
(wx[\\"webpackJsonp\\"] = wx[\\"webpackJsonp\\"] || []).push([ [ 1 ], [ function(module, __webpack_exports__, __webpack_require__) {
\\"use strict\\";
var _unused_webpack_default_export = \\"taro-runtime-mock\\";
}, , , , , , function(module, __webpack_exports__, __webpack_require__) {
\\"use strict\\";
var _unused_webpack_default_export = \\"taro-components-mock\\";
}, function(module, __webpack_exports__, __webpack_require__) {
\\"use strict\\";
__webpack_exports__[\\"a\\"] = \\"taro-react-mock\\";
} ] ]);
/** filePath: dist/utils.wxs **/
module.exports = {
Expand Down Expand Up @@ -2048,6 +2044,9 @@ module.exports = {
function _createClass(Constructor, protoProps, staticProps) {
if (protoProps) _defineProperties(Constructor.prototype, protoProps);
if (staticProps) _defineProperties(Constructor, staticProps);
Object.defineProperty(Constructor, \\"prototype\\", {
writable: false
});
return Constructor;
}
}, function(module, __webpack_exports__, __webpack_require__) {
Expand All @@ -2072,16 +2071,22 @@ module.exports = {
return false;
}
}
var helpers_typeof = __webpack_require__(7);
var typeof_default = __webpack_require__.n(helpers_typeof);
function _typeof(obj) {
\\"@babel/helpers - typeof\\";
return _typeof = \\"function\\" == typeof Symbol && \\"symbol\\" == typeof Symbol.iterator ? function(obj) {
return typeof obj;
} : function(obj) {
return obj && \\"function\\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \\"symbol\\" : typeof obj;
}, _typeof(obj);
}
function _assertThisInitialized(self) {
if (self === void 0) {
throw new ReferenceError(\\"this hasn't been initialised - super() hasn't been called\\");
}
return self;
}
function _possibleConstructorReturn(self, call) {
if (call && (typeof_default()(call) === \\"object\\" || typeof call === \\"function\\")) {
if (call && (_typeof(call) === \\"object\\" || typeof call === \\"function\\")) {
return call;
} else if (call !== void 0) {
throw new TypeError(\\"Derived constructors may only return object or undefined\\");
Expand Down Expand Up @@ -2124,26 +2129,11 @@ module.exports = {
configurable: true
}
});
Object.defineProperty(subClass, \\"prototype\\", {
writable: false
});
if (superClass) _setPrototypeOf(subClass, superClass);
}
}, , , function(module, exports) {
function _typeof(obj) {
\\"@babel/helpers - typeof\\";
if (typeof Symbol === \\"function\\" && typeof Symbol.iterator === \\"symbol\\") {
module.exports = _typeof = function _typeof(obj) {
return typeof obj;
};
module.exports[\\"default\\"] = module.exports, module.exports.__esModule = true;
} else {
module.exports = _typeof = function _typeof(obj) {
return obj && typeof Symbol === \\"function\\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \\"symbol\\" : typeof obj;
};
module.exports[\\"default\\"] = module.exports, module.exports.__esModule = true;
}
return _typeof(obj);
}
module.exports = _typeof;
module.exports[\\"default\\"] = module.exports, module.exports.__esModule = true;
} ] ]);
"
`;
Loading

0 comments on commit d166341

Please sign in to comment.