Skip to content

Commit

Permalink
Merge pull request #1 from splatterxl/bigint-patch
Browse files Browse the repository at this point in the history
  • Loading branch information
MeguminSama authored Aug 2, 2022
2 parents 2a3a6ac + 5502eb3 commit 3db3448
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"dpacker": "./dist/index.js"
},
"dependencies": {
"acorn": "^8.7.0",
"acorn": "^8.8.0",
"assert": "^2.0.0",
"astring": "^1.8.1",
"chalk": "^5.0.1",
Expand Down
2 changes: 1 addition & 1 deletion src/unpack.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ module.exports = function unpack(source, opts) {
var ast =
typeof source === "object" && typeof source.type === "string"
? source
: acorn.parse(source, { ecmaVersion: 2019 });
: acorn.parse(source, { ecmaVersion: 2021 });

if (opts && opts.source) {
source = opts.source;
Expand Down

0 comments on commit 3db3448

Please sign in to comment.