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

restify

Package Overview
Dependencies
Maintainers
1
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 2.0.0 to 2.0.1

lib/plugins/pre/user_agent.js

10

CHANGES.md
# restify Changelog
## 1.4.2 (not yet released)
## 2.0.1 (not yet released)
- GH-269 plugin to make curl happy
- RestError not honoring `constructorOpt` from `cause`
- GH-271 bump to dtrace 0.2.6 (fix build on Mountain Lion)
# Legacy Releases
## 1.4.2
- logging typo (Pedro Candel)

@@ -6,0 +14,0 @@ - response `beforeSend` event (Paul Bouzakis)

2

lib/errors/rest_error.js

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

opts.cause = cause.cause;
opts.constructorOpt = opts.constructorOpt;
opts.constructorOpt = cause.constructorOpt;
opts.message = cause.message;

@@ -83,0 +83,0 @@ opts.statusCode = cause.statusCode || CODES[k];

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

pause: require('./pre/pause'),
sanitizePath: require('./pre/pre_path')
sanitizePath: require('./pre/pre_path'),
userAgentConnection: require('./pre/user_agent')
}
};

@@ -23,3 +23,3 @@ {

"description": "REST framework",
"version": "2.0.0",
"version": "2.0.1",
"repository": {

@@ -43,3 +43,3 @@ "type": "git",

"clone": "git://github.com/pvorb/node-clone.git#341dd3f",
"dtrace-provider": "0.2.5",
"dtrace-provider": "0.2.6",
"byline": "2.0.3",

@@ -46,0 +46,0 @@ "formidable": "1.0.11",

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