@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
|
@@ -59,11 +59,11 @@ function *_generator_parseHeaders__yk88b9(input, builder, range, $completion) {
|
|
|
59
59
|
if (tmp === get_COROUTINE_SUSPENDED())
|
|
60
60
|
tmp = yield tmp;
|
|
61
61
|
if (!tmp) {
|
|
62
|
-
headers.
|
|
62
|
+
headers.f1e();
|
|
63
63
|
return null;
|
|
64
64
|
}
|
|
65
|
-
range.
|
|
66
|
-
var rangeLength = range.
|
|
65
|
+
range.x3a_1 = builder.j3a_1;
|
|
66
|
+
var rangeLength = range.x3a_1 - range.w3a_1 | 0;
|
|
67
67
|
if (rangeLength === 0)
|
|
68
68
|
break $l$loop;
|
|
69
69
|
if (rangeLength >= 8192) {
|
|
@@ -71,16 +71,16 @@ function *_generator_parseHeaders__yk88b9(input, builder, range, $completion) {
|
|
|
71
71
|
var message = 'Header line length limit exceeded';
|
|
72
72
|
throw IllegalStateException().w4(toString(message));
|
|
73
73
|
}
|
|
74
|
-
var nameStart = range.
|
|
74
|
+
var nameStart = range.w3a_1;
|
|
75
75
|
var nameEnd = parseHeaderName(builder, range);
|
|
76
|
-
var headerEnd = range.
|
|
76
|
+
var headerEnd = range.x3a_1;
|
|
77
77
|
parseHeaderValue(builder, range);
|
|
78
|
-
var valueStart = range.
|
|
79
|
-
var valueEnd = range.
|
|
80
|
-
range.
|
|
81
|
-
headers.
|
|
78
|
+
var valueStart = range.w3a_1;
|
|
79
|
+
var valueEnd = range.x3a_1;
|
|
80
|
+
range.w3a_1 = headerEnd;
|
|
81
|
+
headers.a3a(nameStart, nameEnd, valueStart, valueEnd);
|
|
82
82
|
}
|
|
83
|
-
var host = headers.
|
|
83
|
+
var host = headers.j1g(HttpHeaders_getInstance().q2z_1);
|
|
84
84
|
if (!(host == null)) {
|
|
85
85
|
validateHostHeader(host);
|
|
86
86
|
}
|
|
@@ -88,7 +88,7 @@ function *_generator_parseHeaders__yk88b9(input, builder, range, $completion) {
|
|
|
88
88
|
} catch ($p) {
|
|
89
89
|
if ($p instanceof Error) {
|
|
90
90
|
var t = $p;
|
|
91
|
-
headers.
|
|
91
|
+
headers.f1e();
|
|
92
92
|
throw t;
|
|
93
93
|
} else {
|
|
94
94
|
throw $p;
|
|
@@ -101,16 +101,16 @@ function parseHeaders(input, builder, range, $completion) {
|
|
|
101
101
|
}
|
|
102
102
|
function parseHeaderName(text, range) {
|
|
103
103
|
_init_properties_HttpParser_kt__gbdom1();
|
|
104
|
-
var index = range.
|
|
105
|
-
var end = range.
|
|
104
|
+
var index = range.w3a_1;
|
|
105
|
+
var end = range.x3a_1;
|
|
106
106
|
while (index < end) {
|
|
107
107
|
var ch = text.b(index);
|
|
108
|
-
if (ch === _Char___init__impl__6a9atx(58) && !(index === range.
|
|
109
|
-
range.
|
|
108
|
+
if (ch === _Char___init__impl__6a9atx(58) && !(index === range.w3a_1)) {
|
|
109
|
+
range.w3a_1 = index + 1 | 0;
|
|
110
110
|
return index;
|
|
111
111
|
}
|
|
112
112
|
if (isDelimiter(ch)) {
|
|
113
|
-
parseHeaderNameFailed(text, index, range.
|
|
113
|
+
parseHeaderNameFailed(text, index, range.w3a_1, ch);
|
|
114
114
|
}
|
|
115
115
|
index = index + 1 | 0;
|
|
116
116
|
}
|
|
@@ -118,12 +118,12 @@ function parseHeaderName(text, range) {
|
|
|
118
118
|
}
|
|
119
119
|
function parseHeaderValue(text, range) {
|
|
120
120
|
_init_properties_HttpParser_kt__gbdom1();
|
|
121
|
-
var start = range.
|
|
122
|
-
var end = range.
|
|
121
|
+
var start = range.w3a_1;
|
|
122
|
+
var end = range.x3a_1;
|
|
123
123
|
var index = start;
|
|
124
124
|
index = skipSpacesAndHorizontalTabs(text, index, end);
|
|
125
125
|
if (index >= end) {
|
|
126
|
-
range.
|
|
126
|
+
range.w3a_1 = end;
|
|
127
127
|
return Unit_instance;
|
|
128
128
|
}
|
|
129
129
|
var valueStart = index;
|
|
@@ -137,13 +137,13 @@ function parseHeaderValue(text, range) {
|
|
|
137
137
|
valueLastIndex = index;
|
|
138
138
|
index = index + 1 | 0;
|
|
139
139
|
}
|
|
140
|
-
range.
|
|
141
|
-
range.
|
|
140
|
+
range.w3a_1 = valueStart;
|
|
141
|
+
range.x3a_1 = valueLastIndex + 1 | 0;
|
|
142
142
|
}
|
|
143
143
|
function validateHostHeader(host) {
|
|
144
144
|
_init_properties_HttpParser_kt__gbdom1();
|
|
145
145
|
if (endsWith(host, ':')) {
|
|
146
|
-
throw ParserException().
|
|
146
|
+
throw ParserException().c3b("Host header with ':' should contains port: " + toString(host));
|
|
147
147
|
}
|
|
148
148
|
var tmp$ret$1;
|
|
149
149
|
$l$block: {
|
|
@@ -160,7 +160,7 @@ function validateHostHeader(host) {
|
|
|
160
160
|
tmp$ret$1 = false;
|
|
161
161
|
}
|
|
162
162
|
if (tmp$ret$1) {
|
|
163
|
-
throw ParserException().
|
|
163
|
+
throw ParserException().c3b('Host cannot contain any of the following symbols: ' + toString(get_hostForbiddenSymbols()));
|
|
164
164
|
}
|
|
165
165
|
}
|
|
166
166
|
function isDelimiter(ch) {
|
|
@@ -170,34 +170,34 @@ function isDelimiter(ch) {
|
|
|
170
170
|
function parseHeaderNameFailed(text, index, start, ch) {
|
|
171
171
|
_init_properties_HttpParser_kt__gbdom1();
|
|
172
172
|
if (ch === _Char___init__impl__6a9atx(58)) {
|
|
173
|
-
throw ParserException().
|
|
173
|
+
throw ParserException().c3b('Empty header names are not allowed as per RFC7230.');
|
|
174
174
|
}
|
|
175
175
|
if (index === start) {
|
|
176
|
-
throw ParserException().
|
|
176
|
+
throw ParserException().c3b('Multiline headers via line folding is not supported since it is deprecated as per RFC7230.');
|
|
177
177
|
}
|
|
178
178
|
characterIsNotAllowed(text, ch);
|
|
179
179
|
}
|
|
180
180
|
function noColonFound(text, range) {
|
|
181
181
|
_init_properties_HttpParser_kt__gbdom1();
|
|
182
|
-
var tmp2 = range.
|
|
182
|
+
var tmp2 = range.w3a_1;
|
|
183
183
|
// Inline function 'kotlin.text.substring' call
|
|
184
|
-
var endIndex = range.
|
|
184
|
+
var endIndex = range.x3a_1;
|
|
185
185
|
var tmp$ret$0 = toString(charSequenceSubSequence(text, tmp2, endIndex));
|
|
186
|
-
throw ParserException().
|
|
186
|
+
throw ParserException().c3b('No colon in HTTP header in ' + tmp$ret$0 + ' in builder: \n' + toString(text));
|
|
187
187
|
}
|
|
188
188
|
function characterIsNotAllowed(text, ch) {
|
|
189
189
|
_init_properties_HttpParser_kt__gbdom1();
|
|
190
190
|
// Inline function 'kotlin.code' call
|
|
191
191
|
var tmp$ret$0 = Char__toInt_impl_vasixd(ch);
|
|
192
|
-
throw ParserException().
|
|
192
|
+
throw ParserException().c3b('Character with code ' + (tmp$ret$0 & 255) + ' is not allowed in header names, \n' + toString(text));
|
|
193
193
|
}
|
|
194
194
|
var ParserExceptionClass;
|
|
195
195
|
function ParserException() {
|
|
196
196
|
if (ParserExceptionClass === VOID) {
|
|
197
197
|
class $ extends IllegalStateException() {
|
|
198
|
-
static
|
|
198
|
+
static c3b(message) {
|
|
199
199
|
var $this = this.w4(message);
|
|
200
|
-
captureStack($this, $this.
|
|
200
|
+
captureStack($this, $this.b3b_1);
|
|
201
201
|
return $this;
|
|
202
202
|
}
|
|
203
203
|
}
|
|
@@ -211,8 +211,8 @@ function _init_properties_HttpParser_kt__gbdom1() {
|
|
|
211
211
|
if (!properties_initialized_HttpParser_kt_uedryv) {
|
|
212
212
|
properties_initialized_HttpParser_kt_uedryv = true;
|
|
213
213
|
hostForbiddenSymbols = setOf([new (Char())(_Char___init__impl__6a9atx(47)), new (Char())(_Char___init__impl__6a9atx(63)), new (Char())(_Char___init__impl__6a9atx(35)), new (Char())(_Char___init__impl__6a9atx(64))]);
|
|
214
|
-
httpLineEndings = LineEndingMode__plus_impl_ttpz2j(Companion_getInstance().
|
|
215
|
-
versions = Companion_instance.
|
|
214
|
+
httpLineEndings = LineEndingMode__plus_impl_ttpz2j(Companion_getInstance().e2n_1, Companion_getInstance().d2n_1);
|
|
215
|
+
versions = Companion_instance.d3b(listOf(['HTTP/1.0', 'HTTP/1.1']));
|
|
216
216
|
}
|
|
217
217
|
}
|
|
218
218
|
//region block: exports
|
|
@@ -82,7 +82,7 @@ function Preamble() {
|
|
|
82
82
|
class $ extends MultipartEvent() {
|
|
83
83
|
constructor(body) {
|
|
84
84
|
super();
|
|
85
|
-
this.
|
|
85
|
+
this.e3b_1 = body;
|
|
86
86
|
}
|
|
87
87
|
}
|
|
88
88
|
initMetadataForClass($, 'Preamble');
|
|
@@ -96,8 +96,8 @@ function MultipartPart() {
|
|
|
96
96
|
class $ extends MultipartEvent() {
|
|
97
97
|
constructor(headers, body) {
|
|
98
98
|
super();
|
|
99
|
-
this.
|
|
100
|
-
this.
|
|
99
|
+
this.f3b_1 = headers;
|
|
100
|
+
this.g3b_1 = body;
|
|
101
101
|
}
|
|
102
102
|
}
|
|
103
103
|
initMetadataForClass($, 'MultipartPart');
|
|
@@ -111,7 +111,7 @@ function Epilogue() {
|
|
|
111
111
|
class $ extends MultipartEvent() {
|
|
112
112
|
constructor(body) {
|
|
113
113
|
super();
|
|
114
|
-
this.
|
|
114
|
+
this.h3b_1 = body;
|
|
115
115
|
}
|
|
116
116
|
}
|
|
117
117
|
initMetadataForClass($, 'Epilogue');
|
|
@@ -131,18 +131,18 @@ function MultipartEvent() {
|
|
|
131
131
|
function parseMultipart(_this__u8e3s4, input, contentType, contentLength, maxPartSize) {
|
|
132
132
|
maxPartSize = maxPartSize === VOID ? 9223372036854775807n : maxPartSize;
|
|
133
133
|
_init_properties_Multipart_kt__ato98a();
|
|
134
|
-
if (!MultiPart_getInstance().
|
|
135
|
-
throw UnsupportedMediaTypeExceptionCIO().
|
|
134
|
+
if (!MultiPart_getInstance().i2x(contentType)) {
|
|
135
|
+
throw UnsupportedMediaTypeExceptionCIO().l3b('Failed to parse multipart: Content-Type should be multipart/* but it is ' + toString(contentType));
|
|
136
136
|
}
|
|
137
137
|
var boundaryByteBuffer = parseBoundaryInternal(contentType);
|
|
138
|
-
var boundaryBytes = ByteString().
|
|
138
|
+
var boundaryBytes = ByteString().r2g(boundaryByteBuffer);
|
|
139
139
|
return parseMultipart_0(_this__u8e3s4, boundaryBytes, input, contentLength, maxPartSize);
|
|
140
140
|
}
|
|
141
141
|
function parseBoundaryInternal(contentType) {
|
|
142
142
|
_init_properties_Multipart_kt__ato98a();
|
|
143
143
|
var boundaryParameter = findBoundary(contentType);
|
|
144
144
|
if (boundaryParameter === -1) {
|
|
145
|
-
throw IOException().
|
|
145
|
+
throw IOException().o2k("Failed to parse multipart: Content-Type's boundary parameter is missing");
|
|
146
146
|
}
|
|
147
147
|
var boundaryStart = boundaryParameter + 9 | 0;
|
|
148
148
|
var boundaryBytes = new Int8Array(74);
|
|
@@ -162,7 +162,7 @@ function parseBoundaryInternal(contentType) {
|
|
|
162
162
|
// Inline function 'kotlin.code' call
|
|
163
163
|
var v = Char__toInt_impl_vasixd(ch) & 65535;
|
|
164
164
|
if ((v & 65535) > 127) {
|
|
165
|
-
throw IOException().
|
|
165
|
+
throw IOException().o2k('Failed to parse multipart: wrong boundary byte 0x' + toString_0(v, 16) + ' - should be 7bit character');
|
|
166
166
|
}
|
|
167
167
|
switch (state) {
|
|
168
168
|
case 0:
|
|
@@ -203,7 +203,7 @@ function parseBoundaryInternal(contentType) {
|
|
|
203
203
|
}
|
|
204
204
|
while (inductionVariable < last);
|
|
205
205
|
if (position._v === 4) {
|
|
206
|
-
throw IOException().
|
|
206
|
+
throw IOException().o2k('Empty multipart boundary is not allowed');
|
|
207
207
|
}
|
|
208
208
|
return copyOfRange(boundaryBytes, 0, position._v);
|
|
209
209
|
}
|
|
@@ -286,7 +286,7 @@ function *_generator_parsePartHeadersImpl__ngvtk8(input, $completion) {
|
|
|
286
286
|
var tmp0_elvis_lhs = tmp;
|
|
287
287
|
var tmp_0;
|
|
288
288
|
if (tmp0_elvis_lhs == null) {
|
|
289
|
-
throw EOFException().
|
|
289
|
+
throw EOFException().c2h('Failed to parse multipart headers: unexpected end of stream');
|
|
290
290
|
} else {
|
|
291
291
|
tmp_0 = tmp0_elvis_lhs;
|
|
292
292
|
}
|
|
@@ -294,7 +294,7 @@ function *_generator_parsePartHeadersImpl__ngvtk8(input, $completion) {
|
|
|
294
294
|
} catch ($p) {
|
|
295
295
|
if ($p instanceof Error) {
|
|
296
296
|
var t = $p;
|
|
297
|
-
builder.
|
|
297
|
+
builder.f1e();
|
|
298
298
|
throw t;
|
|
299
299
|
} else {
|
|
300
300
|
throw $p;
|
|
@@ -305,7 +305,7 @@ function parsePartHeadersImpl(input, $completion) {
|
|
|
305
305
|
return suspendOrReturn(/*#__NOINLINE__*/_generator_parsePartHeadersImpl__ngvtk8.bind(VOID, input), $completion);
|
|
306
306
|
}
|
|
307
307
|
function *_generator_parsePartBodyImpl__8tyvmc(boundaryPrefixed, input, output, headers, limit, $completion) {
|
|
308
|
-
var tmp0_safe_receiver = headers.
|
|
308
|
+
var tmp0_safe_receiver = headers.j1g('Content-Length');
|
|
309
309
|
var contentLength = tmp0_safe_receiver == null ? null : parseDecLong(tmp0_safe_receiver);
|
|
310
310
|
var tmp;
|
|
311
311
|
if (contentLength == null) {
|
|
@@ -327,7 +327,7 @@ function *_generator_parsePartBodyImpl__8tyvmc(boundaryPrefixed, input, output,
|
|
|
327
327
|
}
|
|
328
328
|
}
|
|
329
329
|
var byteCount = tmp;
|
|
330
|
-
var tmp_3 = output.
|
|
330
|
+
var tmp_3 = output.r2l($completion);
|
|
331
331
|
if (tmp_3 === get_COROUTINE_SUSPENDED())
|
|
332
332
|
tmp_3 = yield tmp_3;
|
|
333
333
|
return byteCount;
|
|
@@ -352,41 +352,41 @@ function skipIfFoundReadCount(_this__u8e3s4, prefix, $completion) {
|
|
|
352
352
|
}
|
|
353
353
|
function throwLimitExceeded(actual, limit) {
|
|
354
354
|
_init_properties_Multipart_kt__ato98a();
|
|
355
|
-
throw IOException().
|
|
355
|
+
throw IOException().o2k('Multipart content length exceeds limit ' + actual.toString() + ' > ' + limit.toString() + '; ' + "limit is defined using 'formFieldLimit' argument");
|
|
356
356
|
}
|
|
357
357
|
function parseBoundaryInternal$put(position, boundaryBytes, value) {
|
|
358
358
|
if (position._v >= boundaryBytes.length) {
|
|
359
|
-
throw IOException().
|
|
359
|
+
throw IOException().o2k("Failed to parse multipart: boundary shouldn't be longer than 70 characters");
|
|
360
360
|
}
|
|
361
361
|
var _unary__edvuaz = position._v;
|
|
362
362
|
position._v = _unary__edvuaz + 1 | 0;
|
|
363
363
|
boundaryBytes[_unary__edvuaz] = value;
|
|
364
364
|
}
|
|
365
365
|
function *_generator_invoke__zhh2q8($this, $this$writer, $completion) {
|
|
366
|
-
var tmp = parsePreambleImpl($this.
|
|
366
|
+
var tmp = parsePreambleImpl($this.m3b_1, $this.n3b_1, $this$writer.o2n_1, 8193n, $completion);
|
|
367
367
|
if (tmp === get_COROUTINE_SUSPENDED())
|
|
368
368
|
tmp = yield tmp;
|
|
369
|
-
var tmp_0 = $this$writer.
|
|
369
|
+
var tmp_0 = $this$writer.o2n_1.n2m($completion);
|
|
370
370
|
if (tmp_0 === get_COROUTINE_SUSPENDED())
|
|
371
371
|
tmp_0 = yield tmp_0;
|
|
372
372
|
return Unit_instance;
|
|
373
373
|
}
|
|
374
374
|
function *_generator_invoke__zhh2q8_0($this, $this$produce, $completion) {
|
|
375
|
-
var countedInput = counted($this.
|
|
376
|
-
var readBeforeParse = countedInput.
|
|
377
|
-
var firstBoundary = $this.
|
|
378
|
-
var tmp = readRemaining(writer($this$produce, VOID, VOID, parseMultipart$slambda$slambda_0(firstBoundary, countedInput)).
|
|
375
|
+
var countedInput = counted($this.o3b_1);
|
|
376
|
+
var readBeforeParse = countedInput.d2o();
|
|
377
|
+
var firstBoundary = $this.p3b_1.s2g(get_PrefixString().n1());
|
|
378
|
+
var tmp = readRemaining(writer($this$produce, VOID, VOID, parseMultipart$slambda$slambda_0(firstBoundary, countedInput)).m2n_1, $completion);
|
|
379
379
|
if (tmp === get_COROUTINE_SUSPENDED())
|
|
380
380
|
tmp = yield tmp;
|
|
381
381
|
var preambleData = tmp;
|
|
382
382
|
if (get_remaining(preambleData) > 0n) {
|
|
383
|
-
var tmp_0 = $this$produce.
|
|
383
|
+
var tmp_0 = $this$produce.q23(new (Preamble())(preambleData), $completion);
|
|
384
384
|
if (tmp_0 === get_COROUTINE_SUSPENDED())
|
|
385
385
|
tmp_0 = yield tmp_0;
|
|
386
386
|
}
|
|
387
387
|
$l$loop_0: while (true) {
|
|
388
388
|
var tmp_1;
|
|
389
|
-
if (!countedInput.
|
|
389
|
+
if (!countedInput.k2m()) {
|
|
390
390
|
var tmp_2 = skipIfFound(countedInput, get_PrefixString(), $completion);
|
|
391
391
|
if (tmp_2 === get_COROUTINE_SUSPENDED())
|
|
392
392
|
tmp_2 = yield tmp_2;
|
|
@@ -409,7 +409,7 @@ function *_generator_invoke__zhh2q8_0($this, $this$produce, $completion) {
|
|
|
409
409
|
var body = new (ByteChannel())();
|
|
410
410
|
var headers = CompletableDeferred();
|
|
411
411
|
var part = new (MultipartPart())(headers, body);
|
|
412
|
-
var tmp_5 = $this$produce.
|
|
412
|
+
var tmp_5 = $this$produce.q23(part, $completion);
|
|
413
413
|
if (tmp_5 === get_COROUTINE_SUSPENDED())
|
|
414
414
|
tmp_5 = yield tmp_5;
|
|
415
415
|
var headersMap = null;
|
|
@@ -418,23 +418,23 @@ function *_generator_invoke__zhh2q8_0($this, $this$produce, $completion) {
|
|
|
418
418
|
if (tmp_6 === get_COROUTINE_SUSPENDED())
|
|
419
419
|
tmp_6 = yield tmp_6;
|
|
420
420
|
headersMap = tmp_6;
|
|
421
|
-
if (!headers.
|
|
422
|
-
headersMap.
|
|
421
|
+
if (!headers.a1w(headersMap)) {
|
|
422
|
+
headersMap.f1e();
|
|
423
423
|
throw CancellationException().vc('Multipart processing has been cancelled');
|
|
424
424
|
}
|
|
425
|
-
var tmp_7 = parsePartBodyImpl($this.
|
|
425
|
+
var tmp_7 = parsePartBodyImpl($this.p3b_1, countedInput, body, headersMap, $this.q3b_1, $completion);
|
|
426
426
|
if (tmp_7 === get_COROUTINE_SUSPENDED())
|
|
427
427
|
tmp_7 = yield tmp_7;
|
|
428
428
|
body.a6();
|
|
429
429
|
} catch ($p) {
|
|
430
430
|
if ($p instanceof Error) {
|
|
431
431
|
var cause = $p;
|
|
432
|
-
if (headers.
|
|
432
|
+
if (headers.b1w(cause)) {
|
|
433
433
|
var tmp0_safe_receiver = headersMap;
|
|
434
434
|
if (tmp0_safe_receiver == null)
|
|
435
435
|
null;
|
|
436
436
|
else {
|
|
437
|
-
tmp0_safe_receiver.
|
|
437
|
+
tmp0_safe_receiver.f1e();
|
|
438
438
|
}
|
|
439
439
|
}
|
|
440
440
|
close(body, cause);
|
|
@@ -450,16 +450,16 @@ function *_generator_invoke__zhh2q8_0($this, $this$produce, $completion) {
|
|
|
450
450
|
var tmp_9 = skipIfFound(countedInput, get_CrLf(), $completion);
|
|
451
451
|
if (tmp_9 === get_COROUTINE_SUSPENDED())
|
|
452
452
|
tmp_9 = yield tmp_9;
|
|
453
|
-
if (!($this.
|
|
454
|
-
var consumedExceptEpilogue = subtract(countedInput.
|
|
455
|
-
var size = subtract($this.
|
|
453
|
+
if (!($this.r3b_1 == null)) {
|
|
454
|
+
var consumedExceptEpilogue = subtract(countedInput.d2o(), readBeforeParse);
|
|
455
|
+
var size = subtract($this.r3b_1, consumedExceptEpilogue);
|
|
456
456
|
if (size > 2147483647n)
|
|
457
|
-
throw IOException().
|
|
457
|
+
throw IOException().o2k('Failed to parse multipart: prologue is too long');
|
|
458
458
|
if (size > 0n) {
|
|
459
459
|
var tmp_10 = readPacket(countedInput, convertToInt(size), $completion);
|
|
460
460
|
if (tmp_10 === get_COROUTINE_SUSPENDED())
|
|
461
461
|
tmp_10 = yield tmp_10;
|
|
462
|
-
var tmp_11 = $this$produce.
|
|
462
|
+
var tmp_11 = $this$produce.q23(new (Epilogue())(tmp_10), $completion);
|
|
463
463
|
if (tmp_11 === get_COROUTINE_SUSPENDED())
|
|
464
464
|
tmp_11 = yield tmp_11;
|
|
465
465
|
}
|
|
@@ -468,8 +468,8 @@ function *_generator_invoke__zhh2q8_0($this, $this$produce, $completion) {
|
|
|
468
468
|
if (tmp_12 === get_COROUTINE_SUSPENDED())
|
|
469
469
|
tmp_12 = yield tmp_12;
|
|
470
470
|
var epilogueContent = tmp_12;
|
|
471
|
-
if (!epilogueContent.
|
|
472
|
-
var tmp_13 = $this$produce.
|
|
471
|
+
if (!epilogueContent.e2h()) {
|
|
472
|
+
var tmp_13 = $this$produce.q23(new (Epilogue())(epilogueContent), $completion);
|
|
473
473
|
if (tmp_13 === get_COROUTINE_SUSPENDED())
|
|
474
474
|
tmp_13 = yield tmp_13;
|
|
475
475
|
}
|
|
@@ -481,14 +481,14 @@ function parseMultipart$slambda$slambda() {
|
|
|
481
481
|
if (parseMultipart$slambda$slambdaClass === VOID) {
|
|
482
482
|
class $ {
|
|
483
483
|
constructor($firstBoundary, $countedInput) {
|
|
484
|
-
this.
|
|
485
|
-
this.
|
|
484
|
+
this.m3b_1 = $firstBoundary;
|
|
485
|
+
this.n3b_1 = $countedInput;
|
|
486
486
|
}
|
|
487
|
-
|
|
487
|
+
s3b($this$writer, $completion) {
|
|
488
488
|
return suspendOrReturn(/*#__NOINLINE__*/_generator_invoke__zhh2q8.bind(VOID, this, $this$writer), $completion);
|
|
489
489
|
}
|
|
490
490
|
bd(p1, $completion) {
|
|
491
|
-
return this.
|
|
491
|
+
return this.s3b(p1 instanceof WriterScope() ? p1 : THROW_CCE(), $completion);
|
|
492
492
|
}
|
|
493
493
|
}
|
|
494
494
|
initMetadataForLambda($, VOID, VOID, [1]);
|
|
@@ -498,7 +498,7 @@ function parseMultipart$slambda$slambda() {
|
|
|
498
498
|
}
|
|
499
499
|
function parseMultipart$slambda$slambda_0($firstBoundary, $countedInput) {
|
|
500
500
|
var i = new (parseMultipart$slambda$slambda())($firstBoundary, $countedInput);
|
|
501
|
-
var l = ($this$writer, $completion) => i.
|
|
501
|
+
var l = ($this$writer, $completion) => i.s3b($this$writer, $completion);
|
|
502
502
|
l.$arity = 1;
|
|
503
503
|
return l;
|
|
504
504
|
}
|
|
@@ -507,16 +507,16 @@ function parseMultipart$slambda() {
|
|
|
507
507
|
if (parseMultipart$slambdaClass === VOID) {
|
|
508
508
|
class $ {
|
|
509
509
|
constructor($input, $boundaryPrefixed, $maxPartSize, $totalLength) {
|
|
510
|
-
this.
|
|
511
|
-
this.
|
|
512
|
-
this.
|
|
513
|
-
this.
|
|
510
|
+
this.o3b_1 = $input;
|
|
511
|
+
this.p3b_1 = $boundaryPrefixed;
|
|
512
|
+
this.q3b_1 = $maxPartSize;
|
|
513
|
+
this.r3b_1 = $totalLength;
|
|
514
514
|
}
|
|
515
|
-
|
|
515
|
+
t3b($this$produce, $completion) {
|
|
516
516
|
return suspendOrReturn(/*#__NOINLINE__*/_generator_invoke__zhh2q8_0.bind(VOID, this, $this$produce), $completion);
|
|
517
517
|
}
|
|
518
518
|
bd(p1, $completion) {
|
|
519
|
-
return this.
|
|
519
|
+
return this.t3b((!(p1 == null) ? isInterface(p1, ProducerScope()) : false) ? p1 : THROW_CCE(), $completion);
|
|
520
520
|
}
|
|
521
521
|
}
|
|
522
522
|
initMetadataForLambda($, VOID, VOID, [1]);
|
|
@@ -526,7 +526,7 @@ function parseMultipart$slambda() {
|
|
|
526
526
|
}
|
|
527
527
|
function parseMultipart$slambda_0($input, $boundaryPrefixed, $maxPartSize, $totalLength) {
|
|
528
528
|
var i = new (parseMultipart$slambda())($input, $boundaryPrefixed, $maxPartSize, $totalLength);
|
|
529
|
-
var l = ($this$produce, $completion) => i.
|
|
529
|
+
var l = ($this$produce, $completion) => i.t3b($this$produce, $completion);
|
|
530
530
|
l.$arity = 1;
|
|
531
531
|
return l;
|
|
532
532
|
}
|
|
@@ -534,7 +534,7 @@ var properties_initialized_Multipart_kt_wu0sh0;
|
|
|
534
534
|
function _init_properties_Multipart_kt__ato98a() {
|
|
535
535
|
if (!properties_initialized_Multipart_kt_wu0sh0) {
|
|
536
536
|
properties_initialized_Multipart_kt_wu0sh0 = true;
|
|
537
|
-
CrLf = ByteString().
|
|
537
|
+
CrLf = ByteString().r2g(toByteArray('\r\n'));
|
|
538
538
|
PrefixString = ByteString_0(new Int8Array([45, 45]));
|
|
539
539
|
}
|
|
540
540
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../../../../../../../../../mnt/agent/work/8d547b974a7be21f/ktor-http/ktor-http-cio/common/src/io/ktor/http/cio/Multipart.kt","src/kotlin/CharCode.kt"],"sourcesContent":[null,null],"ignoreList":[],"x_google_ignoreList":[],"names":["<get-CrLf>","<get-PrefixString>","body","headers","parseMultipart","<this>","input","contentType","contentLength","maxPartSize","boundaryByteBuffer","boundaryBytes","parseBoundaryInternal","boundaryParameter","boundaryStart","position","state","i","ch","v","boundaryPrefixed","totalLength","findBoundary","paramNameCount","parsePreambleImpl","boundary","output","limit","$completion","<generator-parsePartHeadersImpl>","builder","t","parsePartHeadersImpl","<generator-parsePartBodyImpl>","byteCount","parsePartBodyImpl","<generator-skipIfFoundReadCount>","prefix","skipIfFoundReadCount","throwLimitExceeded","actual","parseBoundaryInternal$put","value","<generator-invoke>","countedInput","readBeforeParse","firstBoundary","preambleData","part","headersMap","cause","consumedExceptEpilogue","size","epilogueContent","$firstBoundary","$countedInput","invoke","parseMultipart$slambda$slambda","parseMultipart$slambda$slambda$lambda","$input","$boundaryPrefixed","$maxPartSize","$totalLength","parseMultipart$slambda","parseMultipart$slambda$lambda","<init properties Multipart.kt>"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBA+LQA,CAAAA,EAAA;A;EAAA,W;AAAO,C;;yBA2EPC,CAAAA,EAAA;A;EAAA,mB;AAAe,C;;;;;;kBA/NRC,I;;QAAP,iB;;;;;;;;;;;;kBAmBOC,O,EACAD,I;;QADP,oB;QACA,iB;;;;;;;;;;;;kBAsBOA,I;;QAAP,iB;;;;;;;;;;;;;;;;;uBAwFDE,CAAIC,a,EACPC,K,EACAC,W,EACAC,a,EACAC,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b,YAAa,EAAY,aAAZ,c;;;IAAb,U,CAAyC;A,MACzC,kB;IACJ,C;QAEA7C,4B;QACAC,UAAc,qB;QACd6C,6BAAwC,OAAxCA,EAAiD,IAAjDA,C;QACA,0BAAK,IAAL,c;;;QAEAC,aAAkC,I;IAClC,IAAI;A,UACa,6BAAqB,YAArB,c;;;MAAb,kB;MACI,KAAC,OAAQ,
|
|
1
|
+
{"version":3,"sources":["../../../../../../../../../../../../mnt/agent/work/8d547b974a7be21f/ktor-http/ktor-http-cio/common/src/io/ktor/http/cio/Multipart.kt","src/kotlin/CharCode.kt"],"sourcesContent":[null,null],"ignoreList":[],"x_google_ignoreList":[],"names":["<get-CrLf>","<get-PrefixString>","body","headers","parseMultipart","<this>","input","contentType","contentLength","maxPartSize","boundaryByteBuffer","boundaryBytes","parseBoundaryInternal","boundaryParameter","boundaryStart","position","state","i","ch","v","boundaryPrefixed","totalLength","findBoundary","paramNameCount","parsePreambleImpl","boundary","output","limit","$completion","<generator-parsePartHeadersImpl>","builder","t","parsePartHeadersImpl","<generator-parsePartBodyImpl>","byteCount","parsePartBodyImpl","<generator-skipIfFoundReadCount>","prefix","skipIfFoundReadCount","throwLimitExceeded","actual","parseBoundaryInternal$put","value","<generator-invoke>","countedInput","readBeforeParse","firstBoundary","preambleData","part","headersMap","cause","consumedExceptEpilogue","size","epilogueContent","$firstBoundary","$countedInput","invoke","parseMultipart$slambda$slambda","parseMultipart$slambda$slambda$lambda","$input","$boundaryPrefixed","$maxPartSize","$totalLength","parseMultipart$slambda","parseMultipart$slambda$lambda","<init properties Multipart.kt>"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBA+LQA,CAAAA,EAAA;A;EAAA,W;AAAO,C;;yBA2EPC,CAAAA,EAAA;A;EAAA,mB;AAAe,C;;;;;;kBA/NRC,I;;QAAP,iB;;;;;;;;;;;;kBAmBOC,O,EACAD,I;;QADP,oB;QAC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5DAC,c,EAFAC,a;;;;SAI0BC,CAAA,Y,EAAA5B,WAAA4B,E;;O;SA5M9B,E,EAAA5B,W;;;;;;;;;yCA4M8B6B,CAF1BH,c,EAFAC,aAI0BE,E;;UAAAC,CAAA,Y,EAAA9B,WAAA8B,qC;;;C;;;;;kBAR1BC,M,EADAC,iB,EAGAC,Y,EADAC,Y;;;;;;SAEwCN,CAAA,a,EAAA5B,WAAA4B,E;;O;SAvM5C,E,EAAA5B,W;;;;;;;;;iCAuM4CmC,CAHxCJ,M,EADAC,iB,EAGAC,Y,EADAC,YAEwCC,E;;UAAAC,CAAA,a,EAAApC,WAAAoC,sC;;;C;;8CAvM5CC,CAAAA,E;;;4BA+LqC,YAAP,MAAO,C;mBA2EV,aAAW,mBAAY,EAAZ,EAAX,C;;C;;;;;"}
|
|
@@ -96,16 +96,16 @@ function Node() {
|
|
|
96
96
|
if (NodeClass === VOID) {
|
|
97
97
|
class $ {
|
|
98
98
|
constructor(ch, exact, children) {
|
|
99
|
-
this.
|
|
100
|
-
this.
|
|
101
|
-
this.
|
|
99
|
+
this.u3b_1 = ch;
|
|
100
|
+
this.v3b_1 = exact;
|
|
101
|
+
this.w3b_1 = children;
|
|
102
102
|
var tmp = this;
|
|
103
103
|
var tmp_0 = 0;
|
|
104
104
|
// Inline function 'kotlin.arrayOfNulls' call
|
|
105
105
|
var tmp_1 = Array(256);
|
|
106
106
|
while (tmp_0 < 256) {
|
|
107
107
|
var tmp_2 = tmp_0;
|
|
108
|
-
var tmp0 = this.
|
|
108
|
+
var tmp0 = this.w3b_1;
|
|
109
109
|
var tmp$ret$3;
|
|
110
110
|
$l$block_0: {
|
|
111
111
|
// Inline function 'kotlin.collections.singleOrNull' call
|
|
@@ -115,7 +115,7 @@ function Node() {
|
|
|
115
115
|
while (_iterator__ex2g4s.l1()) {
|
|
116
116
|
var element = _iterator__ex2g4s.m1();
|
|
117
117
|
// Inline function 'kotlin.code' call
|
|
118
|
-
var this_0 = element.
|
|
118
|
+
var this_0 = element.u3b_1;
|
|
119
119
|
if (Char__toInt_impl_vasixd(this_0) === tmp_2) {
|
|
120
120
|
if (found) {
|
|
121
121
|
tmp$ret$3 = null;
|
|
@@ -134,7 +134,7 @@ function Node() {
|
|
|
134
134
|
tmp_1[tmp_2] = tmp$ret$3;
|
|
135
135
|
tmp_0 = tmp_0 + 1 | 0;
|
|
136
136
|
}
|
|
137
|
-
tmp.
|
|
137
|
+
tmp.x3b_1 = tmp_1;
|
|
138
138
|
}
|
|
139
139
|
}
|
|
140
140
|
initMetadataForClass($, 'Node');
|
|
@@ -146,11 +146,11 @@ var CompanionClass;
|
|
|
146
146
|
function Companion() {
|
|
147
147
|
if (CompanionClass === VOID) {
|
|
148
148
|
class $ {
|
|
149
|
-
|
|
149
|
+
d3b(from) {
|
|
150
150
|
var tmp = AsciiCharTree$Companion$build$lambda;
|
|
151
|
-
return this.
|
|
151
|
+
return this.y3b(from, tmp, AsciiCharTree$Companion$build$lambda_0);
|
|
152
152
|
}
|
|
153
|
-
|
|
153
|
+
y3b(from, length, charAt) {
|
|
154
154
|
var tmp$ret$0;
|
|
155
155
|
$l$block_0: {
|
|
156
156
|
// Inline function 'kotlin.collections.maxByOrNull' call
|
|
@@ -237,7 +237,7 @@ function AsciiCharTree() {
|
|
|
237
237
|
if (AsciiCharTreeClass === VOID) {
|
|
238
238
|
class $ {
|
|
239
239
|
constructor(root) {
|
|
240
|
-
this.
|
|
240
|
+
this.z3b_1 = root;
|
|
241
241
|
}
|
|
242
242
|
}
|
|
243
243
|
initMetadataForClass($, 'AsciiCharTree');
|