@hairy/react-lib-composition 1.29.0 → 1.33.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs CHANGED
@@ -265,7 +265,7 @@ function onBeforeUpdate(fn) {
265
265
 
266
266
  // src/watch.ts
267
267
  function watch(source, callback, options = {}) {
268
- const handle = tryUseRef();
268
+ const handle = tryUseRef(void 0);
269
269
  const cancel = tryUseCallback(() => {
270
270
  if (!handle.current)
271
271
  return;
@@ -5044,7 +5044,7 @@ var LibReactReactive = (() => {
5044
5044
 
5045
5045
  // src/watch.ts
5046
5046
  function watch(source, callback, options = {}) {
5047
- const handle = tryUseRef();
5047
+ const handle = tryUseRef(void 0);
5048
5048
  const cancel = tryUseCallback(() => {
5049
5049
  if (!handle.current)
5050
5050
  return;
package/dist/index.js CHANGED
@@ -197,7 +197,7 @@ function onBeforeUpdate(fn) {
197
197
 
198
198
  // src/watch.ts
199
199
  function watch(source, callback, options = {}) {
200
- const handle = tryUseRef();
200
+ const handle = tryUseRef(void 0);
201
201
  const cancel = tryUseCallback(() => {
202
202
  if (!handle.current)
203
203
  return;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@hairy/react-lib-composition",
3
3
  "type": "module",
4
- "version": "1.29.0",
4
+ "version": "1.33.0",
5
5
  "description": "Library for react reactivity",
6
6
  "author": "Hairyf <wwu710632@gmail.com>",
7
7
  "license": "MIT",
@@ -33,14 +33,14 @@
33
33
  "valtio": "^2"
34
34
  },
35
35
  "devDependencies": {
36
- "@types/react": "^18.2.43",
37
- "@types/react-dom": "^18.2.17",
38
- "react": "^18.2.0",
39
- "react-dom": "^18.2.0",
36
+ "@types/react": "^19.1.3",
37
+ "@types/react-dom": "^19.1.3",
38
+ "react": "^19.1.0",
39
+ "react-dom": "^19.1.0",
40
40
  "react-i18next": "^14.1.2",
41
41
  "react-use": "^17.6.0",
42
- "@hairy/react-lib": "1.29.0",
43
- "@hairy/utils": "1.29.0"
42
+ "@hairy/react-lib": "1.33.0",
43
+ "@hairy/utils": "1.33.0"
44
44
  },
45
45
  "scripts": {
46
46
  "build": "tsup",