Skip to content

Commit

Permalink
Versions of the generated user-agents updated
Browse files Browse the repository at this point in the history
  • Loading branch information
tarampampam committed Jan 29, 2022
1 parent 78b185f commit df1767d
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 6 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
12 changes: 6 additions & 6 deletions src/useragent/versions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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},
}

Expand All @@ -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']},
}
Expand All @@ -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},
Expand Down Expand Up @@ -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},
}

Expand Down

0 comments on commit df1767d

Please sign in to comment.