mirror of
https://github.com/thiloho/archtika.git
synced 2025-11-22 02:41:35 +01:00
Update vite and replace escaped doublequotes with normal representation
This commit is contained in:
@@ -10,7 +10,7 @@ let
|
|||||||
web = buildNpmPackage {
|
web = buildNpmPackage {
|
||||||
name = "web-app";
|
name = "web-app";
|
||||||
src = ../web-app;
|
src = ../web-app;
|
||||||
npmDepsHash = "sha256-2udi8vLLvdoZxIyRKLOCfEpEMsooxsIrM1wiua1QPAI=";
|
npmDepsHash = "sha256-J58LwSEQa0p6J6h/wPhpGY/60n9a7TOV5WfNm4K1NH0=";
|
||||||
npmFlags = [ "--legacy-peer-deps" ];
|
npmFlags = [ "--legacy-peer-deps" ];
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
mkdir -p $out/web-app
|
mkdir -p $out/web-app
|
||||||
|
|||||||
8
web-app/package-lock.json
generated
8
web-app/package-lock.json
generated
@@ -36,7 +36,7 @@
|
|||||||
"svelte-check": "4.1.5",
|
"svelte-check": "4.1.5",
|
||||||
"typescript": "5.8.2",
|
"typescript": "5.8.2",
|
||||||
"typescript-eslint": "8.27.0",
|
"typescript-eslint": "8.27.0",
|
||||||
"vite": "6.2.2"
|
"vite": "6.2.5"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@ampproject/remapping": {
|
"node_modules/@ampproject/remapping": {
|
||||||
@@ -4575,9 +4575,9 @@
|
|||||||
"license": "MIT"
|
"license": "MIT"
|
||||||
},
|
},
|
||||||
"node_modules/vite": {
|
"node_modules/vite": {
|
||||||
"version": "6.2.2",
|
"version": "6.2.5",
|
||||||
"resolved": "https://registry.npmjs.org/vite/-/vite-6.2.2.tgz",
|
"resolved": "https://registry.npmjs.org/vite/-/vite-6.2.5.tgz",
|
||||||
"integrity": "sha512-yW7PeMM+LkDzc7CgJuRLMW2Jz0FxMOsVJ8Lv3gpgW9WLcb9cTW+121UEr1hvmfR7w3SegR5ItvYyzVz1vxNJgQ==",
|
"integrity": "sha512-j023J/hCAa4pRIUH6J9HemwYfjB5llR2Ps0CWeikOtdR8+pAURAk0DoJC5/mm9kd+UgdnIy7d6HE4EAvlYhPhA==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
|||||||
@@ -35,7 +35,7 @@
|
|||||||
"svelte-check": "4.1.5",
|
"svelte-check": "4.1.5",
|
||||||
"typescript": "5.8.2",
|
"typescript": "5.8.2",
|
||||||
"typescript-eslint": "8.27.0",
|
"typescript-eslint": "8.27.0",
|
||||||
"vite": "6.2.2"
|
"vite": "6.2.5"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"diff-match-patch": "1.0.5",
|
"diff-match-patch": "1.0.5",
|
||||||
|
|||||||
@@ -143,7 +143,7 @@
|
|||||||
{#if form?.logId === id && form?.currentDiff}
|
{#if form?.logId === id && form?.currentDiff}
|
||||||
<pre>{@html DOMPurify.sanitize(
|
<pre>{@html DOMPurify.sanitize(
|
||||||
// .replace takes escaped text representations of line breaks and converts them to real line breaks that render correctly in HTML
|
// .replace takes escaped text representations of line breaks and converts them to real line breaks that render correctly in HTML
|
||||||
form.currentDiff.replace(/\\r\\n|\\n|\\r/g, "\n"),
|
form.currentDiff.replace(/\\r\\n|\\n|\\r/g, "\n").replace(/\\\"/g, '"'),
|
||||||
{
|
{
|
||||||
ALLOWED_TAGS: ["ins", "del"]
|
ALLOWED_TAGS: ["ins", "del"]
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user