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 8.0.2 to 8.0.3

2

build/src/agents.d.ts

@@ -23,3 +23,3 @@ /**

export declare const pool: Map<string, HTTPAgent>;
export declare type HttpAnyAgent = HTTPAgent | HTTPSAgent;
export type HttpAnyAgent = HTTPAgent | HTTPSAgent;
/**

@@ -26,0 +26,0 @@ * Returns a custom request Agent if one is found, otherwise returns undefined

@@ -44,3 +44,3 @@ /**

}
export declare type Options = OptionsWithUri | OptionsWithUrl;
export type Options = OptionsWithUri | OptionsWithUrl;
export interface Request extends PassThrough {

@@ -47,0 +47,0 @@ agent: Agent | false;

@@ -174,7 +174,7 @@ "use strict";

if (responseStream) {
responseStream.pipe(requestStream);
(0, stream_1.pipeline)(responseStream, requestStream, () => { });
}
else {
requestStream.once('response', () => {
responseStream.pipe(requestStream);
(0, stream_1.pipeline)(responseStream, requestStream, () => { });
});

@@ -181,0 +181,0 @@ }

@@ -27,3 +27,3 @@ /**

}
declare type TeenyStatisticsConfig = Required<TeenyStatisticsOptions>;
type TeenyStatisticsConfig = Required<TeenyStatisticsOptions>;
/**

@@ -30,0 +30,0 @@ * TeenyStatisticsCounters is distinct from TeenyStatisticsOptions:

# Changelog
## [8.0.3](https://github.com/googleapis/teeny-request/compare/v8.0.2...v8.0.3) (2023-02-17)
### Bug Fixes
* Use pipeline in place of pipe to better handle cleanup / errors ([#299](https://github.com/googleapis/teeny-request/issues/299)) ([31d9002](https://github.com/googleapis/teeny-request/commit/31d900227d2ea7cb205fd4dc8db0aed5abd0dfa9))
## [8.0.2](https://github.com/googleapis/teeny-request/compare/v8.0.1...v8.0.2) (2022-09-09)

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

{
"name": "teeny-request",
"version": "8.0.2",
"version": "8.0.3",
"description": "Like request, but smaller.",

@@ -49,6 +49,6 @@ "main": "./build/src/index.js",

"@compodoc/compodoc": "^1.1.9",
"@types/mocha": "^9.1.1",
"@types/mocha": "^10.0.0",
"@types/node-fetch": "^2.5.7",
"@types/sinon": "^10.0.0",
"@types/uuid": "^8.0.0",
"@types/uuid": "^9.0.0",
"c8": "^7.0.0",

@@ -61,3 +61,3 @@ "codecov": "^3.1.0",

"typescript": "^4.6.3",
"sinon": "^14.0.0"
"sinon": "^15.0.0"
},

@@ -64,0 +64,0 @@ "nyc": {

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