arktype 3.0.0-rc.3 → 3.0.0-rc.5
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/out/_internal/schema/runtime.d.ts +1 -0
- package/out/_internal/schema/shared/errorReaders.d.ts +28 -0
- package/out/_internal/schema/shared/errors.d.ts +1 -17
- package/out/_internal/util/registry.d.ts +1 -1
- package/out/{chunk-GTTUSCSN.js → chunk-223NAMM2.js} +6 -6
- package/out/{chunk-6BXI2HGB.js → chunk-32J3BJIT.js} +2 -2
- package/out/{chunk-JDNRVFDJ.js → chunk-3HYMQFAC.js} +3 -3
- package/out/{chunk-3DJ7WMQY.js → chunk-7H7M4BW2.js} +5 -5
- package/out/{chunk-JY2RW3YZ.js → chunk-7NX6KDC7.js} +3 -3
- package/out/{chunk-RFG7WANT.js → chunk-ADCJNPZW.js} +15 -15
- package/out/{chunk-R4OZUFE4.js → chunk-C6A65WF4.js} +3 -3
- package/out/{chunk-5I22KZGW.js → chunk-CE2YGI4T.js} +1 -1
- package/out/{chunk-FMW3G2HM.js → chunk-CM74IBWA.js} +3 -3
- package/out/{chunk-NA6AKIHO.js → chunk-EYXKZRJM.js} +1 -1
- package/out/{chunk-WJYZSFTR.js → chunk-FEXLREE4.js} +5 -5
- package/out/{chunk-3KBOPH3J.js → chunk-GU3X7OIZ.js} +55 -1
- package/out/{chunk-SUKTVBEL.js → chunk-IVOJVPSS.js} +2 -53
- package/out/{chunk-DDX6RRRC.js → chunk-J6NFH2BS.js} +2 -2
- package/out/{chunk-D4OFGPEY.js → chunk-JX4N7RSQ.js} +3 -3
- package/out/{chunk-HAUTPBFA.js → chunk-LZXHV74B.js} +2 -2
- package/out/{chunk-OORKLVIJ.js → chunk-N4DO6WIB.js} +3 -3
- package/out/{chunk-3DCESM55.js → chunk-NQL4QPUE.js} +8 -3
- package/out/{chunk-372QLHPR.js → chunk-PAP4AM6W.js} +1 -1
- package/out/{chunk-7COZLHTN.js → chunk-SIV4PRW5.js} +3 -3
- package/out/{chunk-LMCZ3U5T.js → chunk-SLIFVOQJ.js} +1 -1
- package/out/{chunk-LD4ERH7O.js → chunk-UHXVY3HO.js} +1 -1
- package/out/{chunk-4RDZ5SOT.js → chunk-UVB5BUJ4.js} +26 -16
- package/out/{chunk-FARGFIEU.js → chunk-UXYJKKHC.js} +2 -2
- package/out/{chunk-IPDD4PDL.js → chunk-VNCC4KXJ.js} +2 -2
- package/out/codecs.js +12 -12
- package/out/config.js +6 -6
- package/out/declare.d.ts +24 -5
- package/out/errors.js +7 -7
- package/out/i18n.js +4 -4
- package/out/index.js +12 -12
- package/out/internal.js +25 -25
- package/out/island.js +13 -13
- package/out/islandDependency.js +26 -26
- package/out/keywords/ts.js +8 -8
- package/out/locales/de.js +5 -5
- package/out/locales/en.js +10 -10
- package/out/mutatesInput.js +9 -9
- package/out/parser/tupleExpressions.d.ts +3 -3
- package/out/precompiled.js +7 -7
- package/out/runtime.d.ts +4 -2
- package/out/runtime.js +1 -1
- package/out/schema.js +7 -7
- package/out/schemaInternal.js +17 -17
- package/out/schemaRuntime.js +2 -2
- package/out/schemaRuntimeLean.js +87 -0
- package/out/schemaRuntimeNone.js +87 -0
- package/out/schemaRuntimeNoneLean.js +87 -0
- package/out/util.js +1 -1
- package/package.json +4 -4
- package/skills/arktype/references/precompile.md +25 -25
- /package/out/{chunk-46PLKNON.js → chunk-BMIVLSDP.js} +0 -0
|
@@ -16,7 +16,7 @@ import {
|
|
|
16
16
|
// out/runtime.js
|
|
17
17
|
import { ArkErrors as ArkErrors2, codedIssue, describeActual, enInfo, errorsOf, failsKey, failsKeySite, failsSite, findsOnRead, FirstIssues, holdsExpression, inContext, isCustomIssue, issueAt, issuesOf, mergeIssues, runtimeConfig as runtimeConfig2, sharedMessageOf, supportedJsonSchemaTargets, throwOnDefault, ToJsonSchemaError, traversesUnions, validateStandardJsonSchemaTarget, writeFromPath, writeListed, withContextOf } from "arktype/schema/runtime";
|
|
18
18
|
import { addErrors, addMorphErrs, allowsInBranchBy, allowsInContext, allowsUntracked, appliesValues, ArkErrors, copyOf, describePredicate, discriminatesBooleans, enterApplied, exitApplied, failsInBranches, pipeApplied, pipeChecked, pipeTransformed, runtimeConfig, runtimeScope, silentCtx, TransformErrors, transformed, transformedInApply, transformIfAllowed, transformResolution, transformsBranches, transformsValid } from "arktype/schema/runtime";
|
|
19
|
-
export { aliasVisits, allowsAcyclic, allowsInBranch, applyCyclic, applyIssues, applyRejected, arrayIndexMatcher, callMorph, codedIssue, computeDefaultValueMorph, configure, configuredFallbackOf, configuredWriterOf, copyDeclared, alikeIssue, describeCollapsibleDate, disallowed, enInfo, enterResolution, execMorph, exitResolution, failsKey, failsKeySite, failsSite, FirstIssues, FirstIssueTraversal, fixConfig, foundErrors, fixConfigured, holdsOnlyIndices, keepOwn, InternalTraversal, listedIssue, matchesRepeated, mergeTransformed, missingTextOf, pipe, printKind, rejected, rejects, throwIssues, throwOnDefault, Traversal, TraversalError, tryMorph, withContextOf, writeDomainActual, writeLengthActual, writeMessage, writeNotEqualActual, writeProtoActual, writeNullableJsonSchema, writeUnionJsonSchema, writeUnitActual, writeUnitMessage } from "arktype/schema/runtime";
|
|
19
|
+
export { aliasVisits, allowsAcyclic, allowsInBranch, applyCyclic, applyIssues, applyRejected, arrayIndexMatcher, byAncestorPath, byPath, callMorph, codedIssue, computeDefaultValueMorph, configure, configuredFallbackOf, configuredWriterOf, copyDeclared, alikeIssue, describeCollapsibleDate, disallowed, enInfo, enterResolution, execMorph, exitResolution, failsKey, failsKeySite, failsSite, FirstIssues, FirstIssueTraversal, fixConfig, flatByPath, flatMessagesByPath, foundErrors, fixConfigured, holdsOnlyIndices, keepOwn, InternalTraversal, listedIssue, matchesRepeated, mergeTransformed, missingTextOf, pipe, printKind, rejected, rejects, throwIssues, throwOnDefault, Traversal, TraversalError, tryMorph, withContextOf, writeDomainActual, writeLengthActual, writeMessage, writeNotEqualActual, writeProtoActual, writeNullableJsonSchema, writeUnionJsonSchema, writeUnitActual, writeUnitMessage } from "arktype/schema/runtime";
|
|
20
20
|
|
|
21
21
|
// out/checkers.js
|
|
22
22
|
import { listedIssue } from "arktype/schema/runtime";
|
|
@@ -810,7 +810,11 @@ var union = ((branches, description, issueOf, fails) => {
|
|
|
810
810
|
});
|
|
811
811
|
|
|
812
812
|
// out/runtime.js
|
|
813
|
-
var
|
|
813
|
+
var createRegex = (src, flags) => new RegExp(src, flags);
|
|
814
|
+
var regex = /* @__PURE__ */ Object.assign(createRegex, {
|
|
815
|
+
as: createRegex
|
|
816
|
+
});
|
|
817
|
+
var precompiledForArktype_3_0_0_rc_5 = true;
|
|
814
818
|
var assign = /* @__PURE__ */ (() => Object.assign)();
|
|
815
819
|
var is = /* @__PURE__ */ (() => Object.is)();
|
|
816
820
|
var freeze = /* @__PURE__ */ (() => Object.freeze)();
|
|
@@ -1480,7 +1484,8 @@ export {
|
|
|
1480
1484
|
discriminate,
|
|
1481
1485
|
discriminateOr,
|
|
1482
1486
|
union,
|
|
1483
|
-
|
|
1487
|
+
regex,
|
|
1488
|
+
precompiledForArktype_3_0_0_rc_5,
|
|
1484
1489
|
assign,
|
|
1485
1490
|
is,
|
|
1486
1491
|
freeze,
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
type
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-FEXLREE4.js";
|
|
4
4
|
import {
|
|
5
5
|
parse
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-7H7M4BW2.js";
|
|
7
7
|
import {
|
|
8
8
|
RootModule
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-223NAMM2.js";
|
|
10
10
|
|
|
11
11
|
// out/fromJsonSchema.js
|
|
12
12
|
var fromJsonSchema = (schema) => (
|
|
@@ -38,6 +38,8 @@ import {
|
|
|
38
38
|
bakedJsonSchemaOptionsMessage,
|
|
39
39
|
bakedStandardJsonSchema,
|
|
40
40
|
booleanChecker,
|
|
41
|
+
byAncestorPath,
|
|
42
|
+
byPath,
|
|
41
43
|
callMorph,
|
|
42
44
|
callingDeferredRootApply,
|
|
43
45
|
callingRootApply,
|
|
@@ -114,6 +116,8 @@ import {
|
|
|
114
116
|
firstIssue,
|
|
115
117
|
fixConfig,
|
|
116
118
|
fixConfigured,
|
|
119
|
+
flatByPath,
|
|
120
|
+
flatMessagesByPath,
|
|
117
121
|
foundErrors,
|
|
118
122
|
freeze,
|
|
119
123
|
holdHoles,
|
|
@@ -166,7 +170,7 @@ import {
|
|
|
166
170
|
pipeTransformed,
|
|
167
171
|
piped,
|
|
168
172
|
pipedIntoUndetailed,
|
|
169
|
-
|
|
173
|
+
precompiledForArktype_3_0_0_rc_5,
|
|
170
174
|
printKind,
|
|
171
175
|
props,
|
|
172
176
|
raisingTraversalOf,
|
|
@@ -174,6 +178,7 @@ import {
|
|
|
174
178
|
readingCtxNode,
|
|
175
179
|
receiverOf,
|
|
176
180
|
recordOf,
|
|
181
|
+
regex,
|
|
177
182
|
rejected,
|
|
178
183
|
rejecting,
|
|
179
184
|
rejects,
|
|
@@ -237,17 +242,17 @@ import {
|
|
|
237
242
|
writeUnitMessage,
|
|
238
243
|
writtenBy,
|
|
239
244
|
writtenSiteOf
|
|
240
|
-
} from "./chunk-
|
|
241
|
-
import "./chunk-
|
|
245
|
+
} from "./chunk-NQL4QPUE.js";
|
|
246
|
+
import "./chunk-ADCJNPZW.js";
|
|
242
247
|
import {
|
|
243
248
|
keywords
|
|
244
|
-
} from "./chunk-
|
|
249
|
+
} from "./chunk-FEXLREE4.js";
|
|
245
250
|
import {
|
|
246
251
|
InternalTypedFn
|
|
247
252
|
} from "./chunk-4FTHWK63.js";
|
|
248
253
|
import {
|
|
249
254
|
writesInPlace
|
|
250
|
-
} from "./chunk-
|
|
255
|
+
} from "./chunk-CM74IBWA.js";
|
|
251
256
|
import {
|
|
252
257
|
capitalizeString,
|
|
253
258
|
emptyCollectionDefaults,
|
|
@@ -286,7 +291,7 @@ import {
|
|
|
286
291
|
hashedPrefixLength,
|
|
287
292
|
madeMorphs,
|
|
288
293
|
precompileRootUnits
|
|
289
|
-
} from "./chunk-
|
|
294
|
+
} from "./chunk-223NAMM2.js";
|
|
290
295
|
import {
|
|
291
296
|
isIpv4,
|
|
292
297
|
isIpv6,
|
|
@@ -297,7 +302,7 @@ import {
|
|
|
297
302
|
ToJsonSchema,
|
|
298
303
|
foreignTypesByMorph,
|
|
299
304
|
unionJsonSchemaWritersKey
|
|
300
|
-
} from "./chunk-
|
|
305
|
+
} from "./chunk-C6A65WF4.js";
|
|
301
306
|
import {
|
|
302
307
|
supportedJsonSchemaTargets,
|
|
303
308
|
writeNullableJsonSchema,
|
|
@@ -309,28 +314,28 @@ import {
|
|
|
309
314
|
import {
|
|
310
315
|
rootApplyParts,
|
|
311
316
|
rootApplyRuntime
|
|
312
|
-
} from "./chunk-
|
|
317
|
+
} from "./chunk-JX4N7RSQ.js";
|
|
313
318
|
import {
|
|
314
319
|
isDecidedByAllows,
|
|
315
320
|
isRefinedPattern
|
|
316
|
-
} from "./chunk-
|
|
321
|
+
} from "./chunk-VNCC4KXJ.js";
|
|
317
322
|
import {
|
|
318
323
|
$ark,
|
|
319
324
|
describesData,
|
|
320
325
|
errorWriters,
|
|
321
326
|
errorWritersByCode,
|
|
322
327
|
registryName
|
|
323
|
-
} from "./chunk-
|
|
328
|
+
} from "./chunk-IVOJVPSS.js";
|
|
324
329
|
import {
|
|
325
330
|
describeBranches,
|
|
326
331
|
describeCases,
|
|
327
332
|
hasArkKind,
|
|
328
333
|
holeNameMarker,
|
|
329
334
|
isNode
|
|
330
|
-
} from "./chunk-
|
|
335
|
+
} from "./chunk-GU3X7OIZ.js";
|
|
331
336
|
import {
|
|
332
337
|
nameOf
|
|
333
|
-
} from "./chunk-
|
|
338
|
+
} from "./chunk-SLIFVOQJ.js";
|
|
334
339
|
import {
|
|
335
340
|
ParseError,
|
|
336
341
|
appendStringifiedKey,
|
|
@@ -414,6 +419,8 @@ __export(runtimeExports_exports, {
|
|
|
414
419
|
bakedStandardJsonSchema: () => bakedStandardJsonSchema,
|
|
415
420
|
baseNameOf: () => baseNameOf,
|
|
416
421
|
booleanChecker: () => booleanChecker,
|
|
422
|
+
byAncestorPath: () => byAncestorPath,
|
|
423
|
+
byPath: () => byPath,
|
|
417
424
|
callMorph: () => callMorph,
|
|
418
425
|
callingDeferredRootApply: () => callingDeferredRootApply,
|
|
419
426
|
callingRootApply: () => callingRootApply,
|
|
@@ -493,6 +500,8 @@ __export(runtimeExports_exports, {
|
|
|
493
500
|
firstIssue: () => firstIssue,
|
|
494
501
|
fixConfig: () => fixConfig,
|
|
495
502
|
fixConfigured: () => fixConfigured,
|
|
503
|
+
flatByPath: () => flatByPath,
|
|
504
|
+
flatMessagesByPath: () => flatMessagesByPath,
|
|
496
505
|
foundErrors: () => foundErrors,
|
|
497
506
|
freeze: () => freeze,
|
|
498
507
|
functionNameOf: () => functionNameOf,
|
|
@@ -575,7 +584,7 @@ __export(runtimeExports_exports, {
|
|
|
575
584
|
pipeTransformed: () => pipeTransformed,
|
|
576
585
|
piped: () => piped,
|
|
577
586
|
pipedIntoUndetailed: () => pipedIntoUndetailed,
|
|
578
|
-
|
|
587
|
+
precompiledForArktype_3_0_0_rc_5: () => precompiledForArktype_3_0_0_rc_5,
|
|
579
588
|
printKind: () => printKind,
|
|
580
589
|
printable: () => printable,
|
|
581
590
|
props: () => props,
|
|
@@ -585,6 +594,7 @@ __export(runtimeExports_exports, {
|
|
|
585
594
|
readingCtxNode: () => readingCtxNode,
|
|
586
595
|
receiverOf: () => receiverOf,
|
|
587
596
|
recordOf: () => recordOf,
|
|
597
|
+
regex: () => regex,
|
|
588
598
|
rejected: () => rejected,
|
|
589
599
|
rejecting: () => rejecting,
|
|
590
600
|
rejects: () => rejects,
|
|
@@ -5575,10 +5585,10 @@ ${args}`}`)}`;
|
|
|
5575
5585
|
if (Reflect.ownKeys(value).some((k) => k !== "lastIndex")) {
|
|
5576
5586
|
throwParseError(writeUnprecompilableMessage("a RegExp with its own properties"));
|
|
5577
5587
|
}
|
|
5578
|
-
const
|
|
5588
|
+
const regex2 = `/${value.source}/${value.flags}`;
|
|
5579
5589
|
if (this.patternInstances.has(value))
|
|
5580
|
-
return this.declareConst(value, "literal",
|
|
5581
|
-
return this.declareConst(value, "literal", value.lastIndex ? `runtime.assign(${
|
|
5590
|
+
return this.declareConst(value, "literal", regex2);
|
|
5591
|
+
return this.declareConst(value, "literal", value.lastIndex ? `runtime.assign(${regex2}, { lastIndex: ${value.lastIndex} })` : regex2);
|
|
5582
5592
|
}
|
|
5583
5593
|
return this.metas.has(value) && this.readMeta(value) || this.emitLiteral(value);
|
|
5584
5594
|
}
|
|
@@ -11,10 +11,10 @@ import {
|
|
|
11
11
|
writeInvalidLocaleObjectMessage,
|
|
12
12
|
writeKeywordExpected,
|
|
13
13
|
writeText
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-IVOJVPSS.js";
|
|
15
15
|
import {
|
|
16
16
|
describeActual
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-GU3X7OIZ.js";
|
|
18
18
|
import {
|
|
19
19
|
omit,
|
|
20
20
|
stringifyPath,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
registerBuilderCompiler,
|
|
3
3
|
registeredReference
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-IVOJVPSS.js";
|
|
5
5
|
import {
|
|
6
6
|
TransformErrors,
|
|
7
7
|
addMorphErrs,
|
|
@@ -16,7 +16,7 @@ import {
|
|
|
16
16
|
transformResolution,
|
|
17
17
|
transformedInApply,
|
|
18
18
|
transformsValid
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-GU3X7OIZ.js";
|
|
20
20
|
import {
|
|
21
21
|
CastableBase,
|
|
22
22
|
DynamicFunction,
|
package/out/codecs.js
CHANGED
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
export { codec } from "./chunk-
|
|
2
|
-
import "./chunk-
|
|
3
|
-
import "./chunk-
|
|
4
|
-
import "./chunk-
|
|
1
|
+
export { codec } from "./chunk-3HYMQFAC.js";
|
|
2
|
+
import "./chunk-7NX6KDC7.js";
|
|
3
|
+
import "./chunk-FEXLREE4.js";
|
|
4
|
+
import "./chunk-7H7M4BW2.js";
|
|
5
5
|
import "./chunk-4FTHWK63.js";
|
|
6
6
|
import "./chunk-BDJVONP7.js";
|
|
7
|
-
import "./chunk-
|
|
7
|
+
import "./chunk-UHXVY3HO.js";
|
|
8
8
|
import "./chunk-4HREHNIV.js";
|
|
9
|
-
import "./chunk-
|
|
9
|
+
import "./chunk-223NAMM2.js";
|
|
10
10
|
import "./chunk-CWSF57VM.js";
|
|
11
11
|
import "./chunk-UJJGG4VQ.js";
|
|
12
12
|
import "./chunk-US6BWOGJ.js";
|
|
13
|
-
import "./chunk-
|
|
13
|
+
import "./chunk-C6A65WF4.js";
|
|
14
14
|
import "./chunk-W2XOI5DY.js";
|
|
15
15
|
import "./chunk-TACLEIDM.js";
|
|
16
|
-
import "./chunk-
|
|
17
|
-
import "./chunk-
|
|
18
|
-
import "./chunk-
|
|
19
|
-
import "./chunk-
|
|
20
|
-
import "./chunk-
|
|
16
|
+
import "./chunk-JX4N7RSQ.js";
|
|
17
|
+
import "./chunk-VNCC4KXJ.js";
|
|
18
|
+
import "./chunk-IVOJVPSS.js";
|
|
19
|
+
import "./chunk-GU3X7OIZ.js";
|
|
20
|
+
import "./chunk-SLIFVOQJ.js";
|
|
21
21
|
import "./chunk-3SH2BQ4T.js";
|
|
22
22
|
import "./chunk-3HZC67MT.js";
|
|
23
23
|
import "./chunk-I2KLQ2HA.js";
|
package/out/config.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
export { configure } from "./chunk-
|
|
2
|
-
import "./chunk-
|
|
1
|
+
export { configure } from "./chunk-CE2YGI4T.js";
|
|
2
|
+
import "./chunk-C6A65WF4.js";
|
|
3
3
|
import "./chunk-W2XOI5DY.js";
|
|
4
4
|
import "./chunk-TACLEIDM.js";
|
|
5
|
-
import "./chunk-
|
|
6
|
-
import "./chunk-
|
|
7
|
-
import "./chunk-
|
|
8
|
-
import "./chunk-
|
|
5
|
+
import "./chunk-VNCC4KXJ.js";
|
|
6
|
+
import "./chunk-IVOJVPSS.js";
|
|
7
|
+
import "./chunk-GU3X7OIZ.js";
|
|
8
|
+
import "./chunk-SLIFVOQJ.js";
|
|
9
9
|
import "./chunk-3SH2BQ4T.js";
|
|
10
10
|
import "./chunk-3HZC67MT.js";
|
|
11
11
|
import "./chunk-I2KLQ2HA.js";
|
package/out/declare.d.ts
CHANGED
|
@@ -1,16 +1,35 @@
|
|
|
1
|
-
import type { TypeMeta, UndeclaredKeyBehavior } from "./_internal/schema/index.js";
|
|
2
|
-
import type { anyOrNever, array, Backslash, equals, ErrorMessage, ErrorType, optionalKeyOf, requiredKeyOf, show, unset } from "./_internal/util/index.js";
|
|
1
|
+
import type { NodeSelector, TypeMeta, UndeclaredKeyBehavior } from "./_internal/schema/index.js";
|
|
2
|
+
import type { anyOrNever, array, Backslash, conform, Constructor, equals, ErrorMessage, ErrorType, optionalKeyOf, requiredKeyOf, show, unset } from "./_internal/util/index.js";
|
|
3
3
|
import type { distill, Out } from "./attributes.ts";
|
|
4
4
|
import type { type } from "./keywords/keywords.ts";
|
|
5
5
|
import type { inferDefinition, TerminalObjectDefinition, ThunkCast } from "./parser/definition.ts";
|
|
6
6
|
import type { MetaKey } from "./parser/objectLiteral.ts";
|
|
7
7
|
import type { OptionalPropertyDefinition } from "./parser/property.ts";
|
|
8
|
-
import type { TupleExpression } from "./parser/tupleExpressions.ts";
|
|
8
|
+
import type { ArgTwoOperator, IndexZeroOperator, TupleExpression, TupleInfixOperator } from "./parser/tupleExpressions.ts";
|
|
9
9
|
import type { bindThis } from "./scope.ts";
|
|
10
|
-
import type { Type } from "./type.ts";
|
|
10
|
+
import type { Type, ValidatedArgs } from "./type.ts";
|
|
11
11
|
export type DeclarationParser<$> = <preinferred = unset, ctx extends DeclareContext = {}>() => {
|
|
12
|
-
type: <
|
|
12
|
+
type: DeclaredTypeParser<preinferred, $, ctx>;
|
|
13
13
|
};
|
|
14
|
+
type missingDeclarationMessage = `declare<ExternalType>() requires a generic argument`;
|
|
15
|
+
export interface DeclaredTypeParser<preinferred, $, ctx extends DeclareContext> {
|
|
16
|
+
<const def>(def: [preinferred] extends [anyOrNever] ? validateDeclared<preinferred, def, $, ctx> : [preinferred] extends [unset] ? ErrorMessage<missingDeclarationMessage> : validateDeclared<preinferred, def, $, ctx>): Type<finalizePreinferred<preinferred, def, $, ctx>, $>;
|
|
17
|
+
/**
|
|
18
|
+
* A [tuple expression](https://arktype.io/docs/expressions) spread as
|
|
19
|
+
* this function's arguments, e.g. `.type("===", "a", "b")`, checked
|
|
20
|
+
* against the declared type as `.type(["===", "a", "b"])` would be.
|
|
21
|
+
*
|
|
22
|
+
* Each argument is validated as it is by `type`'s own signature for the
|
|
23
|
+
* same form, which a parameter string is not, as `declare` defines a Type
|
|
24
|
+
* rather than a Generic. The declaration is checked on the first argument
|
|
25
|
+
* once the whole expression is valid.
|
|
26
|
+
*/
|
|
27
|
+
<const zero, const one, const rest extends array>(_0: [preinferred] extends [anyOrNever] ? validateDeclaredRoot<preinferred, zero, one, rest, $, ctx> : [preinferred] extends [unset] ? ErrorMessage<missingDeclarationMessage> : validateDeclaredRoot<preinferred, zero, one, rest, $, ctx>, _1: zero extends "keyof" ? type.validate<one, $> : zero extends "instanceof" ? conform<one, Constructor> : zero extends "===" ? conform<one, unknown> : conform<one, ArgTwoOperator>, ..._2: zero extends "===" ? rest : zero extends "instanceof" ? conform<rest, readonly Constructor[]> : one extends TupleInfixOperator ? one extends ":" ? ValidatedArgs<zero, one, rest, $>[zero extends unknown ? "predicateRest" : never] : one extends "=>" ? ValidatedArgs<zero, one, rest, $>[zero extends unknown ? "morphRest" : never] : one extends "@" ? [TypeMeta.MappableInput, NodeSelector?] : ValidatedArgs<zero, one, rest, $>[zero extends unknown ? "operandRest" : never] : []): Type<finalizePreinferred<preinferred, [zero, one, ...rest], $, ctx>, $>;
|
|
28
|
+
}
|
|
29
|
+
type validateDeclaredRoot<preinferred, zero, one, rest extends array, $, ctx extends DeclareContext> = declaredRootMismatch<preinferred, [zero, one, ...rest], $, ctx> extends (infer mismatch) ? [
|
|
30
|
+
mismatch
|
|
31
|
+
] extends [never] ? zero extends IndexZeroOperator ? zero : type.validate<zero, $> : mismatch : never;
|
|
32
|
+
type declaredRootMismatch<preinferred, def extends array, $, ctx extends DeclareContext> = def extends type.validate<def, $> ? validateShallowInference<inferDefinition<def, $>, preinferred, ctx> extends infer result ? unknown extends result ? never : result : never : never;
|
|
14
33
|
type finalizePreinferred<preinferred, def, $, ctx extends DeclareContext> = ctx["assignable"] extends true ? inferDefinition<def, $> : ctx["side"] extends distill.Side ? ctx["side"] extends "in" ? (In: preinferred) => Out<type.infer.Out<def, $>> : (In: type.infer.In<def, $>) => Out<preinferred> : preinferred;
|
|
15
34
|
export type DeclareContext = {
|
|
16
35
|
side?: "in" | "out";
|
package/out/errors.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import "./chunk-
|
|
2
|
-
export { UndetailedErrors } from "./chunk-
|
|
3
|
-
import "./chunk-
|
|
4
|
-
import "./chunk-
|
|
5
|
-
import "./chunk-
|
|
6
|
-
import "./chunk-
|
|
7
|
-
import "./chunk-
|
|
1
|
+
import "./chunk-32J3BJIT.js";
|
|
2
|
+
export { UndetailedErrors } from "./chunk-N4DO6WIB.js";
|
|
3
|
+
import "./chunk-JX4N7RSQ.js";
|
|
4
|
+
import "./chunk-VNCC4KXJ.js";
|
|
5
|
+
import "./chunk-IVOJVPSS.js";
|
|
6
|
+
import "./chunk-GU3X7OIZ.js";
|
|
7
|
+
import "./chunk-SLIFVOQJ.js";
|
|
8
8
|
import "./chunk-3SH2BQ4T.js";
|
|
9
9
|
import "./chunk-3HZC67MT.js";
|
|
10
10
|
import "./chunk-I2KLQ2HA.js";
|
package/out/i18n.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import "./chunk-22RQSVV3.js";
|
|
2
2
|
import "./chunk-XLG66ZDF.js";
|
|
3
|
-
import "./chunk-
|
|
4
|
-
export { describeCause, describeMissing, groupByPath, labelOf, writeKeywordExpected } from "./chunk-
|
|
5
|
-
export { printedActualOf } from "./chunk-
|
|
6
|
-
import "./chunk-
|
|
3
|
+
import "./chunk-UXYJKKHC.js";
|
|
4
|
+
export { describeCause, describeMissing, groupByPath, labelOf, writeKeywordExpected } from "./chunk-IVOJVPSS.js";
|
|
5
|
+
export { printedActualOf } from "./chunk-GU3X7OIZ.js";
|
|
6
|
+
import "./chunk-SLIFVOQJ.js";
|
|
7
7
|
export { isolate, listPattern } from "./chunk-3SH2BQ4T.js";
|
|
8
8
|
import "./chunk-3HZC67MT.js";
|
|
9
9
|
import "./chunk-I2KLQ2HA.js";
|
package/out/index.js
CHANGED
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
export { Module, fromJsonSchema } from "./chunk-
|
|
1
|
+
export { Module, fromJsonSchema } from "./chunk-SIV4PRW5.js";
|
|
2
2
|
export { regex } from "./chunk-F5BACUJS.js";
|
|
3
3
|
export { inferred } from "./chunk-4NZCLVBD.js";
|
|
4
|
-
export { ark, declare, define, fn, generic, keywords, match, type } from "./chunk-
|
|
5
|
-
export { Generic, Type, scope } from "./chunk-
|
|
4
|
+
export { ark, declare, define, fn, generic, keywords, match, type } from "./chunk-FEXLREE4.js";
|
|
5
|
+
export { Generic, Type, scope } from "./chunk-7H7M4BW2.js";
|
|
6
6
|
import "./chunk-4FTHWK63.js";
|
|
7
7
|
export { Hkt } from "./chunk-BDJVONP7.js";
|
|
8
|
-
export { configure } from "./chunk-
|
|
9
|
-
import "./chunk-
|
|
8
|
+
export { configure } from "./chunk-CE2YGI4T.js";
|
|
9
|
+
import "./chunk-UHXVY3HO.js";
|
|
10
10
|
import "./chunk-4HREHNIV.js";
|
|
11
|
-
import "./chunk-
|
|
11
|
+
import "./chunk-223NAMM2.js";
|
|
12
12
|
import "./chunk-CWSF57VM.js";
|
|
13
13
|
import "./chunk-UJJGG4VQ.js";
|
|
14
14
|
import "./chunk-US6BWOGJ.js";
|
|
15
|
-
export { annotatingFallback } from "./chunk-
|
|
15
|
+
export { annotatingFallback } from "./chunk-C6A65WF4.js";
|
|
16
16
|
import "./chunk-W2XOI5DY.js";
|
|
17
17
|
import "./chunk-TACLEIDM.js";
|
|
18
|
-
import "./chunk-
|
|
19
|
-
import "./chunk-
|
|
20
|
-
export { ArkErrors, ThrownErrors as TraversalError,
|
|
21
|
-
export { Traversal } from "./chunk-
|
|
22
|
-
import "./chunk-
|
|
18
|
+
import "./chunk-JX4N7RSQ.js";
|
|
19
|
+
import "./chunk-VNCC4KXJ.js";
|
|
20
|
+
export { ArkErrors, ThrownErrors as TraversalError, firstIssue, messageIn } from "./chunk-IVOJVPSS.js";
|
|
21
|
+
export { Traversal, byAncestorPath, byPath, flatByPath, flatMessagesByPath } from "./chunk-GU3X7OIZ.js";
|
|
22
|
+
import "./chunk-SLIFVOQJ.js";
|
|
23
23
|
import "./chunk-3SH2BQ4T.js";
|
|
24
24
|
export { ParseError } from "./chunk-3HZC67MT.js";
|
|
25
25
|
import "./chunk-I2KLQ2HA.js";
|
package/out/internal.js
CHANGED
|
@@ -1,41 +1,41 @@
|
|
|
1
|
-
export { ConfiguredWriter, DataParts, StandaloneArtifact, addIssueFeatures, appendPath, appliedSignature, assertBakeableJsonSchema, assertDescribed, assertReportsIssues, bakedRootsOf, bakingOf, basesOf, bindingsOf, boundApplierOf, calledMembersOf, canPipe, cellPrefix, cellSetterOf, cellSpecifierOf, collectDefaults, combines, compiledForSize, contentKeyOf, contentNodesOf, creatorSourceOf, declares, defaultBakedLimit, defaultMembers, defaultedNodeKeys, discriminantContextOf, encodeKey, failureSites, failureSources, fallbackCodes, forwardedOf, frozen, fusedApplierOf, heldSpecifier, holdsDefaults, holdsLocal, holdsObjectMeta, holdsOnlyMeta, holeNameIn, holeNamePattern, internsByHolder, introspectionMembers, invalidErrorsOf, isChecker, isCheckerIn, isCreatedByRuntime, isDescribed, isHole, isInlineSite, isKeyword, isLiteralSite, isPlainLiteral, isReadByName, isSharedUnit, isTypedFn, isVariadicArray, isWriting, issueContextOf, issueSite, issueSiteOf, jsonVariantOf, keyOf, keywordMetas, kindNameOf, listedIssueOf, listsBranches, madeApplierOf, mergeUnits, missingDescriptionOf, namesReadBy, noInlineOf, noIssueFeatures, originalOf, partsOf, preciseFormOf, precompileStandalone, precompileStandaloneModules, printablePrimitive, printedHoleNamePattern, raisedWritersByCode, raisesNothing, raisingKeys, readWritten, receiverPrefix, refNameOf, registeredNameAt, returnedOf, rootUnitsOf, runtimeImport, runtimeKeyOf, runtimePathsByValue, shapedForSize, totalBaked, traceFallbacks, traversalKeyOf, uncountedJsonOf, unifies, unionKeySiteOf, unitOf, wholeReads, withoutStrings, writeBakedLimitMessage, writeCombinator, writeDependencies, writeFixConfig, writeFunction, writeId, writeImports, writeLazyRead, writeModule, writeReplay, writeScope, writeSections, writeSiteOf, writeUnprecompilableMessage, writeValue, writtenAttributesOf, writtenByUnits, writtenSelectedOf } from "./chunk-
|
|
1
|
+
export { ConfiguredWriter, DataParts, StandaloneArtifact, addIssueFeatures, appendPath, appliedSignature, assertBakeableJsonSchema, assertDescribed, assertReportsIssues, bakedRootsOf, bakingOf, basesOf, bindingsOf, boundApplierOf, calledMembersOf, canPipe, cellPrefix, cellSetterOf, cellSpecifierOf, collectDefaults, combines, compiledForSize, contentKeyOf, contentNodesOf, creatorSourceOf, declares, defaultBakedLimit, defaultMembers, defaultedNodeKeys, discriminantContextOf, encodeKey, failureSites, failureSources, fallbackCodes, forwardedOf, frozen, fusedApplierOf, heldSpecifier, holdsDefaults, holdsLocal, holdsObjectMeta, holdsOnlyMeta, holeNameIn, holeNamePattern, internsByHolder, introspectionMembers, invalidErrorsOf, isChecker, isCheckerIn, isCreatedByRuntime, isDescribed, isHole, isInlineSite, isKeyword, isLiteralSite, isPlainLiteral, isReadByName, isSharedUnit, isTypedFn, isVariadicArray, isWriting, issueContextOf, issueSite, issueSiteOf, jsonVariantOf, keyOf, keywordMetas, kindNameOf, listedIssueOf, listsBranches, madeApplierOf, mergeUnits, missingDescriptionOf, namesReadBy, noInlineOf, noIssueFeatures, originalOf, partsOf, preciseFormOf, precompileStandalone, precompileStandaloneModules, printablePrimitive, printedHoleNamePattern, raisedWritersByCode, raisesNothing, raisingKeys, readWritten, receiverPrefix, refNameOf, registeredNameAt, returnedOf, rootUnitsOf, runtimeImport, runtimeKeyOf, runtimePathsByValue, shapedForSize, totalBaked, traceFallbacks, traversalKeyOf, uncountedJsonOf, unifies, unionKeySiteOf, unitOf, wholeReads, withoutStrings, writeBakedLimitMessage, writeCombinator, writeDependencies, writeFixConfig, writeFunction, writeId, writeImports, writeLazyRead, writeModule, writeReplay, writeScope, writeSections, writeSiteOf, writeUnprecompilableMessage, writeValue, writtenAttributesOf, writtenByUnits, writtenSelectedOf } from "./chunk-UVB5BUJ4.js";
|
|
2
2
|
import "./chunk-LHNEY6QW.js";
|
|
3
|
-
import "./chunk-
|
|
4
|
-
import "./chunk-
|
|
5
|
-
import "./chunk-
|
|
6
|
-
export { BoundModule, Module, fromJsonSchema } from "./chunk-
|
|
3
|
+
import "./chunk-NQL4QPUE.js";
|
|
4
|
+
import "./chunk-ADCJNPZW.js";
|
|
5
|
+
import "./chunk-BMIVLSDP.js";
|
|
6
|
+
export { BoundModule, Module, fromJsonSchema } from "./chunk-SIV4PRW5.js";
|
|
7
7
|
export { regex } from "./chunk-F5BACUJS.js";
|
|
8
8
|
export { inferred } from "./chunk-4NZCLVBD.js";
|
|
9
|
-
export { codec } from "./chunk-
|
|
10
|
-
import "./chunk-
|
|
11
|
-
export { NFC, NFD, NFKC, NFKD, TypedArray, ark, arkArray, arkBuiltins, arkFormData, arkPrototypes, builtinDefinitions, capitalize, creditCard, declare, define, epoch, fn, generic, integer, ip, json, keywords, match, normalize, normalizedForms, number, prototypeDefinitions, regexStringNode, schema, string, stringDate, stringInteger, stringNumeric, tryParseDatePattern, type, url, uuid } from "./chunk-
|
|
12
|
-
export { $arkTypeRegistry, Generic, InternalChainedMatchParser, InternalMatchParser, InternalScope, InternalTypeParser, RecordHkt, RuntimeState, Scope, Type, arkTsGenerics, arkTsKeywords, arrayIsNotGenericHint, assertTupleArity, chainedAtMessage, checkWrittenIntersection, comparatorStartChars, comparators, defaultablePostOptionalMessage, deferDefinition, deferUnion, deferUnits, deferredRecord, doubleAtMessage, emptyGenericParameterMessage, enclosingChar, enclosingLiteralTokens, enclosingQuote, enclosingRegexTokens, enclosingTokens, extractDateLiteralSource, finalizingLookaheads, foreignAliases, fullStringParse, getBoundKinds, incompleteArrayTokenMessage, invalidDefaultableKeyKindMessage, invalidOptionalKeyKindMessage, invertedComparators, isDateLiteral, keywordDomains, keywordModule, limitOf, lookaheadIsFinalizing, maxComparators, maybeParseTupleExpression, minComparators, multipleVariadicMesage, nonLeadingSpreadError, object, optionalOrDefaultableAfterVariadicMessage, parseBound, parseBrand, parseDefault, parseDivisor, parseEnclosed, parseGenericArgs, parseGenericInstantiation, parseGenericParamName, parseInnerDefinition, parseKeyOfTuple, parseMorphTuple, parseNarrowTuple, parseObject, parseObjectLiteral, parseOperand, parseOperator, parseProperty, parseRightBound, parseString, parseTuple, parseTupleLiteral, parseUnenclosed, parseUntilFinalizer, preparseKey, requiredPostOptionalMessage, scope, shallowDefaultableMessage, shallowOptionalMessage, shiftComparator, shiftUntilTerminator, spreadDefaultableMessage, spreadOptionalMessage, terminatingChars, tsGenericDefinitions, tsKeywordDefinitions, unknown, untilLookaheadIsClosing, writeAsyncStandardSchemaMessage, writeBadDefinitionTypeMessage, writeDoubleRightBoundMessage, writeExpressionExpectedMessage, writeIncompatibleRangeMessage, writeInvalidConstructorMessage, writeInvalidDivisorMessage, writeInvalidGenericArgCountMessage, writeInvalidLimitMessage, writeInvalidSpreadTypeMessage, writeInvalidUndeclaredBehaviorMessage, writeMalformedFunctionalExpressionMessage, writeMissingOperandMessage, writeMissingRightOperandMessage, writeMultipleLeftBoundsMessage, writeNonArraySpreadMessage, writeNonLiteralDefaultMessage, writeOpenRangeMessage, writeOptionalIndexKeyMessage, writeParameterizedGenericKeyMessage, writePrefixedPrivateReferenceMessage, writeUnexpectedCharacterMessage, writeUnexpectedTupleElementsMessage, writeUnpairableComparatorMessage, writeUnresolvableHint, writeUnresolvedFilterMessage, writeUnterminatedEnclosedMessage } from "./chunk-
|
|
9
|
+
export { codec } from "./chunk-3HYMQFAC.js";
|
|
10
|
+
import "./chunk-7NX6KDC7.js";
|
|
11
|
+
export { NFC, NFD, NFKC, NFKD, TypedArray, ark, arkArray, arkBuiltins, arkFormData, arkPrototypes, builtinDefinitions, capitalize, creditCard, declare, define, epoch, fn, generic, integer, ip, json, keywords, match, normalize, normalizedForms, number, prototypeDefinitions, regexStringNode, schema, string, stringDate, stringInteger, stringNumeric, tryParseDatePattern, type, url, uuid } from "./chunk-FEXLREE4.js";
|
|
12
|
+
export { $arkTypeRegistry, Generic, InternalChainedMatchParser, InternalMatchParser, InternalScope, InternalTypeParser, RecordHkt, RuntimeState, Scope, Type, arkTsGenerics, arkTsKeywords, arrayIsNotGenericHint, assertTupleArity, chainedAtMessage, checkWrittenIntersection, comparatorStartChars, comparators, defaultablePostOptionalMessage, deferDefinition, deferUnion, deferUnits, deferredRecord, doubleAtMessage, emptyGenericParameterMessage, enclosingChar, enclosingLiteralTokens, enclosingQuote, enclosingRegexTokens, enclosingTokens, extractDateLiteralSource, finalizingLookaheads, foreignAliases, fullStringParse, getBoundKinds, incompleteArrayTokenMessage, invalidDefaultableKeyKindMessage, invalidOptionalKeyKindMessage, invertedComparators, isDateLiteral, keywordDomains, keywordModule, limitOf, lookaheadIsFinalizing, maxComparators, maybeParseTupleExpression, minComparators, multipleVariadicMesage, nonLeadingSpreadError, object, optionalOrDefaultableAfterVariadicMessage, parseBound, parseBrand, parseDefault, parseDivisor, parseEnclosed, parseGenericArgs, parseGenericInstantiation, parseGenericParamName, parseInnerDefinition, parseKeyOfTuple, parseMorphTuple, parseNarrowTuple, parseObject, parseObjectLiteral, parseOperand, parseOperator, parseProperty, parseRightBound, parseString, parseTuple, parseTupleLiteral, parseUnenclosed, parseUntilFinalizer, preparseKey, requiredPostOptionalMessage, scope, shallowDefaultableMessage, shallowOptionalMessage, shiftComparator, shiftUntilTerminator, spreadDefaultableMessage, spreadOptionalMessage, terminatingChars, tsGenericDefinitions, tsKeywordDefinitions, unknown, untilLookaheadIsClosing, writeAsyncStandardSchemaMessage, writeBadDefinitionTypeMessage, writeDoubleRightBoundMessage, writeExpressionExpectedMessage, writeIncompatibleRangeMessage, writeInvalidConstructorMessage, writeInvalidDivisorMessage, writeInvalidGenericArgCountMessage, writeInvalidLimitMessage, writeInvalidSpreadTypeMessage, writeInvalidUndeclaredBehaviorMessage, writeMalformedFunctionalExpressionMessage, writeMissingOperandMessage, writeMissingRightOperandMessage, writeMultipleLeftBoundsMessage, writeNonArraySpreadMessage, writeNonLiteralDefaultMessage, writeOpenRangeMessage, writeOptionalIndexKeyMessage, writeParameterizedGenericKeyMessage, writePrefixedPrivateReferenceMessage, writeUnexpectedCharacterMessage, writeUnexpectedTupleElementsMessage, writeUnpairableComparatorMessage, writeUnresolvableHint, writeUnresolvedFilterMessage, writeUnterminatedEnclosedMessage } from "./chunk-7H7M4BW2.js";
|
|
13
13
|
export { InternalFnParser, InternalTypedFn, badFnReturnTypeMessage } from "./chunk-4FTHWK63.js";
|
|
14
14
|
export { Hkt } from "./chunk-BDJVONP7.js";
|
|
15
|
-
export { configure } from "./chunk-
|
|
16
|
-
import "./chunk-
|
|
17
|
-
export { UndetailedErrors } from "./chunk-
|
|
18
|
-
export { de } from "./chunk-
|
|
19
|
-
export { en } from "./chunk-
|
|
20
|
-
export { keywordMeta, keywordPhrases } from "./chunk-
|
|
15
|
+
export { configure } from "./chunk-CE2YGI4T.js";
|
|
16
|
+
import "./chunk-32J3BJIT.js";
|
|
17
|
+
export { UndetailedErrors } from "./chunk-N4DO6WIB.js";
|
|
18
|
+
export { de } from "./chunk-J6NFH2BS.js";
|
|
19
|
+
export { en } from "./chunk-PAP4AM6W.js";
|
|
20
|
+
export { keywordMeta, keywordPhrases } from "./chunk-UHXVY3HO.js";
|
|
21
21
|
import "./chunk-22RQSVV3.js";
|
|
22
22
|
import "./chunk-XLG66ZDF.js";
|
|
23
|
-
import "./chunk-
|
|
24
|
-
import "./chunk-
|
|
25
|
-
import "./chunk-
|
|
23
|
+
import "./chunk-UXYJKKHC.js";
|
|
24
|
+
import "./chunk-LZXHV74B.js";
|
|
25
|
+
import "./chunk-CM74IBWA.js";
|
|
26
26
|
export { capitalizeString, emptyCollectionDefaults, epochDescriptions, isEpochString, isJsonString, isLuhnValid, isParsableDate, isParsableUrl, isRegexPattern, keepFormatted, lowercaseString, maxEpoch, normalizationsByForm, parseDate, parseEpoch, parseFormData, parseInteger, parseIsoDate, parseJson, parseNumeric, parseUrl, parsesFinite, raisedErrorPhrases, stringifyJson, trimString, uppercaseString, writeEpoch, writeIsoDate, writeUrl } from "./chunk-4HREHNIV.js";
|
|
27
|
-
export { registerPrecompiledUnits } from "./chunk-
|
|
27
|
+
export { registerPrecompiledUnits } from "./chunk-223NAMM2.js";
|
|
28
28
|
import "./chunk-CWSF57VM.js";
|
|
29
29
|
import "./chunk-UJJGG4VQ.js";
|
|
30
30
|
export { iso8601Matcher } from "./chunk-US6BWOGJ.js";
|
|
31
|
-
export { annotatingFallback } from "./chunk-
|
|
31
|
+
export { annotatingFallback } from "./chunk-C6A65WF4.js";
|
|
32
32
|
import "./chunk-W2XOI5DY.js";
|
|
33
33
|
import "./chunk-TACLEIDM.js";
|
|
34
|
-
import "./chunk-
|
|
35
|
-
import "./chunk-
|
|
36
|
-
export { ArkErrors, ThrownErrors as TraversalError,
|
|
37
|
-
export { Traversal, printedActualOf } from "./chunk-
|
|
38
|
-
import "./chunk-
|
|
34
|
+
import "./chunk-JX4N7RSQ.js";
|
|
35
|
+
import "./chunk-VNCC4KXJ.js";
|
|
36
|
+
export { ArkErrors, ThrownErrors as TraversalError, describeCause, describeMissing, firstIssue, groupByPath, labelOf, messageIn, writeKeywordExpected } from "./chunk-IVOJVPSS.js";
|
|
37
|
+
export { Traversal, byAncestorPath, byPath, flatByPath, flatMessagesByPath, printedActualOf } from "./chunk-GU3X7OIZ.js";
|
|
38
|
+
import "./chunk-SLIFVOQJ.js";
|
|
39
39
|
export { isolate, listPattern } from "./chunk-3SH2BQ4T.js";
|
|
40
40
|
export { ParseError } from "./chunk-3HZC67MT.js";
|
|
41
41
|
import "./chunk-I2KLQ2HA.js";
|
package/out/island.js
CHANGED
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
import "./chunk-
|
|
2
|
-
import "./chunk-
|
|
3
|
-
import "./chunk-
|
|
4
|
-
import "./chunk-
|
|
5
|
-
import "./chunk-
|
|
6
|
-
import "./chunk-
|
|
1
|
+
import "./chunk-EYXKZRJM.js";
|
|
2
|
+
import "./chunk-CE2YGI4T.js";
|
|
3
|
+
import "./chunk-32J3BJIT.js";
|
|
4
|
+
import "./chunk-N4DO6WIB.js";
|
|
5
|
+
import "./chunk-LZXHV74B.js";
|
|
6
|
+
import "./chunk-CM74IBWA.js";
|
|
7
7
|
import "./chunk-4HREHNIV.js";
|
|
8
|
-
import "./chunk-
|
|
8
|
+
import "./chunk-223NAMM2.js";
|
|
9
9
|
import "./chunk-CWSF57VM.js";
|
|
10
10
|
import "./chunk-UJJGG4VQ.js";
|
|
11
11
|
import "./chunk-US6BWOGJ.js";
|
|
12
|
-
import "./chunk-
|
|
12
|
+
import "./chunk-C6A65WF4.js";
|
|
13
13
|
import "./chunk-W2XOI5DY.js";
|
|
14
14
|
import "./chunk-TACLEIDM.js";
|
|
15
|
-
import "./chunk-
|
|
16
|
-
import "./chunk-
|
|
17
|
-
import "./chunk-
|
|
18
|
-
import "./chunk-
|
|
19
|
-
import "./chunk-
|
|
15
|
+
import "./chunk-JX4N7RSQ.js";
|
|
16
|
+
import "./chunk-VNCC4KXJ.js";
|
|
17
|
+
import "./chunk-IVOJVPSS.js";
|
|
18
|
+
import "./chunk-GU3X7OIZ.js";
|
|
19
|
+
import "./chunk-SLIFVOQJ.js";
|
|
20
20
|
import "./chunk-3SH2BQ4T.js";
|
|
21
21
|
import "./chunk-3HZC67MT.js";
|
|
22
22
|
import "./chunk-I2KLQ2HA.js";
|