New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

teepee

Package Overview
Dependencies
Maintainers
2
Versions
77
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

teepee - npm Package Compare versions

Comparing version 2.13.2 to 2.13.3

8

lib/Teepee.js

@@ -452,9 +452,9 @@ /*global JSON, setTimeout, setImmediate*/

eventEmitter.success = function () {
eventEmitter.success = function (response) {
if (!eventEmitter.done) {
eventEmitter.done = true;
that.emit('successfulRequest', { url: url, requestOptions: requestOptions, response: currentResponse });
that.emit('successfulRequest', { url: url, requestOptions: requestOptions, response: response });
eventEmitter.emit('end');
if (cb) {
cb(null, currentResponse, currentResponse && currentResponse.body);
cb(null, response, response && response.body);
}

@@ -650,3 +650,3 @@ }

});
} else if (responseBodyMustBeDisposedUnlessPiped && (!response._readableState || (!(response._readableState.pipesCount > 0) && !response._readableState.pipes))) {
} else if (responseBodyMustBeDisposedUnlessPiped && (!response._readableState || ((typeof response._readableState.pipesCount !== 'number' || response._readableState.pipesCount === 0) && !response._readableState.pipes))) {
response.resume();

@@ -653,0 +653,0 @@ response.on('error', function () {});

{
"name": "teepee",
"version": "2.13.2",
"version": "2.13.3",
"description": "Generic HTTP client",

@@ -5,0 +5,0 @@ "main": "lib/Teepee.js",

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