nodecommons-esm-express 1.0.4 → 1.0.6

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.
@@ -3,7 +3,6 @@ import express from 'express';
3
3
  import { CommonsStrictExpressServer } from '../servers/commons-strict-express.server.mjs';
4
4
  export function commonsExpressBuildDefaultServer(port, bodyParserLimit) {
5
5
  const ex = express();
6
- // eslint-disable-next-line @typescript-eslint/no-misused-promises
7
6
  const server = http.createServer(ex);
8
7
  return new CommonsStrictExpressServer(ex, server, port, bodyParserLimit);
9
8
  }
@@ -1 +1 @@
1
- {"version":3,"file":"build.mjs","sourceRoot":"","sources":["../../src/helpers/build.mts"],"names":[],"mappings":"AAAA,OAAO,KAAK,IAAI,MAAM,MAAM,CAAC;AAE7B,OAAO,OAAO,MAAM,SAAS,CAAC;AAE9B,OAAO,EAAE,0BAA0B,EAAE,MAAM,8CAA8C,CAAC;AAE1F,MAAM,UAAU,gCAAgC,CAC9C,IAAY,EACZ,eAA+B;IAEhC,MAAM,EAAE,GAAoB,OAAO,EAAE,CAAC;IAEtC,kEAAkE;IAClE,MAAM,MAAM,GAAgB,IAAI,CAAC,YAAY,CAAC,EAAE,CAAC,CAAC;IAElD,OAAO,IAAI,0BAA0B,CACnC,EAAE,EACF,MAAM,EACN,IAAI,EACJ,eAAe,CAChB,CAAC;AAEH,CAAC"}
1
+ {"version":3,"file":"build.mjs","sourceRoot":"","sources":["../../src/helpers/build.mts"],"names":[],"mappings":"AAAA,OAAO,KAAK,IAAI,MAAM,MAAM,CAAC;AAE7B,OAAO,OAAO,MAAM,SAAS,CAAC;AAE9B,OAAO,EAAE,0BAA0B,EAAE,MAAM,8CAA8C,CAAC;AAE1F,MAAM,UAAU,gCAAgC,CAC9C,IAAY,EACZ,eAA+B;IAEhC,MAAM,EAAE,GAAoB,OAAO,EAAE,CAAC;IAEtC,MAAM,MAAM,GAAgB,IAAI,CAAC,YAAY,CAAC,EAAE,CAAC,CAAC;IAElD,OAAO,IAAI,0BAA0B,CACnC,EAAE,EACF,MAAM,EACN,IAAI,EACJ,eAAe,CAChB,CAAC;AACH,CAAC"}
package/dist/index.d.mts CHANGED
@@ -2,7 +2,7 @@ import { commonsExpressNoCache, commonsExpressCache, commonsExpressUseCacheIfUnc
2
2
  import { commonsExpressBuildDefaultServer } from './helpers/build.mjs';
3
3
  import { CommonsStrictExpressServer } from './servers/commons-strict-express.server.mjs';
4
4
  import { TCommonsExpressHandler } from './types/tcommons-express-handler.mjs';
5
- import { COMMONS_ANGULAR_EXTS_CACHE, COMMONS_ANGULAR_EXTS_NOCACHE, COMMONS_ANGULAR_EXTS_USE_CACHE_IF_UNCHANGED } from './consts/commons-angular-exts.mjs';
6
- import { ICommonsRequestWithStrictParams } from './interfaces/icommons-request-with-strict-params.mjs';
7
5
  import { ICommonsExpressConfig, isICommonsExpressConfig } from './interfaces/icommons-express-config.mjs';
8
- export { commonsExpressNoCache, commonsExpressCache, commonsExpressUseCacheIfUnchanged, commonsExpressGetIpAddress, commonsExpressGetUserAgent, commonsExpressGetStrictParamsFixedDateRange, commonsExpressGetQueryDateRange, commonsExpressGetBodyDateRange, commonsExpressIsNpm1985TimestampFile, commonsExpressSetLastModified, commonsExpressAutoNpm1985TimestampFile, commonsExpressCleanupMultiPartFiles, commonsExpressConsiderMultiPart, commonsExpressBuildDefaultServer, CommonsStrictExpressServer, TCommonsExpressHandler, COMMONS_ANGULAR_EXTS_CACHE, COMMONS_ANGULAR_EXTS_NOCACHE, COMMONS_ANGULAR_EXTS_USE_CACHE_IF_UNCHANGED, ICommonsRequestWithStrictParams, ICommonsExpressConfig, isICommonsExpressConfig };
6
+ import { ICommonsRequestWithStrictParams } from './interfaces/icommons-request-with-strict-params.mjs';
7
+ import { COMMONS_ANGULAR_EXTS_CACHE, COMMONS_ANGULAR_EXTS_NOCACHE, COMMONS_ANGULAR_EXTS_USE_CACHE_IF_UNCHANGED } from './consts/commons-angular-exts.mjs';
8
+ export { commonsExpressNoCache, commonsExpressCache, commonsExpressUseCacheIfUnchanged, commonsExpressGetIpAddress, commonsExpressGetUserAgent, commonsExpressGetStrictParamsFixedDateRange, commonsExpressGetQueryDateRange, commonsExpressGetBodyDateRange, commonsExpressIsNpm1985TimestampFile, commonsExpressSetLastModified, commonsExpressAutoNpm1985TimestampFile, commonsExpressCleanupMultiPartFiles, commonsExpressConsiderMultiPart, commonsExpressBuildDefaultServer, CommonsStrictExpressServer, TCommonsExpressHandler, ICommonsExpressConfig, isICommonsExpressConfig, ICommonsRequestWithStrictParams, COMMONS_ANGULAR_EXTS_CACHE, COMMONS_ANGULAR_EXTS_NOCACHE, COMMONS_ANGULAR_EXTS_USE_CACHE_IF_UNCHANGED };
package/dist/index.mjs CHANGED
@@ -1,7 +1,7 @@
1
1
  import { commonsExpressNoCache, commonsExpressCache, commonsExpressUseCacheIfUnchanged, commonsExpressGetIpAddress, commonsExpressGetUserAgent, commonsExpressGetStrictParamsFixedDateRange, commonsExpressGetQueryDateRange, commonsExpressGetBodyDateRange, commonsExpressIsNpm1985TimestampFile, commonsExpressSetLastModified, commonsExpressAutoNpm1985TimestampFile, commonsExpressCleanupMultiPartFiles, commonsExpressConsiderMultiPart } from './helpers/commons-express.mjs';
2
2
  import { commonsExpressBuildDefaultServer } from './helpers/build.mjs';
3
3
  import { CommonsStrictExpressServer } from './servers/commons-strict-express.server.mjs';
4
- import { COMMONS_ANGULAR_EXTS_CACHE, COMMONS_ANGULAR_EXTS_NOCACHE, COMMONS_ANGULAR_EXTS_USE_CACHE_IF_UNCHANGED } from './consts/commons-angular-exts.mjs';
5
4
  import { isICommonsExpressConfig } from './interfaces/icommons-express-config.mjs';
6
- export { commonsExpressNoCache, commonsExpressCache, commonsExpressUseCacheIfUnchanged, commonsExpressGetIpAddress, commonsExpressGetUserAgent, commonsExpressGetStrictParamsFixedDateRange, commonsExpressGetQueryDateRange, commonsExpressGetBodyDateRange, commonsExpressIsNpm1985TimestampFile, commonsExpressSetLastModified, commonsExpressAutoNpm1985TimestampFile, commonsExpressCleanupMultiPartFiles, commonsExpressConsiderMultiPart, commonsExpressBuildDefaultServer, CommonsStrictExpressServer, COMMONS_ANGULAR_EXTS_CACHE, COMMONS_ANGULAR_EXTS_NOCACHE, COMMONS_ANGULAR_EXTS_USE_CACHE_IF_UNCHANGED, isICommonsExpressConfig };
5
+ import { COMMONS_ANGULAR_EXTS_CACHE, COMMONS_ANGULAR_EXTS_NOCACHE, COMMONS_ANGULAR_EXTS_USE_CACHE_IF_UNCHANGED } from './consts/commons-angular-exts.mjs';
6
+ export { commonsExpressNoCache, commonsExpressCache, commonsExpressUseCacheIfUnchanged, commonsExpressGetIpAddress, commonsExpressGetUserAgent, commonsExpressGetStrictParamsFixedDateRange, commonsExpressGetQueryDateRange, commonsExpressGetBodyDateRange, commonsExpressIsNpm1985TimestampFile, commonsExpressSetLastModified, commonsExpressAutoNpm1985TimestampFile, commonsExpressCleanupMultiPartFiles, commonsExpressConsiderMultiPart, commonsExpressBuildDefaultServer, CommonsStrictExpressServer, isICommonsExpressConfig, COMMONS_ANGULAR_EXTS_CACHE, COMMONS_ANGULAR_EXTS_NOCACHE, COMMONS_ANGULAR_EXTS_USE_CACHE_IF_UNCHANGED };
7
7
  //# sourceMappingURL=index.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.mjs","sourceRoot":"","sources":["../src/index.mts"],"names":[],"mappings":"AAAA,OAAO,EACL,qBAAqB,EACrB,mBAAmB,EACnB,iCAAiC,EACjC,0BAA0B,EAC1B,0BAA0B,EAC1B,2CAA2C,EAC3C,+BAA+B,EAC/B,8BAA8B,EAC9B,oCAAoC,EACpC,6BAA6B,EAC7B,sCAAsC,EACtC,mCAAmC,EACnC,+BAA+B,EAChC,MAAM,+BAA+B,CAAC;AACvC,OAAO,EAAE,gCAAgC,EAAE,MAAM,qBAAqB,CAAC;AACvE,OAAO,EAAE,0BAA0B,EAAE,MAAM,6CAA6C,CAAC;AAEzF,OAAO,EAAE,0BAA0B,EAAE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1B,4BAA4B,EAC5B,2CAA2C,EAC3C,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nodecommons-esm-express",
3
- "version": "1.0.4",
3
+ "version": "1.0.6",
4
4
  "description": "",
5
5
  "scripts": {
6
6
  "tsc": "./node_modules/typescript/bin/tsc",
@@ -34,9 +34,9 @@
34
34
  "express": "^4.21.2",
35
35
  "formidable": "^3.5.2",
36
36
  "nodecommons-esm-file": "^0.1.6",
37
- "nodecommons-esm-http": "^1.0.3",
37
+ "nodecommons-esm-http": "^2.0.2",
38
38
  "nodecommons-esm-log": "^1.0.3",
39
39
  "tscommons-esm-core": "^0.2.0",
40
- "tscommons-esm-http": "^1.0.3"
40
+ "tscommons-esm-http": "^2.0.1"
41
41
  }
42
42
  }