+5
-1
| 'use strict' | ||
| module.exports = require('./lib/jshttp.js') | ||
| const jshttp = require('./lib/jshttp.js') | ||
| module.exports = jshttp | ||
| // 兼容 Typescript 导入 | ||
| module.exports.default = jshttp |
+6
-3
| { | ||
| "name": "jshttp", | ||
| "version": "0.4.1", | ||
| "version": "0.4.2", | ||
| "description": "能在任何 Javascript 环境使用的 HTTP 请求库,支持 Node.js,浏览器,微信小程序,支付宝小程序,百度小程序 ...", | ||
| "main": "index.js", | ||
| "scripts": { | ||
| "test": "echo \"Error: no test specified\" && exit 1" | ||
| "test": "mocha test/**/*.test.js" | ||
| }, | ||
@@ -26,3 +26,6 @@ "repository": { | ||
| }, | ||
| "homepage": "https://github.com/inlym/jshttp#readme" | ||
| "homepage": "https://github.com/inlym/jshttp#readme", | ||
| "devDependencies": { | ||
| "mocha": "^8.4.0" | ||
| } | ||
| } |
Network access
Supply chain riskThis module accesses the network.
Found 2 instances in 1 package
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
Found 1 instance in 1 package
Network access
Supply chain riskThis module accesses the network.
Found 2 instances in 1 package
No tests
QualityPackage does not have any tests. This is a strong signal of a poorly maintained or low quality package.
Found 1 instance in 1 package
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
Found 1 instance in 1 package
119364
0.1%1716
0.18%2
-33.33%1
Infinity%