huxy-node-server
Advanced tools
+1
-1
| { | ||
| "name": "huxy-node-server", | ||
| "version": "1.1.0", | ||
| "version": "1.1.1", | ||
| "description": "一个精炼、高性能的 Express.js 服务器模板,为现代 Node.js 应用程序设计,提供灵活的功能和最佳实践。", | ||
@@ -5,0 +5,0 @@ "type": "module", |
+2
-2
@@ -207,3 +207,3 @@ import y from 'express'; | ||
| windowMs: parseInt(process.env.RATE_LIMIT_WINDOW_MS || '300000', 10), | ||
| limit: parseInt(process.env.RATE_LIMIT_MAX_REQUESTS || '100', 10), | ||
| limit: parseInt(process.env.RATE_LIMIT_MAX_REQUESTS || '500', 10), | ||
| message: {message: '\u8BF7\u6C42\u8FC7\u4E8E\u9891\u7E41\uFF0C\u8BF7\u7A0D\u540E\u518D\u8BD5'}, | ||
@@ -228,3 +228,3 @@ }, | ||
| i.info(`-----------------[${c()}]------------------`), | ||
| i.info({ips: k}, '\u672C\u5730\u5730\u5740\uFF1A')); | ||
| i.info({ips: k}, '\u672C\u5730\u5730\u5740')); | ||
| } | ||
@@ -231,0 +231,0 @@ await o?.(e, r, n, i); |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
3
-25%24533
-0.02%