@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
|
@@ -30,12 +30,12 @@ function EventLoop() {
|
|
|
30
30
|
class $ extends CoroutineDispatcher() {
|
|
31
31
|
constructor() {
|
|
32
32
|
super();
|
|
33
|
-
this.
|
|
34
|
-
this.
|
|
35
|
-
this.
|
|
33
|
+
this.a1x_1 = 0n;
|
|
34
|
+
this.b1x_1 = false;
|
|
35
|
+
this.c1x_1 = null;
|
|
36
36
|
}
|
|
37
|
-
|
|
38
|
-
var tmp0_elvis_lhs = this.
|
|
37
|
+
d1x() {
|
|
38
|
+
var tmp0_elvis_lhs = this.c1x_1;
|
|
39
39
|
var tmp;
|
|
40
40
|
if (tmp0_elvis_lhs == null) {
|
|
41
41
|
return false;
|
|
@@ -43,7 +43,7 @@ function EventLoop() {
|
|
|
43
43
|
tmp = tmp0_elvis_lhs;
|
|
44
44
|
}
|
|
45
45
|
var queue = tmp;
|
|
46
|
-
var tmp1_elvis_lhs = queue.
|
|
46
|
+
var tmp1_elvis_lhs = queue.hj();
|
|
47
47
|
var tmp_0;
|
|
48
48
|
if (tmp1_elvis_lhs == null) {
|
|
49
49
|
return false;
|
|
@@ -51,50 +51,50 @@ function EventLoop() {
|
|
|
51
51
|
tmp_0 = tmp1_elvis_lhs;
|
|
52
52
|
}
|
|
53
53
|
var task = tmp_0;
|
|
54
|
-
task.
|
|
54
|
+
task.l1v();
|
|
55
55
|
return true;
|
|
56
56
|
}
|
|
57
|
-
|
|
58
|
-
var tmp0_elvis_lhs = this.
|
|
57
|
+
e1x(task) {
|
|
58
|
+
var tmp0_elvis_lhs = this.c1x_1;
|
|
59
59
|
var tmp;
|
|
60
60
|
if (tmp0_elvis_lhs == null) {
|
|
61
61
|
// Inline function 'kotlin.also' call
|
|
62
|
-
var this_0 = ArrayDeque().
|
|
63
|
-
this.
|
|
62
|
+
var this_0 = ArrayDeque().dj();
|
|
63
|
+
this.c1x_1 = this_0;
|
|
64
64
|
tmp = this_0;
|
|
65
65
|
} else {
|
|
66
66
|
tmp = tmp0_elvis_lhs;
|
|
67
67
|
}
|
|
68
68
|
var queue = tmp;
|
|
69
|
-
queue.
|
|
69
|
+
queue.fj(task);
|
|
70
70
|
}
|
|
71
|
-
|
|
72
|
-
return this.
|
|
71
|
+
f1x() {
|
|
72
|
+
return this.a1x_1 >= delta(this, true);
|
|
73
73
|
}
|
|
74
|
-
|
|
75
|
-
var tmp0_safe_receiver = this.
|
|
74
|
+
g1x() {
|
|
75
|
+
var tmp0_safe_receiver = this.c1x_1;
|
|
76
76
|
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.o1();
|
|
77
77
|
return tmp1_elvis_lhs == null ? true : tmp1_elvis_lhs;
|
|
78
78
|
}
|
|
79
|
-
|
|
80
|
-
this.
|
|
79
|
+
h1x(unconfined) {
|
|
80
|
+
this.a1x_1 = add(this.a1x_1, delta(this, unconfined));
|
|
81
81
|
if (!unconfined)
|
|
82
|
-
this.
|
|
82
|
+
this.b1x_1 = true;
|
|
83
83
|
}
|
|
84
|
-
|
|
85
|
-
this.
|
|
86
|
-
if (this.
|
|
84
|
+
i1x(unconfined) {
|
|
85
|
+
this.a1x_1 = subtract(this.a1x_1, delta(this, unconfined));
|
|
86
|
+
if (this.a1x_1 > 0n)
|
|
87
87
|
return Unit_instance;
|
|
88
88
|
// Inline function 'kotlinx.coroutines.assert' call
|
|
89
|
-
if (this.
|
|
90
|
-
this.
|
|
89
|
+
if (this.b1x_1) {
|
|
90
|
+
this.j1x();
|
|
91
91
|
}
|
|
92
92
|
}
|
|
93
|
-
|
|
93
|
+
n1w(parallelism, name) {
|
|
94
94
|
checkParallelism(parallelism);
|
|
95
95
|
return namedOrThis(this, name);
|
|
96
96
|
}
|
|
97
|
-
|
|
97
|
+
j1x() {
|
|
98
98
|
}
|
|
99
99
|
}
|
|
100
100
|
initMetadataForClass($, 'EventLoop');
|
|
@@ -108,15 +108,15 @@ function ThreadLocalEventLoop() {
|
|
|
108
108
|
class $ {
|
|
109
109
|
constructor() {
|
|
110
110
|
ThreadLocalEventLoop_instance = this;
|
|
111
|
-
this.
|
|
111
|
+
this.k1x_1 = commonThreadLocal(new (Symbol())('ThreadLocalEventLoop'));
|
|
112
112
|
}
|
|
113
|
-
|
|
114
|
-
var tmp0_elvis_lhs = this.
|
|
113
|
+
l1x() {
|
|
114
|
+
var tmp0_elvis_lhs = this.k1x_1.n1x();
|
|
115
115
|
var tmp;
|
|
116
116
|
if (tmp0_elvis_lhs == null) {
|
|
117
117
|
// Inline function 'kotlin.also' call
|
|
118
118
|
var this_0 = createEventLoop();
|
|
119
|
-
ThreadLocalEventLoop_getInstance().
|
|
119
|
+
ThreadLocalEventLoop_getInstance().k1x_1.o1x(this_0);
|
|
120
120
|
tmp = this_0;
|
|
121
121
|
} else {
|
|
122
122
|
tmp = tmp0_elvis_lhs;
|
|
@@ -13,7 +13,7 @@ var UnconfinedEventLoopClass;
|
|
|
13
13
|
function UnconfinedEventLoop() {
|
|
14
14
|
if (UnconfinedEventLoopClass === VOID) {
|
|
15
15
|
class $ extends EventLoop() {
|
|
16
|
-
|
|
16
|
+
p1w(context, block) {
|
|
17
17
|
unsupported();
|
|
18
18
|
}
|
|
19
19
|
}
|
|
@@ -23,7 +23,7 @@ function UnconfinedEventLoop() {
|
|
|
23
23
|
return UnconfinedEventLoopClass;
|
|
24
24
|
}
|
|
25
25
|
function unsupported() {
|
|
26
|
-
throw UnsupportedOperationException().
|
|
26
|
+
throw UnsupportedOperationException().ma('runBlocking event loop is not supported');
|
|
27
27
|
}
|
|
28
28
|
//region block: exports
|
|
29
29
|
export {
|
|
@@ -13,9 +13,9 @@ var CompletionHandlerExceptionClass;
|
|
|
13
13
|
function CompletionHandlerException() {
|
|
14
14
|
if (CompletionHandlerExceptionClass === VOID) {
|
|
15
15
|
class $ extends RuntimeException() {
|
|
16
|
-
static
|
|
17
|
-
var $this = this.
|
|
18
|
-
captureStack($this, $this.
|
|
16
|
+
static d1u(message, cause) {
|
|
17
|
+
var $this = this.pd(message, cause);
|
|
18
|
+
captureStack($this, $this.c1u_1);
|
|
19
19
|
return $this;
|
|
20
20
|
}
|
|
21
21
|
}
|
|
@@ -28,9 +28,9 @@ var CoroutinesInternalErrorClass;
|
|
|
28
28
|
function CoroutinesInternalError() {
|
|
29
29
|
if (CoroutinesInternalErrorClass === VOID) {
|
|
30
30
|
class $ extends Error_0() {
|
|
31
|
-
static
|
|
32
|
-
var $this = this.
|
|
33
|
-
captureStack($this, $this.
|
|
31
|
+
static r1x(message, cause) {
|
|
32
|
+
var $this = this.fe(message, cause);
|
|
33
|
+
captureStack($this, $this.q1x_1);
|
|
34
34
|
return $this;
|
|
35
35
|
}
|
|
36
36
|
}
|
|
@@ -21,14 +21,14 @@ var JobCancellationExceptionClass;
|
|
|
21
21
|
function JobCancellationException() {
|
|
22
22
|
if (JobCancellationExceptionClass === VOID) {
|
|
23
23
|
class $ extends CancellationException() {
|
|
24
|
-
static
|
|
24
|
+
static f1y(message, cause, job) {
|
|
25
25
|
var $this = this.p(message, cause);
|
|
26
|
-
captureStack($this, $this.
|
|
27
|
-
$this.
|
|
26
|
+
captureStack($this, $this.e1y_1);
|
|
27
|
+
$this.d1y_1 = job;
|
|
28
28
|
return $this;
|
|
29
29
|
}
|
|
30
30
|
toString() {
|
|
31
|
-
return super.toString() + '; job=' + toString(this.
|
|
31
|
+
return super.toString() + '; job=' + toString(this.d1y_1);
|
|
32
32
|
}
|
|
33
33
|
equals(other) {
|
|
34
34
|
var tmp;
|
|
@@ -44,7 +44,7 @@ function JobCancellationException() {
|
|
|
44
44
|
tmp_2 = false;
|
|
45
45
|
}
|
|
46
46
|
if (tmp_2) {
|
|
47
|
-
tmp_1 = equals(other.
|
|
47
|
+
tmp_1 = equals(other.d1y_1, this.d1y_1);
|
|
48
48
|
} else {
|
|
49
49
|
tmp_1 = false;
|
|
50
50
|
}
|
|
@@ -58,7 +58,7 @@ function JobCancellationException() {
|
|
|
58
58
|
return tmp;
|
|
59
59
|
}
|
|
60
60
|
hashCode() {
|
|
61
|
-
var tmp = imul(imul(getStringHashCode(ensureNotNull(this.message)), 31) + hashCode(this.
|
|
61
|
+
var tmp = imul(imul(getStringHashCode(ensureNotNull(this.message)), 31) + hashCode(this.d1y_1) | 0, 31);
|
|
62
62
|
var tmp0_safe_receiver = this.cause;
|
|
63
63
|
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : hashCode(tmp0_safe_receiver);
|
|
64
64
|
return tmp + (tmp1_elvis_lhs == null ? 0 : tmp1_elvis_lhs) | 0;
|
|
@@ -34,8 +34,8 @@ function NodeDispatcher() {
|
|
|
34
34
|
super();
|
|
35
35
|
NodeDispatcher_instance = this;
|
|
36
36
|
}
|
|
37
|
-
|
|
38
|
-
process.nextTick(this.
|
|
37
|
+
y2e() {
|
|
38
|
+
process.nextTick(this.f2f_1.d2f_1);
|
|
39
39
|
}
|
|
40
40
|
}
|
|
41
41
|
initMetadataForObject($, 'NodeDispatcher', VOID, VOID, VOID, [1]);
|
|
@@ -51,7 +51,7 @@ function NodeDispatcher_getInstance() {
|
|
|
51
51
|
}
|
|
52
52
|
function ScheduledMessageQueue$processQueue$lambda(this$0) {
|
|
53
53
|
return () => {
|
|
54
|
-
this$0.
|
|
54
|
+
this$0.j2f();
|
|
55
55
|
return Unit_instance;
|
|
56
56
|
};
|
|
57
57
|
}
|
|
@@ -61,18 +61,18 @@ function ScheduledMessageQueue() {
|
|
|
61
61
|
class $ extends MessageQueue() {
|
|
62
62
|
constructor(dispatcher) {
|
|
63
63
|
super();
|
|
64
|
-
this.
|
|
64
|
+
this.c2f_1 = dispatcher;
|
|
65
65
|
var tmp = this;
|
|
66
|
-
tmp.
|
|
66
|
+
tmp.d2f_1 = ScheduledMessageQueue$processQueue$lambda(this);
|
|
67
67
|
}
|
|
68
|
-
|
|
69
|
-
this.
|
|
68
|
+
k2f() {
|
|
69
|
+
this.c2f_1.y2e();
|
|
70
70
|
}
|
|
71
|
-
|
|
72
|
-
setTimeout(this.
|
|
71
|
+
l2f() {
|
|
72
|
+
setTimeout(this.d2f_1, 0);
|
|
73
73
|
}
|
|
74
|
-
|
|
75
|
-
setTimeout(this.
|
|
74
|
+
m2f(timeout) {
|
|
75
|
+
setTimeout(this.d2f_1, timeout);
|
|
76
76
|
}
|
|
77
77
|
}
|
|
78
78
|
initMetadataForClass($, 'ScheduledMessageQueue');
|
|
@@ -86,9 +86,9 @@ function w3cSetTimeout(handler, timeout) {
|
|
|
86
86
|
function WindowMessageQueue$lambda(this$0) {
|
|
87
87
|
return (event) => {
|
|
88
88
|
var tmp;
|
|
89
|
-
if (event.source == this$0.
|
|
89
|
+
if (event.source == this$0.x2f_1 && event.data == this$0.y2f_1) {
|
|
90
90
|
event.stopPropagation();
|
|
91
|
-
this$0.
|
|
91
|
+
this$0.j2f();
|
|
92
92
|
tmp = Unit_instance;
|
|
93
93
|
}
|
|
94
94
|
return Unit_instance;
|
|
@@ -96,7 +96,7 @@ function WindowMessageQueue$lambda(this$0) {
|
|
|
96
96
|
}
|
|
97
97
|
function WindowMessageQueue$schedule$lambda(this$0) {
|
|
98
98
|
return (it) => {
|
|
99
|
-
this$0.
|
|
99
|
+
this$0.j2f();
|
|
100
100
|
return Unit_instance;
|
|
101
101
|
};
|
|
102
102
|
}
|
|
@@ -106,16 +106,16 @@ function WindowMessageQueue() {
|
|
|
106
106
|
class $ extends MessageQueue() {
|
|
107
107
|
constructor(window_0) {
|
|
108
108
|
super();
|
|
109
|
-
this.
|
|
110
|
-
this.
|
|
111
|
-
this.
|
|
109
|
+
this.x2f_1 = window_0;
|
|
110
|
+
this.y2f_1 = 'dispatchCoroutine';
|
|
111
|
+
this.x2f_1.addEventListener('message', WindowMessageQueue$lambda(this), true);
|
|
112
112
|
}
|
|
113
|
-
|
|
113
|
+
k2f() {
|
|
114
114
|
var tmp = Promise.resolve(Unit_instance);
|
|
115
115
|
tmp.then(WindowMessageQueue$schedule$lambda(this));
|
|
116
116
|
}
|
|
117
|
-
|
|
118
|
-
this.
|
|
117
|
+
l2f() {
|
|
118
|
+
this.x2f_1.postMessage(this.y2f_1, '*');
|
|
119
119
|
}
|
|
120
120
|
}
|
|
121
121
|
initMetadataForClass($, 'WindowMessageQueue');
|
|
@@ -144,8 +144,8 @@ function SetTimeoutDispatcher() {
|
|
|
144
144
|
super();
|
|
145
145
|
SetTimeoutDispatcher_instance = this;
|
|
146
146
|
}
|
|
147
|
-
|
|
148
|
-
this.
|
|
147
|
+
y2e() {
|
|
148
|
+
this.f2f_1.m2f(0);
|
|
149
149
|
}
|
|
150
150
|
}
|
|
151
151
|
initMetadataForObject($, 'SetTimeoutDispatcher', VOID, VOID, VOID, [1]);
|
|
@@ -162,7 +162,7 @@ function SetTimeoutDispatcher_getInstance() {
|
|
|
162
162
|
function SetTimeoutBasedDispatcher$scheduleResumeAfterDelay$lambda($continuation, this$0) {
|
|
163
163
|
return () => {
|
|
164
164
|
// Inline function 'kotlin.with' call
|
|
165
|
-
$continuation.
|
|
165
|
+
$continuation.x1s(this$0, Unit_instance);
|
|
166
166
|
return Unit_instance;
|
|
167
167
|
};
|
|
168
168
|
}
|
|
@@ -172,16 +172,16 @@ function SetTimeoutBasedDispatcher() {
|
|
|
172
172
|
class $ extends CoroutineDispatcher() {
|
|
173
173
|
constructor() {
|
|
174
174
|
super();
|
|
175
|
-
this.
|
|
175
|
+
this.f2f_1 = new (ScheduledMessageQueue())(this);
|
|
176
176
|
}
|
|
177
|
-
|
|
177
|
+
n1w(parallelism, name) {
|
|
178
178
|
checkParallelism(parallelism);
|
|
179
179
|
return namedOrThis(this, name);
|
|
180
180
|
}
|
|
181
|
-
|
|
182
|
-
this.
|
|
181
|
+
p1w(context, block) {
|
|
182
|
+
this.f2f_1.n2f(block);
|
|
183
183
|
}
|
|
184
|
-
|
|
184
|
+
y1w(timeMillis, continuation) {
|
|
185
185
|
var handle = w3cSetTimeout(SetTimeoutBasedDispatcher$scheduleResumeAfterDelay$lambda(continuation, this), delayToInt(timeMillis));
|
|
186
186
|
invokeOnCancellation(continuation, new (ClearTimeout())(handle));
|
|
187
187
|
}
|
|
@@ -196,21 +196,21 @@ function MessageQueue() {
|
|
|
196
196
|
if (MessageQueueClass === VOID) {
|
|
197
197
|
class $ {
|
|
198
198
|
constructor() {
|
|
199
|
-
this.
|
|
200
|
-
this.
|
|
201
|
-
this.
|
|
202
|
-
}
|
|
203
|
-
|
|
204
|
-
this.
|
|
205
|
-
if (!this.
|
|
206
|
-
this.
|
|
207
|
-
this.
|
|
199
|
+
this.g2f_1 = ArrayDeque().dj();
|
|
200
|
+
this.h2f_1 = 16;
|
|
201
|
+
this.i2f_1 = false;
|
|
202
|
+
}
|
|
203
|
+
n2f(element) {
|
|
204
|
+
this.o2f(element);
|
|
205
|
+
if (!this.i2f_1) {
|
|
206
|
+
this.i2f_1 = true;
|
|
207
|
+
this.k2f();
|
|
208
208
|
}
|
|
209
209
|
}
|
|
210
|
-
|
|
210
|
+
j2f() {
|
|
211
211
|
try {
|
|
212
212
|
// Inline function 'kotlin.repeat' call
|
|
213
|
-
var times = this.
|
|
213
|
+
var times = this.h2f_1;
|
|
214
214
|
var inductionVariable = 0;
|
|
215
215
|
if (inductionVariable < times)
|
|
216
216
|
do {
|
|
@@ -224,100 +224,78 @@ function MessageQueue() {
|
|
|
224
224
|
tmp = tmp0_elvis_lhs;
|
|
225
225
|
}
|
|
226
226
|
var element = tmp;
|
|
227
|
-
element.
|
|
227
|
+
element.l1v();
|
|
228
228
|
}
|
|
229
229
|
while (inductionVariable < times);
|
|
230
230
|
}finally {
|
|
231
231
|
if (this.o1()) {
|
|
232
|
-
this.
|
|
232
|
+
this.i2f_1 = false;
|
|
233
233
|
} else {
|
|
234
|
-
this.
|
|
234
|
+
this.l2f();
|
|
235
235
|
}
|
|
236
236
|
}
|
|
237
237
|
}
|
|
238
|
-
|
|
239
|
-
return this.
|
|
238
|
+
o2f(element) {
|
|
239
|
+
return this.g2f_1.h2(element);
|
|
240
240
|
}
|
|
241
241
|
h2(element) {
|
|
242
|
-
return this.
|
|
242
|
+
return this.o2f((!(element == null) ? isInterface(element, Runnable()) : false) ? element : THROW_CCE());
|
|
243
243
|
}
|
|
244
|
-
|
|
245
|
-
this.
|
|
244
|
+
p2f(index, element) {
|
|
245
|
+
this.g2f_1.x4(index, element);
|
|
246
246
|
}
|
|
247
|
-
|
|
248
|
-
return this.
|
|
247
|
+
x4(index, element) {
|
|
248
|
+
return this.p2f(index, (!(element == null) ? isInterface(element, Runnable()) : false) ? element : THROW_CCE());
|
|
249
249
|
}
|
|
250
|
-
|
|
251
|
-
return this.
|
|
250
|
+
q2f(elements) {
|
|
251
|
+
return this.g2f_1.a3(elements);
|
|
252
252
|
}
|
|
253
253
|
a3(elements) {
|
|
254
|
-
return this.
|
|
254
|
+
return this.q2f(elements);
|
|
255
255
|
}
|
|
256
|
-
|
|
257
|
-
this.
|
|
256
|
+
u4() {
|
|
257
|
+
this.g2f_1.u4();
|
|
258
258
|
}
|
|
259
|
-
|
|
260
|
-
return this.
|
|
259
|
+
r2f(index, element) {
|
|
260
|
+
return this.g2f_1.w4(index, element);
|
|
261
261
|
}
|
|
262
|
-
|
|
263
|
-
return this.
|
|
262
|
+
w4(index, element) {
|
|
263
|
+
return this.r2f(index, (!(element == null) ? isInterface(element, Runnable()) : false) ? element : THROW_CCE());
|
|
264
264
|
}
|
|
265
|
-
|
|
266
|
-
return this.
|
|
267
|
-
}
|
|
268
|
-
n4() {
|
|
269
|
-
return this.q2f_1.n4();
|
|
265
|
+
y4(index) {
|
|
266
|
+
return this.g2f_1.y4(index);
|
|
270
267
|
}
|
|
271
268
|
z2(index) {
|
|
272
|
-
return this.
|
|
269
|
+
return this.g2f_1.z2(index);
|
|
273
270
|
}
|
|
274
|
-
|
|
275
|
-
return this.
|
|
271
|
+
k4(fromIndex, toIndex) {
|
|
272
|
+
return this.g2f_1.k4(fromIndex, toIndex);
|
|
276
273
|
}
|
|
277
274
|
o1() {
|
|
278
|
-
return this.
|
|
275
|
+
return this.g2f_1.o1();
|
|
279
276
|
}
|
|
280
|
-
|
|
281
|
-
return this.
|
|
277
|
+
s2f(element) {
|
|
278
|
+
return this.g2f_1.o3(element);
|
|
282
279
|
}
|
|
283
280
|
o3(element) {
|
|
284
281
|
if (!(!(element == null) ? isInterface(element, Runnable()) : false))
|
|
285
282
|
return false;
|
|
286
|
-
return this.
|
|
283
|
+
return this.s2f((!(element == null) ? isInterface(element, Runnable()) : false) ? element : THROW_CCE());
|
|
287
284
|
}
|
|
288
285
|
q1() {
|
|
289
|
-
return this.
|
|
286
|
+
return this.g2f_1.q1();
|
|
290
287
|
}
|
|
291
|
-
|
|
292
|
-
return this.
|
|
288
|
+
t2f(elements) {
|
|
289
|
+
return this.g2f_1.j4(elements);
|
|
293
290
|
}
|
|
294
|
-
|
|
295
|
-
return this.
|
|
291
|
+
j4(elements) {
|
|
292
|
+
return this.t2f(elements);
|
|
296
293
|
}
|
|
297
294
|
v2(index) {
|
|
298
|
-
return this.
|
|
299
|
-
}
|
|
300
|
-
e2g(element) {
|
|
301
|
-
return this.q2f_1.l4(element);
|
|
302
|
-
}
|
|
303
|
-
l4(element) {
|
|
304
|
-
if (!(!(element == null) ? isInterface(element, Runnable()) : false))
|
|
305
|
-
return -1;
|
|
306
|
-
return this.e2g((!(element == null) ? isInterface(element, Runnable()) : false) ? element : THROW_CCE());
|
|
307
|
-
}
|
|
308
|
-
f2g(element) {
|
|
309
|
-
return this.q2f_1.m4(element);
|
|
310
|
-
}
|
|
311
|
-
m4(element) {
|
|
312
|
-
if (!(!(element == null) ? isInterface(element, Runnable()) : false))
|
|
313
|
-
return -1;
|
|
314
|
-
return this.f2g((!(element == null) ? isInterface(element, Runnable()) : false) ? element : THROW_CCE());
|
|
315
|
-
}
|
|
316
|
-
asJsReadonlyArrayView() {
|
|
317
|
-
return this.q2f_1.asJsReadonlyArrayView();
|
|
295
|
+
return this.g2f_1.v2(index);
|
|
318
296
|
}
|
|
319
297
|
u2() {
|
|
320
|
-
return this.
|
|
298
|
+
return this.g2f_1.aj_1;
|
|
321
299
|
}
|
|
322
300
|
}
|
|
323
301
|
initMetadataForClass($, 'MessageQueue', VOID, VOID, [KtMutableList()]);
|
|
@@ -332,11 +310,11 @@ function WindowClearTimeout() {
|
|
|
332
310
|
constructor($outer, handle, $box) {
|
|
333
311
|
if ($box === VOID)
|
|
334
312
|
$box = {};
|
|
335
|
-
$box.
|
|
313
|
+
$box.g2g_1 = $outer;
|
|
336
314
|
super(handle, $box);
|
|
337
315
|
}
|
|
338
|
-
|
|
339
|
-
w3cClearTimeout(this.
|
|
316
|
+
i1t() {
|
|
317
|
+
w3cClearTimeout(this.g2g_1.i2g_1, this.k2g_1);
|
|
340
318
|
}
|
|
341
319
|
}
|
|
342
320
|
initMetadataForClass($, 'WindowClearTimeout');
|
|
@@ -347,7 +325,7 @@ function WindowClearTimeout() {
|
|
|
347
325
|
function WindowDispatcher$scheduleResumeAfterDelay$lambda($continuation, this$0) {
|
|
348
326
|
return () => {
|
|
349
327
|
// Inline function 'kotlin.with' call
|
|
350
|
-
$continuation.
|
|
328
|
+
$continuation.x1s(this$0, Unit_instance);
|
|
351
329
|
return Unit_instance;
|
|
352
330
|
};
|
|
353
331
|
}
|
|
@@ -357,14 +335,14 @@ function WindowDispatcher() {
|
|
|
357
335
|
class $ extends CoroutineDispatcher() {
|
|
358
336
|
constructor(window_0) {
|
|
359
337
|
super();
|
|
360
|
-
this.
|
|
361
|
-
this.
|
|
338
|
+
this.i2g_1 = window_0;
|
|
339
|
+
this.j2g_1 = new (WindowMessageQueue())(this.i2g_1);
|
|
362
340
|
}
|
|
363
|
-
|
|
364
|
-
return this.
|
|
341
|
+
p1w(context, block) {
|
|
342
|
+
return this.j2g_1.n2f(block);
|
|
365
343
|
}
|
|
366
|
-
|
|
367
|
-
var handle = w3cSetTimeout_0(this.
|
|
344
|
+
y1w(timeMillis, continuation) {
|
|
345
|
+
var handle = w3cSetTimeout_0(this.i2g_1, WindowDispatcher$scheduleResumeAfterDelay$lambda(continuation, this), delayToInt(timeMillis));
|
|
368
346
|
invokeOnCancellation(continuation, new (WindowClearTimeout())(this, handle));
|
|
369
347
|
}
|
|
370
348
|
}
|
|
@@ -382,16 +360,16 @@ function ClearTimeout() {
|
|
|
382
360
|
class $ {
|
|
383
361
|
constructor(handle, $box) {
|
|
384
362
|
boxApply(this, $box);
|
|
385
|
-
this.
|
|
363
|
+
this.k2g_1 = handle;
|
|
386
364
|
}
|
|
387
|
-
|
|
388
|
-
w3cClearTimeout_0(this.
|
|
365
|
+
i1t() {
|
|
366
|
+
w3cClearTimeout_0(this.k2g_1);
|
|
389
367
|
}
|
|
390
|
-
|
|
391
|
-
this.
|
|
368
|
+
h1t(cause) {
|
|
369
|
+
this.i1t();
|
|
392
370
|
}
|
|
393
371
|
toString() {
|
|
394
|
-
return 'ClearTimeout[' + this.
|
|
372
|
+
return 'ClearTimeout[' + this.k2g_1 + ']';
|
|
395
373
|
}
|
|
396
374
|
}
|
|
397
375
|
initMetadataForClass($, 'ClearTimeout', VOID, VOID, [CancelHandler()]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../../../../../../../mnt/agent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/js/src/JSDispatcher.kt","../../../../../../../../../../mnt/agent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/jsAndWasmJsShared/src/internal/JSDispatcher.kt","../../../../../commons-test/build/compileSync/js/main/productionLibrary/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/src/kotlin/util/Standard.kt"],"sourcesContent":[null,null,null],"ignoreList":[],"x_google_ignoreList":[],"names":["scheduleQueueProcessing","ScheduledMessageQueue$processQueue$lambda","ScheduledMessageQueue$processQueue$lambda$lambda","dispatcher","schedule","reschedule","setTimeout","timeout","w3cSetTimeout","handler","WindowMessageQueue$lambda","WindowMessageQueue$lambda$lambda","WindowMessageQueue$schedule$lambda","WindowMessageQueue$schedule$lambda$lambda","window","w3cClearTimeout","handle","SetTimeoutBasedDispatcher$scheduleResumeAfterDelay$lambda","$continuation","SetTimeoutBasedDispatcher$scheduleResumeAfterDelay$lambda$lambda","limitedParallelism","parallelism","name","dispatch","context","block","scheduleResumeAfterDelay","timeMillis","continuation","enqueue","element","process","index","add","addAll","elements","clear","set","removeAt","listIterator","subList","fromIndex","toIndex","isEmpty","contains","iterator","containsAll","get","
|
|
1
|
+
{"version":3,"sources":["../../../../../../../../../../mnt/agent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/js/src/JSDispatcher.kt","../../../../../../../../../../mnt/agent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/jsAndWasmJsShared/src/internal/JSDispatcher.kt","../../../../../commons-test/build/compileSync/js/main/productionLibrary/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/src/kotlin/util/Standard.kt"],"sourcesContent":[null,null,null],"ignoreList":[],"x_google_ignoreList":[],"names":["scheduleQueueProcessing","ScheduledMessageQueue$processQueue$lambda","ScheduledMessageQueue$processQueue$lambda$lambda","dispatcher","schedule","reschedule","setTimeout","timeout","w3cSetTimeout","handler","WindowMessageQueue$lambda","WindowMessageQueue$lambda$lambda","WindowMessageQueue$schedule$lambda","WindowMessageQueue$schedule$lambda$lambda","window","w3cClearTimeout","handle","SetTimeoutBasedDispatcher$scheduleResumeAfterDelay$lambda","$continuation","SetTimeoutBasedDispatcher$scheduleResumeAfterDelay$lambda$lambda","limitedParallelism","parallelism","name","dispatch","context","block","scheduleResumeAfterDelay","timeMillis","continuation","enqueue","element","process","index","add","addAll","elements","clear","set","removeAt","listIterator","subList","fromIndex","toIndex","isEmpty","contains","iterator","containsAll","get","<get-size>","dispose","WindowDispatcher$scheduleResumeAfterDelay$lambda","WindowDispatcher$scheduleResumeAfterDelay$lambda$lambda","delayToInt","invoke","cause","toString"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;SAoCIA,CAAAA,EAAuC;A,QACnC,OAAQ,UAAS,IAAT,CAAS,KAAT,CAAsB,KAAtB,C;MACZ,C;;;;;;;;;;;;;kDAlBqCC,CADzC,MACyCA,E;SAAAC,CAAAA,KAAA;A,IAAE,Y;IAAU,oB;EAAA,C;C;;;;;kBADUC,U;;QAAA,uB;kBACtB,I;QAAA,2D;;SAErCC,CAAAA,EAA+B;A,QAC3B,IAAW,CAAX,KAAW,M;MACf,C;SAEAC,CAAAA,EAAiC;A,QAC7B,WAAW,IAAX,CAAW,KAAX,EAAyB,CAAzB,C;MACJ,C;SAEAC,CAA+BC,OAA/BD,EAA6C;A,QACzC,WAAW,IAAX,CAAW,KAAX,EAAyB,OAAzB,C;MACJ,C;;;;;;;sBAtBJE,CAAkCC,O,EAAqBF,OAAvDC,EACI;A,EAA4B,OAA5B,WAAW,OAAX,EAAoB,OAApB,C;AAA2B,C;kCAkCYE,CAJ3C,MAI2CA,E;SAAAC,CAAE,KAAFA,KAAA;A;IAC3B,UAAM,MAAN,IAAgB,MAAhB,CAAgB,KAAhB,IAA0B,MAAM,IAAN,IAAc,MAAd,CAAc,KAAxC,C;MACA,KAAM,kB;MACN,Y;;;IAER,oB;EAAA,C;C;2CAI2BC,CAD/B,MAC+BA,E;SAAAC,CAAA,EAAAA,KAAA;A,IAAE,Y;IAAU,oB;EAAA,C;C;;;;;kBAbaC,Q;;QAAA,qB;QAC9B,gC;QAGtB,IAAO,CAAP,KAAO,kBAAiB,SAAjB,EAA4B,+BAA5B,EAKJ,IALI,C;;SAQXV,CAAAA,EAA+B;A,kBAC3B,OAAQ,uB;QAAc,SAAK,wCAAL,C;MAC1B,C;SAEAC,CAAAA,EAAiC;A,QAC7B,IAAO,CAAP,KAAO,aAAY,IAAZ,CAAY,KAAZ,EAAyB,GAAzB,C;MACX,C;;;;;;;wBApDJG,CAAkCM,Q,EAAmBL,O,EAAqBF,OAA1EC,EACI;A,EAAoC,OAApC,aAAW,QAAX,EAAmB,OAAnB,EAA4B,OAA5B,C;AAAmC,C;wBAKvCO,CAAoCD,Q,EAAmBE,MAAvDD,EACI;A,EAA2B,OAA3B,QAAO,cAAa,MAAb,C;AAAmB,C;0BAE9BA,CAAoCC,MAApCD,EACI;A,EAAoB,OAApB,aAAa,MAAb,C;AAAmB,C;qBAmDvBT,CAAuBQ,Q,EAAgBL,O,EAAqBF,OAA5DD,EACI;A,EAAmC,OAAnC,QAAO,YAAW,OAAX,EAAoB,OAApB,C;AAA2B,C;;;;;;;;;;SCMlCN,CAAAA,EAAuC;A,QACnC,IAAa,CAAb,KAAa,KAAW,CAAX,C;MACjB,C;;;;;;;;;;;;;kEA9B+BiB,CADyBC,a,EAAxD,MAC+BD,E;SAAAE,CAAAA,KAAA;A;IAAO,aAAgB,2B;IAA2B,oB;EAAA,C;C;;;;;;;QAnBrD,2CAAsB,IAAtB,C;;SAI5BC,CAAgCC,W,EAAkBC,IAAlDF,EAAsF;A,QACtE,iBAAZ,WAAY,C;QACZ,OAAO,kBAAY,IAAZ,C;MACX,C;SAEAG,CAAsBC,O,EAA2BC,KAAjDF,EAAkE;A,QAC9D,IAAa,CAAb,KAAa,KAAQ,KAAR,C;MACjB,C;SAOAG,CAAsCC,U,EAAkBC,YAAxDF,EAAqG;A,YACjGV,SAAa,cAAc,6EAAd,EAAmE,WAAW,UAAX,CAAnE,C;QACA,qBAAb,YAAa,uBAA4C,MAA5C,E;MACjB,C;;;;;;;;;;;;QAwD4D,8B;QAC3C,e;QACO,kB;;SAMxBa,CAAYC,OAAZD,EAA+B;A,QAC3B,SAAI,OAAJ,C;QACI,KAAC,IAAD,CAAC,KAAD,C,CAAY;A,UACZ,aAAY,I;UACZ,U;QACJ,C;MACJ,C;SAEAE,CAAAA,EAAc;A,QACV,IAAI;A;sBAEO,I,CAAA,K;cCqCD,qB;UAAd,wBAAsB,KAAtB,C;eAAA;A,kBAAKC,QAAS,iB;cAAA,6C;kBDpCY,wC;;cAAA,2B;gBAAuB,oB;;sBAAvB,c;;kBAAdF,a;cACA,OAAQ,M;;YCmCpB,4BAAsB,KAAtB,C;QDjCI,C,QAAU;A,UACF,c,CAAW;A,YACX,aAAY,K;UAChB,C,MAAO;A,YACH,U;UACJ,C;QACJ,C;MACJ,C;SAvIJG,CAyGAH,OAzGAG,EAAA;A,QAAA,6B;MAAA,C;SAyI27CH,O;;;SAzI37CG,CAyGAD,K,EAAAF,OAzGAG,EAAA;A,QAAA,6B;MAAA,C;SAyIq5YD,K,EAAYF,O;;;SAzIj6YI,CAyGAC,QAzGAD,EAAA;A,QAAA,8B;MAAA,C;SAyIg2EC,Q;;;QAzIh2EC,CAAAA,EAAA;A,QAAA,e;MAAA,C;SAAAC,CAyGAL,K,EAAAF,OAzGAO,EAAA;A,QAAA,oC;MAAA,C;SAyI65XL,K,EAAYF,O;;;QAzIz6XQ,CAyGAN,KAzGAM,EAAA;A,QAAA,2B;MAAA,C;QAAAC,CAyGAP,KAzGAO,EAAA;A,QAAA,2B;MAAA,C;QAAAC,CAyGAC,S,EAAAC,OAzGAF,EAAA;A,QAAA,wC;MAAA,C;QAAAG,CAAAA,EAAA;A,QAAA,sB;MAAA,C;SAAAC,CAyGAd,OAzGAc,EAAA;A,QAAA,6B;MAAA,C;SAuGyDd,O;;;;;QAvGzDe,CAAAA,EAAA;A,QAAA,sB;MAAA,C;SAAAC,CAyGAX,QAzGAW,EAAA;A,QAAA,8B;MAAA,C;SAiHqBX,Q;;;QAjHrBY,CAyGAf,KAzGAe,EAAA;A,QAAA,2B;MAAA,C;QAAAC,CAAAA,EAAA;A,QAAA,sB;MAAA,C;;;;;;;;;;;0BAmE2ChC,M;;;QAAD,mB;cAA6B,M;;SAC/DiC,CAAAA,EAAuB;A,QACnB,gBAAgB,IAAhB,CAAgB,KAAhB,CAAgB,KAAhB,EAAwB,IAAxB,CAAwB,KAAxB,C;MACJ,C;;;;;;;yDAZmCC,CADiBhC,a,EAAxD,MACuCgC,E;SAAAC,CAAAA,KAAA;A;IAAO,aAAgB,2B;IAA2B,oB;EAAA,C;C;;;;;kBAN7DrC,Q;;QAAA,qB;QACR,wCAAmB,IAAnB,CAAmB,KAAnB,C;;SAEpBS,CAAsBC,O,EAA2BC,KAAjDF,EAAoE;A,QAAoB,OAApB,IAAM,CAAN,KAAM,KAAQ,KAAR,C;MAAa,C;SAEvFG,CAAsCC,U,EAAkBC,YAAxDF,EAAqG;A,YACjGV,SAAa,gBAAc,IAAd,CAAc,KAAd,EAAsB,oEAAtB,EAA2E,WAAW,UAAX,CAA3E,C;QACA,qBAAb,YAAa,6BAA+B,IAA/B,EAAkD,MAAlD,E;MACjB,C;;;;;;;mBApCJoC,CAAuBzB,UAAvByB,EACI;A,EAAyC,OAAP,aAAvB,SAAX,UAAW,EAAS,EAAT,EAAY,WAAZ,CAAuB,C;AAAM,C;;;;;kBAuDZpC,M;;QAAA,mB;;SAC5BiC,CAAAA,EAAuB;A,QACnB,kBAAgB,IAAhB,CAAgB,KAAhB,C;MACJ,C;SAEAI,CAAoBC,KAApBD,EAAuC;A,QACnC,U;MACJ,C;cAEAE,CAAAA,EAAkC;A,QAAuB,OAAtB,eAAsB,GAAR,IAAQ,CAAR,KAAQ,GAAF,G;MAAC,C;;;;;;;;;;;"}
|