Socket
Socket
Sign inDemoInstall

assert-headers

Package Overview
Dependencies
0
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.1.1 to 0.1.2

6

CHANGELOG.md

@@ -9,2 +9,8 @@ # Changelog

## [0.1.2] - 2021-05-20
### Fixed
- Configuration property for user-agent
## [0.1.1] - 2021-05-07

@@ -11,0 +17,0 @@

2

example-com-configuration.json
{
"user-agent": "assert-headers-node",
"userAgent": "assert-headers-node",
"origin": "https://example.com",

@@ -4,0 +4,0 @@ "schema": {

{
"name": "assert-headers",
"version": "0.1.1",
"version": "0.1.2",
"description": "Assert HTTP headers",

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

@@ -53,3 +53,3 @@ # assert-headers-node

{
"user-agent": "assert-headers-node",
"userAgent": "assert-headers-node",
"origin": "https://example.com",

@@ -120,3 +120,3 @@ "schema": {

const configuration {
'user-agent': 'Custom User Agent name',
'userAgent': 'Custom User Agent name',
origin: 'https://my-domain.com',

@@ -123,0 +123,0 @@ schema: {

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