From 530566d394186aa228e52946e0d1414fd4077b48 Mon Sep 17 00:00:00 2001 From: Paramtamtam <7326800+tarampampam@users.noreply.github.com> Date: Sun, 12 Jun 2022 12:52:45 +0400 Subject: [PATCH] Versions updated --- CHANGELOG.md | 6 ++++++ src/useragent/versions.ts | 10 +++++----- 2 files changed, 11 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8dfd5872..1fc4b539 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.8.0 + +### Changed + +- Versions of the generated user-agents + ## v3.7.0 ### Changed diff --git a/src/useragent/versions.ts b/src/useragent/versions.ts index 59d3eff9..73747ba9 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: 99, max: 101}, // periodically we should update those values + major: {min: 101, max: 104}, // periodically we should update those values minor: {static: 0}, - patch: {min: 4844, max: 4896}, + patch: {min: 4951, max: 5162}, build: {min: 80, 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: 98, max: 105}, // periodically we should update those values + major: {min: 99, max: 109}, // periodically we should update those values minor: {static: 0}, patch: {variants: ['esr']}, } @@ -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: 96, max: 99}, // periodically we should update those values + major: {min: 99, max: 102}, // periodically we should update those values minor: {static: 0}, - patch: {min: 1054, max: 1150}, + patch: {min: 1185, max: 1210}, build: {min: 0, max: 75}, }