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

oils

Package Overview
Dependencies
Maintainers
1
Versions
117
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

oils - npm Package Compare versions

Comparing version 1.0.12 to 1.0.13

18

core/utils/routeutils.js

@@ -98,11 +98,17 @@ var objectUtils = require('./objectUtils');

try {
res.writeHead(500);
res.status(500);
console.error('Route error at ' + req.url, er);
if (console.isDebug) {
res.write(er.stack);
if (web.conf.handle500) {
web.conf.handle500(er, req, res);
} else {
//show to end users
res.write('An unexpected error has occurred.');
if (console.isDebug) {
res.write(er.stack);
} else {
//show to end users
res.write('An unexpected error has occurred.');
}
res.end();
}
res.end();
} catch (er) {

@@ -109,0 +115,0 @@ console.error('Error sending 500', er, req.url);

{
"name": "oils",
"version": "1.0.12",
"version": "1.0.13",
"description": "A slightly opinionated web framework built on top of Express 4.",

@@ -5,0 +5,0 @@ "keywords": [

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