差别

这里会显示出您选择的修订版和当前版本之间的差别。

到此差别页面的链接

两侧同时换到之前的修订记录 前一修订版
public:it:nodejs [2025/08/11 11:07] oakfirepublic:it:nodejs [2025/08/11 11:07] (当前版本) – [2025 改进] oakfire
行 21: 行 21:
   * Nodejs v4.0.0 之后的版本需要 gcc 4.7版本以上来进行 addon 编译.  GCC 4.7 or newer is required due to V8 using the template alias feature in C++.   * Nodejs v4.0.0 之后的版本需要 gcc 4.7版本以上来进行 addon 编译.  GCC 4.7 or newer is required due to V8 using the template alias feature in C++.
 </WRAP> </WRAP>
-===== 2025 改进 =====+===== 截止 2025 年的改进 =====
   * 截止2025年,NodeJS 的改进:   * 截止2025年,NodeJS 的改进:
     * 模块:ESM 代替 CommonJS 方式,增加 "node:" 的前缀:<code> import { readFile } from 'node:fs/promises';  // require -> import</code>     * 模块:ESM 代替 CommonJS 方式,增加 "node:" 的前缀:<code> import { readFile } from 'node:fs/promises';  // require -> import</code>
  • public/it/nodejs.txt
  • 最后更改: 2025/08/11 11:07
  • oakfire