@golemio/validator 0.2.5-dev.694882844 → 0.2.5-dev.695207902

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/README.md CHANGED
@@ -51,9 +51,9 @@ import { Validator } from "@golemio/validator";
51
51
 
52
52
  ## Logging
53
53
 
54
- Logging uses `Winston` for standard logging with levels and `debug` (https://www.npmjs.com/package/debug) for debugging.
54
+ Logging uses `pino` for standard logging with levels and `debug` (https://www.npmjs.com/package/debug) for debugging.
55
55
 
56
- All logs with `silly` and `debug` level are printed as standard log (if appropriate log level is set) using Winston as well as using `debug` module with `"golemio:validator"` settings.
56
+ All logs with `silly` and `debug` level are printed as standard log (if appropriate log level is set) using `pino` as well as using `debug` module with `"golemio:validator"` settings.
57
57
 
58
58
  You can set both `LOG_LEVEL` and `DEBUG` settings in ENV variables.
59
59
 
package/dist/Logger.js CHANGED
@@ -24,7 +24,7 @@ const logger = (0, pino_1.default)({
24
24
  exports.log = logger;
25
25
  const loggerDebugLog = logger.debug.bind(logger);
26
26
  const loggerSillyLog = logger.silly.bind(logger);
27
- const debugLog = debug("golemio:errors");
27
+ const debugLog = debug("golemio:validator");
28
28
  logger.silly = (...args) => {
29
29
  debugLog.apply(null, args);
30
30
  loggerSillyLog.apply(null, args);
@@ -1 +1 @@
1
- {"version":3,"file":"Logger.js","sourceRoot":"","sources":["../src/Logger.ts"],"names":[],"mappings":";;;;AAAA,+BAA+B;AAC/B,+BAAwB;AACxB,qCAA8B;AAI9B,MAAM,MAAM,GAAY,IAAA,cAAI,EAAC;IACzB,KAAK,EAAE,CAAA,MAAA,gBAAM,CAAC,SAAS,0CAAE,WAAW,EAAE,KAAI,MAAM;IAChD,YAAY,EAAE;QACV,KAAK,EAAE,CAAC;QACR,OAAO,EAAE,EAAE;KACd;IACD,IAAI,EAAE,SAAS;IACf,UAAU,EAAE;QACR,KAAK,EAAE,CAAC,KAAa,EAAE,EAAE;YACrB,OAAO,EAAE,KAAK,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AAC;QAC5B,CAAC;KACJ;IACD,QAAQ,EAAE,OAAO;IACjB,UAAU,EAAE,SAAS;IACrB,SAAS,EAAE,cAAI,CAAC,gBAAgB,CAAC,OAAO;CAC3C,CAAC,CAAC;AAiBgB,qBAAG;AAftB,MAAM,cAAc,GAAG,MAAM,CAAC,KAAK,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;AACjD,MAAM,cAAc,GAAG,MAAM,CAAC,KAAK,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;AAEjD,MAAM,QAAQ,GAAmB,KAAK,CAAC,mBAAmB,CAAC,CAAC;AAE5D,MAAM,CAAC,KAAK,GAAG,CAAC,GAAG,IAAS,EAAQ,EAAE;IAClC,QAAQ,CAAC,KAAK,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC;IAC3B,cAAc,CAAC,KAAK,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC;AACrC,CAAC,CAAC;AAEF,MAAM,CAAC,KAAK,GAAG,CAAC,GAAG,IAAS,EAAQ,EAAE;IAClC,QAAQ,CAAC,KAAK,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC;IAC3B,cAAc,CAAC,KAAK,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC;AACrC,CAAC,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@golemio/validator",
3
- "version": "0.2.5-dev.694882844",
3
+ "version": "0.2.5-dev.695207902",
4
4
  "description": "Library of Validator classes of the Golemio Data Platform System",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -29,7 +29,6 @@
29
29
  "@types/mocha": "^5.2.5",
30
30
  "@types/node": "^14.17.15",
31
31
  "@types/sinon": "^7.0.13",
32
- "@types/winston": "^2.4.4",
33
32
  "chai": "^4.2.0",
34
33
  "chai-as-promised": "^7.1.1",
35
34
  "eslint": "^8.13.0",