@squiz/db-lib 1.2.13-alpha.1 → 1.2.13-alpha.3

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/CHANGELOG.md CHANGED
@@ -3,6 +3,18 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [1.2.13-alpha.3](https://gitlab.squiz.net/developer-experience/cmp/compare/v1.2.2...v1.2.13-alpha.3) (2023-01-16)
7
+
8
+ ### Bug Fixes
9
+
10
+ - **deps:** update dependency constructs to v10.1.183 ([def2040](https://gitlab.squiz.net/developer-experience/cmp/commit/def204076fd709282067ccaa09f73f08824bdbf4))
11
+
12
+ ## [1.2.13-alpha.2](https://gitlab.squiz.net/developer-experience/cmp/compare/v1.2.2...v1.2.13-alpha.2) (2023-01-13)
13
+
14
+ ### Bug Fixes
15
+
16
+ - **deps:** update dependency constructs to v10.1.183 ([def2040](https://gitlab.squiz.net/developer-experience/cmp/commit/def204076fd709282067ccaa09f73f08824bdbf4))
17
+
6
18
  ## [1.2.13-alpha.1](https://gitlab.squiz.net/developer-experience/cmp/compare/v1.2.2...v1.2.13-alpha.1) (2023-01-13)
7
19
 
8
20
  ### Bug Fixes
package/lib/index.js CHANGED
@@ -14943,6 +14943,7 @@ var require_lib3 = __commonJS({
14943
14943
  return winston_2.Logger;
14944
14944
  } });
14945
14945
  function getLogger2(options) {
14946
+ var _a;
14946
14947
  const formatter = options.format === "human" ? (0, formatters_1.getHumanFormat)() : (0, formatters_1.getJsonFormat)();
14947
14948
  return winston_1.default.createLogger({
14948
14949
  defaultMeta: {
@@ -14950,7 +14951,7 @@ var require_lib3 = __commonJS({
14950
14951
  name: options.name
14951
14952
  },
14952
14953
  format: formatter,
14953
- transports: [new winston_1.default.transports.Console({ silent: options.silent })]
14954
+ transports: [new winston_1.default.transports.Console({ silent: (_a = options.silent) !== null && _a !== void 0 ? _a : process.env.NODE_ENV === "test" })]
14954
14955
  });
14955
14956
  }
14956
14957
  exports.getLogger = getLogger2;