httpie
Advanced tools
Comparing version 2.0.0-next.4 to 2.0.0-next.5
@@ -1,9 +0,7 @@ | ||
import {Url, URL} from "url"; | ||
import {IncomingMessage} from "http"; | ||
import { Url, URL } from 'url'; | ||
import { IncomingMessage } from 'http'; | ||
export interface HttpieOptions { | ||
body: any; | ||
headers: { | ||
[name: string]: string; | ||
}; | ||
headers: Record<string, string>; | ||
redirect: boolean; | ||
@@ -10,0 +8,0 @@ withCredentials: boolean; |
{ | ||
"name": "httpie", | ||
"version": "2.0.0-next.4", | ||
"version": "2.0.0-next.5", | ||
"repository": "lukeed/httpie", | ||
"description": "A lightweight, Promise-based wrapper for Node.js HTTP requests~!", | ||
"browser": "dist/httpie.esm.js", | ||
"unpkg": "dist/httpie.min.js", | ||
"module": "dist/httpie.mjs", | ||
"main": "dist/httpie.js", | ||
"browser": "dist/index.esm.js", | ||
"unpkg": "dist/index.min.js", | ||
"module": "dist/index.mjs", | ||
"main": "dist/index.js", | ||
"types": "httpie.d.ts", | ||
@@ -21,5 +21,3 @@ "license": "MIT", | ||
"scripts": { | ||
"build": "npm run build:node && npm run build:client", | ||
"build:client": "bundt src/browser.js --unpkg --browser", | ||
"build:node": "bundt src/index.js --main --module", | ||
"build": "node bin", | ||
"pretest": "npm run build", | ||
@@ -30,2 +28,3 @@ "test": "tape -r esm test/*.js | tap-spec" | ||
"*.d.ts", | ||
"fetch", | ||
"dist" | ||
@@ -35,5 +34,8 @@ ], | ||
"http", | ||
"fetch", | ||
"client", | ||
"request", | ||
"promise" | ||
"universal", | ||
"promise", | ||
"xhr" | ||
], | ||
@@ -43,2 +45,3 @@ "devDependencies": { | ||
"esm": "^3.2.0", | ||
"premove": "1.0.0", | ||
"tap-spec": "^5.0.0", | ||
@@ -45,0 +48,0 @@ "tape": "^4.9.1" |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
Network access
Supply chain riskThis module accesses the network.
Found 1 instance in 1 package
Network access
Supply chain riskThis module accesses the network.
Found 2 instances in 1 package
15115
5
186