@attocash/commons-js 5.0.0 → 5.1.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/format/DateTimeComponents.mjs +2 -2
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/format/LocalDateTimeFormat.mjs +2 -2
- package/commons-commons-core/cash/atto/commons/AccountUpdate.js.mjs +8 -8
- package/commons-commons-core/cash/atto/commons/AttoAccount.mjs +68 -68
- package/commons-commons-core/cash/atto/commons/AttoAccountEntry.mjs +56 -56
- package/commons-commons-core/cash/atto/commons/AttoAddress.mjs +14 -14
- package/commons-commons-core/cash/atto/commons/AttoAlgorithm.mjs +10 -10
- package/commons-commons-core/cash/atto/commons/AttoAmount.mjs +26 -26
- package/commons-commons-core/cash/atto/commons/AttoBlock.mjs +661 -661
- package/commons-commons-core/cash/atto/commons/AttoBufferExtensions.mjs +4 -4
- package/commons-commons-core/cash/atto/commons/AttoChallenge.mjs +7 -7
- package/commons-commons-core/cash/atto/commons/AttoHash.mjs +8 -8
- package/commons-commons-core/cash/atto/commons/AttoHasher.js.mjs +1 -1
- package/commons-commons-core/cash/atto/commons/AttoHeight.mjs +17 -17
- package/commons-commons-core/cash/atto/commons/AttoNetwork.mjs +8 -8
- package/commons-commons-core/cash/atto/commons/AttoPrivateKey.js.mjs +8 -8
- package/commons-commons-core/cash/atto/commons/AttoPrivateKey.mjs +26 -26
- package/commons-commons-core/cash/atto/commons/AttoPublicKey.mjs +7 -7
- package/commons-commons-core/cash/atto/commons/AttoReceivable.mjs +42 -42
- package/commons-commons-core/cash/atto/commons/AttoSeed.mjs +2 -2
- package/commons-commons-core/cash/atto/commons/AttoSignature.mjs +8 -8
- package/commons-commons-core/cash/atto/commons/AttoSigner.js.mjs +67 -67
- package/commons-commons-core/cash/atto/commons/AttoSigner.mjs +11 -11
- package/commons-commons-core/cash/atto/commons/AttoSocketAddress.mjs +5 -5
- package/commons-commons-core/cash/atto/commons/AttoTransaction.mjs +35 -35
- package/commons-commons-core/cash/atto/commons/AttoVersion.mjs +11 -11
- package/commons-commons-core/cash/atto/commons/AttoVote.mjs +37 -37
- package/commons-commons-core/cash/atto/commons/AttoWork.mjs +10 -10
- package/commons-commons-core/cash/atto/commons/Extensions.mjs +1 -1
- package/commons-commons-core/cash/atto/commons/serialiazer/AttoAddressAsByteArraySerializer.mjs +4 -4
- package/commons-commons-core/cash/atto/commons/serialiazer/InstantMillisSerializer.mjs +2 -2
- 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/AttoNodeOperations.js.export.d.ts +3 -1
- package/commons-commons-node/cash/atto/commons/node/AttoNodeOperations.js.mjs +19 -5
- package/commons-commons-node/cash/atto/commons/node/AttoNodeOperations.js.mjs.map +1 -1
- package/commons-commons-node/cash/atto/commons/node/AttoNodeOperations.mjs +72 -72
- package/commons-commons-node/cash/atto/commons/node/AttoNodeOperations.mjs.map +1 -1
- package/commons-commons-node/cash/atto/commons/node/NodeExtensions.export.d.ts +4 -0
- package/commons-commons-node/cash/atto/commons/node/NodeExtensions.export.mjs +16 -0
- package/commons-commons-node/cash/atto/commons/node/NodeExtensions.export.mjs.map +1 -0
- package/commons-commons-node/cash/atto/commons/node/NodeExtensions.mjs +41 -0
- package/commons-commons-node/cash/atto/commons/node/NodeExtensions.mjs.map +1 -0
- package/commons-commons-node-remote/cash/atto/commons/node/AttoNodeClient.mjs +812 -319
- package/commons-commons-node-remote/cash/atto/commons/node/AttoNodeClient.mjs.map +1 -1
- package/commons-commons-node-remote/cash/atto/commons/node/AttoNodeOperationsImpl.js.mjs +226 -76
- package/commons-commons-node-remote/cash/atto/commons/node/AttoNodeOperationsImpl.js.mjs.map +1 -1
- package/commons-commons-node.mjs +1 -0
- package/commons-commons-node.mjs.map +1 -1
- package/commons-commons-worker/cash/atto/commons/worker/AttoWorker.mjs +3 -3
- package/commons-commons-worker/cash/atto/commons/worker/AttoWorkerOperations.mjs +50 -50
- package/commons-commons-worker-remote/cash/atto/commons/worker/AttoWorkerRemote.js.mjs +34 -34
- package/commons-commons-worker-remote/cash/atto/commons/worker/AttoWorkerRemote.mjs +56 -56
- package/kotlin-kotlin-stdlib/kotlin/text/stringJs.mjs +6 -6
- package/kotlin-kotlin-stdlib/kotlin/text/stringJs.mjs.map +1 -1
- package/kotlin-logging/io/github/oshai/kotlinlogging/KotlinLogging.mjs +4 -4
- package/kotlin-logging/io/github/oshai/kotlinlogging/internal/KLoggerDirect.mjs +1 -1
- package/kotlin-logging/io/github/oshai/kotlinlogging/internal/KLoggerFactory.mjs +1 -1
- package/kotlin-logging/io/github/oshai/kotlinlogging/internal/KLoggerNameResolver.mjs +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/DispatchedTask.mjs +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/Dispatchers.mjs +7 -7
- package/kotlinx-coroutines-core/kotlinx/coroutines/JSDispatcher.mjs +76 -76
- package/kotlinx-coroutines-core/kotlinx/coroutines/channels/BufferedChannel.mjs +2 -2
- package/kotlinx-coroutines-core/kotlinx/coroutines/channels/ChannelCoroutine.mjs +2 -2
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Reduce.mjs +133 -28
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Reduce.mjs.map +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/NullSurrogate.mjs +28 -0
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/NullSurrogate.mjs.map +1 -0
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/CoroutineExceptionHandlerImpl.common.mjs +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/CoroutineExceptionHandlerImpl.mjs +2 -2
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/DispatchedContinuation.mjs +4 -4
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/LinkedList.mjs +2 -2
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/OnUndeliveredElement.mjs +3 -3
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/Scopes.mjs +3 -3
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/Symbol.mjs +2 -2
- package/kotlinx-coroutines-core/kotlinx/coroutines/selects/Select.mjs +5 -5
- package/kotlinx-coroutines-core/kotlinx/coroutines/sync/Semaphore.mjs +39 -39
- package/kotlinx-io-kotlinx-io-bytestring/kotlinx/io/bytestring/ByteString.mjs +34 -34
- package/kotlinx-io-kotlinx-io-bytestring/kotlinx/io/bytestring/ByteString.mjs.map +1 -1
- package/kotlinx-io-kotlinx-io-bytestring/kotlinx/io/bytestring/unsafe/UnsafeByteStringOperations.mjs +2 -2
- package/kotlinx-io-kotlinx-io-bytestring/kotlinx/io/bytestring/unsafe/UnsafeByteStringOperations.mjs.map +1 -1
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/-PlatformJs.mjs +11 -11
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/-PlatformJs.mjs.map +1 -1
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/-Util.mjs.map +1 -1
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/Buffer.mjs +189 -189
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/Buffer.mjs.map +1 -1
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/Buffers.mjs +10 -10
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/Buffers.mjs.map +1 -1
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/ByteStrings.mjs +1 -1
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/ByteStrings.mjs.map +1 -1
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/Core.mjs.map +1 -1
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/PeekSource.mjs +20 -20
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/PeekSource.mjs.map +1 -1
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/RealSource.mjs +56 -56
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/RealSource.mjs.map +1 -1
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/Segment.mjs +149 -149
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/Segment.mjs.map +1 -1
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/SegmentPool.mjs +6 -6
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/SegmentPool.mjs.map +1 -1
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/Sink.mjs +2 -2
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/Sink.mjs.map +1 -1
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/Sinks.mjs +3 -3
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/Sinks.mjs.map +1 -1
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/Sources.mjs +15 -15
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/Sources.mjs.map +1 -1
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/Utf8.mjs +50 -50
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/Utf8.mjs.map +1 -1
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/UtilsJs.mjs.map +1 -1
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/internal/-Utf8.mjs.map +1 -1
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/unsafe/UnsafeBufferOperations.mjs +12 -12
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/unsafe/UnsafeBufferOperations.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/Json.mjs +37 -37
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/JsonConfiguration.mjs +18 -18
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/JsonElement.mjs +59 -59
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/JsonElementSerializers.mjs +70 -70
- 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 +13 -13
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonNamesMap.mjs +10 -10
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonPath.mjs +36 -36
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonSerializersModuleValidator.mjs +7 -7
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonStreams.mjs +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 +84 -84
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/Polymorphic.mjs +2 -2
- 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 +141 -141
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/StreamingJsonEncoder.mjs +98 -98
- 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 +151 -151
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/WriteMode.mjs +3 -3
- package/ktor-ktor-client-cio/io/ktor/client/engine/cio/CIOCommon.mjs +3 -3
- package/ktor-ktor-client-cio/io/ktor/client/engine/cio/CIOEngine.mjs +59 -59
- package/ktor-ktor-client-cio/io/ktor/client/engine/cio/CIOEngineConfig.mjs +11 -11
- package/ktor-ktor-client-cio/io/ktor/client/engine/cio/ConnectionFactory.mjs +22 -22
- package/ktor-ktor-client-cio/io/ktor/client/engine/cio/ConnectionPipeline.nonJvm.mjs +3 -3
- package/ktor-ktor-client-cio/io/ktor/client/engine/cio/Endpoint.mjs +219 -219
- package/ktor-ktor-client-cio/io/ktor/client/engine/cio/EngineTasks.mjs +15 -15
- package/ktor-ktor-client-cio/io/ktor/client/engine/cio/Loader.js.mjs +2 -2
- package/ktor-ktor-client-cio/io/ktor/client/engine/cio/utils.mjs +241 -241
- package/ktor-ktor-client-content-negotiation/io/ktor/client/plugins/contentnegotiation/ContentNegotiation.mjs +133 -133
- 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 +85 -85
- 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 +41 -41
- package/ktor-ktor-client-core/io/ktor/client/call/HttpClientCall.mjs +54 -54
- package/ktor-ktor-client-core/io/ktor/client/call/SavedCall.mjs +51 -51
- package/ktor-ktor-client-core/io/ktor/client/call/utils.mjs +3 -3
- package/ktor-ktor-client-core/io/ktor/client/content/ObservableContent.mjs +27 -27
- package/ktor-ktor-client-core/io/ktor/client/engine/HttpClientEngine.mjs +60 -60
- package/ktor-ktor-client-core/io/ktor/client/engine/HttpClientEngineBase.mjs +18 -18
- 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 +60 -60
- package/ktor-ktor-client-core/io/ktor/client/engine/js/JsUtils.mjs +40 -40
- package/ktor-ktor-client-core/io/ktor/client/engine/js/browser/BrowserFetch.mjs +21 -21
- package/ktor-ktor-client-core/io/ktor/client/engine/js/compatibility/Utils.mjs +3 -3
- package/ktor-ktor-client-core/io/ktor/client/network/sockets/TimeoutExceptions.nonJvm.mjs +3 -3
- package/ktor-ktor-client-core/io/ktor/client/plugins/BodyProgress.mjs +61 -61
- package/ktor-ktor-client-core/io/ktor/client/plugins/DefaultResponseValidation.mjs +45 -45
- package/ktor-ktor-client-core/io/ktor/client/plugins/DefaultTransform.mjs +125 -125
- package/ktor-ktor-client-core/io/ktor/client/plugins/HttpCallValidator.mjs +138 -138
- package/ktor-ktor-client-core/io/ktor/client/plugins/HttpClientPlugin.mjs +2 -2
- package/ktor-ktor-client-core/io/ktor/client/plugins/HttpPlainText.mjs +70 -70
- package/ktor-ktor-client-core/io/ktor/client/plugins/HttpRedirect.mjs +53 -53
- package/ktor-ktor-client-core/io/ktor/client/plugins/HttpRequestLifecycle.mjs +42 -42
- package/ktor-ktor-client-core/io/ktor/client/plugins/HttpSend.mjs +63 -63
- package/ktor-ktor-client-core/io/ktor/client/plugins/HttpTimeout.mjs +98 -98
- package/ktor-ktor-client-core/io/ktor/client/plugins/SaveBody.mjs +33 -33
- 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 +11 -11
- 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 +35 -35
- 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 +45 -45
- package/ktor-ktor-client-core/io/ktor/client/plugins/websocket/JsWebSocketSession.mjs +65 -65
- 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 +17 -17
- package/ktor-ktor-client-core/io/ktor/client/request/HttpRequest.mjs +64 -64
- 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 +24 -24
- package/ktor-ktor-client-core/io/ktor/client/statement/HttpResponse.mjs +18 -18
- package/ktor-ktor-client-core/io/ktor/client/statement/HttpResponsePipeline.mjs +25 -25
- package/ktor-ktor-client-core/io/ktor/client/statement/HttpStatement.mjs +52 -52
- package/ktor-ktor-client-core/io/ktor/client/utils/ByteChannelUtils.mjs +35 -35
- 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-events/io/ktor/events/Events.mjs +5 -5
- 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 +114 -114
- 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 +18 -18
- package/ktor-ktor-http/io/ktor/http/HttpStatusCode.mjs +66 -66
- package/ktor-ktor-http/io/ktor/http/Parameters.mjs +9 -9
- package/ktor-ktor-http/io/ktor/http/Query.mjs +3 -3
- package/ktor-ktor-http/io/ktor/http/URLBuilder.mjs +58 -58
- 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 +25 -25
- package/ktor-ktor-http/io/ktor/http/Url.mjs +72 -72
- 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 +4 -4
- package/ktor-ktor-http-cio/io/ktor/http/cio/ChunkedTransferEncoding.mjs +106 -106
- package/ktor-ktor-http-cio/io/ktor/http/cio/ConnectionOptions.mjs +31 -31
- package/ktor-ktor-http-cio/io/ktor/http/cio/HttpBody.mjs +15 -15
- package/ktor-ktor-http-cio/io/ktor/http/cio/HttpHeadersMap.mjs +100 -100
- package/ktor-ktor-http-cio/io/ktor/http/cio/HttpParser.mjs +69 -69
- package/ktor-ktor-http-cio/io/ktor/http/cio/Multipart.mjs +113 -113
- package/ktor-ktor-http-cio/io/ktor/http/cio/RequestResponse.mjs +9 -9
- package/ktor-ktor-http-cio/io/ktor/http/cio/RequestResponseBuilderJs.mjs +21 -21
- package/ktor-ktor-http-cio/io/ktor/http/cio/internals/AsciiCharTree.mjs +17 -17
- 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 +21 -21
- 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-http-cio/io/ktor/http/cio/internals/Tokenizer.mjs +7 -7
- package/ktor-ktor-io/io/ktor/utils/io/ByteChannel.mjs +141 -141
- package/ktor-ktor-io/io/ktor/utils/io/ByteChannelCtor.mjs +1 -1
- package/ktor-ktor-io/io/ktor/utils/io/ByteChannelScanner.mjs +75 -75
- package/ktor-ktor-io/io/ktor/utils/io/ByteChannelUtils.mjs +1 -1
- package/ktor-ktor-io/io/ktor/utils/io/ByteReadChannel.mjs +13 -13
- package/ktor-ktor-io/io/ktor/utils/io/ByteReadChannelOperations.mjs +230 -230
- package/ktor-ktor-io/io/ktor/utils/io/ByteWriteChannel.mjs +11 -11
- package/ktor-ktor-io/io/ktor/utils/io/ByteWriteChannelOperations.mjs +72 -72
- package/ktor-ktor-io/io/ktor/utils/io/CloseHookByteWriteChannel.mjs +14 -14
- package/ktor-ktor-io/io/ktor/utils/io/CloseToken.mjs +11 -11
- package/ktor-ktor-io/io/ktor/utils/io/CountedByteReadChannel.mjs +26 -26
- package/ktor-ktor-io/io/ktor/utils/io/Exceptions.mjs +12 -12
- 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 +3 -3
- package/ktor-ktor-io/io/ktor/utils/io/core/ByteReadPacket.mjs +5 -5
- 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 +27 -27
- package/ktor-ktor-io/io/ktor/utils/io/pool/Pool.mjs +1 -1
- package/ktor-ktor-network/io/ktor/network/selector/SelectorManager.jsAndWasmShared.mjs +2 -2
- package/ktor-ktor-network/io/ktor/network/sockets/Builders.mjs +5 -5
- package/ktor-ktor-network/io/ktor/network/sockets/SocketAddress.nonJvm.mjs +9 -9
- package/ktor-ktor-network/io/ktor/network/sockets/SocketBase.mjs +50 -50
- package/ktor-ktor-network/io/ktor/network/sockets/SocketContext.mjs +106 -106
- package/ktor-ktor-network/io/ktor/network/sockets/SocketEngine.jsAndWasmShared.mjs +1 -1
- package/ktor-ktor-network/io/ktor/network/sockets/SocketOptions.mjs +30 -30
- package/ktor-ktor-network/io/ktor/network/sockets/SocketTimeoutException.mjs +5 -5
- package/ktor-ktor-network/io/ktor/network/sockets/Sockets.mjs +5 -5
- package/ktor-ktor-network/io/ktor/network/sockets/TcpSocketBuilder.mjs +5 -5
- package/ktor-ktor-network/io/ktor/network/sockets/TypeOfService.mjs +5 -5
- package/ktor-ktor-network/io/ktor/network/sockets/nodejs/node.net.mjs +7 -7
- package/ktor-ktor-network-tls/io/ktor/network/tls/TLSCommon.mjs +9 -9
- package/ktor-ktor-network-tls/io/ktor/network/tls/TLSConfigBuilder.nonJvm.mjs +1 -1
- package/ktor-ktor-serialization/io/ktor/serialization/ContentConvertException.mjs +5 -5
- package/ktor-ktor-serialization/io/ktor/serialization/ContentConverter.mjs +58 -58
- package/ktor-ktor-serialization-kotlinx/io/ktor/serialization/kotlinx/Extensions.mjs +1 -1
- package/ktor-ktor-serialization-kotlinx/io/ktor/serialization/kotlinx/KotlinxSerializationConverter.mjs +122 -122
- package/ktor-ktor-serialization-kotlinx/io/ktor/serialization/kotlinx/SerializerLookup.mjs +4 -4
- package/ktor-ktor-serialization-kotlinx-json/io/ktor/serialization/kotlinx/json/JsonSupport.mjs +6 -6
- 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 +33 -33
- package/ktor-ktor-utils/io/ktor/util/DelegatingMutableSet.mjs +31 -31
- 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 +7 -7
- package/ktor-ktor-utils/io/ktor/util/collections/ConcurrentMapJs.mjs +29 -29
- package/ktor-ktor-utils/io/ktor/util/collections/CopyOnWriteHashMap.mjs +3 -3
- package/ktor-ktor-utils/io/ktor/util/date/Date.mjs +67 -67
- package/ktor-ktor-utils/io/ktor/util/date/DateJs.mjs +5 -5
- package/ktor-ktor-utils/io/ktor/util/internal/LockFreeLinkedList.mjs +6 -6
- 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/network/NetworkAddressJs.mjs +2 -2
- package/ktor-ktor-utils/io/ktor/util/pipeline/DebugPipelineContext.mjs +32 -32
- 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 +49 -49
- package/ktor-ktor-utils/io/ktor/util/reflect/Type.mjs +9 -9
- package/ktor-ktor-websockets/io/ktor/websocket/CloseReason.mjs +19 -19
- package/ktor-ktor-websockets/io/ktor/websocket/FrameJs.mjs +41 -41
- package/ktor-ktor-websockets/io/ktor/websocket/FrameTooBigException.mjs +5 -5
- package/ktor-ktor-websockets/io/ktor/websocket/FrameType.mjs +9 -9
- package/ktor-ktor-websockets/io/ktor/websocket/ProtocolViolationException.mjs +5 -5
- package/ktor-ktor-websockets/io/ktor/websocket/RawWebSocketCommon.mjs +150 -150
- package/package.json +1 -1
|
@@ -23,18 +23,18 @@ import { toString1pkumu07cwy4m as toString } from '../../../../../kotlin-kotlin-
|
|
|
23
23
|
//region block: pre-declaration
|
|
24
24
|
//endregion
|
|
25
25
|
function buildPartialMatchTable($this) {
|
|
26
|
-
var table = new Int32Array($this.
|
|
26
|
+
var table = new Int32Array($this.n3b_1.i1());
|
|
27
27
|
var j = 0;
|
|
28
28
|
var inductionVariable = 1;
|
|
29
|
-
var last = $this.
|
|
29
|
+
var last = $this.n3b_1.i1();
|
|
30
30
|
if (inductionVariable < last)
|
|
31
31
|
do {
|
|
32
32
|
var i = inductionVariable;
|
|
33
33
|
inductionVariable = inductionVariable + 1 | 0;
|
|
34
|
-
while (j > 0 && !($this.
|
|
34
|
+
while (j > 0 && !($this.n3b_1.j1(i) === $this.n3b_1.j1(j))) {
|
|
35
35
|
j = table[j - 1 | 0];
|
|
36
36
|
}
|
|
37
|
-
if ($this.
|
|
37
|
+
if ($this.n3b_1.j1(i) === $this.n3b_1.j1(j)) {
|
|
38
38
|
j = j + 1 | 0;
|
|
39
39
|
}
|
|
40
40
|
table[i] = j;
|
|
@@ -55,8 +55,8 @@ function checkFullMatch($this, $completion) {
|
|
|
55
55
|
return tmp.ic();
|
|
56
56
|
}
|
|
57
57
|
function checkBounds($this, extra) {
|
|
58
|
-
if ($this.
|
|
59
|
-
throw IOException().
|
|
58
|
+
if ($this.t3b_1.p3(extra).a2($this.p3b_1) > 0) {
|
|
59
|
+
throw IOException().z2u('Limit of ' + $this.p3b_1.toString() + ' bytes exceeded ' + ('while searching for "' + toSingleLineString($this, $this.n3b_1) + '"'));
|
|
60
60
|
}
|
|
61
61
|
}
|
|
62
62
|
function toSingleLineString($this, _this__u8e3s4) {
|
|
@@ -68,8 +68,8 @@ function $findNextCOROUTINE$() {
|
|
|
68
68
|
class $ extends CoroutineImpl() {
|
|
69
69
|
constructor(_this__u8e3s4, ignoreMissing, resultContinuation) {
|
|
70
70
|
super(resultContinuation);
|
|
71
|
-
this.
|
|
72
|
-
this.
|
|
71
|
+
this.b3d_1 = _this__u8e3s4;
|
|
72
|
+
this.c3d_1 = ignoreMissing;
|
|
73
73
|
}
|
|
74
74
|
ic() {
|
|
75
75
|
var suspendResult = this.cc_1;
|
|
@@ -79,17 +79,17 @@ function $findNextCOROUTINE$() {
|
|
|
79
79
|
switch (tmp) {
|
|
80
80
|
case 0:
|
|
81
81
|
this.bc_1 = 9;
|
|
82
|
-
this.
|
|
82
|
+
this.b3d_1.t3b_1 = new (Long())(0, 0);
|
|
83
83
|
this.ac_1 = 1;
|
|
84
84
|
continue $sm;
|
|
85
85
|
case 1:
|
|
86
|
-
if (!this.
|
|
87
|
-
this.
|
|
86
|
+
if (!this.b3d_1.q3b_1.o2r()) {
|
|
87
|
+
this.d3d_1 = true;
|
|
88
88
|
this.ac_1 = 3;
|
|
89
89
|
continue $sm;
|
|
90
90
|
} else {
|
|
91
91
|
this.ac_1 = 2;
|
|
92
|
-
suspendResult = this.
|
|
92
|
+
suspendResult = this.b3d_1.m3b_1.j3b(VOID, this);
|
|
93
93
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
94
94
|
return suspendResult;
|
|
95
95
|
}
|
|
@@ -97,17 +97,17 @@ function $findNextCOROUTINE$() {
|
|
|
97
97
|
}
|
|
98
98
|
|
|
99
99
|
case 2:
|
|
100
|
-
this.
|
|
100
|
+
this.d3d_1 = suspendResult;
|
|
101
101
|
this.ac_1 = 3;
|
|
102
102
|
continue $sm;
|
|
103
103
|
case 3:
|
|
104
|
-
if (!this.
|
|
104
|
+
if (!this.d3d_1) {
|
|
105
105
|
this.ac_1 = 7;
|
|
106
106
|
continue $sm;
|
|
107
107
|
}
|
|
108
108
|
|
|
109
109
|
this.ac_1 = 4;
|
|
110
|
-
suspendResult = advanceToNextPotentialMatch(this.
|
|
110
|
+
suspendResult = advanceToNextPotentialMatch(this.b3d_1, this);
|
|
111
111
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
112
112
|
return suspendResult;
|
|
113
113
|
}
|
|
@@ -115,7 +115,7 @@ function $findNextCOROUTINE$() {
|
|
|
115
115
|
continue $sm;
|
|
116
116
|
case 4:
|
|
117
117
|
this.ac_1 = 5;
|
|
118
|
-
suspendResult = checkFullMatch(this.
|
|
118
|
+
suspendResult = checkFullMatch(this.b3d_1, this);
|
|
119
119
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
120
120
|
return suspendResult;
|
|
121
121
|
}
|
|
@@ -123,7 +123,7 @@ function $findNextCOROUTINE$() {
|
|
|
123
123
|
continue $sm;
|
|
124
124
|
case 5:
|
|
125
125
|
if (suspendResult) {
|
|
126
|
-
return this.
|
|
126
|
+
return this.b3d_1.t3b_1;
|
|
127
127
|
} else {
|
|
128
128
|
this.ac_1 = 6;
|
|
129
129
|
continue $sm;
|
|
@@ -133,20 +133,20 @@ function $findNextCOROUTINE$() {
|
|
|
133
133
|
this.ac_1 = 1;
|
|
134
134
|
continue $sm;
|
|
135
135
|
case 7:
|
|
136
|
-
if (!this.
|
|
137
|
-
throw IOException().
|
|
136
|
+
if (!this.c3d_1) {
|
|
137
|
+
throw IOException().z2u('Expected "' + toSingleLineString(this.b3d_1, this.b3d_1.n3b_1) + '" but encountered end of input');
|
|
138
138
|
}
|
|
139
139
|
|
|
140
|
-
this.
|
|
140
|
+
this.b3d_1.t3b_1 = this.b3d_1.t3b_1.p3(this.b3d_1.s3b_1.v2s(this.b3d_1.o3b_1.d3b()));
|
|
141
141
|
this.ac_1 = 8;
|
|
142
|
-
suspendResult = this.
|
|
142
|
+
suspendResult = this.b3d_1.o3b_1.z3a(this);
|
|
143
143
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
144
144
|
return suspendResult;
|
|
145
145
|
}
|
|
146
146
|
|
|
147
147
|
continue $sm;
|
|
148
148
|
case 8:
|
|
149
|
-
return this.
|
|
149
|
+
return this.b3d_1.t3b_1;
|
|
150
150
|
case 9:
|
|
151
151
|
throw this.dc_1;
|
|
152
152
|
}
|
|
@@ -173,7 +173,7 @@ function $advanceToNextPotentialMatchCOROUTINE$() {
|
|
|
173
173
|
class $ extends CoroutineImpl() {
|
|
174
174
|
constructor(_this__u8e3s4, resultContinuation) {
|
|
175
175
|
super(resultContinuation);
|
|
176
|
-
this.
|
|
176
|
+
this.d3c_1 = _this__u8e3s4;
|
|
177
177
|
}
|
|
178
178
|
ic() {
|
|
179
179
|
var suspendResult = this.cc_1;
|
|
@@ -186,13 +186,13 @@ function $advanceToNextPotentialMatchCOROUTINE$() {
|
|
|
186
186
|
this.ac_1 = 1;
|
|
187
187
|
continue $sm;
|
|
188
188
|
case 1:
|
|
189
|
-
if (!this.
|
|
190
|
-
this.
|
|
189
|
+
if (!this.d3c_1.q3b_1.o2r()) {
|
|
190
|
+
this.e3c_1 = true;
|
|
191
191
|
this.ac_1 = 3;
|
|
192
192
|
continue $sm;
|
|
193
193
|
} else {
|
|
194
194
|
this.ac_1 = 2;
|
|
195
|
-
suspendResult = this.
|
|
195
|
+
suspendResult = this.d3c_1.m3b_1.j3b(VOID, this);
|
|
196
196
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
197
197
|
return suspendResult;
|
|
198
198
|
}
|
|
@@ -200,34 +200,34 @@ function $advanceToNextPotentialMatchCOROUTINE$() {
|
|
|
200
200
|
}
|
|
201
201
|
|
|
202
202
|
case 2:
|
|
203
|
-
this.
|
|
203
|
+
this.e3c_1 = suspendResult;
|
|
204
204
|
this.ac_1 = 3;
|
|
205
205
|
continue $sm;
|
|
206
206
|
case 3:
|
|
207
|
-
if (!this.
|
|
207
|
+
if (!this.e3c_1) {
|
|
208
208
|
this.ac_1 = 7;
|
|
209
209
|
continue $sm;
|
|
210
210
|
}
|
|
211
211
|
|
|
212
|
-
this.
|
|
213
|
-
if (this.
|
|
214
|
-
var tmp_0 = this.
|
|
215
|
-
checkBounds(this.
|
|
216
|
-
this.
|
|
212
|
+
this.f3c_1 = indexOf(this.d3c_1.q3b_1, this.d3c_1.n3b_1.j1(0));
|
|
213
|
+
if (this.f3c_1.equals(new (Long())(-1, -1))) {
|
|
214
|
+
var tmp_0 = this.d3c_1.q3b_1;
|
|
215
|
+
checkBounds(this.d3c_1, (tmp_0 instanceof Buffer() ? tmp_0 : THROW_CCE()).i1());
|
|
216
|
+
this.d3c_1.t3b_1 = this.d3c_1.t3b_1.p3(this.d3c_1.q3b_1.v2s(this.d3c_1.o3b_1.d3b()));
|
|
217
217
|
this.ac_1 = 5;
|
|
218
|
-
suspendResult = flushIfNeeded(this.
|
|
218
|
+
suspendResult = flushIfNeeded(this.d3c_1.o3b_1, this);
|
|
219
219
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
220
220
|
return suspendResult;
|
|
221
221
|
}
|
|
222
222
|
continue $sm;
|
|
223
223
|
} else {
|
|
224
|
-
checkBounds(this.
|
|
225
|
-
var tmp_1 = this.
|
|
226
|
-
var tmp_2 = this.
|
|
227
|
-
var tmp_3 = this.
|
|
228
|
-
tmp_1.
|
|
224
|
+
checkBounds(this.d3c_1, this.f3c_1);
|
|
225
|
+
var tmp_1 = this.d3c_1;
|
|
226
|
+
var tmp_2 = this.d3c_1.t3b_1;
|
|
227
|
+
var tmp_3 = this.d3c_1.o3b_1.d3b();
|
|
228
|
+
tmp_1.t3b_1 = tmp_2.p3(this.d3c_1.q3b_1.s2s(tmp_3 instanceof Buffer() ? tmp_3 : THROW_CCE(), this.f3c_1));
|
|
229
229
|
this.ac_1 = 4;
|
|
230
|
-
suspendResult = flushIfNeeded(this.
|
|
230
|
+
suspendResult = flushIfNeeded(this.d3c_1.o3b_1, this);
|
|
231
231
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
232
232
|
return suspendResult;
|
|
233
233
|
}
|
|
@@ -270,7 +270,7 @@ function $checkFullMatchCOROUTINE$() {
|
|
|
270
270
|
class $ extends CoroutineImpl() {
|
|
271
271
|
constructor(_this__u8e3s4, resultContinuation) {
|
|
272
272
|
super(resultContinuation);
|
|
273
|
-
this.
|
|
273
|
+
this.o3c_1 = _this__u8e3s4;
|
|
274
274
|
}
|
|
275
275
|
ic() {
|
|
276
276
|
var suspendResult = this.cc_1;
|
|
@@ -283,13 +283,13 @@ function $checkFullMatchCOROUTINE$() {
|
|
|
283
283
|
this.ac_1 = 1;
|
|
284
284
|
continue $sm;
|
|
285
285
|
case 1:
|
|
286
|
-
if (!this.
|
|
287
|
-
this.
|
|
286
|
+
if (!this.o3c_1.q3b_1.o2r()) {
|
|
287
|
+
this.p3c_1 = true;
|
|
288
288
|
this.ac_1 = 3;
|
|
289
289
|
continue $sm;
|
|
290
290
|
} else {
|
|
291
291
|
this.ac_1 = 2;
|
|
292
|
-
suspendResult = this.
|
|
292
|
+
suspendResult = this.o3c_1.m3b_1.j3b(VOID, this);
|
|
293
293
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
294
294
|
return suspendResult;
|
|
295
295
|
}
|
|
@@ -297,30 +297,30 @@ function $checkFullMatchCOROUTINE$() {
|
|
|
297
297
|
}
|
|
298
298
|
|
|
299
299
|
case 2:
|
|
300
|
-
this.
|
|
300
|
+
this.p3c_1 = suspendResult;
|
|
301
301
|
this.ac_1 = 3;
|
|
302
302
|
continue $sm;
|
|
303
303
|
case 3:
|
|
304
|
-
if (!this.
|
|
304
|
+
if (!this.p3c_1) {
|
|
305
305
|
this.ac_1 = 7;
|
|
306
306
|
continue $sm;
|
|
307
307
|
}
|
|
308
308
|
|
|
309
|
-
this.
|
|
310
|
-
if (this.
|
|
311
|
-
this.
|
|
312
|
-
while (this.
|
|
313
|
-
this.
|
|
309
|
+
this.q3c_1 = this.o3c_1.q3b_1.r2r();
|
|
310
|
+
if (this.o3c_1.u3b_1 > 0 && !(this.q3c_1 === this.o3c_1.n3b_1.j1(this.o3c_1.u3b_1))) {
|
|
311
|
+
this.r3c_1 = this.o3c_1.u3b_1;
|
|
312
|
+
while (this.o3c_1.u3b_1 > 0 && !(this.q3c_1 === this.o3c_1.n3b_1.j1(this.o3c_1.u3b_1))) {
|
|
313
|
+
this.o3c_1.u3b_1 = this.o3c_1.r3b_1[this.o3c_1.u3b_1 - 1 | 0];
|
|
314
314
|
}
|
|
315
|
-
this.
|
|
316
|
-
checkBounds(this.
|
|
317
|
-
var tmp_0 = this.
|
|
318
|
-
var tmp_1 = this.
|
|
319
|
-
var tmp_2 = this.
|
|
320
|
-
tmp_0.
|
|
321
|
-
if (this.
|
|
315
|
+
this.s3c_1 = toLong(this.r3c_1 - this.o3c_1.u3b_1 | 0);
|
|
316
|
+
checkBounds(this.o3c_1, this.s3c_1);
|
|
317
|
+
var tmp_0 = this.o3c_1;
|
|
318
|
+
var tmp_1 = this.o3c_1.t3b_1;
|
|
319
|
+
var tmp_2 = this.o3c_1.o3b_1.d3b();
|
|
320
|
+
tmp_0.t3b_1 = tmp_1.p3(this.o3c_1.s3b_1.s2s(tmp_2 instanceof Buffer() ? tmp_2 : THROW_CCE(), this.s3c_1));
|
|
321
|
+
if (this.o3c_1.u3b_1 === 0 && !(this.q3c_1 === this.o3c_1.n3b_1.j1(this.o3c_1.u3b_1))) {
|
|
322
322
|
this.ac_1 = 6;
|
|
323
|
-
suspendResult = writeByte(this.
|
|
323
|
+
suspendResult = writeByte(this.o3c_1.o3b_1, this.q3c_1, this);
|
|
324
324
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
325
325
|
return suspendResult;
|
|
326
326
|
}
|
|
@@ -338,17 +338,17 @@ function $checkFullMatchCOROUTINE$() {
|
|
|
338
338
|
this.ac_1 = 5;
|
|
339
339
|
continue $sm;
|
|
340
340
|
case 5:
|
|
341
|
-
this.
|
|
342
|
-
if (this.
|
|
341
|
+
this.o3c_1.u3b_1 = this.o3c_1.u3b_1 + 1 | 0;
|
|
342
|
+
if (this.o3c_1.u3b_1 === this.o3c_1.n3b_1.i1()) {
|
|
343
343
|
return true;
|
|
344
344
|
}
|
|
345
345
|
|
|
346
|
-
this.
|
|
346
|
+
this.o3c_1.s3b_1.l2t(this.q3c_1);
|
|
347
347
|
this.ac_1 = 1;
|
|
348
348
|
continue $sm;
|
|
349
349
|
case 6:
|
|
350
|
-
var _unary__edvuaz = this.
|
|
351
|
-
this.
|
|
350
|
+
var _unary__edvuaz = this.o3c_1.t3b_1;
|
|
351
|
+
this.o3c_1.t3b_1 = _unary__edvuaz.u3();
|
|
352
352
|
return false;
|
|
353
353
|
case 7:
|
|
354
354
|
return false;
|
|
@@ -378,22 +378,22 @@ function ByteChannelScanner() {
|
|
|
378
378
|
class $ {
|
|
379
379
|
constructor(channel, matchString, writeChannel, limit) {
|
|
380
380
|
limit = limit === VOID ? new (Long())(-1, 2147483647) : limit;
|
|
381
|
-
this.
|
|
382
|
-
this.
|
|
383
|
-
this.
|
|
384
|
-
this.
|
|
381
|
+
this.m3b_1 = channel;
|
|
382
|
+
this.n3b_1 = matchString;
|
|
383
|
+
this.o3b_1 = writeChannel;
|
|
384
|
+
this.p3b_1 = limit;
|
|
385
385
|
// Inline function 'kotlin.require' call
|
|
386
|
-
if (!(this.
|
|
386
|
+
if (!(this.n3b_1.i1() > 0)) {
|
|
387
387
|
var message = 'Empty match string not permitted for scanning';
|
|
388
388
|
throw IllegalArgumentException().u(toString(message));
|
|
389
389
|
}
|
|
390
|
-
this.
|
|
391
|
-
this.
|
|
392
|
-
this.
|
|
393
|
-
this.
|
|
394
|
-
this.
|
|
390
|
+
this.q3b_1 = this.m3b_1.a3b();
|
|
391
|
+
this.r3b_1 = buildPartialMatchTable(this);
|
|
392
|
+
this.s3b_1 = new (Buffer())();
|
|
393
|
+
this.t3b_1 = new (Long())(0, 0);
|
|
394
|
+
this.u3b_1 = 0;
|
|
395
395
|
}
|
|
396
|
-
|
|
396
|
+
e3d(ignoreMissing, $completion) {
|
|
397
397
|
var tmp = new ($findNextCOROUTINE$())(this, ignoreMissing, $completion);
|
|
398
398
|
tmp.cc_1 = Unit_instance;
|
|
399
399
|
tmp.dc_1 = null;
|
|
@@ -16,25 +16,25 @@ function ByteReadChannel$Companion$Empty$1() {
|
|
|
16
16
|
if (ByteReadChannel$Companion$Empty$1Class === VOID) {
|
|
17
17
|
class $ {
|
|
18
18
|
constructor() {
|
|
19
|
-
this.
|
|
20
|
-
this.
|
|
19
|
+
this.f3d_1 = null;
|
|
20
|
+
this.g3d_1 = new (Buffer())();
|
|
21
21
|
}
|
|
22
|
-
|
|
23
|
-
return this.
|
|
22
|
+
f3b() {
|
|
23
|
+
return this.f3d_1;
|
|
24
24
|
}
|
|
25
|
-
|
|
25
|
+
h3b() {
|
|
26
26
|
return true;
|
|
27
27
|
}
|
|
28
|
-
|
|
29
|
-
return this.
|
|
28
|
+
a3b() {
|
|
29
|
+
return this.g3d_1;
|
|
30
30
|
}
|
|
31
|
-
|
|
31
|
+
i3b(min, $completion) {
|
|
32
32
|
return false;
|
|
33
33
|
}
|
|
34
|
-
|
|
34
|
+
l3b(cause) {
|
|
35
35
|
}
|
|
36
36
|
}
|
|
37
|
-
protoOf($).
|
|
37
|
+
protoOf($).j3b = awaitContent$default;
|
|
38
38
|
initMetadataForClass($, VOID, VOID, VOID, [ByteReadChannel()], [1]);
|
|
39
39
|
ByteReadChannel$Companion$Empty$1Class = $;
|
|
40
40
|
}
|
|
@@ -47,7 +47,7 @@ function Companion() {
|
|
|
47
47
|
constructor() {
|
|
48
48
|
Companion_instance = this;
|
|
49
49
|
var tmp = this;
|
|
50
|
-
tmp.
|
|
50
|
+
tmp.h3d_1 = new (ByteReadChannel$Companion$Empty$1())();
|
|
51
51
|
}
|
|
52
52
|
}
|
|
53
53
|
initMetadataForCompanion($);
|
|
@@ -63,7 +63,7 @@ function Companion_getInstance() {
|
|
|
63
63
|
}
|
|
64
64
|
function awaitContent$default(min, $completion, $super) {
|
|
65
65
|
min = min === VOID ? 1 : min;
|
|
66
|
-
return $super === VOID ? this.
|
|
66
|
+
return $super === VOID ? this.i3b(min, $completion) : $super.i3b.call(this, min, $completion);
|
|
67
67
|
}
|
|
68
68
|
var ByteReadChannelClass;
|
|
69
69
|
function ByteReadChannel() {
|
|
@@ -75,7 +75,7 @@ function ByteReadChannel() {
|
|
|
75
75
|
return ByteReadChannelClass;
|
|
76
76
|
}
|
|
77
77
|
function cancel(_this__u8e3s4) {
|
|
78
|
-
_this__u8e3s4.
|
|
78
|
+
_this__u8e3s4.l3b(IOException().z2u('Channel was cancelled'));
|
|
79
79
|
}
|
|
80
80
|
//region block: exports
|
|
81
81
|
export {
|