From 4e23526ce6b30db4a9c18dfe01331a7c47cae330 Mon Sep 17 00:00:00 2001 From: Xiliang Chen Date: Sat, 26 Aug 2023 21:52:27 +1200 Subject: [PATCH] Revert "Bump prettier from 2.8.8 to 3.0.2 (#5)" (#8) This reverts commit ff3544f239d2d47912d31c3e9a6486d96c66e456. --- package-lock.json | 41 +++++++++-------------------------------- package.json | 2 +- 2 files changed, 10 insertions(+), 33 deletions(-) diff --git a/package-lock.json b/package-lock.json index 375e612..943729f 100644 --- a/package-lock.json +++ b/package-lock.json @@ -26,7 +26,7 @@ "eslint-plugin-jest": "^27.2.3", "jest": "^29.6.4", "js-yaml": "^4.1.0", - "prettier": "^3.0.2", + "prettier": "^2.8.8", "ts-jest": "^29.1.0", "typescript": "^5.0.4" } @@ -3822,21 +3822,6 @@ "eslint": "^8.0.1" } }, - "node_modules/eslint-plugin-github/node_modules/prettier": { - "version": "2.8.8", - "resolved": "https://registry.npmjs.org/prettier/-/prettier-2.8.8.tgz", - "integrity": "sha512-tdN8qQGvNjw4CHbY+XXk0JgCXn9QiF21a55rBe5LJAU+kDyC4WQn4+awm2Xfk2lQMk5fKup9XgzTZtGkjBdP9Q==", - "dev": true, - "bin": { - "prettier": "bin-prettier.js" - }, - "engines": { - "node": ">=10.13.0" - }, - "funding": { - "url": "https://github.com/prettier/prettier?sponsor=1" - } - }, "node_modules/eslint-plugin-i18n-text": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/eslint-plugin-i18n-text/-/eslint-plugin-i18n-text-1.0.1.tgz", @@ -6679,15 +6664,15 @@ } }, "node_modules/prettier": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.0.2.tgz", - "integrity": "sha512-o2YR9qtniXvwEZlOKbveKfDQVyqxbEIWn48Z8m3ZJjBjcCmUy3xZGIv+7AkaeuaTr6yPXJjwv07ZWlsWbEy1rQ==", + "version": "2.8.8", + "resolved": "https://registry.npmjs.org/prettier/-/prettier-2.8.8.tgz", + "integrity": "sha512-tdN8qQGvNjw4CHbY+XXk0JgCXn9QiF21a55rBe5LJAU+kDyC4WQn4+awm2Xfk2lQMk5fKup9XgzTZtGkjBdP9Q==", "dev": true, "bin": { - "prettier": "bin/prettier.cjs" + "prettier": "bin-prettier.js" }, "engines": { - "node": ">=14" + "node": ">=10.13.0" }, "funding": { "url": "https://github.com/prettier/prettier?sponsor=1" @@ -10770,14 +10755,6 @@ "jsx-ast-utils": "^3.3.2", "prettier": "^2.2.1", "svg-element-attributes": "^1.3.1" - }, - "dependencies": { - "prettier": { - "version": "2.8.8", - "resolved": "https://registry.npmjs.org/prettier/-/prettier-2.8.8.tgz", - "integrity": "sha512-tdN8qQGvNjw4CHbY+XXk0JgCXn9QiF21a55rBe5LJAU+kDyC4WQn4+awm2Xfk2lQMk5fKup9XgzTZtGkjBdP9Q==", - "dev": true - } } }, "eslint-plugin-i18n-text": { @@ -12770,9 +12747,9 @@ "dev": true }, "prettier": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.0.2.tgz", - "integrity": "sha512-o2YR9qtniXvwEZlOKbveKfDQVyqxbEIWn48Z8m3ZJjBjcCmUy3xZGIv+7AkaeuaTr6yPXJjwv07ZWlsWbEy1rQ==", + "version": "2.8.8", + "resolved": "https://registry.npmjs.org/prettier/-/prettier-2.8.8.tgz", + "integrity": "sha512-tdN8qQGvNjw4CHbY+XXk0JgCXn9QiF21a55rBe5LJAU+kDyC4WQn4+awm2Xfk2lQMk5fKup9XgzTZtGkjBdP9Q==", "dev": true }, "prettier-linter-helpers": { diff --git a/package.json b/package.json index 7a4b65f..8a6f8a6 100644 --- a/package.json +++ b/package.json @@ -42,7 +42,7 @@ "eslint-plugin-jest": "^27.2.3", "jest": "^29.6.4", "js-yaml": "^4.1.0", - "prettier": "^3.0.2", + "prettier": "^2.8.8", "ts-jest": "^29.1.0", "typescript": "^5.0.4" }