Fix audit issue and issue with generating docs
This commit is contained in:
26
package-lock.json
generated
26
package-lock.json
generated
@@ -1,16 +1,16 @@
|
|||||||
{
|
{
|
||||||
"name": "@xo-cash/utils",
|
"name": "@xo-cash/utils",
|
||||||
"version": "0.0.1",
|
"version": "0.0.2",
|
||||||
"lockfileVersion": 3,
|
"lockfileVersion": 3,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"packages": {
|
"packages": {
|
||||||
"": {
|
"": {
|
||||||
"name": "@xo-cash/utils",
|
"name": "@xo-cash/utils",
|
||||||
"version": "0.0.1",
|
"version": "0.0.2",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@bitauth/libauth": "^3.1.0-next.8",
|
"@bitauth/libauth": "^3.1.0-next.8",
|
||||||
"@xo-cash/types": "0.0.2",
|
"@xo-cash/types": "0.0.3",
|
||||||
"zod": "^4.3.6"
|
"zod": "^4.3.6"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
@@ -2941,9 +2941,9 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@xo-cash/types": {
|
"node_modules/@xo-cash/types": {
|
||||||
"version": "0.0.2",
|
"version": "0.0.3",
|
||||||
"resolved": "https://registry.npmjs.org/@xo-cash/types/-/types-0.0.2.tgz",
|
"resolved": "https://registry.npmjs.org/@xo-cash/types/-/types-0.0.3.tgz",
|
||||||
"integrity": "sha512-mqSzdhIM7AnYuAv6aBn0r/jRjiaGdk9Ej8F3YmagfETb+BVtBCV1I2oDGHU/9Djy2q2rfdUtvfwiCpLIli6t6w==",
|
"integrity": "sha512-TgPEgp7C+GqGEyN7a7fpQa9uvUyY75Xir5BDBM/+C29OLdBoL8Rj+P8MWfcALtGxt+REFUdceNgFic26uCihng==",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@bitauth/libauth": "^3.1.0-next.8"
|
"@bitauth/libauth": "^3.1.0-next.8"
|
||||||
@@ -4770,14 +4770,14 @@
|
|||||||
"dev": true
|
"dev": true
|
||||||
},
|
},
|
||||||
"node_modules/echarts": {
|
"node_modules/echarts": {
|
||||||
"version": "5.6.0",
|
"version": "6.1.0",
|
||||||
"resolved": "https://registry.npmjs.org/echarts/-/echarts-5.6.0.tgz",
|
"resolved": "https://registry.npmjs.org/echarts/-/echarts-6.1.0.tgz",
|
||||||
"integrity": "sha512-oTbVTsXfKuEhxftHqL5xprgLoc0k7uScAwtryCgWF6hPYFLRwOUHiFmHGCBKP5NPFNkDVopOieyUqYGH8Fa3kA==",
|
"integrity": "sha512-q0yaFPggC9FUdsWH4blavRWFmxdrIodbkoKNAjJudAI6CA9gNPxHtV2RcZNEepZVlk4yvBYkOkbk6HIVpIyHZA==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"license": "Apache-2.0",
|
"license": "Apache-2.0",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"tslib": "2.3.0",
|
"tslib": "2.3.0",
|
||||||
"zrender": "5.6.1"
|
"zrender": "6.1.0"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/ee-first": {
|
"node_modules/ee-first": {
|
||||||
@@ -10997,9 +10997,9 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/zrender": {
|
"node_modules/zrender": {
|
||||||
"version": "5.6.1",
|
"version": "6.1.0",
|
||||||
"resolved": "https://registry.npmjs.org/zrender/-/zrender-5.6.1.tgz",
|
"resolved": "https://registry.npmjs.org/zrender/-/zrender-6.1.0.tgz",
|
||||||
"integrity": "sha512-OFXkDJKcrlx5su2XbzJvj/34Q3m6PvyCZkVPHGYpcCJ52ek4U/ymZyfuV1nKE23AyBJ51E/6Yr0mhZ7xGTO4ag==",
|
"integrity": "sha512-oEGMDB6pOP2S6OwRR4PdVv610zrjnA3Bh+JnSG12fYJlBKjtNAoEb5fSUoCOOINlH96I2fU38/A2UpRKs67xYQ==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"license": "BSD-3-Clause",
|
"license": "BSD-3-Clause",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
|||||||
@@ -44,9 +44,12 @@
|
|||||||
],
|
],
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@bitauth/libauth": "^3.1.0-next.8",
|
"@bitauth/libauth": "^3.1.0-next.8",
|
||||||
"@xo-cash/types": "0.0.2",
|
"@xo-cash/types": "0.0.3",
|
||||||
"zod": "^4.3.6"
|
"zod": "^4.3.6"
|
||||||
},
|
},
|
||||||
|
"overrides": {
|
||||||
|
"echarts": "6.1.0"
|
||||||
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@chalp/eslint-airbnb": "^1.3.0",
|
"@chalp/eslint-airbnb": "^1.3.0",
|
||||||
"@generalprotocols/cspell-dictionary": "^1.0.1",
|
"@generalprotocols/cspell-dictionary": "^1.0.1",
|
||||||
|
|||||||
@@ -123,7 +123,8 @@ const testParseTemplateThrowsOnMissingRequiredFields = (): void => {
|
|||||||
*/
|
*/
|
||||||
const testParseTemplateThrowsOnMissingScriptsField = (): void => {
|
const testParseTemplateThrowsOnMissingScriptsField = (): void => {
|
||||||
// Set scripts to undefined to test the field path for a missing record
|
// 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;
|
let thrownError: unknown;
|
||||||
|
|
||||||
|
|||||||
@@ -3,6 +3,7 @@
|
|||||||
"module": "es2022",
|
"module": "es2022",
|
||||||
"target": "es2022",
|
"target": "es2022",
|
||||||
"skipLibCheck": true,
|
"skipLibCheck": true,
|
||||||
|
"strict": true,
|
||||||
"moduleResolution": "bundler",
|
"moduleResolution": "bundler",
|
||||||
"resolveJsonModule": true,
|
"resolveJsonModule": true,
|
||||||
"allowImportingTsExtensions": true,
|
"allowImportingTsExtensions": true,
|
||||||
|
|||||||
@@ -3,6 +3,7 @@
|
|||||||
"out": "public/",
|
"out": "public/",
|
||||||
"plugin": ["typedoc-plugin-coverage"],
|
"plugin": ["typedoc-plugin-coverage"],
|
||||||
"maxTypeConversionDepth": 2,
|
"maxTypeConversionDepth": 2,
|
||||||
|
"excludeExternals": true,
|
||||||
"visibilityFilters": {
|
"visibilityFilters": {
|
||||||
"protected": false,
|
"protected": false,
|
||||||
"private": false,
|
"private": false,
|
||||||
|
|||||||
Reference in New Issue
Block a user