Socket
Socket
Sign inDemoInstall

httpie

Package Overview
Dependencies
0
Maintainers
1
Versions
26
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 2.0.0-next.4 to 2.0.0-next.5

fetch/index.esm.js

8

httpie.d.ts

@@ -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"

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc