Files
Agent-n8n/n8n-n8n-1.109.2/patches/pkce-challenge@5.0.0 2.patch
Yep_Q 3db7af209c fix: 修复TypeScript配置错误并更新项目文档
详细说明:
- 修复了@n8n/config包的TypeScript配置错误
- 移除了不存在的jest-expect-message类型引用
- 清理了所有TypeScript构建缓存
- 更新了可行性分析文档,添加了技术实施方案
- 更新了Agent prompt文档
- 添加了会展策划工作流文档
- 包含了n8n-chinese-translation子项目
- 添加了exhibition-demo展示系统框架
2025-09-08 10:49:45 +08:00

26 lines
1.0 KiB
Diff
Executable File

diff --git a/dist/index.node.js b/dist/index.node.js
index 9a56dcef7f312d2061975dc496281b1673a229c4..8b86b4a7f07656d6711e54cb699d0dc79b08a8d3 100644
--- a/dist/index.node.js
+++ b/dist/index.node.js
@@ -16,7 +16,7 @@ async function getRandomValues(size) {
* @returns The random string
*/
async function random(size) {
- const mask = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789-._~";
+ const mask = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789-._";
let result = "";
const randomUints = await getRandomValues(size);
for (let i = 0; i < size; i++) {
diff --git a/package.json b/package.json
index a51ede0564b61a237e35e8c5e718251c666ccaa5..9a015872b2f8f45dc5306843599304ef9a3a83c1 100644
--- a/package.json
+++ b/package.json
@@ -4,6 +4,7 @@
"description": "Generate or verify a Proof Key for Code Exchange (PKCE) challenge pair",
"browser": "dist/index.browser.js",
"type": "module",
+ "types": "./dist/index.node.d.ts",
"exports": {
".": {
"types": {