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

nodecaf

Package Overview
Dependencies
Maintainers
1
Versions
80
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

nodecaf - npm Package Versions

1
8

0.10.1

Diff

Changelog

Source

[v0.10.1] - 2020-08-10

Added

  • opts to manually set app name and version

Fixed

  • wrong package.json being read for name and version due to changes on main exports
gcsboss
published 0.10.0 •

Changelog

Source

[v0.10.0] - 2020-08-07

Added

  • res.type() method for defining content type header
  • res.text() for ending response with text/plain body
  • log entry when failed to parse request body
  • missing cookie passing to websocket handlers
  • log entry for app startup logic before server is actualy listening
  • option to disable log completely through conf log = false
  • auto-parsing of keys err, res, req and ws on logger methods
  • assertion methods to res handler arg (notFound, badRequest...)

Changed

  • constructor interface to accept a single opts object instead of conf
  • class and name fields from log entries to type and app respectively
  • form-data file handling interface fields
  • response log entry to include request method along with path
  • socket object var name from client to ws on websocket handler args
  • main class name from AppServer ro Nodecaf
  • main exports to point directly to main class
  • rest assertions to now output any default request body
  • app.accept() to generate an accept middleware instead of setting global accept rules

Removed

  • app.onRouteError handler
  • app.name and app.version that are now always inferred from package.json
  • app.beforeStart and app.afterStop in favor of opts.startup and opts.shutdown respectively
  • express instance entirely
  • app.expose() method in favor of using app.global object directly
  • app.api() method in favor of opts.api
  • app.cookieSecret attribute in favor of setting conf cookie.secret
  • app.port attribute, use config port instead
  • error() handlers arg in favor of res.error()
  • assertions module from main export in favor of response object assertions
  • middleware accept setting
gcsboss
published 0.9.3 •

Changelog

Source

[v0.9.3] - 2020-08-07

Security

  • Fixed vulnerability on outdated version of express fileupload dependency
gcsboss
published 0.10.0-rc5 •

gcsboss
published 0.10.0-rc4 •

gcsboss
published 0.10.0-rc3 •

gcsboss
published 0.10.0-rc2 •

gcsboss
published 0.10.0-rc1 •

gcsboss
published 0.9.2-0 •

gcsboss
published 0.10.0-rc •

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