Skip to content

Commit

Permalink
fix: 修复 https-proxy-agent 和 socks-proxy-agent 版本过高在 node12 下无法运行的问题
Browse files Browse the repository at this point in the history
  • Loading branch information
CaoMeiYouRen committed Oct 22, 2023
1 parent dc00ef1 commit 8468ce0
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
2 changes: 2 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,5 @@ updates:
ignore:
- dependency-name: "conventional-changelog-cli"
- dependency-name: "semantic-release"
- dependency-name: "https-proxy-agent"
- dependency-name: "socks-proxy-agent"
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -113,10 +113,10 @@
"axios": "^1.2.1",
"crypto-js": "^4.0.0",
"debug": "^4.3.1",
"https-proxy-agent": "^7.0.2",
"https-proxy-agent": "5.0.1",
"nodemailer": "^6.9.1",
"qs": "^6.10.3",
"socks-proxy-agent": "^8.0.2"
"socks-proxy-agent": "^5.0.1"
},
"config": {
"commitizen": {
Expand All @@ -141,4 +141,4 @@
"git add"
]
}
}
}
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"compilerOptions": {
"module": "commonjs", //指定生成哪个模块系统代码
"target": "es2019", //目标代码类型
"noImplicitAny": true, //在表达式和声明上有隐含的'any'类型时报错。
"noImplicitAny": false, //在表达式和声明上有隐含的'any'类型时报错。
"allowJs": true, //允许编译js文件
"checkJs": true, //在 .js文件中报告错误。与 --allowJs配合使用。
"sourceMap": false, //用于debug
Expand Down

0 comments on commit 8468ce0

Please sign in to comment.