@vxrn/compiler 1.26.0 → 1.26.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.
- package/dist/cjs/cache.cjs +7 -0
- package/dist/cjs/index.cjs +2 -0
- package/dist/esm/cache.mjs +8 -2
- package/dist/esm/cache.mjs.map +1 -1
- package/dist/esm/index.js +2 -1
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/index.mjs +2 -1
- package/dist/esm/index.mjs.map +1 -1
- package/dist/esm/reactNativeViewConfig.mjs.map +1 -1
- package/dist/esm/transformHermesLoops.mjs.map +1 -1
- package/dist/esm/transformSWC.mjs.map +1 -1
- package/dist/esm/transformSWC.test.mjs.map +1 -1
- package/dist/esm/transformWorklets.mjs.map +1 -1
- package/dist/esm/transformWorklets.test.mjs.map +1 -1
- package/dist/esm/worklets/autoworklet.mjs.map +1 -1
- package/dist/esm/worklets/scope.mjs.map +1 -1
- package/dist/esm/worklets/serialize.mjs.map +1 -1
- package/dist/esm/worklets/transform.mjs.map +1 -1
- package/package.json +3 -3
- package/src/cache.ts +13 -1
- package/src/index.ts +23 -6
- package/src/reactNativeViewConfig.ts +19 -5
- package/src/transformHermesLoops.ts +22 -4
- package/src/transformSWC.test.ts +14 -11
- package/src/transformSWC.ts +2 -1
- package/src/transformWorklets.test.ts +11 -8
- package/src/transformWorklets.ts +4 -1
- package/src/worklets/autoworklet.ts +12 -4
- package/src/worklets/scope.ts +2 -1
- package/src/worklets/serialize.ts +4 -3
- package/src/worklets/transform.ts +35 -8
- package/types/cache.d.ts +2 -0
- package/types/cache.d.ts.map +1 -1
- package/types/index.d.ts +1 -0
- package/types/index.d.ts.map +1 -1
- package/types/reactNativeViewConfig.d.ts.map +1 -1
- package/types/transformHermesLoops.d.ts.map +1 -1
- package/types/transformSWC.d.ts.map +1 -1
- package/types/transformWorklets.d.ts.map +1 -1
- package/types/worklets/autoworklet.d.ts.map +1 -1
- package/types/worklets/scope.d.ts.map +1 -1
- package/types/worklets/serialize.d.ts.map +1 -1
- package/types/worklets/transform.d.ts.map +1 -1
|
@@ -173,7 +173,11 @@ function isChainedCallback(callee: any): boolean {
|
|
|
173
173
|
}
|
|
174
174
|
|
|
175
175
|
// the worklets directives, in the order the runtime expects to find them.
|
|
176
|
-
export const WORKLET_DIRECTIVES = [
|
|
176
|
+
export const WORKLET_DIRECTIVES = [
|
|
177
|
+
'worklet',
|
|
178
|
+
'no-worklet-closure',
|
|
179
|
+
'limit-init-data-hoisting',
|
|
180
|
+
]
|
|
177
181
|
|
|
178
182
|
function statementDirective(stmt: any): string | undefined {
|
|
179
183
|
if (!stmt || stmt.type !== 'ExpressionStatement') return undefined
|
|
@@ -219,7 +223,8 @@ export function hasWorkletDirective(fnNode: any): boolean {
|
|
|
219
223
|
*/
|
|
220
224
|
export function bodyStartAfterDirectives(fnNode: any, code: string): number {
|
|
221
225
|
let start = fnNode.body.start + 1
|
|
222
|
-
if (fnNode.body.type !== 'BlockStatement' || !Array.isArray(fnNode.body.body))
|
|
226
|
+
if (fnNode.body.type !== 'BlockStatement' || !Array.isArray(fnNode.body.body))
|
|
227
|
+
return start
|
|
223
228
|
for (const stmt of fnNode.body.body) {
|
|
224
229
|
const found = statementDirective(stmt)
|
|
225
230
|
if (found === undefined || !WORKLET_DIRECTIVES.includes(found)) break
|
|
@@ -287,7 +292,9 @@ export function findWorkletCandidates(program: any): WorkletCandidate[] {
|
|
|
287
292
|
}
|
|
288
293
|
} else if (
|
|
289
294
|
node.type === 'Property' &&
|
|
290
|
-
(node.method ||
|
|
295
|
+
(node.method ||
|
|
296
|
+
node.value?.type === 'FunctionExpression' ||
|
|
297
|
+
node.value?.type === 'ArrowFunctionExpression')
|
|
291
298
|
) {
|
|
292
299
|
const fn = node.value
|
|
293
300
|
if (hasWorkletDirective(fn)) {
|
|
@@ -312,7 +319,8 @@ export function findWorkletCandidates(program: any): WorkletCandidate[] {
|
|
|
312
319
|
const argIndices = calleeName ? AUTOWORKLET_FUNCTION_ARGS[calleeName] : undefined
|
|
313
320
|
const chained = !argIndices && isChainedCallback(node.callee)
|
|
314
321
|
const indices =
|
|
315
|
-
argIndices ??
|
|
322
|
+
argIndices ??
|
|
323
|
+
(chained ? node.arguments.map((_: unknown, i: number) => i) : undefined)
|
|
316
324
|
if (indices) {
|
|
317
325
|
for (const idx of indices) {
|
|
318
326
|
const arg = node.arguments[idx]
|
package/src/worklets/scope.ts
CHANGED
|
@@ -130,7 +130,8 @@ export function getClosureVariables(fnNode: any, globals: Set<string>): string[]
|
|
|
130
130
|
return
|
|
131
131
|
case 'VariableDeclaration':
|
|
132
132
|
if (node.kind === 'var') {
|
|
133
|
-
for (const d of node.declarations)
|
|
133
|
+
for (const d of node.declarations)
|
|
134
|
+
addBindingsOnly(d.id, currentScope.varBindings)
|
|
134
135
|
} else if (direct) {
|
|
135
136
|
for (const d of node.declarations) addBindingsOnly(d.id, currentScope.bindings)
|
|
136
137
|
}
|
|
@@ -51,9 +51,10 @@ export function serializeWorkletForUI(
|
|
|
51
51
|
rawBody = `return ${code.slice(fnNode.body.start, fnNode.body.end)};`
|
|
52
52
|
}
|
|
53
53
|
|
|
54
|
-
const unpacker =
|
|
55
|
-
|
|
56
|
-
|
|
54
|
+
const unpacker =
|
|
55
|
+
closureVars.length > 0
|
|
56
|
+
? `const { ${closureVars.join(', ')} } = this.__closure ?? this._closure;\n`
|
|
57
|
+
: ''
|
|
57
58
|
|
|
58
59
|
const asyncPrefix = fnNode.async ? 'async ' : ''
|
|
59
60
|
const genPrefix = fnNode.generator ? '*' : ''
|
|
@@ -2,7 +2,11 @@ import path from 'node:path'
|
|
|
2
2
|
import MagicString from 'magic-string'
|
|
3
3
|
import remapping from '@jridgewell/remapping'
|
|
4
4
|
import { parseSync } from 'oxc-parser'
|
|
5
|
-
import {
|
|
5
|
+
import {
|
|
6
|
+
bodyStartAfterDirectives,
|
|
7
|
+
findWorkletCandidates,
|
|
8
|
+
hasDirective,
|
|
9
|
+
} from './autoworklet'
|
|
6
10
|
import { createGlobalsSet } from './globals'
|
|
7
11
|
import { calculateWorkletHash } from './hash'
|
|
8
12
|
import { getClosureVariables } from './scope'
|
|
@@ -27,7 +31,9 @@ export function prepareWorkletsForReactCompiler(
|
|
|
27
31
|
})
|
|
28
32
|
if (parsed.errors.length) {
|
|
29
33
|
const error = parsed.errors[0]
|
|
30
|
-
throw new Error(
|
|
34
|
+
throw new Error(
|
|
35
|
+
error.codeframe || error.message || 'Syntax Error while parsing worklet'
|
|
36
|
+
)
|
|
31
37
|
}
|
|
32
38
|
const candidates = findWorkletCandidates(parsed.program).filter(
|
|
33
39
|
(candidate) => candidate.isAutoWorklet && !hasDirective(candidate.fnNode, 'worklet')
|
|
@@ -160,7 +166,9 @@ export function executeWorkletTransform(
|
|
|
160
166
|
|
|
161
167
|
if (parseResult.errors && parseResult.errors.length > 0) {
|
|
162
168
|
const err = parseResult.errors[0]
|
|
163
|
-
throw new Error(
|
|
169
|
+
throw new Error(
|
|
170
|
+
err.codeframe || err.message || 'Syntax Error while parsing worklet'
|
|
171
|
+
)
|
|
164
172
|
}
|
|
165
173
|
|
|
166
174
|
const candidates = findWorkletCandidates(parseResult.program)
|
|
@@ -179,7 +187,9 @@ export function executeWorkletTransform(
|
|
|
179
187
|
})
|
|
180
188
|
|
|
181
189
|
if (innermostCandidates.length === 0) {
|
|
182
|
-
throw new Error(
|
|
190
|
+
throw new Error(
|
|
191
|
+
`[worklets] Cyclic or unresolvable worklet nesting detected in ${cleanId}`
|
|
192
|
+
)
|
|
183
193
|
}
|
|
184
194
|
|
|
185
195
|
const ms = new MagicString(currentCode)
|
|
@@ -197,7 +207,12 @@ export function executeWorkletTransform(
|
|
|
197
207
|
: getClosureVariables(candidate.fnNode, globals)
|
|
198
208
|
const fnName = candidate.name
|
|
199
209
|
|
|
200
|
-
const serializedCode = serializeWorkletForUI(
|
|
210
|
+
const serializedCode = serializeWorkletForUI(
|
|
211
|
+
candidate.fnNode,
|
|
212
|
+
currentCode,
|
|
213
|
+
fnName,
|
|
214
|
+
closureVars
|
|
215
|
+
)
|
|
201
216
|
const workletHash = calculateWorkletHash(serializedCode)
|
|
202
217
|
const initDataVar = `_worklet_${workletHash}_init_data`
|
|
203
218
|
|
|
@@ -241,7 +256,11 @@ export function executeWorkletTransform(
|
|
|
241
256
|
|
|
242
257
|
if (candidate.kind === 'function_declaration') {
|
|
243
258
|
if (candidate.parent?.type === 'ExportNamedDeclaration') {
|
|
244
|
-
ms.overwrite(
|
|
259
|
+
ms.overwrite(
|
|
260
|
+
candidate.parent.start,
|
|
261
|
+
candidate.parent.end,
|
|
262
|
+
`export var ${candidate.name} = ${iife};`
|
|
263
|
+
)
|
|
245
264
|
} else if (candidate.parent?.type === 'ExportDefaultDeclaration') {
|
|
246
265
|
ms.overwrite(
|
|
247
266
|
candidate.parent.start,
|
|
@@ -249,10 +268,18 @@ export function executeWorkletTransform(
|
|
|
249
268
|
`var ${candidate.name || '_defaultWorklet'} = ${iife};\nexport default ${candidate.name || '_defaultWorklet'};`
|
|
250
269
|
)
|
|
251
270
|
} else {
|
|
252
|
-
ms.overwrite(
|
|
271
|
+
ms.overwrite(
|
|
272
|
+
candidate.node.start,
|
|
273
|
+
candidate.node.end,
|
|
274
|
+
`var ${candidate.name} = ${iife};`
|
|
275
|
+
)
|
|
253
276
|
}
|
|
254
277
|
} else if (candidate.kind === 'object_method') {
|
|
255
|
-
ms.overwrite(
|
|
278
|
+
ms.overwrite(
|
|
279
|
+
candidate.node.start,
|
|
280
|
+
candidate.node.end,
|
|
281
|
+
`${candidate.name}: ${iife}`
|
|
282
|
+
)
|
|
256
283
|
} else {
|
|
257
284
|
ms.overwrite(candidate.node.start, candidate.node.end, iife)
|
|
258
285
|
}
|
package/types/cache.d.ts
CHANGED
|
@@ -12,6 +12,8 @@ export declare function setCachedTransform(filePath: string, code: string, resul
|
|
|
12
12
|
code: string;
|
|
13
13
|
map?: any;
|
|
14
14
|
}, environment: string): void;
|
|
15
|
+
/** Drop every cached transform, for `react-native bundle --reset-cache`. */
|
|
16
|
+
export declare function clearTransformCache(): void;
|
|
15
17
|
export declare function getCacheStats(): CacheStats;
|
|
16
18
|
export declare function logCacheStats(): void;
|
|
17
19
|
export {};
|
package/types/cache.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cache.d.ts","sourceRoot":"","sources":["../src/cache.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"cache.d.ts","sourceRoot":"","sources":["../src/cache.ts"],"names":[],"mappings":"AA4BA,UAAU,UAAU;IAClB,IAAI,EAAE,CAAC,CAAA;IACP,MAAM,EAAE,CAAC,CAAA;IACT,MAAM,EAAE,CAAC,CAAA;IACT,MAAM,EAAE,CAAC,CAAA;CACV;AAiDD,wBAAgB,kBAAkB,CAChC,QAAQ,EAAE,MAAM,EAChB,IAAI,EAAE,MAAM,EACZ,WAAW,EAAE,MAAM,GAClB;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,GAAG,CAAC,EAAE,GAAG,CAAA;CAAE,GAAG,IAAI,CAoCpC;AAED,wBAAgB,kBAAkB,CAChC,QAAQ,EAAE,MAAM,EAChB,IAAI,EAAE,MAAM,EACZ,MAAM,EAAE;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,GAAG,CAAC,EAAE,GAAG,CAAA;CAAE,EACnC,WAAW,EAAE,MAAM,GAClB,IAAI,CAwBN;AAED,4EAA4E;AAC5E,wBAAgB,mBAAmB,IAAI,IAAI,CAE1C;AAED,wBAAgB,aAAa,IAAI,UAAU,CAE1C;AAED,wBAAgB,aAAa,IAAI,IAAI,CAapC"}
|
package/types/index.d.ts
CHANGED
|
@@ -12,6 +12,7 @@ export * from './transformWorklets';
|
|
|
12
12
|
export * from './reactNativeCodegen';
|
|
13
13
|
export * from './transformHermesLoops';
|
|
14
14
|
export * from './transformHermesAsync';
|
|
15
|
+
export { clearTransformCache } from './cache';
|
|
15
16
|
export { JS_GLOBALS } from './worklets/globals';
|
|
16
17
|
export { getClosureVariables } from './worklets/scope';
|
|
17
18
|
export type { GetTransform } from './types';
|
package/types/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AASH,OAAO,KAAK,EAAE,YAAY,EAA8B,MAAM,MAAM,CAAA;AAcpE,OAAO,KAAK,EAAkC,OAAO,EAAE,MAAM,SAAS,CAAA;AAGtE,cAAc,aAAa,CAAA;AAC3B,cAAc,kBAAkB,CAAA;AAChC,cAAc,gBAAgB,CAAA;AAC9B,cAAc,qBAAqB,CAAA;AACnC,cAAc,sBAAsB,CAAA;AACpC,cAAc,wBAAwB,CAAA;AACtC,cAAc,wBAAwB,CAAA;AACtC,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAA;AAC/C,OAAO,EAAE,mBAAmB,EAAE,MAAM,kBAAkB,CAAA;AACtD,YAAY,EAAE,YAAY,EAAE,MAAM,SAAS,CAAA;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AASH,OAAO,KAAK,EAAE,YAAY,EAA8B,MAAM,MAAM,CAAA;AAcpE,OAAO,KAAK,EAAkC,OAAO,EAAE,MAAM,SAAS,CAAA;AAGtE,cAAc,aAAa,CAAA;AAC3B,cAAc,kBAAkB,CAAA;AAChC,cAAc,gBAAgB,CAAA;AAC9B,cAAc,qBAAqB,CAAA;AACnC,cAAc,sBAAsB,CAAA;AACpC,cAAc,wBAAwB,CAAA;AACtC,cAAc,wBAAwB,CAAA;AACtC,OAAO,EAAE,mBAAmB,EAAE,MAAM,SAAS,CAAA;AAC7C,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAA;AAC/C,OAAO,EAAE,mBAAmB,EAAE,MAAM,kBAAkB,CAAA;AACtD,YAAY,EAAE,YAAY,EAAE,MAAM,SAAS,CAAA;AA2R3C,wBAAsB,wBAAwB,CAC5C,SAAS,CAAC,EAAE,OAAO,CAAC,OAAO,CAAC,GAC3B,OAAO,CAAC,YAAY,EAAE,CAAC,CA6VzB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"reactNativeViewConfig.d.ts","sourceRoot":"","sources":["../src/reactNativeViewConfig.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;GAiBG;
|
|
1
|
+
{"version":3,"file":"reactNativeViewConfig.d.ts","sourceRoot":"","sources":["../src/reactNativeViewConfig.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;GAiBG;AA4dH,wBAAgB,SAAS,CAAC,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,EAAE,WAAW,CAAC,EAAE,MAAM,GAAG,GAAG,CAuBnF;AAED;;;;GAIG;AACH,wBAAgB,kBAAkB,CAChC,OAAO,EAAE,GAAG,GACX;IAAE,OAAO,EAAE,MAAM,EAAE,CAAC;IAAC,IAAI,EAAE,MAAM,CAAA;CAAE,GAAG,IAAI,CAsE5C;AAED,kFAAkF;AAClF,wBAAgB,sBAAsB,CAAC,MAAM,EAAE;IAAE,OAAO,EAAE,MAAM,EAAE,CAAC;IAAC,IAAI,EAAE,MAAM,CAAA;CAAE,UAEjF;AAED,wBAAgB,cAAc,CAAC,QAAQ,EAAE,MAAM,GAAG,MAAM,CAIvD"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"transformHermesLoops.d.ts","sourceRoot":"","sources":["../src/transformHermesLoops.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"transformHermesLoops.d.ts","sourceRoot":"","sources":["../src/transformHermesLoops.ts"],"names":[],"mappings":"AAibA,wBAAgB,oBAAoB,CAClC,IAAI,EAAE,MAAM,EACZ,QAAQ,EAAE,MAAM,GACf;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,IAAI,EAAE,GAAG,EAAE,CAAA;CAAE,GAAG,IAAI,CAgBtC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"transformSWC.d.ts","sourceRoot":"","sources":["../src/transformSWC.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,SAAS,CAAA;AAEtC,MAAM,WAAW,MAAM;IACrB,IAAI,EAAE,MAAM,CAAA;IACZ,GAAG,CAAC,EAAE,GAAG,CAAA;CACV;AAKD,wBAAgB,eAAe,CAAC,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,GAAG,OAAO,
|
|
1
|
+
{"version":3,"file":"transformSWC.d.ts","sourceRoot":"","sources":["../src/transformSWC.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,SAAS,CAAA;AAEtC,MAAM,WAAW,MAAM;IACrB,IAAI,EAAE,MAAM,CAAA;IACZ,GAAG,CAAC,EAAE,GAAG,CAAA;CACV;AAKD,wBAAgB,eAAe,CAAC,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,GAAG,OAAO,CAWjE;AAED,wBAAsB,YAAY,CAChC,EAAE,EAAE,MAAM,EACV,IAAI,EAAE,MAAM,EACZ,OAAO,EAAE,OAAO,GAAG;IAAE,GAAG,CAAC,EAAE,OAAO,CAAA;CAAE,EACpC,UAAU,CAAC,EAAE,GAAG,GACf,OAAO,CAAC,MAAM,GAAG,SAAS,CAAC,CAkI7B;AAED,eAAO,MAAM,YAAY,qBAAe,CAAA;AA+HxC,wBAAgB,eAAe,YAE9B;AAyBD,eAAO,MAAM,oBAAoB,GAAU,IAAI,MAAM,EAAE,MAAM,MAAM;;SAwBxB,GAAG;cAC7C,CAAA;AAED,eAAO,MAAM,oBAAoB,OA3Bc,MAAM,QAAQ,MAAM;;SAwBxB,GAAG;cAGU,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"transformWorklets.d.ts","sourceRoot":"","sources":["../src/transformWorklets.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"transformWorklets.d.ts","sourceRoot":"","sources":["../src/transformWorklets.ts"],"names":[],"mappings":"AAaA,eAAO,MAAM,sCAAsC,UAiBlD,CAAA;AAiCD,wBAAgB,uBAAuB,CAAC,EAAE,EAAE,EAAE,IAAI,EAAE,EAAE;IAAE,EAAE,EAAE,MAAM,CAAC;IAAC,IAAI,EAAE,MAAM,CAAA;CAAE,WAWjF;AAED,wBAAgB,kBAAkB,CAAC,WAAW,CAAC,EAAE,MAAM,EAAE,QAAQ,CAAC,EAAE,MAAM,GAAG,MAAM,CA8DlF;AAED,MAAM,MAAM,wBAAwB,GAAG;IACrC,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,0BAA0B,CAAC,EAAE,OAAO,CAAA;IACpC,iBAAiB,CAAC,EAAE,OAAO,CAAA;IAC3B,qBAAqB,CAAC,EAAE,OAAO,CAAA;IAC/B,OAAO,CAAC,EAAE,MAAM,EAAE,CAAA;IAClB,sBAAsB,CAAC,EAAE,OAAO,CAAA;IAChC,YAAY,CAAC,EAAE,OAAO,CAAA;IACtB,aAAa,CAAC,EAAE,MAAM,CAAA;CACvB,CAAA;AAGD,OAAO,EAAE,+BAA+B,EAAE,MAAM,sBAAsB,CAAA;AAEtE,wBAAsB,iBAAiB,CACrC,EAAE,EAAE,MAAM,EACV,IAAI,EAAE,MAAM,EACZ,UAAU,UAAQ,EAClB,OAAO,CAAC,EAAE,wBAAwB,GACjC,OAAO,CAAC;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,GAAG,CAAC,EAAE,GAAG,CAAA;CAAE,CAAC,CAEtC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"autoworklet.d.ts","sourceRoot":"","sources":["../../src/worklets/autoworklet.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAA;AAK/C,eAAO,MAAM,yBAAyB,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,EAAE,CAoC9D,CAAA;AAOD,eAAO,MAAM,uBAAuB,aAWlC,CAAA;AAoHF,eAAO,MAAM,kBAAkB,
|
|
1
|
+
{"version":3,"file":"autoworklet.d.ts","sourceRoot":"","sources":["../../src/worklets/autoworklet.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAA;AAK/C,eAAO,MAAM,yBAAyB,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,EAAE,CAoC9D,CAAA;AAOD,eAAO,MAAM,uBAAuB,aAWlC,CAAA;AAoHF,eAAO,MAAM,kBAAkB,UAI9B,CAAA;AAWD,wBAAgB,YAAY,CAAC,MAAM,EAAE,GAAG,EAAE,SAAS,EAAE,MAAM,GAAG,OAAO,CAsBpE;AAED,wBAAgB,mBAAmB,CAAC,MAAM,EAAE,GAAG,GAAG,OAAO,CAExD;AAED;;;;GAIG;AACH,wBAAgB,wBAAwB,CAAC,MAAM,EAAE,GAAG,EAAE,IAAI,EAAE,MAAM,GAAG,MAAM,CAa1E;AAED,wBAAgB,qBAAqB,CAAC,OAAO,EAAE,GAAG,GAAG,gBAAgB,EAAE,CAgKtE"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"scope.d.ts","sourceRoot":"","sources":["../../src/worklets/scope.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AASH,wBAAgB,mBAAmB,CAAC,MAAM,EAAE,GAAG,EAAE,OAAO,EAAE,GAAG,CAAC,MAAM,CAAC,GAAG,MAAM,EAAE,
|
|
1
|
+
{"version":3,"file":"scope.d.ts","sourceRoot":"","sources":["../../src/worklets/scope.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AASH,wBAAgB,mBAAmB,CAAC,MAAM,EAAE,GAAG,EAAE,OAAO,EAAE,GAAG,CAAC,MAAM,CAAC,GAAG,MAAM,EAAE,CAoY/E"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"serialize.d.ts","sourceRoot":"","sources":["../../src/worklets/serialize.ts"],"names":[],"mappings":"AA0BA;;;;GAIG;AACH,wBAAgB,qBAAqB,CACnC,MAAM,EAAE,GAAG,EACX,IAAI,EAAE,MAAM,EACZ,IAAI,EAAE,MAAM,GAAG,SAAS,EACxB,WAAW,EAAE,MAAM,EAAE,GACpB,MAAM,
|
|
1
|
+
{"version":3,"file":"serialize.d.ts","sourceRoot":"","sources":["../../src/worklets/serialize.ts"],"names":[],"mappings":"AA0BA;;;;GAIG;AACH,wBAAgB,qBAAqB,CACnC,MAAM,EAAE,GAAG,EACX,IAAI,EAAE,MAAM,EACZ,IAAI,EAAE,MAAM,GAAG,SAAS,EACxB,WAAW,EAAE,MAAM,EAAE,GACpB,MAAM,CA+BR;AAED;;;GAGG;AACH,wBAAgB,kBAAkB,CAChC,MAAM,EAAE,GAAG,EACX,IAAI,EAAE,MAAM,EACZ,IAAI,EAAE,MAAM,GAAG,SAAS,GACvB,MAAM,CAqCR"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"transform.d.ts","sourceRoot":"","sources":["../../src/worklets/transform.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"transform.d.ts","sourceRoot":"","sources":["../../src/worklets/transform.ts"],"names":[],"mappings":"AAaA,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,SAAS,CAAA;AAQvD,wBAAgB,+BAA+B,CAC7C,EAAE,EAAE,MAAM,EACV,IAAI,EAAE,MAAM,EACZ,UAAU,UAAQ,GACjB;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,GAAG,CAAC,EAAE,GAAG,CAAA;CAAE,GAAG,IAAI,CAiCpC;AAsCD,wBAAgB,uBAAuB,CACrC,EAAE,EAAE,MAAM,EACV,IAAI,EAAE,MAAM,EACZ,UAAU,UAAQ,EAClB,OAAO,CAAC,EAAE,wBAAwB,EAClC,gBAAgB,CAAC,EAAE,CAAC,WAAW,CAAC,EAAE,MAAM,EAAE,QAAQ,CAAC,EAAE,MAAM,KAAK,MAAM,GACrE;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,GAAG,CAAC,EAAE,GAAG,CAAA;CAAE,CAmP7B"}
|