chore: resolve review warnings

This commit is contained in:
Vitovt 2026-05-19 22:25:25 +03:00
parent 8a1622025e
commit bc4a05b697
4 changed files with 6 additions and 21 deletions

View file

@ -1,5 +1,5 @@
import esbuild from "esbuild";
import builtins from "builtin-modules";
import { builtinModules } from "node:module";
const production = process.argv[2] === "production";
@ -20,7 +20,7 @@ await esbuild.build({
"@lezer/common",
"@lezer/highlight",
"@lezer/lr",
...builtins
...builtinModules
],
format: "cjs",
target: "es2018",

14
package-lock.json generated
View file

@ -10,7 +10,6 @@
"license": "MIT",
"devDependencies": {
"@typescript-eslint/parser": "^8.32.1",
"builtin-modules": "^5.0.0",
"esbuild": "^0.25.4",
"eslint": "^9.27.0",
"eslint-plugin-obsidianmd": "^0.3.0",
@ -1413,19 +1412,6 @@
"node": "18 || 20 || >=22"
}
},
"node_modules/builtin-modules": {
"version": "5.2.0",
"resolved": "https://registry.npmjs.org/builtin-modules/-/builtin-modules-5.2.0.tgz",
"integrity": "sha512-02yxLeyxF4dNl6SlY6/5HfRSrSdZ/sCPoxy2kZNP5dZZX8LSAD9aE2gtJIUgWrsQTiMPl3mxESyrobSwvRGisQ==",
"dev": true,
"license": "MIT",
"engines": {
"node": ">=18.20"
},
"funding": {
"url": "https://github.com/sponsors/sindresorhus"
}
},
"node_modules/call-bind": {
"version": "1.0.9",
"resolved": "https://registry.npmjs.org/call-bind/-/call-bind-1.0.9.tgz",

View file

@ -19,7 +19,6 @@
"license": "MIT",
"devDependencies": {
"@typescript-eslint/parser": "^8.32.1",
"builtin-modules": "^5.0.0",
"esbuild": "^0.25.4",
"eslint": "^9.27.0",
"eslint-plugin-obsidianmd": "^0.3.0",

View file

@ -166,12 +166,12 @@
flex: 0 0 auto;
}
.csv-codeblock--zebra .csv-codeblock__table tbody tr:nth-child(odd) > td {
background-color: var(--background-primary-alt, var(--background-primary)) !important;
.csv-codeblock.csv-codeblock--zebra .csv-codeblock__table > tbody > tr:nth-child(odd) > td {
background-color: var(--background-primary-alt, var(--background-primary));
}
.csv-codeblock--zebra .csv-codeblock__table tbody tr:nth-child(even) > td {
background-color: var(--background-secondary-alt, var(--background-secondary)) !important;
.csv-codeblock.csv-codeblock--zebra .csv-codeblock__table > tbody > tr:nth-child(even) > td {
background-color: var(--background-secondary-alt, var(--background-secondary));
}
.csv-codeblock__header-filter-row th {