react-native-roku 0.0.0-stage → 0.2.0-preview.1

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 (200) hide show
  1. package/CHANGELOG.md +318 -0
  2. package/CONTRIBUTING.md +34 -0
  3. package/LICENSE +21 -0
  4. package/NOTICE.md +10 -0
  5. package/README.md +66 -2
  6. package/bin/react-native-roku.mjs +91 -0
  7. package/build/assets.cjs +311 -0
  8. package/build/assets.d.cts +50 -0
  9. package/build/compatibility.d.mts +40 -0
  10. package/build/compatibility.mjs +272 -0
  11. package/build/dev.d.mts +34 -0
  12. package/build/dev.mjs +297 -0
  13. package/build/devWorkspace.d.mts +11 -0
  14. package/build/devWorkspace.mjs +86 -0
  15. package/build/device.d.mts +47 -0
  16. package/build/device.mjs +310 -0
  17. package/build/environment.d.mts +29 -0
  18. package/build/environment.mjs +144 -0
  19. package/build/esbuild.d.mts +5 -0
  20. package/build/esbuild.mjs +118 -0
  21. package/build/fontVariants.d.mts +27 -0
  22. package/build/fontVariants.mjs +424 -0
  23. package/build/frontend.d.mts +52 -0
  24. package/build/frontend.mjs +75 -0
  25. package/build/identity.mjs +45 -0
  26. package/build/index.d.mts +22 -0
  27. package/build/index.mjs +87 -0
  28. package/build/intl.mjs +121 -0
  29. package/build/metro.cjs +38 -0
  30. package/build/metro.d.cts +37 -0
  31. package/build/metroFrontend.mjs +222 -0
  32. package/build/metroMetadata.mjs +119 -0
  33. package/build/metroModules.mjs +397 -0
  34. package/build/metroRefresh.d.mts +64 -0
  35. package/build/metroRefresh.mjs +346 -0
  36. package/build/metroTransformer.cjs +146 -0
  37. package/build/nativeTextMemo.mjs +296 -0
  38. package/build/nativewind.d.mts +9 -0
  39. package/build/nativewind.mjs +92 -0
  40. package/build/project.d.mts +111 -0
  41. package/build/project.mjs +615 -0
  42. package/build/reactCompiler.mjs +113 -0
  43. package/build/reactProfile.cjs +35 -0
  44. package/build/refreshRuntime.mjs +187 -0
  45. package/build/refreshSourceMap.mjs +53 -0
  46. package/build/release.mjs +99 -0
  47. package/build/resolution.d.mts +3 -0
  48. package/build/resolution.mjs +25 -0
  49. package/build/surfaces.d.mts +1 -0
  50. package/build/surfaces.mjs +42 -0
  51. package/build/testing/node.d.mts +29 -0
  52. package/build/testing/node.mjs +106 -0
  53. package/build/yoga.d.mts +8 -0
  54. package/build/yoga.mjs +186 -0
  55. package/compatibility/public-api.json +327 -0
  56. package/compatibility/registry.json +2258 -0
  57. package/config/release.json +15 -0
  58. package/config/toolchain.json +34 -0
  59. package/docs/compatibility.md +813 -0
  60. package/docs/getting-started.md +460 -0
  61. package/docs/maintenance.md +362 -0
  62. package/docs/qualification.md +241 -0
  63. package/docs/standalone-testing.md +56 -0
  64. package/examples/hello-roku/README.md +35 -0
  65. package/examples/hello-roku/package.template.json +31 -0
  66. package/examples/hello-roku/pnpm-workspace.yaml +11 -0
  67. package/examples/hello-roku/roku.config.json +22 -0
  68. package/examples/hello-roku/src/App.tsx +54 -0
  69. package/examples/hello-roku/src/Catalog.tsx +200 -0
  70. package/examples/hello-roku/src/assets.d.ts +16 -0
  71. package/examples/hello-roku/src/catalog-cover.png +0 -0
  72. package/examples/hello-roku/tsconfig.json +1 -0
  73. package/examples/hello-roku/tsconfig.react.json +1 -0
  74. package/native/components/RNRAppControl.brs +215 -0
  75. package/native/components/RNRAppControl.xml +13 -0
  76. package/native/components/RNRDeviceFacts.brs +19 -0
  77. package/native/components/RNRDeviceFacts.xml +9 -0
  78. package/native/components/RNRDeviceFactsTask.brs +74 -0
  79. package/native/components/RNRDeviceFactsTask.xml +9 -0
  80. package/native/components/RNRTextRaster.brs +15 -0
  81. package/native/components/RNRTextRaster.xml +9 -0
  82. package/native/components/RNRTextRasterTask.brs +77 -0
  83. package/native/components/RNRTextRasterTask.xml +9 -0
  84. package/native/manifest.json +7 -0
  85. package/package.json +183 -3
  86. package/src/animation/clock.ts +10 -0
  87. package/src/animation/derivedValue.ts +163 -0
  88. package/src/animation/legacyAnimated.ts +255 -0
  89. package/src/animation/reanimated.ts +243 -0
  90. package/src/animation/sharedValue.ts +285 -0
  91. package/src/animation/worklets.ts +23 -0
  92. package/src/application/AppRegistry.ts +31 -0
  93. package/src/application/mountApplication.ts +136 -0
  94. package/src/graphics/BitmapLayer.tsx +68 -0
  95. package/src/graphics/RoundedBorder.tsx +116 -0
  96. package/src/graphics/TextRasterCache.ts +259 -0
  97. package/src/graphics/gradient.ts +37 -0
  98. package/src/graphics/inlineRaster.ts +85 -0
  99. package/src/graphics/png.ts +77 -0
  100. package/src/graphics/rasterPixels.ts +89 -0
  101. package/src/graphics/surfaces.ts +105 -0
  102. package/src/graphics/textRaster.types.ts +60 -0
  103. package/src/graphics/textRasterGeometry.ts +116 -0
  104. package/src/host/host.types.ts +57 -0
  105. package/src/index.ts +22 -0
  106. package/src/interop/nativewind.ts +2 -0
  107. package/src/layout/FontResources.ts +252 -0
  108. package/src/layout/affine.ts +89 -0
  109. package/src/layout/flexLayout.ts +398 -0
  110. package/src/layout/fontFaces.d.mts +19 -0
  111. package/src/layout/fontFaces.mjs +85 -0
  112. package/src/layout/fontVariants.d.mts +2 -0
  113. package/src/layout/fontVariants.mjs +8 -0
  114. package/src/layout/inlineParagraph.ts +158 -0
  115. package/src/layout/inlineText.ts +68 -0
  116. package/src/layout/layoutReuse.ts +117 -0
  117. package/src/layout/nativeNodeFields.ts +179 -0
  118. package/src/layout/preparedFields.ts +78 -0
  119. package/src/layout/textLayout.ts +138 -0
  120. package/src/layout/transform.ts +113 -0
  121. package/src/media/SceneGraphAudio.ts +161 -0
  122. package/src/media/SceneGraphVideo.ts +167 -0
  123. package/src/media/audioSession.ts +84 -0
  124. package/src/media/index.ts +2 -0
  125. package/src/media/videoErrorDetails.ts +40 -0
  126. package/src/media/videoSession.ts +136 -0
  127. package/src/navigation/RouterStore.ts +244 -0
  128. package/src/navigation/expoRouter.ts +115 -0
  129. package/src/react-native/NativeInput.ts +494 -0
  130. package/src/react-native/NativeSystemState.ts +95 -0
  131. package/src/react-native/accessibility.ts +265 -0
  132. package/src/react-native/activityIndicator.ts +72 -0
  133. package/src/react-native/compilerPressable.ts +26 -0
  134. package/src/react-native/createNativeRoot.ts +2126 -0
  135. package/src/react-native/directionalFocus.ts +55 -0
  136. package/src/react-native/environment.ts +275 -0
  137. package/src/react-native/flatList.ts +1001 -0
  138. package/src/react-native/flatListViewability.ts +231 -0
  139. package/src/react-native/focusEvents.ts +85 -0
  140. package/src/react-native/image.ts +247 -0
  141. package/src/react-native/index.ts +54 -0
  142. package/src/react-native/interactionManager.ts +76 -0
  143. package/src/react-native/keyboard.ts +60 -0
  144. package/src/react-native/linearGradient.ts +94 -0
  145. package/src/react-native/modal.tsx +148 -0
  146. package/src/react-native/nativeHostContext.ts +80 -0
  147. package/src/react-native/nativeModules.ts +86 -0
  148. package/src/react-native/nativeRoot.types.ts +22 -0
  149. package/src/react-native/nativeViewHandle.ts +191 -0
  150. package/src/react-native/nativewindPressable.ts +38 -0
  151. package/src/react-native/panResponder.ts +73 -0
  152. package/src/react-native/primitives.ts +685 -0
  153. package/src/react-native/safeArea.ts +76 -0
  154. package/src/react-native/scrollView.ts +289 -0
  155. package/src/react-native/styleInterop.ts +8 -0
  156. package/src/react-native/styleSheet.ts +54 -0
  157. package/src/react-native/textInput.ts +334 -0
  158. package/src/react-native/unsupported.ts +25 -0
  159. package/src/renderer/SceneRoot.ts +1006 -0
  160. package/src/scene/SdkDeviceFacts.ts +151 -0
  161. package/src/scene/SdkDeviceServices.ts +72 -0
  162. package/src/scene/SdkSceneGraph.ts +124 -0
  163. package/src/scene/SdkTextEntry.ts +321 -0
  164. package/src/scene/SdkTextMetrics.ts +136 -0
  165. package/src/scene/SdkTextRasterTransport.ts +191 -0
  166. package/src/scene/SdkWebTransport.ts +122 -0
  167. package/src/scene/createRokuHost.ts +213 -0
  168. package/src/scene/sceneGraph.types.ts +38 -0
  169. package/src/services/DeviceServices.ts +53 -0
  170. package/src/services/RegistryStorage.ts +85 -0
  171. package/src/services/RokuKeySession.ts +29 -0
  172. package/src/services/asyncStorage.ts +23 -0
  173. package/src/services/base64.ts +52 -0
  174. package/src/services/crypto.ts +18 -0
  175. package/src/services/expoConstants.ts +11 -0
  176. package/src/services/expoLinking.ts +12 -0
  177. package/src/services/expoStatusBar.ts +4 -0
  178. package/src/services/installWebRuntime.ts +105 -0
  179. package/src/services/intlEnglish.ts +54 -0
  180. package/src/services/languageRuntime.ts +65 -0
  181. package/src/services/nativeTimers.ts +96 -0
  182. package/src/services/secureStore.ts +23 -0
  183. package/src/services/textEntryRequest.ts +22 -0
  184. package/src/services/utf8.ts +57 -0
  185. package/src/services/webRuntime.ts +346 -0
  186. package/src/testing/CanvasResources.ts +141 -0
  187. package/src/testing/CanvasSceneGraph.ts +496 -0
  188. package/src/testing/CanvasTextEntry.ts +237 -0
  189. package/src/testing/PreviewTextObservations.ts +82 -0
  190. package/src/testing/RecordingSceneGraph.ts +136 -0
  191. package/src/types/normalize-colors.d.ts +4 -0
  192. package/src/vector/dynamicSvg.tsx +226 -0
  193. package/src/vector/svg.ts +222 -0
  194. package/src/vector/svg.types.ts +4 -0
  195. package/src/vector/svgElements.ts +58 -0
  196. package/src/vector/svgKey.d.mts +4 -0
  197. package/src/vector/svgKey.mjs +16 -0
  198. package/src/vector/svgPath.ts +157 -0
  199. package/src/vector/svgPixels.ts +133 -0
  200. package/tsconfig.consumer.json +29 -0
@@ -0,0 +1,106 @@
1
+ // Qualification IO only. This entry is excluded from runtime/browser/SDK graphs.
2
+ const nativeFetch = globalThis.fetch?.bind(globalThis);
3
+ const NativeAbortController = globalThis.AbortController;
4
+
5
+ /** Supply the source-release operation expected by CanvasSceneGraph. The
6
+ * consumer injects its native image; this package does not depend on Canvas. */
7
+ export function canvasImageSource(image) {
8
+ image.removeAttribute = (name) => {
9
+ if (name === "src") image.src = "";
10
+ };
11
+ return image;
12
+ }
13
+
14
+ /** Bridge a verified Node text-fetch port to the public portable web API.
15
+ * Compile/load that API from the installed package and inject its factory.
16
+ * A custom port must explicitly declare any strict redirect capability. */
17
+ export function createNodeTextHttp({
18
+ createPortableFetch,
19
+ fetch: port = nativeFetch,
20
+ redirectModes = port === nativeFetch ? ["follow", "error"] : ["follow"],
21
+ } = {}) {
22
+ if (
23
+ typeof createPortableFetch !== "function" ||
24
+ typeof port !== "function" ||
25
+ typeof NativeAbortController !== "function"
26
+ )
27
+ throw Error("Node text HTTP requires fetch and abort ports");
28
+ let requests = 0,
29
+ active = 0,
30
+ forwardingListeners = 0,
31
+ aborts = 0,
32
+ errors = 0;
33
+ const transport = Object.assign(
34
+ async (request) => {
35
+ requests++;
36
+ active++;
37
+ const controller = new NativeAbortController();
38
+ const cancel = () => {
39
+ aborts++;
40
+ controller.abort(request.signal?.reason);
41
+ };
42
+ try {
43
+ if (request.signal) {
44
+ request.signal.addEventListener("abort", cancel, { once: true });
45
+ forwardingListeners++;
46
+ if (request.signal.aborted) cancel();
47
+ }
48
+ const response = await port(request.url, {
49
+ method: request.method,
50
+ headers: request.headers,
51
+ body: request.body,
52
+ redirect: request.redirect,
53
+ credentials: "omit",
54
+ signal: controller.signal,
55
+ });
56
+ const type =
57
+ response.headers.get("content-type")?.split(";", 1)[0].trim().toLowerCase() ?? "";
58
+ if (
59
+ type &&
60
+ !type.startsWith("text/") &&
61
+ !/^application\/(json|[^;]+\+json|xml|[^;]+\+xml|vnd\.apple\.mpegurl|x-mpegurl)$/.test(
62
+ type,
63
+ )
64
+ ) {
65
+ await response.body?.cancel();
66
+ throw Error("The host text fixture cannot decode a binary response");
67
+ }
68
+ return {
69
+ status: response.status,
70
+ headers: Object.fromEntries(response.headers),
71
+ body: await response.text(),
72
+ url: response.url || request.url,
73
+ };
74
+ } catch (error) {
75
+ errors++;
76
+ throw error;
77
+ } finally {
78
+ if (request.signal) {
79
+ request.signal.removeEventListener("abort", cancel);
80
+ forwardingListeners--;
81
+ }
82
+ active--;
83
+ }
84
+ },
85
+ { redirectModes: Object.freeze([...redirectModes]) },
86
+ );
87
+ return {
88
+ transport,
89
+ fetch: createPortableFetch(transport),
90
+ async whenIdle() {
91
+ const deadline = Date.now() + 2000;
92
+ while (active && Date.now() < deadline)
93
+ await new Promise((resolve) => setTimeout(resolve, 10));
94
+ if (active || forwardingListeners) throw Error("Host HTTP requests/listeners did not retire");
95
+ },
96
+ snapshot: () => ({
97
+ kind: "node-text-http-fixture",
98
+ requests,
99
+ active,
100
+ forwardingListeners,
101
+ aborts,
102
+ errors,
103
+ deviceQualified: false,
104
+ }),
105
+ };
106
+ }
@@ -0,0 +1,8 @@
1
+ export declare function prepareHermesYoga(
2
+ bindingPath: string,
3
+ options?: { source?: string },
4
+ ): {
5
+ contents: string;
6
+ signatures: Record<string, number>;
7
+ };
8
+ export declare function exerciseYoga(engine: unknown): void;
package/build/yoga.mjs ADDED
@@ -0,0 +1,186 @@
1
+ import { readFileSync } from "node:fs";
2
+ import { createRequire } from "node:module";
3
+ import { dirname, resolve } from "node:path";
4
+ import ts from "typescript";
5
+
6
+ function calls(source) {
7
+ const ast = ts.createSourceFile(
8
+ "nbind.js",
9
+ source,
10
+ ts.ScriptTarget.Latest,
11
+ true,
12
+ ts.ScriptKind.JS,
13
+ ),
14
+ result = [];
15
+ const visit = (node) => {
16
+ if (ts.isCallExpression(node) && node.expression.getText(ast) === "eval") {
17
+ let owner = node.parent;
18
+ while (owner && !ts.isFunctionLike(owner)) owner = owner.parent;
19
+ result.push({
20
+ start: node.getStart(ast),
21
+ end: node.end,
22
+ argument: node.arguments[0].getText(ast),
23
+ owner,
24
+ name: owner?.name?.getText(ast),
25
+ });
26
+ }
27
+ ts.forEachChild(node, visit);
28
+ };
29
+ visit(ast);
30
+ return result;
31
+ }
32
+ function replace(source, edits) {
33
+ for (const edit of edits.sort((a, b) => b.start - a.start))
34
+ source = source.slice(0, edit.start) + edit.value + source.slice(edit.end);
35
+ return source;
36
+ }
37
+
38
+ export function exerciseYoga(Yoga) {
39
+ const config = Yoga.Config.create(),
40
+ root = Yoga.Node.create(config),
41
+ text = Yoga.Node.create(config);
42
+ try {
43
+ root.setWidth(300);
44
+ root.setHeight(200);
45
+ root.insertChild(text, 0);
46
+ text.setMeasureFunc(() => ({ width: 80, height: 20 }));
47
+ root.calculateLayout(300, 200, Yoga.DIRECTION_LTR);
48
+ root.getComputedLayout();
49
+ text.getComputedLayout();
50
+ root.getWidth();
51
+ root.getHeight();
52
+ text.markDirty();
53
+ root.calculateLayout(300, 200, Yoga.DIRECTION_RTL);
54
+ text.unsetMeasureFunc();
55
+ root.removeChild(text);
56
+ } finally {
57
+ text.free();
58
+ root.free();
59
+ config.free();
60
+ }
61
+ }
62
+
63
+ /**
64
+ * nbind emits closures using local eval, which Hermes does not implement. Generate
65
+ * its finite Yoga binding signatures at build time, in their original lexical
66
+ * factory scopes. Unknown runtime signatures fail explicitly; no runtime eval or
67
+ * Function constructor is emitted. This changes bindings, never Yoga's layout core.
68
+ */
69
+ export function prepareHermesYoga(bindingPath, { source: inputSource } = {}) {
70
+ const source = (inputSource ?? readFileSync(bindingPath, "utf8")).replace(
71
+ /(\(function \(_nbind\) \{)(?!\s*var _a;)/,
72
+ "$1\n var _a;",
73
+ ),
74
+ sites = calls(source);
75
+ if (
76
+ sites.length !== 4 ||
77
+ sites.map((site) => site.name).join(",") !==
78
+ "getCFunc,cwrap,buildCallerFunction,buildJSCallerFunction"
79
+ )
80
+ throw new Error("The pinned Yoga binding changed; review its code-generation boundary");
81
+ const signatures = new Map([
82
+ ["buildCallerFunction", new Set()],
83
+ ["buildJSCallerFunction", new Set()],
84
+ ]);
85
+ const instrumented = replace(
86
+ source,
87
+ sites.map((site) => ({
88
+ ...site,
89
+ value: `(__capture__(${JSON.stringify(site.name)}, ${site.argument}), eval(${site.argument}))`,
90
+ })),
91
+ );
92
+ const module = { exports: {} },
93
+ require = createRequire(bindingPath);
94
+ // This trusted installed dependency executes only in Node during the build.
95
+ new Function(
96
+ "module",
97
+ "exports",
98
+ "require",
99
+ "__filename",
100
+ "__dirname",
101
+ "__capture__",
102
+ instrumented,
103
+ )(module, module.exports, require, bindingPath, dirname(bindingPath), (name, code) =>
104
+ signatures.get(name)?.add(code),
105
+ );
106
+ let native;
107
+ module.exports(
108
+ { ENVIRONMENT: "SHELL", print: console.log, printErr: console.warn },
109
+ (error, value) => {
110
+ if (error) throw error;
111
+ native = value;
112
+ },
113
+ );
114
+ if (!native) throw new Error("Yoga binding initialization was not synchronous");
115
+ const Yoga = require(resolve(dirname(bindingPath), "../../dist/entry-common.js"))(
116
+ native.bind,
117
+ native.lib,
118
+ );
119
+ exerciseYoga(Yoga);
120
+ const edits = [];
121
+ const ast = ts.createSourceFile(
122
+ "nbind.js",
123
+ source,
124
+ ts.ScriptTarget.Latest,
125
+ true,
126
+ ts.ScriptKind.JS,
127
+ );
128
+ const rejectLoader = (node) => {
129
+ if (ts.isFunctionDeclaration(node) && node.name?.text === "globalEval")
130
+ edits.push({
131
+ start: node.getStart(ast),
132
+ end: node.end,
133
+ value:
134
+ 'function globalEval() { throw new Error("C03_YOGA_DYNAMIC_LOAD: dynamic script loading is unavailable"); }',
135
+ });
136
+ ts.forEachChild(node, rejectLoader);
137
+ };
138
+ rejectLoader(ast);
139
+ for (const site of sites) {
140
+ if (site.name === "getCFunc") edits.push({ ...site, value: 'Module["_" + ident]' });
141
+ else if (site.name === "cwrap")
142
+ edits.push({
143
+ start: site.owner.getStart(),
144
+ end: site.owner.end,
145
+ value:
146
+ 'function cwrap(ident, returnType, argTypes) { var cfunc = getCFunc(ident); argTypes = argTypes || []; if (returnType !== "string" && argTypes.every(function(type) { return type === "number"; })) return cfunc; return function() { return ccall(ident, returnType, argTypes, Array.prototype.slice.call(arguments)); }; }',
147
+ });
148
+ else {
149
+ const known = [...signatures.get(site.name)].sort();
150
+ if (!known.length) throw new Error(`No signatures collected for ${site.name}`);
151
+ edits.push({
152
+ ...site,
153
+ value: `(function() { switch (${site.argument}) { ${known.map((code) => `case ${JSON.stringify(code)}: return (${code});`).join("\n")} default: throw new Error("C03_YOGA_SIGNATURE: unqualified binding signature " + sourceCode); } })()`,
154
+ });
155
+ }
156
+ }
157
+ const initialization = "Module.onRuntimeInitialized = function (init, cb)";
158
+ if (source.split(initialization).length !== 2)
159
+ throw new Error("Yoga initialization boundary changed");
160
+ const contents = replace(source, edits).replace(
161
+ initialization,
162
+ 'Module.ENVIRONMENT = "SHELL"; Module.print = function() { console.log.apply(console, arguments); }; Module.printErr = function() { console.warn.apply(console, arguments); }; ' +
163
+ initialization,
164
+ );
165
+ if (calls(contents).length) throw new Error("Runtime eval remains in the prepared Yoga binding");
166
+ const prepared = ts.createSourceFile(
167
+ "prepared.js",
168
+ contents,
169
+ ts.ScriptTarget.Latest,
170
+ true,
171
+ ts.ScriptKind.JS,
172
+ );
173
+ const verify = (node) => {
174
+ if (
175
+ (ts.isIdentifier(node) && node.text === "eval") ||
176
+ (ts.isNewExpression(node) && node.expression.getText(prepared) === "Function")
177
+ )
178
+ throw new Error("Dynamic evaluation remains in the prepared Yoga binding");
179
+ ts.forEachChild(node, verify);
180
+ };
181
+ verify(prepared);
182
+ return {
183
+ contents,
184
+ signatures: Object.fromEntries([...signatures].map(([name, known]) => [name, known.size])),
185
+ };
186
+ }
@@ -0,0 +1,327 @@
1
+ {
2
+ "schema": "react-native-roku-public-api/v1",
3
+ "phase": "experimental",
4
+ "policy": "Every export is a maintained contract within its documented subset; none implies the entire upstream React Native API. Breaking changes before 1.0 require a minor version.",
5
+ "exports": {
6
+ ".": {
7
+ "audience": "advanced-host",
8
+ "stability": "experimental",
9
+ "contract": "docs/compatibility.md"
10
+ },
11
+ "./react-native": {
12
+ "audience": "application",
13
+ "stability": "experimental",
14
+ "contract": "docs/getting-started.md"
15
+ },
16
+ "./scene": {
17
+ "audience": "types",
18
+ "stability": "experimental",
19
+ "contract": "docs/compatibility.md"
20
+ },
21
+ "./text": {
22
+ "audience": "advanced-host",
23
+ "stability": "experimental",
24
+ "contract": "docs/compatibility.md"
25
+ },
26
+ "./text-raster": {
27
+ "audience": "types",
28
+ "stability": "experimental",
29
+ "contract": "docs/compatibility.md"
30
+ },
31
+ "./text-raster-cache": {
32
+ "audience": "advanced-host",
33
+ "stability": "experimental",
34
+ "contract": "docs/compatibility.md"
35
+ },
36
+ "./sdk": {
37
+ "audience": "advanced-host",
38
+ "stability": "experimental",
39
+ "contract": "docs/compatibility.md"
40
+ },
41
+ "./sdk-text": {
42
+ "audience": "advanced-host",
43
+ "stability": "experimental",
44
+ "contract": "docs/compatibility.md"
45
+ },
46
+ "./sdk-text-raster": {
47
+ "audience": "advanced-host",
48
+ "stability": "experimental",
49
+ "contract": "docs/compatibility.md"
50
+ },
51
+ "./testing": {
52
+ "audience": "testing",
53
+ "stability": "experimental",
54
+ "contract": "docs/compatibility.md"
55
+ },
56
+ "./testing/node": {
57
+ "audience": "testing",
58
+ "stability": "experimental",
59
+ "contract": "docs/compatibility.md"
60
+ },
61
+ "./preview": {
62
+ "audience": "testing",
63
+ "stability": "experimental",
64
+ "contract": "docs/compatibility.md"
65
+ },
66
+ "./expo-router": {
67
+ "audience": "application",
68
+ "stability": "experimental",
69
+ "contract": "docs/getting-started.md"
70
+ },
71
+ "./router": {
72
+ "audience": "advanced-host",
73
+ "stability": "experimental",
74
+ "contract": "docs/compatibility.md"
75
+ },
76
+ "./vector": {
77
+ "audience": "types",
78
+ "stability": "experimental",
79
+ "contract": "docs/compatibility.md"
80
+ },
81
+ "./graphics": {
82
+ "audience": "advanced-host",
83
+ "stability": "experimental",
84
+ "contract": "docs/compatibility.md"
85
+ },
86
+ "./services": {
87
+ "audience": "advanced-host",
88
+ "stability": "experimental",
89
+ "contract": "docs/compatibility.md"
90
+ },
91
+ "./timers": {
92
+ "audience": "advanced-host",
93
+ "stability": "experimental",
94
+ "contract": "docs/compatibility.md"
95
+ },
96
+ "./sdk-services": {
97
+ "audience": "advanced-host",
98
+ "stability": "experimental",
99
+ "contract": "docs/compatibility.md"
100
+ },
101
+ "./keys": {
102
+ "audience": "advanced-host",
103
+ "stability": "experimental",
104
+ "contract": "docs/compatibility.md"
105
+ },
106
+ "./media": {
107
+ "audience": "application",
108
+ "stability": "experimental",
109
+ "contract": "docs/getting-started.md"
110
+ },
111
+ "./web": {
112
+ "audience": "application",
113
+ "stability": "experimental",
114
+ "contract": "docs/getting-started.md"
115
+ },
116
+ "./sdk-web": {
117
+ "audience": "advanced-host",
118
+ "stability": "experimental",
119
+ "contract": "docs/compatibility.md"
120
+ },
121
+ "./system": {
122
+ "audience": "advanced-host",
123
+ "stability": "experimental",
124
+ "contract": "docs/compatibility.md"
125
+ },
126
+ "./sdk-device-facts": {
127
+ "audience": "advanced-host",
128
+ "stability": "experimental",
129
+ "contract": "docs/compatibility.md"
130
+ },
131
+ "./package.json": {
132
+ "audience": "metadata",
133
+ "stability": "experimental",
134
+ "contract": "docs/compatibility.md"
135
+ },
136
+ "./svg": {
137
+ "audience": "application",
138
+ "stability": "experimental",
139
+ "contract": "docs/getting-started.md"
140
+ },
141
+ "./svg-key": {
142
+ "audience": "application",
143
+ "stability": "experimental",
144
+ "contract": "docs/getting-started.md"
145
+ },
146
+ "./reanimated": {
147
+ "audience": "application",
148
+ "stability": "experimental",
149
+ "contract": "docs/getting-started.md"
150
+ },
151
+ "./worklets": {
152
+ "audience": "application",
153
+ "stability": "experimental",
154
+ "contract": "docs/getting-started.md"
155
+ },
156
+ "./image": {
157
+ "audience": "application",
158
+ "stability": "experimental",
159
+ "contract": "docs/getting-started.md"
160
+ },
161
+ "./linear-gradient": {
162
+ "audience": "application",
163
+ "stability": "experimental",
164
+ "contract": "docs/getting-started.md"
165
+ },
166
+ "./safe-area": {
167
+ "audience": "application",
168
+ "stability": "experimental",
169
+ "contract": "docs/getting-started.md"
170
+ },
171
+ "./async-storage": {
172
+ "audience": "application",
173
+ "stability": "experimental",
174
+ "contract": "docs/getting-started.md"
175
+ },
176
+ "./secure-store": {
177
+ "audience": "application",
178
+ "stability": "experimental",
179
+ "contract": "docs/getting-started.md"
180
+ },
181
+ "./crypto": {
182
+ "audience": "application",
183
+ "stability": "experimental",
184
+ "contract": "docs/getting-started.md"
185
+ },
186
+ "./expo-constants": {
187
+ "audience": "application",
188
+ "stability": "experimental",
189
+ "contract": "docs/getting-started.md"
190
+ },
191
+ "./expo-linking": {
192
+ "audience": "application",
193
+ "stability": "experimental",
194
+ "contract": "docs/getting-started.md"
195
+ },
196
+ "./expo-status-bar": {
197
+ "audience": "application",
198
+ "stability": "experimental",
199
+ "contract": "docs/getting-started.md"
200
+ },
201
+ "./fonts": {
202
+ "audience": "advanced-host",
203
+ "stability": "experimental",
204
+ "contract": "docs/compatibility.md"
205
+ },
206
+ "./registry-storage": {
207
+ "audience": "advanced-host",
208
+ "stability": "experimental",
209
+ "contract": "docs/compatibility.md"
210
+ },
211
+ "./interop/nativewind": {
212
+ "audience": "advanced-host",
213
+ "stability": "experimental",
214
+ "contract": "docs/compatibility.md"
215
+ },
216
+ "./build": {
217
+ "audience": "build",
218
+ "stability": "experimental",
219
+ "contract": "docs/getting-started.md"
220
+ },
221
+ "./build/yoga": {
222
+ "audience": "build",
223
+ "stability": "experimental",
224
+ "contract": "docs/getting-started.md"
225
+ },
226
+ "./build/nativewind": {
227
+ "audience": "build",
228
+ "stability": "experimental",
229
+ "contract": "docs/getting-started.md"
230
+ },
231
+ "./build/surfaces": {
232
+ "audience": "build",
233
+ "stability": "experimental",
234
+ "contract": "docs/getting-started.md"
235
+ },
236
+ "./native/manifest": {
237
+ "audience": "metadata",
238
+ "stability": "experimental",
239
+ "contract": "docs/compatibility.md"
240
+ },
241
+ "./build/esbuild": {
242
+ "audience": "build",
243
+ "stability": "experimental",
244
+ "contract": "docs/getting-started.md"
245
+ },
246
+ "./sdk-host": {
247
+ "audience": "advanced-host",
248
+ "stability": "experimental",
249
+ "contract": "docs/compatibility.md"
250
+ },
251
+ "./tsconfig": {
252
+ "audience": "types",
253
+ "stability": "experimental",
254
+ "contract": "docs/compatibility.md"
255
+ },
256
+ "./host": {
257
+ "audience": "types",
258
+ "stability": "experimental",
259
+ "contract": "docs/compatibility.md"
260
+ },
261
+ "./app-registry": {
262
+ "audience": "application",
263
+ "stability": "experimental",
264
+ "contract": "docs/getting-started.md"
265
+ },
266
+ "./application": {
267
+ "audience": "application",
268
+ "stability": "experimental",
269
+ "contract": "docs/getting-started.md"
270
+ },
271
+ "./build/resolution": {
272
+ "audience": "build",
273
+ "stability": "experimental",
274
+ "contract": "docs/getting-started.md"
275
+ },
276
+ "./build/project": {
277
+ "audience": "build",
278
+ "stability": "experimental",
279
+ "contract": "docs/getting-started.md"
280
+ },
281
+ "./build/dev": {
282
+ "audience": "build",
283
+ "stability": "experimental",
284
+ "contract": "docs/getting-started.md"
285
+ },
286
+ "./metro": {
287
+ "audience": "build",
288
+ "stability": "experimental",
289
+ "contract": "docs/getting-started.md"
290
+ },
291
+ "./build/environment": {
292
+ "audience": "build",
293
+ "stability": "experimental",
294
+ "contract": "docs/getting-started.md"
295
+ },
296
+ "./build/compatibility": {
297
+ "audience": "build",
298
+ "stability": "experimental",
299
+ "contract": "docs/getting-started.md"
300
+ },
301
+ "./build/dev-workspace": {
302
+ "audience": "build",
303
+ "stability": "experimental",
304
+ "contract": "docs/getting-started.md"
305
+ },
306
+ "./build/device": {
307
+ "audience": "build",
308
+ "stability": "experimental",
309
+ "contract": "docs/maintenance.md"
310
+ },
311
+ "./intl/en": {
312
+ "audience": "application",
313
+ "stability": "experimental",
314
+ "contract": "docs/compatibility.md"
315
+ },
316
+ "./build/frontend": {
317
+ "audience": "build",
318
+ "stability": "experimental",
319
+ "contract": "docs/getting-started.md"
320
+ },
321
+ "./build/assets": {
322
+ "audience": "build",
323
+ "stability": "experimental",
324
+ "contract": "docs/getting-started.md"
325
+ }
326
+ }
327
+ }