Skip to content

Commit

Permalink
Bump the all-dependencies group with 2 updates (#417)
Browse files Browse the repository at this point in the history
* Bump the all-dependencies group with 2 updates

Bumps the all-dependencies group with 2 updates: [@mdn/browser-compat-data](https://github.com/mdn/browser-compat-data) and [postcss-preset-env](https://github.com/csstools/postcss-plugins/tree/HEAD/plugin-packs/postcss-preset-env).


Updates `@mdn/browser-compat-data` from 5.5.51 to 5.6.2
- [Release notes](https://github.com/mdn/browser-compat-data/releases)
- [Changelog](https://github.com/mdn/browser-compat-data/blob/main/RELEASE_NOTES.md)
- [Commits](mdn/browser-compat-data@v5.5.51...v5.6.2)

Updates `postcss-preset-env` from 10.0.3 to 10.0.5
- [Changelog](https://github.com/csstools/postcss-plugins/blob/main/plugin-packs/postcss-preset-env/CHANGELOG.md)
- [Commits](https://github.com/csstools/postcss-plugins/commits/HEAD/plugin-packs/postcss-preset-env)

---
updated-dependencies:
- dependency-name: "@mdn/browser-compat-data"
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: all-dependencies
- dependency-name: postcss-preset-env
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: all-dependencies
...

Signed-off-by: dependabot[bot] <[email protected]>

* add better support for webview_ios

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Romain Menke <[email protected]>
  • Loading branch information
dependabot[bot] and romainmenke authored Sep 24, 2024
1 parent 23d0cab commit 4dd734b
Show file tree
Hide file tree
Showing 8 changed files with 275 additions and 157 deletions.
171 changes: 114 additions & 57 deletions cssdb.json

Large diffs are not rendered by default.

171 changes: 114 additions & 57 deletions cssdb.mjs

Large diffs are not rendered by default.

67 changes: 27 additions & 40 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,13 +61,13 @@
"test:doc-links": "node tasks/check-doc-links.mjs"
},
"devDependencies": {
"@mdn/browser-compat-data": "^5.5.51",
"@mdn/browser-compat-data": "^5.6.2",
"browserslist": "^4.23.3",
"glob": "^11.0.0",
"lodash.get": "^4.4.2",
"postcss": "^8.4.47",
"postcss-cli": "^11.0.0",
"postcss-preset-env": "^10.0.3",
"postcss-preset-env": "^10.0.5",
"semver": "^7.6.3",
"stylelint": "^16.9.0",
"stylelint-config-standard": "^36.0.1",
Expand Down
3 changes: 3 additions & 0 deletions public/images/browsers/webview_android.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions public/images/browsers/webview_ios.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 6 additions & 1 deletion src/components/feature-support-stats.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@ const browsers = {
'and_uc': 'UC Mobile for Android',
'and_chr': 'Chrome for Android',
'and_ff': 'Firefox for Android',
'and_qq': 'QQ Browserr',
'and_qq': 'QQ Browser',
'webview_ios': 'WKWebview on iOS',
'webview_android': 'Android WebView'
};

// Similar order as MDN
Expand All @@ -27,6 +29,9 @@ const browser_order = [
"android",
// Headset
"oculus",
// Webviews
'webview_android',
'webview_ios',
];

export function renderFeatureSupportStats(title, feature) {
Expand Down
8 changes: 8 additions & 0 deletions src/styles/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -551,6 +551,14 @@ img {
}
}

.cssdb-browser--webview_ios::before {
content: url("/images/browsers/webview_ios.svg");
}

.cssdb-browser--webview_android::before {
content: url("/images/browsers/webview_android.svg");
}

/* Process
/* ========================================================================== */

Expand Down

0 comments on commit 4dd734b

Please sign in to comment.