nodecommons-esm-http 0.0.7 → 0.0.8
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/dist/index.d.mts +12 -12
- package/dist/index.mjs +6 -6
- package/dist/index.mjs.map +1 -1
- package/package.json +4 -4
package/dist/index.d.mts
CHANGED
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
import { ECommonsStrictParamPlurality } from './enums/ecommons-strict-param-plurality.mjs';
|
|
2
|
-
import { ECommonsStrictParamType, toECommonsStrictParamType, fromECommonsStrictParamType } from './enums/ecommons-strict-param-type.mjs';
|
|
3
1
|
import { commonsDnsResolveDomain4, commonsDnsResolveDomain6, commonsDnsResolveReverse } from './helpers/commons-dns.mjs';
|
|
4
|
-
import { commonsHttpEncodedObjectToQueryInput, commonsHttpAppendEncodedObjectParams } from './helpers/commons-http-query-string.mjs';
|
|
5
2
|
import { commonsNginxProxyPath } from './helpers/commons-nginx-proxy-path.mjs';
|
|
6
|
-
import {
|
|
7
|
-
import { commonsHttpNoCache, commonsHttpCache, commonsHttpUseCacheIfUnchanged, commonsHttpSetLastModified } from './helpers/commons-http-response.mjs';
|
|
3
|
+
import { commonsHttpEncodedObjectToQueryInput, commonsHttpAppendEncodedObjectParams } from './helpers/commons-http-query-string.mjs';
|
|
8
4
|
import { commonsSslGetCertificate } from './helpers/commons-ssl.mjs';
|
|
9
5
|
import { COMMONS_HTTP_STRICT_PARAM_TYPE_REGEX, commonsRemoveStrictsFromPathDefinition, commonsBuildStrictsFromPathDefinition, commonsValueToStrictParamResult, commonsExtractStrictParamsFromUrlPath } from './helpers/commons-strict-params.mjs';
|
|
10
|
-
import {
|
|
6
|
+
import { commonsHttpNoCache, commonsHttpCache, commonsHttpUseCacheIfUnchanged, commonsHttpSetLastModified } from './helpers/commons-http-response.mjs';
|
|
7
|
+
import { commonsHttpReadUrlAsBuffer, commonsHttpReadUrlAsString, commonsHttpReadUrlAsJsonWithoutNulls } from './helpers/commons-url.mjs';
|
|
8
|
+
import { CommonsInternalHttpClientImplementation } from './classes/commons-internal-http-client-implementation.mjs';
|
|
9
|
+
import { CommonsStreamableHttpClientImplementation } from './classes/commons-streamable-http-client-implementation.mjs';
|
|
10
|
+
import { ECommonsStrictParamPlurality } from './enums/ecommons-strict-param-plurality.mjs';
|
|
11
|
+
import { ECommonsStrictParamType, toECommonsStrictParamType, fromECommonsStrictParamType } from './enums/ecommons-strict-param-type.mjs';
|
|
11
12
|
import { TCommonsHttpRequest } from './types/tcommons-http-request.mjs';
|
|
12
13
|
import { TCommonsHttpStrictParam } from './types/tcommons-strict-param.mjs';
|
|
14
|
+
import { TCommonsHttpHandler } from './types/tcommons-http-handler.mjs';
|
|
13
15
|
import { TCommonsStrictParamPropertyObject } from './types/tcommons-strict-param-property-object.mjs';
|
|
16
|
+
import { TCommonsHttpResponse } from './types/tcommons-http-response.mjs';
|
|
14
17
|
import { TCommonsStrictParamResult } from './types/tcommons-strict-param-result.mjs';
|
|
15
|
-
import { TCommonsHttpHandler } from './types/tcommons-http-handler.mjs';
|
|
16
|
-
import { CommonsInternalHttpClientImplementation } from './classes/commons-internal-http-client-implementation.mjs';
|
|
17
|
-
import { CommonsStreamableHttpClientImplementation } from './classes/commons-streamable-http-client-implementation.mjs';
|
|
18
|
-
import { ICommonsStrictParamsRequest } from './interfaces/icommons-strict-params-request.mjs';
|
|
19
|
-
import { ICommonsRequestWithGetMethodTypecast, ICommonsRequestWithBodyTypecast, ICommonsRequestWithQueryTypecast } from './interfaces/hacks.mjs';
|
|
20
18
|
import { CommonsStrictHttpServer } from './interfaces/commons-http-server.mjs';
|
|
21
19
|
import { ICommonsHttpConfig, isICommonsHttpConfig } from './interfaces/icommons-http-config.mjs';
|
|
22
|
-
|
|
20
|
+
import { ICommonsRequestWithGetMethodTypecast, ICommonsRequestWithBodyTypecast, ICommonsRequestWithQueryTypecast } from './interfaces/hacks.mjs';
|
|
21
|
+
import { ICommonsStrictParamsRequest } from './interfaces/icommons-strict-params-request.mjs';
|
|
22
|
+
export { commonsDnsResolveDomain4, commonsDnsResolveDomain6, commonsDnsResolveReverse, commonsNginxProxyPath, commonsHttpEncodedObjectToQueryInput, commonsHttpAppendEncodedObjectParams, commonsSslGetCertificate, COMMONS_HTTP_STRICT_PARAM_TYPE_REGEX, commonsRemoveStrictsFromPathDefinition, commonsBuildStrictsFromPathDefinition, commonsValueToStrictParamResult, commonsExtractStrictParamsFromUrlPath, commonsHttpNoCache, commonsHttpCache, commonsHttpUseCacheIfUnchanged, commonsHttpSetLastModified, commonsHttpReadUrlAsBuffer, commonsHttpReadUrlAsString, commonsHttpReadUrlAsJsonWithoutNulls, CommonsInternalHttpClientImplementation, CommonsStreamableHttpClientImplementation, ECommonsStrictParamPlurality, ECommonsStrictParamType, toECommonsStrictParamType, fromECommonsStrictParamType, TCommonsHttpRequest, TCommonsHttpStrictParam, TCommonsHttpHandler, TCommonsStrictParamPropertyObject, TCommonsHttpResponse, TCommonsStrictParamResult, CommonsStrictHttpServer, ICommonsHttpConfig, isICommonsHttpConfig, ICommonsRequestWithGetMethodTypecast, ICommonsRequestWithBodyTypecast, ICommonsRequestWithQueryTypecast, ICommonsStrictParamsRequest };
|
package/dist/index.mjs
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { ECommonsStrictParamPlurality } from './enums/ecommons-strict-param-plurality.mjs';
|
|
2
|
-
import { ECommonsStrictParamType, toECommonsStrictParamType, fromECommonsStrictParamType } from './enums/ecommons-strict-param-type.mjs';
|
|
3
1
|
import { commonsDnsResolveDomain4, commonsDnsResolveDomain6, commonsDnsResolveReverse } from './helpers/commons-dns.mjs';
|
|
4
|
-
import { commonsHttpEncodedObjectToQueryInput, commonsHttpAppendEncodedObjectParams } from './helpers/commons-http-query-string.mjs';
|
|
5
2
|
import { commonsNginxProxyPath } from './helpers/commons-nginx-proxy-path.mjs';
|
|
6
|
-
import {
|
|
7
|
-
import { commonsHttpNoCache, commonsHttpCache, commonsHttpUseCacheIfUnchanged, commonsHttpSetLastModified } from './helpers/commons-http-response.mjs';
|
|
3
|
+
import { commonsHttpEncodedObjectToQueryInput, commonsHttpAppendEncodedObjectParams } from './helpers/commons-http-query-string.mjs';
|
|
8
4
|
import { commonsSslGetCertificate } from './helpers/commons-ssl.mjs';
|
|
9
5
|
import { COMMONS_HTTP_STRICT_PARAM_TYPE_REGEX, commonsRemoveStrictsFromPathDefinition, commonsBuildStrictsFromPathDefinition, commonsValueToStrictParamResult, commonsExtractStrictParamsFromUrlPath } from './helpers/commons-strict-params.mjs';
|
|
6
|
+
import { commonsHttpNoCache, commonsHttpCache, commonsHttpUseCacheIfUnchanged, commonsHttpSetLastModified } from './helpers/commons-http-response.mjs';
|
|
7
|
+
import { commonsHttpReadUrlAsBuffer, commonsHttpReadUrlAsString, commonsHttpReadUrlAsJsonWithoutNulls } from './helpers/commons-url.mjs';
|
|
10
8
|
import { CommonsInternalHttpClientImplementation } from './classes/commons-internal-http-client-implementation.mjs';
|
|
11
9
|
import { CommonsStreamableHttpClientImplementation } from './classes/commons-streamable-http-client-implementation.mjs';
|
|
10
|
+
import { ECommonsStrictParamPlurality } from './enums/ecommons-strict-param-plurality.mjs';
|
|
11
|
+
import { ECommonsStrictParamType, toECommonsStrictParamType, fromECommonsStrictParamType } from './enums/ecommons-strict-param-type.mjs';
|
|
12
12
|
import { isICommonsHttpConfig } from './interfaces/icommons-http-config.mjs';
|
|
13
|
-
export {
|
|
13
|
+
export { commonsDnsResolveDomain4, commonsDnsResolveDomain6, commonsDnsResolveReverse, commonsNginxProxyPath, commonsHttpEncodedObjectToQueryInput, commonsHttpAppendEncodedObjectParams, commonsSslGetCertificate, COMMONS_HTTP_STRICT_PARAM_TYPE_REGEX, commonsRemoveStrictsFromPathDefinition, commonsBuildStrictsFromPathDefinition, commonsValueToStrictParamResult, commonsExtractStrictParamsFromUrlPath, commonsHttpNoCache, commonsHttpCache, commonsHttpUseCacheIfUnchanged, commonsHttpSetLastModified, commonsHttpReadUrlAsBuffer, commonsHttpReadUrlAsString, commonsHttpReadUrlAsJsonWithoutNulls, CommonsInternalHttpClientImplementation, CommonsStreamableHttpClientImplementation, ECommonsStrictParamPlurality, ECommonsStrictParamType, toECommonsStrictParamType, fromECommonsStrictParamType, isICommonsHttpConfig };
|
|
14
14
|
//# sourceMappingURL=index.mjs.map
|
package/dist/index.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../src/index.mts"],"names":[],"mappings":"AAAA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../src/index.mts"],"names":[],"mappings":"AAAA,OAAO,EAAE,wBAAwB,EAAE,wBAAwB,EAAE,wBAAwB,EAAE,MAAM,2BAA2B,CAAC;AACzH,OAAO,EAAE,qBAAqB,EAAE,MAAM,wCAAwC,CAAC;AAC/E,OAAO,EAAE,oCAAoC,EAAE,oCAAoC,EAAE,MAAM,yCAAyC,CAAC;AACrI,OAAO,EAAE,wBAAwB,EAAE,MAAM,2BAA2B,CAAC;AACrE,OAAO,EACL,oCAAoC,EACpC,sCAAsC,EACtC,qCAAqC,EACrC,+BAA+B,EAC/B,qCAAqC,EACtC,MAAM,qCAAqC,CAAC;AAC7C,OAAO,EACL,kBAAkB,EAClB,gBAAgB,EAChB,8BAA8B,EAC9B,0BAA0B,EAC3B,MAAM,qCAAqC,CAAC;AAC7C,OAAO,EAAE,0BAA0B,EAAE,0BAA0B,EAAE,oCAAoC,EAAE,MAAM,2BAA2B,CAAC;AACzI,OAAO,EAAE,uCAAuC,EAAE,MAAM,2DAA2D,CAAC;AACpH,OAAO,EAAE,yCAAyC,EAAE,MAAM,6DAA6D,CAAC;AACxH,OAAO,EAAE,4BAA4B,EAAE,MAAM,6CAA6C,CAAC;AAC3F,OAAO,EAAE,uBAAuB,EAAE,yBAAyB,EAAE,2BAA2B,EAAE,MAAM,wCAAwC,CAAC;AAQzI,OAAO,EAAsB,oBAAoB,EAAE,MAAM,uCAAuC,CAAC;AAGjG,OAAO,EACN,wBAAwB,EACxB,wBAAwB,EACxB,wBAAwB,EACxB,qBAAqB,EACrB,oCAAoC,EACpC,oCAAoC,EACpC,wBAAwB,EACxB,oCAAoC,EACpC,sCAAsC,EACtC,qCAAqC,EACrC,+BAA+B,EAC/B,qCAAqC,EACrC,kBAAkB,EAClB,gBAAgB,EAChB,8BAA8B,EAC9B,0BAA0B,EAC1B,0BAA0B,EAC1B,0BAA0B,EAC1B,oCAAoC,EACpC,uCAAuC,EACvC,yCAAyC,EACzC,4BAA4B,EAC5B,uBAAuB,EACvB,yBAAyB,EACzB,2BAA2B,EAS3B,oBAAoB,EAKpB,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "nodecommons-esm-http",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.8",
|
|
4
4
|
"description": "",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"tsc": "./node_modules/typescript/bin/tsc",
|
|
@@ -28,8 +28,8 @@
|
|
|
28
28
|
"dependencies": {
|
|
29
29
|
"form-urlencoded": "^6.1.5",
|
|
30
30
|
"rxjs": "^7.8.1",
|
|
31
|
-
"tscommons-esm-async": "^0.0.
|
|
32
|
-
"tscommons-esm-core": "^0.0.
|
|
33
|
-
"tscommons-esm-http": "^0.0.
|
|
31
|
+
"tscommons-esm-async": "^0.0.9",
|
|
32
|
+
"tscommons-esm-core": "^0.0.5",
|
|
33
|
+
"tscommons-esm-http": "^0.0.6"
|
|
34
34
|
}
|
|
35
35
|
}
|