Upgrade packages

This commit is contained in:
Emmanuel 2023-08-05 21:50:39 +02:00
parent cccb3ed4b5
commit ddb623caa6
6 changed files with 57 additions and 47 deletions

View file

@ -7,6 +7,6 @@ node_modules
!/example.env
# Ignore files for PNPM, NPM and YARN
pnpm-lock.yaml
package-lock.json
pnpm-lock.yaml
yarn.lock

View file

@ -4,7 +4,7 @@
By: Emmanuel Raviart <mailto:emmanuel@raviart.com>
Copyright (C) 2022 Emmanuel Raviart
Copyright (C) 2022, 2023 Emmanuel Raviart
https://git.en-root.org/tricoteuses/tricoteuses-legal-explorer

84
package-lock.json generated
View file

@ -10,7 +10,7 @@
"license": "AGPL-3.0-or-later",
"dependencies": {
"@auditors/core": "^0.6.0",
"@tricoteuses/explorer-tools": "^0.3.0",
"@tricoteuses/explorer-tools": "^0.4.1",
"fast-xml-parser": "^4.2.2",
"he": "^1.2.0"
},
@ -27,7 +27,7 @@
"@types/papaparse": "^5.3.7",
"@typescript-eslint/eslint-plugin": "^6.1.0",
"@typescript-eslint/parser": "^6.1.0",
"augmented-data-viewer": "^0.2.0",
"augmented-data-viewer": "^0.3.0",
"autoprefixer": "^10.4.7",
"daisyui": "^3.2.1",
"dotenv": "^16.0.1",
@ -586,9 +586,9 @@
"dev": true
},
"node_modules/@iconify-icons/codicon": {
"version": "1.2.25",
"resolved": "https://registry.npmjs.org/@iconify-icons/codicon/-/codicon-1.2.25.tgz",
"integrity": "sha512-LSrQgwsTUsdF0HI/xlicnBQp+BpkddRDo9PtPdkEbH2gi4kkMeK3C5JLoc4P0+x+pH13Xz3FmOrE++9vvXOGag==",
"version": "1.2.26",
"resolved": "https://registry.npmjs.org/@iconify-icons/codicon/-/codicon-1.2.26.tgz",
"integrity": "sha512-UPqkpSIQx5n3RKvRtFo9HsIEKoxE2rC/qgifr+4BqWsJwtiUAP+i12ZCznADkcxRyO+1daRIngo2wYNzvD0CfA==",
"dependencies": {
"@iconify/types": "*"
}
@ -1079,13 +1079,17 @@
}
},
"node_modules/@tricoteuses/explorer-tools": {
"version": "0.3.0",
"resolved": "https://registry.npmjs.org/@tricoteuses/explorer-tools/-/explorer-tools-0.3.0.tgz",
"integrity": "sha512-uELod35chBp8dG/73snMrDeWcIAALxEW0PgRO8JdeedXjzow8GI5IGiI1cX9yFNqHsGh7H62imZAafxr8egatw==",
"version": "0.4.1",
"resolved": "https://registry.npmjs.org/@tricoteuses/explorer-tools/-/explorer-tools-0.4.1.tgz",
"integrity": "sha512-ZihKe/46Ibb4MKQ0AlfcBupXAnK+GkwcUAS63oG98Zd38aCg6Moq4z+SOBv55nADBCOSr4ytwBfB4Lb2qOzHAA==",
"dependencies": {
"@iconify-icons/codicon": "^1.2.15",
"augmented-data-viewer": "^0.2.0",
"augmented-data-viewer": "^0.3.0",
"iconify-icon": "^1.0.3"
},
"peerDependencies": {
"@sveltejs/kit": "^1.21.0",
"svelte": "^4.1.2"
}
},
"node_modules/@types/cookie": {
@ -1146,9 +1150,9 @@
}
},
"node_modules/@types/node": {
"version": "20.4.6",
"resolved": "https://registry.npmjs.org/@types/node/-/node-20.4.6.tgz",
"integrity": "sha512-q0RkvNgMweWWIvSMDiXhflGUKMdIxBo2M2tYM/0kEGDueQByFzK4KZAgu5YHGFNxziTlppNpTIBcqHQAxlfHdA==",
"version": "20.4.7",
"resolved": "https://registry.npmjs.org/@types/node/-/node-20.4.7.tgz",
"integrity": "sha512-bUBrPjEry2QUTsnuEjzjbS7voGWCc30W0qzgMf90GPeDGFRakvrz47ju+oqDAKCXLUCe39u57/ORMl/O/04/9g==",
"devOptional": true
},
"node_modules/@types/papaparse": {
@ -1536,12 +1540,16 @@
"dev": true
},
"node_modules/augmented-data-viewer": {
"version": "0.2.0",
"resolved": "https://registry.npmjs.org/augmented-data-viewer/-/augmented-data-viewer-0.2.0.tgz",
"integrity": "sha512-EsDxocTYCXJgDn3CiSqIjmCbbNaHimlQQ+ZMyQtkNDuF1FKhCOFCfgrV45+WDaVIEefmFGZfW7qFrHlve6jrbQ==",
"version": "0.3.0",
"resolved": "https://registry.npmjs.org/augmented-data-viewer/-/augmented-data-viewer-0.3.0.tgz",
"integrity": "sha512-dk8pwOPmDDDhcuUTQrmJ/VMIr8gi0FXhR9YYzRYOWFlQM6w0TwFNYql9eHWQao/f1pNpOnZkhV2G8cmZU+NKsA==",
"dependencies": {
"@iconify-icons/codicon": "^1.2.15",
"iconify-icon": "^1.0.3"
},
"peerDependencies": {
"@sveltejs/kit": "^1.21.0",
"svelte": "^4.1.2"
}
},
"node_modules/autoprefixer": {
@ -2022,9 +2030,9 @@
}
},
"node_modules/daisyui": {
"version": "3.5.0",
"resolved": "https://registry.npmjs.org/daisyui/-/daisyui-3.5.0.tgz",
"integrity": "sha512-wSaeXwaYdMv4yURv9wj7kKQQN9Jyumfh/skIpZfCNkCb2jLf/so+iNKSM8l4rDN0TRvB5OccMlAvsf2UAtk2gg==",
"version": "3.5.1",
"resolved": "https://registry.npmjs.org/daisyui/-/daisyui-3.5.1.tgz",
"integrity": "sha512-7GG+9QXnr2qQMCqnyFU8TxpaOYJigXiEtmzoivmiiZZHvxqIwYdaMAkgivqTVxEgy3Hot3m1suzZjmt1zUrvmA==",
"dev": true,
"dependencies": {
"colord": "^2.9",
@ -2349,9 +2357,9 @@
"dev": true
},
"node_modules/electron-to-chromium": {
"version": "1.4.482",
"resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.482.tgz",
"integrity": "sha512-h+UqpfmEr1Qkk0zp7ej/jid7CXoq4m4QzW6wNTb0ELJ/BZCpA4wgUylBIMGCe621tnr4l5VmoHjdoSx2lbnNJA==",
"version": "1.4.485",
"resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.485.tgz",
"integrity": "sha512-1ndQ5IBNEnFirPwvyud69GHL+31FkE09gH/CJ6m3KCbkx3i0EVOrjwz4UNxRmN9H8OVHbC6vMRZGN1yCvjSs9w==",
"dev": true
},
"node_modules/emoji-regex": {
@ -3542,9 +3550,9 @@
}
},
"node_modules/is-core-module": {
"version": "2.12.1",
"resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.12.1.tgz",
"integrity": "sha512-Q4ZuBAe2FUsKtyQJoQHlvP8OvBERxO3jEmy1I7hcRXcJBGGHFh/aJBswbXuS9sgrDH2QUO8ilkwNPHvHMd8clg==",
"version": "2.13.0",
"resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.13.0.tgz",
"integrity": "sha512-Z7dk6Qo8pOCp3l4tsX2C5ZVas4V+UxwQodwZhLopL91TX8UyyHEXafPcyoeeWuLrwzHcr3igO78wNLwHJHsMCQ==",
"dev": true,
"dependencies": {
"has": "^1.0.3"
@ -5088,12 +5096,12 @@
"dev": true
},
"node_modules/resolve": {
"version": "1.22.2",
"resolved": "https://registry.npmjs.org/resolve/-/resolve-1.22.2.tgz",
"integrity": "sha512-Sb+mjNHOULsBv818T40qSPeRiuWLyaGMa5ewydRLFimneixmVy2zdivRl+AF6jaYPC8ERxGDmFSiqui6SfPd+g==",
"version": "1.22.4",
"resolved": "https://registry.npmjs.org/resolve/-/resolve-1.22.4.tgz",
"integrity": "sha512-PXNdCiPqDqeUou+w1C2eTQbNfxKSuMxqTCuvlmmMsk1NWHL5fRrhY6Pl0qEYYc6+QqGClco1Qj8XnjPego4wfg==",
"dev": true,
"dependencies": {
"is-core-module": "^2.11.0",
"is-core-module": "^2.13.0",
"path-parse": "^1.0.7",
"supports-preserve-symlinks-flag": "^1.0.0"
},
@ -5168,9 +5176,9 @@
}
},
"node_modules/rollup": {
"version": "3.27.1",
"resolved": "https://registry.npmjs.org/rollup/-/rollup-3.27.1.tgz",
"integrity": "sha512-tXNDFwOkN6C2w5Blj1g6ForKeFw6c1mDu5jxoeDO3/pmYjgt+8yvIFjKzH5FQUq70OKZBkOt0zzv0THXL7vwzQ==",
"version": "3.27.2",
"resolved": "https://registry.npmjs.org/rollup/-/rollup-3.27.2.tgz",
"integrity": "sha512-YGwmHf7h2oUHkVBT248x0yt6vZkYQ3/rvE5iQuVBh3WO8GcJ6BNeOkpoX1yMHIiBm18EMLjBPIoUDkhgnyxGOQ==",
"bin": {
"rollup": "dist/bin/rollup"
},
@ -5736,15 +5744,15 @@
}
},
"node_modules/svelte-hmr": {
"version": "0.15.2",
"resolved": "https://registry.npmjs.org/svelte-hmr/-/svelte-hmr-0.15.2.tgz",
"integrity": "sha512-q/bAruCvFLwvNbeE1x3n37TYFb3mTBJ6TrCq6p2CoFbSTNhDE9oAtEfpy+wmc9So8AG0Tja+X0/mJzX9tSfvIg==",
"version": "0.15.3",
"resolved": "https://registry.npmjs.org/svelte-hmr/-/svelte-hmr-0.15.3.tgz",
"integrity": "sha512-41snaPswvSf8TJUhlkoJBekRrABDXDMdpNpT2tfHIv4JuhgvHqLMhEPGtaQn0BmbNSTkuz2Ed20DF2eHw0SmBQ==",
"peer": true,
"engines": {
"node": "^12.20 || ^14.13.1 || >= 16"
},
"peerDependencies": {
"svelte": "^3.19.0 || ^4.0.0-next.0"
"svelte": "^3.19.0 || ^4.0.0"
}
},
"node_modules/svelte-preprocess": {
@ -6971,9 +6979,9 @@
}
},
"node_modules/zx/node_modules/@types/node": {
"version": "18.17.1",
"resolved": "https://registry.npmjs.org/@types/node/-/node-18.17.1.tgz",
"integrity": "sha512-xlR1jahfizdplZYRU59JlUx9uzF1ARa8jbhM11ccpCJya8kvos5jwdm2ZAgxSCwOl0fq21svP18EVwPBXMQudw==",
"version": "18.17.2",
"resolved": "https://registry.npmjs.org/@types/node/-/node-18.17.2.tgz",
"integrity": "sha512-wBo3KqP/PBqje5TI9UTiuL3yWfP6sdPtjtygSOqcYZWT232dfDeDOnkDps5wqZBP9NgGgYrNejinl0faAuE+HQ==",
"dev": true
},
"node_modules/zx/node_modules/chalk": {

View file

@ -15,9 +15,9 @@
"check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch",
"configure": "tsx src/scripts/configure.ts",
"dev": "vite dev",
"format": "prettier --plugin-search-dir . --write .",
"lint": "prettier --check --plugin-search-dir . . && eslint .",
"package": "svelte-kit sync && svelte-package -o package",
"format": "prettier --plugin=prettier-plugin-svelte --write .",
"lint": "prettier --check --plugin=prettier-plugin-svelte . && eslint .",
"package": "svelte-kit sync && svelte-package",
"preview": "vite preview",
"test": "playwright test"
},
@ -43,7 +43,7 @@
},
"dependencies": {
"@auditors/core": "^0.6.0",
"@tricoteuses/explorer-tools": "^0.3.0",
"@tricoteuses/explorer-tools": "^0.4.1",
"fast-xml-parser": "^4.2.2",
"he": "^1.2.0"
},
@ -60,7 +60,7 @@
"@types/papaparse": "^5.3.7",
"@typescript-eslint/eslint-plugin": "^6.1.0",
"@typescript-eslint/parser": "^6.1.0",
"augmented-data-viewer": "^0.2.0",
"augmented-data-viewer": "^0.3.0",
"autoprefixer": "^10.4.7",
"daisyui": "^3.2.1",
"dotenv": "^16.0.1",

View file

@ -11,7 +11,7 @@ const config = {
// Consult https://kit.svelte.dev/docs/integrations#preprocessors
// for more information about preprocessors
preprocess: vitePreprocess(),
preprocess: [vitePreprocess({})],
}
export default config

View file

@ -2,5 +2,7 @@ import { expect, test } from "@playwright/test"
test("index page has expected h1", async ({ page }) => {
await page.goto("/")
expect(await page.textContent("h1")).toBe("Welcome to SvelteKit")
await expect(
page.getByRole("heading", { name: "Welcome to SvelteKit" }),
).toBeVisible()
})