@everyonesoftware/common 13.0.0 → 14.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/outputs/sources/ANSIStyles.d.ts +10 -0
- package/outputs/sources/ANSIStyles.d.ts.map +1 -0
- package/outputs/sources/ANSIStyles.js +23 -0
- package/outputs/sources/ANSIStyles.js.map +1 -0
- package/outputs/sources/CharacterTable.d.ts +11 -0
- package/outputs/sources/CharacterTable.d.ts.map +1 -0
- package/outputs/sources/CharacterTable.js +28 -0
- package/outputs/sources/CharacterTable.js.map +1 -0
- package/outputs/sources/Clock.d.ts +12 -0
- package/outputs/sources/Clock.d.ts.map +1 -0
- package/outputs/sources/Clock.js +10 -0
- package/outputs/sources/Clock.js.map +1 -0
- package/outputs/sources/FetchError.d.ts +7 -0
- package/outputs/sources/FetchError.d.ts.map +1 -0
- package/outputs/sources/FetchError.js +20 -0
- package/outputs/sources/FetchError.js.map +1 -0
- package/outputs/sources/HttpRequestHandler.d.ts +8 -0
- package/outputs/sources/HttpRequestHandler.d.ts.map +1 -0
- package/outputs/sources/HttpRequestHandler.js +2 -0
- package/outputs/sources/HttpRequestHandler.js.map +1 -0
- package/outputs/sources/IndentedCharacterWriteStream.d.ts +21 -0
- package/outputs/sources/IndentedCharacterWriteStream.d.ts.map +1 -0
- package/outputs/sources/IndentedCharacterWriteStream.js +110 -0
- package/outputs/sources/IndentedCharacterWriteStream.js.map +1 -0
- package/outputs/sources/Indexable.d.ts +51 -0
- package/outputs/sources/Indexable.d.ts.map +1 -0
- package/outputs/sources/Indexable.js +122 -0
- package/outputs/sources/Indexable.js.map +1 -0
- package/outputs/sources/MutableIndexable.d.ts +51 -0
- package/outputs/sources/MutableIndexable.d.ts.map +1 -0
- package/outputs/sources/MutableIndexable.js +96 -0
- package/outputs/sources/MutableIndexable.js.map +1 -0
- package/outputs/sources/NodeJSHttpOutgoingResponse.d.ts +25 -0
- package/outputs/sources/NodeJSHttpOutgoingResponse.d.ts.map +1 -0
- package/outputs/sources/NodeJSHttpOutgoingResponse.js +77 -0
- package/outputs/sources/NodeJSHttpOutgoingResponse.js.map +1 -0
- package/outputs/sources/RealClock.d.ts +11 -0
- package/outputs/sources/RealClock.d.ts.map +1 -0
- package/outputs/sources/RealClock.js +15 -0
- package/outputs/sources/RealClock.js.map +1 -0
- package/outputs/sources/Token.d.ts +31 -0
- package/outputs/sources/Token.d.ts.map +1 -0
- package/outputs/sources/Token.js +80 -0
- package/outputs/sources/Token.js.map +1 -0
- package/outputs/sources/TokenType.d.ts +19 -0
- package/outputs/sources/TokenType.d.ts.map +1 -0
- package/outputs/sources/TokenType.js +27 -0
- package/outputs/sources/TokenType.js.map +1 -0
- package/outputs/sources/Tokenizer.d.ts +37 -0
- package/outputs/sources/Tokenizer.d.ts.map +1 -0
- package/outputs/sources/Tokenizer.js +163 -0
- package/outputs/sources/Tokenizer.js.map +1 -0
- package/outputs/sources/assertMessageParameters.d.ts +22 -0
- package/outputs/sources/assertMessageParameters.d.ts.map +1 -0
- package/outputs/sources/assertMessageParameters.js +2 -0
- package/outputs/sources/assertMessageParameters.js.map +1 -0
- package/outputs/sources/asyncIterator.d.ts +155 -0
- package/outputs/sources/asyncIterator.d.ts.map +1 -0
- package/outputs/sources/asyncIterator.js +303 -0
- package/outputs/sources/asyncIterator.js.map +1 -0
- package/outputs/sources/asyncIteratorToJavascriptAsyncIteratorAdapter.d.ts +13 -0
- package/outputs/sources/asyncIteratorToJavascriptAsyncIteratorAdapter.d.ts.map +1 -0
- package/outputs/sources/asyncIteratorToJavascriptAsyncIteratorAdapter.js +34 -0
- package/outputs/sources/asyncIteratorToJavascriptAsyncIteratorAdapter.js.map +1 -0
- package/outputs/sources/asyncResult.d.ts +73 -0
- package/outputs/sources/asyncResult.d.ts.map +1 -0
- package/outputs/sources/asyncResult.js +33 -0
- package/outputs/sources/asyncResult.js.map +1 -0
- package/outputs/sources/basicDisposable.d.ts +21 -0
- package/outputs/sources/basicDisposable.d.ts.map +1 -0
- package/outputs/sources/basicDisposable.js +42 -0
- package/outputs/sources/basicDisposable.js.map +1 -0
- package/outputs/sources/byteList.d.ts +43 -0
- package/outputs/sources/byteList.d.ts.map +1 -0
- package/outputs/sources/byteList.js +128 -0
- package/outputs/sources/byteList.js.map +1 -0
- package/outputs/sources/byteListStream.d.ts +20 -0
- package/outputs/sources/byteListStream.d.ts.map +1 -0
- package/outputs/sources/byteListStream.js +84 -0
- package/outputs/sources/byteListStream.js.map +1 -0
- package/outputs/sources/byteReadStream.d.ts +23 -0
- package/outputs/sources/byteReadStream.d.ts.map +1 -0
- package/outputs/sources/byteReadStream.js +6 -0
- package/outputs/sources/byteReadStream.js.map +1 -0
- package/outputs/sources/byteWriteStream.d.ts +15 -0
- package/outputs/sources/byteWriteStream.d.ts.map +1 -0
- package/outputs/sources/byteWriteStream.js +6 -0
- package/outputs/sources/byteWriteStream.js.map +1 -0
- package/outputs/sources/bytes.d.ts +20 -0
- package/outputs/sources/bytes.d.ts.map +1 -0
- package/outputs/sources/bytes.js +22 -0
- package/outputs/sources/bytes.js.map +1 -0
- package/outputs/sources/characterList.d.ts +39 -0
- package/outputs/sources/characterList.d.ts.map +1 -0
- package/outputs/sources/characterList.js +122 -0
- package/outputs/sources/characterList.js.map +1 -0
- package/outputs/sources/characterListStream.d.ts +27 -0
- package/outputs/sources/characterListStream.d.ts.map +1 -0
- package/outputs/sources/characterListStream.js +103 -0
- package/outputs/sources/characterListStream.js.map +1 -0
- package/outputs/sources/characterReadStream.d.ts +25 -0
- package/outputs/sources/characterReadStream.d.ts.map +1 -0
- package/outputs/sources/characterReadStream.js +57 -0
- package/outputs/sources/characterReadStream.js.map +1 -0
- package/outputs/sources/characterReadStreamIterator.d.ts +31 -0
- package/outputs/sources/characterReadStreamIterator.d.ts.map +1 -0
- package/outputs/sources/characterReadStreamIterator.js +79 -0
- package/outputs/sources/characterReadStreamIterator.js.map +1 -0
- package/outputs/sources/characterWriteStream.d.ts +18 -0
- package/outputs/sources/characterWriteStream.d.ts.map +1 -0
- package/outputs/sources/characterWriteStream.js +27 -0
- package/outputs/sources/characterWriteStream.js.map +1 -0
- package/outputs/sources/commandLineParameter.d.ts +30 -0
- package/outputs/sources/commandLineParameter.d.ts.map +1 -0
- package/outputs/sources/commandLineParameter.js +73 -0
- package/outputs/sources/commandLineParameter.js.map +1 -0
- package/outputs/sources/commandLineParameters.d.ts +23 -0
- package/outputs/sources/commandLineParameters.d.ts.map +1 -0
- package/outputs/sources/commandLineParameters.js +82 -0
- package/outputs/sources/commandLineParameters.js.map +1 -0
- package/outputs/sources/comparable.d.ts +79 -0
- package/outputs/sources/comparable.d.ts.map +1 -0
- package/outputs/sources/comparable.js +106 -0
- package/outputs/sources/comparable.js.map +1 -0
- package/outputs/sources/comparer.d.ts +62 -0
- package/outputs/sources/comparer.d.ts.map +1 -0
- package/outputs/sources/comparer.js +102 -0
- package/outputs/sources/comparer.js.map +1 -0
- package/outputs/sources/comparison.d.ts +18 -0
- package/outputs/sources/comparison.d.ts.map +1 -0
- package/outputs/sources/comparison.js +19 -0
- package/outputs/sources/comparison.js.map +1 -0
- package/outputs/sources/concatenateIterable.d.ts +28 -0
- package/outputs/sources/concatenateIterable.d.ts.map +1 -0
- package/outputs/sources/concatenateIterable.js +74 -0
- package/outputs/sources/concatenateIterable.js.map +1 -0
- package/outputs/sources/concatenateIterator.d.ts +30 -0
- package/outputs/sources/concatenateIterator.d.ts.map +1 -0
- package/outputs/sources/concatenateIterator.js +104 -0
- package/outputs/sources/concatenateIterator.js.map +1 -0
- package/outputs/sources/condition.d.ts +248 -0
- package/outputs/sources/condition.d.ts.map +1 -0
- package/outputs/sources/condition.js +166 -0
- package/outputs/sources/condition.js.map +1 -0
- package/outputs/sources/currentProcess.d.ts +31 -0
- package/outputs/sources/currentProcess.d.ts.map +1 -0
- package/outputs/sources/currentProcess.js +106 -0
- package/outputs/sources/currentProcess.js.map +1 -0
- package/outputs/sources/dateTime.d.ts +44 -0
- package/outputs/sources/dateTime.d.ts.map +1 -0
- package/outputs/sources/dateTime.js +76 -0
- package/outputs/sources/dateTime.js.map +1 -0
- package/outputs/sources/depthFirstSearch.d.ts +9 -0
- package/outputs/sources/depthFirstSearch.d.ts.map +1 -0
- package/outputs/sources/depthFirstSearch.js +148 -0
- package/outputs/sources/depthFirstSearch.js.map +1 -0
- package/outputs/sources/disposable.d.ts +25 -0
- package/outputs/sources/disposable.d.ts.map +1 -0
- package/outputs/sources/disposable.js +16 -0
- package/outputs/sources/disposable.js.map +1 -0
- package/outputs/sources/emptyError.d.ts +7 -0
- package/outputs/sources/emptyError.d.ts.map +1 -0
- package/outputs/sources/emptyError.js +9 -0
- package/outputs/sources/emptyError.js.map +1 -0
- package/outputs/sources/english.d.ts +4 -0
- package/outputs/sources/english.d.ts.map +1 -0
- package/outputs/sources/english.js +33 -0
- package/outputs/sources/english.js.map +1 -0
- package/outputs/sources/equalFunctions.d.ts +18 -0
- package/outputs/sources/equalFunctions.d.ts.map +1 -0
- package/outputs/sources/equalFunctions.js +88 -0
- package/outputs/sources/equalFunctions.js.map +1 -0
- package/outputs/sources/fetchHttpClient.d.ts +16 -0
- package/outputs/sources/fetchHttpClient.d.ts.map +1 -0
- package/outputs/sources/fetchHttpClient.js +86 -0
- package/outputs/sources/fetchHttpClient.js.map +1 -0
- package/outputs/sources/fetchHttpResponse.d.ts +19 -0
- package/outputs/sources/fetchHttpResponse.d.ts.map +1 -0
- package/outputs/sources/fetchHttpResponse.js +72 -0
- package/outputs/sources/fetchHttpResponse.js.map +1 -0
- package/outputs/sources/flatMapIterable.d.ts +29 -0
- package/outputs/sources/flatMapIterable.d.ts.map +1 -0
- package/outputs/sources/flatMapIterable.js +61 -0
- package/outputs/sources/flatMapIterable.js.map +1 -0
- package/outputs/sources/flatMapIterator.d.ts +33 -0
- package/outputs/sources/flatMapIterator.d.ts.map +1 -0
- package/outputs/sources/flatMapIterator.js +95 -0
- package/outputs/sources/flatMapIterator.js.map +1 -0
- package/outputs/sources/generator.d.ts +55 -0
- package/outputs/sources/generator.d.ts.map +1 -0
- package/outputs/sources/generator.js +139 -0
- package/outputs/sources/generator.js.map +1 -0
- package/outputs/sources/httpClient.d.ts +21 -0
- package/outputs/sources/httpClient.d.ts.map +1 -0
- package/outputs/sources/httpClient.js +22 -0
- package/outputs/sources/httpClient.js.map +1 -0
- package/outputs/sources/httpHeader.d.ts +10 -0
- package/outputs/sources/httpHeader.d.ts.map +1 -0
- package/outputs/sources/httpHeader.js +25 -0
- package/outputs/sources/httpHeader.js.map +1 -0
- package/outputs/sources/httpHeaders.d.ts +68 -0
- package/outputs/sources/httpHeaders.d.ts.map +1 -0
- package/outputs/sources/httpHeaders.js +122 -0
- package/outputs/sources/httpHeaders.js.map +1 -0
- package/outputs/sources/httpIncomingRequest.d.ts +40 -0
- package/outputs/sources/httpIncomingRequest.d.ts.map +1 -0
- package/outputs/sources/httpIncomingRequest.js +6 -0
- package/outputs/sources/httpIncomingRequest.js.map +1 -0
- package/outputs/sources/httpIncomingResponse.d.ts +28 -0
- package/outputs/sources/httpIncomingResponse.d.ts.map +1 -0
- package/outputs/sources/httpIncomingResponse.js +6 -0
- package/outputs/sources/httpIncomingResponse.js.map +1 -0
- package/outputs/sources/httpMethod.d.ts +62 -0
- package/outputs/sources/httpMethod.d.ts.map +1 -0
- package/outputs/sources/httpMethod.js +136 -0
- package/outputs/sources/httpMethod.js.map +1 -0
- package/outputs/sources/httpOutgoingRequest.d.ts +50 -0
- package/outputs/sources/httpOutgoingRequest.d.ts.map +1 -0
- package/outputs/sources/httpOutgoingRequest.js +84 -0
- package/outputs/sources/httpOutgoingRequest.js.map +1 -0
- package/outputs/sources/httpOutgoingResponse.d.ts +46 -0
- package/outputs/sources/httpOutgoingResponse.d.ts.map +1 -0
- package/outputs/sources/httpOutgoingResponse.js +6 -0
- package/outputs/sources/httpOutgoingResponse.js.map +1 -0
- package/outputs/sources/httpServer.d.ts +29 -0
- package/outputs/sources/httpServer.d.ts.map +1 -0
- package/outputs/sources/httpServer.js +3 -0
- package/outputs/sources/httpServer.js.map +1 -0
- package/outputs/sources/inMemoryCharacterWriteStream.d.ts +15 -0
- package/outputs/sources/inMemoryCharacterWriteStream.d.ts.map +1 -0
- package/outputs/sources/inMemoryCharacterWriteStream.js +52 -0
- package/outputs/sources/inMemoryCharacterWriteStream.js.map +1 -0
- package/outputs/sources/index.d.ts +111 -0
- package/outputs/sources/index.d.ts.map +1 -0
- package/outputs/sources/index.js +111 -0
- package/outputs/sources/index.js.map +1 -0
- package/outputs/sources/iterable.d.ts +132 -0
- package/outputs/sources/iterable.d.ts.map +1 -0
- package/outputs/sources/iterable.js +251 -0
- package/outputs/sources/iterable.js.map +1 -0
- package/outputs/sources/iterator.d.ts +163 -0
- package/outputs/sources/iterator.d.ts.map +1 -0
- package/outputs/sources/iterator.js +332 -0
- package/outputs/sources/iterator.js.map +1 -0
- package/outputs/sources/iteratorToJavascriptIteratorAdapter.d.ts +13 -0
- package/outputs/sources/iteratorToJavascriptIteratorAdapter.d.ts.map +1 -0
- package/outputs/sources/iteratorToJavascriptIteratorAdapter.js +34 -0
- package/outputs/sources/iteratorToJavascriptIteratorAdapter.js.map +1 -0
- package/outputs/sources/javascript.d.ts +51 -0
- package/outputs/sources/javascript.d.ts.map +1 -0
- package/outputs/sources/javascript.js +8 -0
- package/outputs/sources/javascript.js.map +1 -0
- package/outputs/sources/javascriptArrayList.d.ts +39 -0
- package/outputs/sources/javascriptArrayList.d.ts.map +1 -0
- package/outputs/sources/javascriptArrayList.js +104 -0
- package/outputs/sources/javascriptArrayList.js.map +1 -0
- package/outputs/sources/javascriptAsyncIteratorToAsyncIteratorAdapter.d.ts +29 -0
- package/outputs/sources/javascriptAsyncIteratorToAsyncIteratorAdapter.d.ts.map +1 -0
- package/outputs/sources/javascriptAsyncIteratorToAsyncIteratorAdapter.js +77 -0
- package/outputs/sources/javascriptAsyncIteratorToAsyncIteratorAdapter.js.map +1 -0
- package/outputs/sources/javascriptIteratorToIteratorAdapter.d.ts +31 -0
- package/outputs/sources/javascriptIteratorToIteratorAdapter.d.ts.map +1 -0
- package/outputs/sources/javascriptIteratorToIteratorAdapter.js +83 -0
- package/outputs/sources/javascriptIteratorToIteratorAdapter.js.map +1 -0
- package/outputs/sources/javascriptMapMap.d.ts +37 -0
- package/outputs/sources/javascriptMapMap.d.ts.map +1 -0
- package/outputs/sources/javascriptMapMap.js +88 -0
- package/outputs/sources/javascriptMapMap.js.map +1 -0
- package/outputs/sources/javascriptSetSet.d.ts +33 -0
- package/outputs/sources/javascriptSetSet.d.ts.map +1 -0
- package/outputs/sources/javascriptSetSet.js +84 -0
- package/outputs/sources/javascriptSetSet.js.map +1 -0
- package/outputs/sources/list.d.ts +106 -0
- package/outputs/sources/list.d.ts.map +1 -0
- package/outputs/sources/list.js +211 -0
- package/outputs/sources/list.js.map +1 -0
- package/outputs/sources/listQueue.d.ts +16 -0
- package/outputs/sources/listQueue.d.ts.map +1 -0
- package/outputs/sources/listQueue.js +39 -0
- package/outputs/sources/listQueue.js.map +1 -0
- package/outputs/sources/listStack.d.ts +17 -0
- package/outputs/sources/listStack.d.ts.map +1 -0
- package/outputs/sources/listStack.js +42 -0
- package/outputs/sources/listStack.js.map +1 -0
- package/outputs/sources/luxonDateTime.d.ts +26 -0
- package/outputs/sources/luxonDateTime.d.ts.map +1 -0
- package/outputs/sources/luxonDateTime.js +70 -0
- package/outputs/sources/luxonDateTime.js.map +1 -0
- package/outputs/sources/map.d.ts +105 -0
- package/outputs/sources/map.d.ts.map +1 -0
- package/outputs/sources/map.js +185 -0
- package/outputs/sources/map.js.map +1 -0
- package/outputs/sources/mapAsyncIterator.d.ts +34 -0
- package/outputs/sources/mapAsyncIterator.d.ts.map +1 -0
- package/outputs/sources/mapAsyncIterator.js +91 -0
- package/outputs/sources/mapAsyncIterator.js.map +1 -0
- package/outputs/sources/mapIterable.d.ts +31 -0
- package/outputs/sources/mapIterable.d.ts.map +1 -0
- package/outputs/sources/mapIterable.js +64 -0
- package/outputs/sources/mapIterable.js.map +1 -0
- package/outputs/sources/mapIterator.d.ts +35 -0
- package/outputs/sources/mapIterator.d.ts.map +1 -0
- package/outputs/sources/mapIterator.js +93 -0
- package/outputs/sources/mapIterator.js.map +1 -0
- package/outputs/sources/mutableCondition.d.ts +99 -0
- package/outputs/sources/mutableCondition.d.ts.map +1 -0
- package/outputs/sources/mutableCondition.js +334 -0
- package/outputs/sources/mutableCondition.js.map +1 -0
- package/outputs/sources/mutableHttpHeaders.d.ts +44 -0
- package/outputs/sources/mutableHttpHeaders.d.ts.map +1 -0
- package/outputs/sources/mutableHttpHeaders.js +125 -0
- package/outputs/sources/mutableHttpHeaders.js.map +1 -0
- package/outputs/sources/mutableMap.d.ts +125 -0
- package/outputs/sources/mutableMap.d.ts.map +1 -0
- package/outputs/sources/mutableMap.js +179 -0
- package/outputs/sources/mutableMap.js.map +1 -0
- package/outputs/sources/network.d.ts +16 -0
- package/outputs/sources/network.d.ts.map +1 -0
- package/outputs/sources/network.js +6 -0
- package/outputs/sources/network.js.map +1 -0
- package/outputs/sources/node.d.ts +11 -0
- package/outputs/sources/node.d.ts.map +1 -0
- package/outputs/sources/node.js +24 -0
- package/outputs/sources/node.js.map +1 -0
- package/outputs/sources/nodeJSCharacterWriteStream.d.ts +9 -0
- package/outputs/sources/nodeJSCharacterWriteStream.d.ts.map +1 -0
- package/outputs/sources/nodeJSCharacterWriteStream.js +28 -0
- package/outputs/sources/nodeJSCharacterWriteStream.js.map +1 -0
- package/outputs/sources/nodeJSHttpIncomingRequest.d.ts +21 -0
- package/outputs/sources/nodeJSHttpIncomingRequest.d.ts.map +1 -0
- package/outputs/sources/nodeJSHttpIncomingRequest.js +88 -0
- package/outputs/sources/nodeJSHttpIncomingRequest.js.map +1 -0
- package/outputs/sources/nodeJSHttpServer.d.ts +21 -0
- package/outputs/sources/nodeJSHttpServer.d.ts.map +1 -0
- package/outputs/sources/nodeJSHttpServer.js +83 -0
- package/outputs/sources/nodeJSHttpServer.js.map +1 -0
- package/outputs/sources/notFoundError.d.ts +7 -0
- package/outputs/sources/notFoundError.d.ts.map +1 -0
- package/outputs/sources/notFoundError.js +10 -0
- package/outputs/sources/notFoundError.js.map +1 -0
- package/outputs/sources/postCondition.d.ts +186 -0
- package/outputs/sources/postCondition.d.ts.map +1 -0
- package/outputs/sources/postCondition.js +224 -0
- package/outputs/sources/postCondition.js.map +1 -0
- package/outputs/sources/postConditionError.d.ts +7 -0
- package/outputs/sources/postConditionError.d.ts.map +1 -0
- package/outputs/sources/postConditionError.js +10 -0
- package/outputs/sources/postConditionError.js.map +1 -0
- package/outputs/sources/preCondition.d.ts +186 -0
- package/outputs/sources/preCondition.d.ts.map +1 -0
- package/outputs/sources/preCondition.js +224 -0
- package/outputs/sources/preCondition.js.map +1 -0
- package/outputs/sources/preConditionError.d.ts +7 -0
- package/outputs/sources/preConditionError.d.ts.map +1 -0
- package/outputs/sources/preConditionError.js +10 -0
- package/outputs/sources/preConditionError.js.map +1 -0
- package/outputs/sources/promiseAsyncResult.d.ts +22 -0
- package/outputs/sources/promiseAsyncResult.d.ts.map +1 -0
- package/outputs/sources/promiseAsyncResult.js +131 -0
- package/outputs/sources/promiseAsyncResult.js.map +1 -0
- package/outputs/sources/property.d.ts +15 -0
- package/outputs/sources/property.d.ts.map +1 -0
- package/outputs/sources/property.js +44 -0
- package/outputs/sources/property.js.map +1 -0
- package/outputs/sources/queue.d.ts +39 -0
- package/outputs/sources/queue.d.ts.map +1 -0
- package/outputs/sources/queue.js +14 -0
- package/outputs/sources/queue.js.map +1 -0
- package/outputs/sources/realNetwork.d.ts +10 -0
- package/outputs/sources/realNetwork.d.ts.map +1 -0
- package/outputs/sources/realNetwork.js +18 -0
- package/outputs/sources/realNetwork.js.map +1 -0
- package/outputs/sources/recreationDotGovClient.d.ts +79 -0
- package/outputs/sources/recreationDotGovClient.d.ts.map +1 -0
- package/outputs/sources/recreationDotGovClient.js +130 -0
- package/outputs/sources/recreationDotGovClient.js.map +1 -0
- package/outputs/sources/searchControl.d.ts +36 -0
- package/outputs/sources/searchControl.d.ts.map +1 -0
- package/outputs/sources/searchControl.js +6 -0
- package/outputs/sources/searchControl.js.map +1 -0
- package/outputs/sources/set.d.ts +62 -0
- package/outputs/sources/set.d.ts.map +1 -0
- package/outputs/sources/set.js +145 -0
- package/outputs/sources/set.js.map +1 -0
- package/outputs/sources/skipAsyncIterator.d.ts +34 -0
- package/outputs/sources/skipAsyncIterator.d.ts.map +1 -0
- package/outputs/sources/skipAsyncIterator.js +94 -0
- package/outputs/sources/skipAsyncIterator.js.map +1 -0
- package/outputs/sources/skipIterator.d.ts +36 -0
- package/outputs/sources/skipIterator.d.ts.map +1 -0
- package/outputs/sources/skipIterator.js +100 -0
- package/outputs/sources/skipIterator.js.map +1 -0
- package/outputs/sources/stack.d.ts +43 -0
- package/outputs/sources/stack.d.ts.map +1 -0
- package/outputs/sources/stack.js +14 -0
- package/outputs/sources/stack.js.map +1 -0
- package/outputs/sources/stringComparer.d.ts +12 -0
- package/outputs/sources/stringComparer.d.ts.map +1 -0
- package/outputs/sources/stringComparer.js +24 -0
- package/outputs/sources/stringComparer.js.map +1 -0
- package/outputs/sources/stringIterator.d.ts +36 -0
- package/outputs/sources/stringIterator.d.ts.map +1 -0
- package/outputs/sources/stringIterator.js +94 -0
- package/outputs/sources/stringIterator.js.map +1 -0
- package/outputs/sources/strings.d.ts +78 -0
- package/outputs/sources/strings.d.ts.map +1 -0
- package/outputs/sources/strings.js +218 -0
- package/outputs/sources/strings.js.map +1 -0
- package/outputs/sources/syncResult.d.ts +32 -0
- package/outputs/sources/syncResult.d.ts.map +1 -0
- package/outputs/sources/syncResult.js +200 -0
- package/outputs/sources/syncResult.js.map +1 -0
- package/outputs/sources/takeAsyncIterator.d.ts +34 -0
- package/outputs/sources/takeAsyncIterator.d.ts.map +1 -0
- package/outputs/sources/takeAsyncIterator.js +92 -0
- package/outputs/sources/takeAsyncIterator.js.map +1 -0
- package/outputs/sources/takeIterator.d.ts +36 -0
- package/outputs/sources/takeIterator.d.ts.map +1 -0
- package/outputs/sources/takeIterator.js +98 -0
- package/outputs/sources/takeIterator.js.map +1 -0
- package/outputs/sources/toStringFunctions.d.ts +21 -0
- package/outputs/sources/toStringFunctions.d.ts.map +1 -0
- package/outputs/sources/toStringFunctions.js +130 -0
- package/outputs/sources/toStringFunctions.js.map +1 -0
- package/outputs/sources/types.d.ts +194 -0
- package/outputs/sources/types.d.ts.map +1 -0
- package/outputs/sources/types.js +277 -0
- package/outputs/sources/types.js.map +1 -0
- package/outputs/sources/whereAsyncIterator.d.ts +33 -0
- package/outputs/sources/whereAsyncIterator.d.ts.map +1 -0
- package/outputs/sources/whereAsyncIterator.js +91 -0
- package/outputs/sources/whereAsyncIterator.js.map +1 -0
- package/outputs/sources/whereIterable.d.ts +32 -0
- package/outputs/sources/whereIterable.d.ts.map +1 -0
- package/outputs/sources/whereIterable.js +65 -0
- package/outputs/sources/whereIterable.js.map +1 -0
- package/outputs/sources/whereIterator.d.ts +35 -0
- package/outputs/sources/whereIterator.d.ts.map +1 -0
- package/outputs/sources/whereIterator.js +102 -0
- package/outputs/sources/whereIterator.js.map +1 -0
- package/outputs/sources/wonderlandTrailClient.d.ts +202 -0
- package/outputs/sources/wonderlandTrailClient.d.ts.map +1 -0
- package/outputs/sources/wonderlandTrailClient.js +1094 -0
- package/outputs/sources/wonderlandTrailClient.js.map +1 -0
- package/outputs/tests/AssertTestCreator.d.ts +11 -0
- package/outputs/tests/AssertTestCreator.d.ts.map +1 -0
- package/outputs/tests/AssertTestCreator.js +15 -0
- package/outputs/tests/AssertTestCreator.js.map +1 -0
- package/outputs/tests/BasicTestError.d.ts +14 -0
- package/outputs/tests/BasicTestError.d.ts.map +1 -0
- package/outputs/tests/BasicTestError.js +94 -0
- package/outputs/tests/BasicTestError.js.map +1 -0
- package/outputs/tests/BasicTestErrorCreator.d.ts +11 -0
- package/outputs/tests/BasicTestErrorCreator.d.ts.map +1 -0
- package/outputs/tests/BasicTestErrorCreator.js +15 -0
- package/outputs/tests/BasicTestErrorCreator.js.map +1 -0
- package/outputs/tests/BasicTestErrorTests.d.ts +3 -0
- package/outputs/tests/BasicTestErrorTests.d.ts.map +1 -0
- package/outputs/tests/BasicTestErrorTests.js +236 -0
- package/outputs/tests/BasicTestErrorTests.js.map +1 -0
- package/outputs/tests/CharacterTableTests.d.ts +3 -0
- package/outputs/tests/CharacterTableTests.d.ts.map +1 -0
- package/outputs/tests/CharacterTableTests.js +24 -0
- package/outputs/tests/CharacterTableTests.js.map +1 -0
- package/outputs/tests/ClockTests.d.ts +5 -0
- package/outputs/tests/ClockTests.d.ts.map +1 -0
- package/outputs/tests/ClockTests.js +23 -0
- package/outputs/tests/ClockTests.js.map +1 -0
- package/outputs/tests/CommandLineParametersTests.d.ts +3 -0
- package/outputs/tests/CommandLineParametersTests.d.ts.map +1 -0
- package/outputs/tests/CommandLineParametersTests.js +58 -0
- package/outputs/tests/CommandLineParametersTests.js.map +1 -0
- package/outputs/tests/ConsoleTestRunnerUI.d.ts +49 -0
- package/outputs/tests/ConsoleTestRunnerUI.d.ts.map +1 -0
- package/outputs/tests/ConsoleTestRunnerUI.js +213 -0
- package/outputs/tests/ConsoleTestRunnerUI.js.map +1 -0
- package/outputs/tests/ConsoleTestRunnerUITests.d.ts +5 -0
- package/outputs/tests/ConsoleTestRunnerUITests.d.ts.map +1 -0
- package/outputs/tests/ConsoleTestRunnerUITests.js +26 -0
- package/outputs/tests/ConsoleTestRunnerUITests.js.map +1 -0
- package/outputs/tests/FakeClock.d.ts +16 -0
- package/outputs/tests/FakeClock.d.ts.map +1 -0
- package/outputs/tests/FakeClock.js +27 -0
- package/outputs/tests/FakeClock.js.map +1 -0
- package/outputs/tests/IndentedCharacterWriteStreamTests.d.ts +3 -0
- package/outputs/tests/IndentedCharacterWriteStreamTests.d.ts.map +1 -0
- package/outputs/tests/IndentedCharacterWriteStreamTests.js +269 -0
- package/outputs/tests/IndentedCharacterWriteStreamTests.js.map +1 -0
- package/outputs/tests/IndexableTests.d.ts +5 -0
- package/outputs/tests/IndexableTests.d.ts.map +1 -0
- package/outputs/tests/IndexableTests.js +46 -0
- package/outputs/tests/IndexableTests.js.map +1 -0
- package/outputs/tests/MutableIndexableTests.d.ts +5 -0
- package/outputs/tests/MutableIndexableTests.d.ts.map +1 -0
- package/outputs/tests/MutableIndexableTests.js +33 -0
- package/outputs/tests/MutableIndexableTests.js.map +1 -0
- package/outputs/tests/TestCreator.d.ts +15 -0
- package/outputs/tests/TestCreator.d.ts.map +1 -0
- package/outputs/tests/TestCreator.js +13 -0
- package/outputs/tests/TestCreator.js.map +1 -0
- package/outputs/tests/TestError.d.ts +31 -0
- package/outputs/tests/TestError.d.ts.map +1 -0
- package/outputs/tests/TestError.js +5 -0
- package/outputs/tests/TestError.js.map +1 -0
- package/outputs/tests/TestErrorCreator.d.ts +6 -0
- package/outputs/tests/TestErrorCreator.d.ts.map +1 -0
- package/outputs/tests/TestErrorCreator.js +7 -0
- package/outputs/tests/TestErrorCreator.js.map +1 -0
- package/outputs/tests/TokenizerTests.d.ts +3 -0
- package/outputs/tests/TokenizerTests.d.ts.map +1 -0
- package/outputs/tests/TokenizerTests.js +100 -0
- package/outputs/tests/TokenizerTests.js.map +1 -0
- package/outputs/tests/assertTest.d.ts +32 -0
- package/outputs/tests/assertTest.d.ts.map +1 -0
- package/outputs/tests/assertTest.js +75 -0
- package/outputs/tests/assertTest.js.map +1 -0
- package/outputs/tests/assertTestTests.d.ts +3 -0
- package/outputs/tests/assertTestTests.d.ts.map +1 -0
- package/outputs/tests/assertTestTests.js +49 -0
- package/outputs/tests/assertTestTests.js.map +1 -0
- package/outputs/tests/basicTestSkip.d.ts +20 -0
- package/outputs/tests/basicTestSkip.d.ts.map +1 -0
- package/outputs/tests/basicTestSkip.js +36 -0
- package/outputs/tests/basicTestSkip.js.map +1 -0
- package/outputs/tests/byteListStreamTests.d.ts +3 -0
- package/outputs/tests/byteListStreamTests.d.ts.map +1 -0
- package/outputs/tests/byteListStreamTests.js +247 -0
- package/outputs/tests/byteListStreamTests.js.map +1 -0
- package/outputs/tests/byteListTests.d.ts +3 -0
- package/outputs/tests/byteListTests.d.ts.map +1 -0
- package/outputs/tests/byteListTests.js +5 -0
- package/outputs/tests/byteListTests.js.map +1 -0
- package/outputs/tests/bytesTests.d.ts +3 -0
- package/outputs/tests/bytesTests.d.ts.map +1 -0
- package/outputs/tests/bytesTests.js +30 -0
- package/outputs/tests/bytesTests.js.map +1 -0
- package/outputs/tests/characterListStreamTests.d.ts +3 -0
- package/outputs/tests/characterListStreamTests.d.ts.map +1 -0
- package/outputs/tests/characterListStreamTests.js +247 -0
- package/outputs/tests/characterListStreamTests.js.map +1 -0
- package/outputs/tests/characterListTests.d.ts +3 -0
- package/outputs/tests/characterListTests.d.ts.map +1 -0
- package/outputs/tests/characterListTests.js +159 -0
- package/outputs/tests/characterListTests.js.map +1 -0
- package/outputs/tests/characterWriteStreamTests.d.ts +4 -0
- package/outputs/tests/characterWriteStreamTests.d.ts.map +1 -0
- package/outputs/tests/characterWriteStreamTests.js +7 -0
- package/outputs/tests/characterWriteStreamTests.js.map +1 -0
- package/outputs/tests/comparerTests.d.ts +3 -0
- package/outputs/tests/comparerTests.d.ts.map +1 -0
- package/outputs/tests/comparerTests.js +67 -0
- package/outputs/tests/comparerTests.js.map +1 -0
- package/outputs/tests/conditionTests.d.ts +3 -0
- package/outputs/tests/conditionTests.d.ts.map +1 -0
- package/outputs/tests/conditionTests.js +602 -0
- package/outputs/tests/conditionTests.js.map +1 -0
- package/outputs/tests/consoleTestRunner.d.ts +95 -0
- package/outputs/tests/consoleTestRunner.d.ts.map +1 -0
- package/outputs/tests/consoleTestRunner.js +351 -0
- package/outputs/tests/consoleTestRunner.js.map +1 -0
- package/outputs/tests/consoleTestRunnerTests.d.ts +3 -0
- package/outputs/tests/consoleTestRunnerTests.d.ts.map +1 -0
- package/outputs/tests/consoleTestRunnerTests.js +537 -0
- package/outputs/tests/consoleTestRunnerTests.js.map +1 -0
- package/outputs/tests/dateTimeTests.d.ts +3 -0
- package/outputs/tests/dateTimeTests.d.ts.map +1 -0
- package/outputs/tests/dateTimeTests.js +24 -0
- package/outputs/tests/dateTimeTests.js.map +1 -0
- package/outputs/tests/depthFirstSearchTests.d.ts +3 -0
- package/outputs/tests/depthFirstSearchTests.d.ts.map +1 -0
- package/outputs/tests/depthFirstSearchTests.js +61 -0
- package/outputs/tests/depthFirstSearchTests.js.map +1 -0
- package/outputs/tests/disposableTests.d.ts +3 -0
- package/outputs/tests/disposableTests.d.ts.map +1 -0
- package/outputs/tests/disposableTests.js +81 -0
- package/outputs/tests/disposableTests.js.map +1 -0
- package/outputs/tests/englishTests.d.ts +3 -0
- package/outputs/tests/englishTests.d.ts.map +1 -0
- package/outputs/tests/englishTests.js +68 -0
- package/outputs/tests/englishTests.js.map +1 -0
- package/outputs/tests/equalFunctionsTests.d.ts +3 -0
- package/outputs/tests/equalFunctionsTests.d.ts.map +1 -0
- package/outputs/tests/equalFunctionsTests.js +187 -0
- package/outputs/tests/equalFunctionsTests.js.map +1 -0
- package/outputs/tests/failedTest.d.ts +11 -0
- package/outputs/tests/failedTest.d.ts.map +1 -0
- package/outputs/tests/failedTest.js +21 -0
- package/outputs/tests/failedTest.js.map +1 -0
- package/outputs/tests/fetchHttpClientTests.d.ts +3 -0
- package/outputs/tests/fetchHttpClientTests.d.ts.map +1 -0
- package/outputs/tests/fetchHttpClientTests.js +21 -0
- package/outputs/tests/fetchHttpClientTests.js.map +1 -0
- package/outputs/tests/generatorTests.d.ts +3 -0
- package/outputs/tests/generatorTests.d.ts.map +1 -0
- package/outputs/tests/generatorTests.js +55 -0
- package/outputs/tests/generatorTests.js.map +1 -0
- package/outputs/tests/httpClientTests.d.ts +3 -0
- package/outputs/tests/httpClientTests.d.ts.map +1 -0
- package/outputs/tests/httpClientTests.js +12 -0
- package/outputs/tests/httpClientTests.js.map +1 -0
- package/outputs/tests/inMemoryCharacterWriteStreamTests.d.ts +3 -0
- package/outputs/tests/inMemoryCharacterWriteStreamTests.d.ts.map +1 -0
- package/outputs/tests/inMemoryCharacterWriteStreamTests.js +84 -0
- package/outputs/tests/inMemoryCharacterWriteStreamTests.js.map +1 -0
- package/outputs/tests/index.d.ts +12 -0
- package/outputs/tests/index.d.ts.map +1 -0
- package/outputs/tests/index.js +12 -0
- package/outputs/tests/index.js.map +1 -0
- package/outputs/tests/iterableTests.d.ts +5 -0
- package/outputs/tests/iterableTests.d.ts.map +1 -0
- package/outputs/tests/iterableTests.js +155 -0
- package/outputs/tests/iterableTests.js.map +1 -0
- package/outputs/tests/iteratorTests.d.ts +5 -0
- package/outputs/tests/iteratorTests.d.ts.map +1 -0
- package/outputs/tests/iteratorTests.js +728 -0
- package/outputs/tests/iteratorTests.js.map +1 -0
- package/outputs/tests/javascriptMapMapTests.d.ts +3 -0
- package/outputs/tests/javascriptMapMapTests.d.ts.map +1 -0
- package/outputs/tests/javascriptMapMapTests.js +14 -0
- package/outputs/tests/javascriptMapMapTests.js.map +1 -0
- package/outputs/tests/listTests.d.ts +3 -0
- package/outputs/tests/listTests.d.ts.map +1 -0
- package/outputs/tests/listTests.js +202 -0
- package/outputs/tests/listTests.js.map +1 -0
- package/outputs/tests/mapIteratorTests.d.ts +3 -0
- package/outputs/tests/mapIteratorTests.d.ts.map +1 -0
- package/outputs/tests/mapIteratorTests.js +27 -0
- package/outputs/tests/mapIteratorTests.js.map +1 -0
- package/outputs/tests/mapTests.d.ts +5 -0
- package/outputs/tests/mapTests.d.ts.map +1 -0
- package/outputs/tests/mapTests.js +64 -0
- package/outputs/tests/mapTests.js.map +1 -0
- package/outputs/tests/mutableConditionTests.d.ts +3 -0
- package/outputs/tests/mutableConditionTests.d.ts.map +1 -0
- package/outputs/tests/mutableConditionTests.js +174 -0
- package/outputs/tests/mutableConditionTests.js.map +1 -0
- package/outputs/tests/mutableMapTests.d.ts +5 -0
- package/outputs/tests/mutableMapTests.d.ts.map +1 -0
- package/outputs/tests/mutableMapTests.js +102 -0
- package/outputs/tests/mutableMapTests.js.map +1 -0
- package/outputs/tests/nodeJSHttpServerTests.d.ts +3 -0
- package/outputs/tests/nodeJSHttpServerTests.d.ts.map +1 -0
- package/outputs/tests/nodeJSHttpServerTests.js +50 -0
- package/outputs/tests/nodeJSHttpServerTests.js.map +1 -0
- package/outputs/tests/notFoundErrorTests.d.ts +3 -0
- package/outputs/tests/notFoundErrorTests.d.ts.map +1 -0
- package/outputs/tests/notFoundErrorTests.js +17 -0
- package/outputs/tests/notFoundErrorTests.js.map +1 -0
- package/outputs/tests/postConditionErrorTests.d.ts +3 -0
- package/outputs/tests/postConditionErrorTests.d.ts.map +1 -0
- package/outputs/tests/postConditionErrorTests.js +17 -0
- package/outputs/tests/postConditionErrorTests.js.map +1 -0
- package/outputs/tests/preConditionErrorTests.d.ts +3 -0
- package/outputs/tests/preConditionErrorTests.d.ts.map +1 -0
- package/outputs/tests/preConditionErrorTests.js +17 -0
- package/outputs/tests/preConditionErrorTests.js.map +1 -0
- package/outputs/tests/promiseAsyncResultTests.d.ts +3 -0
- package/outputs/tests/promiseAsyncResultTests.d.ts.map +1 -0
- package/outputs/tests/promiseAsyncResultTests.js +487 -0
- package/outputs/tests/promiseAsyncResultTests.js.map +1 -0
- package/outputs/tests/propertyTests.d.ts +3 -0
- package/outputs/tests/propertyTests.d.ts.map +1 -0
- package/outputs/tests/propertyTests.js +41 -0
- package/outputs/tests/propertyTests.js.map +1 -0
- package/outputs/tests/queueTests.d.ts +3 -0
- package/outputs/tests/queueTests.d.ts.map +1 -0
- package/outputs/tests/queueTests.js +20 -0
- package/outputs/tests/queueTests.js.map +1 -0
- package/outputs/tests/recreationDotGovClientTests.d.ts +3 -0
- package/outputs/tests/recreationDotGovClientTests.d.ts.map +1 -0
- package/outputs/tests/recreationDotGovClientTests.js +111 -0
- package/outputs/tests/recreationDotGovClientTests.js.map +1 -0
- package/outputs/tests/setTests.d.ts +3 -0
- package/outputs/tests/setTests.d.ts.map +1 -0
- package/outputs/tests/setTests.js +92 -0
- package/outputs/tests/setTests.js.map +1 -0
- package/outputs/tests/skippedTest.d.ts +11 -0
- package/outputs/tests/skippedTest.d.ts.map +1 -0
- package/outputs/tests/skippedTest.js +21 -0
- package/outputs/tests/skippedTest.js.map +1 -0
- package/outputs/tests/stackTests.d.ts +3 -0
- package/outputs/tests/stackTests.d.ts.map +1 -0
- package/outputs/tests/stackTests.js +45 -0
- package/outputs/tests/stackTests.js.map +1 -0
- package/outputs/tests/stringComparerTests.d.ts +3 -0
- package/outputs/tests/stringComparerTests.d.ts.map +1 -0
- package/outputs/tests/stringComparerTests.js +47 -0
- package/outputs/tests/stringComparerTests.js.map +1 -0
- package/outputs/tests/stringIteratorTests.d.ts +3 -0
- package/outputs/tests/stringIteratorTests.d.ts.map +1 -0
- package/outputs/tests/stringIteratorTests.js +81 -0
- package/outputs/tests/stringIteratorTests.js.map +1 -0
- package/outputs/tests/stringsTests.d.ts +3 -0
- package/outputs/tests/stringsTests.d.ts.map +1 -0
- package/outputs/tests/stringsTests.js +384 -0
- package/outputs/tests/stringsTests.js.map +1 -0
- package/outputs/tests/syncResultTests.d.ts +3 -0
- package/outputs/tests/syncResultTests.d.ts.map +1 -0
- package/outputs/tests/syncResultTests.js +900 -0
- package/outputs/tests/syncResultTests.js.map +1 -0
- package/outputs/tests/test.d.ts +144 -0
- package/outputs/tests/test.d.ts.map +1 -0
- package/outputs/tests/test.js +145 -0
- package/outputs/tests/test.js.map +1 -0
- package/outputs/tests/testAction.d.ts +22 -0
- package/outputs/tests/testAction.d.ts.map +1 -0
- package/outputs/tests/testAction.js +56 -0
- package/outputs/tests/testAction.js.map +1 -0
- package/outputs/tests/testActionTests.d.ts +3 -0
- package/outputs/tests/testActionTests.d.ts.map +1 -0
- package/outputs/tests/testActionTests.js +56 -0
- package/outputs/tests/testActionTests.js.map +1 -0
- package/outputs/tests/testFailureTests.d.ts +3 -0
- package/outputs/tests/testFailureTests.d.ts.map +1 -0
- package/outputs/tests/testFailureTests.js +7 -0
- package/outputs/tests/testFailureTests.js.map +1 -0
- package/outputs/tests/testRunner.d.ts +107 -0
- package/outputs/tests/testRunner.d.ts.map +1 -0
- package/outputs/tests/testRunner.js +63 -0
- package/outputs/tests/testRunner.js.map +1 -0
- package/outputs/tests/testRunnerTests.d.ts +4 -0
- package/outputs/tests/testRunnerTests.d.ts.map +1 -0
- package/outputs/tests/testRunnerTests.js +258 -0
- package/outputs/tests/testRunnerTests.js.map +1 -0
- package/outputs/tests/testSkip.d.ts +24 -0
- package/outputs/tests/testSkip.d.ts.map +1 -0
- package/outputs/tests/testSkip.js +19 -0
- package/outputs/tests/testSkip.js.map +1 -0
- package/outputs/tests/tests.d.ts +2 -0
- package/outputs/tests/tests.d.ts.map +1 -0
- package/outputs/tests/tests.js +115 -0
- package/outputs/tests/tests.js.map +1 -0
- package/outputs/tests/toStringFunctionsTests.d.ts +3 -0
- package/outputs/tests/toStringFunctionsTests.d.ts.map +1 -0
- package/outputs/tests/toStringFunctionsTests.js +43 -0
- package/outputs/tests/toStringFunctionsTests.js.map +1 -0
- package/outputs/tests/typesTests.d.ts +3 -0
- package/outputs/tests/typesTests.d.ts.map +1 -0
- package/outputs/tests/typesTests.js +194 -0
- package/outputs/tests/typesTests.js.map +1 -0
- package/outputs/tests/whereIteratorTests.d.ts +3 -0
- package/outputs/tests/whereIteratorTests.d.ts.map +1 -0
- package/outputs/tests/whereIteratorTests.js +30 -0
- package/outputs/tests/whereIteratorTests.js.map +1 -0
- package/outputs/tests/wonderlandTrailClientTests.d.ts +3 -0
- package/outputs/tests/wonderlandTrailClientTests.d.ts.map +1 -0
- package/outputs/tests/wonderlandTrailClientTests.js +272 -0
- package/outputs/tests/wonderlandTrailClientTests.js.map +1 -0
- package/package.json +48 -48
- package/outputs/characterWriteStream-DGlmRcFl.d.cts +0 -854
- package/outputs/characterWriteStream-DGlmRcFl.d.ts +0 -854
- package/outputs/chunk-P4KLLRFY.js +0 -1199
- package/outputs/chunk-P4KLLRFY.js.map +0 -1
- package/outputs/chunk-TUBXFCG4.js +0 -9593
- package/outputs/chunk-TUBXFCG4.js.map +0 -1
- package/outputs/sourceIndex.cjs +0 -9793
- package/outputs/sourceIndex.cjs.map +0 -1
- package/outputs/sourceIndex.d.cts +0 -3533
- package/outputs/sourceIndex.d.ts +0 -3533
- package/outputs/sourceIndex.js +0 -349
- package/outputs/sourceIndex.js.map +0 -1
- package/outputs/testIndex.cjs +0 -7049
- package/outputs/testIndex.cjs.map +0 -1
- package/outputs/testIndex.d.cts +0 -544
- package/outputs/testIndex.d.ts +0 -544
- package/outputs/testIndex.js +0 -55
- package/outputs/testIndex.js.map +0 -1
- package/outputs/tests.cjs +0 -19376
- package/outputs/tests.cjs.map +0 -1
- package/outputs/tests.d.cts +0 -3
- package/outputs/tests.d.ts +0 -3
- package/outputs/tests.js +0 -10018
- package/outputs/tests.js.map +0 -1
|
@@ -0,0 +1,125 @@
|
|
|
1
|
+
import { HttpHeader } from "./httpHeader.js";
|
|
2
|
+
import { HttpHeaders } from "./httpHeaders.js";
|
|
3
|
+
import { List } from "./list.js";
|
|
4
|
+
import { NotFoundError } from "./notFoundError.js";
|
|
5
|
+
import { PreCondition } from "./preCondition.js";
|
|
6
|
+
import { escapeAndQuote } from "./strings.js";
|
|
7
|
+
import { SyncResult } from "./syncResult.js";
|
|
8
|
+
import { isString } from "./types.js";
|
|
9
|
+
export class MutableHttpHeaders {
|
|
10
|
+
headers;
|
|
11
|
+
constructor(headers) {
|
|
12
|
+
this.headers = List.create();
|
|
13
|
+
if (headers) {
|
|
14
|
+
this.setAll(headers);
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
static create(headers) {
|
|
18
|
+
return new MutableHttpHeaders(headers);
|
|
19
|
+
}
|
|
20
|
+
iterate() {
|
|
21
|
+
return this.headers.iterate();
|
|
22
|
+
}
|
|
23
|
+
get(headerName) {
|
|
24
|
+
PreCondition.assertNotEmpty(headerName, "headerName");
|
|
25
|
+
return SyncResult.create(() => {
|
|
26
|
+
let result;
|
|
27
|
+
const lowerHeaderName = headerName.toLowerCase();
|
|
28
|
+
for (const header of this.headers) {
|
|
29
|
+
if (header.getName().toLowerCase() === lowerHeaderName) {
|
|
30
|
+
result = header;
|
|
31
|
+
break;
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
if (result === undefined) {
|
|
35
|
+
throw new NotFoundError(`No HttpHeader found with the name ${escapeAndQuote(headerName)}.`);
|
|
36
|
+
}
|
|
37
|
+
return result;
|
|
38
|
+
});
|
|
39
|
+
}
|
|
40
|
+
getValue(headerName) {
|
|
41
|
+
return this.get(headerName)
|
|
42
|
+
.then((header) => header.getValue());
|
|
43
|
+
}
|
|
44
|
+
set(headerOrHeaderName, headerValue) {
|
|
45
|
+
let headerName;
|
|
46
|
+
if (isString(headerOrHeaderName)) {
|
|
47
|
+
headerName = headerOrHeaderName;
|
|
48
|
+
}
|
|
49
|
+
else {
|
|
50
|
+
headerName = headerOrHeaderName.getName();
|
|
51
|
+
headerValue = headerOrHeaderName.getValue();
|
|
52
|
+
}
|
|
53
|
+
PreCondition.assertNotEmpty(headerName, "headerName");
|
|
54
|
+
PreCondition.assertNotUndefinedAndNotNull(headerValue, "headerValue");
|
|
55
|
+
let insertIndex = 0;
|
|
56
|
+
for (let insertIndex = 0; insertIndex < this.headers.getCount().await(); insertIndex++) {
|
|
57
|
+
const header = this.headers.get(insertIndex).await();
|
|
58
|
+
if (header.getName() === headerName) {
|
|
59
|
+
this.headers.removeAt(insertIndex);
|
|
60
|
+
break;
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
this.headers.insert(insertIndex, HttpHeader.create(headerName, headerValue));
|
|
64
|
+
return this;
|
|
65
|
+
}
|
|
66
|
+
setAll(headers) {
|
|
67
|
+
PreCondition.assertNotUndefinedAndNotNull(headers, "headers");
|
|
68
|
+
for (const header of headers) {
|
|
69
|
+
this.set(header);
|
|
70
|
+
}
|
|
71
|
+
return this;
|
|
72
|
+
}
|
|
73
|
+
setContentType(contentType) {
|
|
74
|
+
return this.set(HttpHeaders.contentTypeHeaderName, contentType);
|
|
75
|
+
}
|
|
76
|
+
getContentType() {
|
|
77
|
+
return this.get(HttpHeaders.contentTypeHeaderName);
|
|
78
|
+
}
|
|
79
|
+
getContentTypeValue() {
|
|
80
|
+
return this.getValue(HttpHeaders.contentTypeHeaderName);
|
|
81
|
+
}
|
|
82
|
+
getCount() {
|
|
83
|
+
return this.headers.getCount();
|
|
84
|
+
}
|
|
85
|
+
toArray() {
|
|
86
|
+
return HttpHeaders.toArray(this);
|
|
87
|
+
}
|
|
88
|
+
any() {
|
|
89
|
+
return HttpHeaders.any(this);
|
|
90
|
+
}
|
|
91
|
+
equals(right, equalFunctions) {
|
|
92
|
+
return HttpHeaders.equals(this, right, equalFunctions);
|
|
93
|
+
}
|
|
94
|
+
toString(toStringFunctions) {
|
|
95
|
+
return HttpHeaders.toString(this, toStringFunctions);
|
|
96
|
+
}
|
|
97
|
+
concatenate(...toConcatenate) {
|
|
98
|
+
return HttpHeaders.concatenate(this, ...toConcatenate);
|
|
99
|
+
}
|
|
100
|
+
map(mapping) {
|
|
101
|
+
return HttpHeaders.map(this, mapping);
|
|
102
|
+
}
|
|
103
|
+
flatMap(mapping) {
|
|
104
|
+
return HttpHeaders.flatMap(this, mapping);
|
|
105
|
+
}
|
|
106
|
+
where(condition) {
|
|
107
|
+
return HttpHeaders.where(this, condition);
|
|
108
|
+
}
|
|
109
|
+
instanceOf(typeOrTypeCheck) {
|
|
110
|
+
return HttpHeaders.instanceOf(this, typeOrTypeCheck);
|
|
111
|
+
}
|
|
112
|
+
first(condition) {
|
|
113
|
+
return HttpHeaders.first(this, condition);
|
|
114
|
+
}
|
|
115
|
+
last(condition) {
|
|
116
|
+
return HttpHeaders.last(this, condition);
|
|
117
|
+
}
|
|
118
|
+
[Symbol.iterator]() {
|
|
119
|
+
return HttpHeaders[Symbol.iterator](this);
|
|
120
|
+
}
|
|
121
|
+
contains(value, equalFunctions) {
|
|
122
|
+
return HttpHeaders.contains(this, value, equalFunctions);
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
//# sourceMappingURL=mutableHttpHeaders.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mutableHttpHeaders.js","sourceRoot":"","sources":["../../sources/mutableHttpHeaders.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAC7C,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAI/C,OAAO,EAAE,IAAI,EAAE,MAAM,WAAW,CAAC;AACjC,OAAO,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AACnD,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AACjD,OAAO,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AAC9C,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAE7C,OAAO,EAAE,QAAQ,EAAQ,MAAM,YAAY,CAAC;AAE5C,MAAM,OAAO,kBAAkB;IAEV,OAAO,CAAmB;IAE3C,YAAoB,OAAwC;QAExD,IAAI,CAAC,OAAO,GAAG,IAAI,CAAC,MAAM,EAAE,CAAC;QAC7B,IAAI,OAAO,EACX,CAAC;YACG,IAAI,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC;QACzB,CAAC;IACL,CAAC;IAEM,MAAM,CAAC,MAAM,CAAC,OAAwC;QAEzD,OAAO,IAAI,kBAAkB,CAAC,OAAO,CAAC,CAAC;IAC3C,CAAC;IAEM,OAAO;QAEV,OAAO,IAAI,CAAC,OAAO,CAAC,OAAO,EAAE,CAAC;IAClC,CAAC;IAEM,GAAG,CAAC,UAAkB;QAEzB,YAAY,CAAC,cAAc,CAAC,UAAU,EAAE,YAAY,CAAC,CAAC;QAEtD,OAAO,UAAU,CAAC,MAAM,CAAC,GAAG,EAAE;YAE1B,IAAI,MAA8B,CAAC;YAEnC,MAAM,eAAe,GAAW,UAAU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2
|
+
import { Iterable } from "./iterable.js";
|
|
3
|
+
import { Iterator } from "./iterator.js";
|
|
4
|
+
import { JavascriptIterable, JavascriptIterator } from "./javascript.js";
|
|
5
|
+
import { SyncResult } from "./syncResult.js";
|
|
6
|
+
import { ToStringFunctions } from "./toStringFunctions.js";
|
|
7
|
+
import { Type } from "./types.js";
|
|
8
|
+
import { Map, MapEntry } from "./map.js";
|
|
9
|
+
/**
|
|
10
|
+
* Get whether the provided value is {@link Map}.
|
|
11
|
+
* @param value The value to check.
|
|
12
|
+
*/
|
|
13
|
+
export declare function isMutableMap(value: unknown): value is MutableMap<unknown, unknown>;
|
|
14
|
+
/**
|
|
15
|
+
* A type that maps {@link TKey} values to {@link TValue} values.
|
|
16
|
+
*/
|
|
17
|
+
export declare abstract class MutableMap<TKey, TValue> implements Map<TKey, TValue> {
|
|
18
|
+
/**
|
|
19
|
+
* Create a new instance of the default {@link Map} implementation.
|
|
20
|
+
*/
|
|
21
|
+
static create<TKey, TValue>(): MutableMap<TKey, TValue>;
|
|
22
|
+
/**
|
|
23
|
+
* Iterate over the entries in this {@link MutableMap}.
|
|
24
|
+
*/
|
|
25
|
+
abstract iterate(): Iterator<MapEntry<TKey, TValue>>;
|
|
26
|
+
any(): SyncResult<boolean>;
|
|
27
|
+
static any<TKey, TValue>(map: MutableMap<TKey, TValue>): SyncResult<boolean>;
|
|
28
|
+
toArray(): SyncResult<MapEntry<TKey, TValue>[]>;
|
|
29
|
+
static toArray<TKey, TValue>(map: MutableMap<TKey, TValue>): SyncResult<MapEntry<TKey, TValue>[]>;
|
|
30
|
+
equals(right: Iterable<MapEntry<TKey, TValue>>, equalFunctions?: EqualFunctions): SyncResult<boolean>;
|
|
31
|
+
static equals<TKey, TValue>(left: MutableMap<TKey, TValue>, right: Iterable<MapEntry<TKey, TValue>>, equalFunctions?: EqualFunctions): SyncResult<boolean>;
|
|
32
|
+
/**
|
|
33
|
+
* Get the {@link String} representation of this {@link MutableMap}.
|
|
34
|
+
*/
|
|
35
|
+
toString(toStringFunctions?: ToStringFunctions): string;
|
|
36
|
+
/**
|
|
37
|
+
* Get the {@link String} representation of the provided {@link MutableMap}.
|
|
38
|
+
*/
|
|
39
|
+
static toString<TKey, TValue>(map: MutableMap<TKey, TValue>, toStringFunctions?: ToStringFunctions): string;
|
|
40
|
+
concatenate(...toConcatenate: JavascriptIterable<MapEntry<TKey, TValue>>[]): Iterable<MapEntry<TKey, TValue>>;
|
|
41
|
+
static concatenate<TKey, TValue>(map: MutableMap<TKey, TValue>, ...toConcatenate: JavascriptIterable<MapEntry<TKey, TValue>>[]): Iterable<MapEntry<TKey, TValue>>;
|
|
42
|
+
map<TOutput>(mapping: (value: MapEntry<TKey, TValue>) => (TOutput | SyncResult<TOutput>)): Iterable<TOutput>;
|
|
43
|
+
static map<TKey, TValue, TOutput>(map: MutableMap<TKey, TValue>, mapping: (value: MapEntry<TKey, TValue>) => (TOutput | SyncResult<TOutput>)): Iterable<TOutput>;
|
|
44
|
+
flatMap<TOutput>(mapping: (value: MapEntry<TKey, TValue>) => JavascriptIterable<TOutput>): Iterable<TOutput>;
|
|
45
|
+
static flatMap<TKey, TValue, TOutput>(map: MutableMap<TKey, TValue>, mapping: (value: MapEntry<TKey, TValue>) => JavascriptIterable<TOutput>): Iterable<TOutput>;
|
|
46
|
+
where(condition: (value: MapEntry<TKey, TValue>) => (boolean | SyncResult<boolean>)): Iterable<MapEntry<TKey, TValue>>;
|
|
47
|
+
static where<TKey, TValue>(map: MutableMap<TKey, TValue>, condition: (value: MapEntry<TKey, TValue>) => (boolean | SyncResult<boolean>)): Iterable<MapEntry<TKey, TValue>>;
|
|
48
|
+
instanceOf<T extends MapEntry<TKey, TValue>>(typeOrTypeCheck: Type<T> | ((value: MapEntry<TKey, TValue>) => value is T)): Iterable<T>;
|
|
49
|
+
static instanceOf<TKey, TValue, T extends MapEntry<TKey, TValue>>(map: MutableMap<TKey, TValue>, typeOrTypeCheck: Type<T> | ((value: MapEntry<TKey, TValue>) => value is T)): Iterable<T>;
|
|
50
|
+
[Symbol.iterator](): JavascriptIterator<MapEntry<TKey, TValue>>;
|
|
51
|
+
static [Symbol.iterator]<TKey, TValue>(map: MutableMap<TKey, TValue>): JavascriptIterator<MapEntry<TKey, TValue>>;
|
|
52
|
+
/**
|
|
53
|
+
* Get the number of entries in this {@link MutableMap}.
|
|
54
|
+
*/
|
|
55
|
+
getCount(): SyncResult<number>;
|
|
56
|
+
static getCount<TKey, TValue>(map: MutableMap<TKey, TValue>): SyncResult<number>;
|
|
57
|
+
first(condition?: (entry: MapEntry<TKey, TValue>) => (boolean | SyncResult<boolean>)): SyncResult<MapEntry<TKey, TValue>>;
|
|
58
|
+
static first<TKey, TValue>(map: MutableMap<TKey, TValue>, condition?: (entry: MapEntry<TKey, TValue>) => (boolean | SyncResult<boolean>)): SyncResult<MapEntry<TKey, TValue>>;
|
|
59
|
+
last(condition?: (entry: MapEntry<TKey, TValue>) => (boolean | SyncResult<boolean>)): SyncResult<MapEntry<TKey, TValue>>;
|
|
60
|
+
static last<TKey, TValue>(map: MutableMap<TKey, TValue>, condition?: (entry: MapEntry<TKey, TValue>) => (boolean | SyncResult<boolean>)): SyncResult<MapEntry<TKey, TValue>>;
|
|
61
|
+
/**
|
|
62
|
+
* Get whether this {@link MutableMap} contains the provided key.
|
|
63
|
+
* @param key The key to look for.
|
|
64
|
+
*/
|
|
65
|
+
abstract containsKey(key: TKey): SyncResult<boolean>;
|
|
66
|
+
/**
|
|
67
|
+
* Get the value associated with the provided key.
|
|
68
|
+
* @param key The key of the value to get.
|
|
69
|
+
*/
|
|
70
|
+
abstract get(key: TKey): SyncResult<TValue>;
|
|
71
|
+
/**
|
|
72
|
+
* Set the key/value association in this {@link MutableMap}.
|
|
73
|
+
* @param key The key associated with the value.
|
|
74
|
+
* @param value The value associated with the key.
|
|
75
|
+
*/
|
|
76
|
+
abstract set(key: TKey, value: TValue): this;
|
|
77
|
+
/**
|
|
78
|
+
* Get the {@link TValue} associated with the provided {@link TKey}. If the provided
|
|
79
|
+
* {@link TKey} doesn't exist in this {@link MutableMap}, then invoke the provided {@link valueCreator}
|
|
80
|
+
* and associate the returned {@link TValue} with the provided {@link TKey}. Then return the new
|
|
81
|
+
* {@link TValue}.
|
|
82
|
+
* @param key The {@link TKey} of the {@link TValue} to get.
|
|
83
|
+
* @param valueCreator The {@link Function} that will be invoked if the {@link TKey} doesn't
|
|
84
|
+
* exist in this {@link MutableMap}.
|
|
85
|
+
*/
|
|
86
|
+
getOrSet(key: TKey, valueCreator: () => (TValue | SyncResult<TValue>)): SyncResult<TValue>;
|
|
87
|
+
/**
|
|
88
|
+
* Get the {@link TValue} associated with the provided {@link TKey}. If the provided
|
|
89
|
+
* {@link TKey} doesn't exist in the {@link MutableMap}, then invoke the provided {@link valueCreator}
|
|
90
|
+
* and associate the returned {@link TValue} with the provided {@link TKey}. Then return the new
|
|
91
|
+
* {@link TValue}.
|
|
92
|
+
* @param key The {@link TKey} of the {@link TValue} to get.
|
|
93
|
+
* @param valueCreator The {@link Function} that will be invoked if the {@link TKey} doesn't
|
|
94
|
+
* exist in this {@link MutableMap}.
|
|
95
|
+
*/
|
|
96
|
+
static getOrSet<TKey, TValue>(map: MutableMap<TKey, TValue>, key: TKey, valueCreator: () => (TValue | SyncResult<TValue>)): SyncResult<TValue>;
|
|
97
|
+
/**
|
|
98
|
+
* Remove the provided {@link TKey} from this {@link MutableMap}. If the {@link TKey} doesn't exist in
|
|
99
|
+
* this {@link MutableMap}, then return a {@link NotFoundError}. If the {@link TKey} does exist, then
|
|
100
|
+
* return the {@link TValue} that was associated with it.
|
|
101
|
+
* @param key The {@link TKey} to remove from this {@link MutableMap}.
|
|
102
|
+
*/
|
|
103
|
+
abstract remove(key: TKey): SyncResult<TValue>;
|
|
104
|
+
/**
|
|
105
|
+
* Iterate over the keys in this {@link MutableMap}.
|
|
106
|
+
*/
|
|
107
|
+
iterateKeys(): Iterator<TKey>;
|
|
108
|
+
/**
|
|
109
|
+
* Iterate over the keys in the {@link MutableMap}.
|
|
110
|
+
* @param map The map to iterate over.
|
|
111
|
+
*/
|
|
112
|
+
static iterateKeys<TKey, TValue>(map: MutableMap<TKey, TValue>): Iterator<TKey>;
|
|
113
|
+
/**
|
|
114
|
+
* Iterate over the values in this {@link MutableMap}.
|
|
115
|
+
*/
|
|
116
|
+
iterateValues(): Iterator<TValue>;
|
|
117
|
+
/**
|
|
118
|
+
* Iterate over the keys in the {@link MutableMap}.
|
|
119
|
+
* @param map The map to iterate over.
|
|
120
|
+
*/
|
|
121
|
+
static iterateValues<TKey, TValue>(map: MutableMap<TKey, TValue>): Iterator<TValue>;
|
|
122
|
+
contains(value: MapEntry<TKey, TValue>, equalFunctions?: EqualFunctions): SyncResult<boolean>;
|
|
123
|
+
static contains<TKey, TValue>(map: MutableMap<TKey, TValue>, value: MapEntry<TKey, TValue>, equalFunctions?: EqualFunctions): SyncResult<boolean>;
|
|
124
|
+
}
|
|
125
|
+
//# sourceMappingURL=mutableMap.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mutableMap.d.ts","sourceRoot":"","sources":["../../sources/mutableMap.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AACrD,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AACzC,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AACzC,OAAO,EAAE,kBAAkB,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAC;AAIzE,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAC7C,OAAO,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAC3D,OAAO,EAAe,IAAI,EAAE,MAAM,YAAY,CAAC;AAC/C,OAAO,EAAS,GAAG,EAAE,QAAQ,EAAE,MAAM,UAAU,CAAC;AAEhD;;;GAGG;AACH,wBAAgB,YAAY,CAAC,KAAK,EAAE,OAAO,GAAG,KAAK,I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AC,IAAI,CAAC,CAGnC;IAED;;;OAGG;IACH,OAAc,WAAW,CAAC,IAAI,EAAE,MAAM,EAAE,GAAG,EAAE,UAAU,CAAC,IAAI,EAAE,MAAM,CAAC,GAAG,QAAQ,CAAC,IAAI,CAAC,CAGrF;IAED;;OAEG;IACI,aAAa,IAAI,QAAQ,CAAC,MAAM,CAAC,CAGvC;IAED;;;OAGG;IACH,OAAc,aAAa,CAAC,IAAI,EAAE,MAAM,EAAE,GAAG,EAAE,UAAU,CAAC,IAAI,EAAE,MAAM,CAAC,GAAG,QAAQ,CAAC,MAAM,CAAC,CAGzF;IAEM,QAAQ,CAAC,KAAK,EAAE,QAAQ,CAAC,IAAI,EAAC,MAAM,CAAC,EAAE,cAAc,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,OAAO,CAAC,CAGlG;IAED,OAAc,QAAQ,CAAC,IAAI,EAAC,MAAM,EAAE,GAAG,EAAE,UAAU,CAAC,IAAI,EAAC,MAAM,CAAC,EAAE,KAAK,EAAE,QAAQ,CAAC,IAAI,EAAC,MAAM,CAAC,EAAE,cAAc,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,OAAO,CAAC,CAGpJ;CACJ"}
|
|
@@ -0,0 +1,179 @@
|
|
|
1
|
+
import { JavascriptMapMap } from "./javascriptMapMap.js";
|
|
2
|
+
import { NotFoundError } from "./notFoundError.js";
|
|
3
|
+
import { PreCondition } from "./preCondition.js";
|
|
4
|
+
import { SyncResult } from "./syncResult.js";
|
|
5
|
+
import { hasFunction } from "./types.js";
|
|
6
|
+
import { isMap, Map } from "./map.js";
|
|
7
|
+
/**
|
|
8
|
+
* Get whether the provided value is {@link Map}.
|
|
9
|
+
* @param value The value to check.
|
|
10
|
+
*/
|
|
11
|
+
export function isMutableMap(value) {
|
|
12
|
+
return value instanceof MutableMap ||
|
|
13
|
+
(isMap(value) &&
|
|
14
|
+
hasFunction(value, "set", 2) &&
|
|
15
|
+
hasFunction(value, "getOrSet", 2));
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* A type that maps {@link TKey} values to {@link TValue} values.
|
|
19
|
+
*/
|
|
20
|
+
export class MutableMap {
|
|
21
|
+
/**
|
|
22
|
+
* Create a new instance of the default {@link Map} implementation.
|
|
23
|
+
*/
|
|
24
|
+
static create() {
|
|
25
|
+
return JavascriptMapMap.create();
|
|
26
|
+
}
|
|
27
|
+
any() {
|
|
28
|
+
return MutableMap.any(this);
|
|
29
|
+
}
|
|
30
|
+
static any(map) {
|
|
31
|
+
return Map.any(map);
|
|
32
|
+
}
|
|
33
|
+
toArray() {
|
|
34
|
+
return MutableMap.toArray(this);
|
|
35
|
+
}
|
|
36
|
+
static toArray(map) {
|
|
37
|
+
return Map.toArray(map);
|
|
38
|
+
}
|
|
39
|
+
equals(right, equalFunctions) {
|
|
40
|
+
return MutableMap.equals(this, right, equalFunctions);
|
|
41
|
+
}
|
|
42
|
+
static equals(left, right, equalFunctions) {
|
|
43
|
+
return Map.equals(left, right, equalFunctions);
|
|
44
|
+
}
|
|
45
|
+
/**
|
|
46
|
+
* Get the {@link String} representation of this {@link MutableMap}.
|
|
47
|
+
*/
|
|
48
|
+
toString(toStringFunctions) {
|
|
49
|
+
return MutableMap.toString(this, toStringFunctions);
|
|
50
|
+
}
|
|
51
|
+
/**
|
|
52
|
+
* Get the {@link String} representation of the provided {@link MutableMap}.
|
|
53
|
+
*/
|
|
54
|
+
static toString(map, toStringFunctions) {
|
|
55
|
+
return Map.toString(map, toStringFunctions);
|
|
56
|
+
}
|
|
57
|
+
concatenate(...toConcatenate) {
|
|
58
|
+
return MutableMap.concatenate(this, ...toConcatenate);
|
|
59
|
+
}
|
|
60
|
+
static concatenate(map, ...toConcatenate) {
|
|
61
|
+
return Map.concatenate(map, ...toConcatenate);
|
|
62
|
+
}
|
|
63
|
+
map(mapping) {
|
|
64
|
+
return MutableMap.map(this, mapping);
|
|
65
|
+
}
|
|
66
|
+
static map(map, mapping) {
|
|
67
|
+
return Map.map(map, mapping);
|
|
68
|
+
}
|
|
69
|
+
flatMap(mapping) {
|
|
70
|
+
return MutableMap.flatMap(this, mapping);
|
|
71
|
+
}
|
|
72
|
+
static flatMap(map, mapping) {
|
|
73
|
+
return Map.flatMap(map, mapping);
|
|
74
|
+
}
|
|
75
|
+
where(condition) {
|
|
76
|
+
return MutableMap.where(this, condition);
|
|
77
|
+
}
|
|
78
|
+
static where(map, condition) {
|
|
79
|
+
return Map.where(map, condition);
|
|
80
|
+
}
|
|
81
|
+
instanceOf(typeOrTypeCheck) {
|
|
82
|
+
return MutableMap.instanceOf(this, typeOrTypeCheck);
|
|
83
|
+
}
|
|
84
|
+
static instanceOf(map, typeOrTypeCheck) {
|
|
85
|
+
return Map.instanceOf(map, typeOrTypeCheck);
|
|
86
|
+
}
|
|
87
|
+
[Symbol.iterator]() {
|
|
88
|
+
return MutableMap[Symbol.iterator](this);
|
|
89
|
+
}
|
|
90
|
+
static [Symbol.iterator](map) {
|
|
91
|
+
return Map[Symbol.iterator](map);
|
|
92
|
+
}
|
|
93
|
+
/**
|
|
94
|
+
* Get the number of entries in this {@link MutableMap}.
|
|
95
|
+
*/
|
|
96
|
+
getCount() {
|
|
97
|
+
return MutableMap.getCount(this);
|
|
98
|
+
}
|
|
99
|
+
static getCount(map) {
|
|
100
|
+
return Map.getCount(map);
|
|
101
|
+
}
|
|
102
|
+
first(condition) {
|
|
103
|
+
return MutableMap.first(this, condition);
|
|
104
|
+
}
|
|
105
|
+
static first(map, condition) {
|
|
106
|
+
return Map.first(map, condition);
|
|
107
|
+
}
|
|
108
|
+
last(condition) {
|
|
109
|
+
return MutableMap.last(this, condition);
|
|
110
|
+
}
|
|
111
|
+
static last(map, condition) {
|
|
112
|
+
return Map.last(map, condition);
|
|
113
|
+
}
|
|
114
|
+
/**
|
|
115
|
+
* Get the {@link TValue} associated with the provided {@link TKey}. If the provided
|
|
116
|
+
* {@link TKey} doesn't exist in this {@link MutableMap}, then invoke the provided {@link valueCreator}
|
|
117
|
+
* and associate the returned {@link TValue} with the provided {@link TKey}. Then return the new
|
|
118
|
+
* {@link TValue}.
|
|
119
|
+
* @param key The {@link TKey} of the {@link TValue} to get.
|
|
120
|
+
* @param valueCreator The {@link Function} that will be invoked if the {@link TKey} doesn't
|
|
121
|
+
* exist in this {@link MutableMap}.
|
|
122
|
+
*/
|
|
123
|
+
getOrSet(key, valueCreator) {
|
|
124
|
+
return MutableMap.getOrSet(this, key, valueCreator);
|
|
125
|
+
}
|
|
126
|
+
/**
|
|
127
|
+
* Get the {@link TValue} associated with the provided {@link TKey}. If the provided
|
|
128
|
+
* {@link TKey} doesn't exist in the {@link MutableMap}, then invoke the provided {@link valueCreator}
|
|
129
|
+
* and associate the returned {@link TValue} with the provided {@link TKey}. Then return the new
|
|
130
|
+
* {@link TValue}.
|
|
131
|
+
* @param key The {@link TKey} of the {@link TValue} to get.
|
|
132
|
+
* @param valueCreator The {@link Function} that will be invoked if the {@link TKey} doesn't
|
|
133
|
+
* exist in this {@link MutableMap}.
|
|
134
|
+
*/
|
|
135
|
+
static getOrSet(map, key, valueCreator) {
|
|
136
|
+
PreCondition.assertNotUndefinedAndNotNull(map, "map");
|
|
137
|
+
PreCondition.assertNotUndefinedAndNotNull(valueCreator, "valueCreator");
|
|
138
|
+
return map.get(key)
|
|
139
|
+
.catch(NotFoundError, () => {
|
|
140
|
+
const creatorResult = valueCreator();
|
|
141
|
+
const value = creatorResult instanceof SyncResult ? creatorResult.await() : creatorResult;
|
|
142
|
+
map.set(key, value);
|
|
143
|
+
return value;
|
|
144
|
+
});
|
|
145
|
+
}
|
|
146
|
+
/**
|
|
147
|
+
* Iterate over the keys in this {@link MutableMap}.
|
|
148
|
+
*/
|
|
149
|
+
iterateKeys() {
|
|
150
|
+
return MutableMap.iterateKeys(this);
|
|
151
|
+
}
|
|
152
|
+
/**
|
|
153
|
+
* Iterate over the keys in the {@link MutableMap}.
|
|
154
|
+
* @param map The map to iterate over.
|
|
155
|
+
*/
|
|
156
|
+
static iterateKeys(map) {
|
|
157
|
+
return Map.iterateKeys(map);
|
|
158
|
+
}
|
|
159
|
+
/**
|
|
160
|
+
* Iterate over the values in this {@link MutableMap}.
|
|
161
|
+
*/
|
|
162
|
+
iterateValues() {
|
|
163
|
+
return MutableMap.iterateValues(this);
|
|
164
|
+
}
|
|
165
|
+
/**
|
|
166
|
+
* Iterate over the keys in the {@link MutableMap}.
|
|
167
|
+
* @param map The map to iterate over.
|
|
168
|
+
*/
|
|
169
|
+
static iterateValues(map) {
|
|
170
|
+
return Map.iterateValues(map);
|
|
171
|
+
}
|
|
172
|
+
contains(value, equalFunctions) {
|
|
173
|
+
return MutableMap.contains(this, value, equalFunctions);
|
|
174
|
+
}
|
|
175
|
+
static contains(map, value, equalFunctions) {
|
|
176
|
+
return Map.contains(map, value, equalFunctions);
|
|
177
|
+
}
|
|
178
|
+
}
|
|
179
|
+
//# sourceMappingURL=mutableMap.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mutableMap.js","sourceRoot":"","sources":["../../sources/mutableMap.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AACzD,OAAO,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AACnD,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AACjD,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAE7C,OAAO,EAAE,WAAW,EAAQ,MAAM,YAAY,CAAC;AAC/C,OAAO,EAAE,KAAK,EAAE,GAAG,EAAY,MAAM,UAAU,CAAC;AAEhD;;;GAGG;AACH,MAAM,UAAU,YAAY,CAAC,KAAc;IAEvC,OAAO,KAAK,YAAY,UAAU;QAC9B,CACI,KAAK,CAAC,KAAK,CAAC;YACZ,WAAW,CAAC,KAAK,EAAE,KAAK,EAAE,CAAC,CAAC;YAC5B,WAAW,CAAC,KAAK,EAAE,UAAU,EAAE,CAAC,CAAC,CACpC,CAAC;AACV,CAA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E,MAAM,KAAK,GAAW,aAAa,YAAY,UAAU,CAAC,CAAC,CAAC,aAAa,CAAC,KAAK,EAAE,CAAC,CAAC,CAAC,aAAa,CAAC;YAClG,GAAG,CAAC,GAAG,CAAC,GAAG,EAAE,KAAK,CAAC,CAAC;YACpB,OAAO,KAAK,CAAC;QACjB,CAAC,CAAC,CAAC;IACX,CAAC;IAUD;;OAEG;IACI,WAAW;QAEd,OAAO,UAAU,CAAC,WAAW,CAAC,IAAI,CAAC,CAAC;IACxC,CAAC;IAED;;;OAGG;IACI,MAAM,CAAC,WAAW,CAAe,GAA6B;QAEjE,OAAO,GAAG,CAAC,WAAW,CAAC,GAAG,CAAC,CAAC;IAChC,CAAC;IAED;;OAEG;IACI,aAAa;QAEhB,OAAO,UAAU,CAAC,aAAa,CAAC,IAAI,CAAC,CAAC;IAC1C,CAAC;IAED;;;OAGG;IACI,MAAM,CAAC,aAAa,CAAe,GAA6B;QAEnE,OAAO,GAAG,CAAC,aAAa,CAAC,GAAG,CAAC,CAAC;IAClC,CAAC;IAEM,QAAQ,CAAC,KAA4B,EAAE,cAA+B;QAEzE,OAAO,UAAU,CAAC,QAAQ,CAAC,IAAI,EAAE,KAAK,EAAE,cAAc,CAAC,CAAC;IAC5D,CAAC;IAEM,MAAM,CAAC,QAAQ,CAAc,GAA4B,EAAE,KAA4B,EAAE,cAA+B;QAE3H,OAAO,GAAG,CAAC,QAAQ,CAAC,GAAG,EAAE,KAAK,EAAE,cAAc,CAAC,CAAC;IACpD,CAAC;CACJ"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { HttpClient } from "./httpClient.js";
|
|
2
|
+
import { HttpServer } from "./httpServer.js";
|
|
3
|
+
/**
|
|
4
|
+
* An object that provides access to the network.
|
|
5
|
+
*/
|
|
6
|
+
export declare abstract class Network {
|
|
7
|
+
/**
|
|
8
|
+
* Create a new {@link HttpServer} that is connected to this {@link Network}.
|
|
9
|
+
*/
|
|
10
|
+
abstract createHttpServer(): HttpServer;
|
|
11
|
+
/**
|
|
12
|
+
* Create a new {@link HttpClient} that is connected to this {@link Network}.
|
|
13
|
+
*/
|
|
14
|
+
abstract createHttpClient(): HttpClient;
|
|
15
|
+
}
|
|
16
|
+
//# sourceMappingURL=network.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"network.d.ts","sourceRoot":"","sources":["../../sources/network.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAC7C,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAE7C;;GAEG;AACH,8BAAsB,OAAO;IAEzB;;OAEG;IACH,SAAgB,gBAAgB,IAAI,UAAU,CAAC;IAE/C;;OAEG;IACH,SAAgB,gBAAgB,IAAI,UAAU,CAAC;CAClD"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"network.js","sourceRoot":"","sources":["../../sources/network.ts"],"names":[],"mappings":"AAGA;;GAEG;AACH,MAAM,OAAgB,OAAO;CAW5B"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Iterator } from "./iterator.js";
|
|
2
|
+
export declare class Node<T> {
|
|
3
|
+
private readonly value;
|
|
4
|
+
private connectedNodes;
|
|
5
|
+
private constructor();
|
|
6
|
+
static create<T>(value: T): Node<T>;
|
|
7
|
+
getValue(): T;
|
|
8
|
+
iterateConnectedNodes(): Iterator<Node<T>>;
|
|
9
|
+
addConnectedNode(node: Node<T>): void;
|
|
10
|
+
}
|
|
11
|
+
//# sourceMappingURL=node.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"node.d.ts","sourceRoot":"","sources":["../../sources/node.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AAIzC,qBAAa,IAAI,CAAC,CAAC;IAEf,OAAO,CAAC,QAAQ,CAAC,KAAK,CAAI;IAC1B,OAAO,CAAC,cAAc,CAAe;IAErC,OAAO,eAIN;IAED,OAAc,MAAM,CAAC,CAAC,EAAE,KAAK,EAAE,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,CAGzC;IAEM,QAAQ,IAAI,CAAC,CAGnB;IAEM,qBAAqB,IAAI,QAAQ,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAGhD;IAEM,gBAAgB,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC,CAAC,GAAG,IAAI,CAK3C;CACJ"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { PreCondition } from "./preCondition.js";
|
|
2
|
+
import { Set } from "./set.js";
|
|
3
|
+
export class Node {
|
|
4
|
+
value;
|
|
5
|
+
connectedNodes;
|
|
6
|
+
constructor(value) {
|
|
7
|
+
this.value = value;
|
|
8
|
+
this.connectedNodes = Set.create();
|
|
9
|
+
}
|
|
10
|
+
static create(value) {
|
|
11
|
+
return new Node(value);
|
|
12
|
+
}
|
|
13
|
+
getValue() {
|
|
14
|
+
return this.value;
|
|
15
|
+
}
|
|
16
|
+
iterateConnectedNodes() {
|
|
17
|
+
return this.connectedNodes.iterate();
|
|
18
|
+
}
|
|
19
|
+
addConnectedNode(node) {
|
|
20
|
+
PreCondition.assertNotUndefinedAndNotNull(node, "node");
|
|
21
|
+
this.connectedNodes.add(node);
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
//# sourceMappingURL=node.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"node.js","sourceRoot":"","sources":["../../sources/node.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AACjD,OAAO,EAAE,GAAG,EAAE,MAAM,UAAU,CAAC;AAE/B,MAAM,OAAO,IAAI;IAEI,KAAK,CAAI;IAClB,cAAc,CAAe;IAErC,YAAoB,KAAQ;QAExB,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;QACnB,IAAI,CAAC,cAAc,GAAG,GAAG,CAAC,MAAM,EAAE,CAAC;IACvC,CAAC;IAEM,MAAM,CAAC,MAAM,CAAI,KAAQ;QAE5B,OAAO,IAAI,IAAI,CAAI,KAAK,CAAC,CAAC;IAC9B,CAAC;IAEM,QAAQ;QAEX,OAAO,IAAI,CAAC,KAAK,CAAC;IACtB,CAAC;IAEM,qBAAqB;QAExB,OAAO,IAAI,CAAC,cAAc,CAAC,OAAO,EAAE,CAAC;IACzC,CAAC;IAEM,gBAAgB,CAAC,IAAa;QAEjC,YAAY,CAAC,4BAA4B,CAAC,IAAI,EAAE,MAAM,CAAC,CAAC;QAExD,IAAI,CAAC,cAAc,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC;IAClC,CAAC;CACJ"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { PromiseAsyncResult } from "./promiseAsyncResult.js";
|
|
2
|
+
import { CharacterWriteStream } from "./characterWriteStream.js";
|
|
3
|
+
export declare class NodeJSCharacterWriteStream extends CharacterWriteStream {
|
|
4
|
+
private readonly nodeJSWriteStream;
|
|
5
|
+
private constructor();
|
|
6
|
+
static create(nodeJSWriteStream: NodeJS.WriteStream): NodeJSCharacterWriteStream;
|
|
7
|
+
writeString(text: string): PromiseAsyncResult<number>;
|
|
8
|
+
}
|
|
9
|
+
//# sourceMappingURL=nodeJSCharacterWriteStream.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"nodeJSCharacterWriteStream.d.ts","sourceRoot":"","sources":["../../sources/nodeJSCharacterWriteStream.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAC7D,OAAO,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAC;AAGjE,qBAAa,0BAA2B,SAAQ,oBAAoB;IAEhE,OAAO,CAAC,QAAQ,CAAC,iBAAiB,CAAqB;IAEvD,OAAO,eAON;IAED,OAAc,MAAM,CAAC,iBAAiB,EAAE,MAAM,CAAC,WAAW,GAAG,0BAA0B,CAGtF;IAEM,WAAW,CAAC,IAAI,EAAE,MAAM,GAAG,kBAAkB,CAAC,MAAM,CAAC,CAkB3D;CACJ"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { PromiseAsyncResult } from "./promiseAsyncResult.js";
|
|
2
|
+
import { CharacterWriteStream } from "./characterWriteStream.js";
|
|
3
|
+
import { PreCondition } from "./preCondition.js";
|
|
4
|
+
export class NodeJSCharacterWriteStream extends CharacterWriteStream {
|
|
5
|
+
nodeJSWriteStream;
|
|
6
|
+
constructor(nodeJSWriteStream) {
|
|
7
|
+
PreCondition.assertNotUndefinedAndNotNull(nodeJSWriteStream, "nodeJSWriteStream");
|
|
8
|
+
super();
|
|
9
|
+
this.nodeJSWriteStream = nodeJSWriteStream;
|
|
10
|
+
}
|
|
11
|
+
static create(nodeJSWriteStream) {
|
|
12
|
+
return new NodeJSCharacterWriteStream(nodeJSWriteStream);
|
|
13
|
+
}
|
|
14
|
+
writeString(text) {
|
|
15
|
+
PreCondition.assertNotUndefinedAndNotNull(text, "text");
|
|
16
|
+
return PromiseAsyncResult.create(new Promise((resolve, reject) => {
|
|
17
|
+
this.nodeJSWriteStream.write(text, (error) => {
|
|
18
|
+
if (error) {
|
|
19
|
+
reject(error);
|
|
20
|
+
}
|
|
21
|
+
else {
|
|
22
|
+
resolve(text.length);
|
|
23
|
+
}
|
|
24
|
+
});
|
|
25
|
+
}));
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
//# sourceMappingURL=nodeJSCharacterWriteStream.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"nodeJSCharacterWriteStream.js","sourceRoot":"","sources":["../../sources/nodeJSCharacterWriteStream.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAC7D,OAAO,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAC;AACjE,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAEjD,MAAM,OAAO,0BAA2B,SAAQ,oBAAoB;IAE/C,iBAAiB,CAAqB;IAEvD,YAAoB,iBAAqC;QAErD,YAAY,CAAC,4BAA4B,CAAC,iBAAiB,EAAE,mBAAmB,CAAC,CAAC;QAElF,KAAK,EAAE,CAAC;QAER,IAAI,CAAC,iBAAiB,GAAG,iBAAiB,CAAC;IAC/C,CAAC;IAEM,MAAM,CAAC,MAAM,CAAC,iBAAqC;QAEtD,OAAO,IAAI,0BAA0B,CAAC,iBAAiB,CAAC,CAAC;IAC7D,CAAC;IAEM,WAAW,CAAC,IAAY;QAE3B,YAAY,CAAC,4BAA4B,CAAC,IAAI,EAAE,MAAM,CAAC,CAAC;QAExD,OAAO,kBAAkB,CAAC,MAAM,CAAC,IAAI,OAAO,CAAS,CAAC,OAAO,EAAE,MAAM,EAAE,EAAE;YAErE,IAAI,CAAC,iBAAiB,CAAC,KAAK,CAAC,IAAI,EAAE,CAAC,KAAoB,EAAE,EAAE;gBAExD,IAAI,KAAK,EACT,CAAC;oBACG,MAAM,CAAC,KAAK,CAAC,CAAC;gBAClB,CAAC;qBAED,CAAC;oBACG,OAAO,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;gBACzB,CAAC;YACL,CAAC,CAAC,CAAC;QACP,CAAC,CAAC,CAAC,CAAC;IACR,CAAC;CACJ"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { HttpIncomingRequest } from "./httpIncomingRequest.js";
|
|
2
|
+
import * as http from "http";
|
|
3
|
+
import { HttpHeader } from "./httpHeader.js";
|
|
4
|
+
import { HttpHeaders } from "./httpHeaders.js";
|
|
5
|
+
import { HttpMethod } from "./httpMethod.js";
|
|
6
|
+
import { SyncResult } from "./syncResult.js";
|
|
7
|
+
export declare class NodeJSHttpIncomingRequest extends HttpIncomingRequest {
|
|
8
|
+
private readonly request;
|
|
9
|
+
private constructor();
|
|
10
|
+
static create(request: http.IncomingMessage): NodeJSHttpIncomingRequest;
|
|
11
|
+
getMethod(): HttpMethod;
|
|
12
|
+
getHost(): SyncResult<string>;
|
|
13
|
+
getURLPath(): string;
|
|
14
|
+
private static toHttpHeader;
|
|
15
|
+
private static toHttpHeaderValue;
|
|
16
|
+
getHeaders(): SyncResult<HttpHeaders>;
|
|
17
|
+
getHeader(headerName: string): SyncResult<HttpHeader>;
|
|
18
|
+
getHeaderValue(headerName: string): SyncResult<string>;
|
|
19
|
+
getBody(): SyncResult<string>;
|
|
20
|
+
}
|
|
21
|
+
//# sourceMappingURL=nodeJSHttpIncomingRequest.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"nodeJSHttpIncomingRequest.d.ts","sourceRoot":"","sources":["../../sources/nodeJSHttpIncomingRequest.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAC;AAC/D,OAAO,KAAK,IAAI,MAAM,MAAM,CAAC;AAE7B,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAC7C,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAC/C,OAAO,EAAE,UAAU,EAAmB,MAAM,iBAAiB,CAAC;AAI9D,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAG7C,qBAAa,yBAA0B,SAAQ,mBAAmB;IAE9D,OAAO,CAAC,QAAQ,CAAC,OAAO,CAAuB;IAE/C,OAAO,eAON;IAED,OAAc,MAAM,CAAC,OAAO,EAAE,IAAI,CAAC,eAAe,GAAG,yBAAyB,CAG7E;IAEM,SAAS,IAAI,UAAU,CAG7B;IAEM,OAAO,IAAI,UAAU,CAAC,MAAM,CAAC,CAGnC;IAEM,UAAU,IAAI,MAAM,CAI1B;IAED,OAAO,CAAC,MAAM,CAAC,YAAY;IAO3B,OAAO,CAAC,MAAM,CAAC,iBAAiB;IAczB,UAAU,IAAI,UAAU,CAAC,WAAW,CAAC,CAG3C;IAEM,SAAS,CAAC,UAAU,EAAE,MAAM,GAAG,UAAU,CAAC,UAAU,CAAC,CAwB3D;IAEM,cAAc,CAAC,UAAU,EAAE,MAAM,GAAG,UAAU,CAAC,MAAM,CAAC,CAwB5D;IAEM,OAAO,IAAI,UAAU,CAAC,MAAM,CAAC,CAMnC;CACJ"}
|