Socket
Socket
Sign inDemoInstall

bones

Package Overview
Dependencies
Maintainers
0
Versions
51
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bones - npm Package Compare versions

Comparing version 1.3.9 to 1.3.10

2

package.json
{
"name": "bones",
"description": "Framework for using backbone.js on the client and server.",
"version": "1.3.9",
"version": "1.3.10",

@@ -6,0 +6,0 @@ "author": {

@@ -70,2 +70,8 @@ var env = process.env.NODE_ENV || 'development';

// Output unexpected errors to console but hide them from public eyes.
if (err.status >= 500) {
if (process.env.NODE_ENV != 'test') console.error(err.stack || err.toString());
if (process.env.NODE_ENV == 'production') err.message = 'Internal Server Error';
}
if ((req.headers.accept + '' || '').indexOf('json') >= 0) {

@@ -72,0 +78,0 @@ res.writeHead(err.status, { 'Content-Type': 'application/json' });

@@ -11,3 +11,3 @@ process.env.NODE_ENV = 'test';

}, {
status: 204
status: 200
});

@@ -14,0 +14,0 @@

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