@attocash/commons-test 6.2.0 → 6.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/DateTimeUnit.mjs +58 -58
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/Exceptions.mjs +21 -21
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/LocalDate.mjs +56 -56
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/LocalDateTime.mjs +31 -31
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/LocalTime.mjs +41 -41
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/OverloadMarker.mjs +1 -1
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/TimeZone.mjs +65 -65
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/UtcOffset.mjs +22 -22
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/YearMonth.mjs +22 -22
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/ZonedDateTime.mjs +12 -12
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/format/DateTimeFormat.mjs +7 -7
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/format/DateTimeFormatBuilder.mjs +32 -32
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/format/LocalDateFormat.mjs +122 -122
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/format/LocalDateTimeFormat.mjs +104 -104
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/format/LocalTimeFormat.mjs +150 -150
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/format/UtcOffsetFormat.mjs +131 -131
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/format/YearMonthFormat.mjs +74 -74
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/OffsetInfo.mjs +29 -29
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/Platform.mjs +26 -26
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/RegionTimeZone.mjs +20 -20
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/TimeZoneRules.mjs +49 -49
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/Builder.mjs +7 -7
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/FieldFormatDirective.mjs +49 -49
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/FieldSpec.mjs +42 -42
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/FormatStructure.mjs +108 -108
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/Predicate.mjs +11 -11
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/formatter/Formatter.mjs +28 -28
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/formatter/FormatterOperation.mjs +45 -45
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/parser/NumberConsumer.mjs +43 -43
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/parser/ParseResult.mjs +4 -4
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/parser/Parser.mjs +54 -54
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/parser/ParserOperation.mjs +60 -60
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/math.mjs +16 -16
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/mathNative.mjs +3 -3
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/serializers/DateTimeUnitSerializers.mjs +100 -100
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/serializers/LocalDateSerializers.mjs +9 -9
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/serializers/LocalDateTimeSerializers.mjs +9 -9
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/serializers/LocalTimeSerializers.mjs +9 -9
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/serializers/TimeZoneSerializers.mjs +28 -28
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/serializers/YearMonthSerializers.mjs +9 -9
- package/commons-commons-core/cash/atto/commons/AccountUpdate.js.mjs +11 -11
- package/commons-commons-core/cash/atto/commons/AttoAccount.mjs +129 -129
- package/commons-commons-core/cash/atto/commons/AttoAccountEntry.mjs +116 -116
- package/commons-commons-core/cash/atto/commons/AttoAddress.mjs +32 -32
- package/commons-commons-core/cash/atto/commons/AttoAlgorithm.mjs +15 -15
- package/commons-commons-core/cash/atto/commons/AttoAmount.mjs +34 -34
- package/commons-commons-core/cash/atto/commons/AttoBlock.mjs +875 -875
- package/commons-commons-core/cash/atto/commons/AttoBufferExtensions.mjs +7 -7
- package/commons-commons-core/cash/atto/commons/AttoChallenge.mjs +13 -13
- package/commons-commons-core/cash/atto/commons/AttoFuture.js.mjs +8 -8
- package/commons-commons-core/cash/atto/commons/AttoHash.mjs +14 -14
- package/commons-commons-core/cash/atto/commons/AttoHasher.js.mjs +1 -1
- package/commons-commons-core/cash/atto/commons/AttoHeight.mjs +22 -22
- package/commons-commons-core/cash/atto/commons/AttoInstant.mjs +38 -38
- package/commons-commons-core/cash/atto/commons/AttoJob.mjs +1 -1
- package/commons-commons-core/cash/atto/commons/AttoKeyIndex.mjs +4 -4
- package/commons-commons-core/cash/atto/commons/AttoMnemonic.export.d.mts +2 -3
- package/commons-commons-core/cash/atto/commons/AttoMnemonic.mjs +35 -26
- package/commons-commons-core/cash/atto/commons/AttoMnemonic.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/AttoMnemonicDictionary.mjs +7 -7
- package/commons-commons-core/cash/atto/commons/AttoNetwork.mjs +12 -12
- package/commons-commons-core/cash/atto/commons/AttoPrivateKey.js.mjs +8 -8
- package/commons-commons-core/cash/atto/commons/AttoPrivateKey.mjs +30 -30
- package/commons-commons-core/cash/atto/commons/AttoPublicKey.mjs +13 -13
- package/commons-commons-core/cash/atto/commons/AttoReceivable.mjs +96 -96
- package/commons-commons-core/cash/atto/commons/AttoSeed.js.mjs +7 -7
- package/commons-commons-core/cash/atto/commons/AttoSeed.mjs +4 -4
- package/commons-commons-core/cash/atto/commons/AttoSignature.mjs +14 -14
- package/commons-commons-core/cash/atto/commons/AttoSigner.js.mjs +9 -9
- package/commons-commons-core/cash/atto/commons/AttoSocketAddress.mjs +6 -6
- package/commons-commons-core/cash/atto/commons/AttoTransaction.mjs +64 -64
- package/commons-commons-core/cash/atto/commons/AttoValidation.mjs +3 -3
- package/commons-commons-core/cash/atto/commons/AttoVersion.mjs +15 -15
- package/commons-commons-core/cash/atto/commons/AttoVote.mjs +78 -78
- package/commons-commons-core/cash/atto/commons/AttoWork.mjs +24 -24
- package/commons-commons-core/cash/atto/commons/AttoWorkTarget.mjs +16 -16
- package/commons-commons-core/cash/atto/commons/Extensions.mjs +8 -8
- package/commons-commons-core/cash/atto/commons/utils/Base32.mjs +9 -9
- package/commons-commons-core/cash/atto/commons/utils/SecureRandom.js.mjs +1 -1
- package/commons-commons-node/cash/atto/commons/node/AttoNodeClientAsync.export.d.mts +1 -1
- package/commons-commons-node/cash/atto/commons/node/AttoNodeClientAsync.mjs +332 -296
- package/commons-commons-node/cash/atto/commons/node/AttoNodeClientAsync.mjs.map +1 -1
- package/commons-commons-node/cash/atto/commons/node/AttoNodeOperations.mjs +156 -156
- package/commons-commons-node/cash/atto/commons/node/NodeExtensions.mjs +17 -17
- package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountEntryMonitor.mjs +7 -7
- package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountEntryMonitorAsync.mjs +34 -34
- package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountEntryMonitorAsyncBuilder.web.mjs +16 -16
- package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountMonitor.mjs +38 -38
- package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountMonitorAsync.mjs +54 -54
- package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountMonitorAsyncBuilder.web.mjs +3 -3
- package/commons-commons-node/cash/atto/commons/node/monitor/AttoHeightMonitor.mjs +64 -64
- package/commons-commons-node/cash/atto/commons/node/monitor/AttoTransactionMonitor.mjs +7 -7
- package/commons-commons-node/cash/atto/commons/node/monitor/AttoTransactionMonitorAsync.mjs +34 -34
- package/commons-commons-node/cash/atto/commons/node/monitor/AttoTransactionMonitorAsyncBuilder.web.mjs +16 -16
- package/commons-commons-node-remote/cash/atto/commons/node/AttoNodeClientAsyncBuilder.web.mjs +9 -9
- package/commons-commons-node-remote/cash/atto/commons/node/AttoNodeClientRemote.mjs +344 -344
- package/commons-commons-test/cash/atto/commons/node/AttoMockWorker.mjs +8 -8
- package/commons-commons-test/cash/atto/commons/node/AttoNodeMock.js.mjs +32 -32
- package/commons-commons-test/cash/atto/commons/node/AttoNodeMock.mjs +20 -20
- package/commons-commons-test/cash/atto/commons/node/AttoNodeMockAsync.js.mjs +15 -15
- package/commons-commons-test/cash/atto/commons/node/AttoNodeMockAsync.mjs +1 -1
- package/commons-commons-test/cash/atto/commons/node/AttoNodeMockAsyncBuilder.js.mjs +28 -28
- package/commons-commons-test/cash/atto/commons/node/AttoWorkerMock.js.mjs +15 -15
- package/commons-commons-test/cash/atto/commons/node/AttoWorkerMockAsync.js.mjs +12 -12
- package/commons-commons-test/cash/atto/commons/node/AttoWorkerMockAsync.mjs +1 -1
- package/commons-commons-test/cash/atto/commons/node/AttoWorkerMockAsyncBuilder.js.mjs +12 -12
- package/commons-commons-worker/cash/atto/commons/worker/AttoWorker.mjs +2 -2
- package/commons-commons-worker/cash/atto/commons/worker/AttoWorkerAsync.mjs +25 -25
- package/commons-commons-worker/cash/atto/commons/worker/AttoWorkerCache.mjs +79 -79
- package/commons-commons-worker/cash/atto/commons/worker/AttoWorkerCpu.mjs +38 -38
- package/commons-commons-worker/cash/atto/commons/worker/AttoWorkerOperations.mjs +82 -82
- package/commons-commons-worker-remote/cash/atto/commons/worker/AttoWorkerAsyncBuilder.web.mjs +16 -16
- package/commons-commons-worker-remote/cash/atto/commons/worker/AttoWorkerRemote.mjs +33 -33
- package/kotlin-kotlin-stdlib/kotlin/AutoCloseableJs.mjs +2 -2
- package/kotlin-kotlin-stdlib/kotlin/DeepRecursive.mjs +24 -24
- package/kotlin-kotlin-stdlib/kotlin/Enum.mjs +3 -3
- package/kotlin-kotlin-stdlib/kotlin/Lazy.mjs +9 -9
- package/kotlin-kotlin-stdlib/kotlin/Primitives.mjs +4 -4
- package/kotlin-kotlin-stdlib/kotlin/Result.mjs +11 -11
- package/kotlin-kotlin-stdlib/kotlin/Standard.mjs +3 -3
- package/kotlin-kotlin-stdlib/kotlin/Tuples.mjs +21 -21
- package/kotlin-kotlin-stdlib/kotlin/UByte.mjs +12 -12
- package/kotlin-kotlin-stdlib/kotlin/UByteArray.mjs +26 -26
- package/kotlin-kotlin-stdlib/kotlin/UInt.mjs +12 -12
- package/kotlin-kotlin-stdlib/kotlin/UIntArray.mjs +26 -26
- package/kotlin-kotlin-stdlib/kotlin/ULong.mjs +12 -12
- package/kotlin-kotlin-stdlib/kotlin/ULongArray.mjs +26 -26
- package/kotlin-kotlin-stdlib/kotlin/UShort.mjs +12 -12
- package/kotlin-kotlin-stdlib/kotlin/UShortArray.mjs +26 -26
- package/kotlin-kotlin-stdlib/kotlin/collections/AbstractCollection.mjs +2 -2
- package/kotlin-kotlin-stdlib/kotlin/collections/AbstractList.mjs +49 -95
- package/kotlin-kotlin-stdlib/kotlin/collections/AbstractList.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/collections/AbstractMap.mjs +40 -40
- package/kotlin-kotlin-stdlib/kotlin/collections/AbstractMutableCollectionJs.mjs +10 -10
- package/kotlin-kotlin-stdlib/kotlin/collections/AbstractMutableListJs.mjs +67 -92
- package/kotlin-kotlin-stdlib/kotlin/collections/AbstractMutableListJs.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/collections/AbstractMutableMap.mjs +25 -25
- package/kotlin-kotlin-stdlib/kotlin/collections/AbstractMutableSet.mjs +4 -4
- package/kotlin-kotlin-stdlib/kotlin/collections/AbstractSet.mjs +7 -7
- package/kotlin-kotlin-stdlib/kotlin/collections/ArrayDeque.mjs +202 -249
- package/kotlin-kotlin-stdlib/kotlin/collections/ArrayDeque.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/collections/ArrayListJs.mjs +37 -43
- package/kotlin-kotlin-stdlib/kotlin/collections/ArrayListJs.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/collections/Collections.export.d.mts +0 -9
- package/kotlin-kotlin-stdlib/kotlin/collections/Collections.export.mjs +1 -7
- package/kotlin-kotlin-stdlib/kotlin/collections/Collections.export.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/collections/Collections.mjs +15 -43
- package/kotlin-kotlin-stdlib/kotlin/collections/Collections.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/collections/CollectionsKt.mjs +36 -73
- package/kotlin-kotlin-stdlib/kotlin/collections/CollectionsKt.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/collections/HashMap.mjs +35 -35
- package/kotlin-kotlin-stdlib/kotlin/collections/HashMapEntry.mjs +51 -51
- package/kotlin-kotlin-stdlib/kotlin/collections/HashMapEntryDefault.mjs +38 -38
- package/kotlin-kotlin-stdlib/kotlin/collections/HashSet.mjs +16 -16
- package/kotlin-kotlin-stdlib/kotlin/collections/IndexedValue.mjs +7 -7
- package/kotlin-kotlin-stdlib/kotlin/collections/InternalHashMap.mjs +204 -204
- package/kotlin-kotlin-stdlib/kotlin/collections/InternalMap.mjs +1 -1
- package/kotlin-kotlin-stdlib/kotlin/collections/Iterables.mjs +2 -2
- package/kotlin-kotlin-stdlib/kotlin/collections/Iterators.mjs +6 -6
- package/kotlin-kotlin-stdlib/kotlin/collections/LinkedHashMap.mjs +17 -17
- package/kotlin-kotlin-stdlib/kotlin/collections/LinkedHashSet.mjs +7 -7
- package/kotlin-kotlin-stdlib/kotlin/collections/MapWithDefault.mjs +3 -3
- package/kotlin-kotlin-stdlib/kotlin/collections/Maps.mjs +25 -25
- package/kotlin-kotlin-stdlib/kotlin/collections/MutableCollections.mjs +4 -4
- package/kotlin-kotlin-stdlib/kotlin/collections/PrimitiveIterators.mjs +4 -4
- package/kotlin-kotlin-stdlib/kotlin/collections/Sets.mjs +11 -11
- package/kotlin-kotlin-stdlib/kotlin/collections/Sets.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/collections/_Arrays.mjs +0 -27
- package/kotlin-kotlin-stdlib/kotlin/collections/_Arrays.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/collections/_ArraysJs.mjs +4 -4
- package/kotlin-kotlin-stdlib/kotlin/collections/_CollectionsJs.mjs +2 -2
- package/kotlin-kotlin-stdlib/kotlin/collections/collectionJs.mjs +19 -19
- package/kotlin-kotlin-stdlib/kotlin/collections/collectionJs.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/collections/collectionsInterop.mjs +17 -112
- package/kotlin-kotlin-stdlib/kotlin/collections/collectionsInterop.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/coroutines/Continuation.mjs +1 -1
- package/kotlin-kotlin-stdlib/kotlin/coroutines/ContinuationInterceptor.mjs +3 -3
- package/kotlin-kotlin-stdlib/kotlin/coroutines/CoroutineContext.mjs +4 -4
- package/kotlin-kotlin-stdlib/kotlin/coroutines/CoroutineContextImpl.mjs +38 -38
- package/kotlin-kotlin-stdlib/kotlin/coroutines/CoroutineImpl.mjs +4 -4
- package/kotlin-kotlin-stdlib/kotlin/coroutines/GeneratorCoroutineImpl.mjs +38 -38
- package/kotlin-kotlin-stdlib/kotlin/coroutines/InterceptedCoroutine.mjs +10 -10
- package/kotlin-kotlin-stdlib/kotlin/coroutines/SafeContinuationJs.mjs +17 -17
- package/kotlin-kotlin-stdlib/kotlin/coroutines/intrinsics/IntrinsicsJs.mjs +21 -21
- package/kotlin-kotlin-stdlib/kotlin/enums/EnumEntries.mjs +10 -30
- package/kotlin-kotlin-stdlib/kotlin/enums/EnumEntries.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/exceptions.mjs +71 -71
- package/kotlin-kotlin-stdlib/kotlin/hacks.mjs +3 -3
- package/kotlin-kotlin-stdlib/kotlin/js/JsClass.mjs +1 -1
- package/kotlin-kotlin-stdlib/kotlin/js/arrays.mjs +8 -8
- package/kotlin-kotlin-stdlib/kotlin/js/internal/primitiveCompanionObjects.mjs +26 -26
- package/kotlin-kotlin-stdlib/kotlin/js/json.mjs +2 -2
- package/kotlin-kotlin-stdlib/kotlin/random/Random.mjs +29 -29
- package/kotlin-kotlin-stdlib/kotlin/random/XorWowRandom.mjs +25 -25
- package/kotlin-kotlin-stdlib/kotlin/ranges/PrimitiveRanges.mjs +17 -17
- package/kotlin-kotlin-stdlib/kotlin/ranges/ProgressionIterators.mjs +26 -26
- package/kotlin-kotlin-stdlib/kotlin/ranges/Progressions.mjs +10 -10
- package/kotlin-kotlin-stdlib/kotlin/reflect/KTypeProjection.mjs +16 -16
- package/kotlin-kotlin-stdlib/kotlin/reflect/js/internal/KClassImpl.mjs +23 -23
- package/kotlin-kotlin-stdlib/kotlin/reflect/js/internal/KTypeHelpers.mjs +2 -2
- package/kotlin-kotlin-stdlib/kotlin/reflect/js/internal/KTypeParameterImpl.mjs +8 -8
- package/kotlin-kotlin-stdlib/kotlin/reflect/js/internal/primitives.mjs +20 -20
- package/kotlin-kotlin-stdlib/kotlin/sequences/SequenceBuilder.mjs +34 -34
- package/kotlin-kotlin-stdlib/kotlin/sequences/Sequences.mjs +27 -27
- package/kotlin-kotlin-stdlib/kotlin/text/CharacterCodingExceptionJs.mjs +6 -6
- package/kotlin-kotlin-stdlib/kotlin/text/HexExtensions.mjs +18 -18
- package/kotlin-kotlin-stdlib/kotlin/text/HexFormat.mjs +45 -45
- package/kotlin-kotlin-stdlib/kotlin/text/Indent.mjs +2 -2
- package/kotlin-kotlin-stdlib/kotlin/text/StringBuilderJs.mjs +17 -17
- package/kotlin-kotlin-stdlib/kotlin/text/StringNumberConversions.mjs +1 -1
- package/kotlin-kotlin-stdlib/kotlin/text/Strings.mjs +66 -66
- package/kotlin-kotlin-stdlib/kotlin/text/_DigitChars.mjs +3 -3
- package/kotlin-kotlin-stdlib/kotlin/text/_LetterChars.mjs +7 -7
- package/kotlin-kotlin-stdlib/kotlin/text/regex.mjs +21 -21
- package/kotlin-kotlin-stdlib/kotlin/text/stringJs.mjs +19 -19
- package/kotlin-kotlin-stdlib/kotlin/text/stringJs.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/text/stringsCode.mjs +3 -3
- package/kotlin-kotlin-stdlib/kotlin/text/utf8Encoding.mjs +1 -1
- package/kotlin-kotlin-stdlib/kotlin/throwableExtensions.mjs +21 -21
- package/kotlin-kotlin-stdlib/kotlin/time/Clock.mjs +1 -1
- package/kotlin-kotlin-stdlib/kotlin/time/Duration.mjs +81 -81
- package/kotlin-kotlin-stdlib/kotlin/time/DurationUnitJs.mjs +6 -6
- package/kotlin-kotlin-stdlib/kotlin/time/Instant.mjs +84 -84
- package/kotlin-kotlin-stdlib/kotlin/time/InstantJs.mjs +1 -1
- package/kotlin-kotlin-stdlib/kotlin/uuid/Uuid.mjs +24 -24
- package/kotlin-kotlin-stdlib/kotlin/uuid/UuidJs.mjs +2 -2
- package/kotlin-kotlin-stdlib/reflectionJs.mjs +2 -2
- package/kotlinx-atomicfu/kotlinx/atomicfu/AtomicFU.common.mjs +5 -5
- package/kotlinx-atomicfu/kotlinx/atomicfu/AtomicFU.mjs +8 -8
- package/kotlinx-coroutines-core/kotlinx/coroutines/AbstractCoroutine.mjs +27 -27
- package/kotlinx-coroutines-core/kotlinx/coroutines/Builders.common.mjs +16 -16
- package/kotlinx-coroutines-core/kotlinx/coroutines/CancellableContinuation.mjs +8 -8
- package/kotlinx-coroutines-core/kotlinx/coroutines/CancellableContinuationImpl.mjs +173 -173
- package/kotlinx-coroutines-core/kotlinx/coroutines/CompletableDeferred.mjs +10 -10
- package/kotlinx-coroutines-core/kotlinx/coroutines/CompletionState.mjs +11 -11
- package/kotlinx-coroutines-core/kotlinx/coroutines/CoroutineContext.mjs +4 -4
- package/kotlinx-coroutines-core/kotlinx/coroutines/CoroutineDispatcher.mjs +9 -9
- package/kotlinx-coroutines-core/kotlinx/coroutines/CoroutineExceptionHandler.mjs +4 -4
- package/kotlinx-coroutines-core/kotlinx/coroutines/CoroutineName.mjs +4 -4
- package/kotlinx-coroutines-core/kotlinx/coroutines/CoroutineScope.mjs +7 -7
- package/kotlinx-coroutines-core/kotlinx/coroutines/CoroutineStart.mjs +2 -2
- package/kotlinx-coroutines-core/kotlinx/coroutines/Delay.mjs +4 -4
- package/kotlinx-coroutines-core/kotlinx/coroutines/DispatchedTask.mjs +49 -49
- package/kotlinx-coroutines-core/kotlinx/coroutines/Dispatchers.mjs +18 -18
- package/kotlinx-coroutines-core/kotlinx/coroutines/EventLoop.common.mjs +30 -30
- package/kotlinx-coroutines-core/kotlinx/coroutines/EventLoop.mjs +2 -2
- package/kotlinx-coroutines-core/kotlinx/coroutines/Exceptions.common.mjs +6 -6
- package/kotlinx-coroutines-core/kotlinx/coroutines/Exceptions.mjs +6 -6
- package/kotlinx-coroutines-core/kotlinx/coroutines/JSDispatcher.mjs +90 -112
- package/kotlinx-coroutines-core/kotlinx/coroutines/JSDispatcher.mjs.map +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/Job.mjs +17 -17
- package/kotlinx-coroutines-core/kotlinx/coroutines/JobSupport.mjs +324 -324
- package/kotlinx-coroutines-core/kotlinx/coroutines/MainCoroutineDispatcher.mjs +5 -5
- package/kotlinx-coroutines-core/kotlinx/coroutines/Promise.mjs +8 -8
- package/kotlinx-coroutines-core/kotlinx/coroutines/Supervisor.mjs +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/Unconfined.mjs +7 -7
- package/kotlinx-coroutines-core/kotlinx/coroutines/channels/BufferedChannel.mjs +462 -462
- package/kotlinx-coroutines-core/kotlinx/coroutines/channels/Channel.mjs +30 -30
- package/kotlinx-coroutines-core/kotlinx/coroutines/channels/ChannelCoroutine.mjs +19 -19
- package/kotlinx-coroutines-core/kotlinx/coroutines/channels/Channels.common.mjs +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/channels/ConflatedBufferedChannel.mjs +16 -16
- package/kotlinx-coroutines-core/kotlinx/coroutines/channels/Produce.mjs +13 -13
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Builders.mjs +13 -13
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Channels.mjs +2 -2
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Collect.mjs +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Emitters.mjs +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Reduce.mjs +18 -18
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Share.mjs +11 -11
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/SharedFlow.mjs +45 -45
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/StateFlow.mjs +51 -51
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/AbstractSharedFlow.mjs +25 -25
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/ChannelFlow.mjs +65 -65
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/FlowExceptions.common.mjs +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/FlowExceptions.mjs +6 -6
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/Merge.mjs +39 -39
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/SafeCollector.common.mjs +5 -5
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/SafeCollector.mjs +10 -10
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/SendingCollector.mjs +3 -3
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/Concurrent.common.mjs +2 -2
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/Concurrent.mjs +11 -11
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/ConcurrentLinkedList.mjs +49 -49
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/CoroutineExceptionHandlerImpl.common.mjs +2 -2
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/CoroutineExceptionHandlerImpl.mjs +3 -3
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/DispatchedContinuation.mjs +77 -77
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/LimitedDispatcher.mjs +37 -37
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/LinkedList.mjs +23 -23
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/LockFreeTaskQueue.mjs +74 -74
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/NamedDispatcher.mjs +10 -10
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/OnUndeliveredElement.mjs +4 -4
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/Scopes.mjs +11 -11
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/Symbol.mjs +2 -2
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/ThreadLocal.mjs +5 -5
- package/kotlinx-coroutines-core/kotlinx/coroutines/intrinsics/Cancellable.mjs +2 -2
- package/kotlinx-coroutines-core/kotlinx/coroutines/intrinsics/Undispatched.mjs +12 -12
- package/kotlinx-coroutines-core/kotlinx/coroutines/selects/Select.mjs +15 -15
- package/kotlinx-coroutines-core/kotlinx/coroutines/sync/Mutex.mjs +54 -54
- package/kotlinx-coroutines-core/kotlinx/coroutines/sync/Semaphore.mjs +65 -65
- package/kotlinx-io-kotlinx-io-bytestring/kotlinx/io/bytestring/ByteString.mjs +36 -36
- package/kotlinx-io-kotlinx-io-bytestring/kotlinx/io/bytestring/unsafe/UnsafeByteStringOperations.mjs +2 -2
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/-PlatformJs.mjs +14 -14
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/-Util.mjs +1 -1
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/Buffer.mjs +191 -191
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/Buffers.mjs +10 -10
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/ByteStrings.mjs +1 -1
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/PeekSource.mjs +21 -21
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/RealSource.mjs +54 -54
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/Segment.mjs +151 -151
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/SegmentPool.mjs +6 -6
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/Sink.mjs +2 -2
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/Sinks.mjs +3 -3
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/Sources.mjs +15 -15
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/Utf8.mjs +58 -58
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/internal/-Utf8.mjs +1 -1
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/unsafe/UnsafeBufferOperations.mjs +12 -12
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/PolymorphicSerializer.mjs +19 -19
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/SealedSerializer.mjs +46 -46
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/SerializationExceptions.mjs +23 -23
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/Serializers.mjs +6 -6
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/SerializersCache.mjs +6 -6
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/SerializersJs.mjs +4 -4
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/builtins/BuiltinSerializers.mjs +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/descriptors/ContextAware.mjs +33 -33
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/descriptors/SerialDescriptor.mjs +18 -18
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/descriptors/SerialDescriptors.mjs +66 -66
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/encoding/AbstractDecoder.mjs +55 -55
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/encoding/AbstractEncoder.mjs +65 -65
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/encoding/Decoding.mjs +2 -2
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/encoding/Encoding.mjs +2 -2
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/AbstractPolymorphicSerializer.mjs +26 -26
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/BuiltInSerializers.mjs +38 -38
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/CollectionDescriptors.mjs +56 -56
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/CollectionDescriptors.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/CollectionSerializers.mjs +243 -243
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/ElementMarker.mjs +22 -22
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Enums.mjs +33 -33
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/InlineClassDescriptor.mjs +16 -16
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/NoOpEncoder.mjs +18 -18
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/NothingSerialDescriptor.mjs +16 -16
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/NullableSerializer.mjs +43 -43
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/ObjectSerializer.mjs +19 -19
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Platform.common.mjs +7 -7
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Platform.mjs +14 -14
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/PluginExceptions.mjs +2 -2
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/PluginGeneratedSerialDescriptor.mjs +72 -72
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/PrimitiveArraysSerializers.mjs +444 -444
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Primitives.mjs +116 -116
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Tagged.mjs +106 -106
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Tuples.mjs +92 -92
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/ValueClasses.mjs +48 -48
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/modules/SerializersModule.mjs +33 -33
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/modules/SerializersModuleCollector.mjs +1 -1
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/Json.mjs +44 -44
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/JsonConfiguration.mjs +18 -18
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/JsonElement.mjs +68 -90
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/JsonElement.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/JsonElementSerializers.mjs +152 -152
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/JsonSchemaCache.mjs +1 -1
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/AbstractJsonLexer.mjs +178 -178
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/CommentLexers.mjs +25 -25
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/Composers.mjs +71 -71
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonElementMarker.mjs +8 -8
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonExceptions.mjs +14 -14
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonNamesMap.mjs +24 -24
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonPath.mjs +39 -39
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonSerializersModuleValidator.mjs +16 -16
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonStreams.mjs +2 -2
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonToStringWriterJsWasm.mjs +12 -12
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonTreeReader.mjs +67 -67
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/Polymorphic.mjs +6 -6
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/SchemaCache.mjs +12 -12
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/StreamingJsonDecoder.mjs +176 -176
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/StreamingJsonEncoder.mjs +139 -139
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/StringJsonLexer.mjs +51 -51
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/StringOps.mjs +2 -2
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/TreeJsonDecoder.mjs +220 -220
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/WriteMode.mjs +9 -9
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/createMapForCache.mjs +1 -1
- package/ktor-ktor-client-content-negotiation/io/ktor/client/plugins/contentnegotiation/ContentNegotiation.mjs +72 -72
- package/ktor-ktor-client-content-negotiation/io/ktor/client/plugins/contentnegotiation/JsonContentTypeMatcher.mjs +4 -4
- package/ktor-ktor-client-core/io/ktor/client/HttpClient.mjs +76 -76
- package/ktor-ktor-client-core/io/ktor/client/HttpClientConfig.mjs +41 -41
- package/ktor-ktor-client-core/io/ktor/client/JsRequestUtils.mjs +1 -1
- package/ktor-ktor-client-core/io/ktor/client/call/DelegatedCall.mjs +43 -43
- package/ktor-ktor-client-core/io/ktor/client/call/HttpClientCall.mjs +51 -51
- package/ktor-ktor-client-core/io/ktor/client/call/SavedCall.mjs +49 -49
- package/ktor-ktor-client-core/io/ktor/client/call/utils.mjs +2 -2
- package/ktor-ktor-client-core/io/ktor/client/content/ObservableContent.mjs +23 -23
- package/ktor-ktor-client-core/io/ktor/client/engine/HttpClientEngine.mjs +57 -57
- package/ktor-ktor-client-core/io/ktor/client/engine/HttpClientEngineBase.mjs +23 -23
- package/ktor-ktor-client-core/io/ktor/client/engine/HttpClientEngineCapability.mjs +1 -1
- package/ktor-ktor-client-core/io/ktor/client/engine/HttpClientEngineConfig.mjs +4 -4
- package/ktor-ktor-client-core/io/ktor/client/engine/Loader.mjs +11 -11
- package/ktor-ktor-client-core/io/ktor/client/engine/Utils.mjs +25 -25
- package/ktor-ktor-client-core/io/ktor/client/engine/js/Js.mjs +6 -6
- package/ktor-ktor-client-core/io/ktor/client/engine/js/JsClientEngine.mjs +34 -34
- package/ktor-ktor-client-core/io/ktor/client/engine/js/JsUtils.mjs +17 -17
- package/ktor-ktor-client-core/io/ktor/client/engine/js/browser/BrowserFetch.mjs +14 -14
- package/ktor-ktor-client-core/io/ktor/client/engine/js/compatibility/Utils.mjs +9 -9
- package/ktor-ktor-client-core/io/ktor/client/plugins/BodyProgress.mjs +40 -40
- package/ktor-ktor-client-core/io/ktor/client/plugins/DefaultResponseValidation.mjs +33 -33
- package/ktor-ktor-client-core/io/ktor/client/plugins/DefaultTransform.mjs +74 -74
- package/ktor-ktor-client-core/io/ktor/client/plugins/HttpCallValidator.mjs +83 -83
- package/ktor-ktor-client-core/io/ktor/client/plugins/HttpClientPlugin.mjs +2 -2
- package/ktor-ktor-client-core/io/ktor/client/plugins/HttpPlainText.mjs +60 -60
- package/ktor-ktor-client-core/io/ktor/client/plugins/HttpRedirect.mjs +34 -34
- package/ktor-ktor-client-core/io/ktor/client/plugins/HttpRequestLifecycle.mjs +32 -32
- package/ktor-ktor-client-core/io/ktor/client/plugins/HttpRequestRetry.mjs +116 -116
- package/ktor-ktor-client-core/io/ktor/client/plugins/HttpSend.mjs +53 -53
- package/ktor-ktor-client-core/io/ktor/client/plugins/HttpTimeout.mjs +84 -84
- package/ktor-ktor-client-core/io/ktor/client/plugins/SaveBody.mjs +24 -24
- package/ktor-ktor-client-core/io/ktor/client/plugins/api/ClientHook.mjs +4 -4
- package/ktor-ktor-client-core/io/ktor/client/plugins/api/ClientPluginBuilder.mjs +13 -13
- package/ktor-ktor-client-core/io/ktor/client/plugins/api/ClientPluginInstance.mjs +12 -12
- package/ktor-ktor-client-core/io/ktor/client/plugins/api/CommonHooks.mjs +28 -28
- package/ktor-ktor-client-core/io/ktor/client/plugins/api/CreatePluginUtils.mjs +14 -14
- package/ktor-ktor-client-core/io/ktor/client/plugins/api/KtorCallContexts.mjs +39 -39
- package/ktor-ktor-client-core/io/ktor/client/plugins/sse/ClientSSESession.mjs +4 -4
- package/ktor-ktor-client-core/io/ktor/client/plugins/websocket/JsWebSocketSession.mjs +49 -49
- package/ktor-ktor-client-core/io/ktor/client/plugins/websocket/WebSockets.mjs +4 -4
- package/ktor-ktor-client-core/io/ktor/client/request/DefaultHttpRequest.mjs +18 -18
- package/ktor-ktor-client-core/io/ktor/client/request/HttpRequest.mjs +60 -60
- package/ktor-ktor-client-core/io/ktor/client/request/HttpRequestPipeline.mjs +18 -18
- package/ktor-ktor-client-core/io/ktor/client/request/utils.mjs +1 -1
- package/ktor-ktor-client-core/io/ktor/client/statement/DefaultHttpResponse.mjs +25 -25
- package/ktor-ktor-client-core/io/ktor/client/statement/HttpResponse.mjs +8 -8
- package/ktor-ktor-client-core/io/ktor/client/statement/HttpResponsePipeline.mjs +27 -27
- package/ktor-ktor-client-core/io/ktor/client/statement/HttpStatement.mjs +22 -22
- package/ktor-ktor-client-core/io/ktor/client/utils/ByteChannelUtils.mjs +17 -17
- package/ktor-ktor-client-core/io/ktor/client/utils/ClientEvents.mjs +2 -2
- package/ktor-ktor-client-core/io/ktor/client/utils/Content.mjs +3 -3
- package/ktor-ktor-client-core/io/ktor/client/utils/HeadersUtils.mjs +6 -6
- package/ktor-ktor-client-core/io/ktor/client/utils/headers.mjs +1 -1
- package/ktor-ktor-events/io/ktor/events/Events.mjs +6 -6
- package/ktor-ktor-http/io/ktor/http/Codecs.mjs +15 -15
- package/ktor-ktor-http/io/ktor/http/ContentTypes.mjs +93 -93
- package/ktor-ktor-http/io/ktor/http/HeaderValueWithParameters.mjs +19 -19
- package/ktor-ktor-http/io/ktor/http/Headers.mjs +18 -18
- package/ktor-ktor-http/io/ktor/http/HttpHeaderValueParser.mjs +42 -42
- package/ktor-ktor-http/io/ktor/http/HttpHeaders.mjs +115 -115
- package/ktor-ktor-http/io/ktor/http/HttpMessageProperties.mjs +6 -6
- package/ktor-ktor-http/io/ktor/http/HttpMethod.mjs +13 -13
- package/ktor-ktor-http/io/ktor/http/HttpProtocolVersion.mjs +16 -16
- package/ktor-ktor-http/io/ktor/http/HttpStatusCode.mjs +68 -68
- package/ktor-ktor-http/io/ktor/http/Parameters.mjs +11 -11
- package/ktor-ktor-http/io/ktor/http/Query.mjs +4 -4
- package/ktor-ktor-http/io/ktor/http/URLBuilder.mjs +61 -61
- package/ktor-ktor-http/io/ktor/http/URLBuilderJs.mjs +1 -1
- package/ktor-ktor-http/io/ktor/http/URLParser.mjs +34 -34
- package/ktor-ktor-http/io/ktor/http/URLProtocol.mjs +22 -22
- package/ktor-ktor-http/io/ktor/http/URLUtils.mjs +18 -18
- package/ktor-ktor-http/io/ktor/http/Url.mjs +69 -69
- package/ktor-ktor-http/io/ktor/http/UrlDecodedParametersBuilder.mjs +26 -26
- package/ktor-ktor-http/io/ktor/http/content/ByteArrayContent.mjs +9 -9
- package/ktor-ktor-http/io/ktor/http/content/OutgoingContent.mjs +8 -8
- package/ktor-ktor-http/io/ktor/http/content/TextContent.mjs +12 -12
- package/ktor-ktor-http-cio/io/ktor/http/cio/CIOMultipartDataBase.mjs +5 -5
- package/ktor-ktor-http-cio/io/ktor/http/cio/HttpHeadersMap.mjs +90 -90
- package/ktor-ktor-http-cio/io/ktor/http/cio/HttpParser.mjs +33 -33
- package/ktor-ktor-http-cio/io/ktor/http/cio/Multipart.mjs +53 -53
- package/ktor-ktor-http-cio/io/ktor/http/cio/internals/AsciiCharTree.mjs +15 -15
- package/ktor-ktor-http-cio/io/ktor/http/cio/internals/CharArrayBuilder.mjs +74 -74
- package/ktor-ktor-http-cio/io/ktor/http/cio/internals/CharArrayPool.mjs +2 -2
- package/ktor-ktor-http-cio/io/ktor/http/cio/internals/Chars.mjs +6 -6
- package/ktor-ktor-http-cio/io/ktor/http/cio/internals/Errors.mjs +3 -3
- package/ktor-ktor-http-cio/io/ktor/http/cio/internals/MutableRange.mjs +3 -3
- package/ktor-ktor-io/io/ktor/utils/io/ByteChannel.mjs +127 -127
- package/ktor-ktor-io/io/ktor/utils/io/ByteChannelCtor.mjs +1 -1
- package/ktor-ktor-io/io/ktor/utils/io/ByteChannelScanner.mjs +53 -53
- package/ktor-ktor-io/io/ktor/utils/io/ByteReadChannel.mjs +13 -13
- package/ktor-ktor-io/io/ktor/utils/io/ByteReadChannelOperations.mjs +59 -59
- package/ktor-ktor-io/io/ktor/utils/io/ByteWriteChannel.mjs +2 -2
- package/ktor-ktor-io/io/ktor/utils/io/ByteWriteChannelOperations.mjs +39 -39
- package/ktor-ktor-io/io/ktor/utils/io/CloseToken.mjs +11 -11
- package/ktor-ktor-io/io/ktor/utils/io/CountedByteReadChannel.mjs +23 -23
- package/ktor-ktor-io/io/ktor/utils/io/Exceptions.mjs +12 -12
- package/ktor-ktor-io/io/ktor/utils/io/IODispatcher.jsAndWasmShared.mjs +1 -1
- package/ktor-ktor-io/io/ktor/utils/io/LineEndingMode.mjs +15 -15
- package/ktor-ktor-io/io/ktor/utils/io/SourceByteReadChannel.mjs +18 -18
- package/ktor-ktor-io/io/ktor/utils/io/charsets/Charset.js.mjs +36 -36
- package/ktor-ktor-io/io/ktor/utils/io/charsets/Encoding.mjs +5 -5
- package/ktor-ktor-io/io/ktor/utils/io/charsets/ISO88591.mjs +2 -2
- package/ktor-ktor-io/io/ktor/utils/io/charsets/TextDecoder.js.mjs +3 -3
- package/ktor-ktor-io/io/ktor/utils/io/charsets/TextDecoderFallback.js.mjs +5 -5
- package/ktor-ktor-io/io/ktor/utils/io/core/Buffer.mjs +1 -1
- package/ktor-ktor-io/io/ktor/utils/io/core/BytePacketBuilder.mjs +2 -2
- package/ktor-ktor-io/io/ktor/utils/io/core/ByteReadPacket.mjs +4 -4
- package/ktor-ktor-io/io/ktor/utils/io/core/Input.mjs +1 -1
- package/ktor-ktor-io/io/ktor/utils/io/core/Strings.mjs +10 -10
- package/ktor-ktor-io/io/ktor/utils/io/pool/ByteArrayPool.mjs +1 -1
- package/ktor-ktor-io/io/ktor/utils/io/pool/DefaultPool.mjs +29 -29
- package/ktor-ktor-io/io/ktor/utils/io/pool/Pool.mjs +4 -4
- package/ktor-ktor-serialization/io/ktor/serialization/ContentConvertException.mjs +6 -6
- package/ktor-ktor-serialization/io/ktor/serialization/ContentConverter.mjs +42 -42
- package/ktor-ktor-serialization-kotlinx/io/ktor/serialization/kotlinx/Extensions.mjs +1 -1
- package/ktor-ktor-serialization-kotlinx/io/ktor/serialization/kotlinx/KotlinxSerializationConverter.mjs +89 -89
- package/ktor-ktor-serialization-kotlinx/io/ktor/serialization/kotlinx/SerializerLookup.mjs +11 -11
- package/ktor-ktor-serialization-kotlinx-json/io/ktor/serialization/kotlinx/json/JsonSupport.mjs +7 -7
- package/ktor-ktor-utils/io/ktor/util/Attributes.mjs +13 -13
- package/ktor-ktor-utils/io/ktor/util/AttributesJs.mjs +15 -15
- package/ktor-ktor-utils/io/ktor/util/CaseInsensitiveMap.mjs +45 -45
- package/ktor-ktor-utils/io/ktor/util/CoroutinesUtils.mjs +2 -2
- package/ktor-ktor-utils/io/ktor/util/DelegatingMutableSet.mjs +40 -40
- package/ktor-ktor-utils/io/ktor/util/PlatformUtils.mjs +16 -16
- package/ktor-ktor-utils/io/ktor/util/StringValues.mjs +83 -83
- package/ktor-ktor-utils/io/ktor/util/Text.mjs +9 -9
- package/ktor-ktor-utils/io/ktor/util/collections/CopyOnWriteHashMap.mjs +3 -3
- package/ktor-ktor-utils/io/ktor/util/date/Date.mjs +106 -106
- package/ktor-ktor-utils/io/ktor/util/date/DateJs.mjs +5 -5
- package/ktor-ktor-utils/io/ktor/util/internal/LockFreeLinkedList.mjs +8 -8
- package/ktor-ktor-utils/io/ktor/util/logging/KtorSimpleLoggerJs.mjs +10 -10
- package/ktor-ktor-utils/io/ktor/util/logging/LoggerJs.mjs +1 -1
- package/ktor-ktor-utils/io/ktor/util/pipeline/DebugPipelineContext.mjs +29 -29
- package/ktor-ktor-utils/io/ktor/util/pipeline/PhaseContent.mjs +26 -26
- package/ktor-ktor-utils/io/ktor/util/pipeline/Pipeline.mjs +55 -55
- package/ktor-ktor-utils/io/ktor/util/pipeline/PipelineContext.mjs +1 -1
- package/ktor-ktor-utils/io/ktor/util/pipeline/PipelinePhase.mjs +3 -3
- package/ktor-ktor-utils/io/ktor/util/pipeline/PipelinePhaseRelation.mjs +2 -2
- package/ktor-ktor-utils/io/ktor/util/pipeline/SuspendFunctionGun.mjs +58 -58
- package/ktor-ktor-utils/io/ktor/util/reflect/Type.mjs +9 -9
- package/ktor-ktor-utils/io/ktor/util/reflect/TypeInfoJs.mjs +1 -1
- package/ktor-ktor-websockets/io/ktor/websocket/CloseReason.mjs +18 -18
- package/ktor-ktor-websockets/io/ktor/websocket/FrameCommon.mjs +1 -1
- package/ktor-ktor-websockets/io/ktor/websocket/FrameJs.mjs +31 -31
- package/ktor-ktor-websockets/io/ktor/websocket/FrameType.mjs +8 -8
- package/package.json +1 -1
|
@@ -60,18 +60,18 @@ var imul = Math.imul;
|
|
|
60
60
|
//endregion
|
|
61
61
|
function hasParameter($this, name, value) {
|
|
62
62
|
var tmp;
|
|
63
|
-
switch ($this.
|
|
63
|
+
switch ($this.c2w_1.u2()) {
|
|
64
64
|
case 0:
|
|
65
65
|
tmp = false;
|
|
66
66
|
break;
|
|
67
67
|
case 1:
|
|
68
68
|
// Inline function 'kotlin.let' call
|
|
69
69
|
|
|
70
|
-
var it = $this.
|
|
71
|
-
tmp = (equals(it.
|
|
70
|
+
var it = $this.c2w_1.v2(0);
|
|
71
|
+
tmp = (equals(it.d2w_1, name, true) && equals(it.e2w_1, value, true));
|
|
72
72
|
break;
|
|
73
73
|
default:
|
|
74
|
-
var tmp0 = $this.
|
|
74
|
+
var tmp0 = $this.c2w_1;
|
|
75
75
|
var tmp$ret$2;
|
|
76
76
|
$l$block_0: {
|
|
77
77
|
// Inline function 'kotlin.collections.any' call
|
|
@@ -88,7 +88,7 @@ function hasParameter($this, name, value) {
|
|
|
88
88
|
var _iterator__ex2g4s = tmp0.q1();
|
|
89
89
|
while (_iterator__ex2g4s.r1()) {
|
|
90
90
|
var element = _iterator__ex2g4s.s1();
|
|
91
|
-
if (equals(element.
|
|
91
|
+
if (equals(element.d2w_1, name, true) && equals(element.e2w_1, value, true)) {
|
|
92
92
|
tmp$ret$2 = true;
|
|
93
93
|
break $l$block_0;
|
|
94
94
|
}
|
|
@@ -107,34 +107,34 @@ function Companion() {
|
|
|
107
107
|
class $ {
|
|
108
108
|
constructor() {
|
|
109
109
|
Companion_instance_0 = this;
|
|
110
|
-
this.
|
|
110
|
+
this.g2w_1 = ContentType().l2w('*', '*');
|
|
111
111
|
}
|
|
112
|
-
|
|
112
|
+
vq(value) {
|
|
113
113
|
if (isBlank(value))
|
|
114
|
-
return this.
|
|
114
|
+
return this.g2w_1;
|
|
115
115
|
// Inline function 'io.ktor.http.Companion.parse' call
|
|
116
116
|
var headerValue = last(parseHeaderValue(value));
|
|
117
|
-
var tmp0 = headerValue.
|
|
118
|
-
var parameters = headerValue.
|
|
117
|
+
var tmp0 = headerValue.m2w_1;
|
|
118
|
+
var parameters = headerValue.n2w_1;
|
|
119
119
|
var slash = indexOf(tmp0, _Char___init__impl__6a9atx(47));
|
|
120
120
|
if (slash === -1) {
|
|
121
121
|
// Inline function 'kotlin.text.trim' call
|
|
122
122
|
if (toString(trim(isCharSequence(tmp0) ? tmp0 : THROW_CCE())) === '*')
|
|
123
|
-
return Companion_getInstance().
|
|
124
|
-
throw BadContentTypeFormatException().
|
|
123
|
+
return Companion_getInstance().g2w_1;
|
|
124
|
+
throw BadContentTypeFormatException().r2w(value);
|
|
125
125
|
}
|
|
126
126
|
// Inline function 'kotlin.text.trim' call
|
|
127
127
|
var this_0 = substring(tmp0, 0, slash);
|
|
128
128
|
var type = toString(trim(isCharSequence(this_0) ? this_0 : THROW_CCE()));
|
|
129
129
|
// Inline function 'kotlin.text.isEmpty' call
|
|
130
130
|
if (charSequenceLength(type) === 0) {
|
|
131
|
-
throw BadContentTypeFormatException().
|
|
131
|
+
throw BadContentTypeFormatException().r2w(value);
|
|
132
132
|
}
|
|
133
133
|
// Inline function 'kotlin.text.trim' call
|
|
134
134
|
var this_1 = substring_0(tmp0, slash + 1 | 0);
|
|
135
135
|
var subtype = toString(trim(isCharSequence(this_1) ? this_1 : THROW_CCE()));
|
|
136
136
|
if (contains(type, _Char___init__impl__6a9atx(32)) || contains(subtype, _Char___init__impl__6a9atx(32))) {
|
|
137
|
-
throw BadContentTypeFormatException().
|
|
137
|
+
throw BadContentTypeFormatException().r2w(value);
|
|
138
138
|
}
|
|
139
139
|
var tmp;
|
|
140
140
|
// Inline function 'kotlin.text.isEmpty' call
|
|
@@ -144,9 +144,9 @@ function Companion() {
|
|
|
144
144
|
tmp = contains(subtype, _Char___init__impl__6a9atx(47));
|
|
145
145
|
}
|
|
146
146
|
if (tmp) {
|
|
147
|
-
throw BadContentTypeFormatException().
|
|
147
|
+
throw BadContentTypeFormatException().r2w(value);
|
|
148
148
|
}
|
|
149
|
-
return ContentType().
|
|
149
|
+
return ContentType().l2w(type, subtype, parameters);
|
|
150
150
|
}
|
|
151
151
|
}
|
|
152
152
|
initMetadataForCompanion($);
|
|
@@ -166,32 +166,32 @@ function Application() {
|
|
|
166
166
|
class $ {
|
|
167
167
|
constructor() {
|
|
168
168
|
Application_instance = this;
|
|
169
|
-
this.
|
|
170
|
-
this.
|
|
171
|
-
this.
|
|
172
|
-
this.
|
|
173
|
-
this.
|
|
174
|
-
this.
|
|
175
|
-
this.
|
|
176
|
-
this.
|
|
177
|
-
this.
|
|
178
|
-
this.
|
|
179
|
-
this.
|
|
180
|
-
this.
|
|
181
|
-
this.
|
|
182
|
-
this.
|
|
183
|
-
this.
|
|
184
|
-
this.
|
|
185
|
-
this.
|
|
186
|
-
this.
|
|
187
|
-
this.
|
|
188
|
-
this.
|
|
189
|
-
this.
|
|
190
|
-
this.
|
|
191
|
-
this.
|
|
192
|
-
this.
|
|
169
|
+
this.s2w_1 = 'application';
|
|
170
|
+
this.t2w_1 = ContentType().l2w('application', '*');
|
|
171
|
+
this.u2w_1 = ContentType().l2w('application', 'atom+xml');
|
|
172
|
+
this.v2w_1 = ContentType().l2w('application', 'cbor');
|
|
173
|
+
this.w2w_1 = ContentType().l2w('application', 'json');
|
|
174
|
+
this.x2w_1 = ContentType().l2w('application', 'hal+json');
|
|
175
|
+
this.y2w_1 = ContentType().l2w('application', 'javascript');
|
|
176
|
+
this.z2w_1 = ContentType().l2w('application', 'octet-stream');
|
|
177
|
+
this.a2x_1 = ContentType().l2w('application', 'rss+xml');
|
|
178
|
+
this.b2x_1 = ContentType().l2w('application', 'soap+xml');
|
|
179
|
+
this.c2x_1 = ContentType().l2w('application', 'xml');
|
|
180
|
+
this.d2x_1 = ContentType().l2w('application', 'xml-dtd');
|
|
181
|
+
this.e2x_1 = ContentType().l2w('application', 'yaml');
|
|
182
|
+
this.f2x_1 = ContentType().l2w('application', 'zip');
|
|
183
|
+
this.g2x_1 = ContentType().l2w('application', 'gzip');
|
|
184
|
+
this.h2x_1 = ContentType().l2w('application', 'x-www-form-urlencoded');
|
|
185
|
+
this.i2x_1 = ContentType().l2w('application', 'pdf');
|
|
186
|
+
this.j2x_1 = ContentType().l2w('application', 'vnd.openxmlformats-officedocument.spreadsheetml.sheet');
|
|
187
|
+
this.k2x_1 = ContentType().l2w('application', 'vnd.openxmlformats-officedocument.wordprocessingml.document');
|
|
188
|
+
this.l2x_1 = ContentType().l2w('application', 'vnd.openxmlformats-officedocument.presentationml.presentation');
|
|
189
|
+
this.m2x_1 = ContentType().l2w('application', 'protobuf');
|
|
190
|
+
this.n2x_1 = ContentType().l2w('application', 'wasm');
|
|
191
|
+
this.o2x_1 = ContentType().l2w('application', 'problem+json');
|
|
192
|
+
this.p2x_1 = ContentType().l2w('application', 'problem+xml');
|
|
193
193
|
}
|
|
194
|
-
|
|
194
|
+
q2x(contentType) {
|
|
195
195
|
return startsWith(contentType, 'application/', true);
|
|
196
196
|
}
|
|
197
197
|
}
|
|
@@ -212,17 +212,17 @@ function MultiPart() {
|
|
|
212
212
|
class $ {
|
|
213
213
|
constructor() {
|
|
214
214
|
MultiPart_instance = this;
|
|
215
|
-
this.
|
|
216
|
-
this.
|
|
217
|
-
this.
|
|
218
|
-
this.
|
|
219
|
-
this.
|
|
220
|
-
this.
|
|
221
|
-
this.
|
|
222
|
-
this.
|
|
223
|
-
this.
|
|
215
|
+
this.r2x_1 = 'multipart';
|
|
216
|
+
this.s2x_1 = ContentType().l2w('multipart', '*');
|
|
217
|
+
this.t2x_1 = ContentType().l2w('multipart', 'mixed');
|
|
218
|
+
this.u2x_1 = ContentType().l2w('multipart', 'alternative');
|
|
219
|
+
this.v2x_1 = ContentType().l2w('multipart', 'related');
|
|
220
|
+
this.w2x_1 = ContentType().l2w('multipart', 'form-data');
|
|
221
|
+
this.x2x_1 = ContentType().l2w('multipart', 'signed');
|
|
222
|
+
this.y2x_1 = ContentType().l2w('multipart', 'encrypted');
|
|
223
|
+
this.z2x_1 = ContentType().l2w('multipart', 'byteranges');
|
|
224
224
|
}
|
|
225
|
-
|
|
225
|
+
q2x(contentType) {
|
|
226
226
|
return startsWith(contentType, 'multipart/', true);
|
|
227
227
|
}
|
|
228
228
|
}
|
|
@@ -243,16 +243,16 @@ function Text() {
|
|
|
243
243
|
class $ {
|
|
244
244
|
constructor() {
|
|
245
245
|
Text_instance = this;
|
|
246
|
-
this.
|
|
247
|
-
this.
|
|
248
|
-
this.
|
|
249
|
-
this.
|
|
250
|
-
this.
|
|
251
|
-
this.
|
|
252
|
-
this.
|
|
253
|
-
this.
|
|
254
|
-
this.
|
|
255
|
-
this.
|
|
246
|
+
this.a2y_1 = 'text';
|
|
247
|
+
this.b2y_1 = ContentType().l2w('text', '*');
|
|
248
|
+
this.c2y_1 = ContentType().l2w('text', 'plain');
|
|
249
|
+
this.d2y_1 = ContentType().l2w('text', 'css');
|
|
250
|
+
this.e2y_1 = ContentType().l2w('text', 'csv');
|
|
251
|
+
this.f2y_1 = ContentType().l2w('text', 'html');
|
|
252
|
+
this.g2y_1 = ContentType().l2w('text', 'javascript');
|
|
253
|
+
this.h2y_1 = ContentType().l2w('text', 'vcard');
|
|
254
|
+
this.i2y_1 = ContentType().l2w('text', 'xml');
|
|
255
|
+
this.j2y_1 = ContentType().l2w('text', 'event-stream');
|
|
256
256
|
}
|
|
257
257
|
}
|
|
258
258
|
initMetadataForObject($, 'Text');
|
|
@@ -270,46 +270,46 @@ var ContentTypeClass;
|
|
|
270
270
|
function ContentType() {
|
|
271
271
|
if (ContentTypeClass === VOID) {
|
|
272
272
|
class $ extends HeaderValueWithParameters() {
|
|
273
|
-
static
|
|
273
|
+
static k2y(contentType, contentSubtype, existingContent, parameters) {
|
|
274
274
|
Companion_getInstance();
|
|
275
275
|
parameters = parameters === VOID ? emptyList() : parameters;
|
|
276
|
-
var $this = this.
|
|
277
|
-
$this.
|
|
278
|
-
$this.
|
|
276
|
+
var $this = this.l2y(existingContent, parameters);
|
|
277
|
+
$this.j2w_1 = contentType;
|
|
278
|
+
$this.k2w_1 = contentSubtype;
|
|
279
279
|
return $this;
|
|
280
280
|
}
|
|
281
|
-
static
|
|
281
|
+
static l2w(contentType, contentSubtype, parameters) {
|
|
282
282
|
Companion_getInstance();
|
|
283
283
|
parameters = parameters === VOID ? emptyList() : parameters;
|
|
284
|
-
return this.
|
|
284
|
+
return this.k2y(contentType, contentSubtype, contentType + '/' + contentSubtype, parameters);
|
|
285
285
|
}
|
|
286
|
-
|
|
286
|
+
m2y(name, value) {
|
|
287
287
|
if (hasParameter(this, name, value))
|
|
288
288
|
return this;
|
|
289
|
-
return ContentType().
|
|
289
|
+
return ContentType().k2y(this.j2w_1, this.k2w_1, this.b2w_1, plus(this.c2w_1, HeaderValueParam().n2y(name, value)));
|
|
290
290
|
}
|
|
291
|
-
|
|
292
|
-
return this.
|
|
291
|
+
o2y() {
|
|
292
|
+
return this.c2w_1.o1() ? this : ContentType().l2w(this.j2w_1, this.k2w_1);
|
|
293
293
|
}
|
|
294
|
-
|
|
295
|
-
if (!(pattern.
|
|
294
|
+
p2y(pattern) {
|
|
295
|
+
if (!(pattern.j2w_1 === '*') && !equals(pattern.j2w_1, this.j2w_1, true)) {
|
|
296
296
|
return false;
|
|
297
297
|
}
|
|
298
|
-
if (!(pattern.
|
|
298
|
+
if (!(pattern.k2w_1 === '*') && !equals(pattern.k2w_1, this.k2w_1, true)) {
|
|
299
299
|
return false;
|
|
300
300
|
}
|
|
301
|
-
var _iterator__ex2g4s = pattern.
|
|
301
|
+
var _iterator__ex2g4s = pattern.c2w_1.q1();
|
|
302
302
|
while (_iterator__ex2g4s.r1()) {
|
|
303
303
|
var _destruct__k2r9zo = _iterator__ex2g4s.s1();
|
|
304
|
-
var patternName = _destruct__k2r9zo.
|
|
305
|
-
var patternValue = _destruct__k2r9zo.
|
|
304
|
+
var patternName = _destruct__k2r9zo.ye();
|
|
305
|
+
var patternValue = _destruct__k2r9zo.ze();
|
|
306
306
|
var tmp;
|
|
307
307
|
if (patternName === '*') {
|
|
308
308
|
var tmp_0;
|
|
309
309
|
if (patternValue === '*') {
|
|
310
310
|
tmp_0 = true;
|
|
311
311
|
} else {
|
|
312
|
-
var tmp0 = this.
|
|
312
|
+
var tmp0 = this.c2w_1;
|
|
313
313
|
var tmp$ret$0;
|
|
314
314
|
$l$block_0: {
|
|
315
315
|
// Inline function 'kotlin.collections.any' call
|
|
@@ -326,7 +326,7 @@ function ContentType() {
|
|
|
326
326
|
var _iterator__ex2g4s_0 = tmp0.q1();
|
|
327
327
|
while (_iterator__ex2g4s_0.r1()) {
|
|
328
328
|
var element = _iterator__ex2g4s_0.s1();
|
|
329
|
-
if (equals(element.
|
|
329
|
+
if (equals(element.e2w_1, patternValue, true)) {
|
|
330
330
|
tmp$ret$0 = true;
|
|
331
331
|
break $l$block_0;
|
|
332
332
|
}
|
|
@@ -337,7 +337,7 @@ function ContentType() {
|
|
|
337
337
|
}
|
|
338
338
|
tmp = tmp_0;
|
|
339
339
|
} else {
|
|
340
|
-
var value = this.
|
|
340
|
+
var value = this.q2y(patternName);
|
|
341
341
|
tmp = patternValue === '*' ? !(value == null) : equals(value, patternValue, true);
|
|
342
342
|
}
|
|
343
343
|
var matches = tmp;
|
|
@@ -352,17 +352,17 @@ function ContentType() {
|
|
|
352
352
|
var tmp_0;
|
|
353
353
|
var tmp_1;
|
|
354
354
|
if (other instanceof ContentType()) {
|
|
355
|
-
tmp_1 = equals(this.
|
|
355
|
+
tmp_1 = equals(this.j2w_1, other.j2w_1, true);
|
|
356
356
|
} else {
|
|
357
357
|
tmp_1 = false;
|
|
358
358
|
}
|
|
359
359
|
if (tmp_1) {
|
|
360
|
-
tmp_0 = equals(this.
|
|
360
|
+
tmp_0 = equals(this.k2w_1, other.k2w_1, true);
|
|
361
361
|
} else {
|
|
362
362
|
tmp_0 = false;
|
|
363
363
|
}
|
|
364
364
|
if (tmp_0) {
|
|
365
|
-
tmp = equals_0(this.
|
|
365
|
+
tmp = equals_0(this.c2w_1, other.c2w_1);
|
|
366
366
|
} else {
|
|
367
367
|
tmp = false;
|
|
368
368
|
}
|
|
@@ -371,15 +371,15 @@ function ContentType() {
|
|
|
371
371
|
hashCode() {
|
|
372
372
|
// Inline function 'kotlin.text.lowercase' call
|
|
373
373
|
// Inline function 'kotlin.js.asDynamic' call
|
|
374
|
-
var tmp$ret$1 = this.
|
|
374
|
+
var tmp$ret$1 = this.j2w_1.toLowerCase();
|
|
375
375
|
var result = getStringHashCode(tmp$ret$1);
|
|
376
376
|
var tmp = result;
|
|
377
377
|
var tmp_0 = imul(31, result);
|
|
378
378
|
// Inline function 'kotlin.text.lowercase' call
|
|
379
379
|
// Inline function 'kotlin.js.asDynamic' call
|
|
380
|
-
var tmp$ret$3 = this.
|
|
380
|
+
var tmp$ret$3 = this.k2w_1.toLowerCase();
|
|
381
381
|
result = tmp + (tmp_0 + getStringHashCode(tmp$ret$3) | 0) | 0;
|
|
382
|
-
result = result + imul(31, hashCode(this.
|
|
382
|
+
result = result + imul(31, hashCode(this.c2w_1)) | 0;
|
|
383
383
|
return result;
|
|
384
384
|
}
|
|
385
385
|
}
|
|
@@ -389,7 +389,7 @@ function ContentType() {
|
|
|
389
389
|
return ContentTypeClass;
|
|
390
390
|
}
|
|
391
391
|
function charset(_this__u8e3s4) {
|
|
392
|
-
var tmp0_safe_receiver = _this__u8e3s4.
|
|
392
|
+
var tmp0_safe_receiver = _this__u8e3s4.q2y('charset');
|
|
393
393
|
var tmp;
|
|
394
394
|
if (tmp0_safe_receiver == null) {
|
|
395
395
|
tmp = null;
|
|
@@ -416,10 +416,10 @@ function withCharsetIfNeeded(_this__u8e3s4, charset) {
|
|
|
416
416
|
var tmp;
|
|
417
417
|
// Inline function 'kotlin.text.lowercase' call
|
|
418
418
|
// Inline function 'kotlin.js.asDynamic' call
|
|
419
|
-
if (!(_this__u8e3s4.
|
|
419
|
+
if (!(_this__u8e3s4.j2w_1.toLowerCase() === 'text')) {
|
|
420
420
|
tmp = _this__u8e3s4;
|
|
421
421
|
} else {
|
|
422
|
-
tmp = _this__u8e3s4.
|
|
422
|
+
tmp = _this__u8e3s4.m2y('charset', get_name(charset));
|
|
423
423
|
}
|
|
424
424
|
return tmp;
|
|
425
425
|
}
|
|
@@ -427,9 +427,9 @@ var BadContentTypeFormatExceptionClass;
|
|
|
427
427
|
function BadContentTypeFormatException() {
|
|
428
428
|
if (BadContentTypeFormatExceptionClass === VOID) {
|
|
429
429
|
class $ extends Exception() {
|
|
430
|
-
static
|
|
431
|
-
var $this = this.
|
|
432
|
-
captureStack($this, $this.
|
|
430
|
+
static r2w(value) {
|
|
431
|
+
var $this = this.wd('Bad Content-Type format: ' + value);
|
|
432
|
+
captureStack($this, $this.q2w_1);
|
|
433
433
|
return $this;
|
|
434
434
|
}
|
|
435
435
|
}
|
|
@@ -439,7 +439,7 @@ function BadContentTypeFormatException() {
|
|
|
439
439
|
return BadContentTypeFormatExceptionClass;
|
|
440
440
|
}
|
|
441
441
|
function withCharset(_this__u8e3s4, charset) {
|
|
442
|
-
return _this__u8e3s4.
|
|
442
|
+
return _this__u8e3s4.m2y('charset', get_name(charset));
|
|
443
443
|
}
|
|
444
444
|
//region block: exports
|
|
445
445
|
export {
|
|
@@ -54,23 +54,23 @@ var HeaderValueWithParametersClass;
|
|
|
54
54
|
function HeaderValueWithParameters() {
|
|
55
55
|
if (HeaderValueWithParametersClass === VOID) {
|
|
56
56
|
class $ {
|
|
57
|
-
static
|
|
57
|
+
static l2y(content, parameters) {
|
|
58
58
|
parameters = parameters === VOID ? emptyList() : parameters;
|
|
59
59
|
var $this = createThis(this);
|
|
60
|
-
$this.
|
|
61
|
-
$this.
|
|
60
|
+
$this.b2w_1 = content;
|
|
61
|
+
$this.c2w_1 = parameters;
|
|
62
62
|
return $this;
|
|
63
63
|
}
|
|
64
|
-
|
|
64
|
+
q2y(name) {
|
|
65
65
|
var inductionVariable = 0;
|
|
66
|
-
var last = get_lastIndex(this.
|
|
66
|
+
var last = get_lastIndex(this.c2w_1);
|
|
67
67
|
if (inductionVariable <= last)
|
|
68
68
|
do {
|
|
69
69
|
var index = inductionVariable;
|
|
70
70
|
inductionVariable = inductionVariable + 1 | 0;
|
|
71
|
-
var parameter = this.
|
|
72
|
-
if (equals(parameter.
|
|
73
|
-
return parameter.
|
|
71
|
+
var parameter = this.c2w_1.v2(index);
|
|
72
|
+
if (equals(parameter.d2w_1, name, true)) {
|
|
73
|
+
return parameter.e2w_1;
|
|
74
74
|
}
|
|
75
75
|
}
|
|
76
76
|
while (!(index === last));
|
|
@@ -78,34 +78,34 @@ function HeaderValueWithParameters() {
|
|
|
78
78
|
}
|
|
79
79
|
toString() {
|
|
80
80
|
var tmp;
|
|
81
|
-
if (this.
|
|
82
|
-
tmp = this.
|
|
81
|
+
if (this.c2w_1.o1()) {
|
|
82
|
+
tmp = this.b2w_1;
|
|
83
83
|
} else {
|
|
84
|
-
var tmp_0 = this.
|
|
84
|
+
var tmp_0 = this.b2w_1.length;
|
|
85
85
|
// Inline function 'kotlin.collections.sumOf' call
|
|
86
86
|
var sum = 0;
|
|
87
|
-
var _iterator__ex2g4s = this.
|
|
87
|
+
var _iterator__ex2g4s = this.c2w_1.q1();
|
|
88
88
|
while (_iterator__ex2g4s.r1()) {
|
|
89
89
|
var element = _iterator__ex2g4s.s1();
|
|
90
90
|
var tmp_1 = sum;
|
|
91
|
-
sum = tmp_1 + ((element.
|
|
91
|
+
sum = tmp_1 + ((element.d2w_1.length + element.e2w_1.length | 0) + 3 | 0) | 0;
|
|
92
92
|
}
|
|
93
93
|
var size = tmp_0 + sum | 0;
|
|
94
94
|
// Inline function 'kotlin.apply' call
|
|
95
|
-
var this_0 = StringBuilder().
|
|
96
|
-
this_0.n1(this.
|
|
95
|
+
var this_0 = StringBuilder().dc(size);
|
|
96
|
+
this_0.n1(this.b2w_1);
|
|
97
97
|
var inductionVariable = 0;
|
|
98
|
-
var last = get_lastIndex(this.
|
|
98
|
+
var last = get_lastIndex(this.c2w_1);
|
|
99
99
|
if (inductionVariable <= last)
|
|
100
100
|
do {
|
|
101
101
|
var index = inductionVariable;
|
|
102
102
|
inductionVariable = inductionVariable + 1 | 0;
|
|
103
|
-
var element_0 = this.
|
|
103
|
+
var element_0 = this.c2w_1.v2(index);
|
|
104
104
|
this_0.n1('; ');
|
|
105
|
-
this_0.n1(element_0.
|
|
105
|
+
this_0.n1(element_0.d2w_1);
|
|
106
106
|
this_0.n1('=');
|
|
107
107
|
// Inline function 'io.ktor.http.escapeIfNeededTo' call
|
|
108
|
-
var this_1 = element_0.
|
|
108
|
+
var this_1 = element_0.e2w_1;
|
|
109
109
|
if (needQuotes(this_1))
|
|
110
110
|
this_0.n1(quote(this_1));
|
|
111
111
|
else
|
|
@@ -32,16 +32,16 @@ function HeadersBuilder() {
|
|
|
32
32
|
size = size === VOID ? 8 : size;
|
|
33
33
|
super(true, size);
|
|
34
34
|
}
|
|
35
|
-
|
|
36
|
-
return new (HeadersImpl())(this.
|
|
35
|
+
t2y() {
|
|
36
|
+
return new (HeadersImpl())(this.p2r_1);
|
|
37
37
|
}
|
|
38
|
-
|
|
39
|
-
super.
|
|
40
|
-
HttpHeaders_getInstance().
|
|
38
|
+
q2r(name) {
|
|
39
|
+
super.q2r(name);
|
|
40
|
+
HttpHeaders_getInstance().r32(name);
|
|
41
41
|
}
|
|
42
|
-
|
|
43
|
-
super.
|
|
44
|
-
HttpHeaders_getInstance().
|
|
42
|
+
v2r(value) {
|
|
43
|
+
super.v2r(value);
|
|
44
|
+
HttpHeaders_getInstance().s32(value);
|
|
45
45
|
}
|
|
46
46
|
}
|
|
47
47
|
initMetadataForClass($, 'HeadersBuilder', HeadersBuilder);
|
|
@@ -55,7 +55,7 @@ function Companion() {
|
|
|
55
55
|
class $ {
|
|
56
56
|
constructor() {
|
|
57
57
|
Companion_instance = this;
|
|
58
|
-
this.
|
|
58
|
+
this.t32_1 = EmptyHeaders_instance;
|
|
59
59
|
}
|
|
60
60
|
}
|
|
61
61
|
initMetadataForCompanion($);
|
|
@@ -81,7 +81,7 @@ function HeadersImpl() {
|
|
|
81
81
|
super(true, values);
|
|
82
82
|
}
|
|
83
83
|
toString() {
|
|
84
|
-
return 'Headers ' + toString(this.
|
|
84
|
+
return 'Headers ' + toString(this.m2r());
|
|
85
85
|
}
|
|
86
86
|
}
|
|
87
87
|
initMetadataForClass($, 'HeadersImpl', HeadersImpl, VOID, [StringValues(), StringValuesImpl()]);
|
|
@@ -93,27 +93,27 @@ var EmptyHeadersClass;
|
|
|
93
93
|
function EmptyHeaders() {
|
|
94
94
|
if (EmptyHeadersClass === VOID) {
|
|
95
95
|
class $ {
|
|
96
|
-
|
|
96
|
+
r2r() {
|
|
97
97
|
return true;
|
|
98
98
|
}
|
|
99
|
-
|
|
99
|
+
s2r(name) {
|
|
100
100
|
return null;
|
|
101
101
|
}
|
|
102
|
-
|
|
102
|
+
t2r() {
|
|
103
103
|
return emptySet();
|
|
104
104
|
}
|
|
105
|
-
|
|
105
|
+
m2r() {
|
|
106
106
|
return emptySet();
|
|
107
107
|
}
|
|
108
108
|
o1() {
|
|
109
109
|
return true;
|
|
110
110
|
}
|
|
111
111
|
toString() {
|
|
112
|
-
return 'Headers ' + toString(this.
|
|
112
|
+
return 'Headers ' + toString(this.m2r());
|
|
113
113
|
}
|
|
114
114
|
}
|
|
115
|
-
protoOf($).
|
|
116
|
-
protoOf($).
|
|
115
|
+
protoOf($).t1g = get;
|
|
116
|
+
protoOf($).y2r = forEach;
|
|
117
117
|
initMetadataForObject($, 'EmptyHeaders', VOID, VOID, [StringValues()]);
|
|
118
118
|
EmptyHeadersClass = $;
|
|
119
119
|
}
|
|
@@ -131,7 +131,7 @@ function HeadersSingleImpl() {
|
|
|
131
131
|
super(true, name, values);
|
|
132
132
|
}
|
|
133
133
|
toString() {
|
|
134
|
-
return 'Headers ' + toString(this.
|
|
134
|
+
return 'Headers ' + toString(this.m2r());
|
|
135
135
|
}
|
|
136
136
|
}
|
|
137
137
|
initMetadataForClass($, 'HeadersSingleImpl', VOID, VOID, [StringValues(), StringValuesSingleImpl()]);
|