From 59b3538483f123c86762bd191490ac62b23bcf53 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 4 Jan 2024 18:55:01 +0000 Subject: [PATCH] build(deps-dev): Bump prettier from 3.0.3 to 3.1.1 (#1711) * build(deps-dev): Bump prettier from 3.0.3 to 3.1.1 Bumps [prettier](https://github.com/prettier/prettier) from 3.0.3 to 3.1.1. - [Release notes](https://github.com/prettier/prettier/releases) - [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md) - [Commits](https://github.com/prettier/prettier/compare/3.0.3...3.1.1) --- updated-dependencies: - dependency-name: prettier dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] * format --------- Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Felix Boehm <188768+fb55@users.noreply.github.com> --- package-lock.json | 14 +++++++------- package.json | 2 +- src/Parser.ts | 8 ++++---- src/Tokenizer.ts | 6 +++--- 4 files changed, 15 insertions(+), 15 deletions(-) diff --git a/package-lock.json b/package-lock.json index 8e916e57b..2a53bfb10 100644 --- a/package-lock.json +++ b/package-lock.json @@ -31,7 +31,7 @@ "eslint-plugin-n": "^16.6.1", "eslint-plugin-unicorn": "^50.0.1", "jest": "^29.7.0", - "prettier": "^3.0.3", + "prettier": "^3.1.1", "ts-jest": "^29.1.1", "typescript": "^5.3.3" } @@ -4382,9 +4382,9 @@ } }, "node_modules/prettier": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.0.3.tgz", - "integrity": "sha512-L/4pUDMxcNa8R/EthV08Zt42WBO4h1rarVtK0K+QJG0X187OLo7l699jWw0GKuwzkPQ//jMFA/8Xm6Fh3J/DAg==", + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.1.1.tgz", + "integrity": "sha512-22UbSzg8luF4UuZtzgiUOfcGM8s4tjBv6dJRT7j275NXsy2jb4aJa4NNveul5x4eqlF1wuhuR2RElK71RvmVaw==", "dev": true, "bin": { "prettier": "bin/prettier.cjs" @@ -8499,9 +8499,9 @@ "dev": true }, "prettier": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.0.3.tgz", - "integrity": "sha512-L/4pUDMxcNa8R/EthV08Zt42WBO4h1rarVtK0K+QJG0X187OLo7l699jWw0GKuwzkPQ//jMFA/8Xm6Fh3J/DAg==", + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.1.1.tgz", + "integrity": "sha512-22UbSzg8luF4UuZtzgiUOfcGM8s4tjBv6dJRT7j275NXsy2jb4aJa4NNveul5x4eqlF1wuhuR2RElK71RvmVaw==", "dev": true }, "pretty-format": { diff --git a/package.json b/package.json index f02fd7253..2062f6097 100644 --- a/package.json +++ b/package.json @@ -76,7 +76,7 @@ "eslint-plugin-n": "^16.6.1", "eslint-plugin-unicorn": "^50.0.1", "jest": "^29.7.0", - "prettier": "^3.0.3", + "prettier": "^3.1.1", "ts-jest": "^29.1.1", "typescript": "^5.3.3" }, diff --git a/src/Parser.ts b/src/Parser.ts index 0ba2546d0..a055c3bd9 100644 --- a/src/Parser.ts +++ b/src/Parser.ts @@ -434,10 +434,10 @@ export class Parser implements Callbacks { quote === QuoteType.Double ? '"' : quote === QuoteType.Single - ? "'" - : quote === QuoteType.NoValue - ? undefined - : null, + ? "'" + : quote === QuoteType.NoValue + ? undefined + : null, ); if ( diff --git a/src/Tokenizer.ts b/src/Tokenizer.ts index 0ae7fca97..ef05c5152 100644 --- a/src/Tokenizer.ts +++ b/src/Tokenizer.ts @@ -611,9 +611,9 @@ export default class Tokenizer { this.xmlMode ? DecodingMode.Strict : this.baseState === State.Text || - this.baseState === State.InSpecialTag - ? DecodingMode.Legacy - : DecodingMode.Attribute, + this.baseState === State.InSpecialTag + ? DecodingMode.Legacy + : DecodingMode.Attribute, ); }