@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
|
@@ -38,7 +38,7 @@ function DurationUnit() {
|
|
|
38
38
|
class $ extends Enum() {
|
|
39
39
|
constructor(name, ordinal, scale) {
|
|
40
40
|
super(name, ordinal);
|
|
41
|
-
this.
|
|
41
|
+
this.yh_1 = scale;
|
|
42
42
|
}
|
|
43
43
|
}
|
|
44
44
|
initMetadataForClass($, 'DurationUnit');
|
|
@@ -47,22 +47,22 @@ function DurationUnit() {
|
|
|
47
47
|
return DurationUnitClass;
|
|
48
48
|
}
|
|
49
49
|
function convertDurationUnit(value, sourceUnit, targetUnit) {
|
|
50
|
-
var sourceCompareTarget = compareTo(sourceUnit.
|
|
50
|
+
var sourceCompareTarget = compareTo(sourceUnit.yh_1, targetUnit.yh_1);
|
|
51
51
|
var tmp;
|
|
52
52
|
if (sourceCompareTarget > 0) {
|
|
53
|
-
var scale = numberToLong(sourceUnit.
|
|
53
|
+
var scale = numberToLong(sourceUnit.yh_1 / targetUnit.yh_1);
|
|
54
54
|
var result = multiply(value, scale);
|
|
55
55
|
tmp = divide(result, scale) === value ? result : value > 0n ? 9223372036854775807n : -9223372036854775808n;
|
|
56
56
|
} else if (sourceCompareTarget < 0) {
|
|
57
|
-
tmp = divide(value, numberToLong(targetUnit.
|
|
57
|
+
tmp = divide(value, numberToLong(targetUnit.yh_1 / sourceUnit.yh_1));
|
|
58
58
|
} else {
|
|
59
59
|
tmp = value;
|
|
60
60
|
}
|
|
61
61
|
return tmp;
|
|
62
62
|
}
|
|
63
63
|
function convertDurationUnitOverflow(value, sourceUnit, targetUnit) {
|
|
64
|
-
var sourceCompareTarget = compareTo(sourceUnit.
|
|
65
|
-
return sourceCompareTarget > 0 ? multiply(value, numberToLong(sourceUnit.
|
|
64
|
+
var sourceCompareTarget = compareTo(sourceUnit.yh_1, targetUnit.yh_1);
|
|
65
|
+
return sourceCompareTarget > 0 ? multiply(value, numberToLong(sourceUnit.yh_1 / targetUnit.yh_1)) : sourceCompareTarget < 0 ? divide(value, numberToLong(targetUnit.yh_1 / sourceUnit.yh_1)) : value;
|
|
66
66
|
}
|
|
67
67
|
function DurationUnit_NANOSECONDS_getInstance() {
|
|
68
68
|
DurationUnit_initEntries();
|
|
@@ -87,10 +87,10 @@ function Companion() {
|
|
|
87
87
|
class $ {
|
|
88
88
|
constructor() {
|
|
89
89
|
Companion_instance = this;
|
|
90
|
-
this.
|
|
91
|
-
this.
|
|
90
|
+
this.zh_1 = new (Instant())(-31557014167219200n, 0);
|
|
91
|
+
this.ai_1 = new (Instant())(31556889864403199n, 999999999);
|
|
92
92
|
}
|
|
93
|
-
|
|
93
|
+
bi(epochMilliseconds) {
|
|
94
94
|
// Inline function 'kotlin.floorDiv' call
|
|
95
95
|
var q = divide(epochMilliseconds, 1000n);
|
|
96
96
|
if ((epochMilliseconds ^ 1000n) < 0n && !(multiply(q, 1000n) === epochMilliseconds)) {
|
|
@@ -104,9 +104,9 @@ function Companion() {
|
|
|
104
104
|
var this_0 = add(r, 1000n & shiftRight((r ^ 1000n) & (r | negate(r)), 63));
|
|
105
105
|
var tmp$ret$2 = multiply(this_0, fromInt(1000000));
|
|
106
106
|
var nanosecondsOfSecond = convertToInt(tmp$ret$2);
|
|
107
|
-
return epochSeconds < -31557014167219200n ? this.
|
|
107
|
+
return epochSeconds < -31557014167219200n ? this.zh_1 : epochSeconds > 31556889864403199n ? this.ai_1 : this.dp(epochSeconds, nanosecondsOfSecond);
|
|
108
108
|
}
|
|
109
|
-
|
|
109
|
+
ep(epochSeconds, nanosecondAdjustment) {
|
|
110
110
|
// Inline function 'kotlin.floorDiv' call
|
|
111
111
|
var other = 1000000000n;
|
|
112
112
|
var q = divide(nanosecondAdjustment, other);
|
|
@@ -118,14 +118,14 @@ function Companion() {
|
|
|
118
118
|
var b = q;
|
|
119
119
|
var sum = add(epochSeconds, b);
|
|
120
120
|
if ((epochSeconds ^ sum) < 0n && (epochSeconds ^ b) >= 0n) {
|
|
121
|
-
return epochSeconds > 0n ? Companion_getInstance_0().
|
|
121
|
+
return epochSeconds > 0n ? Companion_getInstance_0().ai_1 : Companion_getInstance_0().zh_1;
|
|
122
122
|
}
|
|
123
123
|
var seconds = sum;
|
|
124
124
|
var tmp;
|
|
125
125
|
if (seconds < -31557014167219200n) {
|
|
126
|
-
tmp = this.
|
|
126
|
+
tmp = this.zh_1;
|
|
127
127
|
} else if (seconds > 31556889864403199n) {
|
|
128
|
-
tmp = this.
|
|
128
|
+
tmp = this.ai_1;
|
|
129
129
|
} else {
|
|
130
130
|
// Inline function 'kotlin.mod' call
|
|
131
131
|
var other_0 = 1000000000n;
|
|
@@ -136,15 +136,15 @@ function Companion() {
|
|
|
136
136
|
}
|
|
137
137
|
return tmp;
|
|
138
138
|
}
|
|
139
|
-
|
|
139
|
+
fp(epochSeconds, nanosecondAdjustment, $super) {
|
|
140
140
|
nanosecondAdjustment = nanosecondAdjustment === VOID ? 0n : nanosecondAdjustment;
|
|
141
|
-
return $super === VOID ? this.
|
|
141
|
+
return $super === VOID ? this.ep(epochSeconds, nanosecondAdjustment) : $super.ep.call(this, epochSeconds, nanosecondAdjustment);
|
|
142
142
|
}
|
|
143
|
-
|
|
144
|
-
return this.
|
|
143
|
+
dp(epochSeconds, nanosecondAdjustment) {
|
|
144
|
+
return this.ep(epochSeconds, fromInt(nanosecondAdjustment));
|
|
145
145
|
}
|
|
146
|
-
|
|
147
|
-
return parseIso(input).
|
|
146
|
+
gp(input) {
|
|
147
|
+
return parseIso(input).hp();
|
|
148
148
|
}
|
|
149
149
|
}
|
|
150
150
|
initMetadataForCompanion($);
|
|
@@ -164,18 +164,18 @@ function Instant() {
|
|
|
164
164
|
class $ {
|
|
165
165
|
constructor(epochSeconds, nanosecondsOfSecond) {
|
|
166
166
|
Companion_getInstance_0();
|
|
167
|
-
this.
|
|
168
|
-
this.
|
|
169
|
-
var containsArg = this.
|
|
167
|
+
this.ip_1 = epochSeconds;
|
|
168
|
+
this.jp_1 = nanosecondsOfSecond;
|
|
169
|
+
var containsArg = this.ip_1;
|
|
170
170
|
// Inline function 'kotlin.require' call
|
|
171
171
|
if (!(-31557014167219200n <= containsArg ? containsArg <= 31556889864403199n : false)) {
|
|
172
172
|
var message = 'Instant exceeds minimum or maximum instant';
|
|
173
173
|
throw IllegalArgumentException().s2(toString(message));
|
|
174
174
|
}
|
|
175
175
|
}
|
|
176
|
-
|
|
177
|
-
if (this.
|
|
178
|
-
var tmp0 = this.
|
|
176
|
+
kp() {
|
|
177
|
+
if (this.ip_1 >= 0n) {
|
|
178
|
+
var tmp0 = this.ip_1;
|
|
179
179
|
var tmp$ret$0;
|
|
180
180
|
$l$block_1: {
|
|
181
181
|
// Inline function 'kotlin.time.safeMultiplyOrElse' call
|
|
@@ -199,7 +199,7 @@ function Instant() {
|
|
|
199
199
|
}
|
|
200
200
|
var millis = tmp$ret$0;
|
|
201
201
|
// Inline function 'kotlin.time.safeAddOrElse' call
|
|
202
|
-
var b = fromInt(this.
|
|
202
|
+
var b = fromInt(this.jp_1 / 1000000 | 0);
|
|
203
203
|
var sum = add(millis, b);
|
|
204
204
|
if ((millis ^ sum) < 0n && (millis ^ b) >= 0n) {
|
|
205
205
|
return 9223372036854775807n;
|
|
@@ -207,7 +207,7 @@ function Instant() {
|
|
|
207
207
|
return sum;
|
|
208
208
|
} else {
|
|
209
209
|
// Inline function 'kotlin.Long.plus' call
|
|
210
|
-
var this_0 = this.
|
|
210
|
+
var this_0 = this.ip_1;
|
|
211
211
|
var tmp0_0 = add(this_0, fromInt(1));
|
|
212
212
|
var tmp$ret$3;
|
|
213
213
|
$l$block_4: {
|
|
@@ -232,7 +232,7 @@ function Instant() {
|
|
|
232
232
|
}
|
|
233
233
|
var millis_0 = tmp$ret$3;
|
|
234
234
|
// Inline function 'kotlin.time.safeAddOrElse' call
|
|
235
|
-
var b_0 = fromInt((this.
|
|
235
|
+
var b_0 = fromInt((this.jp_1 / 1000000 | 0) - 1000 | 0);
|
|
236
236
|
var sum_0 = add(millis_0, b_0);
|
|
237
237
|
if ((millis_0 ^ sum_0) < 0n && (millis_0 ^ b_0) >= 0n) {
|
|
238
238
|
return -9223372036854775808n;
|
|
@@ -240,7 +240,7 @@ function Instant() {
|
|
|
240
240
|
return sum_0;
|
|
241
241
|
}
|
|
242
242
|
}
|
|
243
|
-
|
|
243
|
+
lp(duration) {
|
|
244
244
|
// Inline function 'kotlin.time.Duration.toComponents' call
|
|
245
245
|
var tmp0 = _Duration___get_inWholeSeconds__impl__hpy7b3(duration);
|
|
246
246
|
var nanosecondsToAdd = _Duration___get_nanosecondsComponent__impl__nh19kq(duration);
|
|
@@ -248,38 +248,38 @@ function Instant() {
|
|
|
248
248
|
return this;
|
|
249
249
|
}
|
|
250
250
|
// Inline function 'kotlin.time.safeAddOrElse' call
|
|
251
|
-
var a = this.
|
|
251
|
+
var a = this.ip_1;
|
|
252
252
|
var sum = add(a, tmp0);
|
|
253
253
|
if ((a ^ sum) < 0n && (a ^ tmp0) >= 0n) {
|
|
254
|
-
return Duration__isPositive_impl_tvkkt2(duration) ? Companion_getInstance_0().
|
|
254
|
+
return Duration__isPositive_impl_tvkkt2(duration) ? Companion_getInstance_0().ai_1 : Companion_getInstance_0().zh_1;
|
|
255
255
|
}
|
|
256
256
|
var newEpochSeconds = sum;
|
|
257
|
-
var nanoAdjustment = this.
|
|
258
|
-
return Companion_getInstance_0().
|
|
257
|
+
var nanoAdjustment = this.jp_1 + nanosecondsToAdd | 0;
|
|
258
|
+
return Companion_getInstance_0().dp(newEpochSeconds, nanoAdjustment);
|
|
259
259
|
}
|
|
260
|
-
|
|
261
|
-
return this.
|
|
260
|
+
mp(duration) {
|
|
261
|
+
return this.lp(Duration__unaryMinus_impl_x2k1y0(duration));
|
|
262
262
|
}
|
|
263
|
-
|
|
263
|
+
np(other) {
|
|
264
264
|
Companion_getInstance();
|
|
265
265
|
// Inline function 'kotlin.time.Companion.seconds' call
|
|
266
|
-
var this_0 = subtract(this.
|
|
266
|
+
var this_0 = subtract(this.ip_1, other.ip_1);
|
|
267
267
|
var tmp = toDuration(this_0, DurationUnit_SECONDS_getInstance());
|
|
268
268
|
Companion_getInstance();
|
|
269
269
|
// Inline function 'kotlin.time.Companion.nanoseconds' call
|
|
270
|
-
var this_1 = this.
|
|
270
|
+
var this_1 = this.jp_1 - other.jp_1 | 0;
|
|
271
271
|
var tmp$ret$1 = toDuration_0(this_1, DurationUnit_NANOSECONDS_getInstance());
|
|
272
272
|
return Duration__plus_impl_yu9v8f(tmp, tmp$ret$1);
|
|
273
273
|
}
|
|
274
|
-
|
|
275
|
-
var s = compareTo(this.
|
|
274
|
+
op(other) {
|
|
275
|
+
var s = compareTo(this.ip_1, other.ip_1);
|
|
276
276
|
if (!(s === 0)) {
|
|
277
277
|
return s;
|
|
278
278
|
}
|
|
279
|
-
return compareTo(this.
|
|
279
|
+
return compareTo(this.jp_1, other.jp_1);
|
|
280
280
|
}
|
|
281
281
|
d(other) {
|
|
282
|
-
return this.
|
|
282
|
+
return this.op(other instanceof Instant() ? other : THROW_CCE());
|
|
283
283
|
}
|
|
284
284
|
equals(other) {
|
|
285
285
|
var tmp;
|
|
@@ -289,12 +289,12 @@ function Instant() {
|
|
|
289
289
|
var tmp_0;
|
|
290
290
|
var tmp_1;
|
|
291
291
|
if (other instanceof Instant()) {
|
|
292
|
-
tmp_1 = this.
|
|
292
|
+
tmp_1 = this.ip_1 === other.ip_1;
|
|
293
293
|
} else {
|
|
294
294
|
tmp_1 = false;
|
|
295
295
|
}
|
|
296
296
|
if (tmp_1) {
|
|
297
|
-
tmp_0 = this.
|
|
297
|
+
tmp_0 = this.jp_1 === other.jp_1;
|
|
298
298
|
} else {
|
|
299
299
|
tmp_0 = false;
|
|
300
300
|
}
|
|
@@ -303,7 +303,7 @@ function Instant() {
|
|
|
303
303
|
return tmp;
|
|
304
304
|
}
|
|
305
305
|
hashCode() {
|
|
306
|
-
return getBigIntHashCode(this.
|
|
306
|
+
return getBigIntHashCode(this.ip_1) + imul(51, this.jp_1) | 0;
|
|
307
307
|
}
|
|
308
308
|
toString() {
|
|
309
309
|
return formatIso(this);
|
|
@@ -319,43 +319,43 @@ function formatIso(instant) {
|
|
|
319
319
|
// Inline function 'kotlin.text.buildString' call
|
|
320
320
|
// Inline function 'kotlin.apply' call
|
|
321
321
|
var this_0 = StringBuilder().m1();
|
|
322
|
-
var ldt = Companion_instance_0.
|
|
323
|
-
var number = ldt.
|
|
322
|
+
var ldt = Companion_instance_0.pp(instant);
|
|
323
|
+
var number = ldt.qp_1;
|
|
324
324
|
// Inline function 'kotlin.math.absoluteValue' call
|
|
325
325
|
if (abs(number) < 1000) {
|
|
326
326
|
var innerBuilder = StringBuilder().m1();
|
|
327
327
|
if (number >= 0) {
|
|
328
328
|
// Inline function 'kotlin.text.deleteAt' call
|
|
329
|
-
innerBuilder.
|
|
329
|
+
innerBuilder.sg(number + 10000 | 0).xg(0);
|
|
330
330
|
} else {
|
|
331
331
|
// Inline function 'kotlin.text.deleteAt' call
|
|
332
|
-
innerBuilder.
|
|
332
|
+
innerBuilder.sg(number - 10000 | 0).xg(1);
|
|
333
333
|
}
|
|
334
334
|
this_0.t2(innerBuilder);
|
|
335
335
|
} else {
|
|
336
336
|
if (number >= 10000) {
|
|
337
337
|
this_0.p1(_Char___init__impl__6a9atx(43));
|
|
338
338
|
}
|
|
339
|
-
this_0.
|
|
339
|
+
this_0.sg(number);
|
|
340
340
|
}
|
|
341
341
|
this_0.p1(_Char___init__impl__6a9atx(45));
|
|
342
|
-
formatIso$appendTwoDigits(this_0, this_0, ldt.
|
|
342
|
+
formatIso$appendTwoDigits(this_0, this_0, ldt.rp_1);
|
|
343
343
|
this_0.p1(_Char___init__impl__6a9atx(45));
|
|
344
|
-
formatIso$appendTwoDigits(this_0, this_0, ldt.
|
|
344
|
+
formatIso$appendTwoDigits(this_0, this_0, ldt.sp_1);
|
|
345
345
|
this_0.p1(_Char___init__impl__6a9atx(84));
|
|
346
|
-
formatIso$appendTwoDigits(this_0, this_0, ldt.
|
|
346
|
+
formatIso$appendTwoDigits(this_0, this_0, ldt.tp_1);
|
|
347
347
|
this_0.p1(_Char___init__impl__6a9atx(58));
|
|
348
|
-
formatIso$appendTwoDigits(this_0, this_0, ldt.
|
|
348
|
+
formatIso$appendTwoDigits(this_0, this_0, ldt.up_1);
|
|
349
349
|
this_0.p1(_Char___init__impl__6a9atx(58));
|
|
350
|
-
formatIso$appendTwoDigits(this_0, this_0, ldt.
|
|
351
|
-
if (!(ldt.
|
|
350
|
+
formatIso$appendTwoDigits(this_0, this_0, ldt.vp_1);
|
|
351
|
+
if (!(ldt.wp_1 === 0)) {
|
|
352
352
|
this_0.p1(_Char___init__impl__6a9atx(46));
|
|
353
353
|
var zerosToStrip = 0;
|
|
354
|
-
while ((ldt.
|
|
354
|
+
while ((ldt.wp_1 % get_POWERS_OF_TEN()[zerosToStrip + 1 | 0] | 0) === 0) {
|
|
355
355
|
zerosToStrip = zerosToStrip + 1 | 0;
|
|
356
356
|
}
|
|
357
357
|
zerosToStrip = zerosToStrip - (zerosToStrip % 3 | 0) | 0;
|
|
358
|
-
var numberToOutput = ldt.
|
|
358
|
+
var numberToOutput = ldt.wp_1 / get_POWERS_OF_TEN()[zerosToStrip] | 0;
|
|
359
359
|
this_0.n1(substring((numberToOutput + get_POWERS_OF_TEN()[9 - zerosToStrip | 0] | 0).toString(), 1));
|
|
360
360
|
}
|
|
361
361
|
this_0.p1(_Char___init__impl__6a9atx(90));
|
|
@@ -366,13 +366,13 @@ function Success() {
|
|
|
366
366
|
if (SuccessClass === VOID) {
|
|
367
367
|
class $ {
|
|
368
368
|
constructor(epochSeconds, nanosecondsOfSecond) {
|
|
369
|
-
this.
|
|
370
|
-
this.
|
|
369
|
+
this.xp_1 = epochSeconds;
|
|
370
|
+
this.yp_1 = nanosecondsOfSecond;
|
|
371
371
|
}
|
|
372
|
-
|
|
373
|
-
if (this.
|
|
374
|
-
throw InstantFormatException().
|
|
375
|
-
return Companion_getInstance_0().
|
|
372
|
+
hp() {
|
|
373
|
+
if (this.xp_1 < Companion_getInstance_0().zh_1.ip_1 || this.xp_1 > Companion_getInstance_0().ai_1.ip_1)
|
|
374
|
+
throw InstantFormatException().dq('The parsed date is outside the range representable by Instant (Unix epoch second ' + this.xp_1.toString() + ')');
|
|
375
|
+
return Companion_getInstance_0().dp(this.xp_1, this.yp_1);
|
|
376
376
|
}
|
|
377
377
|
}
|
|
378
378
|
initMetadataForClass($, 'Success');
|
|
@@ -385,11 +385,11 @@ function Failure() {
|
|
|
385
385
|
if (FailureClass === VOID) {
|
|
386
386
|
class $ {
|
|
387
387
|
constructor(error, input) {
|
|
388
|
-
this.
|
|
389
|
-
this.
|
|
388
|
+
this.eq_1 = error;
|
|
389
|
+
this.fq_1 = input;
|
|
390
390
|
}
|
|
391
|
-
|
|
392
|
-
throw InstantFormatException().
|
|
391
|
+
hp() {
|
|
392
|
+
throw InstantFormatException().dq(this.eq_1 + ' when parsing an Instant from "' + truncateForErrorMessage(this.fq_1, 64) + '"');
|
|
393
393
|
}
|
|
394
394
|
}
|
|
395
395
|
initMetadataForClass($, 'Failure');
|
|
@@ -647,7 +647,7 @@ function parseIso(isoString) {
|
|
|
647
647
|
var this_0 = new (UnboundLocalDateTime())(year, month, day, hour, minute, second, nanosecond);
|
|
648
648
|
// Inline function 'kotlin.run' call
|
|
649
649
|
// Inline function 'kotlin.run' call
|
|
650
|
-
var y = fromInt(this_0.
|
|
650
|
+
var y = fromInt(this_0.qp_1);
|
|
651
651
|
var total = multiply(numberToLong(365), y);
|
|
652
652
|
if (y >= 0n) {
|
|
653
653
|
var tmp_15 = total;
|
|
@@ -678,16 +678,16 @@ function parseIso(isoString) {
|
|
|
678
678
|
}
|
|
679
679
|
var tmp0 = total;
|
|
680
680
|
// Inline function 'kotlin.Long.plus' call
|
|
681
|
-
var other = (imul(367, this_0.
|
|
681
|
+
var other = (imul(367, this_0.rp_1) - 362 | 0) / 12 | 0;
|
|
682
682
|
total = add(tmp0, fromInt(other));
|
|
683
683
|
var tmp0_0 = total;
|
|
684
684
|
// Inline function 'kotlin.Long.plus' call
|
|
685
|
-
var other_0 = this_0.
|
|
685
|
+
var other_0 = this_0.sp_1 - 1 | 0;
|
|
686
686
|
total = add(tmp0_0, fromInt(other_0));
|
|
687
|
-
if (this_0.
|
|
687
|
+
if (this_0.rp_1 > 2) {
|
|
688
688
|
var _unary__edvuaz = total;
|
|
689
689
|
total = subtract(_unary__edvuaz, get_ONE());
|
|
690
|
-
if (!isLeapYear(this_0.
|
|
690
|
+
if (!isLeapYear(this_0.qp_1)) {
|
|
691
691
|
var _unary__edvuaz_0 = total;
|
|
692
692
|
total = subtract(_unary__edvuaz_0, get_ONE());
|
|
693
693
|
}
|
|
@@ -695,22 +695,22 @@ function parseIso(isoString) {
|
|
|
695
695
|
// Inline function 'kotlin.Long.minus' call
|
|
696
696
|
var this_4 = total;
|
|
697
697
|
var epochDays = subtract(this_4, fromInt(719528));
|
|
698
|
-
var daySeconds = (imul(this_0.
|
|
698
|
+
var daySeconds = (imul(this_0.tp_1, 3600) + imul(this_0.up_1, 60) | 0) + this_0.vp_1 | 0;
|
|
699
699
|
// Inline function 'kotlin.Long.times' call
|
|
700
700
|
// Inline function 'kotlin.Long.plus' call
|
|
701
701
|
var this_5 = multiply(epochDays, fromInt(86400));
|
|
702
702
|
// Inline function 'kotlin.Long.minus' call
|
|
703
703
|
var this_6 = add(this_5, fromInt(daySeconds));
|
|
704
704
|
var epochSeconds = subtract(this_6, fromInt(offsetSeconds));
|
|
705
|
-
var p1 = this_0.
|
|
705
|
+
var p1 = this_0.wp_1;
|
|
706
706
|
return new (Success())(epochSeconds, p1);
|
|
707
707
|
}
|
|
708
708
|
var CompanionClass_0;
|
|
709
709
|
function Companion_0() {
|
|
710
710
|
if (CompanionClass_0 === VOID) {
|
|
711
711
|
class $ {
|
|
712
|
-
|
|
713
|
-
var localSecond = instant.
|
|
712
|
+
pp(instant) {
|
|
713
|
+
var localSecond = instant.ip_1;
|
|
714
714
|
// Inline function 'kotlin.floorDiv' call
|
|
715
715
|
var q = divide(localSecond, 86400n);
|
|
716
716
|
if ((localSecond ^ 86400n) < 0n && !(multiply(q, 86400n) === localSecond)) {
|
|
@@ -799,7 +799,7 @@ function Companion_0() {
|
|
|
799
799
|
var secondWithoutHours = secsOfDay - imul(hours, 3600) | 0;
|
|
800
800
|
var minutes = secondWithoutHours / 60 | 0;
|
|
801
801
|
var second = secondWithoutHours - imul(minutes, 60) | 0;
|
|
802
|
-
return new (UnboundLocalDateTime())(year, month, day, hours, minutes, second, instant.
|
|
802
|
+
return new (UnboundLocalDateTime())(year, month, day, hours, minutes, second, instant.jp_1);
|
|
803
803
|
}
|
|
804
804
|
}
|
|
805
805
|
initMetadataForCompanion($);
|
|
@@ -816,16 +816,16 @@ function UnboundLocalDateTime() {
|
|
|
816
816
|
if (UnboundLocalDateTimeClass === VOID) {
|
|
817
817
|
class $ {
|
|
818
818
|
constructor(year, month, day, hour, minute, second, nanosecond) {
|
|
819
|
-
this.
|
|
820
|
-
this.
|
|
821
|
-
this.
|
|
822
|
-
this.
|
|
823
|
-
this.
|
|
824
|
-
this.
|
|
825
|
-
this.
|
|
819
|
+
this.qp_1 = year;
|
|
820
|
+
this.rp_1 = month;
|
|
821
|
+
this.sp_1 = day;
|
|
822
|
+
this.tp_1 = hour;
|
|
823
|
+
this.up_1 = minute;
|
|
824
|
+
this.vp_1 = second;
|
|
825
|
+
this.wp_1 = nanosecond;
|
|
826
826
|
}
|
|
827
827
|
toString() {
|
|
828
|
-
return 'UnboundLocalDateTime(' + this.
|
|
828
|
+
return 'UnboundLocalDateTime(' + this.qp_1 + '-' + this.rp_1 + '-' + this.sp_1 + ' ' + this.tp_1 + ':' + this.up_1 + ':' + this.vp_1 + '.' + this.wp_1 + ')';
|
|
829
829
|
}
|
|
830
830
|
}
|
|
831
831
|
initMetadataForClass($, 'UnboundLocalDateTime');
|
|
@@ -837,9 +837,9 @@ var InstantFormatExceptionClass;
|
|
|
837
837
|
function InstantFormatException() {
|
|
838
838
|
if (InstantFormatExceptionClass === VOID) {
|
|
839
839
|
class $ extends IllegalArgumentException() {
|
|
840
|
-
static
|
|
840
|
+
static dq(message) {
|
|
841
841
|
var $this = this.s2(message);
|
|
842
|
-
captureStack($this, $this.
|
|
842
|
+
captureStack($this, $this.cq_1);
|
|
843
843
|
return $this;
|
|
844
844
|
}
|
|
845
845
|
}
|
|
@@ -881,7 +881,7 @@ function formatIso$appendTwoDigits(_this__u8e3s4, $this_buildString, number) {
|
|
|
881
881
|
if (number < 10) {
|
|
882
882
|
_this__u8e3s4.p1(_Char___init__impl__6a9atx(48));
|
|
883
883
|
}
|
|
884
|
-
$this_buildString.
|
|
884
|
+
$this_buildString.sg(number);
|
|
885
885
|
}
|
|
886
886
|
function parseIso$parseFailure($isoString, error) {
|
|
887
887
|
return new (Failure())(error + ' when parsing an Instant from "' + truncateForErrorMessage($isoString, 64) + '"', $isoString);
|
|
@@ -5,7 +5,7 @@ import { numberToLong2pakxeg38estk as numberToLong } from '../js/internal/longAs
|
|
|
5
5
|
//region block: pre-declaration
|
|
6
6
|
//endregion
|
|
7
7
|
function systemClockNow() {
|
|
8
|
-
return Companion_getInstance().
|
|
8
|
+
return Companion_getInstance().bi(numberToLong((new Date()).getTime()));
|
|
9
9
|
}
|
|
10
10
|
//region block: exports
|
|
11
11
|
export {
|
|
@@ -38,20 +38,20 @@ function Companion() {
|
|
|
38
38
|
class $ {
|
|
39
39
|
constructor() {
|
|
40
40
|
Companion_instance = this;
|
|
41
|
-
this.
|
|
42
|
-
this.
|
|
43
|
-
this.
|
|
41
|
+
this.ci_1 = new (Uuid())(0n, 0n);
|
|
42
|
+
this.di_1 = 16;
|
|
43
|
+
this.ei_1 = 128;
|
|
44
44
|
}
|
|
45
|
-
|
|
45
|
+
fi(mostSignificantBits, leastSignificantBits) {
|
|
46
46
|
var tmp;
|
|
47
47
|
if (mostSignificantBits === 0n && leastSignificantBits === 0n) {
|
|
48
|
-
tmp = this.
|
|
48
|
+
tmp = this.ci_1;
|
|
49
49
|
} else {
|
|
50
50
|
tmp = new (Uuid())(mostSignificantBits, leastSignificantBits);
|
|
51
51
|
}
|
|
52
52
|
return tmp;
|
|
53
53
|
}
|
|
54
|
-
|
|
54
|
+
vq(uuidString) {
|
|
55
55
|
var tmp;
|
|
56
56
|
switch (uuidString.length) {
|
|
57
57
|
case 36:
|
|
@@ -83,35 +83,35 @@ function Uuid() {
|
|
|
83
83
|
class $ {
|
|
84
84
|
constructor(mostSignificantBits, leastSignificantBits) {
|
|
85
85
|
Companion_getInstance();
|
|
86
|
-
this.
|
|
87
|
-
this.
|
|
86
|
+
this.wq_1 = mostSignificantBits;
|
|
87
|
+
this.xq_1 = leastSignificantBits;
|
|
88
88
|
}
|
|
89
89
|
toString() {
|
|
90
|
-
return this.
|
|
90
|
+
return this.yq();
|
|
91
91
|
}
|
|
92
|
-
|
|
92
|
+
yq() {
|
|
93
93
|
var bytes = new Int8Array(36);
|
|
94
|
-
formatBytesInto(this.
|
|
94
|
+
formatBytesInto(this.wq_1, bytes, 0, 0, 4);
|
|
95
95
|
// Inline function 'kotlin.code' call
|
|
96
96
|
var this_0 = _Char___init__impl__6a9atx(45);
|
|
97
97
|
var tmp$ret$0 = Char__toInt_impl_vasixd(this_0);
|
|
98
98
|
bytes[8] = toByte(tmp$ret$0);
|
|
99
|
-
formatBytesInto(this.
|
|
99
|
+
formatBytesInto(this.wq_1, bytes, 9, 4, 6);
|
|
100
100
|
// Inline function 'kotlin.code' call
|
|
101
101
|
var this_1 = _Char___init__impl__6a9atx(45);
|
|
102
102
|
var tmp$ret$1 = Char__toInt_impl_vasixd(this_1);
|
|
103
103
|
bytes[13] = toByte(tmp$ret$1);
|
|
104
|
-
formatBytesInto(this.
|
|
104
|
+
formatBytesInto(this.wq_1, bytes, 14, 6, 8);
|
|
105
105
|
// Inline function 'kotlin.code' call
|
|
106
106
|
var this_2 = _Char___init__impl__6a9atx(45);
|
|
107
107
|
var tmp$ret$2 = Char__toInt_impl_vasixd(this_2);
|
|
108
108
|
bytes[18] = toByte(tmp$ret$2);
|
|
109
|
-
formatBytesInto(this.
|
|
109
|
+
formatBytesInto(this.xq_1, bytes, 19, 0, 2);
|
|
110
110
|
// Inline function 'kotlin.code' call
|
|
111
111
|
var this_3 = _Char___init__impl__6a9atx(45);
|
|
112
112
|
var tmp$ret$3 = Char__toInt_impl_vasixd(this_3);
|
|
113
113
|
bytes[23] = toByte(tmp$ret$3);
|
|
114
|
-
formatBytesInto(this.
|
|
114
|
+
formatBytesInto(this.xq_1, bytes, 24, 2, 8);
|
|
115
115
|
return decodeToString(bytes);
|
|
116
116
|
}
|
|
117
117
|
equals(other) {
|
|
@@ -119,25 +119,25 @@ function Uuid() {
|
|
|
119
119
|
return true;
|
|
120
120
|
if (!(other instanceof Uuid()))
|
|
121
121
|
return false;
|
|
122
|
-
return this.
|
|
122
|
+
return this.wq_1 === other.wq_1 && this.xq_1 === other.xq_1;
|
|
123
123
|
}
|
|
124
|
-
|
|
124
|
+
zq(other) {
|
|
125
125
|
var tmp;
|
|
126
|
-
if (!(this.
|
|
126
|
+
if (!(this.wq_1 === other.wq_1)) {
|
|
127
127
|
// Inline function 'kotlin.toULong' call
|
|
128
|
-
var this_0 = this.
|
|
128
|
+
var this_0 = this.wq_1;
|
|
129
129
|
var tmp0 = _ULong___init__impl__c78o9k(this_0);
|
|
130
130
|
// Inline function 'kotlin.toULong' call
|
|
131
|
-
var this_1 = other.
|
|
131
|
+
var this_1 = other.wq_1;
|
|
132
132
|
// Inline function 'kotlin.ULong.compareTo' call
|
|
133
133
|
var other_0 = _ULong___init__impl__c78o9k(this_1);
|
|
134
134
|
tmp = ulongCompare(_ULong___get_data__impl__fggpzb(tmp0), _ULong___get_data__impl__fggpzb(other_0));
|
|
135
135
|
} else {
|
|
136
136
|
// Inline function 'kotlin.toULong' call
|
|
137
|
-
var this_2 = this.
|
|
137
|
+
var this_2 = this.xq_1;
|
|
138
138
|
var tmp0_0 = _ULong___init__impl__c78o9k(this_2);
|
|
139
139
|
// Inline function 'kotlin.toULong' call
|
|
140
|
-
var this_3 = other.
|
|
140
|
+
var this_3 = other.xq_1;
|
|
141
141
|
// Inline function 'kotlin.ULong.compareTo' call
|
|
142
142
|
var other_1 = _ULong___init__impl__c78o9k(this_3);
|
|
143
143
|
tmp = ulongCompare(_ULong___get_data__impl__fggpzb(tmp0_0), _ULong___get_data__impl__fggpzb(other_1));
|
|
@@ -145,10 +145,10 @@ function Uuid() {
|
|
|
145
145
|
return tmp;
|
|
146
146
|
}
|
|
147
147
|
d(other) {
|
|
148
|
-
return this.
|
|
148
|
+
return this.zq(other instanceof Uuid() ? other : THROW_CCE());
|
|
149
149
|
}
|
|
150
150
|
hashCode() {
|
|
151
|
-
return getBigIntHashCode(this.
|
|
151
|
+
return getBigIntHashCode(this.wq_1 ^ this.xq_1);
|
|
152
152
|
}
|
|
153
153
|
}
|
|
154
154
|
initMetadataForClass($, 'Uuid', VOID, VOID, [Comparable()]);
|
|
@@ -200,7 +200,7 @@ function uuidParseHexDash(hexDashString) {
|
|
|
200
200
|
var msb = longFromTwoInts(tmp0_low, part1);
|
|
201
201
|
var tmp1_high = part4 << 16 | part5a;
|
|
202
202
|
var lsb = longFromTwoInts(part5b, tmp1_high);
|
|
203
|
-
return Companion_getInstance().
|
|
203
|
+
return Companion_getInstance().fi(msb, lsb);
|
|
204
204
|
}
|
|
205
205
|
function uuidParseHex(hexString) {
|
|
206
206
|
// Inline function 'kotlin.uuid.uuidParseHex' call
|
|
@@ -302,7 +302,7 @@ function uuidParseHex(hexString) {
|
|
|
302
302
|
while (inductionVariable_2 < 32);
|
|
303
303
|
var tmp3_low = result_2;
|
|
304
304
|
var lsb = longFromTwoInts(tmp3_low, tmp2_high);
|
|
305
|
-
return Companion_getInstance().
|
|
305
|
+
return Companion_getInstance().fi(msb, lsb);
|
|
306
306
|
}
|
|
307
307
|
function formatBytesInto_0(_this__u8e3s4, dst, dstOffset, startIndex, endIndex) {
|
|
308
308
|
var dstIndex = dstOffset;
|
|
@@ -13,7 +13,7 @@ function findAssociatedObject(_this__u8e3s4, annotationClass) {
|
|
|
13
13
|
}
|
|
14
14
|
if (tmp_0) {
|
|
15
15
|
// Inline function 'kotlin.js.asDynamic' call
|
|
16
|
-
var tmp$ret$0 = annotationClass.
|
|
16
|
+
var tmp$ret$0 = annotationClass.af();
|
|
17
17
|
var tmp0_elvis_lhs = getAssociatedObjectId(tmp$ret$0);
|
|
18
18
|
var tmp_1;
|
|
19
19
|
if (tmp0_elvis_lhs == null) {
|
|
@@ -23,7 +23,7 @@ function findAssociatedObject(_this__u8e3s4, annotationClass) {
|
|
|
23
23
|
}
|
|
24
24
|
var key = tmp_1;
|
|
25
25
|
// Inline function 'kotlin.js.asDynamic' call
|
|
26
|
-
var tmp1_safe_receiver = _this__u8e3s4.
|
|
26
|
+
var tmp1_safe_receiver = _this__u8e3s4.af().$metadata$;
|
|
27
27
|
var tmp2_elvis_lhs = tmp1_safe_receiver == null ? null : tmp1_safe_receiver.associatedObjects;
|
|
28
28
|
var tmp_2;
|
|
29
29
|
if (tmp2_elvis_lhs == null) {
|
|
@@ -18,16 +18,16 @@ function atomicfu$AtomicRefArray$ref() {
|
|
|
18
18
|
tmp_1[tmp_0] = atomic$ref$1(null);
|
|
19
19
|
tmp_0 = tmp_0 + 1 | 0;
|
|
20
20
|
}
|
|
21
|
-
tmp.
|
|
21
|
+
tmp.o1p_1 = tmp_1;
|
|
22
22
|
}
|
|
23
|
-
|
|
24
|
-
return this.
|
|
23
|
+
p1p() {
|
|
24
|
+
return this.o1p_1.length;
|
|
25
25
|
}
|
|
26
26
|
atomicfu$get(index) {
|
|
27
|
-
return this.
|
|
27
|
+
return this.o1p_1[index];
|
|
28
28
|
}
|
|
29
29
|
get atomicfu$size() {
|
|
30
|
-
return this.
|
|
30
|
+
return this.p1p();
|
|
31
31
|
}
|
|
32
32
|
}
|
|
33
33
|
initMetadataForClass($, 'AtomicArray');
|