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

header-generator

Package Overview
Dependencies
Maintainers
2
Versions
120
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

header-generator - npm Package Compare versions

Comparing version 1.1.0-beta.0 to 1.1.0-beta.1

2

package.json
{
"name": "header-generator",
"version": "1.1.0-beta.0",
"version": "1.1.0-beta.1",
"description": "NodeJs package for generating browser-like headers.",

@@ -5,0 +5,0 @@ "author": {

@@ -118,2 +118,6 @@ const { BayesianNetwork } = require('generative-bayesian-network');

if (!browser) {
return [];
}
return headersOrder[browser];

@@ -120,0 +124,0 @@ }

@@ -14,2 +14,6 @@ const getUserAgent = (headers) => {

const getBrowser = (userAgent) => {
if (!userAgent) {
return;
}
let browser;

@@ -16,0 +20,0 @@ if (userAgent.includes('Firefox')) {

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