Socket
Socket
Sign inDemoInstall

restify

Package Overview
Dependencies
122
Maintainers
15
Versions
184
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 9.0.0 to 10.0.0

13

CHANGELOG.md

@@ -1,2 +0,1 @@

<a name="8.5.1"></a>
## [9.0.0](https://www.github.com/restify/node-restify/compare/v8.6.1...v9.0.0) (2022-11-15)

@@ -125,2 +124,14 @@

## [10.0.0](https://github.com/restify/node-restify/compare/v9.0.0...v10.0.0) (2022-11-29)
### ⚠ BREAKING CHANGES
* support v18.x
### Features
* bump dtrace-provider version to avoid MacOS errors ([fa52f60](https://github.com/restify/node-restify/commit/fa52f60d85c3df8a1babde98be184bb918958ef3))
* support v18.x ([5795223](https://github.com/restify/node-restify/commit/57952239fa1808a6cf6e70deb2754c4c85c1be39))
### 8.5.1 (2019-12-13)

@@ -127,0 +138,0 @@

2

lib/plugins/throttle.js

@@ -137,3 +137,3 @@ // Copyright 2012 Mark Cavage <mcavage@gmail.com> All rights reserved.

this.table = new LRU(options.size || 10000);
this.table = new LRU({ max: options.size || 10000 });
}

@@ -140,0 +140,0 @@

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

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

@@ -842,21 +841,2 @@ var sprintf = require('util').format;

/**
* Returns true when connection state is "close"
*
* @private
* @memberof Request
* @instance
* @function closed
* @returns {Boolean} is closed
*/
Request.prototype.closed = function closed() {
emitWarning(
'restify req.closed is deprecated, will be removed on Restify 10',
'RestifyDeprecationWarning',
'RestifyDEPReqClosed'
);
var self = this;
return self.connectionState() === 'close';
};
/**
* Returns the route object to which the current request was matched to.

@@ -863,0 +843,0 @@ *

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

str +=
addr.family === 'IPv6'
addr.family === 'IPv6' || addr.family === 6
? '[' + addr.address + ']'

@@ -263,0 +263,0 @@ : addr.address;

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

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

@@ -98,25 +98,25 @@ "type": "git",

"assert-plus": "^1.0.0",
"csv": "^5.1.1",
"csv": "^6.2.2",
"escape-regexp-component": "^1.0.2",
"ewma": "^2.0.1",
"find-my-way": "^2.0.1",
"find-my-way": "^7.2.0",
"formidable": "^1.2.1",
"http-signature": "^1.3.6",
"lodash": "^4.17.11",
"lru-cache": "^5.1.1",
"mime": "^2.4.3",
"lru-cache": "^7.14.1",
"mime": "^3.0.0",
"negotiator": "^0.6.2",
"once": "^1.4.0",
"pidusage": "^2.0.17",
"pino": "^6.3.2",
"pidusage": "^3.0.2",
"pino": "^8.7.0",
"qs": "^6.7.0",
"restify-errors": "^8.0.2",
"semver": "^6.1.1",
"send": "^0.17.1",
"semver": "^7.3.8",
"send": "^0.18.0",
"spdy": "^4.0.0",
"uuid": "^3.3.2",
"uuid": "^9.0.0",
"vasync": "^2.2.0"
},
"optionalDependencies": {
"dtrace-provider": "^0.8.1"
"dtrace-provider": "~0.8"
},

@@ -123,0 +123,0 @@ "devDependencies": {

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