fix: 修复TypeScript配置错误并更新项目文档
详细说明: - 修复了@n8n/config包的TypeScript配置错误 - 移除了不存在的jest-expect-message类型引用 - 清理了所有TypeScript构建缓存 - 更新了可行性分析文档,添加了技术实施方案 - 更新了Agent prompt文档 - 添加了会展策划工作流文档 - 包含了n8n-chinese-translation子项目 - 添加了exhibition-demo展示系统框架
This commit is contained in:
27
n8n-n8n-1.109.2/patches/pdfjs-dist@5.3.31 2.patch
Executable file
27
n8n-n8n-1.109.2/patches/pdfjs-dist@5.3.31 2.patch
Executable file
@@ -0,0 +1,27 @@
|
||||
diff --git a/legacy/build/pdf.mjs b/legacy/build/pdf.mjs
|
||||
index 1a373ea986beef21076d30438235d180a0487c20..9d584f4fcc13f0b86e57160570c530e5ac794638 100644
|
||||
--- a/legacy/build/pdf.mjs
|
||||
+++ b/legacy/build/pdf.mjs
|
||||
@@ -12060,9 +12060,9 @@ class DOMWasmFactory extends BaseWasmFactory {
|
||||
if (isNodeJS) {
|
||||
let canvas;
|
||||
try {
|
||||
- const require = process.getBuiltinModule("module").createRequire(import.meta.url);
|
||||
+ const _require = process.getBuiltinModule("module").createRequire(import.meta.url);
|
||||
try {
|
||||
- canvas = require("@napi-rs/canvas");
|
||||
+ canvas = _require("@napi-rs/canvas");
|
||||
} catch (ex) {
|
||||
warn(`Cannot load "@napi-rs/canvas" package: "${ex}".`);
|
||||
}
|
||||
@@ -12106,8 +12106,8 @@ async function node_utils_fetchData(url) {
|
||||
class NodeFilterFactory extends BaseFilterFactory {}
|
||||
class NodeCanvasFactory extends BaseCanvasFactory {
|
||||
_createCanvas(width, height) {
|
||||
- const require = process.getBuiltinModule("module").createRequire(import.meta.url);
|
||||
- const canvas = require("@napi-rs/canvas");
|
||||
+ const _require = process.getBuiltinModule("module").createRequire(import.meta.url);
|
||||
+ const canvas = _require("@napi-rs/canvas");
|
||||
return canvas.createCanvas(width, height);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user