Fix audit issue and issue with generating docs

This commit is contained in:
Kuldeep
2026-07-18 17:03:39 +00:00
parent 7ce25d6502
commit 10fd35acef
5 changed files with 21 additions and 15 deletions

26
package-lock.json generated
View File

@@ -1,16 +1,16 @@
{
"name": "@xo-cash/utils",
"version": "0.0.1",
"version": "0.0.2",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "@xo-cash/utils",
"version": "0.0.1",
"version": "0.0.2",
"license": "MIT",
"dependencies": {
"@bitauth/libauth": "^3.1.0-next.8",
"@xo-cash/types": "0.0.2",
"@xo-cash/types": "0.0.3",
"zod": "^4.3.6"
},
"devDependencies": {
@@ -2941,9 +2941,9 @@
}
},
"node_modules/@xo-cash/types": {
"version": "0.0.2",
"resolved": "https://registry.npmjs.org/@xo-cash/types/-/types-0.0.2.tgz",
"integrity": "sha512-mqSzdhIM7AnYuAv6aBn0r/jRjiaGdk9Ej8F3YmagfETb+BVtBCV1I2oDGHU/9Djy2q2rfdUtvfwiCpLIli6t6w==",
"version": "0.0.3",
"resolved": "https://registry.npmjs.org/@xo-cash/types/-/types-0.0.3.tgz",
"integrity": "sha512-TgPEgp7C+GqGEyN7a7fpQa9uvUyY75Xir5BDBM/+C29OLdBoL8Rj+P8MWfcALtGxt+REFUdceNgFic26uCihng==",
"license": "MIT",
"dependencies": {
"@bitauth/libauth": "^3.1.0-next.8"
@@ -4770,14 +4770,14 @@
"dev": true
},
"node_modules/echarts": {
"version": "5.6.0",
"resolved": "https://registry.npmjs.org/echarts/-/echarts-5.6.0.tgz",
"integrity": "sha512-oTbVTsXfKuEhxftHqL5xprgLoc0k7uScAwtryCgWF6hPYFLRwOUHiFmHGCBKP5NPFNkDVopOieyUqYGH8Fa3kA==",
"version": "6.1.0",
"resolved": "https://registry.npmjs.org/echarts/-/echarts-6.1.0.tgz",
"integrity": "sha512-q0yaFPggC9FUdsWH4blavRWFmxdrIodbkoKNAjJudAI6CA9gNPxHtV2RcZNEepZVlk4yvBYkOkbk6HIVpIyHZA==",
"dev": true,
"license": "Apache-2.0",
"dependencies": {
"tslib": "2.3.0",
"zrender": "5.6.1"
"zrender": "6.1.0"
}
},
"node_modules/ee-first": {
@@ -10997,9 +10997,9 @@
}
},
"node_modules/zrender": {
"version": "5.6.1",
"resolved": "https://registry.npmjs.org/zrender/-/zrender-5.6.1.tgz",
"integrity": "sha512-OFXkDJKcrlx5su2XbzJvj/34Q3m6PvyCZkVPHGYpcCJ52ek4U/ymZyfuV1nKE23AyBJ51E/6Yr0mhZ7xGTO4ag==",
"version": "6.1.0",
"resolved": "https://registry.npmjs.org/zrender/-/zrender-6.1.0.tgz",
"integrity": "sha512-oEGMDB6pOP2S6OwRR4PdVv610zrjnA3Bh+JnSG12fYJlBKjtNAoEb5fSUoCOOINlH96I2fU38/A2UpRKs67xYQ==",
"dev": true,
"license": "BSD-3-Clause",
"dependencies": {

View File

@@ -44,9 +44,12 @@
],
"dependencies": {
"@bitauth/libauth": "^3.1.0-next.8",
"@xo-cash/types": "0.0.2",
"@xo-cash/types": "0.0.3",
"zod": "^4.3.6"
},
"overrides": {
"echarts": "6.1.0"
},
"devDependencies": {
"@chalp/eslint-airbnb": "^1.3.0",
"@generalprotocols/cspell-dictionary": "^1.0.1",

View File

@@ -123,7 +123,8 @@ const testParseTemplateThrowsOnMissingRequiredFields = (): void => {
*/
const testParseTemplateThrowsOnMissingScriptsField = (): void => {
// Set scripts to undefined to test the field path for a missing record
const templateWithoutScripts = { ...p2pkhTemplate, scripts: undefined };
// @ts-expect-error - scripts is intentionally undefined for this test case
const templateWithoutScripts: XOTemplate = { ...p2pkhTemplate, scripts: undefined };
let thrownError: unknown;

View File

@@ -3,6 +3,7 @@
"module": "es2022",
"target": "es2022",
"skipLibCheck": true,
"strict": true,
"moduleResolution": "bundler",
"resolveJsonModule": true,
"allowImportingTsExtensions": true,

View File

@@ -3,6 +3,7 @@
"out": "public/",
"plugin": ["typedoc-plugin-coverage"],
"maxTypeConversionDepth": 2,
"excludeExternals": true,
"visibilityFilters": {
"protected": false,
"private": false,