From 5343508cb808397e64f3cd0af8a8b0b6e11fb249 Mon Sep 17 00:00:00 2001 From: zackad Date: Sat, 17 Feb 2024 11:40:37 +0700 Subject: [PATCH] chore: bump dev dependencies to latest version Only `eslint-plugin-prettier` is kept on version 4 because we haven't fixed compatibility with prettier 3. Update test snapshots. --- package.json | 14 +- .../Comments/__snapshots__/jsfmt.spec.js.snap | 4 +- .../__snapshots__/jsfmt.spec.js.snap | 6 +- .../__snapshots__/jsfmt.spec.js.snap | 10 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- .../Element/__snapshots__/jsfmt.spec.js.snap | 20 +- .../__snapshots__/jsfmt.spec.js.snap | 22 +- .../Failing/__snapshots__/jsfmt.spec.js.snap | 4 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- .../__snapshots__/jsfmt.spec.js.snap | 14 +- .../__snapshots__/jsfmt.spec.js.snap | 14 +- .../Options/__snapshots__/jsfmt.spec.js.snap | 6 +- .../__snapshots__/jsfmt.spec.js.snap | 4 +- .../__snapshots__/jsfmt.spec.js.snap | 14 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- yarn.lock | 6106 ++++++++--------- 17 files changed, 2962 insertions(+), 3284 deletions(-) diff --git a/package.json b/package.json index 79ca1d20..281e54ff 100644 --- a/package.json +++ b/package.json @@ -28,13 +28,13 @@ "resolve": "^1.12.0" }, "devDependencies": { - "eslint": "^4.14.0", - "eslint-config-prettier": "^2.9.0", - "eslint-plugin-import": "^2.8.0", - "eslint-plugin-jest": "^21.5.0", - "eslint-plugin-prettier": "^2.4.0", - "jest": "^21.1.0", - "jest-runner-eslint": "^0.3.0" + "eslint": "^8.56.0", + "eslint-config-prettier": "^9.1.0", + "eslint-plugin-import": "^2.29.1", + "eslint-plugin-jest": "^27.9.0", + "eslint-plugin-prettier": "^4.0.0", + "jest": "^29.7.0", + "jest-runner-eslint": "^2.1.2" }, "jest": { "projects": [ diff --git a/tests/Comments/__snapshots__/jsfmt.spec.js.snap b/tests/Comments/__snapshots__/jsfmt.spec.js.snap index f46c15d3..4804847e 100644 --- a/tests/Comments/__snapshots__/jsfmt.spec.js.snap +++ b/tests/Comments/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`htmlComments.melody.twig 1`] = ` +exports[`htmlComments.melody.twig - melody-verify: htmlComments.melody.twig 1`] = ` This is a paragraph @@ -34,7 +34,7 @@ A third paragraph `; -exports[`twigComments.melody.twig 1`] = ` +exports[`twigComments.melody.twig - melody-verify: twigComments.melody.twig 1`] = ` {# One #} {# Two #} diff --git a/tests/ConstantValue/__snapshots__/jsfmt.spec.js.snap b/tests/ConstantValue/__snapshots__/jsfmt.spec.js.snap index a215009d..9767f0b8 100644 --- a/tests/ConstantValue/__snapshots__/jsfmt.spec.js.snap +++ b/tests/ConstantValue/__snapshots__/jsfmt.spec.js.snap @@ -1,20 +1,20 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`constant-value-int.melody.twig 1`] = ` +exports[`constant-value-int.melody.twig - melody-verify: constant-value-int.melody.twig 1`] = ` 123 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 123 `; -exports[`constant-value-string.melody.twig 1`] = ` +exports[`constant-value-string.melody.twig - melody-verify: constant-value-string.melody.twig 1`] = ` Test string ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Test string `; -exports[`special-cases.melody.twig 1`] = ` +exports[`special-cases.melody.twig - melody-verify: special-cases.melody.twig 1`] = ` {% if isRTL %}‎{% endif %} {% if searchResultFailing %} diff --git a/tests/ControlStructures/__snapshots__/jsfmt.spec.js.snap b/tests/ControlStructures/__snapshots__/jsfmt.spec.js.snap index 5a06ca83..c7c1bebb 100644 --- a/tests/ControlStructures/__snapshots__/jsfmt.spec.js.snap +++ b/tests/ControlStructures/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`for.melody.twig 1`] = ` +exports[`for.melody.twig - melody-verify: for.melody.twig 1`] = `