| 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"]; |
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
Found 1 instance in 1 package
540551
0.02%86
2.38%4929
0.04%