@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
|
@@ -86,59 +86,59 @@ function TimeBased() {
|
|
|
86
86
|
class $ extends DateTimeUnit() {
|
|
87
87
|
constructor(nanoseconds) {
|
|
88
88
|
super();
|
|
89
|
-
this.
|
|
89
|
+
this.k40_1 = nanoseconds;
|
|
90
90
|
// Inline function 'kotlin.require' call
|
|
91
|
-
if (!(this.
|
|
92
|
-
var message = 'Unit duration must be positive, but was ' + this.
|
|
91
|
+
if (!(this.k40_1 > 0n)) {
|
|
92
|
+
var message = 'Unit duration must be positive, but was ' + this.k40_1.toString() + ' ns.';
|
|
93
93
|
throw IllegalArgumentException().s2(toString(message));
|
|
94
94
|
}
|
|
95
|
-
if (modulo(this.
|
|
96
|
-
this.
|
|
97
|
-
this.
|
|
95
|
+
if (modulo(this.k40_1, 3600000000000n) === 0n) {
|
|
96
|
+
this.l40_1 = 'HOUR';
|
|
97
|
+
this.m40_1 = divide(this.k40_1, 3600000000000n);
|
|
98
98
|
} else {
|
|
99
|
-
if (modulo(this.
|
|
100
|
-
this.
|
|
101
|
-
this.
|
|
99
|
+
if (modulo(this.k40_1, 60000000000n) === 0n) {
|
|
100
|
+
this.l40_1 = 'MINUTE';
|
|
101
|
+
this.m40_1 = divide(this.k40_1, 60000000000n);
|
|
102
102
|
} else {
|
|
103
|
-
var tmp0 = this.
|
|
103
|
+
var tmp0 = this.k40_1;
|
|
104
104
|
// Inline function 'kotlin.Long.rem' call
|
|
105
105
|
var other = 1000000000;
|
|
106
106
|
if (modulo(tmp0, fromInt(other)) === 0n) {
|
|
107
|
-
this.
|
|
107
|
+
this.l40_1 = 'SECOND';
|
|
108
108
|
var tmp = this;
|
|
109
|
-
var tmp0_0 = this.
|
|
109
|
+
var tmp0_0 = this.k40_1;
|
|
110
110
|
// Inline function 'kotlin.Long.div' call
|
|
111
111
|
var other_0 = 1000000000;
|
|
112
|
-
tmp.
|
|
112
|
+
tmp.m40_1 = divide(tmp0_0, fromInt(other_0));
|
|
113
113
|
} else {
|
|
114
114
|
// Inline function 'kotlin.Long.rem' call
|
|
115
|
-
var this_0 = this.
|
|
115
|
+
var this_0 = this.k40_1;
|
|
116
116
|
if (modulo(this_0, fromInt(1000000)) === 0n) {
|
|
117
|
-
this.
|
|
117
|
+
this.l40_1 = 'MILLISECOND';
|
|
118
118
|
var tmp_0 = this;
|
|
119
119
|
// Inline function 'kotlin.Long.div' call
|
|
120
|
-
var this_1 = this.
|
|
121
|
-
tmp_0.
|
|
120
|
+
var this_1 = this.k40_1;
|
|
121
|
+
tmp_0.m40_1 = divide(this_1, fromInt(1000000));
|
|
122
122
|
} else {
|
|
123
123
|
// Inline function 'kotlin.Long.rem' call
|
|
124
|
-
var this_2 = this.
|
|
124
|
+
var this_2 = this.k40_1;
|
|
125
125
|
if (modulo(this_2, fromInt(1000)) === 0n) {
|
|
126
|
-
this.
|
|
126
|
+
this.l40_1 = 'MICROSECOND';
|
|
127
127
|
var tmp_1 = this;
|
|
128
128
|
// Inline function 'kotlin.Long.div' call
|
|
129
|
-
var this_3 = this.
|
|
130
|
-
tmp_1.
|
|
129
|
+
var this_3 = this.k40_1;
|
|
130
|
+
tmp_1.m40_1 = divide(this_3, fromInt(1000));
|
|
131
131
|
} else {
|
|
132
|
-
this.
|
|
133
|
-
this.
|
|
132
|
+
this.l40_1 = 'NANOSECOND';
|
|
133
|
+
this.m40_1 = this.k40_1;
|
|
134
134
|
}
|
|
135
135
|
}
|
|
136
136
|
}
|
|
137
137
|
}
|
|
138
138
|
}
|
|
139
139
|
}
|
|
140
|
-
|
|
141
|
-
return new (TimeBased())(safeMultiply(this.
|
|
140
|
+
n40(scalar) {
|
|
141
|
+
return new (TimeBased())(safeMultiply(this.k40_1, fromInt(scalar)));
|
|
142
142
|
}
|
|
143
143
|
equals(other) {
|
|
144
144
|
var tmp;
|
|
@@ -147,7 +147,7 @@ function TimeBased() {
|
|
|
147
147
|
} else {
|
|
148
148
|
var tmp_0;
|
|
149
149
|
if (other instanceof TimeBased()) {
|
|
150
|
-
tmp_0 = this.
|
|
150
|
+
tmp_0 = this.k40_1 === other.k40_1;
|
|
151
151
|
} else {
|
|
152
152
|
tmp_0 = false;
|
|
153
153
|
}
|
|
@@ -156,10 +156,10 @@ function TimeBased() {
|
|
|
156
156
|
return tmp;
|
|
157
157
|
}
|
|
158
158
|
hashCode() {
|
|
159
|
-
return convertToInt(this.
|
|
159
|
+
return convertToInt(this.k40_1) ^ convertToInt(shiftRight(this.k40_1, 32));
|
|
160
160
|
}
|
|
161
161
|
toString() {
|
|
162
|
-
return this.
|
|
162
|
+
return this.o40(this.m40_1, this.l40_1);
|
|
163
163
|
}
|
|
164
164
|
}
|
|
165
165
|
initMetadataForClass($, 'TimeBased', VOID, VOID, VOID, VOID, VOID, {0: TimeBasedDateTimeUnitSerializer_getInstance});
|
|
@@ -182,15 +182,15 @@ function DayBased() {
|
|
|
182
182
|
class $ extends DateBased() {
|
|
183
183
|
constructor(days) {
|
|
184
184
|
super();
|
|
185
|
-
this.
|
|
185
|
+
this.q40_1 = days;
|
|
186
186
|
// Inline function 'kotlin.require' call
|
|
187
|
-
if (!(this.
|
|
188
|
-
var message = 'Unit duration must be positive, but was ' + this.
|
|
187
|
+
if (!(this.q40_1 > 0)) {
|
|
188
|
+
var message = 'Unit duration must be positive, but was ' + this.q40_1 + ' days.';
|
|
189
189
|
throw IllegalArgumentException().s2(toString(message));
|
|
190
190
|
}
|
|
191
191
|
}
|
|
192
|
-
|
|
193
|
-
return new (DayBased())(safeMultiply_0(this.
|
|
192
|
+
n40(scalar) {
|
|
193
|
+
return new (DayBased())(safeMultiply_0(this.q40_1, scalar));
|
|
194
194
|
}
|
|
195
195
|
equals(other) {
|
|
196
196
|
var tmp;
|
|
@@ -199,7 +199,7 @@ function DayBased() {
|
|
|
199
199
|
} else {
|
|
200
200
|
var tmp_0;
|
|
201
201
|
if (other instanceof DayBased()) {
|
|
202
|
-
tmp_0 = this.
|
|
202
|
+
tmp_0 = this.q40_1 === other.q40_1;
|
|
203
203
|
} else {
|
|
204
204
|
tmp_0 = false;
|
|
205
205
|
}
|
|
@@ -208,10 +208,10 @@ function DayBased() {
|
|
|
208
208
|
return tmp;
|
|
209
209
|
}
|
|
210
210
|
hashCode() {
|
|
211
|
-
return this.
|
|
211
|
+
return this.q40_1 ^ 65536;
|
|
212
212
|
}
|
|
213
213
|
toString() {
|
|
214
|
-
return (this.
|
|
214
|
+
return (this.q40_1 % 7 | 0) === 0 ? this.p40(this.q40_1 / 7 | 0, 'WEEK') : this.p40(this.q40_1, 'DAY');
|
|
215
215
|
}
|
|
216
216
|
}
|
|
217
217
|
initMetadataForClass($, 'DayBased', VOID, VOID, VOID, VOID, VOID, {0: DayBasedDateTimeUnitSerializer_getInstance});
|
|
@@ -225,15 +225,15 @@ function MonthBased() {
|
|
|
225
225
|
class $ extends DateBased() {
|
|
226
226
|
constructor(months) {
|
|
227
227
|
super();
|
|
228
|
-
this.
|
|
228
|
+
this.r40_1 = months;
|
|
229
229
|
// Inline function 'kotlin.require' call
|
|
230
|
-
if (!(this.
|
|
231
|
-
var message = 'Unit duration must be positive, but was ' + this.
|
|
230
|
+
if (!(this.r40_1 > 0)) {
|
|
231
|
+
var message = 'Unit duration must be positive, but was ' + this.r40_1 + ' months.';
|
|
232
232
|
throw IllegalArgumentException().s2(toString(message));
|
|
233
233
|
}
|
|
234
234
|
}
|
|
235
|
-
|
|
236
|
-
return new (MonthBased())(safeMultiply_0(this.
|
|
235
|
+
n40(scalar) {
|
|
236
|
+
return new (MonthBased())(safeMultiply_0(this.r40_1, scalar));
|
|
237
237
|
}
|
|
238
238
|
equals(other) {
|
|
239
239
|
var tmp;
|
|
@@ -242,7 +242,7 @@ function MonthBased() {
|
|
|
242
242
|
} else {
|
|
243
243
|
var tmp_0;
|
|
244
244
|
if (other instanceof MonthBased()) {
|
|
245
|
-
tmp_0 = this.
|
|
245
|
+
tmp_0 = this.r40_1 === other.r40_1;
|
|
246
246
|
} else {
|
|
247
247
|
tmp_0 = false;
|
|
248
248
|
}
|
|
@@ -251,10 +251,10 @@ function MonthBased() {
|
|
|
251
251
|
return tmp;
|
|
252
252
|
}
|
|
253
253
|
hashCode() {
|
|
254
|
-
return this.
|
|
254
|
+
return this.r40_1 ^ 131072;
|
|
255
255
|
}
|
|
256
256
|
toString() {
|
|
257
|
-
return (this.
|
|
257
|
+
return (this.r40_1 % 1200 | 0) === 0 ? this.p40(this.r40_1 / 1200 | 0, 'CENTURY') : (this.r40_1 % 12 | 0) === 0 ? this.p40(this.r40_1 / 12 | 0, 'YEAR') : (this.r40_1 % 3 | 0) === 0 ? this.p40(this.r40_1 / 3 | 0, 'QUARTER') : this.p40(this.r40_1, 'MONTH');
|
|
258
258
|
}
|
|
259
259
|
}
|
|
260
260
|
initMetadataForClass($, 'MonthBased', VOID, VOID, VOID, VOID, VOID, {0: MonthBasedDateTimeUnitSerializer_getInstance});
|
|
@@ -268,18 +268,18 @@ function Companion_3() {
|
|
|
268
268
|
class $ {
|
|
269
269
|
constructor() {
|
|
270
270
|
Companion_instance_3 = this;
|
|
271
|
-
this.
|
|
272
|
-
this.
|
|
273
|
-
this.
|
|
274
|
-
this.
|
|
275
|
-
this.
|
|
276
|
-
this.
|
|
277
|
-
this.
|
|
278
|
-
this.
|
|
279
|
-
this.
|
|
280
|
-
this.
|
|
281
|
-
this.
|
|
282
|
-
this.
|
|
271
|
+
this.s40_1 = new (TimeBased())(1n);
|
|
272
|
+
this.t40_1 = this.s40_1.n40(1000);
|
|
273
|
+
this.u40_1 = this.t40_1.n40(1000);
|
|
274
|
+
this.v40_1 = this.u40_1.n40(1000);
|
|
275
|
+
this.w40_1 = this.v40_1.n40(60);
|
|
276
|
+
this.x40_1 = this.w40_1.n40(60);
|
|
277
|
+
this.y40_1 = new (DayBased())(1);
|
|
278
|
+
this.z40_1 = this.y40_1.n40(7);
|
|
279
|
+
this.a41_1 = new (MonthBased())(1);
|
|
280
|
+
this.b41_1 = this.a41_1.n40(3);
|
|
281
|
+
this.c41_1 = this.a41_1.n40(12);
|
|
282
|
+
this.d41_1 = this.c41_1.n40(100);
|
|
283
283
|
}
|
|
284
284
|
}
|
|
285
285
|
initMetadataForCompanion($);
|
|
@@ -300,10 +300,10 @@ function DateTimeUnit() {
|
|
|
300
300
|
constructor() {
|
|
301
301
|
Companion_getInstance_3();
|
|
302
302
|
}
|
|
303
|
-
|
|
303
|
+
p40(value, unit) {
|
|
304
304
|
return value === 1 ? unit : '' + value + '-' + unit;
|
|
305
305
|
}
|
|
306
|
-
|
|
306
|
+
o40(value, unit) {
|
|
307
307
|
return value === 1n ? unit : value.toString() + '-' + unit;
|
|
308
308
|
}
|
|
309
309
|
}
|
|
@@ -10,85 +10,85 @@ import { VOID3gxj6tk5isa35 as VOID } from '../../../kotlin-kotlin-stdlib/kotlin/
|
|
|
10
10
|
//region block: pre-declaration
|
|
11
11
|
//endregion
|
|
12
12
|
function init_kotlinx_datetime_DateTimeFormatException(_this__u8e3s4) {
|
|
13
|
-
captureStack(_this__u8e3s4, _this__u8e3s4.
|
|
13
|
+
captureStack(_this__u8e3s4, _this__u8e3s4.h41_1);
|
|
14
14
|
}
|
|
15
15
|
var DateTimeFormatExceptionClass;
|
|
16
16
|
function DateTimeFormatException() {
|
|
17
17
|
if (DateTimeFormatExceptionClass === VOID) {
|
|
18
18
|
class $ extends IllegalArgumentException() {
|
|
19
|
-
static
|
|
20
|
-
var $this = this.
|
|
19
|
+
static i41() {
|
|
20
|
+
var $this = this.qd();
|
|
21
21
|
init_kotlinx_datetime_DateTimeFormatException($this);
|
|
22
22
|
return $this;
|
|
23
23
|
}
|
|
24
|
-
static
|
|
24
|
+
static j41(message) {
|
|
25
25
|
var $this = this.s2(message);
|
|
26
26
|
init_kotlinx_datetime_DateTimeFormatException($this);
|
|
27
27
|
return $this;
|
|
28
28
|
}
|
|
29
|
-
static
|
|
30
|
-
var $this = this.
|
|
29
|
+
static k41(message, cause) {
|
|
30
|
+
var $this = this.rd(message, cause);
|
|
31
31
|
init_kotlinx_datetime_DateTimeFormatException($this);
|
|
32
32
|
return $this;
|
|
33
33
|
}
|
|
34
34
|
}
|
|
35
|
-
initMetadataForClass($, 'DateTimeFormatException', $.
|
|
35
|
+
initMetadataForClass($, 'DateTimeFormatException', $.i41);
|
|
36
36
|
DateTimeFormatExceptionClass = $;
|
|
37
37
|
}
|
|
38
38
|
return DateTimeFormatExceptionClass;
|
|
39
39
|
}
|
|
40
40
|
function init_kotlinx_datetime_IllegalTimeZoneException(_this__u8e3s4) {
|
|
41
|
-
captureStack(_this__u8e3s4, _this__u8e3s4.
|
|
41
|
+
captureStack(_this__u8e3s4, _this__u8e3s4.o41_1);
|
|
42
42
|
}
|
|
43
43
|
var IllegalTimeZoneExceptionClass;
|
|
44
44
|
function IllegalTimeZoneException() {
|
|
45
45
|
if (IllegalTimeZoneExceptionClass === VOID) {
|
|
46
46
|
class $ extends IllegalArgumentException() {
|
|
47
|
-
static
|
|
48
|
-
var $this = this.
|
|
47
|
+
static p41() {
|
|
48
|
+
var $this = this.qd();
|
|
49
49
|
init_kotlinx_datetime_IllegalTimeZoneException($this);
|
|
50
50
|
return $this;
|
|
51
51
|
}
|
|
52
|
-
static
|
|
52
|
+
static q41(message) {
|
|
53
53
|
var $this = this.s2(message);
|
|
54
54
|
init_kotlinx_datetime_IllegalTimeZoneException($this);
|
|
55
55
|
return $this;
|
|
56
56
|
}
|
|
57
|
-
static
|
|
58
|
-
var $this = this.
|
|
57
|
+
static r41(cause) {
|
|
58
|
+
var $this = this.sd(cause);
|
|
59
59
|
init_kotlinx_datetime_IllegalTimeZoneException($this);
|
|
60
60
|
return $this;
|
|
61
61
|
}
|
|
62
|
-
static
|
|
63
|
-
var $this = this.
|
|
62
|
+
static s41(message, cause) {
|
|
63
|
+
var $this = this.rd(message, cause);
|
|
64
64
|
init_kotlinx_datetime_IllegalTimeZoneException($this);
|
|
65
65
|
return $this;
|
|
66
66
|
}
|
|
67
67
|
}
|
|
68
|
-
initMetadataForClass($, 'IllegalTimeZoneException', $.
|
|
68
|
+
initMetadataForClass($, 'IllegalTimeZoneException', $.p41);
|
|
69
69
|
IllegalTimeZoneExceptionClass = $;
|
|
70
70
|
}
|
|
71
71
|
return IllegalTimeZoneExceptionClass;
|
|
72
72
|
}
|
|
73
73
|
function init_kotlinx_datetime_DateTimeArithmeticException(_this__u8e3s4) {
|
|
74
|
-
captureStack(_this__u8e3s4, _this__u8e3s4.
|
|
74
|
+
captureStack(_this__u8e3s4, _this__u8e3s4.v41_1);
|
|
75
75
|
}
|
|
76
76
|
var DateTimeArithmeticExceptionClass;
|
|
77
77
|
function DateTimeArithmeticException() {
|
|
78
78
|
if (DateTimeArithmeticExceptionClass === VOID) {
|
|
79
79
|
class $ extends RuntimeException() {
|
|
80
|
-
static
|
|
80
|
+
static w41() {
|
|
81
81
|
var $this = this.w3();
|
|
82
82
|
init_kotlinx_datetime_DateTimeArithmeticException($this);
|
|
83
83
|
return $this;
|
|
84
84
|
}
|
|
85
|
-
static
|
|
86
|
-
var $this = this.
|
|
85
|
+
static x41(message, cause) {
|
|
86
|
+
var $this = this.pd(message, cause);
|
|
87
87
|
init_kotlinx_datetime_DateTimeArithmeticException($this);
|
|
88
88
|
return $this;
|
|
89
89
|
}
|
|
90
90
|
}
|
|
91
|
-
initMetadataForClass($, 'DateTimeArithmeticException', $.
|
|
91
|
+
initMetadataForClass($, 'DateTimeArithmeticException', $.w41);
|
|
92
92
|
DateTimeArithmeticExceptionClass = $;
|
|
93
93
|
}
|
|
94
94
|
return DateTimeArithmeticExceptionClass;
|
|
@@ -66,10 +66,10 @@ function plus(_this__u8e3s4, value, unit) {
|
|
|
66
66
|
return plus_0(_this__u8e3s4, fromInt(value), unit);
|
|
67
67
|
}
|
|
68
68
|
function getIsoDateFormat() {
|
|
69
|
-
return Formats_getInstance().
|
|
69
|
+
return Formats_getInstance().z41();
|
|
70
70
|
}
|
|
71
71
|
function format(_this__u8e3s4, format) {
|
|
72
|
-
return format.
|
|
72
|
+
return format.a42(_this__u8e3s4);
|
|
73
73
|
}
|
|
74
74
|
function atTime(_this__u8e3s4, time) {
|
|
75
75
|
return new (LocalDateTime())(_this__u8e3s4, time);
|
|
@@ -80,19 +80,19 @@ function Companion() {
|
|
|
80
80
|
class $ {
|
|
81
81
|
constructor() {
|
|
82
82
|
Companion_instance = this;
|
|
83
|
-
this.
|
|
84
|
-
this.
|
|
85
|
-
this.
|
|
86
|
-
this.
|
|
83
|
+
this.r4f_1 = new (LocalDate())(-999999999, 1, 1);
|
|
84
|
+
this.s4f_1 = new (LocalDate())(999999999, 12, 31);
|
|
85
|
+
this.t4f_1 = -365243219162n;
|
|
86
|
+
this.u4f_1 = 365241780471n;
|
|
87
87
|
}
|
|
88
|
-
|
|
89
|
-
return format.
|
|
88
|
+
i4h(input, format) {
|
|
89
|
+
return format.gp(input);
|
|
90
90
|
}
|
|
91
|
-
|
|
91
|
+
v4f(input, format, $super) {
|
|
92
92
|
format = format === VOID ? getIsoDateFormat() : format;
|
|
93
|
-
return $super === VOID ? this.
|
|
93
|
+
return $super === VOID ? this.i4h(input, format) : $super.i4h.call(this, input, format);
|
|
94
94
|
}
|
|
95
|
-
|
|
95
|
+
j4h(epochDays) {
|
|
96
96
|
// Inline function 'kotlin.require' call
|
|
97
97
|
if (!(-365243219162n <= epochDays ? epochDays <= 365241780471n : false)) {
|
|
98
98
|
var message = 'Invalid date: epoch day ' + epochDays.toString() + ' is outside the boundaries of LocalDate';
|
|
@@ -186,9 +186,9 @@ function Formats() {
|
|
|
186
186
|
class $ {
|
|
187
187
|
constructor() {
|
|
188
188
|
Formats_instance = this;
|
|
189
|
-
this.
|
|
189
|
+
this.y41_1 = get_ISO_DATE_BASIC();
|
|
190
190
|
}
|
|
191
|
-
|
|
191
|
+
z41() {
|
|
192
192
|
return get_ISO_DATE();
|
|
193
193
|
}
|
|
194
194
|
}
|
|
@@ -215,37 +215,37 @@ function LocalDate() {
|
|
|
215
215
|
class $ {
|
|
216
216
|
constructor(year, month, day) {
|
|
217
217
|
Companion_getInstance();
|
|
218
|
-
this.
|
|
219
|
-
this.
|
|
220
|
-
this.
|
|
218
|
+
this.g44_1 = year;
|
|
219
|
+
this.h44_1 = day;
|
|
220
|
+
this.i44_1 = month;
|
|
221
221
|
// Inline function 'kotlin.require' call
|
|
222
|
-
if (!isValidYear(this.
|
|
222
|
+
if (!isValidYear(this.g44_1)) {
|
|
223
223
|
var message = 'Invalid date: the year is out of range';
|
|
224
224
|
throw IllegalArgumentException().s2(toString(message));
|
|
225
225
|
}
|
|
226
|
-
var containsArg = this.
|
|
226
|
+
var containsArg = this.i44_1;
|
|
227
227
|
// Inline function 'kotlin.require' call
|
|
228
228
|
if (!(1 <= containsArg ? containsArg <= 12 : false)) {
|
|
229
|
-
var message_0 = 'Invalid date: month must be a number between 1 and 12, got ' + this.
|
|
229
|
+
var message_0 = 'Invalid date: month must be a number between 1 and 12, got ' + this.i44_1;
|
|
230
230
|
throw IllegalArgumentException().s2(toString(message_0));
|
|
231
231
|
}
|
|
232
|
-
var containsArg_0 = this.
|
|
232
|
+
var containsArg_0 = this.h44_1;
|
|
233
233
|
// Inline function 'kotlin.require' call
|
|
234
234
|
if (!(1 <= containsArg_0 ? containsArg_0 <= 31 : false)) {
|
|
235
|
-
var message_1 = 'Invalid date: day of month must be a number between 1 and 31, got ' + this.
|
|
235
|
+
var message_1 = 'Invalid date: day of month must be a number between 1 and 31, got ' + this.h44_1;
|
|
236
236
|
throw IllegalArgumentException().s2(toString(message_1));
|
|
237
237
|
}
|
|
238
|
-
if (this.
|
|
239
|
-
if (this.
|
|
240
|
-
throw IllegalArgumentException().s2("Invalid date 'February 29' as '" + this.
|
|
238
|
+
if (this.h44_1 > 28 && this.h44_1 > monthLength(this.i44_1, isLeapYear(this.g44_1))) {
|
|
239
|
+
if (this.h44_1 === 29) {
|
|
240
|
+
throw IllegalArgumentException().s2("Invalid date 'February 29' as '" + this.g44_1 + "' is not a leap year");
|
|
241
241
|
} else {
|
|
242
|
-
throw IllegalArgumentException().s2("Invalid date '" + Month(month).toString() + ' ' + this.
|
|
242
|
+
throw IllegalArgumentException().s2("Invalid date '" + Month(month).toString() + ' ' + this.h44_1 + "'");
|
|
243
243
|
}
|
|
244
244
|
}
|
|
245
245
|
}
|
|
246
|
-
|
|
247
|
-
var y = fromInt(this.
|
|
248
|
-
var m = fromInt(this.
|
|
246
|
+
k4h() {
|
|
247
|
+
var y = fromInt(this.g44_1);
|
|
248
|
+
var m = fromInt(this.i44_1);
|
|
249
249
|
var total = 0n;
|
|
250
250
|
total = add(total, multiply(numberToLong(365), y));
|
|
251
251
|
if (y >= 0n) {
|
|
@@ -284,12 +284,12 @@ function LocalDate() {
|
|
|
284
284
|
total = add(tmp_5, tmp$ret$10);
|
|
285
285
|
var tmp0 = total;
|
|
286
286
|
// Inline function 'kotlin.Long.plus' call
|
|
287
|
-
var other = this.
|
|
287
|
+
var other = this.h44_1 - 1 | 0;
|
|
288
288
|
total = add(tmp0, fromInt(other));
|
|
289
289
|
if (m > 2n) {
|
|
290
290
|
var _unary__edvuaz = total;
|
|
291
291
|
total = subtract(_unary__edvuaz, get_ONE());
|
|
292
|
-
if (!isLeapYear(this.
|
|
292
|
+
if (!isLeapYear(this.g44_1)) {
|
|
293
293
|
var _unary__edvuaz_0 = total;
|
|
294
294
|
total = subtract(_unary__edvuaz_0, get_ONE());
|
|
295
295
|
}
|
|
@@ -298,12 +298,12 @@ function LocalDate() {
|
|
|
298
298
|
var this_5 = total;
|
|
299
299
|
return subtract(this_5, fromInt(719528));
|
|
300
300
|
}
|
|
301
|
-
|
|
302
|
-
return Month(this.
|
|
301
|
+
j44() {
|
|
302
|
+
return Month(this.i44_1);
|
|
303
303
|
}
|
|
304
|
-
|
|
304
|
+
b44() {
|
|
305
305
|
// Inline function 'kotlin.Long.plus' call
|
|
306
|
-
var this_0 = this.
|
|
306
|
+
var this_0 = this.k4h();
|
|
307
307
|
// Inline function 'kotlin.mod' call
|
|
308
308
|
var tmp0 = add(this_0, fromInt(3));
|
|
309
309
|
// Inline function 'kotlin.mod' call
|
|
@@ -313,30 +313,30 @@ function LocalDate() {
|
|
|
313
313
|
var dow0 = convertToInt(tmp$ret$1);
|
|
314
314
|
return DayOfWeek(dow0 + 1 | 0);
|
|
315
315
|
}
|
|
316
|
-
|
|
317
|
-
return (firstDayOfYear(this.
|
|
316
|
+
d44() {
|
|
317
|
+
return (firstDayOfYear(this.j44(), isLeapYear(this.g44_1)) + this.h44_1 | 0) - 1 | 0;
|
|
318
318
|
}
|
|
319
|
-
|
|
320
|
-
var y = compareTo(this.
|
|
319
|
+
l4h(other) {
|
|
320
|
+
var y = compareTo(this.g44_1, other.g44_1);
|
|
321
321
|
if (!(y === 0)) {
|
|
322
322
|
return y;
|
|
323
323
|
}
|
|
324
|
-
var m = compareTo(this.
|
|
324
|
+
var m = compareTo(this.i44_1, other.i44_1);
|
|
325
325
|
if (!(m === 0)) {
|
|
326
326
|
return m;
|
|
327
327
|
}
|
|
328
|
-
return compareTo(this.
|
|
328
|
+
return compareTo(this.h44_1, other.h44_1);
|
|
329
329
|
}
|
|
330
330
|
d(other) {
|
|
331
|
-
return this.
|
|
331
|
+
return this.l4h(other instanceof LocalDate() ? other : THROW_CCE());
|
|
332
332
|
}
|
|
333
|
-
|
|
333
|
+
m4h(monthsToAdd) {
|
|
334
334
|
if (monthsToAdd === 0n) {
|
|
335
335
|
return this;
|
|
336
336
|
}
|
|
337
|
-
var tmp0 = multiply(numberToLong(this.
|
|
337
|
+
var tmp0 = multiply(numberToLong(this.g44_1), 12n);
|
|
338
338
|
// Inline function 'kotlin.Long.plus' call
|
|
339
|
-
var other = this.
|
|
339
|
+
var other = this.i44_1 - 1 | 0;
|
|
340
340
|
var monthCount = add(tmp0, fromInt(other));
|
|
341
341
|
var calcMonths = safeAdd(monthCount, monthsToAdd);
|
|
342
342
|
// Inline function 'kotlin.floorDiv' call
|
|
@@ -359,10 +359,10 @@ function LocalDate() {
|
|
|
359
359
|
var r = modulo(calcMonths, other_1);
|
|
360
360
|
var tmp$ret$4 = add(r, other_1 & shiftRight((r ^ other_1) & (r | negate(r)), 63));
|
|
361
361
|
var newMonth = convertToInt(tmp$ret$4) + 1 | 0;
|
|
362
|
-
return resolvePreviousValid(this, convertToInt(newYear), newMonth, this.
|
|
362
|
+
return resolvePreviousValid(this, convertToInt(newYear), newMonth, this.h44_1);
|
|
363
363
|
}
|
|
364
|
-
|
|
365
|
-
return daysToAdd === 0n ? this : Companion_getInstance().
|
|
364
|
+
n4h(daysToAdd) {
|
|
365
|
+
return daysToAdd === 0n ? this : Companion_getInstance().j4h(safeAdd(this.k4h(), daysToAdd));
|
|
366
366
|
}
|
|
367
367
|
equals(other) {
|
|
368
368
|
var tmp;
|
|
@@ -371,7 +371,7 @@ function LocalDate() {
|
|
|
371
371
|
} else {
|
|
372
372
|
var tmp_0;
|
|
373
373
|
if (other instanceof LocalDate()) {
|
|
374
|
-
tmp_0 = this.
|
|
374
|
+
tmp_0 = this.l4h(other) === 0;
|
|
375
375
|
} else {
|
|
376
376
|
tmp_0 = false;
|
|
377
377
|
}
|
|
@@ -380,13 +380,13 @@ function LocalDate() {
|
|
|
380
380
|
return tmp;
|
|
381
381
|
}
|
|
382
382
|
hashCode() {
|
|
383
|
-
var yearValue = this.
|
|
384
|
-
var monthValue = this.
|
|
385
|
-
var dayValue = this.
|
|
383
|
+
var yearValue = this.g44_1;
|
|
384
|
+
var monthValue = this.i44_1;
|
|
385
|
+
var dayValue = this.h44_1;
|
|
386
386
|
return yearValue & -2048 ^ (((yearValue << 11) + (monthValue << 6) | 0) + dayValue | 0);
|
|
387
387
|
}
|
|
388
388
|
toString() {
|
|
389
|
-
return format(this, Formats_getInstance().
|
|
389
|
+
return format(this, Formats_getInstance().z41());
|
|
390
390
|
}
|
|
391
391
|
}
|
|
392
392
|
initMetadataForClass($, 'LocalDate', VOID, VOID, [Comparable()], VOID, VOID, {0: LocalDateSerializer_getInstance});
|
|
@@ -402,10 +402,10 @@ function plus_0(_this__u8e3s4, value, unit) {
|
|
|
402
402
|
try {
|
|
403
403
|
var tmp_0;
|
|
404
404
|
if (unit instanceof DayBased()) {
|
|
405
|
-
tmp_0 = _this__u8e3s4.
|
|
405
|
+
tmp_0 = _this__u8e3s4.n4h(safeMultiply(value, fromInt(unit.q40_1)));
|
|
406
406
|
} else {
|
|
407
407
|
if (unit instanceof MonthBased()) {
|
|
408
|
-
tmp_0 = _this__u8e3s4.
|
|
408
|
+
tmp_0 = _this__u8e3s4.m4h(safeMultiply(value, fromInt(unit.r40_1)));
|
|
409
409
|
} else {
|
|
410
410
|
noWhenBranchMatchedException();
|
|
411
411
|
}
|
|
@@ -415,11 +415,11 @@ function plus_0(_this__u8e3s4, value, unit) {
|
|
|
415
415
|
var tmp_1;
|
|
416
416
|
if ($p instanceof ArithmeticException()) {
|
|
417
417
|
var e = $p;
|
|
418
|
-
throw DateTimeArithmeticException().
|
|
418
|
+
throw DateTimeArithmeticException().x41('Arithmetic overflow when adding a value to a date', e);
|
|
419
419
|
} else {
|
|
420
420
|
if ($p instanceof IllegalArgumentException()) {
|
|
421
421
|
var e_0 = $p;
|
|
422
|
-
throw DateTimeArithmeticException().
|
|
422
|
+
throw DateTimeArithmeticException().x41('Boundaries of LocalDate exceeded when adding a value', e_0);
|
|
423
423
|
} else {
|
|
424
424
|
throw $p;
|
|
425
425
|
}
|