@midwayjs/web 2.14.6 → 2.14.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/CHANGELOG.md CHANGED
@@ -3,6 +3,14 @@
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
+ ## [2.14.7](https://github.com/midwayjs/midway/compare/v2.14.6...v2.14.7) (2022-03-20)
7
+
8
+ **Note:** Version bump only for package @midwayjs/web
9
+
10
+
11
+
12
+
13
+
6
14
  ## [2.14.6](https://github.com/midwayjs/midway/compare/v2.14.5...v2.14.6) (2022-02-08)
7
15
 
8
16
  **Note:** Version bump only for package @midwayjs/web
package/dist/index.js CHANGED
@@ -1,7 +1,11 @@
1
1
  "use strict";
2
2
  var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
3
  if (k2 === undefined) k2 = k;
4
- Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
5
9
  }) : (function(o, m, k, k2) {
6
10
  if (k2 === undefined) k2 = k;
7
11
  o[k2] = m[k];
package/dist/logger.js CHANGED
@@ -166,10 +166,9 @@ class MidwayLoggers extends Map {
166
166
  return logger;
167
167
  }
168
168
  disableConsole() {
169
- var _a, _b;
170
169
  for (const value of this.values()) {
171
- if ((_a = value) === null || _a === void 0 ? void 0 : _a.disableConsole) {
172
- (_b = value) === null || _b === void 0 ? void 0 : _b.disableConsole();
170
+ if (value === null || value === void 0 ? void 0 : value.disableConsole) {
171
+ value === null || value === void 0 ? void 0 : value.disableConsole();
173
172
  }
174
173
  else if (value.disable) {
175
174
  value.disable('console');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@midwayjs/web",
3
- "version": "2.14.6",
3
+ "version": "2.14.7",
4
4
  "description": "Midway Web Framework for Egg.js",
5
5
  "main": "dist/index",
6
6
  "typings": "dist/index.d.ts",
@@ -51,7 +51,7 @@
51
51
  "egg-path-matching": "^1.0.1",
52
52
  "extend2": "^1.0.0",
53
53
  "find-up": "^5.0.0",
54
- "midway-schedule": "^2.14.6",
54
+ "midway-schedule": "^2.14.7",
55
55
  "mkdirp": "^1.0.4"
56
56
  },
57
57
  "author": "Harry Chen <czy88840616@gmail.com>",
@@ -62,5 +62,5 @@
62
62
  "engines": {
63
63
  "node": ">=10.10.0"
64
64
  },
65
- "gitHead": "9041633a98444568643bb5a1e8f10bb58e1f1b19"
65
+ "gitHead": "583586a3c1c545c0248465a06fa420ee7d927f77"
66
66
  }