Socket
Socket
Sign inDemoInstall

@tinypudding/puddy-lib

Package Overview
Dependencies
7
Maintainers
1
Versions
58
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.10 to 1.0.11

6

http/errorsCallback.js

@@ -1,2 +0,2 @@

module.exports = function (app, callback) {
module.exports = function (callback) {
return function (err, req, res, next) {

@@ -13,5 +13,5 @@

if (req.accepts('html')) {
callback(req, res, { type: 'html', code: err.status, path: req.url, originalUrl: req.originalUrl, err: err });
callback(req, res, next, { type: 'html', code: err.status, path: req.url, originalUrl: req.originalUrl, err: err });
} else {
callback(req, res, { code: err.status, path: req.url, originalUrl: req.originalUrl, err: err });
callback(req, res, next, { code: err.status, path: req.url, originalUrl: req.originalUrl, err: err });
}

@@ -18,0 +18,0 @@

{
"name": "@tinypudding/puddy-lib",
"version": "1.0.10",
"version": "1.0.11",
"description": "Essential codes to run the other repositories from the Tiny Pudding Account.",

@@ -5,0 +5,0 @@ "main": "index.js",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc