@attocash/commons-test 6.2.0 → 6.2.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/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/DateTimeUnit.mjs +58 -58
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/Exceptions.mjs +21 -21
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/LocalDate.mjs +56 -56
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/LocalDateTime.mjs +31 -31
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/LocalTime.mjs +41 -41
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/OverloadMarker.mjs +1 -1
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/TimeZone.mjs +65 -65
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/UtcOffset.mjs +22 -22
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/YearMonth.mjs +22 -22
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/ZonedDateTime.mjs +12 -12
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/format/DateTimeFormat.mjs +7 -7
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/format/DateTimeFormatBuilder.mjs +32 -32
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/format/LocalDateFormat.mjs +122 -122
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/format/LocalDateTimeFormat.mjs +104 -104
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/format/LocalTimeFormat.mjs +150 -150
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/format/UtcOffsetFormat.mjs +131 -131
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/format/YearMonthFormat.mjs +74 -74
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/OffsetInfo.mjs +29 -29
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/Platform.mjs +26 -26
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/RegionTimeZone.mjs +20 -20
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/TimeZoneRules.mjs +49 -49
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/Builder.mjs +7 -7
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/FieldFormatDirective.mjs +49 -49
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/FieldSpec.mjs +42 -42
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/FormatStructure.mjs +108 -108
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/Predicate.mjs +11 -11
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/formatter/Formatter.mjs +28 -28
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/formatter/FormatterOperation.mjs +45 -45
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/parser/NumberConsumer.mjs +43 -43
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/parser/ParseResult.mjs +4 -4
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/parser/Parser.mjs +54 -54
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/parser/ParserOperation.mjs +60 -60
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/math.mjs +16 -16
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/mathNative.mjs +3 -3
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/serializers/DateTimeUnitSerializers.mjs +100 -100
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/serializers/LocalDateSerializers.mjs +9 -9
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/serializers/LocalDateTimeSerializers.mjs +9 -9
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/serializers/LocalTimeSerializers.mjs +9 -9
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/serializers/TimeZoneSerializers.mjs +28 -28
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/serializers/YearMonthSerializers.mjs +9 -9
- package/commons-commons-core/cash/atto/commons/AccountUpdate.js.mjs +11 -11
- package/commons-commons-core/cash/atto/commons/AttoAccount.mjs +129 -129
- package/commons-commons-core/cash/atto/commons/AttoAccountEntry.mjs +116 -116
- package/commons-commons-core/cash/atto/commons/AttoAddress.mjs +32 -32
- package/commons-commons-core/cash/atto/commons/AttoAlgorithm.mjs +15 -15
- package/commons-commons-core/cash/atto/commons/AttoAmount.mjs +34 -34
- package/commons-commons-core/cash/atto/commons/AttoBlock.mjs +875 -875
- package/commons-commons-core/cash/atto/commons/AttoBufferExtensions.mjs +7 -7
- package/commons-commons-core/cash/atto/commons/AttoChallenge.mjs +13 -13
- package/commons-commons-core/cash/atto/commons/AttoFuture.js.mjs +8 -8
- package/commons-commons-core/cash/atto/commons/AttoHash.mjs +14 -14
- package/commons-commons-core/cash/atto/commons/AttoHasher.js.mjs +1 -1
- package/commons-commons-core/cash/atto/commons/AttoHeight.mjs +22 -22
- package/commons-commons-core/cash/atto/commons/AttoInstant.mjs +38 -38
- package/commons-commons-core/cash/atto/commons/AttoJob.mjs +1 -1
- package/commons-commons-core/cash/atto/commons/AttoKeyIndex.mjs +4 -4
- package/commons-commons-core/cash/atto/commons/AttoMnemonic.export.d.mts +2 -3
- package/commons-commons-core/cash/atto/commons/AttoMnemonic.mjs +35 -26
- package/commons-commons-core/cash/atto/commons/AttoMnemonic.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/AttoMnemonicDictionary.mjs +7 -7
- package/commons-commons-core/cash/atto/commons/AttoNetwork.mjs +12 -12
- package/commons-commons-core/cash/atto/commons/AttoPrivateKey.js.mjs +8 -8
- package/commons-commons-core/cash/atto/commons/AttoPrivateKey.mjs +30 -30
- package/commons-commons-core/cash/atto/commons/AttoPublicKey.mjs +13 -13
- package/commons-commons-core/cash/atto/commons/AttoReceivable.mjs +96 -96
- package/commons-commons-core/cash/atto/commons/AttoSeed.js.mjs +7 -7
- package/commons-commons-core/cash/atto/commons/AttoSeed.mjs +4 -4
- package/commons-commons-core/cash/atto/commons/AttoSignature.mjs +14 -14
- package/commons-commons-core/cash/atto/commons/AttoSigner.js.mjs +9 -9
- package/commons-commons-core/cash/atto/commons/AttoSocketAddress.mjs +6 -6
- package/commons-commons-core/cash/atto/commons/AttoTransaction.mjs +64 -64
- package/commons-commons-core/cash/atto/commons/AttoValidation.mjs +3 -3
- package/commons-commons-core/cash/atto/commons/AttoVersion.mjs +15 -15
- package/commons-commons-core/cash/atto/commons/AttoVote.mjs +78 -78
- package/commons-commons-core/cash/atto/commons/AttoWork.mjs +24 -24
- package/commons-commons-core/cash/atto/commons/AttoWorkTarget.mjs +16 -16
- package/commons-commons-core/cash/atto/commons/Extensions.mjs +8 -8
- package/commons-commons-core/cash/atto/commons/utils/Base32.mjs +9 -9
- package/commons-commons-core/cash/atto/commons/utils/SecureRandom.js.mjs +1 -1
- package/commons-commons-node/cash/atto/commons/node/AttoNodeClientAsync.export.d.mts +1 -1
- package/commons-commons-node/cash/atto/commons/node/AttoNodeClientAsync.mjs +332 -296
- package/commons-commons-node/cash/atto/commons/node/AttoNodeClientAsync.mjs.map +1 -1
- package/commons-commons-node/cash/atto/commons/node/AttoNodeOperations.mjs +156 -156
- package/commons-commons-node/cash/atto/commons/node/NodeExtensions.mjs +17 -17
- package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountEntryMonitor.mjs +7 -7
- package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountEntryMonitorAsync.mjs +34 -34
- package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountEntryMonitorAsyncBuilder.web.mjs +16 -16
- package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountMonitor.mjs +38 -38
- package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountMonitorAsync.mjs +54 -54
- package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountMonitorAsyncBuilder.web.mjs +3 -3
- package/commons-commons-node/cash/atto/commons/node/monitor/AttoHeightMonitor.mjs +64 -64
- package/commons-commons-node/cash/atto/commons/node/monitor/AttoTransactionMonitor.mjs +7 -7
- package/commons-commons-node/cash/atto/commons/node/monitor/AttoTransactionMonitorAsync.mjs +34 -34
- package/commons-commons-node/cash/atto/commons/node/monitor/AttoTransactionMonitorAsyncBuilder.web.mjs +16 -16
- package/commons-commons-node-remote/cash/atto/commons/node/AttoNodeClientAsyncBuilder.web.mjs +9 -9
- package/commons-commons-node-remote/cash/atto/commons/node/AttoNodeClientRemote.mjs +344 -344
- package/commons-commons-test/cash/atto/commons/node/AttoMockWorker.mjs +8 -8
- package/commons-commons-test/cash/atto/commons/node/AttoNodeMock.js.mjs +32 -32
- package/commons-commons-test/cash/atto/commons/node/AttoNodeMock.mjs +20 -20
- package/commons-commons-test/cash/atto/commons/node/AttoNodeMockAsync.js.mjs +15 -15
- package/commons-commons-test/cash/atto/commons/node/AttoNodeMockAsync.mjs +1 -1
- package/commons-commons-test/cash/atto/commons/node/AttoNodeMockAsyncBuilder.js.mjs +28 -28
- package/commons-commons-test/cash/atto/commons/node/AttoWorkerMock.js.mjs +15 -15
- package/commons-commons-test/cash/atto/commons/node/AttoWorkerMockAsync.js.mjs +12 -12
- package/commons-commons-test/cash/atto/commons/node/AttoWorkerMockAsync.mjs +1 -1
- package/commons-commons-test/cash/atto/commons/node/AttoWorkerMockAsyncBuilder.js.mjs +12 -12
- package/commons-commons-worker/cash/atto/commons/worker/AttoWorker.mjs +2 -2
- package/commons-commons-worker/cash/atto/commons/worker/AttoWorkerAsync.mjs +25 -25
- package/commons-commons-worker/cash/atto/commons/worker/AttoWorkerCache.mjs +79 -79
- package/commons-commons-worker/cash/atto/commons/worker/AttoWorkerCpu.mjs +38 -38
- package/commons-commons-worker/cash/atto/commons/worker/AttoWorkerOperations.mjs +82 -82
- package/commons-commons-worker-remote/cash/atto/commons/worker/AttoWorkerAsyncBuilder.web.mjs +16 -16
- package/commons-commons-worker-remote/cash/atto/commons/worker/AttoWorkerRemote.mjs +33 -33
- package/kotlin-kotlin-stdlib/kotlin/AutoCloseableJs.mjs +2 -2
- package/kotlin-kotlin-stdlib/kotlin/DeepRecursive.mjs +24 -24
- package/kotlin-kotlin-stdlib/kotlin/Enum.mjs +3 -3
- package/kotlin-kotlin-stdlib/kotlin/Lazy.mjs +9 -9
- package/kotlin-kotlin-stdlib/kotlin/Primitives.mjs +4 -4
- package/kotlin-kotlin-stdlib/kotlin/Result.mjs +11 -11
- package/kotlin-kotlin-stdlib/kotlin/Standard.mjs +3 -3
- package/kotlin-kotlin-stdlib/kotlin/Tuples.mjs +21 -21
- package/kotlin-kotlin-stdlib/kotlin/UByte.mjs +12 -12
- package/kotlin-kotlin-stdlib/kotlin/UByteArray.mjs +26 -26
- package/kotlin-kotlin-stdlib/kotlin/UInt.mjs +12 -12
- package/kotlin-kotlin-stdlib/kotlin/UIntArray.mjs +26 -26
- package/kotlin-kotlin-stdlib/kotlin/ULong.mjs +12 -12
- package/kotlin-kotlin-stdlib/kotlin/ULongArray.mjs +26 -26
- package/kotlin-kotlin-stdlib/kotlin/UShort.mjs +12 -12
- package/kotlin-kotlin-stdlib/kotlin/UShortArray.mjs +26 -26
- package/kotlin-kotlin-stdlib/kotlin/collections/AbstractCollection.mjs +2 -2
- package/kotlin-kotlin-stdlib/kotlin/collections/AbstractList.mjs +49 -95
- package/kotlin-kotlin-stdlib/kotlin/collections/AbstractList.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/collections/AbstractMap.mjs +40 -40
- package/kotlin-kotlin-stdlib/kotlin/collections/AbstractMutableCollectionJs.mjs +10 -10
- package/kotlin-kotlin-stdlib/kotlin/collections/AbstractMutableListJs.mjs +67 -92
- package/kotlin-kotlin-stdlib/kotlin/collections/AbstractMutableListJs.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/collections/AbstractMutableMap.mjs +25 -25
- package/kotlin-kotlin-stdlib/kotlin/collections/AbstractMutableSet.mjs +4 -4
- package/kotlin-kotlin-stdlib/kotlin/collections/AbstractSet.mjs +7 -7
- package/kotlin-kotlin-stdlib/kotlin/collections/ArrayDeque.mjs +202 -249
- package/kotlin-kotlin-stdlib/kotlin/collections/ArrayDeque.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/collections/ArrayListJs.mjs +37 -43
- package/kotlin-kotlin-stdlib/kotlin/collections/ArrayListJs.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/collections/Collections.export.d.mts +0 -9
- package/kotlin-kotlin-stdlib/kotlin/collections/Collections.export.mjs +1 -7
- package/kotlin-kotlin-stdlib/kotlin/collections/Collections.export.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/collections/Collections.mjs +15 -43
- package/kotlin-kotlin-stdlib/kotlin/collections/Collections.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/collections/CollectionsKt.mjs +36 -73
- package/kotlin-kotlin-stdlib/kotlin/collections/CollectionsKt.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/collections/HashMap.mjs +35 -35
- package/kotlin-kotlin-stdlib/kotlin/collections/HashMapEntry.mjs +51 -51
- package/kotlin-kotlin-stdlib/kotlin/collections/HashMapEntryDefault.mjs +38 -38
- package/kotlin-kotlin-stdlib/kotlin/collections/HashSet.mjs +16 -16
- package/kotlin-kotlin-stdlib/kotlin/collections/IndexedValue.mjs +7 -7
- package/kotlin-kotlin-stdlib/kotlin/collections/InternalHashMap.mjs +204 -204
- package/kotlin-kotlin-stdlib/kotlin/collections/InternalMap.mjs +1 -1
- package/kotlin-kotlin-stdlib/kotlin/collections/Iterables.mjs +2 -2
- package/kotlin-kotlin-stdlib/kotlin/collections/Iterators.mjs +6 -6
- package/kotlin-kotlin-stdlib/kotlin/collections/LinkedHashMap.mjs +17 -17
- package/kotlin-kotlin-stdlib/kotlin/collections/LinkedHashSet.mjs +7 -7
- package/kotlin-kotlin-stdlib/kotlin/collections/MapWithDefault.mjs +3 -3
- package/kotlin-kotlin-stdlib/kotlin/collections/Maps.mjs +25 -25
- package/kotlin-kotlin-stdlib/kotlin/collections/MutableCollections.mjs +4 -4
- package/kotlin-kotlin-stdlib/kotlin/collections/PrimitiveIterators.mjs +4 -4
- package/kotlin-kotlin-stdlib/kotlin/collections/Sets.mjs +11 -11
- package/kotlin-kotlin-stdlib/kotlin/collections/Sets.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/collections/_Arrays.mjs +0 -27
- package/kotlin-kotlin-stdlib/kotlin/collections/_Arrays.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/collections/_ArraysJs.mjs +4 -4
- package/kotlin-kotlin-stdlib/kotlin/collections/_CollectionsJs.mjs +2 -2
- package/kotlin-kotlin-stdlib/kotlin/collections/collectionJs.mjs +19 -19
- package/kotlin-kotlin-stdlib/kotlin/collections/collectionJs.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/collections/collectionsInterop.mjs +17 -112
- package/kotlin-kotlin-stdlib/kotlin/collections/collectionsInterop.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/coroutines/Continuation.mjs +1 -1
- package/kotlin-kotlin-stdlib/kotlin/coroutines/ContinuationInterceptor.mjs +3 -3
- package/kotlin-kotlin-stdlib/kotlin/coroutines/CoroutineContext.mjs +4 -4
- package/kotlin-kotlin-stdlib/kotlin/coroutines/CoroutineContextImpl.mjs +38 -38
- package/kotlin-kotlin-stdlib/kotlin/coroutines/CoroutineImpl.mjs +4 -4
- package/kotlin-kotlin-stdlib/kotlin/coroutines/GeneratorCoroutineImpl.mjs +38 -38
- package/kotlin-kotlin-stdlib/kotlin/coroutines/InterceptedCoroutine.mjs +10 -10
- package/kotlin-kotlin-stdlib/kotlin/coroutines/SafeContinuationJs.mjs +17 -17
- package/kotlin-kotlin-stdlib/kotlin/coroutines/intrinsics/IntrinsicsJs.mjs +21 -21
- package/kotlin-kotlin-stdlib/kotlin/enums/EnumEntries.mjs +10 -30
- package/kotlin-kotlin-stdlib/kotlin/enums/EnumEntries.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/exceptions.mjs +71 -71
- package/kotlin-kotlin-stdlib/kotlin/hacks.mjs +3 -3
- package/kotlin-kotlin-stdlib/kotlin/js/JsClass.mjs +1 -1
- package/kotlin-kotlin-stdlib/kotlin/js/arrays.mjs +8 -8
- package/kotlin-kotlin-stdlib/kotlin/js/internal/primitiveCompanionObjects.mjs +26 -26
- package/kotlin-kotlin-stdlib/kotlin/js/json.mjs +2 -2
- package/kotlin-kotlin-stdlib/kotlin/random/Random.mjs +29 -29
- package/kotlin-kotlin-stdlib/kotlin/random/XorWowRandom.mjs +25 -25
- package/kotlin-kotlin-stdlib/kotlin/ranges/PrimitiveRanges.mjs +17 -17
- package/kotlin-kotlin-stdlib/kotlin/ranges/ProgressionIterators.mjs +26 -26
- package/kotlin-kotlin-stdlib/kotlin/ranges/Progressions.mjs +10 -10
- package/kotlin-kotlin-stdlib/kotlin/reflect/KTypeProjection.mjs +16 -16
- package/kotlin-kotlin-stdlib/kotlin/reflect/js/internal/KClassImpl.mjs +23 -23
- package/kotlin-kotlin-stdlib/kotlin/reflect/js/internal/KTypeHelpers.mjs +2 -2
- package/kotlin-kotlin-stdlib/kotlin/reflect/js/internal/KTypeParameterImpl.mjs +8 -8
- package/kotlin-kotlin-stdlib/kotlin/reflect/js/internal/primitives.mjs +20 -20
- package/kotlin-kotlin-stdlib/kotlin/sequences/SequenceBuilder.mjs +34 -34
- package/kotlin-kotlin-stdlib/kotlin/sequences/Sequences.mjs +27 -27
- package/kotlin-kotlin-stdlib/kotlin/text/CharacterCodingExceptionJs.mjs +6 -6
- package/kotlin-kotlin-stdlib/kotlin/text/HexExtensions.mjs +18 -18
- package/kotlin-kotlin-stdlib/kotlin/text/HexFormat.mjs +45 -45
- package/kotlin-kotlin-stdlib/kotlin/text/Indent.mjs +2 -2
- package/kotlin-kotlin-stdlib/kotlin/text/StringBuilderJs.mjs +17 -17
- package/kotlin-kotlin-stdlib/kotlin/text/StringNumberConversions.mjs +1 -1
- package/kotlin-kotlin-stdlib/kotlin/text/Strings.mjs +66 -66
- package/kotlin-kotlin-stdlib/kotlin/text/_DigitChars.mjs +3 -3
- package/kotlin-kotlin-stdlib/kotlin/text/_LetterChars.mjs +7 -7
- package/kotlin-kotlin-stdlib/kotlin/text/regex.mjs +21 -21
- package/kotlin-kotlin-stdlib/kotlin/text/stringJs.mjs +19 -19
- package/kotlin-kotlin-stdlib/kotlin/text/stringJs.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/text/stringsCode.mjs +3 -3
- package/kotlin-kotlin-stdlib/kotlin/text/utf8Encoding.mjs +1 -1
- package/kotlin-kotlin-stdlib/kotlin/throwableExtensions.mjs +21 -21
- package/kotlin-kotlin-stdlib/kotlin/time/Clock.mjs +1 -1
- package/kotlin-kotlin-stdlib/kotlin/time/Duration.mjs +81 -81
- package/kotlin-kotlin-stdlib/kotlin/time/DurationUnitJs.mjs +6 -6
- package/kotlin-kotlin-stdlib/kotlin/time/Instant.mjs +84 -84
- package/kotlin-kotlin-stdlib/kotlin/time/InstantJs.mjs +1 -1
- package/kotlin-kotlin-stdlib/kotlin/uuid/Uuid.mjs +24 -24
- package/kotlin-kotlin-stdlib/kotlin/uuid/UuidJs.mjs +2 -2
- package/kotlin-kotlin-stdlib/reflectionJs.mjs +2 -2
- package/kotlinx-atomicfu/kotlinx/atomicfu/AtomicFU.common.mjs +5 -5
- package/kotlinx-atomicfu/kotlinx/atomicfu/AtomicFU.mjs +8 -8
- package/kotlinx-coroutines-core/kotlinx/coroutines/AbstractCoroutine.mjs +27 -27
- package/kotlinx-coroutines-core/kotlinx/coroutines/Builders.common.mjs +16 -16
- package/kotlinx-coroutines-core/kotlinx/coroutines/CancellableContinuation.mjs +8 -8
- package/kotlinx-coroutines-core/kotlinx/coroutines/CancellableContinuationImpl.mjs +173 -173
- package/kotlinx-coroutines-core/kotlinx/coroutines/CompletableDeferred.mjs +10 -10
- package/kotlinx-coroutines-core/kotlinx/coroutines/CompletionState.mjs +11 -11
- package/kotlinx-coroutines-core/kotlinx/coroutines/CoroutineContext.mjs +4 -4
- package/kotlinx-coroutines-core/kotlinx/coroutines/CoroutineDispatcher.mjs +9 -9
- package/kotlinx-coroutines-core/kotlinx/coroutines/CoroutineExceptionHandler.mjs +4 -4
- package/kotlinx-coroutines-core/kotlinx/coroutines/CoroutineName.mjs +4 -4
- package/kotlinx-coroutines-core/kotlinx/coroutines/CoroutineScope.mjs +7 -7
- package/kotlinx-coroutines-core/kotlinx/coroutines/CoroutineStart.mjs +2 -2
- package/kotlinx-coroutines-core/kotlinx/coroutines/Delay.mjs +4 -4
- package/kotlinx-coroutines-core/kotlinx/coroutines/DispatchedTask.mjs +49 -49
- package/kotlinx-coroutines-core/kotlinx/coroutines/Dispatchers.mjs +18 -18
- package/kotlinx-coroutines-core/kotlinx/coroutines/EventLoop.common.mjs +30 -30
- package/kotlinx-coroutines-core/kotlinx/coroutines/EventLoop.mjs +2 -2
- package/kotlinx-coroutines-core/kotlinx/coroutines/Exceptions.common.mjs +6 -6
- package/kotlinx-coroutines-core/kotlinx/coroutines/Exceptions.mjs +6 -6
- package/kotlinx-coroutines-core/kotlinx/coroutines/JSDispatcher.mjs +90 -112
- package/kotlinx-coroutines-core/kotlinx/coroutines/JSDispatcher.mjs.map +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/Job.mjs +17 -17
- package/kotlinx-coroutines-core/kotlinx/coroutines/JobSupport.mjs +324 -324
- package/kotlinx-coroutines-core/kotlinx/coroutines/MainCoroutineDispatcher.mjs +5 -5
- package/kotlinx-coroutines-core/kotlinx/coroutines/Promise.mjs +8 -8
- package/kotlinx-coroutines-core/kotlinx/coroutines/Supervisor.mjs +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/Unconfined.mjs +7 -7
- package/kotlinx-coroutines-core/kotlinx/coroutines/channels/BufferedChannel.mjs +462 -462
- package/kotlinx-coroutines-core/kotlinx/coroutines/channels/Channel.mjs +30 -30
- package/kotlinx-coroutines-core/kotlinx/coroutines/channels/ChannelCoroutine.mjs +19 -19
- package/kotlinx-coroutines-core/kotlinx/coroutines/channels/Channels.common.mjs +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/channels/ConflatedBufferedChannel.mjs +16 -16
- package/kotlinx-coroutines-core/kotlinx/coroutines/channels/Produce.mjs +13 -13
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Builders.mjs +13 -13
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Channels.mjs +2 -2
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Collect.mjs +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Emitters.mjs +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Reduce.mjs +18 -18
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Share.mjs +11 -11
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/SharedFlow.mjs +45 -45
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/StateFlow.mjs +51 -51
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/AbstractSharedFlow.mjs +25 -25
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/ChannelFlow.mjs +65 -65
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/FlowExceptions.common.mjs +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/FlowExceptions.mjs +6 -6
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/Merge.mjs +39 -39
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/SafeCollector.common.mjs +5 -5
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/SafeCollector.mjs +10 -10
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/SendingCollector.mjs +3 -3
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/Concurrent.common.mjs +2 -2
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/Concurrent.mjs +11 -11
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/ConcurrentLinkedList.mjs +49 -49
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/CoroutineExceptionHandlerImpl.common.mjs +2 -2
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/CoroutineExceptionHandlerImpl.mjs +3 -3
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/DispatchedContinuation.mjs +77 -77
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/LimitedDispatcher.mjs +37 -37
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/LinkedList.mjs +23 -23
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/LockFreeTaskQueue.mjs +74 -74
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/NamedDispatcher.mjs +10 -10
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/OnUndeliveredElement.mjs +4 -4
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/Scopes.mjs +11 -11
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/Symbol.mjs +2 -2
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/ThreadLocal.mjs +5 -5
- package/kotlinx-coroutines-core/kotlinx/coroutines/intrinsics/Cancellable.mjs +2 -2
- package/kotlinx-coroutines-core/kotlinx/coroutines/intrinsics/Undispatched.mjs +12 -12
- package/kotlinx-coroutines-core/kotlinx/coroutines/selects/Select.mjs +15 -15
- package/kotlinx-coroutines-core/kotlinx/coroutines/sync/Mutex.mjs +54 -54
- package/kotlinx-coroutines-core/kotlinx/coroutines/sync/Semaphore.mjs +65 -65
- package/kotlinx-io-kotlinx-io-bytestring/kotlinx/io/bytestring/ByteString.mjs +36 -36
- package/kotlinx-io-kotlinx-io-bytestring/kotlinx/io/bytestring/unsafe/UnsafeByteStringOperations.mjs +2 -2
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/-PlatformJs.mjs +14 -14
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/-Util.mjs +1 -1
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/Buffer.mjs +191 -191
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/Buffers.mjs +10 -10
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/ByteStrings.mjs +1 -1
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/PeekSource.mjs +21 -21
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/RealSource.mjs +54 -54
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/Segment.mjs +151 -151
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/SegmentPool.mjs +6 -6
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/Sink.mjs +2 -2
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/Sinks.mjs +3 -3
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/Sources.mjs +15 -15
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/Utf8.mjs +58 -58
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/internal/-Utf8.mjs +1 -1
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/unsafe/UnsafeBufferOperations.mjs +12 -12
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/PolymorphicSerializer.mjs +19 -19
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/SealedSerializer.mjs +46 -46
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/SerializationExceptions.mjs +23 -23
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/Serializers.mjs +6 -6
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/SerializersCache.mjs +6 -6
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/SerializersJs.mjs +4 -4
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/builtins/BuiltinSerializers.mjs +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/descriptors/ContextAware.mjs +33 -33
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/descriptors/SerialDescriptor.mjs +18 -18
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/descriptors/SerialDescriptors.mjs +66 -66
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/encoding/AbstractDecoder.mjs +55 -55
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/encoding/AbstractEncoder.mjs +65 -65
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/encoding/Decoding.mjs +2 -2
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/encoding/Encoding.mjs +2 -2
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/AbstractPolymorphicSerializer.mjs +26 -26
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/BuiltInSerializers.mjs +38 -38
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/CollectionDescriptors.mjs +56 -56
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/CollectionDescriptors.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/CollectionSerializers.mjs +243 -243
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/ElementMarker.mjs +22 -22
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Enums.mjs +33 -33
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/InlineClassDescriptor.mjs +16 -16
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/NoOpEncoder.mjs +18 -18
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/NothingSerialDescriptor.mjs +16 -16
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/NullableSerializer.mjs +43 -43
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/ObjectSerializer.mjs +19 -19
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Platform.common.mjs +7 -7
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Platform.mjs +14 -14
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/PluginExceptions.mjs +2 -2
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/PluginGeneratedSerialDescriptor.mjs +72 -72
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/PrimitiveArraysSerializers.mjs +444 -444
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Primitives.mjs +116 -116
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Tagged.mjs +106 -106
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Tuples.mjs +92 -92
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/ValueClasses.mjs +48 -48
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/modules/SerializersModule.mjs +33 -33
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/modules/SerializersModuleCollector.mjs +1 -1
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/Json.mjs +44 -44
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/JsonConfiguration.mjs +18 -18
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/JsonElement.mjs +68 -90
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/JsonElement.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/JsonElementSerializers.mjs +152 -152
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/JsonSchemaCache.mjs +1 -1
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/AbstractJsonLexer.mjs +178 -178
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/CommentLexers.mjs +25 -25
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/Composers.mjs +71 -71
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonElementMarker.mjs +8 -8
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonExceptions.mjs +14 -14
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonNamesMap.mjs +24 -24
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonPath.mjs +39 -39
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonSerializersModuleValidator.mjs +16 -16
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonStreams.mjs +2 -2
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonToStringWriterJsWasm.mjs +12 -12
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonTreeReader.mjs +67 -67
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/Polymorphic.mjs +6 -6
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/SchemaCache.mjs +12 -12
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/StreamingJsonDecoder.mjs +176 -176
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/StreamingJsonEncoder.mjs +139 -139
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/StringJsonLexer.mjs +51 -51
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/StringOps.mjs +2 -2
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/TreeJsonDecoder.mjs +220 -220
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/WriteMode.mjs +9 -9
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/createMapForCache.mjs +1 -1
- package/ktor-ktor-client-content-negotiation/io/ktor/client/plugins/contentnegotiation/ContentNegotiation.mjs +72 -72
- package/ktor-ktor-client-content-negotiation/io/ktor/client/plugins/contentnegotiation/JsonContentTypeMatcher.mjs +4 -4
- package/ktor-ktor-client-core/io/ktor/client/HttpClient.mjs +76 -76
- package/ktor-ktor-client-core/io/ktor/client/HttpClientConfig.mjs +41 -41
- package/ktor-ktor-client-core/io/ktor/client/JsRequestUtils.mjs +1 -1
- package/ktor-ktor-client-core/io/ktor/client/call/DelegatedCall.mjs +43 -43
- package/ktor-ktor-client-core/io/ktor/client/call/HttpClientCall.mjs +51 -51
- package/ktor-ktor-client-core/io/ktor/client/call/SavedCall.mjs +49 -49
- package/ktor-ktor-client-core/io/ktor/client/call/utils.mjs +2 -2
- package/ktor-ktor-client-core/io/ktor/client/content/ObservableContent.mjs +23 -23
- package/ktor-ktor-client-core/io/ktor/client/engine/HttpClientEngine.mjs +57 -57
- package/ktor-ktor-client-core/io/ktor/client/engine/HttpClientEngineBase.mjs +23 -23
- package/ktor-ktor-client-core/io/ktor/client/engine/HttpClientEngineCapability.mjs +1 -1
- package/ktor-ktor-client-core/io/ktor/client/engine/HttpClientEngineConfig.mjs +4 -4
- package/ktor-ktor-client-core/io/ktor/client/engine/Loader.mjs +11 -11
- package/ktor-ktor-client-core/io/ktor/client/engine/Utils.mjs +25 -25
- package/ktor-ktor-client-core/io/ktor/client/engine/js/Js.mjs +6 -6
- package/ktor-ktor-client-core/io/ktor/client/engine/js/JsClientEngine.mjs +34 -34
- package/ktor-ktor-client-core/io/ktor/client/engine/js/JsUtils.mjs +17 -17
- package/ktor-ktor-client-core/io/ktor/client/engine/js/browser/BrowserFetch.mjs +14 -14
- package/ktor-ktor-client-core/io/ktor/client/engine/js/compatibility/Utils.mjs +9 -9
- package/ktor-ktor-client-core/io/ktor/client/plugins/BodyProgress.mjs +40 -40
- package/ktor-ktor-client-core/io/ktor/client/plugins/DefaultResponseValidation.mjs +33 -33
- package/ktor-ktor-client-core/io/ktor/client/plugins/DefaultTransform.mjs +74 -74
- package/ktor-ktor-client-core/io/ktor/client/plugins/HttpCallValidator.mjs +83 -83
- package/ktor-ktor-client-core/io/ktor/client/plugins/HttpClientPlugin.mjs +2 -2
- package/ktor-ktor-client-core/io/ktor/client/plugins/HttpPlainText.mjs +60 -60
- package/ktor-ktor-client-core/io/ktor/client/plugins/HttpRedirect.mjs +34 -34
- package/ktor-ktor-client-core/io/ktor/client/plugins/HttpRequestLifecycle.mjs +32 -32
- package/ktor-ktor-client-core/io/ktor/client/plugins/HttpRequestRetry.mjs +116 -116
- package/ktor-ktor-client-core/io/ktor/client/plugins/HttpSend.mjs +53 -53
- package/ktor-ktor-client-core/io/ktor/client/plugins/HttpTimeout.mjs +84 -84
- package/ktor-ktor-client-core/io/ktor/client/plugins/SaveBody.mjs +24 -24
- package/ktor-ktor-client-core/io/ktor/client/plugins/api/ClientHook.mjs +4 -4
- package/ktor-ktor-client-core/io/ktor/client/plugins/api/ClientPluginBuilder.mjs +13 -13
- package/ktor-ktor-client-core/io/ktor/client/plugins/api/ClientPluginInstance.mjs +12 -12
- package/ktor-ktor-client-core/io/ktor/client/plugins/api/CommonHooks.mjs +28 -28
- package/ktor-ktor-client-core/io/ktor/client/plugins/api/CreatePluginUtils.mjs +14 -14
- package/ktor-ktor-client-core/io/ktor/client/plugins/api/KtorCallContexts.mjs +39 -39
- package/ktor-ktor-client-core/io/ktor/client/plugins/sse/ClientSSESession.mjs +4 -4
- package/ktor-ktor-client-core/io/ktor/client/plugins/websocket/JsWebSocketSession.mjs +49 -49
- package/ktor-ktor-client-core/io/ktor/client/plugins/websocket/WebSockets.mjs +4 -4
- package/ktor-ktor-client-core/io/ktor/client/request/DefaultHttpRequest.mjs +18 -18
- package/ktor-ktor-client-core/io/ktor/client/request/HttpRequest.mjs +60 -60
- package/ktor-ktor-client-core/io/ktor/client/request/HttpRequestPipeline.mjs +18 -18
- package/ktor-ktor-client-core/io/ktor/client/request/utils.mjs +1 -1
- package/ktor-ktor-client-core/io/ktor/client/statement/DefaultHttpResponse.mjs +25 -25
- package/ktor-ktor-client-core/io/ktor/client/statement/HttpResponse.mjs +8 -8
- package/ktor-ktor-client-core/io/ktor/client/statement/HttpResponsePipeline.mjs +27 -27
- package/ktor-ktor-client-core/io/ktor/client/statement/HttpStatement.mjs +22 -22
- package/ktor-ktor-client-core/io/ktor/client/utils/ByteChannelUtils.mjs +17 -17
- package/ktor-ktor-client-core/io/ktor/client/utils/ClientEvents.mjs +2 -2
- package/ktor-ktor-client-core/io/ktor/client/utils/Content.mjs +3 -3
- package/ktor-ktor-client-core/io/ktor/client/utils/HeadersUtils.mjs +6 -6
- package/ktor-ktor-client-core/io/ktor/client/utils/headers.mjs +1 -1
- package/ktor-ktor-events/io/ktor/events/Events.mjs +6 -6
- package/ktor-ktor-http/io/ktor/http/Codecs.mjs +15 -15
- package/ktor-ktor-http/io/ktor/http/ContentTypes.mjs +93 -93
- package/ktor-ktor-http/io/ktor/http/HeaderValueWithParameters.mjs +19 -19
- package/ktor-ktor-http/io/ktor/http/Headers.mjs +18 -18
- package/ktor-ktor-http/io/ktor/http/HttpHeaderValueParser.mjs +42 -42
- package/ktor-ktor-http/io/ktor/http/HttpHeaders.mjs +115 -115
- package/ktor-ktor-http/io/ktor/http/HttpMessageProperties.mjs +6 -6
- package/ktor-ktor-http/io/ktor/http/HttpMethod.mjs +13 -13
- package/ktor-ktor-http/io/ktor/http/HttpProtocolVersion.mjs +16 -16
- package/ktor-ktor-http/io/ktor/http/HttpStatusCode.mjs +68 -68
- package/ktor-ktor-http/io/ktor/http/Parameters.mjs +11 -11
- package/ktor-ktor-http/io/ktor/http/Query.mjs +4 -4
- package/ktor-ktor-http/io/ktor/http/URLBuilder.mjs +61 -61
- package/ktor-ktor-http/io/ktor/http/URLBuilderJs.mjs +1 -1
- package/ktor-ktor-http/io/ktor/http/URLParser.mjs +34 -34
- package/ktor-ktor-http/io/ktor/http/URLProtocol.mjs +22 -22
- package/ktor-ktor-http/io/ktor/http/URLUtils.mjs +18 -18
- package/ktor-ktor-http/io/ktor/http/Url.mjs +69 -69
- package/ktor-ktor-http/io/ktor/http/UrlDecodedParametersBuilder.mjs +26 -26
- package/ktor-ktor-http/io/ktor/http/content/ByteArrayContent.mjs +9 -9
- package/ktor-ktor-http/io/ktor/http/content/OutgoingContent.mjs +8 -8
- package/ktor-ktor-http/io/ktor/http/content/TextContent.mjs +12 -12
- package/ktor-ktor-http-cio/io/ktor/http/cio/CIOMultipartDataBase.mjs +5 -5
- package/ktor-ktor-http-cio/io/ktor/http/cio/HttpHeadersMap.mjs +90 -90
- package/ktor-ktor-http-cio/io/ktor/http/cio/HttpParser.mjs +33 -33
- package/ktor-ktor-http-cio/io/ktor/http/cio/Multipart.mjs +53 -53
- package/ktor-ktor-http-cio/io/ktor/http/cio/internals/AsciiCharTree.mjs +15 -15
- package/ktor-ktor-http-cio/io/ktor/http/cio/internals/CharArrayBuilder.mjs +74 -74
- package/ktor-ktor-http-cio/io/ktor/http/cio/internals/CharArrayPool.mjs +2 -2
- package/ktor-ktor-http-cio/io/ktor/http/cio/internals/Chars.mjs +6 -6
- package/ktor-ktor-http-cio/io/ktor/http/cio/internals/Errors.mjs +3 -3
- package/ktor-ktor-http-cio/io/ktor/http/cio/internals/MutableRange.mjs +3 -3
- package/ktor-ktor-io/io/ktor/utils/io/ByteChannel.mjs +127 -127
- package/ktor-ktor-io/io/ktor/utils/io/ByteChannelCtor.mjs +1 -1
- package/ktor-ktor-io/io/ktor/utils/io/ByteChannelScanner.mjs +53 -53
- package/ktor-ktor-io/io/ktor/utils/io/ByteReadChannel.mjs +13 -13
- package/ktor-ktor-io/io/ktor/utils/io/ByteReadChannelOperations.mjs +59 -59
- package/ktor-ktor-io/io/ktor/utils/io/ByteWriteChannel.mjs +2 -2
- package/ktor-ktor-io/io/ktor/utils/io/ByteWriteChannelOperations.mjs +39 -39
- package/ktor-ktor-io/io/ktor/utils/io/CloseToken.mjs +11 -11
- package/ktor-ktor-io/io/ktor/utils/io/CountedByteReadChannel.mjs +23 -23
- package/ktor-ktor-io/io/ktor/utils/io/Exceptions.mjs +12 -12
- package/ktor-ktor-io/io/ktor/utils/io/IODispatcher.jsAndWasmShared.mjs +1 -1
- package/ktor-ktor-io/io/ktor/utils/io/LineEndingMode.mjs +15 -15
- package/ktor-ktor-io/io/ktor/utils/io/SourceByteReadChannel.mjs +18 -18
- package/ktor-ktor-io/io/ktor/utils/io/charsets/Charset.js.mjs +36 -36
- package/ktor-ktor-io/io/ktor/utils/io/charsets/Encoding.mjs +5 -5
- package/ktor-ktor-io/io/ktor/utils/io/charsets/ISO88591.mjs +2 -2
- package/ktor-ktor-io/io/ktor/utils/io/charsets/TextDecoder.js.mjs +3 -3
- package/ktor-ktor-io/io/ktor/utils/io/charsets/TextDecoderFallback.js.mjs +5 -5
- package/ktor-ktor-io/io/ktor/utils/io/core/Buffer.mjs +1 -1
- package/ktor-ktor-io/io/ktor/utils/io/core/BytePacketBuilder.mjs +2 -2
- package/ktor-ktor-io/io/ktor/utils/io/core/ByteReadPacket.mjs +4 -4
- package/ktor-ktor-io/io/ktor/utils/io/core/Input.mjs +1 -1
- package/ktor-ktor-io/io/ktor/utils/io/core/Strings.mjs +10 -10
- package/ktor-ktor-io/io/ktor/utils/io/pool/ByteArrayPool.mjs +1 -1
- package/ktor-ktor-io/io/ktor/utils/io/pool/DefaultPool.mjs +29 -29
- package/ktor-ktor-io/io/ktor/utils/io/pool/Pool.mjs +4 -4
- package/ktor-ktor-serialization/io/ktor/serialization/ContentConvertException.mjs +6 -6
- package/ktor-ktor-serialization/io/ktor/serialization/ContentConverter.mjs +42 -42
- package/ktor-ktor-serialization-kotlinx/io/ktor/serialization/kotlinx/Extensions.mjs +1 -1
- package/ktor-ktor-serialization-kotlinx/io/ktor/serialization/kotlinx/KotlinxSerializationConverter.mjs +89 -89
- package/ktor-ktor-serialization-kotlinx/io/ktor/serialization/kotlinx/SerializerLookup.mjs +11 -11
- package/ktor-ktor-serialization-kotlinx-json/io/ktor/serialization/kotlinx/json/JsonSupport.mjs +7 -7
- package/ktor-ktor-utils/io/ktor/util/Attributes.mjs +13 -13
- package/ktor-ktor-utils/io/ktor/util/AttributesJs.mjs +15 -15
- package/ktor-ktor-utils/io/ktor/util/CaseInsensitiveMap.mjs +45 -45
- package/ktor-ktor-utils/io/ktor/util/CoroutinesUtils.mjs +2 -2
- package/ktor-ktor-utils/io/ktor/util/DelegatingMutableSet.mjs +40 -40
- package/ktor-ktor-utils/io/ktor/util/PlatformUtils.mjs +16 -16
- package/ktor-ktor-utils/io/ktor/util/StringValues.mjs +83 -83
- package/ktor-ktor-utils/io/ktor/util/Text.mjs +9 -9
- package/ktor-ktor-utils/io/ktor/util/collections/CopyOnWriteHashMap.mjs +3 -3
- package/ktor-ktor-utils/io/ktor/util/date/Date.mjs +106 -106
- package/ktor-ktor-utils/io/ktor/util/date/DateJs.mjs +5 -5
- package/ktor-ktor-utils/io/ktor/util/internal/LockFreeLinkedList.mjs +8 -8
- package/ktor-ktor-utils/io/ktor/util/logging/KtorSimpleLoggerJs.mjs +10 -10
- package/ktor-ktor-utils/io/ktor/util/logging/LoggerJs.mjs +1 -1
- package/ktor-ktor-utils/io/ktor/util/pipeline/DebugPipelineContext.mjs +29 -29
- package/ktor-ktor-utils/io/ktor/util/pipeline/PhaseContent.mjs +26 -26
- package/ktor-ktor-utils/io/ktor/util/pipeline/Pipeline.mjs +55 -55
- package/ktor-ktor-utils/io/ktor/util/pipeline/PipelineContext.mjs +1 -1
- package/ktor-ktor-utils/io/ktor/util/pipeline/PipelinePhase.mjs +3 -3
- package/ktor-ktor-utils/io/ktor/util/pipeline/PipelinePhaseRelation.mjs +2 -2
- package/ktor-ktor-utils/io/ktor/util/pipeline/SuspendFunctionGun.mjs +58 -58
- package/ktor-ktor-utils/io/ktor/util/reflect/Type.mjs +9 -9
- package/ktor-ktor-utils/io/ktor/util/reflect/TypeInfoJs.mjs +1 -1
- package/ktor-ktor-websockets/io/ktor/websocket/CloseReason.mjs +18 -18
- package/ktor-ktor-websockets/io/ktor/websocket/FrameCommon.mjs +1 -1
- package/ktor-ktor-websockets/io/ktor/websocket/FrameJs.mjs +31 -31
- package/ktor-ktor-websockets/io/ktor/websocket/FrameType.mjs +8 -8
- package/package.json +1 -1
|
@@ -64,61 +64,61 @@ function get_unsignedNumberDescriptors() {
|
|
|
64
64
|
}
|
|
65
65
|
var unsignedNumberDescriptors;
|
|
66
66
|
function encodeTypeInfo($this, discriminator, serialName) {
|
|
67
|
-
$this.
|
|
68
|
-
$this.
|
|
69
|
-
$this.
|
|
70
|
-
$this.
|
|
71
|
-
$this.
|
|
67
|
+
$this.p1k_1.f1i();
|
|
68
|
+
$this.py(discriminator);
|
|
69
|
+
$this.p1k_1.i1i(_Char___init__impl__6a9atx(58));
|
|
70
|
+
$this.p1k_1.h1i();
|
|
71
|
+
$this.py(serialName);
|
|
72
72
|
}
|
|
73
73
|
var StreamingJsonEncoderClass;
|
|
74
74
|
function StreamingJsonEncoder() {
|
|
75
75
|
if (StreamingJsonEncoderClass === VOID) {
|
|
76
76
|
class $ extends AbstractEncoder() {
|
|
77
|
-
static
|
|
78
|
-
var $this = this.
|
|
79
|
-
$this.
|
|
80
|
-
$this.
|
|
81
|
-
$this.
|
|
82
|
-
$this.
|
|
83
|
-
$this.
|
|
84
|
-
$this.
|
|
85
|
-
$this.
|
|
86
|
-
$this.
|
|
87
|
-
$this.
|
|
88
|
-
var i = $this.
|
|
89
|
-
if (!($this.
|
|
90
|
-
if (!($this.
|
|
91
|
-
$this.
|
|
77
|
+
static i1m(composer, json, mode, modeReuseCache) {
|
|
78
|
+
var $this = this.dy();
|
|
79
|
+
$this.p1k_1 = composer;
|
|
80
|
+
$this.q1k_1 = json;
|
|
81
|
+
$this.r1k_1 = mode;
|
|
82
|
+
$this.s1k_1 = modeReuseCache;
|
|
83
|
+
$this.t1k_1 = $this.q1k_1.zx();
|
|
84
|
+
$this.u1k_1 = $this.q1k_1.l1e_1;
|
|
85
|
+
$this.v1k_1 = false;
|
|
86
|
+
$this.w1k_1 = null;
|
|
87
|
+
$this.x1k_1 = null;
|
|
88
|
+
var i = $this.r1k_1.x1_1;
|
|
89
|
+
if (!($this.s1k_1 == null)) {
|
|
90
|
+
if (!($this.s1k_1[i] === null) || !($this.s1k_1[i] === $this)) {
|
|
91
|
+
$this.s1k_1[i] = $this;
|
|
92
92
|
}
|
|
93
93
|
}
|
|
94
94
|
return $this;
|
|
95
95
|
}
|
|
96
|
-
|
|
97
|
-
return this.
|
|
96
|
+
n1g() {
|
|
97
|
+
return this.q1k_1;
|
|
98
98
|
}
|
|
99
|
-
static
|
|
100
|
-
return this.
|
|
99
|
+
static y1k(output, json, mode, modeReuseCache) {
|
|
100
|
+
return this.i1m(Composer(output, json), json, mode, modeReuseCache);
|
|
101
101
|
}
|
|
102
|
-
|
|
103
|
-
return this.
|
|
102
|
+
zx() {
|
|
103
|
+
return this.t1k_1;
|
|
104
104
|
}
|
|
105
|
-
|
|
106
|
-
return this.
|
|
105
|
+
gz(descriptor, index) {
|
|
106
|
+
return this.u1k_1.w1f_1;
|
|
107
107
|
}
|
|
108
|
-
|
|
108
|
+
dz(serializer, value) {
|
|
109
109
|
$l$block: {
|
|
110
110
|
// Inline function 'kotlinx.serialization.json.internal.encodePolymorphically' call
|
|
111
|
-
if (this.
|
|
112
|
-
serializer.
|
|
111
|
+
if (this.n1g().l1e_1.e1g_1) {
|
|
112
|
+
serializer.xs(this, value);
|
|
113
113
|
break $l$block;
|
|
114
114
|
}
|
|
115
115
|
var isPolymorphicSerializer = serializer instanceof AbstractPolymorphicSerializer();
|
|
116
116
|
var tmp;
|
|
117
117
|
if (isPolymorphicSerializer) {
|
|
118
|
-
tmp = !this.
|
|
118
|
+
tmp = !this.n1g().l1e_1.m1g_1.equals(ClassDiscriminatorMode_NONE_getInstance());
|
|
119
119
|
} else {
|
|
120
120
|
var tmp_0;
|
|
121
|
-
switch (this.
|
|
121
|
+
switch (this.n1g().l1e_1.m1g_1.x1_1) {
|
|
122
122
|
case 0:
|
|
123
123
|
case 2:
|
|
124
124
|
tmp_0 = false;
|
|
@@ -126,7 +126,7 @@ function StreamingJsonEncoder() {
|
|
|
126
126
|
case 1:
|
|
127
127
|
// Inline function 'kotlin.let' call
|
|
128
128
|
|
|
129
|
-
var it = serializer.
|
|
129
|
+
var it = serializer.ws().sv();
|
|
130
130
|
tmp_0 = equals(it, CLASS_getInstance()) || equals(it, OBJECT_getInstance());
|
|
131
131
|
break;
|
|
132
132
|
default:
|
|
@@ -136,14 +136,14 @@ function StreamingJsonEncoder() {
|
|
|
136
136
|
tmp = tmp_0;
|
|
137
137
|
}
|
|
138
138
|
var needDiscriminator = tmp;
|
|
139
|
-
var baseClassDiscriminator = needDiscriminator ? classDiscriminator(serializer.
|
|
139
|
+
var baseClassDiscriminator = needDiscriminator ? classDiscriminator(serializer.ws(), this.n1g()) : null;
|
|
140
140
|
var tmp_1;
|
|
141
141
|
if (isPolymorphicSerializer) {
|
|
142
142
|
var casted = serializer instanceof AbstractPolymorphicSerializer() ? serializer : THROW_CCE();
|
|
143
143
|
$l$block_0: {
|
|
144
144
|
// Inline function 'kotlin.requireNotNull' call
|
|
145
145
|
if (value == null) {
|
|
146
|
-
var message = 'Value for serializer ' + toString_0(serializer.
|
|
146
|
+
var message = 'Value for serializer ' + toString_0(serializer.ws()) + ' should always be non-null. Please report issue to the kotlinx.serialization tracker.';
|
|
147
147
|
throw IllegalArgumentException().s2(toString_0(message));
|
|
148
148
|
} else {
|
|
149
149
|
break $l$block_0;
|
|
@@ -152,7 +152,7 @@ function StreamingJsonEncoder() {
|
|
|
152
152
|
var actual = findPolymorphicSerializer(casted, this, value);
|
|
153
153
|
if (!(baseClassDiscriminator == null)) {
|
|
154
154
|
access$validateIfSealed$tPolymorphicKt(serializer, actual, baseClassDiscriminator);
|
|
155
|
-
checkKind(actual.
|
|
155
|
+
checkKind(actual.ws().sv());
|
|
156
156
|
}
|
|
157
157
|
tmp_1 = isInterface(actual, SerializationStrategy()) ? actual : THROW_CCE();
|
|
158
158
|
} else {
|
|
@@ -160,195 +160,195 @@ function StreamingJsonEncoder() {
|
|
|
160
160
|
}
|
|
161
161
|
var actualSerializer = tmp_1;
|
|
162
162
|
if (!(baseClassDiscriminator == null)) {
|
|
163
|
-
var serialName = actualSerializer.
|
|
164
|
-
this.
|
|
165
|
-
this.
|
|
163
|
+
var serialName = actualSerializer.ws().zt();
|
|
164
|
+
this.w1k_1 = baseClassDiscriminator;
|
|
165
|
+
this.x1k_1 = serialName;
|
|
166
166
|
}
|
|
167
|
-
actualSerializer.
|
|
167
|
+
actualSerializer.xs(this, value);
|
|
168
168
|
}
|
|
169
169
|
}
|
|
170
|
-
|
|
171
|
-
var newMode = switchMode(this.
|
|
172
|
-
if (!(newMode.
|
|
173
|
-
this.
|
|
174
|
-
this.
|
|
170
|
+
lx(descriptor) {
|
|
171
|
+
var newMode = switchMode(this.q1k_1, descriptor);
|
|
172
|
+
if (!(newMode.b1m_1 === _Char___init__impl__6a9atx(0))) {
|
|
173
|
+
this.p1k_1.i1i(newMode.b1m_1);
|
|
174
|
+
this.p1k_1.d1i();
|
|
175
175
|
}
|
|
176
|
-
var discriminator = this.
|
|
176
|
+
var discriminator = this.w1k_1;
|
|
177
177
|
if (!(discriminator == null)) {
|
|
178
|
-
var tmp0_elvis_lhs = this.
|
|
179
|
-
encodeTypeInfo(this, discriminator, tmp0_elvis_lhs == null ? descriptor.
|
|
180
|
-
this.
|
|
181
|
-
this.
|
|
178
|
+
var tmp0_elvis_lhs = this.x1k_1;
|
|
179
|
+
encodeTypeInfo(this, discriminator, tmp0_elvis_lhs == null ? descriptor.zt() : tmp0_elvis_lhs);
|
|
180
|
+
this.w1k_1 = null;
|
|
181
|
+
this.x1k_1 = null;
|
|
182
182
|
}
|
|
183
|
-
if (this.
|
|
183
|
+
if (this.r1k_1.equals(newMode)) {
|
|
184
184
|
return this;
|
|
185
185
|
}
|
|
186
|
-
var tmp1_safe_receiver = this.
|
|
186
|
+
var tmp1_safe_receiver = this.s1k_1;
|
|
187
187
|
var tmp2_elvis_lhs = tmp1_safe_receiver == null ? null : tmp1_safe_receiver[newMode.x1_1];
|
|
188
|
-
return tmp2_elvis_lhs == null ? StreamingJsonEncoder().
|
|
188
|
+
return tmp2_elvis_lhs == null ? StreamingJsonEncoder().i1m(this.p1k_1, this.q1k_1, newMode, this.s1k_1) : tmp2_elvis_lhs;
|
|
189
189
|
}
|
|
190
|
-
|
|
191
|
-
if (!(this.
|
|
192
|
-
this.
|
|
193
|
-
this.
|
|
194
|
-
this.
|
|
190
|
+
mx(descriptor) {
|
|
191
|
+
if (!(this.r1k_1.c1m_1 === _Char___init__impl__6a9atx(0))) {
|
|
192
|
+
this.p1k_1.e1i();
|
|
193
|
+
this.p1k_1.g1i();
|
|
194
|
+
this.p1k_1.i1i(this.r1k_1.c1m_1);
|
|
195
195
|
}
|
|
196
196
|
}
|
|
197
|
-
|
|
198
|
-
switch (this.
|
|
197
|
+
ey(descriptor, index) {
|
|
198
|
+
switch (this.r1k_1.x1_1) {
|
|
199
199
|
case 1:
|
|
200
|
-
if (!this.
|
|
201
|
-
this.
|
|
200
|
+
if (!this.p1k_1.c1i_1) {
|
|
201
|
+
this.p1k_1.i1i(_Char___init__impl__6a9atx(44));
|
|
202
202
|
}
|
|
203
203
|
|
|
204
|
-
this.
|
|
204
|
+
this.p1k_1.f1i();
|
|
205
205
|
break;
|
|
206
206
|
case 2:
|
|
207
|
-
if (!this.
|
|
207
|
+
if (!this.p1k_1.c1i_1) {
|
|
208
208
|
var tmp = this;
|
|
209
209
|
var tmp_0;
|
|
210
210
|
if ((index % 2 | 0) === 0) {
|
|
211
|
-
this.
|
|
212
|
-
this.
|
|
211
|
+
this.p1k_1.i1i(_Char___init__impl__6a9atx(44));
|
|
212
|
+
this.p1k_1.f1i();
|
|
213
213
|
tmp_0 = true;
|
|
214
214
|
} else {
|
|
215
|
-
this.
|
|
216
|
-
this.
|
|
215
|
+
this.p1k_1.i1i(_Char___init__impl__6a9atx(58));
|
|
216
|
+
this.p1k_1.h1i();
|
|
217
217
|
tmp_0 = false;
|
|
218
218
|
}
|
|
219
|
-
tmp.
|
|
219
|
+
tmp.v1k_1 = tmp_0;
|
|
220
220
|
} else {
|
|
221
|
-
this.
|
|
222
|
-
this.
|
|
221
|
+
this.v1k_1 = true;
|
|
222
|
+
this.p1k_1.f1i();
|
|
223
223
|
}
|
|
224
224
|
|
|
225
225
|
break;
|
|
226
226
|
case 3:
|
|
227
227
|
if (index === 0)
|
|
228
|
-
this.
|
|
228
|
+
this.v1k_1 = true;
|
|
229
229
|
if (index === 1) {
|
|
230
|
-
this.
|
|
231
|
-
this.
|
|
232
|
-
this.
|
|
230
|
+
this.p1k_1.i1i(_Char___init__impl__6a9atx(44));
|
|
231
|
+
this.p1k_1.h1i();
|
|
232
|
+
this.v1k_1 = false;
|
|
233
233
|
}
|
|
234
234
|
|
|
235
235
|
break;
|
|
236
236
|
default:
|
|
237
|
-
if (!this.
|
|
238
|
-
this.
|
|
237
|
+
if (!this.p1k_1.c1i_1) {
|
|
238
|
+
this.p1k_1.i1i(_Char___init__impl__6a9atx(44));
|
|
239
239
|
}
|
|
240
240
|
|
|
241
|
-
this.
|
|
242
|
-
this.
|
|
243
|
-
this.
|
|
244
|
-
this.
|
|
241
|
+
this.p1k_1.f1i();
|
|
242
|
+
this.py(getJsonElementName(descriptor, this.q1k_1, index));
|
|
243
|
+
this.p1k_1.i1i(_Char___init__impl__6a9atx(58));
|
|
244
|
+
this.p1k_1.h1i();
|
|
245
245
|
break;
|
|
246
246
|
}
|
|
247
247
|
return true;
|
|
248
248
|
}
|
|
249
|
-
|
|
249
|
+
ry(descriptor) {
|
|
250
250
|
var tmp;
|
|
251
251
|
if (get_isUnsignedNumber(descriptor)) {
|
|
252
252
|
// Inline function 'kotlinx.serialization.json.internal.StreamingJsonEncoder.composerAs' call
|
|
253
253
|
var tmp_0;
|
|
254
|
-
var tmp_1 = this.
|
|
254
|
+
var tmp_1 = this.p1k_1;
|
|
255
255
|
if (tmp_1 instanceof ComposerForUnsignedNumbers()) {
|
|
256
|
-
tmp_0 = this.
|
|
256
|
+
tmp_0 = this.p1k_1;
|
|
257
257
|
} else {
|
|
258
|
-
var tmp0 = this.
|
|
259
|
-
var p1 = this.
|
|
258
|
+
var tmp0 = this.p1k_1.b1i_1;
|
|
259
|
+
var p1 = this.v1k_1;
|
|
260
260
|
tmp_0 = new (ComposerForUnsignedNumbers())(tmp0, p1);
|
|
261
261
|
}
|
|
262
262
|
var tmp$ret$1 = tmp_0;
|
|
263
|
-
tmp = StreamingJsonEncoder().
|
|
263
|
+
tmp = StreamingJsonEncoder().i1m(tmp$ret$1, this.q1k_1, this.r1k_1, null);
|
|
264
264
|
} else if (get_isUnquotedLiteral(descriptor)) {
|
|
265
265
|
// Inline function 'kotlinx.serialization.json.internal.StreamingJsonEncoder.composerAs' call
|
|
266
266
|
var tmp_2;
|
|
267
|
-
var tmp_3 = this.
|
|
267
|
+
var tmp_3 = this.p1k_1;
|
|
268
268
|
if (tmp_3 instanceof ComposerForUnquotedLiterals()) {
|
|
269
|
-
tmp_2 = this.
|
|
269
|
+
tmp_2 = this.p1k_1;
|
|
270
270
|
} else {
|
|
271
|
-
var tmp0_0 = this.
|
|
272
|
-
var p1_0 = this.
|
|
271
|
+
var tmp0_0 = this.p1k_1.b1i_1;
|
|
272
|
+
var p1_0 = this.v1k_1;
|
|
273
273
|
tmp_2 = new (ComposerForUnquotedLiterals())(tmp0_0, p1_0);
|
|
274
274
|
}
|
|
275
275
|
var tmp$ret$3 = tmp_2;
|
|
276
|
-
tmp = StreamingJsonEncoder().
|
|
277
|
-
} else if (!(this.
|
|
276
|
+
tmp = StreamingJsonEncoder().i1m(tmp$ret$3, this.q1k_1, this.r1k_1, null);
|
|
277
|
+
} else if (!(this.w1k_1 == null)) {
|
|
278
278
|
// Inline function 'kotlin.apply' call
|
|
279
|
-
this.
|
|
279
|
+
this.x1k_1 = descriptor.zt();
|
|
280
280
|
tmp = this;
|
|
281
281
|
} else {
|
|
282
|
-
tmp = super.
|
|
282
|
+
tmp = super.ry(descriptor);
|
|
283
283
|
}
|
|
284
284
|
return tmp;
|
|
285
285
|
}
|
|
286
|
-
|
|
287
|
-
this.
|
|
286
|
+
gy() {
|
|
287
|
+
this.p1k_1.k1i('null');
|
|
288
288
|
}
|
|
289
|
-
|
|
290
|
-
if (this.
|
|
291
|
-
this.
|
|
289
|
+
hy(value) {
|
|
290
|
+
if (this.v1k_1) {
|
|
291
|
+
this.py(value.toString());
|
|
292
292
|
} else {
|
|
293
|
-
this.
|
|
293
|
+
this.p1k_1.t1i(value);
|
|
294
294
|
}
|
|
295
295
|
}
|
|
296
|
-
|
|
297
|
-
if (this.
|
|
298
|
-
this.
|
|
296
|
+
iy(value) {
|
|
297
|
+
if (this.v1k_1) {
|
|
298
|
+
this.py(value.toString());
|
|
299
299
|
} else {
|
|
300
|
-
this.
|
|
300
|
+
this.p1k_1.o1i(value);
|
|
301
301
|
}
|
|
302
302
|
}
|
|
303
|
-
|
|
304
|
-
if (this.
|
|
305
|
-
this.
|
|
303
|
+
jy(value) {
|
|
304
|
+
if (this.v1k_1) {
|
|
305
|
+
this.py(value.toString());
|
|
306
306
|
} else {
|
|
307
|
-
this.
|
|
307
|
+
this.p1k_1.q1i(value);
|
|
308
308
|
}
|
|
309
309
|
}
|
|
310
|
-
|
|
311
|
-
if (this.
|
|
312
|
-
this.
|
|
310
|
+
ky(value) {
|
|
311
|
+
if (this.v1k_1) {
|
|
312
|
+
this.py(value.toString());
|
|
313
313
|
} else {
|
|
314
|
-
this.
|
|
314
|
+
this.p1k_1.r1i(value);
|
|
315
315
|
}
|
|
316
316
|
}
|
|
317
|
-
|
|
318
|
-
if (this.
|
|
319
|
-
this.
|
|
317
|
+
ly(value) {
|
|
318
|
+
if (this.v1k_1) {
|
|
319
|
+
this.py(value.toString());
|
|
320
320
|
} else {
|
|
321
|
-
this.
|
|
321
|
+
this.p1k_1.s1i(value);
|
|
322
322
|
}
|
|
323
323
|
}
|
|
324
|
-
|
|
325
|
-
if (this.
|
|
326
|
-
this.
|
|
324
|
+
my(value) {
|
|
325
|
+
if (this.v1k_1) {
|
|
326
|
+
this.py(value.toString());
|
|
327
327
|
} else {
|
|
328
|
-
this.
|
|
328
|
+
this.p1k_1.m1i(value);
|
|
329
329
|
}
|
|
330
|
-
if (!this.
|
|
331
|
-
throw InvalidFloatingPointEncoded(value, toString_0(this.
|
|
330
|
+
if (!this.u1k_1.g1g_1 && !isFinite(value)) {
|
|
331
|
+
throw InvalidFloatingPointEncoded(value, toString_0(this.p1k_1.b1i_1));
|
|
332
332
|
}
|
|
333
333
|
}
|
|
334
|
-
|
|
335
|
-
if (this.
|
|
336
|
-
this.
|
|
334
|
+
ny(value) {
|
|
335
|
+
if (this.v1k_1) {
|
|
336
|
+
this.py(value.toString());
|
|
337
337
|
} else {
|
|
338
|
-
this.
|
|
338
|
+
this.p1k_1.n1i(value);
|
|
339
339
|
}
|
|
340
|
-
if (!this.
|
|
341
|
-
throw InvalidFloatingPointEncoded(value, toString_0(this.
|
|
340
|
+
if (!this.u1k_1.g1g_1 && !isFinite_0(value)) {
|
|
341
|
+
throw InvalidFloatingPointEncoded(value, toString_0(this.p1k_1.b1i_1));
|
|
342
342
|
}
|
|
343
343
|
}
|
|
344
|
-
|
|
345
|
-
this.
|
|
344
|
+
oy(value) {
|
|
345
|
+
this.py(toString(value));
|
|
346
346
|
}
|
|
347
|
-
|
|
348
|
-
return this.
|
|
347
|
+
py(value) {
|
|
348
|
+
return this.p1k_1.u1i(value);
|
|
349
349
|
}
|
|
350
|
-
|
|
351
|
-
this.
|
|
350
|
+
qy(enumDescriptor, index) {
|
|
351
|
+
this.py(enumDescriptor.wv(index));
|
|
352
352
|
}
|
|
353
353
|
}
|
|
354
354
|
initMetadataForClass($, 'StreamingJsonEncoder', VOID, VOID, [JsonEncoder(), AbstractEncoder()]);
|
|
@@ -358,17 +358,17 @@ function StreamingJsonEncoder() {
|
|
|
358
358
|
}
|
|
359
359
|
function get_isUnsignedNumber(_this__u8e3s4) {
|
|
360
360
|
_init_properties_StreamingJsonEncoder_kt__pn1bsi();
|
|
361
|
-
return _this__u8e3s4.
|
|
361
|
+
return _this__u8e3s4.tv() && get_unsignedNumberDescriptors().o3(_this__u8e3s4);
|
|
362
362
|
}
|
|
363
363
|
function get_isUnquotedLiteral(_this__u8e3s4) {
|
|
364
364
|
_init_properties_StreamingJsonEncoder_kt__pn1bsi();
|
|
365
|
-
return _this__u8e3s4.
|
|
365
|
+
return _this__u8e3s4.tv() && equals(_this__u8e3s4, get_jsonUnquotedLiteralDescriptor());
|
|
366
366
|
}
|
|
367
367
|
var properties_initialized_StreamingJsonEncoder_kt_6ifwwk;
|
|
368
368
|
function _init_properties_StreamingJsonEncoder_kt__pn1bsi() {
|
|
369
369
|
if (!properties_initialized_StreamingJsonEncoder_kt_6ifwwk) {
|
|
370
370
|
properties_initialized_StreamingJsonEncoder_kt_6ifwwk = true;
|
|
371
|
-
unsignedNumberDescriptors = setOf([serializer(Companion_getInstance()).
|
|
371
|
+
unsignedNumberDescriptors = setOf([serializer(Companion_getInstance()).ws(), serializer_0(Companion_getInstance_0()).ws(), serializer_1(Companion_getInstance_1()).ws(), serializer_2(Companion_getInstance_2()).ws()]);
|
|
372
372
|
}
|
|
373
373
|
}
|
|
374
374
|
//region block: exports
|
|
@@ -28,17 +28,17 @@ function StringJsonLexer() {
|
|
|
28
28
|
class $ extends AbstractJsonLexer() {
|
|
29
29
|
constructor(source) {
|
|
30
30
|
super();
|
|
31
|
-
this.
|
|
31
|
+
this.n1p_1 = source;
|
|
32
32
|
}
|
|
33
|
-
|
|
34
|
-
return this.
|
|
33
|
+
u1o() {
|
|
34
|
+
return this.n1p_1;
|
|
35
35
|
}
|
|
36
|
-
|
|
37
|
-
return position < this.
|
|
36
|
+
v1o(position) {
|
|
37
|
+
return position < this.u1o().length ? position : -1;
|
|
38
38
|
}
|
|
39
|
-
|
|
40
|
-
var source = this.
|
|
41
|
-
var cpos = this.
|
|
39
|
+
k1l() {
|
|
40
|
+
var source = this.u1o();
|
|
41
|
+
var cpos = this.y1e_1;
|
|
42
42
|
$l$loop: while (!(cpos === -1) && cpos < source.length) {
|
|
43
43
|
var _unary__edvuaz = cpos;
|
|
44
44
|
cpos = _unary__edvuaz + 1 | 0;
|
|
@@ -46,17 +46,17 @@ function StringJsonLexer() {
|
|
|
46
46
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonLexer.isWs' call
|
|
47
47
|
if (c === _Char___init__impl__6a9atx(32) || c === _Char___init__impl__6a9atx(10) || c === _Char___init__impl__6a9atx(13) || c === _Char___init__impl__6a9atx(9))
|
|
48
48
|
continue $l$loop;
|
|
49
|
-
this.
|
|
49
|
+
this.y1e_1 = cpos;
|
|
50
50
|
return charToTokenClass(c);
|
|
51
51
|
}
|
|
52
|
-
this.
|
|
52
|
+
this.y1e_1 = source.length;
|
|
53
53
|
return 10;
|
|
54
54
|
}
|
|
55
|
-
|
|
56
|
-
var current = this.
|
|
55
|
+
g1l() {
|
|
56
|
+
var current = this.y1e_1;
|
|
57
57
|
if (current === -1)
|
|
58
58
|
return false;
|
|
59
|
-
var source = this.
|
|
59
|
+
var source = this.u1o();
|
|
60
60
|
$l$loop: while (current < source.length) {
|
|
61
61
|
var c = charCodeAt(source, current);
|
|
62
62
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonLexer.isWs' call
|
|
@@ -64,17 +64,17 @@ function StringJsonLexer() {
|
|
|
64
64
|
current = current + 1 | 0;
|
|
65
65
|
continue $l$loop;
|
|
66
66
|
}
|
|
67
|
-
this.
|
|
68
|
-
return this.
|
|
67
|
+
this.y1e_1 = current;
|
|
68
|
+
return this.y1o(c);
|
|
69
69
|
}
|
|
70
|
-
this.
|
|
70
|
+
this.y1e_1 = current;
|
|
71
71
|
return false;
|
|
72
72
|
}
|
|
73
|
-
|
|
74
|
-
var current = this.
|
|
73
|
+
x1o() {
|
|
74
|
+
var current = this.y1e_1;
|
|
75
75
|
if (current === -1)
|
|
76
76
|
return current;
|
|
77
|
-
var source = this.
|
|
77
|
+
var source = this.u1o();
|
|
78
78
|
$l$loop: while (current < source.length) {
|
|
79
79
|
var c = charCodeAt(source, current);
|
|
80
80
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonLexer.isWs' call
|
|
@@ -84,15 +84,15 @@ function StringJsonLexer() {
|
|
|
84
84
|
break $l$loop;
|
|
85
85
|
}
|
|
86
86
|
}
|
|
87
|
-
this.
|
|
87
|
+
this.y1e_1 = current;
|
|
88
88
|
return current;
|
|
89
89
|
}
|
|
90
|
-
|
|
91
|
-
if (this.
|
|
92
|
-
this.
|
|
90
|
+
q1l(expected) {
|
|
91
|
+
if (this.y1e_1 === -1) {
|
|
92
|
+
this.z1o(expected);
|
|
93
93
|
}
|
|
94
|
-
var source = this.
|
|
95
|
-
var cpos = this.
|
|
94
|
+
var source = this.u1o();
|
|
95
|
+
var cpos = this.y1e_1;
|
|
96
96
|
$l$loop: while (cpos < source.length) {
|
|
97
97
|
var _unary__edvuaz = cpos;
|
|
98
98
|
cpos = _unary__edvuaz + 1 | 0;
|
|
@@ -100,55 +100,55 @@ function StringJsonLexer() {
|
|
|
100
100
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonLexer.isWs' call
|
|
101
101
|
if (c === _Char___init__impl__6a9atx(32) || c === _Char___init__impl__6a9atx(10) || c === _Char___init__impl__6a9atx(13) || c === _Char___init__impl__6a9atx(9))
|
|
102
102
|
continue $l$loop;
|
|
103
|
-
this.
|
|
103
|
+
this.y1e_1 = cpos;
|
|
104
104
|
if (c === expected)
|
|
105
105
|
return Unit_instance;
|
|
106
|
-
this.
|
|
106
|
+
this.z1o(expected);
|
|
107
107
|
}
|
|
108
|
-
this.
|
|
109
|
-
this.
|
|
108
|
+
this.y1e_1 = -1;
|
|
109
|
+
this.z1o(expected);
|
|
110
110
|
}
|
|
111
|
-
|
|
112
|
-
this.
|
|
113
|
-
var current = this.
|
|
114
|
-
var closingQuote = indexOf(this.
|
|
111
|
+
w1l() {
|
|
112
|
+
this.q1l(_Char___init__impl__6a9atx(34));
|
|
113
|
+
var current = this.y1e_1;
|
|
114
|
+
var closingQuote = indexOf(this.u1o(), _Char___init__impl__6a9atx(34), current);
|
|
115
115
|
if (closingQuote === -1) {
|
|
116
|
-
this.
|
|
116
|
+
this.i1l();
|
|
117
117
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonLexer.fail' call
|
|
118
118
|
var expected = tokenDescription(1);
|
|
119
|
-
var position = false ? this.
|
|
120
|
-
var s = this.
|
|
119
|
+
var position = false ? this.y1e_1 - 1 | 0 : this.y1e_1;
|
|
120
|
+
var s = this.y1e_1 === charSequenceLength(this.u1o()) || position < 0 ? 'EOF' : toString(charSequenceGet(this.u1o(), position));
|
|
121
121
|
var tmp$ret$0 = 'Expected ' + expected + ", but had '" + s + "' instead";
|
|
122
|
-
this.
|
|
122
|
+
this.r1j(tmp$ret$0, position);
|
|
123
123
|
}
|
|
124
124
|
var inductionVariable = current;
|
|
125
125
|
if (inductionVariable < closingQuote)
|
|
126
126
|
do {
|
|
127
127
|
var i = inductionVariable;
|
|
128
128
|
inductionVariable = inductionVariable + 1 | 0;
|
|
129
|
-
if (charCodeAt(this.
|
|
130
|
-
return this.consumeString2(this.
|
|
129
|
+
if (charCodeAt(this.u1o(), i) === _Char___init__impl__6a9atx(92)) {
|
|
130
|
+
return this.consumeString2(this.u1o(), this.y1e_1, i);
|
|
131
131
|
}
|
|
132
132
|
}
|
|
133
133
|
while (inductionVariable < closingQuote);
|
|
134
|
-
this.
|
|
135
|
-
return substring(this.
|
|
134
|
+
this.y1e_1 = closingQuote + 1 | 0;
|
|
135
|
+
return substring(this.u1o(), current, closingQuote);
|
|
136
136
|
}
|
|
137
|
-
|
|
138
|
-
var positionSnapshot = this.
|
|
137
|
+
y1l(keyToMatch, isLenient) {
|
|
138
|
+
var positionSnapshot = this.y1e_1;
|
|
139
139
|
try {
|
|
140
|
-
if (!(this.
|
|
140
|
+
if (!(this.k1l() === 6))
|
|
141
141
|
return null;
|
|
142
|
-
var firstKey = this.
|
|
142
|
+
var firstKey = this.t1l(isLenient);
|
|
143
143
|
if (!(firstKey === keyToMatch))
|
|
144
144
|
return null;
|
|
145
|
-
this.
|
|
146
|
-
if (!(this.
|
|
145
|
+
this.a1p();
|
|
146
|
+
if (!(this.k1l() === 5))
|
|
147
147
|
return null;
|
|
148
|
-
return this.
|
|
148
|
+
return this.t1l(isLenient);
|
|
149
149
|
}finally {
|
|
150
|
-
this.
|
|
151
|
-
this.
|
|
150
|
+
this.y1e_1 = positionSnapshot;
|
|
151
|
+
this.a1p();
|
|
152
152
|
}
|
|
153
153
|
}
|
|
154
154
|
}
|
|
@@ -158,7 +158,7 @@ function StringJsonLexer() {
|
|
|
158
158
|
return StringJsonLexerClass;
|
|
159
159
|
}
|
|
160
160
|
function StringJsonLexer_0(json, source) {
|
|
161
|
-
return !json.
|
|
161
|
+
return !json.l1e_1.l1g_1 ? new (StringJsonLexer())(source) : new (StringJsonLexerWithComments())(source);
|
|
162
162
|
}
|
|
163
163
|
//region block: exports
|
|
164
164
|
export {
|
|
@@ -55,14 +55,14 @@ function printQuoted(_this__u8e3s4, value) {
|
|
|
55
55
|
var this_0 = charCodeAt(value, i);
|
|
56
56
|
var c = Char__toInt_impl_vasixd(this_0);
|
|
57
57
|
if (c < get_ESCAPE_STRINGS().length && !(get_ESCAPE_STRINGS()[c] == null)) {
|
|
58
|
-
_this__u8e3s4.
|
|
58
|
+
_this__u8e3s4.pg(value, lastPos, i);
|
|
59
59
|
_this__u8e3s4.n1(get_ESCAPE_STRINGS()[c]);
|
|
60
60
|
lastPos = i + 1 | 0;
|
|
61
61
|
}
|
|
62
62
|
}
|
|
63
63
|
while (inductionVariable <= last);
|
|
64
64
|
if (!(lastPos === 0))
|
|
65
|
-
_this__u8e3s4.
|
|
65
|
+
_this__u8e3s4.pg(value, lastPos, value.length);
|
|
66
66
|
else
|
|
67
67
|
_this__u8e3s4.n1(value);
|
|
68
68
|
_this__u8e3s4.p1(_Char___init__impl__6a9atx(34));
|