Socket
Socket
Sign inDemoInstall

assert-headers

Package Overview
Dependencies
4
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

1.0.1

Diff

Changelog

Source

[1.0.1] - 2021-05-24

Fixed

  • YAML configuration example in readme
wilderbeest
published 1.0.0 •

Changelog

Source

[1.0.0] - 2021-05-24

Added

  • CLI configuration can also be a YAML file
wilderbeest
published 0.1.2 •

Changelog

Source

[0.1.2] - 2021-05-20

Fixed

  • Configuration property for user-agent
wilderbeest
published 0.1.1 •

Changelog

Source

[0.1.1] - 2021-05-07

Fixed

  • Beef up the documentation
  • Fixed lint
wilderbeest
published 0.1.0 •

Changelog

Source

[0.1.0] - 2021-05-07

Added

  • assert-headers CLI command for asserting a response against a header schema
  • default export is an assertHeaders function for asserting a headers object against a schema
  • exports a named fromUrl method which makes an HTTP(S) request and asserts the response headers against a configuration
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