Socket
Socket
Sign inDemoInstall

teeny-request

Package Overview
Dependencies
Maintainers
4
Versions
54
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

teeny-request - npm Package Compare versions

Comparing version 5.1.2 to 5.1.3

4

build/src/index.d.ts

@@ -18,3 +18,3 @@ /*!

import { Agent } from 'https';
import { Readable, Duplex } from 'stream';
import { PassThrough, Readable } from 'stream';
export interface CoreOptions {

@@ -40,3 +40,3 @@ method?: 'GET' | 'POST' | 'PUT' | 'HEAD' | 'OPTIONS' | 'PATCH' | 'DELETE' | 'CONNECT' | 'OPTIONS' | 'TRACE';

export declare type Options = OptionsWithUri | OptionsWithUrl;
export interface Request extends Duplex {
export interface Request extends PassThrough {
agent: Agent | false;

@@ -43,0 +43,0 @@ headers: Headers;

@@ -191,3 +191,3 @@ "use strict";

// Stream mode
var requestStream_1 = new stream_1.Duplex();
var requestStream_1 = new stream_1.PassThrough();
options.compress = false;

@@ -194,0 +194,0 @@ node_fetch_1.default(uri, options).then(function (res) {

# Changelog
### [5.1.3](https://www.github.com/googleapis/teeny-request/compare/v5.1.2...v5.1.3) (2019-08-06)
### Bug Fixes
* duplex stream does not implement methods like _read ([#64](https://www.github.com/googleapis/teeny-request/issues/64)) ([22ee26c](https://www.github.com/googleapis/teeny-request/commit/22ee26c))
### [5.1.2](https://www.github.com/googleapis/teeny-request/compare/v5.1.1...v5.1.2) (2019-08-06)

@@ -4,0 +11,0 @@

{
"name": "teeny-request",
"version": "5.1.2",
"version": "5.1.3",
"description": "Like request, but smaller.",

@@ -5,0 +5,0 @@ "main": "./build/src/index.js",

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc