@octanejs/testing-library 0.1.72 → 0.1.74

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@octanejs/testing-library",
3
- "version": "0.1.72",
3
+ "version": "0.1.74",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "engines": {
@@ -39,13 +39,13 @@
39
39
  },
40
40
  "peerDependencies": {
41
41
  "@testing-library/dom": "^10.4.1",
42
- "octane": "^0.20.0"
42
+ "octane": "^0.22.0"
43
43
  },
44
44
  "devDependencies": {
45
45
  "@testing-library/dom": "^10.4.1",
46
46
  "@testing-library/user-event": "^14.6.1",
47
47
  "esbuild": "^0.28.1",
48
- "octane": "0.20.0",
48
+ "octane": "0.22.0",
49
49
  "react": "19.2.7",
50
50
  "react-dom": "19.2.7",
51
51
  "semver": "7.8.5",
@@ -7,7 +7,7 @@
7
7
  // The mirror is exact as long as the flag is toggled through THIS module —
8
8
  // which the auto-registering `index.ts` entry and the `pure.ts` asyncWrapper
9
9
  // both do, matching RTL's assumption about its own global.
10
- import { setIsOctaneActEnvironment } from 'octane';
10
+ import { setIsOctaneActEnvironment } from 'octane/internal/client';
11
11
 
12
12
  let isActEnvironment = false;
13
13
 
package/src/pure.ts CHANGED
@@ -25,18 +25,16 @@ import {
25
25
  isInActScope,
26
26
  createElement,
27
27
  createRoot,
28
- drainPassiveEffects,
29
28
  flushSync,
30
- hasPendingWork,
31
29
  hydrateRoot,
32
30
  isValidElement,
33
31
  useEffect,
34
- withSlot,
35
32
  type ComponentBody,
36
33
  type ElementDescriptor,
37
34
  type OctaneNode,
38
35
  type Root,
39
36
  } from 'octane';
37
+ import { drainPassiveEffects, hasPendingWork, withSlot } from 'octane/internal/client';
40
38
  import {
41
39
  configure as configureDTL,
42
40
  getQueriesForElement,