@attocash/commons-test 6.0.0 → 6.1.0
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/format/DateTimeFormatBuilder.mjs +4 -4
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/format/LocalDateFormat.mjs +4 -4
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/format/LocalDateTimeFormat.mjs +6 -6
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/format/LocalTimeFormat.mjs +3 -3
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/format/UtcOffsetFormat.mjs +3 -3
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/format/YearMonthFormat.mjs +3 -3
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/Builder.mjs +1 -1
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/parser/Parser.mjs +1 -1
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/serializers/DateTimeUnitSerializers.mjs +73 -73
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/serializers/DateTimeUnitSerializers.mjs.map +1 -1
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/serializers/LocalDateSerializers.mjs +5 -5
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/serializers/LocalDateSerializers.mjs.map +1 -1
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/serializers/LocalDateTimeSerializers.mjs +5 -5
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/serializers/LocalDateTimeSerializers.mjs.map +1 -1
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/serializers/LocalTimeSerializers.mjs +5 -5
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/serializers/LocalTimeSerializers.mjs.map +1 -1
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/serializers/TimeZoneSerializers.mjs +16 -16
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/serializers/TimeZoneSerializers.mjs.map +1 -1
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/serializers/YearMonthSerializers.mjs +5 -5
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/serializers/YearMonthSerializers.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/AttoAccount.mjs +57 -57
- package/commons-commons-core/cash/atto/commons/AttoAccount.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/AttoAccountEntry.mjs +65 -65
- package/commons-commons-core/cash/atto/commons/AttoAccountEntry.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/AttoAddress.mjs +7 -7
- package/commons-commons-core/cash/atto/commons/AttoAddress.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/AttoAlgorithm.mjs +3 -3
- package/commons-commons-core/cash/atto/commons/AttoAmount.mjs +7 -7
- package/commons-commons-core/cash/atto/commons/AttoAmount.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/AttoBlock.mjs +274 -274
- package/commons-commons-core/cash/atto/commons/AttoBlock.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/AttoBufferExtensions.mjs +6 -6
- package/commons-commons-core/cash/atto/commons/AttoChallenge.mjs +6 -6
- package/commons-commons-core/cash/atto/commons/AttoChallenge.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/AttoFuture.js.mjs +3 -3
- package/commons-commons-core/cash/atto/commons/AttoHash.mjs +6 -6
- package/commons-commons-core/cash/atto/commons/AttoHash.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/AttoHeight.mjs +7 -7
- package/commons-commons-core/cash/atto/commons/AttoHeight.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/AttoInstant.mjs +13 -13
- package/commons-commons-core/cash/atto/commons/AttoInstant.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/AttoMnemonic.mjs +2 -2
- package/commons-commons-core/cash/atto/commons/AttoPrivateKey.mjs +1 -1
- package/commons-commons-core/cash/atto/commons/AttoPublicKey.mjs +6 -6
- package/commons-commons-core/cash/atto/commons/AttoPublicKey.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/AttoReceivable.mjs +53 -53
- package/commons-commons-core/cash/atto/commons/AttoReceivable.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/AttoSeed.js.mjs +3 -3
- package/commons-commons-core/cash/atto/commons/AttoSignature.mjs +6 -6
- package/commons-commons-core/cash/atto/commons/AttoSignature.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/AttoTransaction.mjs +27 -27
- package/commons-commons-core/cash/atto/commons/AttoTransaction.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/AttoVersion.mjs +7 -7
- package/commons-commons-core/cash/atto/commons/AttoVersion.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/AttoVote.mjs +41 -41
- package/commons-commons-core/cash/atto/commons/AttoVote.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/AttoWork.mjs +6 -6
- package/commons-commons-core/cash/atto/commons/AttoWork.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/AttoWorkTarget.mjs +5 -5
- package/commons-commons-core/cash/atto/commons/AttoWorkTarget.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/Extensions.mjs +2 -2
- package/commons-commons-node/cash/atto/commons/node/AttoNodeClientAsync.mjs +66 -66
- package/commons-commons-node/cash/atto/commons/node/AttoNodeOperations.mjs +85 -85
- package/commons-commons-node/cash/atto/commons/node/AttoNodeOperations.mjs.map +1 -1
- package/commons-commons-node/cash/atto/commons/node/NodeExtensions.mjs +52 -25
- package/commons-commons-node/cash/atto/commons/node/NodeExtensions.mjs.map +1 -1
- package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountEntryMonitorAsync.mjs +9 -9
- package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountEntryMonitorAsync.mjs.map +1 -1
- package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountEntryMonitorAsyncBuilder.web.mjs +1 -1
- package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountMonitor.mjs +5 -5
- package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountMonitorAsync.mjs +9 -9
- package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountMonitorAsync.mjs.map +1 -1
- package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountMonitorAsyncBuilder.web.mjs +1 -1
- package/commons-commons-node/cash/atto/commons/node/monitor/AttoHeightMonitor.mjs +13 -13
- package/commons-commons-node/cash/atto/commons/node/monitor/AttoTransactionMonitorAsync.mjs +9 -9
- package/commons-commons-node/cash/atto/commons/node/monitor/AttoTransactionMonitorAsync.mjs.map +1 -1
- package/commons-commons-node/cash/atto/commons/node/monitor/AttoTransactionMonitorAsyncBuilder.web.mjs +1 -1
- package/commons-commons-node-remote/cash/atto/commons/node/AttoNodeClientRemote.mjs +389 -642
- package/commons-commons-node-remote/cash/atto/commons/node/AttoNodeClientRemote.mjs.map +1 -1
- package/commons-commons-test/cash/atto/commons/node/AttoNodeMock.mjs +1 -1
- package/commons-commons-test/cash/atto/commons/node/AttoNodeMock.mjs.map +1 -1
- package/commons-commons-test/cash/atto/commons/node/AttoNodeMockAsync.js.mjs +1 -1
- package/commons-commons-test/cash/atto/commons/node/AttoNodeMockAsync.mjs +1 -1
- package/commons-commons-test/cash/atto/commons/node/AttoNodeMockAsyncBuilder.js.mjs +1 -1
- package/commons-commons-test/cash/atto/commons/node/AttoWorkerMockAsync.js.mjs +1 -1
- package/commons-commons-test/cash/atto/commons/node/AttoWorkerMockAsync.mjs +1 -1
- package/commons-commons-test/cash/atto/commons/node/AttoWorkerMockAsyncBuilder.js.mjs +1 -1
- package/commons-commons-worker/cash/atto/commons/worker/AttoWorkerAsync.mjs +2 -2
- package/commons-commons-worker/cash/atto/commons/worker/AttoWorkerCache.mjs +18 -18
- package/commons-commons-worker/cash/atto/commons/worker/AttoWorkerCache.mjs.map +1 -1
- package/commons-commons-worker/cash/atto/commons/worker/AttoWorkerCpu.mjs +9 -9
- package/commons-commons-worker/cash/atto/commons/worker/AttoWorkerCpu.mjs.map +1 -1
- package/commons-commons-worker/cash/atto/commons/worker/AttoWorkerOperations.mjs +40 -40
- package/commons-commons-worker/cash/atto/commons/worker/AttoWorkerOperations.mjs.map +1 -1
- package/commons-commons-worker-remote/cash/atto/commons/worker/AttoWorkerAsyncBuilder.web.mjs +1 -1
- package/commons-commons-worker-remote/cash/atto/commons/worker/AttoWorkerRemote.mjs +31 -25
- package/commons-commons-worker-remote/cash/atto/commons/worker/AttoWorkerRemote.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/text/stringJs.mjs +6 -6
- package/kotlin-kotlin-stdlib/kotlin/text/stringJs.mjs.map +1 -1
- package/kotlinx-atomicfu/kotlinx/atomicfu/AtomicFU.common.mjs +5 -5
- package/kotlinx-atomicfu/kotlinx/atomicfu/AtomicFU.common.mjs.map +1 -1
- package/kotlinx-atomicfu/kotlinx/atomicfu/AtomicFU.mjs +8 -8
- package/kotlinx-atomicfu/kotlinx/atomicfu/AtomicFU.mjs.map +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/AbstractCoroutine.mjs +25 -25
- package/kotlinx-coroutines-core/kotlinx/coroutines/AbstractCoroutine.mjs.map +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/Builders.common.mjs +16 -16
- package/kotlinx-coroutines-core/kotlinx/coroutines/Builders.common.mjs.map +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/CancellableContinuation.mjs +7 -7
- package/kotlinx-coroutines-core/kotlinx/coroutines/CancellableContinuation.mjs.map +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/CancellableContinuationImpl.mjs +168 -168
- package/kotlinx-coroutines-core/kotlinx/coroutines/CancellableContinuationImpl.mjs.map +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/CompletableDeferred.mjs +10 -10
- package/kotlinx-coroutines-core/kotlinx/coroutines/CompletableDeferred.mjs.map +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/CompletionState.mjs +11 -11
- package/kotlinx-coroutines-core/kotlinx/coroutines/CompletionState.mjs.map +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/CoroutineContext.mjs +3 -3
- package/kotlinx-coroutines-core/kotlinx/coroutines/CoroutineContext.mjs.map +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/CoroutineDispatcher.mjs +5 -5
- package/kotlinx-coroutines-core/kotlinx/coroutines/CoroutineDispatcher.mjs.map +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/CoroutineExceptionHandler.mjs +2 -2
- package/kotlinx-coroutines-core/kotlinx/coroutines/CoroutineExceptionHandler.mjs.map +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/CoroutineName.mjs +4 -4
- package/kotlinx-coroutines-core/kotlinx/coroutines/CoroutineName.mjs.map +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/CoroutineScope.mjs +5 -5
- package/kotlinx-coroutines-core/kotlinx/coroutines/CoroutineScope.mjs.map +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/CoroutineStart.mjs +2 -2
- package/kotlinx-coroutines-core/kotlinx/coroutines/CoroutineStart.mjs.map +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/Delay.mjs +3 -3
- package/kotlinx-coroutines-core/kotlinx/coroutines/Delay.mjs.map +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/DispatchedTask.mjs +42 -42
- package/kotlinx-coroutines-core/kotlinx/coroutines/DispatchedTask.mjs.map +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/Dispatchers.mjs +18 -18
- package/kotlinx-coroutines-core/kotlinx/coroutines/Dispatchers.mjs.map +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/EventLoop.common.mjs +27 -27
- package/kotlinx-coroutines-core/kotlinx/coroutines/EventLoop.common.mjs.map +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/EventLoop.mjs +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/EventLoop.mjs.map +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/Exceptions.common.mjs +4 -4
- package/kotlinx-coroutines-core/kotlinx/coroutines/Exceptions.common.mjs.map +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/Exceptions.mjs +6 -6
- package/kotlinx-coroutines-core/kotlinx/coroutines/JSDispatcher.mjs +92 -92
- package/kotlinx-coroutines-core/kotlinx/coroutines/JSDispatcher.mjs.map +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/Job.mjs +14 -14
- package/kotlinx-coroutines-core/kotlinx/coroutines/Job.mjs.map +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/JobSupport.mjs +315 -315
- package/kotlinx-coroutines-core/kotlinx/coroutines/JobSupport.mjs.map +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/MainCoroutineDispatcher.mjs +5 -5
- package/kotlinx-coroutines-core/kotlinx/coroutines/MainCoroutineDispatcher.mjs.map +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/Promise.mjs +5 -5
- package/kotlinx-coroutines-core/kotlinx/coroutines/Promise.mjs.map +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/Supervisor.mjs +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/Supervisor.mjs.map +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/Unconfined.mjs +4 -4
- package/kotlinx-coroutines-core/kotlinx/coroutines/Unconfined.mjs.map +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/channels/BufferedChannel.mjs +435 -435
- package/kotlinx-coroutines-core/kotlinx/coroutines/channels/BufferedChannel.mjs.map +1 -1
- 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/ChannelCoroutine.mjs.map +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/channels/Channels.common.mjs +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/channels/Channels.common.mjs.map +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/channels/Produce.mjs.map +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Builders.mjs +12 -12
- 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/Flow.mjs +2 -2
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Reduce.mjs +16 -16
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Share.mjs +9 -9
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/SharedFlow.mjs +45 -45
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/StateFlow.mjs +48 -48
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/StateFlow.mjs.map +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/AbstractSharedFlow.mjs +24 -24
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/ChannelFlow.mjs +56 -56
- 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 +33 -33
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/Merge.mjs.map +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/SafeCollector.common.mjs +4 -4
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/SafeCollector.common.mjs.map +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/SafeCollector.mjs +8 -8
- 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 +46 -46
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/ConcurrentLinkedList.mjs.map +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/CoroutineExceptionHandlerImpl.common.mjs +2 -2
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/CoroutineExceptionHandlerImpl.common.mjs.map +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/CoroutineExceptionHandlerImpl.mjs +2 -2
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/DispatchedContinuation.mjs +71 -71
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/DispatchedContinuation.mjs.map +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/LimitedDispatcher.mjs +37 -37
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/LimitedDispatcher.mjs.map +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/LinkedList.mjs +23 -23
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/LinkedList.mjs.map +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/LockFreeTaskQueue.mjs +72 -72
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/NamedDispatcher.mjs +10 -10
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/NamedDispatcher.mjs.map +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/OnUndeliveredElement.mjs +3 -3
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/Scopes.mjs +11 -11
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/Scopes.mjs.map +1 -1
- 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 +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/intrinsics/Cancellable.mjs.map +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/intrinsics/Undispatched.mjs +9 -9
- package/kotlinx-coroutines-core/kotlinx/coroutines/intrinsics/Undispatched.mjs.map +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/selects/Select.mjs +15 -15
- package/kotlinx-coroutines-core/kotlinx/coroutines/selects/Select.mjs.map +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/sync/Mutex.mjs +50 -50
- package/kotlinx-coroutines-core/kotlinx/coroutines/sync/Mutex.mjs.map +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/sync/Semaphore.mjs +61 -61
- package/kotlinx-coroutines-core/kotlinx/coroutines/sync/Semaphore.mjs.map +1 -1
- package/kotlinx-io-kotlinx-io-bytestring/kotlinx/io/bytestring/ByteString.mjs +34 -34
- package/kotlinx-io-kotlinx-io-bytestring/kotlinx/io/bytestring/unsafe/UnsafeByteStringOperations.mjs +2 -2
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/-PlatformJs.mjs +11 -11
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/Buffer.mjs +187 -187
- 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 +20 -20
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/RealSource.mjs +53 -53
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/Segment.mjs +149 -149
- 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/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/PolymorphicSerializer.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/SealedSerializer.mjs +39 -39
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/SealedSerializer.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/SerializationExceptions.mjs +18 -18
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/SerializationExceptions.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/Serializers.mjs +6 -6
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/Serializers.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/SerializersCache.mjs +6 -6
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/SerializersCache.mjs.map +1 -1
- 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/builtins/BuiltinSerializers.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/descriptors/ContextAware.mjs +33 -33
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/descriptors/ContextAware.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/descriptors/SerialDescriptor.mjs +18 -18
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/descriptors/SerialDescriptor.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/descriptors/SerialDescriptors.mjs +65 -65
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/descriptors/SerialDescriptors.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/encoding/AbstractDecoder.mjs +55 -55
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/encoding/AbstractDecoder.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/encoding/AbstractEncoder.mjs +65 -65
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/encoding/AbstractEncoder.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/encoding/Decoding.mjs +2 -2
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/encoding/Decoding.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/encoding/Encoding.mjs +2 -2
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/encoding/Encoding.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/AbstractPolymorphicSerializer.mjs +26 -26
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/AbstractPolymorphicSerializer.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/BuiltInSerializers.mjs +38 -38
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/BuiltInSerializers.mjs.map +1 -1
- 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 +231 -231
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/CollectionSerializers.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/ElementMarker.mjs +22 -22
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/ElementMarker.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Enums.mjs +33 -33
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Enums.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/InlineClassDescriptor.mjs +16 -16
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/InlineClassDescriptor.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/NoOpEncoder.mjs +18 -18
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/NoOpEncoder.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/NothingSerialDescriptor.mjs +16 -16
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/NothingSerialDescriptor.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/NullableSerializer.mjs +43 -43
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/NullableSerializer.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/ObjectSerializer.mjs +19 -19
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/ObjectSerializer.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Platform.common.mjs +5 -5
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Platform.common.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Platform.mjs +8 -8
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Platform.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/PluginExceptions.mjs +2 -2
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/PluginExceptions.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/PluginGeneratedSerialDescriptor.mjs +70 -70
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/PluginGeneratedSerialDescriptor.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/PrimitiveArraysSerializers.mjs +444 -444
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/PrimitiveArraysSerializers.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Primitives.mjs +114 -114
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Primitives.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Tagged.mjs +106 -106
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Tagged.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Tuples.mjs +90 -90
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Tuples.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/ValueClasses.mjs +48 -48
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/ValueClasses.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/modules/SerializersModule.mjs +30 -30
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/modules/SerializersModule.mjs.map +1 -1
- 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/Json.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/JsonConfiguration.mjs +18 -18
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/JsonElement.mjs +69 -69
- 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 +151 -151
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/JsonElementSerializers.mjs.map +1 -1
- 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/JsonElementMarker.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonExceptions.mjs +14 -14
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonExceptions.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonNamesMap.mjs +20 -20
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonNamesMap.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonPath.mjs +39 -39
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonPath.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonSerializersModuleValidator.mjs +16 -16
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonSerializersModuleValidator.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonStreams.mjs +2 -2
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonStreams.mjs.map +1 -1
- 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 +61 -61
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/Polymorphic.mjs +6 -6
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/Polymorphic.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/SchemaCache.mjs +8 -8
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/StreamingJsonDecoder.mjs +176 -176
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/StreamingJsonDecoder.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/StreamingJsonEncoder.mjs +139 -139
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/StreamingJsonEncoder.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/StringJsonLexer.mjs +51 -51
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/TreeJsonDecoder.mjs +214 -214
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/TreeJsonDecoder.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/WriteMode.mjs +9 -9
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/WriteMode.mjs.map +1 -1
- package/ktor-ktor-client-content-negotiation/io/ktor/client/plugins/contentnegotiation/ContentNegotiation.mjs +70 -70
- 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 +71 -71
- package/ktor-ktor-client-core/io/ktor/client/HttpClient.mjs.map +1 -1
- package/ktor-ktor-client-core/io/ktor/client/HttpClientConfig.mjs +36 -36
- 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/DelegatedCall.mjs.map +1 -1
- package/ktor-ktor-client-core/io/ktor/client/call/HttpClientCall.mjs +48 -48
- package/ktor-ktor-client-core/io/ktor/client/call/HttpClientCall.mjs.map +1 -1
- package/ktor-ktor-client-core/io/ktor/client/call/SavedCall.mjs +49 -49
- package/ktor-ktor-client-core/io/ktor/client/call/SavedCall.mjs.map +1 -1
- package/ktor-ktor-client-core/io/ktor/client/call/utils.mjs +2 -2
- package/ktor-ktor-client-core/io/ktor/client/content/ObservableContent.mjs +22 -22
- package/ktor-ktor-client-core/io/ktor/client/engine/HttpClientEngine.mjs +49 -49
- package/ktor-ktor-client-core/io/ktor/client/engine/HttpClientEngine.mjs.map +1 -1
- package/ktor-ktor-client-core/io/ktor/client/engine/HttpClientEngineBase.mjs +22 -22
- package/ktor-ktor-client-core/io/ktor/client/engine/HttpClientEngineBase.mjs.map +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 +20 -20
- 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 +32 -32
- package/ktor-ktor-client-core/io/ktor/client/engine/js/JsClientEngine.mjs.map +1 -1
- package/ktor-ktor-client-core/io/ktor/client/engine/js/JsUtils.mjs +16 -16
- package/ktor-ktor-client-core/io/ktor/client/engine/js/browser/BrowserFetch.mjs +9 -9
- package/ktor-ktor-client-core/io/ktor/client/engine/js/compatibility/Utils.mjs +6 -6
- package/ktor-ktor-client-core/io/ktor/client/engine/js/compatibility/Utils.mjs.map +1 -1
- package/ktor-ktor-client-core/io/ktor/client/plugins/BodyProgress.mjs +36 -36
- package/ktor-ktor-client-core/io/ktor/client/plugins/BodyProgress.mjs.map +1 -1
- package/ktor-ktor-client-core/io/ktor/client/plugins/DefaultResponseValidation.mjs +32 -32
- package/ktor-ktor-client-core/io/ktor/client/plugins/DefaultTransform.mjs +66 -66
- package/ktor-ktor-client-core/io/ktor/client/plugins/DefaultTransform.mjs.map +1 -1
- package/ktor-ktor-client-core/io/ktor/client/plugins/HttpCallValidator.mjs +75 -75
- package/ktor-ktor-client-core/io/ktor/client/plugins/HttpClientPlugin.mjs +2 -2
- package/ktor-ktor-client-core/io/ktor/client/plugins/HttpPlainText.mjs +48 -48
- package/ktor-ktor-client-core/io/ktor/client/plugins/HttpRedirect.mjs +33 -33
- package/ktor-ktor-client-core/io/ktor/client/plugins/HttpRequestLifecycle.mjs +28 -28
- package/ktor-ktor-client-core/io/ktor/client/plugins/HttpRequestLifecycle.mjs.map +1 -1
- package/ktor-ktor-client-core/io/ktor/client/plugins/HttpRequestRetry.mjs +108 -108
- package/ktor-ktor-client-core/io/ktor/client/plugins/HttpRequestRetry.mjs.map +1 -1
- package/ktor-ktor-client-core/io/ktor/client/plugins/HttpSend.mjs +52 -52
- package/ktor-ktor-client-core/io/ktor/client/plugins/HttpTimeout.mjs +82 -82
- package/ktor-ktor-client-core/io/ktor/client/plugins/HttpTimeout.mjs.map +1 -1
- package/ktor-ktor-client-core/io/ktor/client/plugins/SaveBody.mjs +23 -23
- 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 +11 -11
- package/ktor-ktor-client-core/io/ktor/client/plugins/api/CommonHooks.mjs +26 -26
- package/ktor-ktor-client-core/io/ktor/client/plugins/api/CommonHooks.mjs.map +1 -1
- package/ktor-ktor-client-core/io/ktor/client/plugins/api/CreatePluginUtils.mjs +13 -13
- package/ktor-ktor-client-core/io/ktor/client/plugins/api/KtorCallContexts.mjs +34 -34
- package/ktor-ktor-client-core/io/ktor/client/plugins/sse/ClientSSESession.mjs +4 -4
- package/ktor-ktor-client-core/io/ktor/client/plugins/sse/ClientSSESession.mjs.map +1 -1
- package/ktor-ktor-client-core/io/ktor/client/plugins/websocket/JsWebSocketSession.mjs +48 -48
- package/ktor-ktor-client-core/io/ktor/client/plugins/websocket/JsWebSocketSession.mjs.map +1 -1
- 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/DefaultHttpRequest.mjs.map +1 -1
- package/ktor-ktor-client-core/io/ktor/client/request/HttpRequest.mjs +56 -56
- package/ktor-ktor-client-core/io/ktor/client/request/HttpRequest.mjs.map +1 -1
- 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/DefaultHttpResponse.mjs.map +1 -1
- package/ktor-ktor-client-core/io/ktor/client/statement/HttpResponse.mjs +9 -9
- package/ktor-ktor-client-core/io/ktor/client/statement/HttpResponsePipeline.mjs +25 -25
- package/ktor-ktor-client-core/io/ktor/client/statement/HttpStatement.mjs +22 -22
- package/ktor-ktor-client-core/io/ktor/client/statement/HttpStatement.mjs.map +1 -1
- package/ktor-ktor-client-core/io/ktor/client/utils/ByteChannelUtils.mjs +16 -16
- 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 +5 -5
- 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 +12 -12
- package/ktor-ktor-http/io/ktor/http/ContentTypes.mjs +89 -89
- package/ktor-ktor-http/io/ktor/http/HeaderValueWithParameters.mjs +18 -18
- package/ktor-ktor-http/io/ktor/http/Headers.mjs +18 -18
- package/ktor-ktor-http/io/ktor/http/HttpHeaderValueParser.mjs +31 -31
- package/ktor-ktor-http/io/ktor/http/HttpHeaders.mjs +115 -115
- package/ktor-ktor-http/io/ktor/http/HttpMessageProperties.mjs +4 -4
- 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 +66 -66
- 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 +59 -59
- 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 +20 -20
- package/ktor-ktor-http/io/ktor/http/URLUtils.mjs +15 -15
- package/ktor-ktor-http/io/ktor/http/Url.mjs +68 -68
- package/ktor-ktor-http/io/ktor/http/Url.mjs.map +1 -1
- package/ktor-ktor-http/io/ktor/http/UrlDecodedParametersBuilder.mjs +25 -25
- 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/CIOMultipartDataBase.mjs.map +1 -1
- package/ktor-ktor-http-cio/io/ktor/http/cio/HttpHeadersMap.mjs +88 -88
- package/ktor-ktor-http-cio/io/ktor/http/cio/HttpParser.mjs +33 -33
- package/ktor-ktor-http-cio/io/ktor/http/cio/Multipart.mjs +50 -50
- package/ktor-ktor-http-cio/io/ktor/http/cio/Multipart.mjs.map +1 -1
- package/ktor-ktor-http-cio/io/ktor/http/cio/internals/AsciiCharTree.mjs +10 -10
- package/ktor-ktor-http-cio/io/ktor/http/cio/internals/CharArrayBuilder.mjs +70 -70
- 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 +4 -4
- 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 +126 -126
- package/ktor-ktor-io/io/ktor/utils/io/ByteChannel.mjs.map +1 -1
- 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 +60 -60
- package/ktor-ktor-io/io/ktor/utils/io/ByteWriteChannel.mjs +2 -2
- package/ktor-ktor-io/io/ktor/utils/io/ByteWriteChannelOperations.mjs +32 -32
- package/ktor-ktor-io/io/ktor/utils/io/ByteWriteChannelOperations.mjs.map +1 -1
- package/ktor-ktor-io/io/ktor/utils/io/CloseToken.mjs +11 -11
- package/ktor-ktor-io/io/ktor/utils/io/CloseToken.mjs.map +1 -1
- 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 +4 -4
- 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 +28 -28
- package/ktor-ktor-io/io/ktor/utils/io/pool/DefaultPool.mjs.map +1 -1
- package/ktor-ktor-io/io/ktor/utils/io/pool/Pool.mjs +3 -3
- package/ktor-ktor-io/io/ktor/utils/io/pool/Pool.mjs.map +1 -1
- package/ktor-ktor-serialization/io/ktor/serialization/ContentConvertException.mjs +5 -5
- package/ktor-ktor-serialization/io/ktor/serialization/ContentConverter.mjs +36 -36
- package/ktor-ktor-serialization-kotlinx/io/ktor/serialization/kotlinx/KotlinxSerializationConverter.mjs +36 -36
- package/ktor-ktor-serialization-kotlinx/io/ktor/serialization/kotlinx/KotlinxSerializationConverter.mjs.map +1 -1
- package/ktor-ktor-serialization-kotlinx/io/ktor/serialization/kotlinx/SerializerLookup.mjs +8 -8
- package/ktor-ktor-serialization-kotlinx/io/ktor/serialization/kotlinx/SerializerLookup.mjs.map +1 -1
- package/ktor-ktor-serialization-kotlinx-json/io/ktor/serialization/kotlinx/json/JsonSupport.mjs +7 -7
- package/ktor-ktor-utils/io/ktor/util/Attributes.mjs +11 -11
- package/ktor-ktor-utils/io/ktor/util/AttributesJs.mjs +15 -15
- package/ktor-ktor-utils/io/ktor/util/CaseInsensitiveMap.mjs +36 -36
- package/ktor-ktor-utils/io/ktor/util/CoroutinesUtils.mjs +1 -1
- package/ktor-ktor-utils/io/ktor/util/CoroutinesUtils.mjs.map +1 -1
- package/ktor-ktor-utils/io/ktor/util/DelegatingMutableSet.mjs +34 -34
- package/ktor-ktor-utils/io/ktor/util/PlatformUtils.mjs +16 -16
- package/ktor-ktor-utils/io/ktor/util/StringValues.mjs +79 -79
- package/ktor-ktor-utils/io/ktor/util/Text.mjs +7 -7
- 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/Date.mjs.map +1 -1
- 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/DebugPipelineContext.mjs.map +1 -1
- package/ktor-ktor-utils/io/ktor/util/pipeline/PhaseContent.mjs +25 -25
- package/ktor-ktor-utils/io/ktor/util/pipeline/Pipeline.mjs +53 -53
- 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 +50 -50
- package/ktor-ktor-utils/io/ktor/util/pipeline/SuspendFunctionGun.mjs.map +1 -1
- package/ktor-ktor-utils/io/ktor/util/reflect/Type.mjs +9 -9
- package/ktor-ktor-websockets/io/ktor/websocket/CloseReason.mjs +16 -16
- package/ktor-ktor-websockets/io/ktor/websocket/FrameCommon.mjs +1 -1
- package/ktor-ktor-websockets/io/ktor/websocket/FrameCommon.mjs.map +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
|
@@ -39,13 +39,13 @@ var CompanionClass;
|
|
|
39
39
|
function Companion() {
|
|
40
40
|
if (CompanionClass === VOID) {
|
|
41
41
|
class $ {
|
|
42
|
-
|
|
42
|
+
c2p(name) {
|
|
43
43
|
switch (name) {
|
|
44
44
|
case 'UTF-8':
|
|
45
45
|
case 'utf-8':
|
|
46
46
|
case 'UTF8':
|
|
47
47
|
case 'utf8':
|
|
48
|
-
return Charsets_getInstance().
|
|
48
|
+
return Charsets_getInstance().l2o_1;
|
|
49
49
|
}
|
|
50
50
|
var tmp;
|
|
51
51
|
var tmp_0;
|
|
@@ -76,11 +76,11 @@ function Companion() {
|
|
|
76
76
|
tmp = name === 'latin1' || name === 'Latin1';
|
|
77
77
|
}
|
|
78
78
|
if (tmp) {
|
|
79
|
-
return Charsets_getInstance().
|
|
79
|
+
return Charsets_getInstance().m2o_1;
|
|
80
80
|
}
|
|
81
81
|
throw IllegalArgumentException().i1('Charset ' + name + ' is not supported');
|
|
82
82
|
}
|
|
83
|
-
|
|
83
|
+
d2p(charset) {
|
|
84
84
|
var tmp;
|
|
85
85
|
switch (charset) {
|
|
86
86
|
case 'UTF-8':
|
|
@@ -145,7 +145,7 @@ function Charset() {
|
|
|
145
145
|
if (CharsetClass === VOID) {
|
|
146
146
|
class $ {
|
|
147
147
|
constructor(_name) {
|
|
148
|
-
this.
|
|
148
|
+
this.n2o_1 = _name;
|
|
149
149
|
}
|
|
150
150
|
equals(other) {
|
|
151
151
|
if (this === other)
|
|
@@ -154,13 +154,13 @@ function Charset() {
|
|
|
154
154
|
return false;
|
|
155
155
|
if (!(other instanceof Charset()))
|
|
156
156
|
THROW_CCE();
|
|
157
|
-
return this.
|
|
157
|
+
return this.n2o_1 === other.n2o_1;
|
|
158
158
|
}
|
|
159
159
|
hashCode() {
|
|
160
|
-
return getStringHashCode(this.
|
|
160
|
+
return getStringHashCode(this.n2o_1);
|
|
161
161
|
}
|
|
162
162
|
toString() {
|
|
163
|
-
return this.
|
|
163
|
+
return this.n2o_1;
|
|
164
164
|
}
|
|
165
165
|
}
|
|
166
166
|
initMetadataForClass($, 'Charset');
|
|
@@ -174,8 +174,8 @@ function Charsets() {
|
|
|
174
174
|
class $ {
|
|
175
175
|
constructor() {
|
|
176
176
|
Charsets_instance = this;
|
|
177
|
-
this.
|
|
178
|
-
this.
|
|
177
|
+
this.l2o_1 = new (CharsetImpl())('UTF-8');
|
|
178
|
+
this.m2o_1 = new (CharsetImpl())('ISO-8859-1');
|
|
179
179
|
}
|
|
180
180
|
}
|
|
181
181
|
initMetadataForObject($, 'Charsets');
|
|
@@ -194,7 +194,7 @@ function CharsetDecoder() {
|
|
|
194
194
|
if (CharsetDecoderClass === VOID) {
|
|
195
195
|
class $ {
|
|
196
196
|
constructor(_charset) {
|
|
197
|
-
this.
|
|
197
|
+
this.e2p_1 = _charset;
|
|
198
198
|
}
|
|
199
199
|
}
|
|
200
200
|
initMetadataForClass($, 'CharsetDecoder');
|
|
@@ -206,9 +206,9 @@ var MalformedInputExceptionClass;
|
|
|
206
206
|
function MalformedInputException() {
|
|
207
207
|
if (MalformedInputExceptionClass === VOID) {
|
|
208
208
|
class $ extends IOException() {
|
|
209
|
-
static
|
|
210
|
-
var $this = this.
|
|
211
|
-
captureStack($this, $this.
|
|
209
|
+
static k2o(message) {
|
|
210
|
+
var $this = this.o2k(message);
|
|
211
|
+
captureStack($this, $this.j2o_1);
|
|
212
212
|
return $this;
|
|
213
213
|
}
|
|
214
214
|
}
|
|
@@ -218,20 +218,20 @@ function MalformedInputException() {
|
|
|
218
218
|
return MalformedInputExceptionClass;
|
|
219
219
|
}
|
|
220
220
|
function get_name(_this__u8e3s4) {
|
|
221
|
-
return _this__u8e3s4.
|
|
221
|
+
return _this__u8e3s4.n2o_1;
|
|
222
222
|
}
|
|
223
223
|
function isSupported(_this__u8e3s4, name) {
|
|
224
|
-
return Companion_instance.
|
|
224
|
+
return Companion_instance.d2p(name);
|
|
225
225
|
}
|
|
226
226
|
function forName(_this__u8e3s4, name) {
|
|
227
|
-
return Companion_instance.
|
|
227
|
+
return Companion_instance.c2p(name);
|
|
228
228
|
}
|
|
229
229
|
var CharsetEncoderClass;
|
|
230
230
|
function CharsetEncoder() {
|
|
231
231
|
if (CharsetEncoderClass === VOID) {
|
|
232
232
|
class $ {
|
|
233
233
|
constructor(_charset) {
|
|
234
|
-
this.
|
|
234
|
+
this.f2p_1 = _charset;
|
|
235
235
|
}
|
|
236
236
|
}
|
|
237
237
|
initMetadataForClass($, 'CharsetEncoder');
|
|
@@ -241,7 +241,7 @@ function CharsetEncoder() {
|
|
|
241
241
|
}
|
|
242
242
|
function decode(_this__u8e3s4, input, dst, max) {
|
|
243
243
|
var decoder = Decoder(get_name(get_charset(_this__u8e3s4)), true);
|
|
244
|
-
var tmp0 = input.
|
|
244
|
+
var tmp0 = input.d2h().n1();
|
|
245
245
|
// Inline function 'kotlin.comparisons.minOf' call
|
|
246
246
|
var b = fromInt(max);
|
|
247
247
|
var count = tmp0 <= b ? tmp0 : b;
|
|
@@ -249,13 +249,13 @@ function decode(_this__u8e3s4, input, dst, max) {
|
|
|
249
249
|
var array = tmp instanceof Int8Array ? tmp : THROW_CCE();
|
|
250
250
|
var tmp_0;
|
|
251
251
|
try {
|
|
252
|
-
tmp_0 = decoder.
|
|
252
|
+
tmp_0 = decoder.g2p(array);
|
|
253
253
|
} catch ($p) {
|
|
254
254
|
var tmp_1;
|
|
255
255
|
if ($p instanceof Error) {
|
|
256
256
|
var cause = $p;
|
|
257
257
|
var tmp0_elvis_lhs = cause.message;
|
|
258
|
-
throw MalformedInputException().
|
|
258
|
+
throw MalformedInputException().k2o('Failed to decode bytes: ' + (tmp0_elvis_lhs == null ? 'no cause provided' : tmp0_elvis_lhs));
|
|
259
259
|
} else {
|
|
260
260
|
throw $p;
|
|
261
261
|
}
|
|
@@ -271,11 +271,11 @@ function encodeImpl(_this__u8e3s4, input, fromIndex, toIndex, dst) {
|
|
|
271
271
|
var message = 'Failed requirement.';
|
|
272
272
|
throw IllegalArgumentException().i1(toString(message));
|
|
273
273
|
}
|
|
274
|
-
if (get_charset_0(_this__u8e3s4).equals(Charsets_getInstance().
|
|
274
|
+
if (get_charset_0(_this__u8e3s4).equals(Charsets_getInstance().m2o_1)) {
|
|
275
275
|
return encodeISO88591(input, fromIndex, toIndex, dst);
|
|
276
276
|
}
|
|
277
277
|
// Inline function 'kotlin.require' call
|
|
278
|
-
if (!(get_charset_0(_this__u8e3s4) === Charsets_getInstance().
|
|
278
|
+
if (!(get_charset_0(_this__u8e3s4) === Charsets_getInstance().l2o_1)) {
|
|
279
279
|
var message_0 = 'Only UTF-8 encoding is supported in JS';
|
|
280
280
|
throw IllegalArgumentException().i1(toString(message_0));
|
|
281
281
|
}
|
|
@@ -285,7 +285,7 @@ function encodeImpl(_this__u8e3s4, input, fromIndex, toIndex, dst) {
|
|
|
285
285
|
var result = encoder.encode(tmp$ret$5);
|
|
286
286
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
287
287
|
// Inline function 'kotlin.js.asDynamic' call
|
|
288
|
-
dst.
|
|
288
|
+
dst.u2i(result);
|
|
289
289
|
return result.length;
|
|
290
290
|
}
|
|
291
291
|
function encodeToByteArray(_this__u8e3s4, input, fromIndex, toIndex) {
|
|
@@ -297,10 +297,10 @@ var CharsetImplClass;
|
|
|
297
297
|
function CharsetImpl() {
|
|
298
298
|
if (CharsetImplClass === VOID) {
|
|
299
299
|
class $ extends Charset() {
|
|
300
|
-
|
|
300
|
+
p2o() {
|
|
301
301
|
return new (CharsetEncoderImpl())(this);
|
|
302
302
|
}
|
|
303
|
-
|
|
303
|
+
o2o() {
|
|
304
304
|
return new (CharsetDecoderImpl())(this);
|
|
305
305
|
}
|
|
306
306
|
}
|
|
@@ -310,10 +310,10 @@ function CharsetImpl() {
|
|
|
310
310
|
return CharsetImplClass;
|
|
311
311
|
}
|
|
312
312
|
function get_charset(_this__u8e3s4) {
|
|
313
|
-
return _this__u8e3s4.
|
|
313
|
+
return _this__u8e3s4.e2p_1;
|
|
314
314
|
}
|
|
315
315
|
function get_charset_0(_this__u8e3s4) {
|
|
316
|
-
return _this__u8e3s4.
|
|
316
|
+
return _this__u8e3s4.f2p_1;
|
|
317
317
|
}
|
|
318
318
|
function encodeToByteArrayImpl(_this__u8e3s4, input, fromIndex, toIndex) {
|
|
319
319
|
fromIndex = fromIndex === VOID ? 0 : fromIndex;
|
|
@@ -336,20 +336,20 @@ function CharsetEncoderImpl() {
|
|
|
336
336
|
class $ extends CharsetEncoder() {
|
|
337
337
|
constructor(charset) {
|
|
338
338
|
super(charset);
|
|
339
|
-
this.
|
|
339
|
+
this.j2p_1 = charset;
|
|
340
340
|
}
|
|
341
341
|
toString() {
|
|
342
|
-
return 'CharsetEncoderImpl(charset=' + this.
|
|
342
|
+
return 'CharsetEncoderImpl(charset=' + this.j2p_1.toString() + ')';
|
|
343
343
|
}
|
|
344
344
|
hashCode() {
|
|
345
|
-
return this.
|
|
345
|
+
return this.j2p_1.hashCode();
|
|
346
346
|
}
|
|
347
347
|
equals(other) {
|
|
348
348
|
if (this === other)
|
|
349
349
|
return true;
|
|
350
350
|
if (!(other instanceof CharsetEncoderImpl()))
|
|
351
351
|
return false;
|
|
352
|
-
if (!this.
|
|
352
|
+
if (!this.j2p_1.equals(other.j2p_1))
|
|
353
353
|
return false;
|
|
354
354
|
return true;
|
|
355
355
|
}
|
|
@@ -365,20 +365,20 @@ function CharsetDecoderImpl() {
|
|
|
365
365
|
class $ extends CharsetDecoder() {
|
|
366
366
|
constructor(charset) {
|
|
367
367
|
super(charset);
|
|
368
|
-
this.
|
|
368
|
+
this.l2p_1 = charset;
|
|
369
369
|
}
|
|
370
370
|
toString() {
|
|
371
|
-
return 'CharsetDecoderImpl(charset=' + this.
|
|
371
|
+
return 'CharsetDecoderImpl(charset=' + this.l2p_1.toString() + ')';
|
|
372
372
|
}
|
|
373
373
|
hashCode() {
|
|
374
|
-
return this.
|
|
374
|
+
return this.l2p_1.hashCode();
|
|
375
375
|
}
|
|
376
376
|
equals(other) {
|
|
377
377
|
if (this === other)
|
|
378
378
|
return true;
|
|
379
379
|
if (!(other instanceof CharsetDecoderImpl()))
|
|
380
380
|
return false;
|
|
381
|
-
if (!this.
|
|
381
|
+
if (!this.l2p_1.equals(other.l2p_1))
|
|
382
382
|
return false;
|
|
383
383
|
return true;
|
|
384
384
|
}
|
|
@@ -23,7 +23,7 @@ function decode_0(_this__u8e3s4, input, max) {
|
|
|
23
23
|
max = max === VOID ? 2147483647 : max;
|
|
24
24
|
var tmp0 = fromInt(max);
|
|
25
25
|
// Inline function 'kotlin.comparisons.minOf' call
|
|
26
|
-
var b = input.
|
|
26
|
+
var b = input.d2h().n1();
|
|
27
27
|
var tmp$ret$0 = tmp0 <= b ? tmp0 : b;
|
|
28
28
|
// Inline function 'kotlin.text.buildString' call
|
|
29
29
|
var capacity = convertToInt(tmp$ret$0);
|
|
@@ -44,9 +44,9 @@ var TooLongLineExceptionClass;
|
|
|
44
44
|
function TooLongLineException() {
|
|
45
45
|
if (TooLongLineExceptionClass === VOID) {
|
|
46
46
|
class $ extends MalformedInputException() {
|
|
47
|
-
static
|
|
48
|
-
var $this = this.
|
|
49
|
-
captureStack($this, $this.
|
|
47
|
+
static l2n(message) {
|
|
48
|
+
var $this = this.k2o(message);
|
|
49
|
+
captureStack($this, $this.k2n_1);
|
|
50
50
|
return $this;
|
|
51
51
|
}
|
|
52
52
|
}
|
|
@@ -21,13 +21,13 @@ function encodeISO88591(input, fromIndex, toIndex, dst) {
|
|
|
21
21
|
if (character > 255) {
|
|
22
22
|
failedToMapError(character);
|
|
23
23
|
}
|
|
24
|
-
dst.
|
|
24
|
+
dst.a2j(toByte(character));
|
|
25
25
|
}
|
|
26
26
|
while (inductionVariable < toIndex);
|
|
27
27
|
return toIndex - fromIndex | 0;
|
|
28
28
|
}
|
|
29
29
|
function failedToMapError(ch) {
|
|
30
|
-
throw MalformedInputException().
|
|
30
|
+
throw MalformedInputException().k2o('The character with unicode point ' + ch + " couldn't be mapped to ISO-8859-1 character");
|
|
31
31
|
}
|
|
32
32
|
//region block: exports
|
|
33
33
|
export {
|
|
@@ -22,10 +22,10 @@ function toKtor$1() {
|
|
|
22
22
|
if (toKtor$1Class === VOID) {
|
|
23
23
|
class $ {
|
|
24
24
|
constructor($this_toKtor) {
|
|
25
|
-
this.
|
|
25
|
+
this.m2p_1 = $this_toKtor;
|
|
26
26
|
}
|
|
27
|
-
|
|
28
|
-
return this.
|
|
27
|
+
g2p(buffer) {
|
|
28
|
+
return this.m2p_1.decode(buffer);
|
|
29
29
|
}
|
|
30
30
|
}
|
|
31
31
|
initMetadataForClass($);
|
|
@@ -32,7 +32,7 @@ function TextDecoderFallback() {
|
|
|
32
32
|
if (TextDecoderFallbackClass === VOID) {
|
|
33
33
|
class $ {
|
|
34
34
|
constructor(encoding, fatal) {
|
|
35
|
-
this.
|
|
35
|
+
this.n2p_1 = fatal;
|
|
36
36
|
// Inline function 'kotlin.text.trim' call
|
|
37
37
|
// Inline function 'kotlin.text.lowercase' call
|
|
38
38
|
// Inline function 'kotlin.js.asDynamic' call
|
|
@@ -43,7 +43,7 @@ function TextDecoderFallback() {
|
|
|
43
43
|
throw IllegalStateException().w4(toString(message));
|
|
44
44
|
}
|
|
45
45
|
}
|
|
46
|
-
|
|
46
|
+
g2p(buffer) {
|
|
47
47
|
// Inline function 'io.ktor.utils.io.core.buildPacket' call
|
|
48
48
|
var builder = new (Buffer())();
|
|
49
49
|
var bytes = buffer instanceof Int8Array ? buffer : THROW_CCE();
|
|
@@ -59,7 +59,7 @@ function TextDecoderFallback() {
|
|
|
59
59
|
var point = toCodePoint(byte);
|
|
60
60
|
if (point < 0) {
|
|
61
61
|
// Inline function 'kotlin.check' call
|
|
62
|
-
if (!!this.
|
|
62
|
+
if (!!this.n2p_1) {
|
|
63
63
|
var message = 'Invalid character: ' + point;
|
|
64
64
|
throw IllegalStateException().w4(toString(message));
|
|
65
65
|
}
|
|
@@ -67,9 +67,9 @@ function TextDecoderFallback() {
|
|
|
67
67
|
continue $l$loop;
|
|
68
68
|
}
|
|
69
69
|
if (point > 255) {
|
|
70
|
-
builder.
|
|
70
|
+
builder.a2j(toByte(point >> 8));
|
|
71
71
|
}
|
|
72
|
-
builder.
|
|
72
|
+
builder.a2j(toByte(point & 255));
|
|
73
73
|
}
|
|
74
74
|
while (inductionVariable < last);
|
|
75
75
|
return decodeToString(readByteArray(builder));
|
|
@@ -8,13 +8,13 @@ import { convertToInty04h231mmjoh as convertToInt } from '../../../../../../kotl
|
|
|
8
8
|
function writeFully(_this__u8e3s4, buffer, offset, length) {
|
|
9
9
|
offset = offset === VOID ? 0 : offset;
|
|
10
10
|
length = length === VOID ? buffer.length - offset | 0 : length;
|
|
11
|
-
_this__u8e3s4.
|
|
11
|
+
_this__u8e3s4.r2i(buffer, offset, offset + length | 0);
|
|
12
12
|
}
|
|
13
13
|
function BytePacketBuilder() {
|
|
14
14
|
return new (Buffer())();
|
|
15
15
|
}
|
|
16
16
|
function get_size(_this__u8e3s4) {
|
|
17
|
-
return convertToInt(_this__u8e3s4.
|
|
17
|
+
return convertToInt(_this__u8e3s4.d2h().n1());
|
|
18
18
|
}
|
|
19
19
|
//region block: exports
|
|
20
20
|
export {
|
|
@@ -9,20 +9,20 @@ var ByteReadPacketEmpty;
|
|
|
9
9
|
function discard(_this__u8e3s4, count) {
|
|
10
10
|
count = count === VOID ? 9223372036854775807n : count;
|
|
11
11
|
_init_properties_ByteReadPacket_kt__28475y();
|
|
12
|
-
_this__u8e3s4.
|
|
12
|
+
_this__u8e3s4.g2h(count);
|
|
13
13
|
// Inline function 'kotlin.comparisons.minOf' call
|
|
14
14
|
var b = get_remaining(_this__u8e3s4);
|
|
15
15
|
var countToDiscard = count <= b ? count : b;
|
|
16
|
-
_this__u8e3s4.
|
|
16
|
+
_this__u8e3s4.d2h().f2i(countToDiscard);
|
|
17
17
|
return countToDiscard;
|
|
18
18
|
}
|
|
19
19
|
function get_remaining(_this__u8e3s4) {
|
|
20
20
|
_init_properties_ByteReadPacket_kt__28475y();
|
|
21
|
-
return _this__u8e3s4.
|
|
21
|
+
return _this__u8e3s4.d2h().n1();
|
|
22
22
|
}
|
|
23
23
|
function takeWhile(_this__u8e3s4, block) {
|
|
24
24
|
_init_properties_ByteReadPacket_kt__28475y();
|
|
25
|
-
while (!_this__u8e3s4.
|
|
25
|
+
while (!_this__u8e3s4.e2h() && block(_this__u8e3s4.d2h())) {
|
|
26
26
|
}
|
|
27
27
|
}
|
|
28
28
|
var properties_initialized_ByteReadPacket_kt_hw4st4;
|
|
@@ -6,7 +6,7 @@ import { VOID3gxj6tk5isa35 as VOID } from '../../../../../../kotlin-kotlin-stdli
|
|
|
6
6
|
function readAvailable(_this__u8e3s4, buffer, offset, length) {
|
|
7
7
|
offset = offset === VOID ? 0 : offset;
|
|
8
8
|
length = length === VOID ? buffer.length - offset | 0 : length;
|
|
9
|
-
var result = _this__u8e3s4.
|
|
9
|
+
var result = _this__u8e3s4.g2i(buffer, offset, offset + length | 0);
|
|
10
10
|
return result === -1 ? 0 : result;
|
|
11
11
|
}
|
|
12
12
|
//region block: exports
|
|
@@ -21,33 +21,33 @@ import { toString1pkumu07cwy4m as toString } from '../../../../../../kotlin-kotl
|
|
|
21
21
|
//region block: pre-declaration
|
|
22
22
|
//endregion
|
|
23
23
|
function readText(_this__u8e3s4, charset, max) {
|
|
24
|
-
charset = charset === VOID ? Charsets_getInstance().
|
|
24
|
+
charset = charset === VOID ? Charsets_getInstance().l2o_1 : charset;
|
|
25
25
|
max = max === VOID ? 2147483647 : max;
|
|
26
|
-
if (charset.equals(Charsets_getInstance().
|
|
26
|
+
if (charset.equals(Charsets_getInstance().l2o_1)) {
|
|
27
27
|
if (max === 2147483647)
|
|
28
28
|
return readString(_this__u8e3s4);
|
|
29
|
-
var tmp0 = _this__u8e3s4.
|
|
29
|
+
var tmp0 = _this__u8e3s4.d2h().n1();
|
|
30
30
|
// Inline function 'kotlin.math.min' call
|
|
31
31
|
var b = fromInt(max);
|
|
32
32
|
var count = tmp0 <= b ? tmp0 : b;
|
|
33
33
|
return readString_0(_this__u8e3s4, count);
|
|
34
34
|
}
|
|
35
|
-
return decode(charset.
|
|
35
|
+
return decode(charset.o2o(), _this__u8e3s4, max);
|
|
36
36
|
}
|
|
37
37
|
function toByteArray(_this__u8e3s4, charset) {
|
|
38
|
-
charset = charset === VOID ? Charsets_getInstance().
|
|
39
|
-
if (charset.equals(Charsets_getInstance().
|
|
38
|
+
charset = charset === VOID ? Charsets_getInstance().l2o_1 : charset;
|
|
39
|
+
if (charset.equals(Charsets_getInstance().l2o_1))
|
|
40
40
|
return encodeToByteArray_0(_this__u8e3s4, VOID, VOID, true);
|
|
41
|
-
return encodeToByteArray(charset.
|
|
41
|
+
return encodeToByteArray(charset.p2o(), _this__u8e3s4, 0, _this__u8e3s4.length);
|
|
42
42
|
}
|
|
43
43
|
function writeText(_this__u8e3s4, text, fromIndex, toIndex, charset) {
|
|
44
44
|
fromIndex = fromIndex === VOID ? 0 : fromIndex;
|
|
45
45
|
toIndex = toIndex === VOID ? charSequenceLength(text) : toIndex;
|
|
46
|
-
charset = charset === VOID ? Charsets_getInstance().
|
|
47
|
-
if (charset === Charsets_getInstance().
|
|
46
|
+
charset = charset === VOID ? Charsets_getInstance().l2o_1 : charset;
|
|
47
|
+
if (charset === Charsets_getInstance().l2o_1) {
|
|
48
48
|
return writeString(_this__u8e3s4, toString(text), fromIndex, toIndex);
|
|
49
49
|
}
|
|
50
|
-
encodeToImpl(charset.
|
|
50
|
+
encodeToImpl(charset.p2o(), _this__u8e3s4, text, fromIndex, toIndex);
|
|
51
51
|
}
|
|
52
52
|
//region block: exports
|
|
53
53
|
export {
|
|
@@ -16,54 +16,54 @@ function DefaultPool() {
|
|
|
16
16
|
if (DefaultPoolClass === VOID) {
|
|
17
17
|
class $ {
|
|
18
18
|
constructor(capacity) {
|
|
19
|
-
this.
|
|
19
|
+
this.u2o_1 = capacity;
|
|
20
20
|
var tmp = this;
|
|
21
21
|
// Inline function 'kotlin.arrayOfNulls' call
|
|
22
|
-
var size = this.
|
|
23
|
-
tmp.
|
|
24
|
-
this.
|
|
22
|
+
var size = this.u2o_1;
|
|
23
|
+
tmp.v2o_1 = Array(size);
|
|
24
|
+
this.w2o_1 = 0;
|
|
25
25
|
}
|
|
26
|
-
|
|
26
|
+
x2o(instance) {
|
|
27
27
|
}
|
|
28
|
-
|
|
28
|
+
y2o(instance) {
|
|
29
29
|
return instance;
|
|
30
30
|
}
|
|
31
|
-
|
|
31
|
+
z2o(instance) {
|
|
32
32
|
}
|
|
33
|
-
|
|
34
|
-
if (this.
|
|
35
|
-
return this.
|
|
36
|
-
this.
|
|
37
|
-
var idx = this.
|
|
38
|
-
var tmp = this.
|
|
33
|
+
a2p() {
|
|
34
|
+
if (this.w2o_1 === 0)
|
|
35
|
+
return this.t2o();
|
|
36
|
+
this.w2o_1 = this.w2o_1 - 1 | 0;
|
|
37
|
+
var idx = this.w2o_1;
|
|
38
|
+
var tmp = this.v2o_1[idx];
|
|
39
39
|
var instance = !(tmp == null) ? tmp : THROW_CCE();
|
|
40
|
-
this.
|
|
41
|
-
return this.
|
|
40
|
+
this.v2o_1[idx] = null;
|
|
41
|
+
return this.y2o(instance);
|
|
42
42
|
}
|
|
43
|
-
|
|
44
|
-
this.
|
|
45
|
-
if (this.
|
|
46
|
-
this.
|
|
43
|
+
b2p(instance) {
|
|
44
|
+
this.z2o(instance);
|
|
45
|
+
if (this.w2o_1 === this.u2o_1) {
|
|
46
|
+
this.x2o(instance);
|
|
47
47
|
} else {
|
|
48
|
-
var _unary__edvuaz = this.
|
|
49
|
-
this.
|
|
50
|
-
this.
|
|
48
|
+
var _unary__edvuaz = this.w2o_1;
|
|
49
|
+
this.w2o_1 = _unary__edvuaz + 1 | 0;
|
|
50
|
+
this.v2o_1[_unary__edvuaz] = instance;
|
|
51
51
|
}
|
|
52
52
|
}
|
|
53
|
-
|
|
53
|
+
a1t() {
|
|
54
54
|
var inductionVariable = 0;
|
|
55
|
-
var last = this.
|
|
55
|
+
var last = this.w2o_1;
|
|
56
56
|
if (inductionVariable < last)
|
|
57
57
|
do {
|
|
58
58
|
var i = inductionVariable;
|
|
59
59
|
inductionVariable = inductionVariable + 1 | 0;
|
|
60
|
-
var tmp = this.
|
|
60
|
+
var tmp = this.v2o_1[i];
|
|
61
61
|
var instance = !(tmp == null) ? tmp : THROW_CCE();
|
|
62
|
-
this.
|
|
63
|
-
this.
|
|
62
|
+
this.v2o_1[i] = null;
|
|
63
|
+
this.x2o(instance);
|
|
64
64
|
}
|
|
65
65
|
while (inductionVariable < last);
|
|
66
|
-
this.
|
|
66
|
+
this.w2o_1 = 0;
|
|
67
67
|
}
|
|
68
68
|
}
|
|
69
69
|
protoOf($).a6 = close;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../../../../../../../../../mnt/agent/work/8d547b974a7be21f/ktor-io/jsAndWasmShared/src/io/ktor/utils/io/pool/DefaultPool.kt","js/builtins/Library.kt"],"sourcesContent":[null,null],"ignoreList":[],"x_google_ignoreList":[],"names":["capacity","disposeInstance","instance","clearInstance","validateInstance","borrow","idx","recycle","dispose","i"],"mappings":";;;;;;;;;;;;;;;;;kBAOyCA,Q;QAAtB,qB;kBAES,I;;mBAAmB,I,CAAA,K;QAAnB,YCmBsC,MAAU,IAAV,C;QDlB3C,c;;SAGGC,CAAoBC,QAApBD,EAAiC;A,MAAC,C;SAElCE,CAAkBD,QAAlBC,EAAoC;A,QAAQ,OAAR,Q;MAAO,C;SAC3CC,CAAqBF,QAArBE,EAAkC;A,MAAC,C;SAEnCC,CAAAA,EAAgB;A,QAC9B,mBAAQ,CAAR,C;UAAW,OAAO,U;QACV,aAAA,IAAF,CAAE,KAAF,IAAE,I;YAAZC,MAAY,IAAZA,CAAY,K;kBAGG,WAAU,GAAV,C;YAAfJ,4BAAe,GAAfA,c;QACA,WAAU,GAAV,IAAiB,I;QAEjB,OAAO,SAAc,QAAd,C;MACX,C;SAEsBK,CAAYL,QAAZK,EAAyB;A,QAC3C,SAAiB,QAAjB,C;QACI,mBAAQ,IAAR,CAAQ,KAAR,C,CAAkB;A,UAClB,SAAgB,QAAhB,C;QACJ,C,MAAO;A,cACO,2B;UAAA,aAAA,cAAI,IAAJ,I;UAAV,WAAU,cAAV,IAAoB,Q;QACxB,C;MACJ,C;
|
|
1
|
+
{"version":3,"sources":["../../../../../../../../../../../../mnt/agent/work/8d547b974a7be21f/ktor-io/jsAndWasmShared/src/io/ktor/utils/io/pool/DefaultPool.kt","js/builtins/Library.kt"],"sourcesContent":[null,null],"ignoreList":[],"x_google_ignoreList":[],"names":["capacity","disposeInstance","instance","clearInstance","validateInstance","borrow","idx","recycle","dispose","i"],"mappings":";;;;;;;;;;;;;;;;;kBAOyCA,Q;QAAtB,qB;kBAES,I;;mBAAmB,I,CAAA,K;QAAnB,YCmBsC,MAAU,IAAV,C;QDlB3C,c;;SAGGC,CAAoBC,QAApBD,EAAiC;A,MAAC,C;SAElCE,CAAkBD,QAAlBC,EAAoC;A,QAAQ,OAAR,Q;MAAO,C;SAC3CC,CAAqBF,QAArBE,EAAkC;A,MAAC,C;SAEnCC,CAAAA,EAAgB;A,QAC9B,mBAAQ,CAAR,C;UAAW,OAAO,U;QACV,aAAA,IAAF,CAAE,KAAF,IAAE,I;YAAZC,MAAY,IAAZA,CAAY,K;kBAGG,WAAU,GAAV,C;YAAfJ,4BAAe,GAAfA,c;QACA,WAAU,GAAV,IAAiB,I;QAEjB,OAAO,SAAc,QAAd,C;MACX,C;SAEsBK,CAAYL,QAAZK,EAAyB;A,QAC3C,SAAiB,QAAjB,C;QACI,mBAAQ,IAAR,CAAQ,KAAR,C,CAAkB;A,UAClB,SAAgB,QAAhB,C;QACJ,C,MAAO;A,cACO,2B;UAAA,aAAA,cAAI,IAAJ,I;UAAV,WAAU,cAAV,IAAoB,Q;QACxB,C;MACJ,C;SAEsBC,CAAAA,EAAc;A,YACtB,qB;YAAQ,iB;QAAlB,wBAAU,IAAV,C;aAAA;A,gBAAKC,IAAK,iB;YAAA,6C;sBAES,WAAU,CAAV,C;gBAAfP,4BAAe,GAAfA,c;YACA,WAAU,CAAV,IAAe,I;YACf,SAAgB,QAAhB,C;;UAJJ,4BAAU,IAAV,C;QAMA,aAAO,C;MACX,C;;;;;;;;;;;;"}
|
|
@@ -11,7 +11,7 @@ import { protoOf180f3jzyo7rfj as protoOf } from '../../../../../../kotlin-kotlin
|
|
|
11
11
|
//region block: pre-declaration
|
|
12
12
|
//endregion
|
|
13
13
|
function close() {
|
|
14
|
-
this.
|
|
14
|
+
this.a1t();
|
|
15
15
|
}
|
|
16
16
|
var ObjectPoolClass;
|
|
17
17
|
function ObjectPool() {
|
|
@@ -26,10 +26,10 @@ var NoPoolImplClass;
|
|
|
26
26
|
function NoPoolImpl() {
|
|
27
27
|
if (NoPoolImplClass === VOID) {
|
|
28
28
|
class $ {
|
|
29
|
-
|
|
29
|
+
b2p(instance) {
|
|
30
30
|
return Unit_instance;
|
|
31
31
|
}
|
|
32
|
-
|
|
32
|
+
a1t() {
|
|
33
33
|
return Unit_instance;
|
|
34
34
|
}
|
|
35
35
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../../../../../../../../../mnt/agent/work/8d547b974a7be21f/ktor-io/common/src/io/ktor/utils/io/pool/Pool.kt"],"sourcesContent":[null],"ignoreList":[],"x_google_ignoreList":[],"names":["close","recycle","instance","dispose"],"mappings":";;;;;;;;;;;;cA2CaA,CAAAA,EAAY;A,EACjB,
|
|
1
|
+
{"version":3,"sources":["../../../../../../../../../../../../mnt/agent/work/8d547b974a7be21f/ktor-io/common/src/io/ktor/utils/io/pool/Pool.kt"],"sourcesContent":[null],"ignoreList":[],"x_google_ignoreList":[],"names":["close","recycle","instance","dispose"],"mappings":";;;;;;;;;;;;cA2CaA,CAAAA,EAAY;A,EACjB,U;AACJ,C;;;;;;;;;;;;;;SAYSC,CAAYC,QAAZD,EAAiC;A,QAAI,oB;MAAD,C;SAEpCE,CAAAA,EAAsB;A,QAAI,oB;MAAD,C;;;;;;;;;;;;"}
|
|
@@ -10,10 +10,10 @@ var JsonConvertExceptionClass;
|
|
|
10
10
|
function JsonConvertException() {
|
|
11
11
|
if (JsonConvertExceptionClass === VOID) {
|
|
12
12
|
class $ extends ContentConvertException() {
|
|
13
|
-
static
|
|
13
|
+
static m3e(message, cause) {
|
|
14
14
|
cause = cause === VOID ? null : cause;
|
|
15
|
-
var $this = this.
|
|
16
|
-
captureStack($this, $this.
|
|
15
|
+
var $this = this.p3e(message, cause);
|
|
16
|
+
captureStack($this, $this.l3e_1);
|
|
17
17
|
return $this;
|
|
18
18
|
}
|
|
19
19
|
}
|
|
@@ -26,10 +26,10 @@ var ContentConvertExceptionClass;
|
|
|
26
26
|
function ContentConvertException() {
|
|
27
27
|
if (ContentConvertExceptionClass === VOID) {
|
|
28
28
|
class $ extends Exception() {
|
|
29
|
-
static
|
|
29
|
+
static p3e(message, cause) {
|
|
30
30
|
cause = cause === VOID ? null : cause;
|
|
31
31
|
var $this = this.hd(message, cause);
|
|
32
|
-
captureStack($this, $this.
|
|
32
|
+
captureStack($this, $this.o3e_1);
|
|
33
33
|
return $this;
|
|
34
34
|
}
|
|
35
35
|
}
|