@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
|
@@ -17,48 +17,48 @@ var StringJsonLexerWithCommentsClass;
|
|
|
17
17
|
function StringJsonLexerWithComments() {
|
|
18
18
|
if (StringJsonLexerWithCommentsClass === VOID) {
|
|
19
19
|
class $ extends StringJsonLexer() {
|
|
20
|
-
|
|
21
|
-
var source = this.
|
|
22
|
-
var cpos = this.
|
|
20
|
+
k1l() {
|
|
21
|
+
var source = this.u1o();
|
|
22
|
+
var cpos = this.x1o();
|
|
23
23
|
if (cpos >= source.length || cpos === -1)
|
|
24
24
|
return 10;
|
|
25
|
-
this.
|
|
25
|
+
this.y1e_1 = cpos + 1 | 0;
|
|
26
26
|
return charToTokenClass(charCodeAt(source, cpos));
|
|
27
27
|
}
|
|
28
|
-
|
|
29
|
-
var current = this.
|
|
30
|
-
if (current >= this.
|
|
28
|
+
g1l() {
|
|
29
|
+
var current = this.x1o();
|
|
30
|
+
if (current >= this.u1o().length || current === -1)
|
|
31
31
|
return false;
|
|
32
|
-
return this.
|
|
32
|
+
return this.y1o(charCodeAt(this.u1o(), current));
|
|
33
33
|
}
|
|
34
|
-
|
|
35
|
-
var source = this.
|
|
36
|
-
var current = this.
|
|
34
|
+
q1l(expected) {
|
|
35
|
+
var source = this.u1o();
|
|
36
|
+
var current = this.x1o();
|
|
37
37
|
if (current >= source.length || current === -1) {
|
|
38
|
-
this.
|
|
39
|
-
this.
|
|
38
|
+
this.y1e_1 = -1;
|
|
39
|
+
this.z1o(expected);
|
|
40
40
|
}
|
|
41
41
|
var c = charCodeAt(source, current);
|
|
42
|
-
this.
|
|
42
|
+
this.y1e_1 = current + 1 | 0;
|
|
43
43
|
if (c === expected)
|
|
44
44
|
return Unit_instance;
|
|
45
45
|
else {
|
|
46
|
-
this.
|
|
46
|
+
this.z1o(expected);
|
|
47
47
|
}
|
|
48
48
|
}
|
|
49
|
-
|
|
50
|
-
var source = this.
|
|
51
|
-
var cpos = this.
|
|
49
|
+
e1l() {
|
|
50
|
+
var source = this.u1o();
|
|
51
|
+
var cpos = this.x1o();
|
|
52
52
|
if (cpos >= source.length || cpos === -1)
|
|
53
53
|
return 10;
|
|
54
|
-
this.
|
|
54
|
+
this.y1e_1 = cpos;
|
|
55
55
|
return charToTokenClass(charCodeAt(source, cpos));
|
|
56
56
|
}
|
|
57
|
-
|
|
58
|
-
var current = this.
|
|
57
|
+
x1o() {
|
|
58
|
+
var current = this.y1e_1;
|
|
59
59
|
if (current === -1)
|
|
60
60
|
return current;
|
|
61
|
-
var source = this.
|
|
61
|
+
var source = this.u1o();
|
|
62
62
|
$l$loop_1: while (current < source.length) {
|
|
63
63
|
var c = charCodeAt(source, current);
|
|
64
64
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonLexer.isWs' call
|
|
@@ -79,8 +79,8 @@ function StringJsonLexerWithComments() {
|
|
|
79
79
|
} else if (tmp0_subject === _Char___init__impl__6a9atx(42)) {
|
|
80
80
|
current = indexOf(source, '*/', current + 2 | 0);
|
|
81
81
|
if (current === -1) {
|
|
82
|
-
this.
|
|
83
|
-
this.
|
|
82
|
+
this.y1e_1 = source.length;
|
|
83
|
+
this.r1j('Expected end of the block comment: "*/", but had EOF instead');
|
|
84
84
|
} else {
|
|
85
85
|
current = current + 2 | 0;
|
|
86
86
|
}
|
|
@@ -89,7 +89,7 @@ function StringJsonLexerWithComments() {
|
|
|
89
89
|
}
|
|
90
90
|
break $l$loop_1;
|
|
91
91
|
}
|
|
92
|
-
this.
|
|
92
|
+
this.y1e_1 = current;
|
|
93
93
|
return current;
|
|
94
94
|
}
|
|
95
95
|
}
|
|
@@ -28,53 +28,53 @@ function Composer() {
|
|
|
28
28
|
if (ComposerClass === VOID) {
|
|
29
29
|
class $ {
|
|
30
30
|
constructor(writer) {
|
|
31
|
-
this.
|
|
32
|
-
this.
|
|
31
|
+
this.b1i_1 = writer;
|
|
32
|
+
this.c1i_1 = true;
|
|
33
33
|
}
|
|
34
|
-
|
|
35
|
-
this.
|
|
34
|
+
d1i() {
|
|
35
|
+
this.c1i_1 = true;
|
|
36
36
|
}
|
|
37
|
-
|
|
37
|
+
e1i() {
|
|
38
38
|
return Unit_instance;
|
|
39
39
|
}
|
|
40
|
-
|
|
41
|
-
this.
|
|
40
|
+
f1i() {
|
|
41
|
+
this.c1i_1 = false;
|
|
42
42
|
}
|
|
43
|
-
|
|
44
|
-
this.
|
|
43
|
+
g1i() {
|
|
44
|
+
this.c1i_1 = false;
|
|
45
45
|
}
|
|
46
|
-
|
|
46
|
+
h1i() {
|
|
47
47
|
return Unit_instance;
|
|
48
48
|
}
|
|
49
|
-
|
|
50
|
-
return this.
|
|
49
|
+
i1i(v) {
|
|
50
|
+
return this.b1i_1.j1i(v);
|
|
51
51
|
}
|
|
52
|
-
|
|
53
|
-
return this.
|
|
52
|
+
k1i(v) {
|
|
53
|
+
return this.b1i_1.l1i(v);
|
|
54
54
|
}
|
|
55
|
-
|
|
56
|
-
return this.
|
|
55
|
+
m1i(v) {
|
|
56
|
+
return this.b1i_1.l1i(v.toString());
|
|
57
57
|
}
|
|
58
|
-
|
|
59
|
-
return this.
|
|
58
|
+
n1i(v) {
|
|
59
|
+
return this.b1i_1.l1i(v.toString());
|
|
60
60
|
}
|
|
61
|
-
|
|
62
|
-
return this.
|
|
61
|
+
o1i(v) {
|
|
62
|
+
return this.b1i_1.p1i(fromInt(v));
|
|
63
63
|
}
|
|
64
|
-
|
|
65
|
-
return this.
|
|
64
|
+
q1i(v) {
|
|
65
|
+
return this.b1i_1.p1i(fromInt(v));
|
|
66
66
|
}
|
|
67
|
-
|
|
68
|
-
return this.
|
|
67
|
+
r1i(v) {
|
|
68
|
+
return this.b1i_1.p1i(fromInt(v));
|
|
69
69
|
}
|
|
70
|
-
|
|
71
|
-
return this.
|
|
70
|
+
s1i(v) {
|
|
71
|
+
return this.b1i_1.p1i(v);
|
|
72
72
|
}
|
|
73
|
-
|
|
74
|
-
return this.
|
|
73
|
+
t1i(v) {
|
|
74
|
+
return this.b1i_1.l1i(v.toString());
|
|
75
75
|
}
|
|
76
|
-
|
|
77
|
-
return this.
|
|
76
|
+
u1i(value) {
|
|
77
|
+
return this.b1i_1.v1i(value);
|
|
78
78
|
}
|
|
79
79
|
}
|
|
80
80
|
initMetadataForClass($, 'Composer');
|
|
@@ -83,7 +83,7 @@ function Composer() {
|
|
|
83
83
|
return ComposerClass;
|
|
84
84
|
}
|
|
85
85
|
function Composer_0(sb, json) {
|
|
86
|
-
return json.
|
|
86
|
+
return json.l1e_1.a1g_1 ? new (ComposerWithPrettyPrint())(sb, json) : new (Composer())(sb);
|
|
87
87
|
}
|
|
88
88
|
var ComposerForUnsignedNumbersClass;
|
|
89
89
|
function ComposerForUnsignedNumbers() {
|
|
@@ -91,50 +91,50 @@ function ComposerForUnsignedNumbers() {
|
|
|
91
91
|
class $ extends Composer() {
|
|
92
92
|
constructor(writer, forceQuoting) {
|
|
93
93
|
super(writer);
|
|
94
|
-
this.
|
|
94
|
+
this.y1i_1 = forceQuoting;
|
|
95
95
|
}
|
|
96
|
-
|
|
97
|
-
if (this.
|
|
96
|
+
r1i(v) {
|
|
97
|
+
if (this.y1i_1) {
|
|
98
98
|
// Inline function 'kotlin.toUInt' call
|
|
99
99
|
var tmp$ret$0 = _UInt___init__impl__l7qpdl(v);
|
|
100
|
-
this.
|
|
100
|
+
this.u1i(UInt__toString_impl_dbgl21(tmp$ret$0));
|
|
101
101
|
} else {
|
|
102
102
|
// Inline function 'kotlin.toUInt' call
|
|
103
103
|
var tmp$ret$1 = _UInt___init__impl__l7qpdl(v);
|
|
104
|
-
this.
|
|
104
|
+
this.k1i(UInt__toString_impl_dbgl21(tmp$ret$1));
|
|
105
105
|
}
|
|
106
106
|
}
|
|
107
|
-
|
|
108
|
-
if (this.
|
|
107
|
+
s1i(v) {
|
|
108
|
+
if (this.y1i_1) {
|
|
109
109
|
// Inline function 'kotlin.toULong' call
|
|
110
110
|
var tmp$ret$0 = _ULong___init__impl__c78o9k(v);
|
|
111
|
-
this.
|
|
111
|
+
this.u1i(ULong__toString_impl_f9au7k(tmp$ret$0));
|
|
112
112
|
} else {
|
|
113
113
|
// Inline function 'kotlin.toULong' call
|
|
114
114
|
var tmp$ret$1 = _ULong___init__impl__c78o9k(v);
|
|
115
|
-
this.
|
|
115
|
+
this.k1i(ULong__toString_impl_f9au7k(tmp$ret$1));
|
|
116
116
|
}
|
|
117
117
|
}
|
|
118
|
-
|
|
119
|
-
if (this.
|
|
118
|
+
o1i(v) {
|
|
119
|
+
if (this.y1i_1) {
|
|
120
120
|
// Inline function 'kotlin.toUByte' call
|
|
121
121
|
var tmp$ret$0 = _UByte___init__impl__g9hnc4(v);
|
|
122
|
-
this.
|
|
122
|
+
this.u1i(UByte__toString_impl_v72jg(tmp$ret$0));
|
|
123
123
|
} else {
|
|
124
124
|
// Inline function 'kotlin.toUByte' call
|
|
125
125
|
var tmp$ret$1 = _UByte___init__impl__g9hnc4(v);
|
|
126
|
-
this.
|
|
126
|
+
this.k1i(UByte__toString_impl_v72jg(tmp$ret$1));
|
|
127
127
|
}
|
|
128
128
|
}
|
|
129
|
-
|
|
130
|
-
if (this.
|
|
129
|
+
q1i(v) {
|
|
130
|
+
if (this.y1i_1) {
|
|
131
131
|
// Inline function 'kotlin.toUShort' call
|
|
132
132
|
var tmp$ret$0 = _UShort___init__impl__jigrne(v);
|
|
133
|
-
this.
|
|
133
|
+
this.u1i(UShort__toString_impl_edaoee(tmp$ret$0));
|
|
134
134
|
} else {
|
|
135
135
|
// Inline function 'kotlin.toUShort' call
|
|
136
136
|
var tmp$ret$1 = _UShort___init__impl__jigrne(v);
|
|
137
|
-
this.
|
|
137
|
+
this.k1i(UShort__toString_impl_edaoee(tmp$ret$1));
|
|
138
138
|
}
|
|
139
139
|
}
|
|
140
140
|
}
|
|
@@ -149,13 +149,13 @@ function ComposerForUnquotedLiterals() {
|
|
|
149
149
|
class $ extends Composer() {
|
|
150
150
|
constructor(writer, forceQuoting) {
|
|
151
151
|
super(writer);
|
|
152
|
-
this.
|
|
152
|
+
this.b1j_1 = forceQuoting;
|
|
153
153
|
}
|
|
154
|
-
|
|
155
|
-
if (this.
|
|
156
|
-
super.e1j(value);
|
|
157
|
-
} else {
|
|
154
|
+
u1i(value) {
|
|
155
|
+
if (this.b1j_1) {
|
|
158
156
|
super.u1i(value);
|
|
157
|
+
} else {
|
|
158
|
+
super.k1i(value);
|
|
159
159
|
}
|
|
160
160
|
}
|
|
161
161
|
}
|
|
@@ -170,39 +170,39 @@ function ComposerWithPrettyPrint() {
|
|
|
170
170
|
class $ extends Composer() {
|
|
171
171
|
constructor(writer, json) {
|
|
172
172
|
super(writer);
|
|
173
|
-
this.
|
|
174
|
-
this.
|
|
173
|
+
this.e1j_1 = json;
|
|
174
|
+
this.f1j_1 = 0;
|
|
175
175
|
}
|
|
176
|
-
|
|
177
|
-
this.
|
|
178
|
-
this.
|
|
176
|
+
d1i() {
|
|
177
|
+
this.c1i_1 = true;
|
|
178
|
+
this.f1j_1 = this.f1j_1 + 1 | 0;
|
|
179
179
|
}
|
|
180
|
-
|
|
181
|
-
this.
|
|
180
|
+
e1i() {
|
|
181
|
+
this.f1j_1 = this.f1j_1 - 1 | 0;
|
|
182
182
|
}
|
|
183
|
-
|
|
184
|
-
this.
|
|
185
|
-
this.
|
|
183
|
+
f1i() {
|
|
184
|
+
this.c1i_1 = false;
|
|
185
|
+
this.k1i('\n');
|
|
186
186
|
// Inline function 'kotlin.repeat' call
|
|
187
|
-
var times = this.
|
|
187
|
+
var times = this.f1j_1;
|
|
188
188
|
var inductionVariable = 0;
|
|
189
189
|
if (inductionVariable < times)
|
|
190
190
|
do {
|
|
191
191
|
var index = inductionVariable;
|
|
192
192
|
inductionVariable = inductionVariable + 1 | 0;
|
|
193
|
-
this.
|
|
193
|
+
this.k1i(this.e1j_1.l1e_1.c1g_1);
|
|
194
194
|
}
|
|
195
195
|
while (inductionVariable < times);
|
|
196
196
|
}
|
|
197
|
-
|
|
198
|
-
if (this.
|
|
199
|
-
this.
|
|
197
|
+
g1i() {
|
|
198
|
+
if (this.c1i_1)
|
|
199
|
+
this.c1i_1 = false;
|
|
200
200
|
else {
|
|
201
|
-
this.
|
|
201
|
+
this.f1i();
|
|
202
202
|
}
|
|
203
203
|
}
|
|
204
|
-
|
|
205
|
-
this.
|
|
204
|
+
h1i() {
|
|
205
|
+
this.i1i(_Char___init__impl__6a9atx(32));
|
|
206
206
|
}
|
|
207
207
|
}
|
|
208
208
|
initMetadataForClass($, 'ComposerWithPrettyPrint');
|
|
@@ -7,8 +7,8 @@ import { VOID3gxj6tk5isa35 as VOID } from '../../../../../kotlin-kotlin-stdlib/k
|
|
|
7
7
|
//region block: pre-declaration
|
|
8
8
|
//endregion
|
|
9
9
|
function readIfAbsent($this, descriptor, index) {
|
|
10
|
-
$this.
|
|
11
|
-
return $this.
|
|
10
|
+
$this.h1j_1 = (!descriptor.aw(index) && descriptor.zv(index).lv());
|
|
11
|
+
return $this.h1j_1;
|
|
12
12
|
}
|
|
13
13
|
function JsonElementMarker$readIfAbsent$ref(p0) {
|
|
14
14
|
var l = (_this__u8e3s4, p0_0) => {
|
|
@@ -24,14 +24,14 @@ function JsonElementMarker() {
|
|
|
24
24
|
class $ {
|
|
25
25
|
constructor(descriptor) {
|
|
26
26
|
var tmp = this;
|
|
27
|
-
tmp.
|
|
28
|
-
this.
|
|
27
|
+
tmp.g1j_1 = new (ElementMarker())(descriptor, JsonElementMarker$readIfAbsent$ref(this));
|
|
28
|
+
this.h1j_1 = false;
|
|
29
29
|
}
|
|
30
|
-
|
|
31
|
-
this.
|
|
30
|
+
i1j(index) {
|
|
31
|
+
this.g1j_1.r13(index);
|
|
32
32
|
}
|
|
33
|
-
|
|
34
|
-
return this.
|
|
33
|
+
j1j() {
|
|
34
|
+
return this.g1j_1.s13();
|
|
35
35
|
}
|
|
36
36
|
}
|
|
37
37
|
initMetadataForClass($, 'JsonElementMarker');
|
|
@@ -21,9 +21,9 @@ var JsonDecodingExceptionClass;
|
|
|
21
21
|
function JsonDecodingException() {
|
|
22
22
|
if (JsonDecodingExceptionClass === VOID) {
|
|
23
23
|
class $ extends JsonException() {
|
|
24
|
-
static
|
|
25
|
-
var $this = this.
|
|
26
|
-
captureStack($this, $this.
|
|
24
|
+
static s1h(message) {
|
|
25
|
+
var $this = this.p1j(message);
|
|
26
|
+
captureStack($this, $this.r1h_1);
|
|
27
27
|
return $this;
|
|
28
28
|
}
|
|
29
29
|
}
|
|
@@ -39,9 +39,9 @@ var JsonExceptionClass;
|
|
|
39
39
|
function JsonException() {
|
|
40
40
|
if (JsonExceptionClass === VOID) {
|
|
41
41
|
class $ extends SerializationException() {
|
|
42
|
-
static
|
|
43
|
-
var $this = this.
|
|
44
|
-
captureStack($this, $this.
|
|
42
|
+
static p1j(message) {
|
|
43
|
+
var $this = this.ru(message);
|
|
44
|
+
captureStack($this, $this.o1j_1);
|
|
45
45
|
return $this;
|
|
46
46
|
}
|
|
47
47
|
}
|
|
@@ -51,7 +51,7 @@ function JsonException() {
|
|
|
51
51
|
return JsonExceptionClass;
|
|
52
52
|
}
|
|
53
53
|
function JsonDecodingException_1(offset, message) {
|
|
54
|
-
return JsonDecodingException().
|
|
54
|
+
return JsonDecodingException().s1h(offset >= 0 ? 'Unexpected JSON token at offset ' + offset + ': ' + message : message);
|
|
55
55
|
}
|
|
56
56
|
function minify(_this__u8e3s4, offset) {
|
|
57
57
|
offset = offset === VOID ? -1 : offset;
|
|
@@ -76,18 +76,18 @@ function minify(_this__u8e3s4, offset) {
|
|
|
76
76
|
}
|
|
77
77
|
function invalidTrailingComma(_this__u8e3s4, entity) {
|
|
78
78
|
entity = entity === VOID ? 'object' : entity;
|
|
79
|
-
_this__u8e3s4.
|
|
79
|
+
_this__u8e3s4.q1j('Trailing comma before the end of JSON ' + entity, _this__u8e3s4.y1e_1 - 1 | 0, "Trailing commas are non-complaint JSON and not allowed by default. Use 'allowTrailingComma = true' in 'Json {}' builder to support them.");
|
|
80
80
|
}
|
|
81
81
|
function throwInvalidFloatingPointDecoded(_this__u8e3s4, result) {
|
|
82
|
-
_this__u8e3s4.
|
|
82
|
+
_this__u8e3s4.r1j('Unexpected special floating-point value ' + toString(result) + '. By default, ' + 'non-finite floating point values are prohibited because they do not conform JSON specification', VOID, "It is possible to deserialize them using 'JsonBuilder.allowSpecialFloatingPointValues = true'");
|
|
83
83
|
}
|
|
84
84
|
var JsonEncodingExceptionClass;
|
|
85
85
|
function JsonEncodingException() {
|
|
86
86
|
if (JsonEncodingExceptionClass === VOID) {
|
|
87
87
|
class $ extends JsonException() {
|
|
88
|
-
static
|
|
89
|
-
var $this = this.
|
|
90
|
-
captureStack($this, $this.
|
|
88
|
+
static y1j(message) {
|
|
89
|
+
var $this = this.p1j(message);
|
|
90
|
+
captureStack($this, $this.x1j_1);
|
|
91
91
|
return $this;
|
|
92
92
|
}
|
|
93
93
|
}
|
|
@@ -97,13 +97,13 @@ function JsonEncodingException() {
|
|
|
97
97
|
return JsonEncodingExceptionClass;
|
|
98
98
|
}
|
|
99
99
|
function InvalidFloatingPointEncoded(value, output) {
|
|
100
|
-
return JsonEncodingException().
|
|
100
|
+
return JsonEncodingException().y1j('Unexpected special floating-point value ' + toString(value) + '. By default, ' + "non-finite floating point values are prohibited because they do not conform JSON specification. It is possible to deserialize them using 'JsonBuilder.allowSpecialFloatingPointValues = true'\n" + ('Current output: ' + toString(minify(output))));
|
|
101
101
|
}
|
|
102
102
|
function InvalidFloatingPointDecoded(value, key, output) {
|
|
103
103
|
return JsonDecodingException_1(-1, unexpectedFpErrorMessage(value, key, output));
|
|
104
104
|
}
|
|
105
105
|
function InvalidKeyKindException(keyDescriptor) {
|
|
106
|
-
return JsonEncodingException().
|
|
106
|
+
return JsonEncodingException().y1j("Value of type '" + keyDescriptor.zt() + "' can't be used in JSON as a key in the map. " + ("It should have either primitive or enum kind, but its kind is '" + keyDescriptor.sv().toString() + "'.\n") + "Use 'allowStructuredMapKeys = true' in 'Json {}' builder to convert such maps to [key1, value1, key2, value2,...] arrays.");
|
|
107
107
|
}
|
|
108
108
|
function unexpectedFpErrorMessage(value, key, output) {
|
|
109
109
|
return 'Unexpected special floating-point value ' + toString(value) + ' with key ' + key + '. By default, ' + "non-finite floating point values are prohibited because they do not conform JSON specification. It is possible to deserialize them using 'JsonBuilder.allowSpecialFloatingPointValues = true'\n" + ('Current output: ' + toString(minify(output)));
|
|
@@ -46,10 +46,10 @@ var JsonSerializationNamesKey;
|
|
|
46
46
|
function ignoreUnknownKeys(_this__u8e3s4, json) {
|
|
47
47
|
_init_properties_JsonNamesMap_kt__cbbp0k();
|
|
48
48
|
var tmp;
|
|
49
|
-
if (json.
|
|
49
|
+
if (json.l1e_1.x1f_1) {
|
|
50
50
|
tmp = true;
|
|
51
51
|
} else {
|
|
52
|
-
var tmp0 = _this__u8e3s4.
|
|
52
|
+
var tmp0 = _this__u8e3s4.vv();
|
|
53
53
|
var tmp$ret$0;
|
|
54
54
|
$l$block_0: {
|
|
55
55
|
// Inline function 'kotlin.collections.any' call
|
|
@@ -88,10 +88,10 @@ function getJsonNameIndex(_this__u8e3s4, json, name) {
|
|
|
88
88
|
var strategy = namingStrategy(_this__u8e3s4, json);
|
|
89
89
|
if (!(strategy == null))
|
|
90
90
|
return getJsonNameIndexSlowPath(_this__u8e3s4, json, name);
|
|
91
|
-
var index = _this__u8e3s4.
|
|
91
|
+
var index = _this__u8e3s4.xv(name);
|
|
92
92
|
if (!(index === -3))
|
|
93
93
|
return index;
|
|
94
|
-
if (!json.
|
|
94
|
+
if (!json.l1e_1.h1g_1)
|
|
95
95
|
return index;
|
|
96
96
|
return getJsonNameIndexSlowPath(_this__u8e3s4, json, name);
|
|
97
97
|
}
|
|
@@ -100,53 +100,53 @@ function getJsonNameIndexOrThrow(_this__u8e3s4, json, name, suffix) {
|
|
|
100
100
|
_init_properties_JsonNamesMap_kt__cbbp0k();
|
|
101
101
|
var index = getJsonNameIndex(_this__u8e3s4, json, name);
|
|
102
102
|
if (index === -3)
|
|
103
|
-
throw SerializationException().
|
|
103
|
+
throw SerializationException().ru(_this__u8e3s4.zt() + " does not contain element with name '" + name + "'" + suffix);
|
|
104
104
|
return index;
|
|
105
105
|
}
|
|
106
106
|
function getJsonElementName(_this__u8e3s4, json, index) {
|
|
107
107
|
_init_properties_JsonNamesMap_kt__cbbp0k();
|
|
108
108
|
var strategy = namingStrategy(_this__u8e3s4, json);
|
|
109
|
-
return strategy == null ? _this__u8e3s4.
|
|
109
|
+
return strategy == null ? _this__u8e3s4.wv(index) : serializationNamesIndices(_this__u8e3s4, json, strategy)[index];
|
|
110
110
|
}
|
|
111
111
|
function namingStrategy(_this__u8e3s4, json) {
|
|
112
112
|
_init_properties_JsonNamesMap_kt__cbbp0k();
|
|
113
|
-
return equals(_this__u8e3s4.
|
|
113
|
+
return equals(_this__u8e3s4.sv(), CLASS_getInstance()) ? json.l1e_1.i1g_1 : null;
|
|
114
114
|
}
|
|
115
115
|
function deserializationNamesMap(_this__u8e3s4, descriptor) {
|
|
116
116
|
_init_properties_JsonNamesMap_kt__cbbp0k();
|
|
117
117
|
var tmp = get_schemaCache(_this__u8e3s4);
|
|
118
118
|
var tmp_0 = get_JsonDeserializationNamesKey();
|
|
119
|
-
return tmp.
|
|
119
|
+
return tmp.a1k(descriptor, tmp_0, deserializationNamesMap$lambda(descriptor, _this__u8e3s4));
|
|
120
120
|
}
|
|
121
121
|
function decodeCaseInsensitive(_this__u8e3s4, descriptor) {
|
|
122
122
|
_init_properties_JsonNamesMap_kt__cbbp0k();
|
|
123
|
-
return _this__u8e3s4.
|
|
123
|
+
return _this__u8e3s4.l1e_1.j1g_1 && equals(descriptor.sv(), ENUM_getInstance());
|
|
124
124
|
}
|
|
125
125
|
function getJsonNameIndexSlowPath(_this__u8e3s4, json, name) {
|
|
126
126
|
_init_properties_JsonNamesMap_kt__cbbp0k();
|
|
127
|
-
var tmp0_elvis_lhs = deserializationNamesMap(json, _this__u8e3s4).
|
|
127
|
+
var tmp0_elvis_lhs = deserializationNamesMap(json, _this__u8e3s4).o4(name);
|
|
128
128
|
return tmp0_elvis_lhs == null ? -3 : tmp0_elvis_lhs;
|
|
129
129
|
}
|
|
130
130
|
function serializationNamesIndices(_this__u8e3s4, json, strategy) {
|
|
131
131
|
_init_properties_JsonNamesMap_kt__cbbp0k();
|
|
132
132
|
var tmp = get_schemaCache(json);
|
|
133
133
|
var tmp_0 = get_JsonSerializationNamesKey();
|
|
134
|
-
return tmp.
|
|
134
|
+
return tmp.a1k(_this__u8e3s4, tmp_0, serializationNamesIndices$lambda(_this__u8e3s4, strategy));
|
|
135
135
|
}
|
|
136
136
|
function buildDeserializationNamesMap(_this__u8e3s4, json) {
|
|
137
137
|
_init_properties_JsonNamesMap_kt__cbbp0k();
|
|
138
138
|
// Inline function 'kotlin.collections.mutableMapOf' call
|
|
139
|
-
var builder = LinkedHashMap().
|
|
139
|
+
var builder = LinkedHashMap().s5();
|
|
140
140
|
var useLowercaseEnums = decodeCaseInsensitive(json, _this__u8e3s4);
|
|
141
141
|
var strategyForClasses = namingStrategy(_this__u8e3s4, json);
|
|
142
142
|
var inductionVariable = 0;
|
|
143
|
-
var last = _this__u8e3s4.
|
|
143
|
+
var last = _this__u8e3s4.uv();
|
|
144
144
|
if (inductionVariable < last)
|
|
145
145
|
do {
|
|
146
146
|
var i = inductionVariable;
|
|
147
147
|
inductionVariable = inductionVariable + 1 | 0;
|
|
148
148
|
// Inline function 'kotlin.collections.filterIsInstance' call
|
|
149
|
-
var tmp0 = _this__u8e3s4.
|
|
149
|
+
var tmp0 = _this__u8e3s4.yv(i);
|
|
150
150
|
// Inline function 'kotlin.collections.filterIsInstanceTo' call
|
|
151
151
|
var destination = ArrayList().y2();
|
|
152
152
|
var _iterator__ex2g4s = tmp0.q1();
|
|
@@ -157,7 +157,7 @@ function buildDeserializationNamesMap(_this__u8e3s4, json) {
|
|
|
157
157
|
}
|
|
158
158
|
}
|
|
159
159
|
var tmp0_safe_receiver = singleOrNull(destination);
|
|
160
|
-
var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.
|
|
160
|
+
var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.b1k_1;
|
|
161
161
|
if (tmp1_safe_receiver == null)
|
|
162
162
|
null;
|
|
163
163
|
else {
|
|
@@ -182,9 +182,9 @@ function buildDeserializationNamesMap(_this__u8e3s4, json) {
|
|
|
182
182
|
if (useLowercaseEnums) {
|
|
183
183
|
// Inline function 'kotlin.text.lowercase' call
|
|
184
184
|
// Inline function 'kotlin.js.asDynamic' call
|
|
185
|
-
tmp_0 = _this__u8e3s4.
|
|
185
|
+
tmp_0 = _this__u8e3s4.wv(i).toLowerCase();
|
|
186
186
|
} else if (!(strategyForClasses == null)) {
|
|
187
|
-
tmp_0 = strategyForClasses.
|
|
187
|
+
tmp_0 = strategyForClasses.c1k(_this__u8e3s4, i, _this__u8e3s4.wv(i));
|
|
188
188
|
} else {
|
|
189
189
|
tmp_0 = null;
|
|
190
190
|
}
|
|
@@ -212,27 +212,27 @@ function deserializationNamesMap$lambda($descriptor, $this_deserializationNamesM
|
|
|
212
212
|
function serializationNamesIndices$lambda($this_serializationNamesIndices, $strategy) {
|
|
213
213
|
return () => {
|
|
214
214
|
var tmp = 0;
|
|
215
|
-
var tmp_0 = $this_serializationNamesIndices.
|
|
215
|
+
var tmp_0 = $this_serializationNamesIndices.uv();
|
|
216
216
|
// Inline function 'kotlin.arrayOfNulls' call
|
|
217
217
|
var tmp_1 = Array(tmp_0);
|
|
218
218
|
while (tmp < tmp_0) {
|
|
219
219
|
var tmp_2 = tmp;
|
|
220
|
-
var baseName = $this_serializationNamesIndices.
|
|
221
|
-
tmp_1[tmp_2] = $strategy.
|
|
220
|
+
var baseName = $this_serializationNamesIndices.wv(tmp_2);
|
|
221
|
+
tmp_1[tmp_2] = $strategy.c1k($this_serializationNamesIndices, tmp_2, baseName);
|
|
222
222
|
tmp = tmp + 1 | 0;
|
|
223
223
|
}
|
|
224
224
|
return tmp_1;
|
|
225
225
|
};
|
|
226
226
|
}
|
|
227
227
|
function buildDeserializationNamesMap$putOrThrow(_this__u8e3s4, $this_buildDeserializationNamesMap, name, index) {
|
|
228
|
-
var entity = equals($this_buildDeserializationNamesMap.
|
|
228
|
+
var entity = equals($this_buildDeserializationNamesMap.sv(), ENUM_getInstance()) ? 'enum value' : 'property';
|
|
229
229
|
// Inline function 'kotlin.collections.contains' call
|
|
230
230
|
// Inline function 'kotlin.collections.containsKey' call
|
|
231
|
-
if ((isInterface(_this__u8e3s4, KtMap()) ? _this__u8e3s4 : THROW_CCE()).
|
|
232
|
-
throw JsonException().
|
|
231
|
+
if ((isInterface(_this__u8e3s4, KtMap()) ? _this__u8e3s4 : THROW_CCE()).m4(name)) {
|
|
232
|
+
throw JsonException().p1j("The suggested name '" + name + "' for " + entity + ' ' + $this_buildDeserializationNamesMap.wv(index) + ' is already one of the names for ' + entity + ' ' + ($this_buildDeserializationNamesMap.wv(getValue(_this__u8e3s4, name)) + ' in ' + toString($this_buildDeserializationNamesMap)));
|
|
233
233
|
}
|
|
234
234
|
// Inline function 'kotlin.collections.set' call
|
|
235
|
-
_this__u8e3s4.
|
|
235
|
+
_this__u8e3s4.r4(name, index);
|
|
236
236
|
}
|
|
237
237
|
var properties_initialized_JsonNamesMap_kt_ljpf42;
|
|
238
238
|
function _init_properties_JsonNamesMap_kt__cbbp0k() {
|