You're Invited:Meet the Socket Team at RSAC and BSidesSF 2026, March 23–26.RSVP
Socket
Book a DemoSign in
Socket

decode-named-character-reference

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

decode-named-character-reference - npm Package Compare versions

Comparing version
1.2.0
to
1.3.0
+1
-1
index.dom.d.ts.map

@@ -1,1 +0,1 @@

{"version":3,"file":"index.dom.d.ts","sourceRoot":"","sources":["index.dom.js"],"names":[],"mappings":"AAMA;;;GAGG;AACH,qDAHW,MAAM,GACJ,MAAM,GAAG,KAAK,CA2B1B"}
{"version":3,"file":"index.dom.d.ts","sourceRoot":"","sources":["index.dom.js"],"names":[],"mappings":"AAMA;;;GAGG;AACH,qDAHW,MAAM,GACJ,MAAM,GAAG,KAAK,CAuB1B"}

@@ -23,4 +23,2 @@ /// <reference lib="dom" />

if (
// @ts-expect-error: TypeScript is wrong that `textContent` on elements can
// yield `null`.
character.charCodeAt(character.length - 1) === 59 /* `;` */ &&

@@ -34,5 +32,3 @@ value !== 'semi'

// not valid.
// @ts-expect-error: TypeScript is wrong that `textContent` on elements can
// yield `null`.
return character === characterReference ? false : character
}

@@ -12,3 +12,3 @@ {

"devDependencies": {
"@types/node": "^24.0.0",
"@types/node": "^25.0.0",
"c8": "^10.0.0",

@@ -23,2 +23,3 @@ "prettier": "^3.0.0",

"exports": {
"convex": "./index.js",
"deno": "./index.js",

@@ -83,3 +84,3 @@ "edge-light": "./index.js",

"type": "module",
"version": "1.2.0",
"version": "1.3.0",
"xo": {

@@ -86,0 +87,0 @@ "prettier": true,