Skip to content

Commit

Permalink
Versions updated
Browse files Browse the repository at this point in the history
  • Loading branch information
tarampampam committed Jun 12, 2022
1 parent 9196d18 commit 530566d
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 5 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.8.0

### Changed

- Versions of the generated user-agents

## v3.7.0

### Changed
Expand Down
10 changes: 5 additions & 5 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: 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},
}

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: 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']},
}
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: 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},
}

Expand Down

0 comments on commit 530566d

Please sign in to comment.