From df1767defe781bd82095d7bd7dcbffe431adce90 Mon Sep 17 00:00:00 2001 From: Paramtamtam <7326800+tarampampam@users.noreply.github.com> Date: Sat, 29 Jan 2022 13:05:17 +0500 Subject: [PATCH] Versions of the generated user-agents updated --- CHANGELOG.md | 6 ++++++ src/useragent/versions.ts | 12 ++++++------ 2 files changed, 12 insertions(+), 6 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 663225de..2e396e41 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,12 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog][keepachangelog] and this project adheres to [Semantic Versioning][semver]. +## v3.6.0 + +### Changed + +- Versions of the generated user-agents + ## v3.5.0 ### Added diff --git a/src/useragent/versions.ts b/src/useragent/versions.ts index d276695a..0c0b5107 100644 --- a/src/useragent/versions.ts +++ b/src/useragent/versions.ts @@ -18,9 +18,9 @@ abstract class Version { export const randomChromeVersion = new class extends Version { // all versions: https://en.wikipedia.org/wiki/Google_Chrome_version_history private variants = { - major: {min: 95, max: 97}, // periodically we should update those values + major: {min: 96, max: 98}, // periodically we should update those values minor: {static: 0}, - patch: {min: 4638, max: 4692}, + patch: {min: 4664, max: 4758}, build: {min: 36, max: 212}, } @@ -37,7 +37,7 @@ export const randomChromeVersion = new class extends Version { export const randomFirefoxVersion = new class extends Version { // all versions: https://en.wikipedia.org/wiki/Firefox_version_history private variants = { - major: {min: 91, max: 98}, // periodically we should update those values + major: {min: 96, max: 101}, // periodically we should update those values minor: {static: 0}, patch: {variants: ['esr']}, } @@ -52,7 +52,7 @@ export const randomFirefoxVersion = new class extends Version { export const randomOperaVersion = new class extends Version { // all versions: https://en.wikipedia.org/wiki/Opera_version_history private variants = { - major: {min: 75, max: 80}, // periodically we should update those values + major: {min: 76, max: 83}, // periodically we should update those values minor: {static: 0}, patch: {min: 1889, max: 4170}, build: {min: 24, max: 198}, @@ -88,9 +88,9 @@ export const randomSafariVersion = new class extends Version { export const randomEdgeVersion = new class extends Version { // all versions: https://docs.microsoft.com/en-us/deployedge/microsoft-edge-relnote-stable-channel private variants = { - major: {min: 93, max: 96}, // periodically we should update those values + major: {min: 94, max: 97}, // periodically we should update those values minor: {static: 0}, - patch: {min: 864, max: 1020}, + patch: {min: 992, max: 1072}, build: {min: 0, max: 68}, }