nodecommons-esm-http 0.0.6 → 0.0.7

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 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';
1
3
  import { commonsDnsResolveDomain4, commonsDnsResolveDomain6, commonsDnsResolveReverse } from './helpers/commons-dns.mjs';
2
- import { commonsNginxProxyPath } from './helpers/commons-nginx-proxy-path.mjs';
3
4
  import { commonsHttpEncodedObjectToQueryInput, commonsHttpAppendEncodedObjectParams } from './helpers/commons-http-query-string.mjs';
5
+ import { commonsNginxProxyPath } from './helpers/commons-nginx-proxy-path.mjs';
6
+ import { commonsHttpReadUrlAsBuffer, commonsHttpReadUrlAsString, commonsHttpReadUrlAsJsonWithoutNulls } from './helpers/commons-url.mjs';
7
+ import { commonsHttpNoCache, commonsHttpCache, commonsHttpUseCacheIfUnchanged, commonsHttpSetLastModified } from './helpers/commons-http-response.mjs';
4
8
  import { commonsSslGetCertificate } from './helpers/commons-ssl.mjs';
5
9
  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';
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';
10
+ import { TCommonsHttpResponse } from './types/tcommons-http-response.mjs';
12
11
  import { TCommonsHttpRequest } from './types/tcommons-http-request.mjs';
13
12
  import { TCommonsHttpStrictParam } from './types/tcommons-strict-param.mjs';
14
- import { TCommonsHttpHandler } from './types/tcommons-http-handler.mjs';
15
13
  import { TCommonsStrictParamPropertyObject } from './types/tcommons-strict-param-property-object.mjs';
16
- import { TCommonsHttpResponse } from './types/tcommons-http-response.mjs';
17
14
  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';
18
20
  import { CommonsStrictHttpServer } from './interfaces/commons-http-server.mjs';
19
21
  import { ICommonsHttpConfig, isICommonsHttpConfig } from './interfaces/icommons-http-config.mjs';
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 };
22
+ export { ECommonsStrictParamPlurality, ECommonsStrictParamType, toECommonsStrictParamType, fromECommonsStrictParamType, commonsDnsResolveDomain4, commonsDnsResolveDomain6, commonsDnsResolveReverse, commonsHttpEncodedObjectToQueryInput, commonsHttpAppendEncodedObjectParams, commonsNginxProxyPath, commonsHttpReadUrlAsBuffer, commonsHttpReadUrlAsString, commonsHttpReadUrlAsJsonWithoutNulls, commonsHttpNoCache, commonsHttpCache, commonsHttpUseCacheIfUnchanged, commonsHttpSetLastModified, commonsSslGetCertificate, COMMONS_HTTP_STRICT_PARAM_TYPE_REGEX, commonsRemoveStrictsFromPathDefinition, commonsBuildStrictsFromPathDefinition, commonsValueToStrictParamResult, commonsExtractStrictParamsFromUrlPath, TCommonsHttpResponse, TCommonsHttpRequest, TCommonsHttpStrictParam, TCommonsStrictParamPropertyObject, TCommonsStrictParamResult, TCommonsHttpHandler, CommonsInternalHttpClientImplementation, CommonsStreamableHttpClientImplementation, ICommonsStrictParamsRequest, ICommonsRequestWithGetMethodTypecast, ICommonsRequestWithBodyTypecast, ICommonsRequestWithQueryTypecast, CommonsStrictHttpServer, ICommonsHttpConfig, isICommonsHttpConfig };
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';
1
3
  import { commonsDnsResolveDomain4, commonsDnsResolveDomain6, commonsDnsResolveReverse } from './helpers/commons-dns.mjs';
2
- import { commonsNginxProxyPath } from './helpers/commons-nginx-proxy-path.mjs';
3
4
  import { commonsHttpEncodedObjectToQueryInput, commonsHttpAppendEncodedObjectParams } from './helpers/commons-http-query-string.mjs';
5
+ import { commonsNginxProxyPath } from './helpers/commons-nginx-proxy-path.mjs';
6
+ import { commonsHttpReadUrlAsBuffer, commonsHttpReadUrlAsString, commonsHttpReadUrlAsJsonWithoutNulls } from './helpers/commons-url.mjs';
7
+ import { commonsHttpNoCache, commonsHttpCache, commonsHttpUseCacheIfUnchanged, commonsHttpSetLastModified } from './helpers/commons-http-response.mjs';
4
8
  import { commonsSslGetCertificate } from './helpers/commons-ssl.mjs';
5
9
  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';
8
10
  import { CommonsInternalHttpClientImplementation } from './classes/commons-internal-http-client-implementation.mjs';
9
11
  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 { 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 };
13
+ export { ECommonsStrictParamPlurality, ECommonsStrictParamType, toECommonsStrictParamType, fromECommonsStrictParamType, commonsDnsResolveDomain4, commonsDnsResolveDomain6, commonsDnsResolveReverse, commonsHttpEncodedObjectToQueryInput, commonsHttpAppendEncodedObjectParams, commonsNginxProxyPath, commonsHttpReadUrlAsBuffer, commonsHttpReadUrlAsString, commonsHttpReadUrlAsJsonWithoutNulls, commonsHttpNoCache, commonsHttpCache, commonsHttpUseCacheIfUnchanged, commonsHttpSetLastModified, commonsSslGetCertificate, COMMONS_HTTP_STRICT_PARAM_TYPE_REGEX, commonsRemoveStrictsFromPathDefinition, commonsBuildStrictsFromPathDefinition, commonsValueToStrictParamResult, commonsExtractStrictParamsFromUrlPath, CommonsInternalHttpClientImplementation, CommonsStreamableHttpClientImplementation, isICommonsHttpConfig };
14
14
  //# sourceMappingURL=index.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.mjs","sourceRoot":"","sources":["../src/index.mts"],"names":[],"mappings":"AAAA,OAAO,EAAE,wBAAwB,EAAE,wBAAwB,EAAE,wBAAwB,EAA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C,uCAAuC,EACvC,yCAAyC,EAOzC,oBAAoB,EACpB,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nodecommons-esm-http",
3
- "version": "0.0.6",
3
+ "version": "0.0.7",
4
4
  "description": "",
5
5
  "scripts": {
6
6
  "tsc": "./node_modules/typescript/bin/tsc",
@@ -28,7 +28,7 @@
28
28
  "dependencies": {
29
29
  "form-urlencoded": "^6.1.5",
30
30
  "rxjs": "^7.8.1",
31
- "tscommons-esm-async": "^0.0.5",
31
+ "tscommons-esm-async": "^0.0.8",
32
32
  "tscommons-esm-core": "^0.0.4",
33
33
  "tscommons-esm-http": "^0.0.5"
34
34
  }