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
67

0.7.4

Diff

Changelog

Source

[v0.7.4] - 2019-07-22

Added

  • option to disable all request body parsing

Removed

  • ability to set up app name and version through config files
gcsboss
published 0.7.3 •

Changelog

Source

[v0.7.3] - 2019-07-16

Changed

  • minor details in cli outputs due to internal library changes (eclipt, ejs)

Removed

  • deprecated conf param from the main.js generated by nodecaf init
  • -o, --outfile option of nodecaf openapi in favor of a positional argument
gcsboss
published 0.7.2 •

Changelog

Source

[v0.7.2] - 2019-07-09

Fixed

  • bug when filtering requests with charset on content-type
gcsboss
published 0.7.1 •

Changelog

Source

[v0.7.1] - 2019-07-08

Added

  • a function to apply config files on top of each other

Fixed

  • type filtering to not require content-type from requests without body

Changed

  • parser to ignore request body when no content-length is present

Removed

  • the settings argument that used to be passed to user init function
gcsboss
published 0.7.0 •

Changelog

Source

[v0.7.0] - 2019-07-07

Added

  • support for YAML config files
  • app method to filter requests by body content-type app-wide
  • top-level function to define per-route content-type filtering rules
  • default generic request body description to open api doc operations
  • accepted mime-types to operation request body api doc
  • global CLI help command to list available commands and usage
  • CLI command to output version of the globally installed Nodecaf
  • --no-optional flag to install command output by nodecaf init

Fixed

  • CLI error: unknown type "as-is" on cli options
  • CLI init error when lib or bin directory already exists

Changed

  • error messages to not be JSON by default
gcsboss
published 0.6.0 •

Changelog

Source

[v0.6.0] - 2019-06-24

Added

  • parameters for project name and directory to cli init command
  • version setting to app class
  • functions to describe/document your api
  • cli command to generate Open API compatible documentation (nodecat openapi)
  • HTTPS support through setting
  • error log entry for uncaught route errors
  • log entry for uncaught errors that crash the server process
  • complete functionality documentation to readme

Fixed

  • the cli commands to not share the same parameters
  • deprecation warning because of old Express del command
  • route not found error output as HTML
  • log level setting (now it works)
  • handling of rejected promises to output a clean message

Changed

  • routemethod was renamed to api
  • cli init to henerate routing in a seperate api.js file
  • error handling interface and use express built-in functionality
gcsboss
published 0.5.3 •

Changelog

Source

[v0.5.3] - 2019-06-13

Added

  • missing default message for REST errors thrown from assertions

Fixed

  • code generation error standard

Changed

  • code generation to use spaces instead of tabs
gcsboss
published 0.5.2 •

Changelog

Source

[v0.5.2] - 2019-06-12

Added

  • missing default message for REST errors thrown as strings
  • missing options for conf file generation with cli init

Fixed

  • user error handler not being executed when headers were already sent
  • undefined server name being shown when terminating from command line
gcsboss
published 0.5.1 •

Changelog

Source

[v0.5.1] - 2019-06-11

Added

  • log warning when an error happens after the response haders have been sent

Changed

  • Logger now serializes 'req' key as a node request object

Fixed

  • Fixed undefined app name field being shown when running from command line
  • Fixed undefined error on subsequent close calls
gcsboss
published 0.5.0 •

Changelog

Source

[v0.5.0] - 2019-06-10

  • Renamed project to Nodecaf

Added

  • path field to request log entry

Changed

  • Moved from Restify to Express for the internal route server
  • conf file generation to create parent directories if needed

Fixed

  • Fixed server to correctly await start and close events
1
67
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