expo-router 58.0.11 → 58.0.12

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.
Files changed (35) hide show
  1. package/android/build.gradle +2 -2
  2. package/build/react-navigation/elements/useFrameSize.js +3 -0
  3. package/build/react-navigation/elements/useFrameSize.js.map +1 -1
  4. package/build/testing-library/index.d.ts +11 -15
  5. package/build/testing-library/index.js +15 -39
  6. package/build/testing-library/index.js.map +1 -1
  7. package/local-maven-repo/expo/modules/router/expo.modules.router/{58.0.11/expo.modules.router-58.0.11.module → 58.0.12/expo.modules.router-58.0.12.module} +7 -7
  8. package/local-maven-repo/expo/modules/router/expo.modules.router/58.0.12/expo.modules.router-58.0.12.module.md5 +1 -0
  9. package/local-maven-repo/expo/modules/router/expo.modules.router/58.0.12/expo.modules.router-58.0.12.module.sha1 +1 -0
  10. package/local-maven-repo/expo/modules/router/expo.modules.router/58.0.12/expo.modules.router-58.0.12.module.sha256 +1 -0
  11. package/local-maven-repo/expo/modules/router/expo.modules.router/58.0.12/expo.modules.router-58.0.12.module.sha512 +1 -0
  12. package/local-maven-repo/expo/modules/router/expo.modules.router/{58.0.11/expo.modules.router-58.0.11.pom → 58.0.12/expo.modules.router-58.0.12.pom} +1 -1
  13. package/local-maven-repo/expo/modules/router/expo.modules.router/58.0.12/expo.modules.router-58.0.12.pom.md5 +1 -0
  14. package/local-maven-repo/expo/modules/router/expo.modules.router/58.0.12/expo.modules.router-58.0.12.pom.sha1 +1 -0
  15. package/local-maven-repo/expo/modules/router/expo.modules.router/58.0.12/expo.modules.router-58.0.12.pom.sha256 +1 -0
  16. package/local-maven-repo/expo/modules/router/expo.modules.router/58.0.12/expo.modules.router-58.0.12.pom.sha512 +1 -0
  17. package/package.json +6 -7
  18. package/local-maven-repo/expo/modules/router/expo.modules.router/58.0.11/expo.modules.router-58.0.11.module.md5 +0 -1
  19. package/local-maven-repo/expo/modules/router/expo.modules.router/58.0.11/expo.modules.router-58.0.11.module.sha1 +0 -1
  20. package/local-maven-repo/expo/modules/router/expo.modules.router/58.0.11/expo.modules.router-58.0.11.module.sha256 +0 -1
  21. package/local-maven-repo/expo/modules/router/expo.modules.router/58.0.11/expo.modules.router-58.0.11.module.sha512 +0 -1
  22. package/local-maven-repo/expo/modules/router/expo.modules.router/58.0.11/expo.modules.router-58.0.11.pom.md5 +0 -1
  23. package/local-maven-repo/expo/modules/router/expo.modules.router/58.0.11/expo.modules.router-58.0.11.pom.sha1 +0 -1
  24. package/local-maven-repo/expo/modules/router/expo.modules.router/58.0.11/expo.modules.router-58.0.11.pom.sha256 +0 -1
  25. package/local-maven-repo/expo/modules/router/expo.modules.router/58.0.11/expo.modules.router-58.0.11.pom.sha512 +0 -1
  26. /package/local-maven-repo/expo/modules/router/expo.modules.router/{58.0.11/expo.modules.router-58.0.11-sources.jar → 58.0.12/expo.modules.router-58.0.12-sources.jar} +0 -0
  27. /package/local-maven-repo/expo/modules/router/expo.modules.router/{58.0.11/expo.modules.router-58.0.11-sources.jar.md5 → 58.0.12/expo.modules.router-58.0.12-sources.jar.md5} +0 -0
  28. /package/local-maven-repo/expo/modules/router/expo.modules.router/{58.0.11/expo.modules.router-58.0.11-sources.jar.sha1 → 58.0.12/expo.modules.router-58.0.12-sources.jar.sha1} +0 -0
  29. /package/local-maven-repo/expo/modules/router/expo.modules.router/{58.0.11/expo.modules.router-58.0.11-sources.jar.sha256 → 58.0.12/expo.modules.router-58.0.12-sources.jar.sha256} +0 -0
  30. /package/local-maven-repo/expo/modules/router/expo.modules.router/{58.0.11/expo.modules.router-58.0.11-sources.jar.sha512 → 58.0.12/expo.modules.router-58.0.12-sources.jar.sha512} +0 -0
  31. /package/local-maven-repo/expo/modules/router/expo.modules.router/{58.0.11/expo.modules.router-58.0.11.aar → 58.0.12/expo.modules.router-58.0.12.aar} +0 -0
  32. /package/local-maven-repo/expo/modules/router/expo.modules.router/{58.0.11/expo.modules.router-58.0.11.aar.md5 → 58.0.12/expo.modules.router-58.0.12.aar.md5} +0 -0
  33. /package/local-maven-repo/expo/modules/router/expo.modules.router/{58.0.11/expo.modules.router-58.0.11.aar.sha1 → 58.0.12/expo.modules.router-58.0.12.aar.sha1} +0 -0
  34. /package/local-maven-repo/expo/modules/router/expo.modules.router/{58.0.11/expo.modules.router-58.0.11.aar.sha256 → 58.0.12/expo.modules.router-58.0.12.aar.sha256} +0 -0
  35. /package/local-maven-repo/expo/modules/router/expo.modules.router/{58.0.11/expo.modules.router-58.0.11.aar.sha512 → 58.0.12/expo.modules.router-58.0.12.aar.sha512} +0 -0
@@ -4,13 +4,13 @@ plugins {
4
4
  }
5
5
 
6
6
  group = 'expo.modules.router'
7
- version = '58.0.11'
7
+ version = '58.0.12'
8
8
 
9
9
  android {
10
10
  namespace "expo.modules.router"
11
11
  defaultConfig {
12
12
  versionCode 1
13
- versionName "58.0.11"
13
+ versionName "58.0.12"
14
14
  }
15
15
  lintOptions {
16
16
  abortOnError false
@@ -206,6 +206,9 @@ function FrameSizeListenerWeb({ onChange }) {
206
206
  if (elementRef.current == null) {
207
207
  return;
208
208
  }
209
+ if (typeof elementRef.current.getBoundingClientRect !== 'function') {
210
+ return;
211
+ }
209
212
  const rect = elementRef.current.getBoundingClientRect();
210
213
  onChange({
211
214
  width: rect.width,
@@ -1 +1 @@
1
- {"version":3,"sources":["react-navigation/elements/useFrameSize.tsx"],"sourcesContent":[null],"names":["FrameSizeProvider","useFrameSize","FrameContext","React","createContext","undefined","selector","throttle","context","use","Error","value","useSyncExternalStoreWithSelector","subscribeThrottled","subscribe","getCurrent","initialFrame","render","frameRef","useRef","width","height","listeners","Set","useLatestCallback","current","listener","add","delete","delay","timer","updated","waiting","throttledListener","clearTimeout","setTimeout","unsubscribe","useMemo","onChange","frame","forEach","viewRef","useEffect","Platform","OS","measure","_x","_y","onLayout","event","nativeEvent","layout","Provider","FrameSizeListenerWeb","ref","elementRef","rect","getBoundingClientRect","observer","ResizeObserver","entries","entry","contentRect","observe","disconnect","div","style","position","left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vErB,OAAO;gBAAEqC,KAAKb;gBAASO;YAAS;;;AAGvC;AAEA,uDAAuD;AACvD,gDAAgD;AAChD,SAASK,qBAAqB,EAAEf,QAAQ,EAAwC;IAC9E,MAAMiB,aAAapD,SAAMgB,MAAM,CAAiB;IAEhDhB,SAAMuC,SAAS,CAAC;QACd,IAAIa,WAAW9B,OAAO,IAAI,MAAM;YAC9B;QACF;QAEA,MAAM+B,OAAOD,WAAW9B,OAAO,CAACgC,qBAAqB;QAErDnB,SAAS;YACPlB,OAAOoC,KAAKpC,KAAK;YACjBC,QAAQmC,KAAKnC,MAAM;QACrB;QAEA,MAAMqC,WAAW,IAAIC,eAAe,CAACC;YACnC,MAAMC,QAAQD,OAAO,CAAC,EAAE;YAExB,IAAIC,OAAO;gBACT,MAAM,EAAEzC,KAAK,EAAEC,MAAM,EAAE,GAAGwC,MAAMC,WAAW;gBAE3CxB,SAAS;oBAAElB;oBAAOC;gBAAO;YAC3B;QACF;QAEAqC,SAASK,OAAO,CAACR,WAAW9B,OAAO;QAEnC,OAAO;YACLiC,SAASM,UAAU;QACrB;IACF,GAAG;QAAC1B;KAAS;IAEb,qBACE,uBAAC2B;QACCX,KAAKC;QACLW,OAAO;YACLC,UAAU;YACVC,MAAM;YACNC,OAAO;YACPC,KAAK;YACLC,QAAQ;YACRC,eAAe;YACfC,YAAY;QACd;;AAGN"}
1
+ {"version":3,"sources":["react-navigation/elements/useFrameSize.tsx"],"sourcesContent":[null],"names":["FrameSizeProvider","useFrameSize","FrameContext","React","createContext","undefined","selector","throttle","context","use","Error","value","useSyncExternalStoreWithSelector","subscribeThrottled","subscribe","getCurrent","initialFrame","render","frameRef","useRef","width","height","listeners","Set","useLatestCallback","current","listener","add","delete","delay","timer","updated","waiting","throttledListener","clearTimeout","setTimeout","unsubscribe","useMemo","onChange","frame","forEach","viewRef","useEffect","Platform","OS","measure","_x","_y","onLayout","event","nativeEvent","layout","Provider","FrameSizeListenerWeb","ref","elementRef","getBoundingClientRect","rect","observer","ResizeObserver","entries","entry","contentRect","observe","disconnect","div","style","position","left","right","top","bottom","pointerEvents","visibility"],"mappings":"AAAA;;;;;;;;;;;;;;;;QAkDgBA;eAAAA;;QAzBAC;eAAAA;;;;;;;;;;;iEAxBO;;;;;;;yBAEgC;;;;;;0EAEzB;kDACmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAiBjD,MAAMC,6BAAeC,SAAMC,aAAa,CAA+BC;AAEhE,SAASJ,aAAgBK,QAA6B,EAAEC,QAAkB;IAC/E,MAAMC,UAAUC,IAAAA,YAAG,EAACP;IAEpB,IAAIM,WAAW,MAAM;QACnB,MAAM,IAAIE,MAAM;IAClB;IAEA,MAAMC,QAAQC,IAAAA,kEAAgC,EAC5CL,WAAWC,QAAQK,kBAAkB,GAAGL,QAAQM,SAAS,EACzDN,QAAQO,UAAU,EAClBP,QAAQO,UAAU,EAClBT;IAGF,OAAOK;AACT;AAUO,SAASX,kBAAkB,EAAEgB,YAAY,EAAEC,MAAM,EAA0B;IAChF,MAAMC,WAAWf,SAAMgB,MAAM,CAAQ;QACnCC,OAAOJ,aAAaI,KAAK;QACzBC,QAAQL,aAAaK,MAAM;IAC7B;IAEA,MAAMC,YAAYnB,SAAMgB,MAAM,CAAgB,IAAII;IAElD,MAAMR,aAAaS,IAAAA,0BAAiB,EAAC,IAAMN,SAASO,OAAO;IAE3D,MAAMX,YAAYU,IAAAA,0BAAiB,EAAC,CAACE;QACnCJ,UAAUG,OAAO,CAACE,GAAG,CAACD;QAEtB,OAAO;YACLJ,UAAUG,OAAO,CAACG,MAAM,CAACF;QAC3B;IACF;IAEA,MAAMb,qBAAqBW,IAAAA,0BAAiB,EAAC,CAACE;QAC5C,MAAMG,QAAQ,KAAK,iCAAiC;QAEpD,IAAIC;QACJ,IAAIC,UAAU;QACd,IAAIC,UAAU;QAEd,MAAMC,oBAAoB;YACxBC,aAAaJ;YAEbC,UAAU;YAEV,IAAIC,SAAS;gBACX,mDA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,sBAAQ,uBAACS;gBAAqBf,UAAUA;iBAAe;YACvErB,OAAO;gBAAEqC,KAAKb;gBAASO;YAAS;;;AAGvC;AAEA,uDAAuD;AACvD,gDAAgD;AAChD,SAASK,qBAAqB,EAAEf,QAAQ,EAAwC;IAC9E,MAAMiB,aAAapD,SAAMgB,MAAM,CAAiB;IAEhDhB,SAAMuC,SAAS,CAAC;QACd,IAAIa,WAAW9B,OAAO,IAAI,MAAM;YAC9B;QACF;QAEA,IAAI,OAAO8B,WAAW9B,OAAO,CAAC+B,qBAAqB,KAAK,YAAY;YAClE;QACF;QAEA,MAAMC,OAAOF,WAAW9B,OAAO,CAAC+B,qBAAqB;QAErDlB,SAAS;YACPlB,OAAOqC,KAAKrC,KAAK;YACjBC,QAAQoC,KAAKpC,MAAM;QACrB;QAEA,MAAMqC,WAAW,IAAIC,eAAe,CAACC;YACnC,MAAMC,QAAQD,OAAO,CAAC,EAAE;YAExB,IAAIC,OAAO;gBACT,MAAM,EAAEzC,KAAK,EAAEC,MAAM,EAAE,GAAGwC,MAAMC,WAAW;gBAE3CxB,SAAS;oBAAElB;oBAAOC;gBAAO;YAC3B;QACF;QAEAqC,SAASK,OAAO,CAACR,WAAW9B,OAAO;QAEnC,OAAO;YACLiC,SAASM,UAAU;QACrB;IACF,GAAG;QAAC1B;KAAS;IAEb,qBACE,uBAAC2B;QACCX,KAAKC;QACLW,OAAO;YACLC,UAAU;YACVC,MAAM;YACNC,OAAO;YACPC,KAAK;YACLC,QAAQ;YACRC,eAAe;YACfC,YAAY;QACd;;AAGN"}
@@ -1,43 +1,39 @@
1
1
  import './expect';
2
2
  import './mocks';
3
+ import type { RenderResult } from '@testing-library/react-native';
3
4
  import type { ExpoLinkingOptions } from '../getLinkingConfig';
4
5
  import type { ReactNavigationState } from '../global-state/types';
5
6
  import { type MockContextConfig } from './mock-config';
6
7
  export { type MockContextConfig, getMockConfig, getMockContext } from './mock-config';
7
8
  declare const rnTestingLibrary: typeof import("@testing-library/react-native");
8
9
  export type * from '@testing-library/react-native';
9
- export declare const act: typeof import("react").act, cleanup: typeof import("@testing-library/react-native").cleanup, fireEvent: typeof import("@testing-library/react-native").fireEvent, waitFor: typeof import("@testing-library/react-native").waitFor, waitForElementToBeRemoved: typeof import("@testing-library/react-native").waitForElementToBeRemoved, within: typeof import("@testing-library/react-native").within, configure: typeof import("@testing-library/react-native").configure, resetToDefaults: typeof import("@testing-library/react-native").resetToDefaults, isHiddenFromAccessibility: typeof import("@testing-library/react-native").isHiddenFromAccessibility, isInaccessible: typeof import("@testing-library/react-native").isHiddenFromAccessibility, getDefaultNormalizer: typeof import("@testing-library/react-native").getDefaultNormalizer, renderHook: typeof import("@testing-library/react-native").renderHook;
10
+ export declare const act: typeof import("@testing-library/react-native").act, cleanup: typeof import("@testing-library/react-native").cleanup, fireEvent: typeof import("@testing-library/react-native").fireEvent, waitFor: typeof import("@testing-library/react-native").waitFor, waitForElementToBeRemoved: typeof import("@testing-library/react-native").waitForElementToBeRemoved, within: typeof import("@testing-library/react-native").within, configure: typeof import("@testing-library/react-native").configure, resetToDefaults: typeof import("@testing-library/react-native").resetToDefaults, isHiddenFromAccessibility: typeof import("@testing-library/react-native").isHiddenFromAccessibility, isInaccessible: typeof import("@testing-library/react-native").isHiddenFromAccessibility, getDefaultNormalizer: typeof import("@testing-library/react-native").getDefaultNormalizer, renderHook: typeof import("@testing-library/react-native").renderHook;
10
11
  export declare let screen: typeof rnTestingLibrary.screen;
11
12
  export type RenderRouterOptions = Parameters<typeof rnTestingLibrary.render>[1] & {
12
13
  initialUrl?: any;
13
14
  linking?: Partial<ExpoLinkingOptions>;
14
15
  };
15
- export type RenderRouterAsyncOptions = Parameters<typeof rnTestingLibrary.renderAsync>[1] & {
16
- initialUrl?: any;
17
- linking?: Partial<ExpoLinkingOptions>;
18
- };
19
- type Result = ReturnType<typeof rnTestingLibrary.render> & {
16
+ export type RenderRouterResult = RenderResult & {
20
17
  getPathname(): string;
21
18
  getPathnameWithParams(): string;
22
19
  getSegments(): string[];
23
20
  getSearchParams(): Record<string, string | string[]>;
24
21
  getRouterState(): ReactNavigationState | undefined;
25
22
  };
26
- export declare function renderRouter(context?: MockContextConfig, { initialUrl, linking, ...options }?: RenderRouterOptions): Result;
27
- export declare function renderRouterAsync(context?: MockContextConfig, { initialUrl, linking, ...options }?: RenderRouterAsyncOptions): Promise<Awaited<ReturnType<typeof rnTestingLibrary.renderAsync>>>;
23
+ export declare function renderRouter(context?: MockContextConfig, { initialUrl, linking, ...options }?: RenderRouterOptions): Promise<RenderRouterResult>;
28
24
  export declare const testRouter: {
29
25
  /** Navigate to the provided pathname and assert the pathname */
30
- navigate(path: string): void;
26
+ navigate(path: string): Promise<void>;
31
27
  /** Push the provided pathname and assert the pathname */
32
- push(path: string): void;
28
+ push(path: string): Promise<void>;
33
29
  /** Replace with provided pathname and assert the pathname */
34
- replace(path: string): void;
30
+ replace(path: string): Promise<void>;
35
31
  /** Go back in history and assert the new pathname */
36
- back(path?: string): void;
32
+ back(path?: string): Promise<void>;
37
33
  /** If there's history that supports invoking the `back` function. */
38
34
  canGoBack(): boolean;
39
35
  /** Update the current route query params and assert the new pathname */
40
- setParams(params: Record<string, string>, path?: string): void;
41
- /** If there's history that supports invoking the `back` function. */
42
- dismissAll(): void;
36
+ setParams(params: Record<string, string>, path?: string): Promise<void>;
37
+ /** Dismiss every screen in the current stack. */
38
+ dismissAll(): Promise<void>;
43
39
  };
@@ -6,7 +6,6 @@ Object.defineProperty(exports, "__esModule", {
6
6
  getMockConfig: null,
7
7
  getMockContext: null,
8
8
  renderRouter: null,
9
- renderRouterAsync: null,
10
9
  testRouter: null
11
10
  });
12
11
  function _export(target, all) {
@@ -25,9 +24,6 @@ _export(exports, {
25
24
  get renderRouter () {
26
25
  return renderRouter;
27
26
  },
28
- get renderRouterAsync () {
29
- return renderRouterAsync;
30
- },
31
27
  get testRouter () {
32
28
  return testRouter;
33
29
  }
@@ -65,7 +61,7 @@ Object.defineProperty(exports, 'screen', {
65
61
  return rnTestingLibrary.screen;
66
62
  }
67
63
  });
68
- function renderRouter(context = './app', { initialUrl = '/', linking, ...options } = {}) {
64
+ async function renderRouter(context = './app', { initialUrl = '/', linking, ...options } = {}) {
69
65
  // See https://github.com/expo/expo/issues/46864 and https://github.com/expo/expo/pull/27648
70
66
  const systemTime = Date.now();
71
67
  jest.useFakeTimers();
@@ -77,16 +73,12 @@ function renderRouter(context = './app', { initialUrl = '/', linking, ...options
77
73
  const mockContext = (0, _mockconfig.getMockContext)(context);
78
74
  // Force the render to be synchronous
79
75
  process.env.EXPO_ROUTER_IMPORT_MODE = 'sync';
80
- const result = rnTestingLibrary.render(/*#__PURE__*/ (0, _jsxruntime().jsx)(_ExpoRoot.ExpoRoot, {
76
+ const result = await rnTestingLibrary.render(/*#__PURE__*/ (0, _jsxruntime().jsx)(_ExpoRoot.ExpoRoot, {
81
77
  context: mockContext,
82
78
  location: initialUrl,
83
79
  linking: linking
84
80
  }), options);
85
- /**
86
- * This is a hack to ensure that React Navigation's state updates are processed before we run assertions.
87
- * Some updates are async and we need to wait for them to complete, otherwise will we get a false positive.
88
- * (that the app will briefly be in the right state, but then update to an invalid state)
89
- */ return Object.assign(result, {
81
+ return Object.assign(result, {
90
82
  getPathname () {
91
83
  return (0, _getRouteInfoFromState.getRouteInfoFromState)(_navigationRef.navigationRef.getRootState()).pathname;
92
84
  },
@@ -104,38 +96,22 @@ function renderRouter(context = './app', { initialUrl = '/', linking, ...options
104
96
  }
105
97
  });
106
98
  }
107
- async function renderRouterAsync(context = './app', { initialUrl = '/', linking, ...options } = {}) {
108
- const systemTime = Date.now();
109
- jest.useFakeTimers();
110
- try {
111
- jest.setSystemTime(systemTime);
112
- } catch {
113
- // Legacy fake timers don't support `setSystemTime` (and don't mock the clock), so there's nothing to restore.
114
- }
115
- process.env.EXPO_ROUTER_IMPORT_MODE = 'sync';
116
- // TODO: Remove `renderAsync` when we migrate to RNTL v14.
117
- return rnTestingLibrary.renderAsync(/*#__PURE__*/ (0, _jsxruntime().jsx)(_ExpoRoot.ExpoRoot, {
118
- context: (0, _mockconfig.getMockContext)(context),
119
- location: initialUrl,
120
- linking: linking
121
- }), options);
122
- }
123
99
  const testRouter = {
124
- /** Navigate to the provided pathname and assert the pathname */ navigate (path) {
125
- rnTestingLibrary.act(()=>_imperativeapi.router.navigate(path));
100
+ /** Navigate to the provided pathname and assert the pathname */ async navigate (path) {
101
+ await rnTestingLibrary.act(()=>_imperativeapi.router.navigate(path));
126
102
  expect(rnTestingLibrary.screen).toHavePathnameWithParams(path);
127
103
  },
128
- /** Push the provided pathname and assert the pathname */ push (path) {
129
- rnTestingLibrary.act(()=>_imperativeapi.router.push(path));
104
+ /** Push the provided pathname and assert the pathname */ async push (path) {
105
+ await rnTestingLibrary.act(()=>_imperativeapi.router.push(path));
130
106
  expect(rnTestingLibrary.screen).toHavePathnameWithParams(path);
131
107
  },
132
- /** Replace with provided pathname and assert the pathname */ replace (path) {
133
- rnTestingLibrary.act(()=>_imperativeapi.router.replace(path));
108
+ /** Replace with provided pathname and assert the pathname */ async replace (path) {
109
+ await rnTestingLibrary.act(()=>_imperativeapi.router.replace(path));
134
110
  expect(rnTestingLibrary.screen).toHavePathnameWithParams(path);
135
111
  },
136
- /** Go back in history and assert the new pathname */ back (path) {
112
+ /** Go back in history and assert the new pathname */ async back (path) {
137
113
  expect(_imperativeapi.router.canGoBack()).toBe(true);
138
- rnTestingLibrary.act(()=>_imperativeapi.router.back());
114
+ await rnTestingLibrary.act(()=>_imperativeapi.router.back());
139
115
  if (path) {
140
116
  expect(rnTestingLibrary.screen).toHavePathnameWithParams(path);
141
117
  }
@@ -143,14 +119,14 @@ const testRouter = {
143
119
  /** If there's history that supports invoking the `back` function. */ canGoBack () {
144
120
  return _imperativeapi.router.canGoBack();
145
121
  },
146
- /** Update the current route query params and assert the new pathname */ setParams (params, path) {
147
- rnTestingLibrary.act(()=>_imperativeapi.router.setParams(params));
122
+ /** Update the current route query params and assert the new pathname */ async setParams (params, path) {
123
+ await rnTestingLibrary.act(()=>_imperativeapi.router.setParams(params));
148
124
  if (path) {
149
125
  expect(screen).toHavePathnameWithParams(path);
150
126
  }
151
127
  },
152
- /** If there's history that supports invoking the `back` function. */ dismissAll () {
153
- rnTestingLibrary.act(()=>_imperativeapi.router.dismissAll());
128
+ /** Dismiss every screen in the current stack. */ async dismissAll () {
129
+ await rnTestingLibrary.act(()=>_imperativeapi.router.dismissAll());
154
130
  }
155
131
  };
156
132
 
@@ -1 +1 @@
1
- {"version":3,"sources":["testing-library/index.tsx"],"sourcesContent":[null],"names":["getMockConfig","getMockContext","renderRouter","renderRouterAsync","testRouter","rnTestingLibrary","require","error","code","newError","Error","stack","cause","Object","assign","exports","defineProperty","get","screen","context","initialUrl","linking","options","systemTime","Date","now","jest","useFakeTimers","setSystemTime","mockContext","process","env","EXPO_ROUTER_IMPORT_MODE","result","render","ExpoRoot","location","getPathname","getRouteInfoFromState","navigationRef","getRootState","pathname","getSegments","segments","getSearchParams","params","getPathnameWithParams","pathnameWithParams","getRouterState","renderAsync","navigate","path","act","router","expect","toHavePathnameWithParams","push","replace","back","canGoBack","toBe","setParams","dismissAll"],"mappings":";;;;;;;;;;;;;;;;;;QAYiCA;eAAAA,yBAAa;;QAAEC;eAAAA,0BAAc;;QAiE9CC;eAAAA;;QA+CMC;eAAAA;;QAqBTC;eAAAA;;;;;;;;;;QAjJN;QACA;0BAGkB;uCAEa;+BACR;+BAEP;4BACgC;AAIvD,MAAMC,mBAAmB,AAAC,CAAA;IACxB,IAAI;QACF,OAAOC,QAAQ;IACjB,EAAE,OAAOC,OAAY;QACnB,IAAI,UAAUA,SAASA,MAAMC,IAAI,KAAK,oBAAoB;YACxD,MAAMC,WAAW,IAAIC,MACnB,CAAC,4IAA4I,CAAC;YAEhJD,SAASE,KAAK,GAAGJ,MAAMI,KAAK;YAC5BF,SAASG,KAAK,GAAGL;YACjB,MAAME;QACR;QACA,MAAMF;IACR;AACF,CAAA;AAuBAM,OAAOC,MAAM,C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IAAMC,qBAAM,CAACS,UAAU;IAC9C;AACF"}
1
+ {"version":3,"sources":["testing-library/index.tsx"],"sourcesContent":[null],"names":["getMockConfig","getMockContext","renderRouter","testRouter","rnTestingLibrary","require","error","code","newError","Error","stack","cause","Object","assign","exports","defineProperty","get","screen","context","initialUrl","linking","options","systemTime","Date","now","jest","useFakeTimers","setSystemTime","mockContext","process","env","EXPO_ROUTER_IMPORT_MODE","result","render","ExpoRoot","location","getPathname","getRouteInfoFromState","navigationRef","getRootState","pathname","getSegments","segments","getSearchParams","params","getPathnameWithParams","pathnameWithParams","getRouterState","navigate","path","act","router","expect","toHavePathnameWithParams","push","replace","back","canGoBack","toBe","setParams","dismissAll"],"mappings":";;;;;;;;;;;;;;;;;QAYiCA;eAAAA,yBAAa;;QAAEC;eAAAA,0BAAc;;QA2DxCC;eAAAA;;QA0CTC;eAAAA;;;;;;;;;;QAjHN;QACA;0BAGkB;uCAEa;+BACR;+BAEP;4BACgC;AAIvD,MAAMC,mBAAmB,AAAC,CAAA;IACxB,IAAI;QACF,OAAOC,QAAQ;IACjB,EAAE,OAAOC,OAAY;QACnB,IAAI,UAAUA,SAASA,MAAMC,IAAI,KAAK,oBAAoB;YACxD,MAAMC,WAAW,IAAIC,MACnB,CAAC,4IAA4I,CAAC;YAEhJD,SAASE,KAAK,GAAGJ,MAAMI,KAAK;YAC5BF,SAASG,KAAK,GAAGL;YACjB,MAAME;QACR;QACA,MAAMF;IACR;AACF,CAAA;AAuBAM,OAAOC,MAAM,CAACC,SAASV;AACvBQ,OAAOG,cAAc,CAACD,SAAS,UAAU;IACvCE;QACE,OAAOZ,iBAAiBa,MAAM;IAChC;AACF;AAeO,eAAef,aACpBgB,UAA6B,OAAO,EACpC,EAAEC,aAAa,GAAG,EAAEC,OAAO,EAAE,GAAGC,SAA8B,GAAG,CAAC,CAAC;IAEnE,4FAA4F;IAC5F,MAAMC,aAAaC,KAAKC,GAAG;IAC3BC,KAAKC,aAAa;IAClB,IAAI;QACFD,K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IACA,mDAAmD,GACnD,MAAMO,MAAKP,IAAa;QACtBG,OAAOD,qBAAM,CAACM,SAAS,IAAIC,IAAI,CAAC;QAChC,MAAMtD,iBAAiB8C,GAAG,CAAC,IAAMC,qBAAM,CAACK,IAAI;QAC5C,IAAIP,MAAM;YACRG,OAAOhD,iBAAiBa,MAAM,EAAEoC,wBAAwB,CAACJ;QAC3D;IACF;IACA,mEAAmE,GACnEQ;QACE,OAAON,qBAAM,CAACM,SAAS;IACzB;IACA,sEAAsE,GACtE,MAAME,WAAUf,MAA8B,EAAEK,IAAa;QAC3D,MAAM7C,iBAAiB8C,GAAG,CAAC,IAAMC,qBAAM,CAACQ,SAAS,CAACf;QAClD,IAAIK,MAAM;YACRG,OAAOnC,QAAQoC,wBAAwB,CAACJ;QAC1C;IACF;IACA,+CAA+C,GAC/C,MAAMW;QACJ,MAAMxD,iBAAiB8C,GAAG,CAAC,IAAMC,qBAAM,CAACS,UAAU;IACpD;AACF"}
@@ -3,7 +3,7 @@
3
3
  "component": {
4
4
  "group": "expo.modules.router",
5
5
  "module": "expo.modules.router",
6
- "version": "58.0.11",
6
+ "version": "58.0.12",
7
7
  "attributes": {
8
8
  "org.gradle.status": "release"
9
9
  }
@@ -24,8 +24,8 @@
24
24
  },
25
25
  "files": [
26
26
  {
27
- "name": "expo.modules.router-58.0.11.aar",
28
- "url": "expo.modules.router-58.0.11.aar",
27
+ "name": "expo.modules.router-58.0.12.aar",
28
+ "url": "expo.modules.router-58.0.12.aar",
29
29
  "size": 16133,
30
30
  "sha512": "32ccb33ae7df2d0abc96fb77d87c776773a15d8de0818d83bbca865581f60f85a0c280a75de2f770590ccabadb78874cec32689a50a0bc29b6a9025ed6c592b1",
31
31
  "sha256": "5a620cdcb41c5bc3c82e954ffd02de6b85954cd41bde5b5694ac9d5f5f25aa8f",
@@ -74,8 +74,8 @@
74
74
  ],
75
75
  "files": [
76
76
  {
77
- "name": "expo.modules.router-58.0.11.aar",
78
- "url": "expo.modules.router-58.0.11.aar",
77
+ "name": "expo.modules.router-58.0.12.aar",
78
+ "url": "expo.modules.router-58.0.12.aar",
79
79
  "size": 16133,
80
80
  "sha512": "32ccb33ae7df2d0abc96fb77d87c776773a15d8de0818d83bbca865581f60f85a0c280a75de2f770590ccabadb78874cec32689a50a0bc29b6a9025ed6c592b1",
81
81
  "sha256": "5a620cdcb41c5bc3c82e954ffd02de6b85954cd41bde5b5694ac9d5f5f25aa8f",
@@ -94,8 +94,8 @@
94
94
  },
95
95
  "files": [
96
96
  {
97
- "name": "expo.modules.router-58.0.11-sources.jar",
98
- "url": "expo.modules.router-58.0.11-sources.jar",
97
+ "name": "expo.modules.router-58.0.12-sources.jar",
98
+ "url": "expo.modules.router-58.0.12-sources.jar",
99
99
  "size": 1986,
100
100
  "sha512": "c1d7dd32034c271b8e8d511c2e8ea7705b8378c4e2859d4bf810cd75ea33bbd4c212c9bbb5f0d27ae90f8f599fbb8f865b37001791bb539e94b90413396e6139",
101
101
  "sha256": "3027e02be198959073884cd5afb9b46f39f0d7396a590f6840bb63ef37010adc",
@@ -0,0 +1 @@
1
+ ba85a0025113ec352792c9286a6f59afa0c3bb7ba183b0ec8a9ca66228b21b25
@@ -0,0 +1 @@
1
+ 6d9f434f1d38c15701946c46007623c56a8d5ca08d5e6093c47b3144f714eeae1a38f6845f03543816ee7aee350caf9528e1aa08e199cb15dd4a7ef625dfe93f
@@ -9,7 +9,7 @@
9
9
  <modelVersion>4.0.0</modelVersion>
10
10
  <groupId>expo.modules.router</groupId>
11
11
  <artifactId>expo.modules.router</artifactId>
12
- <version>58.0.11</version>
12
+ <version>58.0.12</version>
13
13
  <packaging>aar</packaging>
14
14
  <name>expo.modules.router</name>
15
15
  <url>https://github.com/expo/expo</url>
@@ -0,0 +1 @@
1
+ fee73aa6e303e55625e7ba52071f5060fa612719e0a0f43cb167de24886b0de4
@@ -0,0 +1 @@
1
+ a941c2a3a7443eacfc32c0179e33e40056a5f8edaac08ddd4eebab99fb6929ada1a27fed22012451d28a9fc10cdca2c988a09543d66180c53857b8ba19b1b49e
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "expo-router",
3
- "version": "58.0.11",
3
+ "version": "58.0.12",
4
4
  "description": "Expo Router is a file-based router for React Native and web applications.",
5
5
  "keywords": [
6
6
  "expo",
@@ -295,19 +295,18 @@
295
295
  "standard-navigation": "^0.0.5"
296
296
  },
297
297
  "devDependencies": {
298
- "@expo/ui": "^58.0.10",
298
+ "@expo/ui": "^58.0.11",
299
299
  "@jest/globals": "^29.7.0",
300
300
  "@testing-library/dom": "^10.4.0",
301
301
  "@testing-library/jest-dom": "^6.9.1",
302
302
  "@testing-library/react": "^16.3.0",
303
- "@testing-library/react-native": "^13.3.0",
303
+ "@testing-library/react-native": "^14.0.1",
304
304
  "@testing-library/user-event": "^14.6.1",
305
305
  "@types/jest": "^29.2.1",
306
306
  "@types/node": "^22.14.0",
307
307
  "@types/react": "~19.3.0",
308
308
  "@types/react-dom": "^19.1.7",
309
309
  "@types/react-is": "^19.0.0",
310
- "@types/react-test-renderer": "^19.1.0",
311
310
  "expect-type": "^1.3.0",
312
311
  "expo-symbols": "^58.0.3",
313
312
  "immer": "^10.1.1",
@@ -324,11 +323,11 @@
324
323
  "peerDependencies": {
325
324
  "@expo/log-box": "^58.0.8",
326
325
  "@expo/metro-runtime": "^58.0.10",
327
- "@expo/ui": "^58.0.10",
328
- "@testing-library/react-native": ">= 13.2.0",
326
+ "@expo/ui": "^58.0.11",
327
+ "@testing-library/react-native": ">= 14.0.0",
329
328
  "expo": "*",
330
329
  "expo-constants": "^58.0.9",
331
- "expo-linking": "^58.0.9",
330
+ "expo-linking": "^58.0.10",
332
331
  "expo-symbols": "^58.0.3",
333
332
  "react": "*",
334
333
  "react-dom": "*",
@@ -1 +0,0 @@
1
- 23f17a37779e66979711dc21e9ae162e6ddac144b69de8b8fad76fba77bc4175
@@ -1 +0,0 @@
1
- 9c275bdf12656be9affa57770e5ffcb846c4e769e815ec966961b51b4747ee3d7231cf4ff36e3ddf78a60211a0d06d72e414f08aa8004bb37ba684a5962ca64c
@@ -1 +0,0 @@
1
- 811562ad34a756f9b5c347bbb90a27666efd2c2049f107216d515a600deea62c
@@ -1 +0,0 @@
1
- 47065bd6e20c84fc2f5487c834828226c24dc9820fa1e4068e07f3f4b948e372088d54d2c7f7f430b5d8baacfeb2372d6ad364aab43465dd6a5dd87c40a9f641