Skip to content

Commit e890035

Browse files
committed
update
1 parent 8090902 commit e890035

47 files changed

Lines changed: 183690 additions & 186639 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

web-tooling-benchmark/dist/acorn.bundle.js

Lines changed: 1192 additions & 1203 deletions
Large diffs are not rendered by default.

web-tooling-benchmark/dist/acorn.bundle.min.js

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
103 KB
Binary file not shown.

web-tooling-benchmark/dist/babel-minify.bundle.js

Lines changed: 67484 additions & 69505 deletions
Large diffs are not rendered by default.

web-tooling-benchmark/dist/babel-minify.bundle.min.js

Lines changed: 44 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
/*!
2+
* The buffer module from node.js, for the browser.
3+
*
4+
* @author Feross Aboukhadijeh <feross@feross.org> <http://feross.org>
5+
* @license MIT
6+
*/
985 KB
Binary file not shown.
994 KB
Binary file not shown.

web-tooling-benchmark/dist/babel.bundle.js

Lines changed: 78 additions & 90 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
/******/ (() => { // webpackBootstrap
2-
/******/ var __webpack_modules__ = ({
3-
4-
/***/ "./node_modules/@babel/standalone/babel.js":
5-
/*!*************************************************!*\
6-
!*** ./node_modules/@babel/standalone/babel.js ***!
7-
\*************************************************/
2+
/******/ var __webpack_modules__ = ([
3+
/* 0 */,
4+
/* 1 */,
5+
/* 2 */,
6+
/* 3 */,
7+
/* 4 */
88
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
99

10-
/* provided dependency */ var TextDecoder = __webpack_require__(/*! text-encoder */ "./node_modules/text-encoder/index.js")["TextDecoder"];
10+
/* provided dependency */ var TextDecoder = __webpack_require__(5)["TextDecoder"];
1111
(function (global, factory) {
1212
true ? factory(exports) :
1313
0;
@@ -133395,11 +133395,73 @@
133395133395

133396133396

133397133397
/***/ }),
133398+
/* 5 */
133399+
/***/ ((module) => {
133400+
133401+
var utf8Encodings = [
133402+
'utf8',
133403+
'utf-8',
133404+
'unicode-1-1-utf-8'
133405+
];
133406+
133407+
function TextEncoder(encoding) {
133408+
if (utf8Encodings.indexOf(encoding) < 0 && typeof encoding !== 'undefined' && encoding != null) {
133409+
throw new RangeError('Invalid encoding type. Only utf-8 is supported');
133410+
} else {
133411+
this.encoding = 'utf-8';
133412+
this.encode = function(str) {
133413+
if (typeof str !== 'string') {
133414+
throw new TypeError('passed argument must be of tye string');
133415+
}
133416+
var binstr = unescape(encodeURIComponent(str)),
133417+
arr = new Uint8Array(binstr.length);
133418+
const split = binstr.split('');
133419+
for (let i = 0; i < split.length; i++) {
133420+
arr[i] = split[i].charCodeAt(0);
133421+
}
133422+
return arr;
133423+
};
133424+
}
133425+
}
133426+
133427+
function TextDecoder(encoding) {
133428+
if (utf8Encodings.indexOf(encoding) < 0 && typeof encoding !== 'undefined' && encoding != null) {
133429+
throw new RangeError('Invalid encoding type. Only utf-8 is supported');
133430+
}
133431+
else {
133432+
this.encoding = 'utf-8';
133433+
this.decode = function (view, options) {
133434+
if (typeof view === 'undefined') {
133435+
return '';
133436+
}
133398133437

133399-
/***/ "./node_modules/babylon/lib/index.js":
133400-
/*!*******************************************!*\
133401-
!*** ./node_modules/babylon/lib/index.js ***!
133402-
\*******************************************/
133438+
var stream = (typeof options !== 'undefined' && stream in options) ? options.stream : false;
133439+
if (typeof stream !== 'boolean') {
133440+
throw new TypeError('stream option must be boolean');
133441+
}
133442+
133443+
if (!ArrayBuffer.isView(view)) {
133444+
throw new TypeError('passed argument must be an array buffer view');
133445+
} else {
133446+
var arr = new Uint8Array(view.buffer, view.byteOffset, view.byteLength),
133447+
charArr = new Array(arr.length);
133448+
for (let i = 0; i < arr.length; i++) {
133449+
charArr[i] = String.fromCharCode(arr[i]);
133450+
}
133451+
return decodeURIComponent(escape(charArr.join('')));
133452+
}
133453+
}
133454+
}
133455+
}
133456+
133457+
module.exports = {
133458+
TextEncoder,
133459+
TextDecoder,
133460+
};
133461+
133462+
133463+
/***/ }),
133464+
/* 6 */
133403133465
/***/ ((__unused_webpack_module, exports) => {
133404133466

133405133467
"use strict";
@@ -143989,79 +144051,8 @@ exports.parseExpression = parseExpression;
143989144051
exports.tokTypes = types;
143990144052

143991144053

143992-
/***/ }),
143993-
143994-
/***/ "./node_modules/text-encoder/index.js":
143995-
/*!********************************************!*\
143996-
!*** ./node_modules/text-encoder/index.js ***!
143997-
\********************************************/
143998-
/***/ ((module) => {
143999-
144000-
var utf8Encodings = [
144001-
'utf8',
144002-
'utf-8',
144003-
'unicode-1-1-utf-8'
144004-
];
144005-
144006-
function TextEncoder(encoding) {
144007-
if (utf8Encodings.indexOf(encoding) < 0 && typeof encoding !== 'undefined' && encoding != null) {
144008-
throw new RangeError('Invalid encoding type. Only utf-8 is supported');
144009-
} else {
144010-
this.encoding = 'utf-8';
144011-
this.encode = function(str) {
144012-
if (typeof str !== 'string') {
144013-
throw new TypeError('passed argument must be of tye string');
144014-
}
144015-
var binstr = unescape(encodeURIComponent(str)),
144016-
arr = new Uint8Array(binstr.length);
144017-
const split = binstr.split('');
144018-
for (let i = 0; i < split.length; i++) {
144019-
arr[i] = split[i].charCodeAt(0);
144020-
}
144021-
return arr;
144022-
};
144023-
}
144024-
}
144025-
144026-
function TextDecoder(encoding) {
144027-
if (utf8Encodings.indexOf(encoding) < 0 && typeof encoding !== 'undefined' && encoding != null) {
144028-
throw new RangeError('Invalid encoding type. Only utf-8 is supported');
144029-
}
144030-
else {
144031-
this.encoding = 'utf-8';
144032-
this.decode = function (view, options) {
144033-
if (typeof view === 'undefined') {
144034-
return '';
144035-
}
144036-
144037-
var stream = (typeof options !== 'undefined' && stream in options) ? options.stream : false;
144038-
if (typeof stream !== 'boolean') {
144039-
throw new TypeError('stream option must be boolean');
144040-
}
144041-
144042-
if (!ArrayBuffer.isView(view)) {
144043-
throw new TypeError('passed argument must be an array buffer view');
144044-
} else {
144045-
var arr = new Uint8Array(view.buffer, view.byteOffset, view.byteLength),
144046-
charArr = new Array(arr.length);
144047-
for (let i = 0; i < arr.length; i++) {
144048-
charArr[i] = String.fromCharCode(arr[i]);
144049-
}
144050-
return decodeURIComponent(escape(charArr.join('')));
144051-
}
144052-
}
144053-
}
144054-
}
144055-
144056-
module.exports = {
144057-
TextEncoder,
144058-
TextDecoder,
144059-
};
144060-
144061-
144062144054
/***/ })
144063-
144064-
/******/ });
144055+
/******/ ]);
144065144056
/************************************************************************/
144066144057
/******/ // The module cache
144067144058
/******/ var __webpack_module_cache__ = {};
@@ -144133,15 +144124,12 @@ var __webpack_exports__ = {};
144133144124
// This entry needs to be wrapped in an IIFE because it needs to be in strict mode.
144134144125
(() => {
144135144126
"use strict";
144136-
/*!***********************!*\
144137-
!*** ./src/babel.mjs ***!
144138-
\***********************/
144139144127
__webpack_require__.r(__webpack_exports__);
144140144128
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
144141144129
/* harmony export */ runTest: () => (/* binding */ runTest)
144142144130
/* harmony export */ });
144143-
/* harmony import */ var _babel_standalone__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/standalone */ "./node_modules/@babel/standalone/babel.js");
144144-
/* harmony import */ var babylon__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! babylon */ "./node_modules/babylon/lib/index.js");
144131+
/* harmony import */ var _babel_standalone__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(4);
144132+
/* harmony import */ var babylon__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(6);
144145144133
// Copyright 2017 the V8 project authors. All rights reserved.
144146144134
// Use of this source code is governed by a BSD-style license that can be
144147144135
// found in the LICENSE file.
@@ -144177,6 +144165,6 @@ function runTest(fileData) {
144177144165

144178144166
})();
144179144167

144168+
self.WTBenchmark = __webpack_exports__;
144180144169
/******/ })()
144181-
;
144182-
//# sourceMappingURL=babel.bundle.js.map
144170+
;

web-tooling-benchmark/dist/babel.bundle.min.js

Lines changed: 3 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)