Skip to content

Commit

Permalink
Upgrade babel preset (#55)
Browse files Browse the repository at this point in the history
* chore: upgrade babel-preset-o

* upgrade jest

* update snapshot
  • Loading branch information
huozhi authored Aug 20, 2021
1 parent 45462a3 commit 340bd33
Show file tree
Hide file tree
Showing 3 changed files with 1,533 additions and 2,328 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
"@rollup/plugin-node-resolve": "11.2.1",
"@rollup/plugin-typescript": "8.2.3",
"arg": "5.0.0",
"babel-preset-o": "0.4.1",
"babel-preset-o": "0.4.2",
"rollup": "2.55.1",
"rollup-plugin-preserve-shebang": "1.0.1",
"rollup-plugin-terser": "7.0.2",
Expand All @@ -55,7 +55,7 @@
},
"devDependencies": {
"@types/node": "14.14.32",
"jest": "26.6.1",
"jest": "27.0.6",
"ts-node": "10.0.0",
"typescript": "4.3.5"
}
Expand Down
14 changes: 12 additions & 2 deletions test/__snapshots__/compile.test.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ function _asyncFunc() {
return _asyncFunc.apply(this, arguments);
}
var _x = _classPrivateFieldLooseKey(\\"x\\");
var _x = /*#__PURE__*/_classPrivateFieldLooseKey(\\"x\\");
var A = function A() {
var _this = this;
Expand Down Expand Up @@ -162,7 +162,17 @@ function _createClass(Constructor, protoProps, staticProps) {
function _inheritsLoose(subClass, superClass) {
subClass.prototype = Object.create(superClass.prototype);
subClass.prototype.constructor = subClass;
subClass.__proto__ = superClass;
_setPrototypeOf(subClass, superClass);
}
function _setPrototypeOf(o, p) {
_setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) {
o.__proto__ = p;
return o;
};
return _setPrototypeOf(o, p);
}
var Parent = /*#__PURE__*/function () {
Expand Down
Loading

0 comments on commit 340bd33

Please sign in to comment.