Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

restify

Package Overview
Dependencies
Maintainers
15
Versions
184
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

restify - npm Package Compare versions

Comparing version 9.0.0 to 9.1.0

7

CHANGELOG.md
<a name="8.5.1"></a>
## [9.1.0](https://github.com/restify/node-restify/compare/v9.0.0...v9.1.0) (2023-06-13)
### Features
* emit warning for req.closed only once ([86cab8c](https://github.com/restify/node-restify/commit/86cab8c61a75db323babf6bdcb4195ee1f9941b6))
## [9.0.0](https://www.github.com/restify/node-restify/compare/v8.6.1...v9.0.0) (2022-11-15)

@@ -3,0 +10,0 @@

16

lib/request.js

@@ -5,3 +5,3 @@ // Copyright 2012 Mark Cavage, Inc. All rights reserved.

const { emitWarning } = require('node:process');
const { emitWarning } = require('process');
var url = require('url');

@@ -850,8 +850,12 @@ var sprintf = require('util').format;

*/
let closedDeprecatedWarned = false;
Request.prototype.closed = function closed() {
emitWarning(
'restify req.closed is deprecated, will be removed on Restify 10',
'RestifyDeprecationWarning',
'RestifyDEPReqClosed'
);
if (!closedDeprecatedWarned) {
emitWarning(
'restify req.closed is deprecated, will be removed on v10',
'RestifyDeprecationWarning',
'RestifyDEPReqClosed'
);
closedDeprecatedWarned = true;
}
var self = this;

@@ -858,0 +862,0 @@ return self.connectionState() === 'close';

@@ -77,3 +77,3 @@ {

],
"version": "9.0.0",
"version": "9.1.0",
"repository": {

@@ -80,0 +80,0 @@ "type": "git",

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