Remove deprecated deps

This commit is contained in:
Jesse Hines 2026-05-16 12:18:27 -04:00
parent 81319895f7
commit 14f6fcdd07
No known key found for this signature in database
6 changed files with 78 additions and 4144 deletions

View file

@ -21,7 +21,7 @@ jobs:
- uses: actions/setup-node@v4
with:
node-version: "18.x"
node-version: "24.x"
- name: Build
run: |

View file

@ -28,7 +28,7 @@ jobs:
- uses: actions/setup-node@v4
with:
node-version: "22.x"
node-version: "24.x"
cache: 'npm'
- run: npm ci
@ -114,7 +114,7 @@ jobs:
# - name: Use Node.js
# uses: actions/setup-node@v4
# with:
# node-version: 22.x
# node-version: 24.x
# cache: 'npm'
# - run: npm ci

View file

@ -1,6 +1,6 @@
import esbuild from "esbuild";
import process from "process";
import builtins from "builtin-modules";
import { builtinModules } from "node:module";
const banner =
`/*
@ -31,7 +31,8 @@ const context = await esbuild.context({
"@lezer/common",
"@lezer/highlight",
"@lezer/lr",
...builtins],
...builtinModules,
],
format: "cjs",
target: "es2018",
logLevel: "info",

4198
package-lock.json generated

File diff suppressed because it is too large Load diff

View file

@ -29,14 +29,13 @@
"@wdio/spec-reporter": "^9.27.1",
"appium": "^3.4.2",
"appium-uiautomator2-driver": "^7.2.3",
"builtin-modules": "^5.2.0",
"chai": "^6.2.2",
"chai": "^6.2.2",
"deepmerge-ts": "^7.1.5",
"esbuild": "^0.28.0",
"eslint": "^10.3.0",
"eslint-plugin-obsidianmd": "^0.3.0",
"lodash.merge": "^4.6.2",
"mocha": "^11.7.5",
"npm-run-all": "^4.1.5",
"npm-run-all2": "^8.0.4",
"obsidian": "latest",
"obsidian-launcher": "^3.0.2",
"obsidian-typings": "^5.21.0",

View file

@ -1,6 +1,6 @@
import * as path from "path"
import { parseObsidianVersions, obsidianBetaAvailable } from "wdio-obsidian-service";
import merge from "lodash.merge";
import { deepmerge } from "deepmerge-ts";
import { env } from "process";
// wdio-obsidian-service will download Obsidian versions into this directory
@ -49,13 +49,13 @@ export const config: WebdriverIO.Config = {
// "matrix" to test your plugin on multiple Obsidian versions and with emulateMobile
capabilities: [
...desktopVersions.map(([appVersion, installerVersion]) => merge({}, common, {
...desktopVersions.map(([appVersion, installerVersion]) => deepmerge(common, {
'wdio:obsidianOptions': {
appVersion, installerVersion,
},
})),
// Test the plugin on the emulated mobile UI.
...mobileVersions.map(([appVersion, installerVersion]) => merge({}, common, {
...mobileVersions.map(([appVersion, installerVersion]) => deepmerge(common, {
'wdio:obsidianOptions': {
appVersion, installerVersion,
emulateMobile: true,