New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

header-generator

Package Overview
Dependencies
Maintainers
2
Versions
123
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 2.1.0 to 2.1.1

4

header-generator.js

@@ -69,5 +69,5 @@ "use strict";

});
(0, ow_1.default)(options, 'HeaderGeneratorOptions', ow_1.default.object.exactShape(exports.headerGeneratorOptionsShape));
(0, ow_1.default)(options, 'HeaderGeneratorOptions', ow_1.default.object.partialShape(exports.headerGeneratorOptionsShape));
// Use a default setup when the necessary values are not provided
const { browsers = constants_1.SUPPORTED_BROWSERS, operatingSystems = constants_1.SUPPORTED_OPERATING_SYSTEMS, devices = [constants_1.SUPPORTED_DEVICES[0]], locales = ['en-US'], httpVersion = '2', browserListQuery = '', } = options;
const { browsers = constants_1.SUPPORTED_BROWSERS, operatingSystems = constants_1.SUPPORTED_OPERATING_SYSTEMS, devices = ['desktop'], locales = ['en-US'], httpVersion = '2', browserListQuery = '', } = options;
this.globalOptions = {

@@ -74,0 +74,0 @@ browsers: this._prepareBrowsersConfig(browsers, browserListQuery, httpVersion),

{
"name": "header-generator",
"version": "2.1.0",
"version": "2.1.1",
"description": "NodeJS package for generating realistic browser-like HTTP headers.",

@@ -27,3 +27,3 @@ "author": {

"browserslist": "^4.21.1",
"generative-bayesian-network": "^2.1.0",
"generative-bayesian-network": "^2.1.1",
"ow": "^0.28.1",

@@ -46,3 +46,3 @@ "tslib": "^2.4.0"

},
"gitHead": "e8d1869ed2d0bda0b6aeabe4339de6378013cf25"
"gitHead": "732b9e394be58a0c7e9fbbc2e389502ef2d51db9"
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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