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

entities

Package Overview
Dependencies
Maintainers
1
Versions
34
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

entities - npm Package Compare versions

Comparing version
6.0.0
to
6.0.1
+1
decode.d.ts
export * from "./dist/commonjs/decode.js";
export * from "./dist/commonjs/escape.js";
+12
-10
{
"name": "entities",
"version": "6.0.0",
"version": "6.0.1",
"description": "Encode & decode XML and HTML entities with ease & speed",

@@ -60,3 +60,5 @@ "keywords": [

"decode.js",
"decode.d.ts",
"escape.js",
"escape.d.ts",
"dist",

@@ -86,15 +88,15 @@ "src"

"devDependencies": {
"@types/node": "^22.10.2",
"@typescript-eslint/eslint-plugin": "^8.18.1",
"@typescript-eslint/parser": "^8.18.0",
"@types/node": "^22.15.30",
"@typescript-eslint/eslint-plugin": "^8.33.1",
"@typescript-eslint/parser": "^8.33.1",
"@vitest/coverage-v8": "^2.1.8",
"eslint": "^8.57.1",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-n": "^17.15.1",
"eslint-config-prettier": "^10.1.5",
"eslint-plugin-n": "^17.19.0",
"eslint-plugin-unicorn": "^56.0.1",
"prettier": "^3.4.2",
"prettier": "^3.5.3",
"tshy": "^3.0.2",
"tsx": "^4.19.2",
"typedoc": "^0.27.5",
"typescript": "^5.7.2",
"tsx": "^4.19.4",
"typedoc": "^0.28.5",
"typescript": "^5.8.3",
"vitest": "^2.0.2"

@@ -101,0 +103,0 @@ },

import { readFileSync } from "node:fs";
import { describe, it, expect } from "vitest";
import * as entities from "./index.js";
import legacy from "../maps/legacy.json" assert { type: "json" };
import legacy from "../maps/legacy.json" with { type: "json" };

@@ -6,0 +6,0 @@ const levels = ["xml", "entities"];