New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@lbu/server

Package Overview
Dependencies
Maintainers
2
Versions
98
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@lbu/server - npm Package Compare versions

Comparing version 0.0.72 to 0.0.73

8

package.json
{
"name": "@lbu/server",
"version": "0.0.72",
"version": "0.0.73",
"description": "Koa server and common middleware",

@@ -19,4 +19,4 @@ "main": "./index.js",

"dependencies": {
"@lbu/insight": "0.0.72",
"@lbu/stdlib": "0.0.72",
"@lbu/insight": "0.0.73",
"@lbu/stdlib": "0.0.73",
"formidable": "2.0.0-canary.20200504.1",

@@ -49,3 +49,3 @@ "keygrip": "1.1.0",

},
"gitHead": "313aea34b9606e0dbebf81a60fc4a5d55bc61728"
"gitHead": "22603779ea94b0737e458bd2c427486da58900c8"
}

@@ -45,22 +45,6 @@ import { AppError, isNil, isStaging } from "@lbu/stdlib";

let originalError = undefined;
if (err.originalError) {
originalError = {
name: err.originalError.name,
message: err.originalError.message,
stack: err.originalError.stack.split("\n"),
};
if (AppError.instanceOf(err.originalError)) {
originalError.key = err.originalError.key;
originalError.info = err.originalError.info;
}
}
const formatted = AppError.format(error);
log({
type: "API_ERROR",
status: err.status,
key: err.key,
info: err.info,
originalError,
...formatted,
});

@@ -70,3 +54,3 @@

ctx.body.info = ctx.body.info || {};
ctx.body.info._error = originalError;
ctx.body.info._error = formatted;
}

@@ -73,0 +57,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