Skip to content

Commit 1da16a7

Browse files
committed
chore: update javascript grammar
1 parent 148910e commit 1da16a7

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

common/define-grammar.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -300,6 +300,7 @@ module.exports = function defineGrammar(dialect) {
300300
$.import_require_clause,
301301
field('source', $.string),
302302
),
303+
optional($.import_attribute),
303304
$._semicolon,
304305
),
305306

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
"eslint": ">=8.56.0",
2424
"eslint-config-google": "^0.14.0",
2525
"tree-sitter-cli": "^0.20.8",
26-
"tree-sitter-javascript": "^0.20.2"
26+
"tree-sitter-javascript": "^0.20.3"
2727
},
2828
"scripts": {
2929
"build": "npm run build-typescript && npm run build-tsx",

0 commit comments

Comments
 (0)