Skip to content

Commit

Permalink
Bump browserslist from 4.19.1 to 4.20.2 (#1483)
Browse files Browse the repository at this point in the history
* Bump browserslist from 4.19.1 to 4.20.2

Bumps [browserslist](https://github.com/browserslist/browserslist) from 4.19.1 to 4.20.2.
- [Release notes](https://github.com/browserslist/browserslist/releases)
- [Changelog](https://github.com/browserslist/browserslist/blob/main/CHANGELOG.md)
- [Commits](browserslist/browserslist@4.19.1...4.20.2)

---
updated-dependencies:
- dependency-name: browserslist
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* update snapshot from browserslist

* generate changeset

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Luke Sheard <me@lukesheard.com>
  • Loading branch information
dependabot[bot] and LukeSheard committed Apr 12, 2022
1 parent 878f8bc commit 0ddc974
Show file tree
Hide file tree
Showing 4 changed files with 29 additions and 32 deletions.
5 changes: 5 additions & 0 deletions .changeset/wild-crabs-obey.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'modular-scripts': patch
---

Bump browserslist from 4.19.1 to 4.20.2
2 changes: 1 addition & 1 deletion packages/modular-scripts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
"address": "1.1.2",
"babel-jest": "26.6.3",
"babel-preset-react-app": "10.0.1",
"browserslist": "4.19.1",
"browserslist": "4.20.2",
"builtin-modules": "3.2.0",
"case-sensitive-paths-webpack-plugin": "2.4.0",
"chalk": "4.1.2",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,13 @@ describe('createEsbuildBrowserslistTarget', () => {
);

const result = createEsbuildBrowserslistTarget(process.cwd());
expect(result).toEqual(['chrome97', 'firefox96', 'safari15.2']);
expect(result).toMatchInlineSnapshot(`
Array [
"chrome99",
"firefox98",
"safari15.4",
]
`);
});

it('filters out unsupported browsers', () => {
Expand All @@ -51,7 +57,13 @@ describe('createEsbuildBrowserslistTarget', () => {
);

const result = createEsbuildBrowserslistTarget(process.cwd());
expect(result).toEqual(['chrome97', 'firefox96', 'safari15.2']);
expect(result).toMatchInlineSnapshot(`
Array [
"chrome99",
"firefox98",
"safari15.4",
]
`);
});

it('filters out unsupported browser versions', () => {
Expand All @@ -70,6 +82,12 @@ describe('createEsbuildBrowserslistTarget', () => {
);

const result = createEsbuildBrowserslistTarget(process.cwd());
expect(result).toEqual(['chrome97', 'firefox96', 'safari15.2']);
expect(result).toMatchInlineSnapshot(`
Array [
"chrome99",
"firefox98",
"safari15.4",
]
`);
});
});
30 changes: 2 additions & 28 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3979,18 +3979,7 @@ browserify-zlib@^0.2.0:
dependencies:
pako "~1.0.5"

browserslist@4.19.1:
version "4.19.1"
resolved "https://registry.yarnpkg.com/browserslist/-/browserslist-4.19.1.tgz#4ac0435b35ab655896c31d53018b6dd5e9e4c9a3"
integrity sha512-u2tbbG5PdKRTUoctO3NBD8FQ5HdPh1ZXPHzp1rwaa5jTc+RV9/+RlWiAIKmjRPQF+xbGM9Kklj5bZQFa2s/38A==
dependencies:
caniuse-lite "^1.0.30001286"
electron-to-chromium "^1.4.17"
escalade "^3.1.1"
node-releases "^2.0.1"
picocolors "^1.0.0"

browserslist@^4.0.0, browserslist@^4.16.0, browserslist@^4.16.6, browserslist@^4.17.5, browserslist@^4.19.1, browserslist@^4.20.2, browserslist@^4.6.2:
browserslist@4.20.2, browserslist@^4.0.0, browserslist@^4.16.0, browserslist@^4.16.6, browserslist@^4.17.5, browserslist@^4.19.1, browserslist@^4.20.2, browserslist@^4.6.2:
version "4.20.2"
resolved "https://registry.yarnpkg.com/browserslist/-/browserslist-4.20.2.tgz#567b41508757ecd904dab4d1c646c612cd3d4f88"
integrity sha512-CQOBCqp/9pDvDbx3xfMi+86pr4KXIf2FDkTTdeuYw8OxS9t898LA1Khq57gtufFILXpfgsSx5woNgsBgvGjpsA==
Expand Down Expand Up @@ -4190,12 +4179,7 @@ caniuse-api@^3.0.0:
lodash.memoize "^4.1.2"
lodash.uniq "^4.5.0"

caniuse-lite@^1.0.0, caniuse-lite@^1.0.30001286:
version "1.0.30001300"
resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001300.tgz#11ab6c57d3eb6f964cba950401fd00a146786468"
integrity sha512-cVjiJHWGcNlJi8TZVKNMnvMid3Z3TTdDHmLDzlOdIiZq138Exvo0G+G0wTdVYolxKb4AYwC+38pxodiInVtJSA==

caniuse-lite@^1.0.30001317:
caniuse-lite@^1.0.0, caniuse-lite@^1.0.30001317:
version "1.0.30001319"
resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001319.tgz#eb4da4eb3ecdd409f7ba1907820061d56096e88f"
integrity sha512-xjlIAFHucBRSMUo1kb5D4LYgcN1M45qdKP++lhqowDpwJwGkpIRTt5qQqnhxjj1vHcI7nrJxWhCC1ATrCEBTcw==
Expand Down Expand Up @@ -5848,11 +5832,6 @@ ee-first@1.1.1:
resolved "https://registry.yarnpkg.com/ee-first/-/ee-first-1.1.1.tgz#590c61156b0ae2f4f0255732a158b266bc56b21d"
integrity sha1-WQxhFWsK4vTwJVcyoViyZrxWsh0=

electron-to-chromium@^1.4.17:
version "1.4.46"
resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.4.46.tgz#c88a6fedc766589826db0481602a888864ade1ca"
integrity sha512-UtV0xUA/dibCKKP2JMxOpDtXR74zABevuUEH4K0tvduFSIoxRVcYmQsbB51kXsFTX8MmOyWMt8tuZAlmDOqkrQ==

electron-to-chromium@^1.4.84:
version "1.4.88"
resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.4.88.tgz#ebe6a2573b563680c7a7bf3a51b9e465c9c501db"
Expand Down Expand Up @@ -9533,11 +9512,6 @@ node-notifier@^8.0.0:
uuid "^8.3.0"
which "^2.0.2"

node-releases@^2.0.1:
version "2.0.1"
resolved "https://registry.yarnpkg.com/node-releases/-/node-releases-2.0.1.tgz#3d1d395f204f1f2f29a54358b9fb678765ad2fc5"
integrity sha512-CqyzN6z7Q6aMeF/ktcMVTzhAHCEpf8SOarwpzpf8pNBY2k5/oM34UHldUwp8VKI7uxct2HxSRdJjBaZeESzcxA==

node-releases@^2.0.2:
version "2.0.2"
resolved "https://registry.yarnpkg.com/node-releases/-/node-releases-2.0.2.tgz#7139fe71e2f4f11b47d4d2986aaf8c48699e0c01"
Expand Down

0 comments on commit 0ddc974

Please sign in to comment.