From 42926158ed75550c0c6b5f0f2dc6354285809d5f Mon Sep 17 00:00:00 2001 From: SukkaW Date: Fri, 12 Jul 2024 17:47:10 +0800 Subject: [PATCH] release: 0.2.36 --- CHANGELOG.md | 10 +++++++++- package.json | 2 +- pnpm-lock.yaml | 26 ++++++++++---------------- 3 files changed, 20 insertions(+), 18 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index c810cdae..ee26c7f6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,12 @@ -# 0.35 +# 0.2.36 + +**Core Changes** + +- Add `foxact/types` +- `createFixedArray` now supports GC-friendly array creation when `WeakRef` is available + - Created array will be garbage-collected if not used (e.g. all components that use the array are unmounted) + +# 0.2.35 **Misc Changes** diff --git a/package.json b/package.json index f7c6ee23..ae9fc660 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "foxact", - "version": "0.2.35", + "version": "0.2.36", "private": true, "description": "React Hooks/Utils done right. For browser, SSR, and React Server Components.", "homepage": "https://foxact.skk.moe", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 87c9c2c1..7d8c432d 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -21,7 +21,7 @@ overrides: object.hasown: npm:@nolyfill/object.hasown@latest object.values: npm:@nolyfill/object.values@latest string.prototype.matchall: npm:@nolyfill/string.prototype.matchall@latest - rollup: ^4.18.0 + rollup: ^4.18.1 importers: @@ -663,7 +663,7 @@ packages: resolution: {integrity: sha512-XTIWOPPcpvyKI6L1NHo0lFlCyznUEyPmPY1mc3KpPVDYulHSTvyeLNVW00QTLIAFNhR3kYnJTQHeGqU4M3n09g==} engines: {node: '>=14.0.0'} peerDependencies: - rollup: ^4.18.0 + rollup: ^4.18.1 peerDependenciesMeta: rollup: optional: true @@ -953,10 +953,6 @@ packages: resolution: {integrity: sha512-fecuH15Y+TzlUutvUl9Cc2XJxqdLr7+93SQIbcZfd4XRGGKoxyljK27b+kxKamjRkU7FYC6RrbSCg0ALcZn/xw==} engines: {node: ^18.18.0 || >=20.0.0} - '@typescript-eslint/types@8.0.0-alpha.36': - resolution: {integrity: sha512-D+w5uE8Y83K/P5VQZyKKi4pwTL2YkWOwtQOVJQI38Rp8f3pmY+Jmcps3wkSFSJK8wifTlvoHwwIBf1FsdCW/EA==} - engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} - '@typescript-eslint/types@8.0.0-alpha.39': resolution: {integrity: sha512-yINN7j0/+S1VGSp0IgH52oQvUx49vkOug6xbrDA/9o+U55yCAQKSvYWvzYjNa+SZE3hXI0zwvYtMVsIAAMmKIQ==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} @@ -1789,7 +1785,7 @@ packages: resolution: {integrity: sha512-aSHRcJ6KG2IHIioYlvAOcEq6U99sVtqDDKVhnwt70rW6tsz3tv5OSjEiWcgzfsHdLyGXZ/3b/7b/+Za3Y6r1XA==} engines: {node: '>=16'} peerDependencies: - rollup: ^4.18.0 + rollup: ^4.18.1 typescript: ^4.5 || ^5.0 rollup-plugin-swc3@0.11.2: @@ -1797,12 +1793,12 @@ packages: engines: {node: '>=12'} peerDependencies: '@swc/core': '>=1.2.165' - rollup: ^4.18.0 + rollup: ^4.18.1 rollup-preserve-directives@1.1.1: resolution: {integrity: sha512-+eQafbuEfDPfxQ9hQPlwaROfin4yiVRxap8hnrvvvcSGoukv1tTiYpAW9mvm3uR8J+fe4xd8FdVd5rz9q7jZ+Q==} peerDependencies: - rollup: ^4.18.0 + rollup: ^4.18.1 rollup@4.18.1: resolution: {integrity: sha512-Elx2UT8lzxxOXMpy5HWQGZqkrQOtrVDDa/bm9l10+U4rQnVzbL/LgZ4NOM1MPIDyHk69W4InuYDF5dzRh4Kw1A==} @@ -2268,7 +2264,7 @@ snapshots: '@eslint-react/tools': 1.5.24 '@eslint-react/types': 1.5.24(eslint@9.6.0)(typescript@5.5.3) '@typescript-eslint/scope-manager': 7.16.0 - '@typescript-eslint/types': 8.0.0-alpha.36 + '@typescript-eslint/types': 7.16.0 '@typescript-eslint/utils': 7.16.0(eslint@9.6.0)(typescript@5.5.3) transitivePeerDependencies: - eslint @@ -2285,7 +2281,7 @@ snapshots: '@eslint-react/var': 1.5.24(eslint@9.6.0)(typescript@5.5.3) '@typescript-eslint/scope-manager': 7.16.0 '@typescript-eslint/type-utils': 7.16.0(eslint@9.6.0)(typescript@5.5.3) - '@typescript-eslint/types': 8.0.0-alpha.36 + '@typescript-eslint/types': 7.16.0 '@typescript-eslint/utils': 7.16.0(eslint@9.6.0)(typescript@5.5.3) transitivePeerDependencies: - eslint @@ -2319,7 +2315,7 @@ snapshots: '@eslint-react/types': 1.5.24(eslint@9.6.0)(typescript@5.5.3) '@eslint-react/var': 1.5.24(eslint@9.6.0)(typescript@5.5.3) '@typescript-eslint/scope-manager': 7.16.0 - '@typescript-eslint/types': 8.0.0-alpha.36 + '@typescript-eslint/types': 7.16.0 '@typescript-eslint/utils': 7.16.0(eslint@9.6.0)(typescript@5.5.3) transitivePeerDependencies: - eslint @@ -2353,7 +2349,7 @@ snapshots: '@eslint-react/tools': 1.5.24 '@eslint-react/types': 1.5.24(eslint@9.6.0)(typescript@5.5.3) '@typescript-eslint/scope-manager': 7.16.0 - '@typescript-eslint/types': 8.0.0-alpha.36 + '@typescript-eslint/types': 7.16.0 '@typescript-eslint/utils': 7.16.0(eslint@9.6.0)(typescript@5.5.3) transitivePeerDependencies: - eslint @@ -2966,13 +2962,11 @@ snapshots: '@typescript-eslint/types@7.16.0': {} - '@typescript-eslint/types@8.0.0-alpha.36': {} - '@typescript-eslint/types@8.0.0-alpha.39': {} '@typescript-eslint/typescript-estree@7.16.0(typescript@5.5.3)': dependencies: - '@typescript-eslint/types': 8.0.0-alpha.36 + '@typescript-eslint/types': 7.16.0 '@typescript-eslint/visitor-keys': 7.16.0 debug: 4.3.5 globby: 11.1.0