avancement planning

This commit is contained in:
2026-05-26 11:58:39 +02:00
parent 619a2b240a
commit 150b97cd2e
4892 changed files with 99214 additions and 429382 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
The MIT License (MIT)
Copyright 2014 Andrey Sitnik <andrey@sitnik.ru> and other contributors
Copyright 2014 Andrey Sitnik <andrey@sitnik.es> and other contributors
Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
+16 -17
View File
@@ -6,13 +6,13 @@
The config to share target browsers and Node.js versions between different
front-end tools. It is used in:
* [Autoprefixer]
* [Babel]
* [postcss-preset-env]
* [eslint-plugin-compat]
* [stylelint-no-unsupported-browser-features]
* [postcss-normalize]
* [obsolete-webpack-plugin]
- [Autoprefixer]
- [Babel]
- [postcss-preset-env]
- [eslint-plugin-compat]
- [stylelint-no-unsupported-browser-features]
- [postcss-normalize]
- [obsolete-webpack-plugin]
All tools will find target browsers automatically,
when you add the following to `package.json`:
@@ -50,16 +50,15 @@ You can check how config works at our playground: [`browsersl.ist`](https://brow
</div>
[stylelint-no-unsupported-browser-features]: https://github.com/ismay/stylelint-no-unsupported-browser-features
[obsolete-webpack-plugin]: https://github.com/ElemeFE/obsolete-webpack-plugin
[eslint-plugin-compat]: https://github.com/amilajack/eslint-plugin-compat
[Browserslist Example]: https://github.com/browserslist/browserslist-example
[postcss-preset-env]: https://github.com/csstools/postcss-plugins/tree/main/plugin-packs/postcss-preset-env
[postcss-normalize]: https://github.com/csstools/postcss-normalize
[`browsersl.ist`]: https://browsersl.ist/
[`caniuse-lite`]: https://github.com/ben-eb/caniuse-lite
[Autoprefixer]: https://github.com/postcss/autoprefixer
[Can I Use]: https://caniuse.com/
[Babel]: https://github.com/babel/babel/tree/master/packages/babel-preset-env
[obsolete-webpack-plugin]: https://github.com/ElemeFE/obsolete-webpack-plugin
[eslint-plugin-compat]: https://github.com/amilajack/eslint-plugin-compat
[postcss-preset-env]: https://github.com/csstools/postcss-plugins/tree/main/plugin-packs/postcss-preset-env
[postcss-normalize]: https://github.com/csstools/postcss-normalize
[`browsersl.ist`]: https://browsersl.ist/
[`caniuse-lite`]: https://github.com/ben-eb/caniuse-lite
[Autoprefixer]: https://github.com/postcss/autoprefixer
[Can I Use]: https://caniuse.com/
[Babel]: https://github.com/babel/babel/tree/master/packages/babel-preset-env
## Docs
Read full docs **[here](https://github.com/browserslist/browserslist#readme)**.
+18 -6
View File
@@ -255,10 +255,14 @@ function normalizeAndroidVersions(androidVersions, chromeVersions) {
.concat(chromeVersions.slice(iFirstEvergreen))
}
var DANGEROUS_KEYS = ['__proto__', 'constructor', 'prototype']
function copyObject(obj) {
var copy = {}
for (var key in obj) {
copy[key] = obj[key]
if (DANGEROUS_KEYS.indexOf(key) === -1) {
copy[key] = obj[key]
}
}
return copy
}
@@ -834,25 +838,29 @@ var QUERIES = {
baselineVersions = bbm.getCompatibleVersions({
targetYear: node.year,
includeDownstreamBrowsers: includeDownstream,
includeKaiOS: includeKaiOS
includeKaiOS: includeKaiOS,
suppressWarnings: true
})
} else if (node.date) {
baselineVersions = bbm.getCompatibleVersions({
widelyAvailableOnDate: node.date,
includeDownstreamBrowsers: includeDownstream,
includeKaiOS: includeKaiOS
includeKaiOS: includeKaiOS,
suppressWarnings: true
})
} else if (node.availability === 'newly') {
var future30months = new Date().setMonth(new Date().getMonth() + 30)
baselineVersions = bbm.getCompatibleVersions({
widelyAvailableOnDate: future30months,
includeDownstreamBrowsers: includeDownstream,
includeKaiOS: includeKaiOS
includeKaiOS: includeKaiOS,
suppressWarnings: true
})
} else {
baselineVersions = bbm.getCompatibleVersions({
includeDownstreamBrowsers: includeDownstream,
includeKaiOS: includeKaiOS
includeKaiOS: includeKaiOS,
suppressWarnings: true
})
}
return resolve(bbmTransform(baselineVersions), context)
@@ -1116,7 +1124,11 @@ var QUERIES = {
var data = checkName(node.browser, context)
var alias = browserslist.versionAliases[data.name][version.toLowerCase()]
if (alias) version = alias
if (!/[\d.]+/.test(version)) throw new BrowserslistError('Unknown version ' + version + ' of ' + node.browser);
if (!/[\d.]+/.test(version)) {
throw new BrowserslistError(
'Unknown version ' + version + ' of ' + node.browser
)
}
return data.released
.filter(generateFilter(node.sign, version))
.map(function (v) {
+16 -16
View File
@@ -1,12 +1,15 @@
{
"name": "browserslist",
"version": "4.28.0",
"version": "4.28.2",
"description": "Share target browsers between different front-end tools, like Autoprefixer, Stylelint and babel-env-preset",
"keywords": [
"caniuse",
"browsers",
"caniuse",
"target"
],
"license": "MIT",
"author": "Andrey Sitnik <andrey@sitnik.es>",
"repository": "browserslist/browserslist",
"funding": [
{
"type": "opencollective",
@@ -21,25 +24,22 @@
"url": "https://github.com/sponsors/ai"
}
],
"author": "Andrey Sitnik <andrey@sitnik.ru>",
"license": "MIT",
"repository": "browserslist/browserslist",
"dependencies": {
"baseline-browser-mapping": "^2.8.25",
"caniuse-lite": "^1.0.30001754",
"electron-to-chromium": "^1.5.249",
"node-releases": "^2.0.27",
"update-browserslist-db": "^1.1.4"
},
"engines": {
"node": "^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7"
},
"bin": {
"browserslist": "cli.js"
},
"types": "./index.d.ts",
"browser": {
"./node.js": "./browser.js",
"path": false
},
"types": "./index.d.ts",
"dependencies": {
"baseline-browser-mapping": "^2.10.12",
"caniuse-lite": "^1.0.30001782",
"electron-to-chromium": "^1.5.328",
"node-releases": "^2.0.36",
"update-browserslist-db": "^1.2.3"
},
"engines": {
"node": "^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7"
}
}