diff --git a/package.json b/package.json index 54bdb41..81415ac 100644 --- a/package.json +++ b/package.json @@ -46,7 +46,7 @@ "@playwright/test": "^1.59.1", "@types/node": "^24.6.2", "prettier": "^3.8.3", - "publint": "^0.3.13", + "publint": "^0.3.18", "tsdown": "^0.21.9", "typescript": "^5.9.3", "vite": "^8.0.8", @@ -58,6 +58,6 @@ "es-toolkit": "^1.45.1", "mutative": "^1.3.0", "outvariant": "^1.4.3", - "rettime": "^0.7.0" + "rettime": "^0.11.8" } } \ No newline at end of file diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 008b513..5c5f74f 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -21,8 +21,8 @@ importers: specifier: ^1.4.3 version: 1.4.3 rettime: - specifier: ^0.7.0 - version: 0.7.0 + specifier: ^0.11.8 + version: 0.11.8 devDependencies: '@ossjs/release': specifier: ^0.10.1 @@ -37,11 +37,11 @@ importers: specifier: ^3.8.3 version: 3.8.3 publint: - specifier: ^0.3.13 - version: 0.3.13 + specifier: ^0.3.18 + version: 0.3.18 tsdown: specifier: ^0.21.9 - version: 0.21.9(publint@0.3.13)(typescript@5.9.3) + version: 0.21.9(publint@0.3.18)(typescript@5.9.3) typescript: specifier: ^5.9.3 version: 5.9.3 @@ -137,10 +137,6 @@ packages: resolution: {integrity: sha512-c83qWb22rNRuB0UaVCI0uRPNRr8Z0FWnEIvT47jiHAmOIUHbBOg5XvV7pM5x+rKn9HRpjxquDbXYSXr3fAKFcw==} engines: {node: '>=12'} - '@publint/pack@0.1.2': - resolution: {integrity: sha512-S+9ANAvUmjutrshV4jZjaiG8XQyuJIZ8a4utWmN/vW1sgQ9IfBnPndwkmQYw53QmouOIytT874u65HEmu6H5jw==} - engines: {node: '>=18'} - '@publint/pack@0.1.4': resolution: {integrity: sha512-HDVTWq3H0uTXiU0eeSQntcVUTPP3GamzeXI41+x7uU9J65JgWQh3qWZHblR1i0npXfFtF+mxBiU2nJH8znxWnQ==} engines: {node: '>=18'} @@ -765,9 +761,6 @@ packages: outvariant@1.4.3: resolution: {integrity: sha512-+Sl2UErvtsoajRDKCE5/dBz4DIvHXQQnAxtQTF04OJxY0+DyZXSo5P5Bb7XYWOh81syohlYL24hbDwxedPUJCA==} - package-manager-detector@1.3.0: - resolution: {integrity: sha512-ZsEbbZORsyHuO00lY1kV3/t72yp6Ysay6Pd17ZAlNGuGwmWDLCJxFpRs0IzfXfj1o4icJOkUEioexFHzyPurSQ==} - package-manager-detector@1.6.0: resolution: {integrity: sha512-61A5ThoTiDG/C8s8UMZwSorAGwMJ0ERVGj2OjoW5pAalsNOg15+iQiPzrLJ4jhZ1HJzmC2PIHT2oEiH3R5fzNA==} @@ -827,11 +820,6 @@ packages: proto-list@1.2.4: resolution: {integrity: sha512-vtK/94akxsTMhe0/cbfpR+syPuszcuwhqVjJq26CuNDgFGj682oRBXOP5MJpv2r7JtE8MsiepGIqvvOTBwn2vA==} - publint@0.3.13: - resolution: {integrity: sha512-NC+lph09+BRO9LJgKlIy3WQXyu6/6WDQ0dCA60KALUwdKVf3PfGuC6fY8I+oKB/5kEPh50aOSUz+6yWy1n4EfA==} - engines: {node: '>=18'} - hasBin: true - publint@0.3.18: resolution: {integrity: sha512-JRJFeBTrfx4qLwEuGFPk+haJOJN97KnPuK01yj+4k/Wj5BgoOK5uNsivporiqBjk2JDaslg7qJOhGRnpltGeog==} engines: {node: '>=18'} @@ -872,8 +860,8 @@ packages: resolve-pkg-maps@1.0.0: resolution: {integrity: sha512-seS2Tj26TBVOC2NIc2rOe2y2ZO7efxITtLZcGSOnHHNOQ7CkiUBfw0Iw2ck6xkIhPwLhKNLS8BO+hEpngQlqzw==} - rettime@0.7.0: - resolution: {integrity: sha512-LPRKoHnLKd/r3dVxcwO7vhCW+orkOGj9ViueosEBK6ie89CijnfRlhaDhHq/3Hxu4CkWQtxwlBG0mzTQY6uQjw==} + rettime@0.11.8: + resolution: {integrity: sha512-0fERGXktJTyJ+h8fBEiPxHPEFOu0h15JY7JtwrOVqR5K+vb99ho6IyOo7ekLS3h4sJCzIDy4VWKIbZUfe9njmg==} rfdc@1.4.1: resolution: {integrity: sha512-q1b3N5QkRUWUl7iyylaaj3kOpIT0N2i9MqIEQXP73GVsN9cw3fdx8X63cEmWhJGi2PPCF23Ijp7ktmd39rawIA==} @@ -1302,8 +1290,6 @@ snapshots: '@pnpm/network.ca-file': 1.0.2 config-chain: 1.1.13 - '@publint/pack@0.1.2': {} - '@publint/pack@0.1.4': {} '@quansync/fs@1.0.0': @@ -1772,8 +1758,6 @@ snapshots: outvariant@1.4.3: {} - package-manager-detector@1.3.0: {} - package-manager-detector@1.6.0: {} pathe@2.0.3: {} @@ -1843,13 +1827,6 @@ snapshots: proto-list@1.2.4: {} - publint@0.3.13: - dependencies: - '@publint/pack': 0.1.2 - package-manager-detector: 1.3.0 - picocolors: 1.1.1 - sade: 1.8.1 - publint@0.3.18: dependencies: '@publint/pack': 0.1.4 @@ -1899,7 +1876,7 @@ snapshots: resolve-pkg-maps@1.0.0: {} - rettime@0.7.0: {} + rettime@0.11.8: {} rfdc@1.4.1: {} @@ -2059,7 +2036,7 @@ snapshots: tree-kill@1.2.2: {} - tsdown@0.21.9(publint@0.3.13)(typescript@5.9.3): + tsdown@0.21.9(publint@0.3.18)(typescript@5.9.3): dependencies: ansis: 4.2.0 cac: 7.0.0 @@ -2078,7 +2055,7 @@ snapshots: unconfig-core: 7.5.0 unrun: 0.2.36 optionalDependencies: - publint: 0.3.13 + publint: 0.3.18 typescript: 5.9.3 transitivePeerDependencies: - '@ts-macro/tsc' diff --git a/src/hooks.ts b/src/hooks.ts index 6da027d..82f5793 100644 --- a/src/hooks.ts +++ b/src/hooks.ts @@ -25,7 +25,7 @@ export type HookEventListener< Schema extends StandardSchemaV1 = T extends Collection ? Schema : any, -> = Emitter.ListenerType +> = Emitter.Listener export function createHooksEmitter() { const emitter = new Emitter>()