From 05291ee007c6c1300daead2f8689ab8c595513c6 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 23 Dec 2024 15:17:25 +0000 Subject: [PATCH] build(deps): Bump entities from 5.0.0 to 6.0.0 (#1983) Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Felix <188768+fb55@users.noreply.github.com> --- package-lock.json | 9 ++++----- package.json | 2 +- src/Parser.ts | 2 +- src/Tokenizer.ts | 2 +- 4 files changed, 7 insertions(+), 8 deletions(-) diff --git a/package-lock.json b/package-lock.json index 26a9cf471..169ace89a 100644 --- a/package-lock.json +++ b/package-lock.json @@ -19,7 +19,7 @@ "domelementtype": "^2.3.0", "domhandler": "^5.0.3", "domutils": "^3.1.0", - "entities": "^5.0.0" + "entities": "^6.0.0" }, "devDependencies": { "@types/node": "^22.10.2", @@ -2007,10 +2007,9 @@ } }, "node_modules/entities": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/entities/-/entities-5.0.0.tgz", - "integrity": "sha512-BeJFvFRJddxobhvEdm5GqHzRV/X+ACeuw0/BuuxsCh1EUZcAIz8+kYmBp/LrQuloy6K1f3a0M7+IhmZ7QnkISA==", - "license": "BSD-2-Clause", + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/entities/-/entities-6.0.0.tgz", + "integrity": "sha512-aKstq2TDOndCn4diEyp9Uq/Flu2i1GlLkc6XIDQSDMuaFE3OPW5OphLCyQ5SpSJZTb4reN+kTcYru5yIfXoRPw==", "engines": { "node": ">=0.12" }, diff --git a/package.json b/package.json index 48083c8b2..be544892c 100644 --- a/package.json +++ b/package.json @@ -77,7 +77,7 @@ "domelementtype": "^2.3.0", "domhandler": "^5.0.3", "domutils": "^3.1.0", - "entities": "^5.0.0" + "entities": "^6.0.0" }, "devDependencies": { "@types/node": "^22.10.2", diff --git a/src/Parser.ts b/src/Parser.ts index e23d530fd..ee390c11b 100644 --- a/src/Parser.ts +++ b/src/Parser.ts @@ -1,5 +1,5 @@ import Tokenizer, { type Callbacks, QuoteType } from "./Tokenizer.js"; -import { fromCodePoint } from "entities/dist/decode.js"; +import { fromCodePoint } from "entities/decode"; const formTags = new Set([ "input", diff --git a/src/Tokenizer.ts b/src/Tokenizer.ts index 453a4fefd..d5db624da 100644 --- a/src/Tokenizer.ts +++ b/src/Tokenizer.ts @@ -3,7 +3,7 @@ import { DecodingMode, htmlDecodeTree, xmlDecodeTree, -} from "entities/dist/decode.js"; +} from "entities/decode"; const enum CharCodes { Tab = 0x9, // "\t"