@less-is-more/less-js 1.4.34-1 → 1.4.35

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@less-is-more/less-js",
3
- "version": "1.4.34-1",
3
+ "version": "1.4.35",
4
4
  "description": "Fast develop kit for nodejs",
5
5
  "main": "src/index.js",
6
6
  "scripts": {
package/src/cache.js CHANGED
@@ -92,7 +92,6 @@ module.exports = class Cache {
92
92
  const buffer = Buffer.from(content, "base64");
93
93
  // 判断是否gzip
94
94
  if (buffer.length > 2 && buffer[0] === 0x1f && buffer[1] === 0x8b) {
95
- console.log("unzip");
96
95
  text = zlib.gunzipSync(buffer).toString();
97
96
  } else {
98
97
  text = content;
package/src/router.js CHANGED
@@ -99,7 +99,6 @@ module.exports = class Router {
99
99
  return;
100
100
  }
101
101
  }
102
- console.log("start main action");
103
102
  // 需要直接调用,不能用中间变量
104
103
  let result = await controller[methodName](req, res, context);
105
104
  if (result == undefined) {