Skip to content

Commit

Permalink
Update acorn to 8.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
stephenwade committed Apr 9, 2021
1 parent 1946f5c commit 1443fa8
Show file tree
Hide file tree
Showing 3 changed files with 51 additions and 9 deletions.
4 changes: 3 additions & 1 deletion examples/acorn.js
Expand Up @@ -3,4 +3,6 @@
const acorn = require("acorn");
const testParser = require("./parser");

module.exports = testParser(acorn.parse);
const parse = (input) => acorn.parse(input, { ecmaVersion: 2020 });

module.exports = testParser(parse);
54 changes: 47 additions & 7 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -45,7 +45,7 @@
"devDependencies": {
"@babel/generator": "7.13.9",
"@babel/parser": "7.13.15",
"acorn": "6.4.1",
"acorn": "8.1.0",
"cherow": "1.6.8",
"doctoc": "1.4.0",
"escodegen": "1.11.0",
Expand Down

0 comments on commit 1443fa8

Please sign in to comment.