[dev] Use Baseline for browser support (#6213)

This commit is contained in:
zubiden 2025-09-19 14:34:31 +02:00 committed by Alexander Zinchuk
parent de1dd18f31
commit 9511bae1c4
3 changed files with 28 additions and 3 deletions

View File

@ -1 +0,0 @@
> 0.75%, not op_mini all, not and_uc > 0

19
package-lock.json generated
View File

@ -17,6 +17,7 @@
"@tauri-apps/plugin-updater": "^2.9.0",
"async-mutex": "^0.5.0",
"big-integer": "github:painor/BigInteger.js",
"browserslist-config-baseline": "^0.5.0",
"emoji-data-ios": "git+https://github.com/korenskoy/emoji-data-ios#443f1c9d7b16a82e7ee53f7f226d7d9a9920a105",
"idb-keyval": "^6.2.2",
"lowlight": "^3.3.0",
@ -7444,6 +7445,15 @@
],
"license": "MIT"
},
"node_modules/baseline-browser-mapping": {
"version": "2.8.1",
"resolved": "https://registry.npmjs.org/baseline-browser-mapping/-/baseline-browser-mapping-2.8.1.tgz",
"integrity": "sha512-SavoruNTKZVwwfML0iEwBBiOUUPPkYpP15TeLV0FlGeEuYtqHr4cZqhNWUdzAyHmdXHiETWe/Mznf+g9mUjPOQ==",
"license": "Apache-2.0",
"bin": {
"baseline-browser-mapping": "dist/cli.js"
}
},
"node_modules/batch": {
"version": "0.6.1",
"resolved": "https://registry.npmjs.org/batch/-/batch-0.6.1.tgz",
@ -7716,6 +7726,15 @@
"node": "^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7"
}
},
"node_modules/browserslist-config-baseline": {
"version": "0.5.0",
"resolved": "https://registry.npmjs.org/browserslist-config-baseline/-/browserslist-config-baseline-0.5.0.tgz",
"integrity": "sha512-TBB58g6MkqLiN7JPqkNWImFBpiybPDyMN6QeU7/Vb5J10eAyNEPQLj0HpFsTZZ+xyeFpCIz2qNdg0/xnrq929Q==",
"license": "Apache-2.0",
"dependencies": {
"baseline-browser-mapping": "^2.5.6"
}
},
"node_modules/bser": {
"version": "2.1.1",
"resolved": "https://registry.npmjs.org/bser/-/bser-2.1.1.tgz",

View File

@ -2,6 +2,8 @@
"name": "telegram-t",
"version": "10.9.73",
"description": "",
"author": "Alexander Zinchuk (alexander@zinchuk.com)",
"license": "GPL-3.0-or-later",
"type": "module",
"main": "index.js",
"scripts": {
@ -37,8 +39,6 @@
"*.{ts,tsx,js}": "eslint --fix",
"*.{css,scss}": "stylelint --fix"
},
"author": "Alexander Zinchuk (alexander@zinchuk.com)",
"license": "GPL-3.0-or-later",
"devDependencies": {
"@babel/core": "^7.27.4",
"@babel/preset-env": "^7.27.2",
@ -129,6 +129,7 @@
"@tauri-apps/plugin-updater": "^2.9.0",
"async-mutex": "^0.5.0",
"big-integer": "github:painor/BigInteger.js",
"browserslist-config-baseline": "^0.5.0",
"emoji-data-ios": "git+https://github.com/korenskoy/emoji-data-ios#443f1c9d7b16a82e7ee53f7f226d7d9a9920a105",
"idb-keyval": "^6.2.2",
"lowlight": "^3.3.0",
@ -143,5 +144,11 @@
"optionalDependencies": {
"dmg-license": "^1.0.11",
"fsevents": "^2.3.3"
},
"browserslist": [
"extends browserslist-config-baseline"
],
"browserslist-config-baseline": {
"logConfigToConsole": false
}
}