bones
Advanced tools
Comparing version 1.3.24 to 1.3.25
{ | ||
"name": "bones", | ||
"description": "Framework for using backbone.js on the client and server.", | ||
"version": "1.3.24", | ||
"version": "1.3.25", | ||
@@ -6,0 +6,0 @@ "author": { |
@@ -82,5 +82,5 @@ var env = process.env.NODE_ENV || 'development'; | ||
if (env === 'development') { | ||
res.end(JSON.stringify(err)); | ||
res.end('HEAD' == req.method ? null : JSON.stringify(err)); | ||
} else { | ||
res.end(JSON.stringify({ message: err.message })); | ||
res.end('HEAD' == req.method ? null : JSON.stringify({ message: err.message })); | ||
} | ||
@@ -90,5 +90,5 @@ } else { | ||
if (env === 'development') { | ||
res.end(err.stack); | ||
res.end('HEAD' == req.method ? null : err.stack); | ||
} else { | ||
res.end(err.message); | ||
res.end('HEAD' == req.method ? null : err.message); | ||
} | ||
@@ -95,0 +95,0 @@ } |
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
173949
26
3