Skip to content
Snippets Groups Projects
Verified Commit 8193f5d9 authored by Jan Loewe's avatar Jan Loewe :speech_balloon:
Browse files

chore(pkg): upgrade deps

parent fa0f1d68
Branches
Tags
No related merge requests found
Pipeline #34094 failed
image: node:18 image: node:20
stages: stages:
......
compressionLevel: mixed
enableGlobalCache: false
nodeLinker: node-modules nodeLinker: node-modules
npmScopes: npmScopes:
......
/* eslint-disable */ /* eslint-disable */
/* prettier-ignore */ /* prettier-ignore */
// @ts-nocheck // @ts-nocheck
// noinspection JSUnusedGlobalSymbols
// Generated by unplugin-auto-import // Generated by unplugin-auto-import
export {} export {}
declare global { declare global {
......
...@@ -25,23 +25,23 @@ ...@@ -25,23 +25,23 @@
"xml-js": "^1.6.11" "xml-js": "^1.6.11"
}, },
"devDependencies": { "devDependencies": {
"@types/node": "^18.16.18", "@types/node": "^20.11.19",
"@typescript-eslint/eslint-plugin": "^5.60.1", "@typescript-eslint/eslint-plugin": "^7.0.2",
"@typescript-eslint/parser": "^5.60.1", "@typescript-eslint/parser": "^7.0.2",
"@vitest/coverage-istanbul": "^0.32.2", "@vitest/coverage-istanbul": "^1.3.1",
"@vitest/ui": "^0.32.4", "@vitest/ui": "^1.3.1",
"concurrently": "^8.2.0", "concurrently": "^8.2.2",
"eslint": "^8.43.0", "eslint": "^8.56.0",
"eslint-config-prettier": "^8.8.0", "eslint-config-prettier": "^9.1.0",
"fast-check": "^3.10.0", "fast-check": "^3.15.1",
"jsdom": "^22.1.0", "jsdom": "^24.0.0",
"lodash": "^4.17.21", "lodash": "^4.17.21",
"prettier": "^2.8.8", "prettier": "^3.2.5",
"ts-node": "^10.9.1", "ts-node": "^10.9.2",
"typescript": "^5.1.6", "typescript": "^5.3.3",
"unplugin-auto-import": "^0.16.4", "unplugin-auto-import": "^0.17.5",
"vite": "^4.3.9", "vite": "^5.1.4",
"vitest": "^0.32.2", "vitest": "^1.3.1",
"vitest-environment-custom": "link:./tests/vitest-environment-custom", "vitest-environment-custom": "link:./tests/vitest-environment-custom",
"xpath-ts": "^1.3.13" "xpath-ts": "^1.3.13"
}, },
...@@ -55,5 +55,5 @@ ...@@ -55,5 +55,5 @@
"LICENSE", "LICENSE",
"README.md" "README.md"
], ],
"packageManager": "yarn@3.5.0" "packageManager": "yarn@4.1.0"
} }
...@@ -23,8 +23,9 @@ async function readFile(path: string) { ...@@ -23,8 +23,9 @@ async function readFile(path: string) {
} }
} }
export default <Environment>{ export default <Environment>({
name: "custom", name: "custom",
transformMode: "web",
async setup(global, { custom }: Options) { async setup(global, { custom }: Options) {
const env = builtinEnvironments["node"]; const env = builtinEnvironments["node"];
const envReturn = await env.setup(global, {}); const envReturn = await env.setup(global, {});
...@@ -34,7 +35,7 @@ export default <Environment>{ ...@@ -34,7 +35,7 @@ export default <Environment>{
return { return {
xml, xml,
dcc: xml ? DCCDocument.fromXml(xml) : DCCDocument.createEmpty(), dcc: xml ? DCCDocument.fromXml(xml) : DCCDocument.createEmpty(),
dom: new JSDOM(xml, { contentType: "application/xml" }), dom: new JSDOM(xml, { url: "http://localhost:3000", contentType: "application/xml" }),
}; };
}; };
...@@ -45,4 +46,4 @@ export default <Environment>{ ...@@ -45,4 +46,4 @@ export default <Environment>{
}, },
}; };
}, },
}; });
File moved
File suppressed by a .gitattributes entry or the file's encoding is unsupported.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment