Socket
Socket
Sign inDemoInstall

autohost

Package Overview
Dependencies
171
Maintainers
4
Versions
110
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install
Previous1245
11Next

0.5.1

Diff

Changelog

Source

0.5.1

  • Bug fix - error results not getting rendered correctly from hyped
  • Change default error strategy to use an object with a message property to match other AH default responses
  • No longer return errors as message body (too dangerous a default behavior)
  • Add method property to httpEnvelope
  • Remove demo and dependencies on auth provider libraries
dougneiner
published 0.5.0 •

Changelog

Source

0.5.0

  • A query string value can no longer override a URL parameter (Matches behavior of the data object)
  • Correct issue where insufficient parameters were passed to authorize predicates in hyped
  • Default authorization (permission) checks to the end of all middleware
  • Allow a placeholder to control when authorization checks occur in middleware stacks
  • Return JSON { message: ... } for all error responses
  • Fix issue where express middleware that responds with an error code did not end HTTP stack evaluation
prestaul
published 0.4.7 •

Changelog

Source

0.4.7

  • Add authorize predicate to resource actions to support alternate authorization approach
prestaul
published 0.4.6 •

Changelog

Source

0.4.6

  • Add resource and action middleware abstraction
  • Minor corrections to existing README for previous features
arobson
published 0.4.5 •

Changelog

Source

0.4.5

Enhancement - getUserString is now shared as an overrideable global config option

arobson
published 0.4.4 •

Changelog

Source

0.4.4

Bug fix - getRoles was incorrectly being treated as error handling middleware

brian_edgerton
published 0.4.3 •

Changelog

Source

0.4.3

  • Add metadata to metrics to provide a unique name for each metric collected
  • Bug fix - prevent default metronic instance from being used when user provides one via config
arobson
published 0.4.2 •

Changelog

Source

0.4.2

  • Bug fix - authenticated users don't show up in access log correctly on consecutive calls
  • Remove authenticatedUser property from request
dougneiner
published 0.4.1 •

Changelog

Source

0.4.1

  • API Change - host now requires start to start the server
  • authProvider is now a config property
  • Bug fix - undefined config would throw an error instead of using all defaults
  • Bug fix - correct registration of system middleware as user middleware
  • Remove support for incorrectly nested user property on request object
  • Added support for handling generic errors
  • Support returning static files as error responses
  • Added aliases for anonymous middleware for better debug logging
  • Rework harness to rely on index
  • Expose harness via 'autohost/harness'
ifandelse
published 0.4.0 •

Changelog

Source

0.4.0

  • Improve control over session and session cookie configuration
  • Bug fix - socket.io adapter re-attached authentication middleware on every connection
  • Minor improvement to logging abstraction and updates to specs still using debug
  • Refactored module-level state out of modules
  • Support object literal syntax for resource action handles
  • Support custom error handling
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