Skip to content

Commit 6118cd0

Browse files
committed
Bump default ecmaVersion.
1 parent f6b581c commit 6118cd0

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ var xtend = require('xtend')
44
function mapOptions (opts) {
55
if (!opts) opts = {}
66
opts = xtend({
7-
ecmaVersion: 9,
7+
ecmaVersion: 2019,
88
allowHashBang: true,
99
allowReturnOutsideFunction: true
1010
}, opts)

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"url": "https://github.com/browserify/acorn-node/issues"
88
},
99
"dependencies": {
10-
"acorn": "^5.4.1",
10+
"acorn": "^5.6.2",
1111
"xtend": "^4.0.1"
1212
},
1313
"devDependencies": {

0 commit comments

Comments
 (0)