@octanejs/three 0.1.64 → 0.1.65
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/package.json +6 -6
- package/src/scheduling.ts +1 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@octanejs/three",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.65",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"sideEffects": false,
|
|
@@ -58,7 +58,7 @@
|
|
|
58
58
|
},
|
|
59
59
|
"peerDependencies": {
|
|
60
60
|
"@types/three": ">=0.156.0",
|
|
61
|
-
"octane": "^0.
|
|
61
|
+
"octane": "^0.19.0",
|
|
62
62
|
"three": ">=0.156.0"
|
|
63
63
|
},
|
|
64
64
|
"peerDependenciesMeta": {
|
|
@@ -67,16 +67,16 @@
|
|
|
67
67
|
}
|
|
68
68
|
},
|
|
69
69
|
"devDependencies": {
|
|
70
|
-
"@octanejs/rsbuild-plugin": "0.2.
|
|
71
|
-
"@octanejs/rspack-plugin": "0.2.
|
|
72
|
-
"@octanejs/vite-plugin": "0.6.
|
|
70
|
+
"@octanejs/rsbuild-plugin": "0.2.2",
|
|
71
|
+
"@octanejs/rspack-plugin": "0.2.11",
|
|
72
|
+
"@octanejs/vite-plugin": "0.6.2",
|
|
73
73
|
"@react-three/fiber": "9.6.1",
|
|
74
74
|
"@rsbuild/core": "^2.1.6",
|
|
75
75
|
"@rspack/core": "^2.1.4",
|
|
76
76
|
"@tsrx/react": "^0.4.5",
|
|
77
77
|
"@types/three": "0.172.0",
|
|
78
78
|
"esbuild": "^0.28.1",
|
|
79
|
-
"octane": "0.
|
|
79
|
+
"octane": "0.19.0",
|
|
80
80
|
"playwright": "^1.61.1",
|
|
81
81
|
"react": "19.2.7",
|
|
82
82
|
"react-dom": "19.2.7",
|
package/src/scheduling.ts
CHANGED
|
@@ -7,7 +7,6 @@ import {
|
|
|
7
7
|
} from 'octane/universal';
|
|
8
8
|
|
|
9
9
|
export type Act = typeof import('octane').act;
|
|
10
|
-
type FlushSync = typeof import('octane').flushSync;
|
|
11
10
|
const NO_ACT_ERROR = Symbol('octane.three.no-act-error');
|
|
12
11
|
|
|
13
12
|
function isThenable<T>(value: T | Promise<T>): value is Promise<T> {
|
|
@@ -70,7 +69,7 @@ function runClientAct<T>(callback: () => T | Promise<T>, clientAct: Act): Promis
|
|
|
70
69
|
}
|
|
71
70
|
|
|
72
71
|
/** Flushes both the DOM scheduler and mounted universal Three roots. */
|
|
73
|
-
export const flushSync:
|
|
72
|
+
export const flushSync: UniversalSyncFlusher = (callback) => {
|
|
74
73
|
return flushUniversalSync(callback, getUniversalHostFlusher());
|
|
75
74
|
};
|
|
76
75
|
|