From 81a02f6178aaaeeb624aa7816a2f144bc5b070fa Mon Sep 17 00:00:00 2001 From: Richard van der Hoff <1389908+richvdh@users.noreply.github.com> Date: Fri, 29 Nov 2024 11:16:22 +0000 Subject: [PATCH] Update tests to use the public entry point to the module (#171) --- package.json | 15 ++- tests/asyncload.test.js | 2 +- tests/attachment.test.js | 2 +- tests/backup.test.js | 2 +- tests/dehydrated_devices.test.ts | 2 +- tests/device.test.js | 6 +- tests/ecies.test.ts | 9 +- tests/encryption.test.js | 2 +- tests/events.test.js | 2 +- tests/helper.js | 2 +- tests/identifiers.test.js | 2 +- tests/libolm_migration.test.ts | 2 +- tests/machine.test.ts | 2 +- tests/qr_code.test.js | 2 +- tests/requests.test.js | 2 +- tests/sync_events.test.js | 2 +- tests/tracing.test.js | 2 +- tests/vodozemac_types.test.ts | 2 +- tsconfig.json | 3 +- yarn.lock | 161 ++++++++++++++++++++----------- 20 files changed, 144 insertions(+), 80 deletions(-) diff --git a/package.json b/package.json index 5707b3106..d6f299124 100644 --- a/package.json +++ b/package.json @@ -18,8 +18,12 @@ "ruma", "nio" ], - "main": "pkg/index.js", - "types": "pkg/index.d.ts", + "exports": { + ".": { + "types": "./pkg/index.d.ts", + "default": "./pkg/index.js" + } + }, "files": [ "pkg/matrix_sdk_crypto_wasm_bg.wasm.js", "pkg/matrix_sdk_crypto_wasm_bg.wasm.d.ts", @@ -30,6 +34,7 @@ "@babel/core": "^7.23.5", "@babel/preset-env": "^7.23.5", "@babel/preset-typescript": "^7.23.3", + "@tsconfig/node18": "^18.2.4", "@types/jest": "^29.5.10", "babel-jest": "^29.7.0", "cross-env": "^7.0.3", @@ -37,13 +42,13 @@ "fake-indexeddb": "^4.0", "jest": "^28.1.0", "prettier": "^2.8.3", - "typedoc": "^0.22.17", - "typescript": "4.7", + "typedoc": "^0.27.1", + "typescript": "5.7.2", "wasm-pack": "^0.12.1", "yargs-parser": "~21.0.1" }, "engines": { - "node": ">= 10" + "node": ">= 18" }, "scripts": { "lint": "npm run lint:eslint && npm run lint:prettier && npm run lint:types", diff --git a/tests/asyncload.test.js b/tests/asyncload.test.js index df68b4eac..773d82ea2 100644 --- a/tests/asyncload.test.js +++ b/tests/asyncload.test.js @@ -1,4 +1,4 @@ -const { UserId, initAsync } = require("../pkg"); +const { UserId, initAsync } = require("@matrix-org/matrix-sdk-crypto-wasm"); test("can instantiate rust objects with async initialiser", async () => { initUserId = () => new UserId("@foo:bar.org"); diff --git a/tests/attachment.test.js b/tests/attachment.test.js index 5e9a0991f..017f9e8be 100644 --- a/tests/attachment.test.js +++ b/tests/attachment.test.js @@ -1,4 +1,4 @@ -const { Attachment, EncryptedAttachment } = require("../pkg"); +const { Attachment, EncryptedAttachment } = require("@matrix-org/matrix-sdk-crypto-wasm"); describe(Attachment.name, () => { const originalData = "hello"; diff --git a/tests/backup.test.js b/tests/backup.test.js index 631ca57ec..e2c583357 100644 --- a/tests/backup.test.js +++ b/tests/backup.test.js @@ -1,4 +1,4 @@ -const { BackupDecryptionKey } = require("../pkg"); +const { BackupDecryptionKey } = require("@matrix-org/matrix-sdk-crypto-wasm"); const aMegolmKey = { algorithm: "m.megolm.v1.aes-sha2", diff --git a/tests/dehydrated_devices.test.ts b/tests/dehydrated_devices.test.ts index c8c178702..56fda71ef 100644 --- a/tests/dehydrated_devices.test.ts +++ b/tests/dehydrated_devices.test.ts @@ -10,7 +10,7 @@ import { RoomId, TrustRequirement, UserId, -} from "../pkg/matrix_sdk_crypto_wasm"; +} from "@matrix-org/matrix-sdk-crypto-wasm"; import "fake-indexeddb/auto"; afterEach(() => { diff --git a/tests/device.test.js b/tests/device.test.js index 7dbf43eeb..00165138f 100644 --- a/tests/device.test.js +++ b/tests/device.test.js @@ -25,12 +25,12 @@ const { Qr, QrCode, QrCodeScan, -} = require("../pkg"); +} = require("@matrix-org/matrix-sdk-crypto-wasm"); const { zip, addMachineToMachine } = require("./helper"); -const { VerificationRequestPhase, QrState } = require("../pkg"); +const { VerificationRequestPhase, QrState } = require("@matrix-org/matrix-sdk-crypto-wasm"); // Uncomment to enable debug logging for tests -//const { Tracing, LoggerLevel } = require("../pkg"); +//const { Tracing, LoggerLevel } = require("@matrix-org/matrix-sdk-crypto-wasm"); //new Tracing(LoggerLevel.Trace).turnOn(); describe("LocalTrust", () => { diff --git a/tests/ecies.test.ts b/tests/ecies.test.ts index 746e1f790..ea9c5a786 100644 --- a/tests/ecies.test.ts +++ b/tests/ecies.test.ts @@ -1,4 +1,11 @@ -const { Ecies, SecretsBundle, UserId, DeviceId, OlmMachine, RequestType } = require("../pkg/matrix_sdk_crypto_wasm"); +const { + Ecies, + SecretsBundle, + UserId, + DeviceId, + OlmMachine, + RequestType, +} = require("@matrix-org/matrix-sdk-crypto-wasm"); describe(Ecies.name, () => { test("can establish a channel and decrypt the initial message", () => { diff --git a/tests/encryption.test.js b/tests/encryption.test.js index 008b3be9d..45824c3f7 100644 --- a/tests/encryption.test.js +++ b/tests/encryption.test.js @@ -4,7 +4,7 @@ const { EncryptionSettings, HistoryVisibility, VerificationState, -} = require("../pkg"); +} = require("@matrix-org/matrix-sdk-crypto-wasm"); describe("EncryptionAlgorithm", () => { test("has the correct variant values", () => { diff --git a/tests/events.test.js b/tests/events.test.js index be7fe5df8..92268c939 100644 --- a/tests/events.test.js +++ b/tests/events.test.js @@ -1,4 +1,4 @@ -const { HistoryVisibility } = require("../pkg"); +const { HistoryVisibility } = require("@matrix-org/matrix-sdk-crypto-wasm"); describe("HistoryVisibility", () => { test("has the correct variant values", () => { diff --git a/tests/helper.js b/tests/helper.js index e8126e43a..61645df3d 100644 --- a/tests/helper.js +++ b/tests/helper.js @@ -1,4 +1,4 @@ -const { DeviceLists, RequestType, KeysUploadRequest, KeysQueryRequest } = require("../pkg"); +const { DeviceLists, RequestType, KeysUploadRequest, KeysQueryRequest } = require("@matrix-org/matrix-sdk-crypto-wasm"); function* zip(...arrays) { const len = Math.min(...arrays.map((array) => array.length)); diff --git a/tests/identifiers.test.js b/tests/identifiers.test.js index d4b902712..7ebf54bd6 100644 --- a/tests/identifiers.test.js +++ b/tests/identifiers.test.js @@ -7,7 +7,7 @@ const { RoomId, ServerName, UserId, -} = require("../pkg"); +} = require("@matrix-org/matrix-sdk-crypto-wasm"); describe(UserId.name, () => { test("cannot be invalid", () => { diff --git a/tests/libolm_migration.test.ts b/tests/libolm_migration.test.ts index c0ad0b690..01c3b2973 100644 --- a/tests/libolm_migration.test.ts +++ b/tests/libolm_migration.test.ts @@ -26,7 +26,7 @@ import { StoreHandle, Tracing, UserId, -} from "../pkg"; +} from "@matrix-org/matrix-sdk-crypto-wasm"; beforeAll(() => { new Tracing(LoggerLevel.Trace).turnOn(); diff --git a/tests/machine.test.ts b/tests/machine.test.ts index 29c5af506..0c070219e 100644 --- a/tests/machine.test.ts +++ b/tests/machine.test.ts @@ -36,7 +36,7 @@ import { OtherUserIdentity, VerificationRequest, Versions, -} from "../pkg"; +} from "@matrix-org/matrix-sdk-crypto-wasm"; import "fake-indexeddb/auto"; import * as crypto from "node:crypto"; diff --git a/tests/qr_code.test.js b/tests/qr_code.test.js index 3ebc03b57..32dbca24d 100644 --- a/tests/qr_code.test.js +++ b/tests/qr_code.test.js @@ -1,4 +1,4 @@ -const { QrCodeData, QrCodeMode, Curve25519PublicKey } = require("../pkg/matrix_sdk_crypto_wasm"); +const { QrCodeData, QrCodeMode, Curve25519PublicKey } = require("@matrix-org/matrix-sdk-crypto-wasm"); describe(QrCodeData.name, () => { test("can parse the QR code bytes from the MSC", () => { diff --git a/tests/requests.test.js b/tests/requests.test.js index cbbaad8d4..dd3289af0 100644 --- a/tests/requests.test.js +++ b/tests/requests.test.js @@ -7,7 +7,7 @@ const { SignatureUploadRequest, RoomMessageRequest, KeysBackupRequest, -} = require("../pkg"); +} = require("@matrix-org/matrix-sdk-crypto-wasm"); describe("RequestType", () => { test("has the correct variant values", () => { diff --git a/tests/sync_events.test.js b/tests/sync_events.test.js index 29a4cc816..fbaccfe0c 100644 --- a/tests/sync_events.test.js +++ b/tests/sync_events.test.js @@ -1,4 +1,4 @@ -const { DeviceLists, UserId } = require("../pkg"); +const { DeviceLists, UserId } = require("@matrix-org/matrix-sdk-crypto-wasm"); describe(DeviceLists.name, () => { test("can be empty", () => { diff --git a/tests/tracing.test.js b/tests/tracing.test.js index 9ac22710d..84ad38c68 100644 --- a/tests/tracing.test.js +++ b/tests/tracing.test.js @@ -1,4 +1,4 @@ -const { Tracing, LoggerLevel, OlmMachine, UserId, DeviceId } = require("../pkg"); +const { Tracing, LoggerLevel, OlmMachine, UserId, DeviceId } = require("@matrix-org/matrix-sdk-crypto-wasm"); describe("LoggerLevel", () => { test("has the correct variant values", () => { diff --git a/tests/vodozemac_types.test.ts b/tests/vodozemac_types.test.ts index 09f4ef724..b29275d05 100644 --- a/tests/vodozemac_types.test.ts +++ b/tests/vodozemac_types.test.ts @@ -1,4 +1,4 @@ -const { Curve25519PublicKey } = require("../pkg"); +const { Curve25519PublicKey } = require("@matrix-org/matrix-sdk-crypto-wasm"); describe(Curve25519PublicKey.name, () => { test("Can create a Curve25519PublicKey from a base64 string", async () => { diff --git a/tsconfig.json b/tsconfig.json index 67e584f8b..ab987d5ec 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,6 +1,7 @@ { + "extends": "@tsconfig/node18/tsconfig.json", "compilerOptions": { - "strict": true + "lib": ["DOM"] }, "typedocOptions": { "entryPoints": ["pkg/matrix_sdk_crypto_wasm.d.ts"], diff --git a/yarn.lock b/yarn.lock index b46c99dac..b3137b67c 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1219,6 +1219,15 @@ resolved "https://registry.npmjs.org/@eslint/js/-/js-8.55.0.tgz" integrity sha512-qQfo2mxH5yVom1kacMtZZJFVdW+E70mqHMJvVg6WTLo+VBuQJ4TojZlfWBjK0ve5BdEeNAVxOsl/nvNMpJOaJA== +"@gerrit0/mini-shiki@^1.23.2": + version "1.24.0" + resolved "https://registry.yarnpkg.com/@gerrit0/mini-shiki/-/mini-shiki-1.24.0.tgz#0c86f01d1f3c71701bc49763d8bb07498c3d31c2" + integrity sha512-eopM3SyeUZQZSBu1VCV8/d1LtJXDd0aMpLjyWpGkjD6ux3sNwoLNeuEb5xmiWVfQvFeMUXa1WTjh06lqm3KETA== + dependencies: + "@shikijs/engine-oniguruma" "^1.24.0" + "@shikijs/types" "^1.24.0" + "@shikijs/vscode-textmate" "^9.3.0" + "@humanwhocodes/config-array@^0.11.13": version "0.11.13" resolved "https://registry.yarnpkg.com/@humanwhocodes/config-array/-/config-array-0.11.13.tgz#075dc9684f40a531d9b26b0822153c1e832ee297" @@ -1565,6 +1574,27 @@ "@nodelib/fs.scandir" "2.1.5" fastq "^1.6.0" +"@shikijs/engine-oniguruma@^1.24.0": + version "1.24.0" + resolved "https://registry.yarnpkg.com/@shikijs/engine-oniguruma/-/engine-oniguruma-1.24.0.tgz#4e6f49413fbc96dabfa30cb232ca1acf5ca1a446" + integrity sha512-Eua0qNOL73Y82lGA4GF5P+G2+VXX9XnuUxkiUuwcxQPH4wom+tE39kZpBFXfUuwNYxHSkrSxpB1p4kyRW0moSg== + dependencies: + "@shikijs/types" "1.24.0" + "@shikijs/vscode-textmate" "^9.3.0" + +"@shikijs/types@1.24.0", "@shikijs/types@^1.24.0": + version "1.24.0" + resolved "https://registry.yarnpkg.com/@shikijs/types/-/types-1.24.0.tgz#a1755b125cb8fb1780a876a0a57242939eafd79f" + integrity sha512-aptbEuq1Pk88DMlCe+FzXNnBZ17LCiLIGWAeCWhoFDzia5Q5Krx3DgnULLiouSdd6+LUM39XwXGppqYE0Ghtug== + dependencies: + "@shikijs/vscode-textmate" "^9.3.0" + "@types/hast" "^3.0.4" + +"@shikijs/vscode-textmate@^9.3.0": + version "9.3.0" + resolved "https://registry.yarnpkg.com/@shikijs/vscode-textmate/-/vscode-textmate-9.3.0.tgz#b2f1776e488c1d6c2b6cd129bab62f71bbc9c7ab" + integrity sha512-jn7/7ky30idSkd/O5yDBfAnVt+JJpepofP/POZ1iMOxK59cOfqIgg/Dj0eFsjOTMw+4ycJN0uhZH/Eb0bs/EUA== + "@sinclair/typebox@^0.24.1": version "0.24.51" resolved "https://registry.yarnpkg.com/@sinclair/typebox/-/typebox-0.24.51.tgz#645f33fe4e02defe26f2f5c0410e1c094eac7f5f" @@ -1589,6 +1619,11 @@ dependencies: "@sinonjs/commons" "^1.7.0" +"@tsconfig/node18@^18.2.4": + version "18.2.4" + resolved "https://registry.yarnpkg.com/@tsconfig/node18/-/node18-18.2.4.tgz#094efbdd70f697d37c09f34067bf41bc4a828ae3" + integrity sha512-5xxU8vVs9/FNcvm3gE07fPbn9tl6tqGGWA9tSlwsUEkBxtRnTsNmwrV8gasZ9F/EobaSv9+nu8AxUKccw77JpQ== + "@types/babel__core@^7.1.14": version "7.20.0" resolved "https://registry.yarnpkg.com/@types/babel__core/-/babel__core-7.20.0.tgz#61bc5a4cae505ce98e1e36c5445e4bee060d8891" @@ -1629,6 +1664,13 @@ dependencies: "@types/node" "*" +"@types/hast@^3.0.4": + version "3.0.4" + resolved "https://registry.yarnpkg.com/@types/hast/-/hast-3.0.4.tgz#1d6b39993b82cea6ad783945b0508c25903e15aa" + integrity sha512-WPs+bbQw5aCj+x6laNGWLH3wviHtoCv/P3+otBhbOhJgG8qtpdAMlTCxLtsTWA7LH1Oh/bFCHsBn0TPS5m30EQ== + dependencies: + "@types/unist" "*" + "@types/istanbul-lib-coverage@*", "@types/istanbul-lib-coverage@^2.0.0", "@types/istanbul-lib-coverage@^2.0.1": version "2.0.4" resolved "https://registry.yarnpkg.com/@types/istanbul-lib-coverage/-/istanbul-lib-coverage-2.0.4.tgz#8467d4b3c087805d63580480890791277ce35c44" @@ -1671,6 +1713,11 @@ resolved "https://registry.yarnpkg.com/@types/stack-utils/-/stack-utils-2.0.1.tgz#20f18294f797f2209b5f65c8e3b5c8e8261d127c" integrity sha512-Hl219/BT5fLAaz6NDkSuhzasy49dwQS/DSdu4MdggFB8zcXv7vflBI3xp7FEmkmdDkBUI2bPUNeMttp2knYdxw== +"@types/unist@*": + version "3.0.3" + resolved "https://registry.yarnpkg.com/@types/unist/-/unist-3.0.3.tgz#acaab0f919ce69cce629c2d4ed2eb4adc1b6c20c" + integrity sha512-ko/gIFJRv177XgZsZcBwnqJN5x/Gien8qNOn0D5bQU/zAzVf9Zt3BlcUiLqhV9y4ARk0GbT3tnUiPNgnTXzc/Q== + "@types/yargs-parser@*": version "21.0.0" resolved "https://registry.yarnpkg.com/@types/yargs-parser/-/yargs-parser-21.0.0.tgz#0c60e537fa790f5f9472ed2776c2b71ec117351b" @@ -2168,6 +2215,11 @@ emoji-regex@^8.0.0: resolved "https://registry.yarnpkg.com/emoji-regex/-/emoji-regex-8.0.0.tgz#e818fd69ce5ccfcb404594f842963bf53164cc37" integrity sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A== +entities@^4.4.0: + version "4.5.0" + resolved "https://registry.yarnpkg.com/entities/-/entities-4.5.0.tgz#5d268ea5e7113ec74c4d033b79ea5a35a488fb48" + integrity sha512-V0hjH4dGPh9Ao5p0MoRY6BVqtwCjhz6vI5LT8AJ55H+4g9/4vbHx1I54fS0XuclLhDHArPQCiMjDxjaL8fPxhw== + error-ex@^1.3.1: version "1.3.2" resolved "https://registry.yarnpkg.com/error-ex/-/error-ex-1.3.2.tgz#b4ac40648107fdcdcfae242f428bea8a14d4f1bf" @@ -2483,17 +2535,6 @@ glob@^7.1.3, glob@^7.1.4: once "^1.3.0" path-is-absolute "^1.0.0" -glob@^8.0.3: - version "8.1.0" - resolved "https://registry.yarnpkg.com/glob/-/glob-8.1.0.tgz#d388f656593ef708ee3e34640fdfb99a9fd1c33e" - integrity sha512-r8hpEjiQEYlF2QU0df3dS+nxxSIreXQS1qRhMJM0Q5NDdR386C7jb7Hwwod8Fgiuex+k0GFjgft18yvxm5XoCQ== - dependencies: - fs.realpath "^1.0.0" - inflight "^1.0.4" - inherits "2" - minimatch "^5.0.1" - once "^1.3.0" - globals@^11.1.0: version "11.12.0" resolved "https://registry.yarnpkg.com/globals/-/globals-11.12.0.tgz#ab8795338868a0babd8525758018c2a7eb95c42e" @@ -3191,11 +3232,6 @@ json5@^2.2.2, json5@^2.2.3: resolved "https://registry.yarnpkg.com/json5/-/json5-2.2.3.tgz#78cd6f1a19bdc12b73db5ad0c61efd66c1e29283" integrity sha512-XmOWe7eyHYH14cLdVPoyg+GOH3rYX++KpzrylJwSW98t3Nk+U8XOl8FWKOgwtzdb8lXGf6zYwDUzeHMWfxasyg== -jsonc-parser@^3.0.0: - version "3.2.0" - resolved "https://registry.yarnpkg.com/jsonc-parser/-/jsonc-parser-3.2.0.tgz#31ff3f4c2b9793f89c67212627c51c6394f88e76" - integrity sha512-gfFQZrcTc8CnKXp6Y4/CBT3fTc0OVuDofpre4aEeEpSBPV5X5v4+Vmx+8snU7RLPrNHPKSgLxGo9YuQzz20o+w== - keyv@^4.5.3: version "4.5.4" resolved "https://registry.yarnpkg.com/keyv/-/keyv-4.5.4.tgz#a879a99e29452f942439f2a405e3af8b31d4de93" @@ -3226,6 +3262,13 @@ lines-and-columns@^1.1.6: resolved "https://registry.yarnpkg.com/lines-and-columns/-/lines-and-columns-1.2.4.tgz#eca284f75d2965079309dc0ad9255abb2ebc1632" integrity sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg== +linkify-it@^5.0.0: + version "5.0.0" + resolved "https://registry.yarnpkg.com/linkify-it/-/linkify-it-5.0.0.tgz#9ef238bfa6dc70bd8e7f9572b52d369af569b421" + integrity sha512-5aHCbzQRADcdP+ATqnDuhhJ/MRIqDkZX5pyjFHRRysS8vZ5AbqGEoFIb6pYHPZ+L/OC2Lc+xT8uHVVR5CAK/wQ== + dependencies: + uc.micro "^2.0.0" + locate-path@^5.0.0: version "5.0.0" resolved "https://registry.yarnpkg.com/locate-path/-/locate-path-5.0.0.tgz#1afba396afd676a6d42504d0a67a3a7eb9f62aa0" @@ -3288,10 +3331,22 @@ makeerror@1.0.12: dependencies: tmpl "1.0.5" -marked@^4.0.16: - version "4.3.0" - resolved "https://registry.yarnpkg.com/marked/-/marked-4.3.0.tgz#796362821b019f734054582038b116481b456cf3" - integrity sha512-PRsaiG84bK+AMvxziE/lCFss8juXjNaWzVbN5tXAm4XjeaS9NAHhop+PjQxz2A9h8Q4M/xGmzP8vqNwy6JeK0A== +markdown-it@^14.1.0: + version "14.1.0" + resolved "https://registry.yarnpkg.com/markdown-it/-/markdown-it-14.1.0.tgz#3c3c5992883c633db4714ccb4d7b5935d98b7d45" + integrity sha512-a54IwgWPaeBCAAsv13YgmALOF1elABB08FxO9i+r4VFk5Vl4pKokRPeX8u5TCgSsPi6ec1otfLjdOpVcgbpshg== + dependencies: + argparse "^2.0.1" + entities "^4.4.0" + linkify-it "^5.0.0" + mdurl "^2.0.0" + punycode.js "^2.3.1" + uc.micro "^2.1.0" + +mdurl@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/mdurl/-/mdurl-2.0.0.tgz#80676ec0433025dd3e17ee983d0fe8de5a2237e0" + integrity sha512-Lf+9+2r+Tdp5wXDXC4PcIBjTDtq4UKjCPMQhKIuzpJNW0b96kVqSwW0bT7FhRSfmAiFYgP+SCRvdrDozfh0U5w== merge-stream@^2.0.0: version "2.0.0" @@ -3318,10 +3373,10 @@ minimatch@^3.0.4, minimatch@^3.0.5, minimatch@^3.1.1, minimatch@^3.1.2: dependencies: brace-expansion "^1.1.7" -minimatch@^5.0.1, minimatch@^5.1.0: - version "5.1.6" - resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-5.1.6.tgz#1cfcb8cf5522ea69952cd2af95ae09477f122a96" - integrity sha512-lKwV/1brpG6mBUFHtb7NUmtABCb2WZZmm2wNiOA5hAb8VdCS4B3dtMWyvcoViccwAW/COERjXLt0zP1zXUN26g== +minimatch@^9.0.5: + version "9.0.5" + resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-9.0.5.tgz#d74f9dd6b57d83d8e98cfb82133b03978bc929e5" + integrity sha512-G6T0ZX48xgozx7587koeX9Ys2NYy6Gmv//P89sEte9V9whIapMNF4idKxnW2QtCcLiTWlb/wfCabAtAFWhhBow== dependencies: brace-expansion "^2.0.1" @@ -3542,6 +3597,11 @@ prompts@^2.0.1: kleur "^3.0.3" sisteransi "^1.0.5" +punycode.js@^2.3.1: + version "2.3.1" + resolved "https://registry.yarnpkg.com/punycode.js/-/punycode.js-2.3.1.tgz#6b53e56ad75588234e79f4affa90972c7dd8cdb7" + integrity sha512-uxFIHU0YlHYhDQtV4R9J6a52SLx28BCjT+4ieh7IGbgwVJWO+km431c4yRlREUAsAmt/uMjQUyQHNEPf0M39CA== + punycode@^2.1.0: version "2.3.1" resolved "https://registry.yarnpkg.com/punycode/-/punycode-2.3.1.tgz#027422e2faec0b25e1549c3e1bd8309b9133b6e5" @@ -3707,15 +3767,6 @@ shebang-regex@^3.0.0: resolved "https://registry.yarnpkg.com/shebang-regex/-/shebang-regex-3.0.0.tgz#ae16f1644d873ecad843b0307b143362d4c42172" integrity sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A== -shiki@^0.10.1: - version "0.10.1" - resolved "https://registry.yarnpkg.com/shiki/-/shiki-0.10.1.tgz#6f9a16205a823b56c072d0f1a0bcd0f2646bef14" - integrity sha512-VsY7QJVzU51j5o1+DguUd+6vmCmZ5v/6gYu4vyYAhzjuNQU6P/vmSy4uQaOhvje031qQMiW0d2BwgMH52vqMng== - dependencies: - jsonc-parser "^3.0.0" - vscode-oniguruma "^1.6.1" - vscode-textmate "5.2.0" - signal-exit@^3.0.3, signal-exit@^3.0.7: version "3.0.7" resolved "https://registry.yarnpkg.com/signal-exit/-/signal-exit-3.0.7.tgz#a9a1767f8af84155114eaabd73f99273c8f59ad9" @@ -3909,21 +3960,21 @@ type-fest@^0.21.3: resolved "https://registry.yarnpkg.com/type-fest/-/type-fest-0.21.3.tgz#d260a24b0198436e133fa26a524a6d65fa3b2e37" integrity sha512-t0rzBq87m3fVcduHDUFhKmyyX+9eo6WQjZvf51Ea/M0Q7+T374Jp1aUiyUl0GKxp8M/OETVHSDvmkyPgvX+X2w== -typedoc@^0.22.17: - version "0.22.18" - resolved "https://registry.yarnpkg.com/typedoc/-/typedoc-0.22.18.tgz#1d000c33b66b88fd8cdfea14a26113a83b7e6591" - integrity sha512-NK9RlLhRUGMvc6Rw5USEYgT4DVAUFk7IF7Q6MYfpJ88KnTZP7EneEa4RcP+tX1auAcz7QT1Iy0bUSZBYYHdoyA== +typedoc@^0.27.1: + version "0.27.1" + resolved "https://registry.yarnpkg.com/typedoc/-/typedoc-0.27.1.tgz#fe7590c5682ca0f20c283850cf3e21a43b1d8e44" + integrity sha512-cbFtNFpkCtHAHRvMnCDdtM2+xhO2uiJAcw4ooLmVMuaY9yLJswKvi6wOwPZgTnKKnm/HKpO/Ub6DVk4KRf/vRg== dependencies: - glob "^8.0.3" + "@gerrit0/mini-shiki" "^1.23.2" lunr "^2.3.9" - marked "^4.0.16" - minimatch "^5.1.0" - shiki "^0.10.1" + markdown-it "^14.1.0" + minimatch "^9.0.5" + yaml "^2.6.1" -typescript@4.7: - version "4.7.4" - resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.7.4.tgz#1a88596d1cf47d59507a1bcdfb5b9dfe4d488235" - integrity sha512-C0WQT0gezHuw6AdY1M2jxUO83Rjf0HP7Sk1DtXj6j1EwkQNZrHAg2XPWlq62oqEhYvONq5pkC2Y9oPljWToLmQ== +typescript@5.7.2: + version "5.7.2" + resolved "https://registry.yarnpkg.com/typescript/-/typescript-5.7.2.tgz#3169cf8c4c8a828cde53ba9ecb3d2b1d5dd67be6" + integrity sha512-i5t66RHxDvVN40HfDd1PsEThGNnlMCMT3jMUuoh9/0TaqWevNontacunWyN02LA9/fIbEWlcHZcgTKb9QoaLfg== typeson-registry@^1.0.0-alpha.20: version "1.0.0-alpha.39" @@ -3939,6 +3990,11 @@ typeson@^6.0.0, typeson@^6.1.0: resolved "https://registry.yarnpkg.com/typeson/-/typeson-6.1.0.tgz#5b2a53705a5f58ff4d6f82f965917cabd0d7448b" integrity sha512-6FTtyGr8ldU0pfbvW/eOZrEtEkczHRUtduBnA90Jh9kMPCiFNnXIon3vF41N0S4tV1HHQt4Hk1j4srpESziCaA== +uc.micro@^2.0.0, uc.micro@^2.1.0: + version "2.1.0" + resolved "https://registry.yarnpkg.com/uc.micro/-/uc.micro-2.1.0.tgz#f8d3f7d0ec4c3dea35a7e3c8efa4cb8b45c9e7ee" + integrity sha512-ARDJmphmdvUk6Glw7y9DQ2bFkKBHwQHLi2lsaH6PPmz/Ka9sFOBsBluozhDltWmnv9u/cF6Rt87znRTPV+yp/A== + unicode-canonical-property-names-ecmascript@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/unicode-canonical-property-names-ecmascript/-/unicode-canonical-property-names-ecmascript-2.0.0.tgz#301acdc525631670d39f6146e0e77ff6bbdebddc" @@ -3994,16 +4050,6 @@ v8-to-istanbul@^9.0.1: "@types/istanbul-lib-coverage" "^2.0.1" convert-source-map "^1.6.0" -vscode-oniguruma@^1.6.1: - version "1.7.0" - resolved "https://registry.yarnpkg.com/vscode-oniguruma/-/vscode-oniguruma-1.7.0.tgz#439bfad8fe71abd7798338d1cd3dc53a8beea94b" - integrity sha512-L9WMGRfrjOhgHSdOYgCt/yRMsXzLDJSL7BPrOZt73gU0iWO4mpqzqQzOz5srxqTvMBaR0XZTSrVWo4j55Rc6cA== - -vscode-textmate@5.2.0: - version "5.2.0" - resolved "https://registry.yarnpkg.com/vscode-textmate/-/vscode-textmate-5.2.0.tgz#01f01760a391e8222fe4f33fbccbd1ad71aed74e" - integrity sha512-Uw5ooOQxRASHgu6C7GVvUxisKXfSgW4oFlO+aa+PAkgmH89O3CXxEEzNRNtHSqtXFTl0nAC1uYj0GMSH27uwtQ== - walker@^1.0.8: version "1.0.8" resolved "https://registry.yarnpkg.com/walker/-/walker-1.0.8.tgz#bd498db477afe573dc04185f011d3ab8a8d7653f" @@ -4081,6 +4127,11 @@ yallist@^4.0.0: resolved "https://registry.yarnpkg.com/yallist/-/yallist-4.0.0.tgz#9bb92790d9c0effec63be73519e11a35019a3a72" integrity sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A== +yaml@^2.6.1: + version "2.6.1" + resolved "https://registry.yarnpkg.com/yaml/-/yaml-2.6.1.tgz#42f2b1ba89203f374609572d5349fb8686500773" + integrity sha512-7r0XPzioN/Q9kXBro/XPnA6kznR73DHq+GXh5ON7ZozRO6aMjbmiBuKste2wslTFkC5d1dw0GooOCepZXJ2SAg== + yargs-parser@^21.1.1: version "21.1.1" resolved "https://registry.yarnpkg.com/yargs-parser/-/yargs-parser-21.1.1.tgz#9096bceebf990d21bb31fa9516e0ede294a77d35"