Skip to content

Commit dc970b0

Browse files
Copilotemilos
andcommitted
Update meriyah to 7.0.0 and fix template test
Co-authored-by: emilos <2088208+emilos@users.noreply.github.com>
1 parent 93e9db2 commit dc970b0

File tree

3 files changed

+11
-9
lines changed

3 files changed

+11
-9
lines changed

package-lock.json

Lines changed: 9 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
"ast-types": "0.14.2",
4040
"astring": "^1.8.6",
4141
"esquery": "^1.5.0",
42-
"meriyah": "^4.4.0",
42+
"meriyah": "^7.0.0",
4343
"pure-conditions": "^1.2.1",
4444
"source-map": "^0.7.4"
4545
}

test/template.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ test("template: from string", () => {
1515
{
1616
type: "ExpressionStatement",
1717
expression: { type: "Literal", value: "use strict" },
18+
directive: "use strict",
1819
},
1920
])
2021
})

0 commit comments

Comments
 (0)