You're Invited:Meet the Socket Team at RSAC and BSidesSF 2026, March 23–26.RSVP
Socket
Book a DemoSign in
Socket

jshttp

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jshttp - npm Package Compare versions

Comparing version
0.4.1
to
0.4.2
+5
-1
index.js
'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"
}
}