1
0
Fork 0
mirror of https://github.com/mat-1/matdoesdev.git synced 2025-08-02 06:36:04 +00:00

use yarn patch instead of patch-package

This commit is contained in:
mat 2024-06-10 23:32:43 +00:00
parent e1c00ae9c4
commit 243ec8f4a7
7 changed files with 93 additions and 976 deletions

Binary file not shown.

View file

@ -0,0 +1,15 @@
diff --git a/dist/main.cjs.js b/dist/main.cjs.js
index 7c8cdc59fc04d05308d2799d283b01c934d6c46f..d68acf75b3382d38c6286a00ec71d9bd0e98a8af 100644
--- a/dist/main.cjs.js
+++ b/dist/main.cjs.js
@@ -6428,6 +6428,10 @@ function parse$6(value, settings) {
namedEntity = type === name$1 ? decodeEntity(characters) : false;
+ // QUICKFIX https://github.com/pngwn/MDsveX/issues/296
+ if (namedEntity == '<') namedEntity = '&lt;';
+ if (namedEntity == '>') namedEntity = '&gt;';
+
if (namedEntity) {
entityCharacters = characters;
entity = namedEntity;

File diff suppressed because one or more lines are too long

View file

@ -1,3 +1 @@
nodeLinker: node-modules
yarnPath: .yarn/releases/yarn-4.1.1.cjs

View file

@ -10,8 +10,7 @@
"check": "svelte-check --tsconfig ./tsconfig.json",
"check:watch": "svelte-check --tsconfig ./tsconfig.json --watch",
"lint": "prettier --ignore-path .gitignore --check --plugin-search-dir=. . && eslint --ignore-path .gitignore .",
"format": "prettier --ignore-path .gitignore --write --plugin-search-dir=. .",
"postinstall": "patch-package"
"format": "prettier --ignore-path .gitignore --write --plugin-search-dir=. ."
},
"devDependencies": {
"@img/sharp-linux-x64": "^0.33.3",
@ -23,7 +22,7 @@
"@typescript-eslint/parser": "^7.6.0",
"eslint": "^9.0.0",
"eslint-config-prettier": "^9.1.0",
"mdsvex": "^0.11.0",
"mdsvex": "patch:mdsvex@npm%3A0.11.2#~/.yarn/patches/mdsvex-npm-0.11.2-d4006d9b92.patch",
"prettier": "^3.2.5",
"prettier-plugin-svelte": "^3.2.3",
"sharp": "^0.33.3",
@ -44,7 +43,6 @@
"cookie": "^0.6.0",
"html-minifier": "^4.0.0",
"matter-js": "^0.19.0",
"patch-package": "^8.0.0",
"postinstall-postinstall": "^2.1.0",
"svelte-body": "^1.4.0",
"vite": "5.2.8"

View file

@ -1,15 +0,0 @@
diff --git a/node_modules/mdsvex/dist/main.cjs.js b/node_modules/mdsvex/dist/main.cjs.js
index 9755b4d..a87d82a 100644
--- a/node_modules/mdsvex/dist/main.cjs.js
+++ b/node_modules/mdsvex/dist/main.cjs.js
@@ -8721,6 +8721,10 @@ function parse$7(value, settings) {
namedEntity = type === name$1 ? decodeEntity_1(characters) : false;
+ // QUICKFIX https://github.com/pngwn/MDsveX/issues/296
+ if (namedEntity == '<') namedEntity = '&lt;';
+ if (namedEntity == '>') namedEntity = '&gt;';
+
if (namedEntity) {
entityCharacters = characters;
entity = namedEntity;

138
yarn.lock
View file

@ -968,14 +968,14 @@ __metadata:
linkType: hard
"@typescript-eslint/eslint-plugin@npm:^7.6.0":
version: 7.12.0
resolution: "@typescript-eslint/eslint-plugin@npm:7.12.0"
version: 7.13.0
resolution: "@typescript-eslint/eslint-plugin@npm:7.13.0"
dependencies:
"@eslint-community/regexpp": "npm:^4.10.0"
"@typescript-eslint/scope-manager": "npm:7.12.0"
"@typescript-eslint/type-utils": "npm:7.12.0"
"@typescript-eslint/utils": "npm:7.12.0"
"@typescript-eslint/visitor-keys": "npm:7.12.0"
"@typescript-eslint/scope-manager": "npm:7.13.0"
"@typescript-eslint/type-utils": "npm:7.13.0"
"@typescript-eslint/utils": "npm:7.13.0"
"@typescript-eslint/visitor-keys": "npm:7.13.0"
graphemer: "npm:^1.4.0"
ignore: "npm:^5.3.1"
natural-compare: "npm:^1.4.0"
@ -986,44 +986,44 @@ __metadata:
peerDependenciesMeta:
typescript:
optional: true
checksum: 10c0/abf899e07144e8edd8ae010d25e4679e2acded407a10efc6aaa7ee325af8daf0dd149946ad58e46982e29e0a23f56b1e0dd461ef09aab09b0d94fc24ffc827c2
checksum: 10c0/00a69d029713252c03490e0a9c49c9136d99c9c1888dd3570b1e044c9a740b59c2e488849beda654d6fc0a69e2549445c16d443bcf5832c66b7a4472b42826ae
languageName: node
linkType: hard
"@typescript-eslint/parser@npm:^7.6.0":
version: 7.12.0
resolution: "@typescript-eslint/parser@npm:7.12.0"
version: 7.13.0
resolution: "@typescript-eslint/parser@npm:7.13.0"
dependencies:
"@typescript-eslint/scope-manager": "npm:7.12.0"
"@typescript-eslint/types": "npm:7.12.0"
"@typescript-eslint/typescript-estree": "npm:7.12.0"
"@typescript-eslint/visitor-keys": "npm:7.12.0"
"@typescript-eslint/scope-manager": "npm:7.13.0"
"@typescript-eslint/types": "npm:7.13.0"
"@typescript-eslint/typescript-estree": "npm:7.13.0"
"@typescript-eslint/visitor-keys": "npm:7.13.0"
debug: "npm:^4.3.4"
peerDependencies:
eslint: ^8.56.0
peerDependenciesMeta:
typescript:
optional: true
checksum: 10c0/223c32a6ba6cee770ee39108fb0a6d132283673d44c751bec85d8792df3382ddb839617787d183dc8fd7686d8a2018bf1ec0f3d63b7010c4370913f249c80fbc
checksum: 10c0/8cf58116d6577c9459db3e3047e337dc41d914bf222a33b20e149515d037e09e6171fbac5af02b66aa6fbad81dd492fa5b7bcd44aaf659d4e9b02ab23100f955
languageName: node
linkType: hard
"@typescript-eslint/scope-manager@npm:7.12.0":
version: 7.12.0
resolution: "@typescript-eslint/scope-manager@npm:7.12.0"
"@typescript-eslint/scope-manager@npm:7.13.0":
version: 7.13.0
resolution: "@typescript-eslint/scope-manager@npm:7.13.0"
dependencies:
"@typescript-eslint/types": "npm:7.12.0"
"@typescript-eslint/visitor-keys": "npm:7.12.0"
checksum: 10c0/7af53cd9045cc70459e4f451377affc0ef03e67bd743480ab2cbfebe1b7d8269fc639406966930c5abb26f1b633623c98442c2b60f6257e0ce1555439343d5e9
"@typescript-eslint/types": "npm:7.13.0"
"@typescript-eslint/visitor-keys": "npm:7.13.0"
checksum: 10c0/0f5c75578ee8cb3c31b9c4e222f4787ea4621fde639f3ac0a467e56250f3cc48bf69304c33b2b8cc8ba5ec69f3977b6c463b8d9e791806af9a8c6a2233505432
languageName: node
linkType: hard
"@typescript-eslint/type-utils@npm:7.12.0":
version: 7.12.0
resolution: "@typescript-eslint/type-utils@npm:7.12.0"
"@typescript-eslint/type-utils@npm:7.13.0":
version: 7.13.0
resolution: "@typescript-eslint/type-utils@npm:7.13.0"
dependencies:
"@typescript-eslint/typescript-estree": "npm:7.12.0"
"@typescript-eslint/utils": "npm:7.12.0"
"@typescript-eslint/typescript-estree": "npm:7.13.0"
"@typescript-eslint/utils": "npm:7.13.0"
debug: "npm:^4.3.4"
ts-api-utils: "npm:^1.3.0"
peerDependencies:
@ -1031,23 +1031,23 @@ __metadata:
peerDependenciesMeta:
typescript:
optional: true
checksum: 10c0/41f4aa20d24724b461eb0cdac69d91ef60c2b628fb4a5739e4dbb8378aa4a7ff20c302f60e5d74ce75d5b99fcd3e3d71b9b3c96a1714aac47ce2ce5d6d611fcd
checksum: 10c0/240e9b34e8602444cd234b84c9e3e52c565e3141a4942751f597c38cee48f7cb43c42a093d219ac6404dca2e74b54d2a8121fe66cbc59f404cb0ec2adecd8520
languageName: node
linkType: hard
"@typescript-eslint/types@npm:7.12.0":
version: 7.12.0
resolution: "@typescript-eslint/types@npm:7.12.0"
checksum: 10c0/76786d02a0838750d74ad6e49b026875c0753b81c5a46a56525a1e82d89c0939a13434b03494e3b31b7ffbba7824f426c5b502a12337806a1f6ca560b5dad46c
"@typescript-eslint/types@npm:7.13.0":
version: 7.13.0
resolution: "@typescript-eslint/types@npm:7.13.0"
checksum: 10c0/73dc59d4b0d0f0fed9f4b9b55f143185259ced5f0ca8ad9efa881eea1ff1cc9ccc1f175af2e2069f7b92a69c9f64f9be29d160c932b8f70a129af6b738b23be0
languageName: node
linkType: hard
"@typescript-eslint/typescript-estree@npm:7.12.0":
version: 7.12.0
resolution: "@typescript-eslint/typescript-estree@npm:7.12.0"
"@typescript-eslint/typescript-estree@npm:7.13.0":
version: 7.13.0
resolution: "@typescript-eslint/typescript-estree@npm:7.13.0"
dependencies:
"@typescript-eslint/types": "npm:7.12.0"
"@typescript-eslint/visitor-keys": "npm:7.12.0"
"@typescript-eslint/types": "npm:7.13.0"
"@typescript-eslint/visitor-keys": "npm:7.13.0"
debug: "npm:^4.3.4"
globby: "npm:^11.1.0"
is-glob: "npm:^4.0.3"
@ -1057,31 +1057,31 @@ __metadata:
peerDependenciesMeta:
typescript:
optional: true
checksum: 10c0/855be5ba6c3d7540319ad250555055a798deb04855f26abe719a3b8d555a3227d52e09453930bd829e260a72f65a985998b235514ce2872b31615015da3163c0
checksum: 10c0/75b09384bc14afa3d3623507432d19d8ca91c4e936b1d2c1cfe4654a9c07179f1bc04aa99d1b541e84e40a01536862b23058f462d61b4a797c27d02f64b8aa51
languageName: node
linkType: hard
"@typescript-eslint/utils@npm:7.12.0":
version: 7.12.0
resolution: "@typescript-eslint/utils@npm:7.12.0"
"@typescript-eslint/utils@npm:7.13.0":
version: 7.13.0
resolution: "@typescript-eslint/utils@npm:7.13.0"
dependencies:
"@eslint-community/eslint-utils": "npm:^4.4.0"
"@typescript-eslint/scope-manager": "npm:7.12.0"
"@typescript-eslint/types": "npm:7.12.0"
"@typescript-eslint/typescript-estree": "npm:7.12.0"
"@typescript-eslint/scope-manager": "npm:7.13.0"
"@typescript-eslint/types": "npm:7.13.0"
"@typescript-eslint/typescript-estree": "npm:7.13.0"
peerDependencies:
eslint: ^8.56.0
checksum: 10c0/04241c0313f2d061bc81ec2d5d589c9a723f8c1493e5b83d98f804ff9dac23c5e7157d9bb57bee8b458f40824f56ea65a02ebd344926a37cb58bf151cb4d3bf2
checksum: 10c0/5391f628775dec1a7033d954a066b77eeb03ac04c0a94690e60d8ebe351b57fdbda51b90cf785c901bcdf68b88ca3bcb5533ac59276b8b626b73eb18ac3280b6
languageName: node
linkType: hard
"@typescript-eslint/visitor-keys@npm:7.12.0":
version: 7.12.0
resolution: "@typescript-eslint/visitor-keys@npm:7.12.0"
"@typescript-eslint/visitor-keys@npm:7.13.0":
version: 7.13.0
resolution: "@typescript-eslint/visitor-keys@npm:7.13.0"
dependencies:
"@typescript-eslint/types": "npm:7.12.0"
"@typescript-eslint/types": "npm:7.13.0"
eslint-visitor-keys: "npm:^3.4.3"
checksum: 10c0/f3aa6704961e65fa8d66fcde57cd28e382412bb8bec2e99312bf8cda38772ae9a74d6d95b9765f76a249bc9ab65624db34b8c00078ebad129b2e1b624e935d90
checksum: 10c0/5daa45c3358aeab41495c4419cc26fbbe54a42bb18c6f0f70f0ac31cb7bc5890ec6478a1a6bb00b0b8522663fe5466ee0fd2972bd4235b07140918875797f4eb
languageName: node
linkType: hard
@ -2537,15 +2537,15 @@ __metadata:
linkType: hard
"jackspeak@npm:^3.1.2":
version: 3.3.0
resolution: "jackspeak@npm:3.3.0"
version: 3.4.0
resolution: "jackspeak@npm:3.4.0"
dependencies:
"@isaacs/cliui": "npm:^8.0.2"
"@pkgjs/parseargs": "npm:^0.11.0"
dependenciesMeta:
"@pkgjs/parseargs":
optional: true
checksum: 10c0/e0d604cd9f360f0589149be3392a4815a78316bd57136339ffe3c430aa011a2cc92647f824a521366dd15482833c6ce4f32c232f0a919187a58ced820a23c1ee
checksum: 10c0/7e42d1ea411b4d57d43ea8a6afbca9224382804359cb72626d0fc45bb8db1de5ad0248283c3db45fe73e77210750d4fcc7c2b4fe5d24fda94aaa24d658295c5f
languageName: node
linkType: hard
@ -2743,7 +2743,7 @@ __metadata:
eslint-config-prettier: "npm:^9.1.0"
html-minifier: "npm:^4.0.0"
matter-js: "npm:^0.19.0"
mdsvex: "npm:^0.11.0"
mdsvex: "patch:mdsvex@npm%3A0.11.2#~/.yarn/patches/mdsvex-npm-0.11.2-d4006d9b92.patch"
patch-package: "npm:^8.0.0"
postinstall-postinstall: "npm:^2.1.0"
prettier: "npm:^3.2.5"
@ -2773,7 +2773,7 @@ __metadata:
languageName: node
linkType: hard
"mdsvex@npm:^0.11.0":
"mdsvex@npm:0.11.2":
version: 0.11.2
resolution: "mdsvex@npm:0.11.2"
dependencies:
@ -2787,6 +2787,20 @@ __metadata:
languageName: node
linkType: hard
"mdsvex@patch:mdsvex@npm%3A0.11.2#~/.yarn/patches/mdsvex-npm-0.11.2-d4006d9b92.patch":
version: 0.11.2
resolution: "mdsvex@patch:mdsvex@npm%3A0.11.2#~/.yarn/patches/mdsvex-npm-0.11.2-d4006d9b92.patch::version=0.11.2&hash=e2aa19"
dependencies:
"@types/unist": "npm:^2.0.3"
prism-svelte: "npm:^0.4.7"
prismjs: "npm:^1.17.1"
vfile-message: "npm:^2.0.4"
peerDependencies:
svelte: ^3.56.0 || ^4.0.0 || ^5.0.0-next.120
checksum: 10c0/cc6e6376032956e18568ef945cfb8fdcd0d835fc76b05c372d53f294258420dc5c9350dd0380d49da2b254df8483d4cf36aeac1ecf91bf4ad06a269d371ed241
languageName: node
linkType: hard
"merge2@npm:^1.3.0, merge2@npm:^1.4.1":
version: 1.4.1
resolution: "merge2@npm:1.4.1"
@ -3266,12 +3280,12 @@ __metadata:
linkType: hard
"prettier-plugin-svelte@npm:^3.2.3":
version: 3.2.3
resolution: "prettier-plugin-svelte@npm:3.2.3"
version: 3.2.4
resolution: "prettier-plugin-svelte@npm:3.2.4"
peerDependencies:
prettier: ^3.0.0
svelte: ^3.2.0 || ^4.0.0-next.0 || ^5.0.0-next.0
checksum: 10c0/9905bc1c719b73c1241719b5b6ce487dd64a6e527274a903cb390ddca431ae1712e03a8ad009b2f0bbfbbaadee6c998a4ddcace7a125b4c1668f919b825ba8e1
checksum: 10c0/88eb82a2c87741165e7f50a7441d36bd9155097efe12ab1634d934def867e177a19dd8118b8f7e0eead0c77f7b4f7d9a238e03f79636044b25b277eb594cc988
languageName: node
linkType: hard
@ -4021,11 +4035,11 @@ __metadata:
linkType: hard
"uglify-js@npm:^3.5.1":
version: 3.17.4
resolution: "uglify-js@npm:3.17.4"
version: 3.18.0
resolution: "uglify-js@npm:3.18.0"
bin:
uglifyjs: bin/uglifyjs
checksum: 10c0/8b7fcdca69deb284fed7d2025b73eb747ce37f9aca6af53422844f46427152d5440601b6e2a033e77856a2f0591e4167153d5a21b68674ad11f662034ec13ced
checksum: 10c0/57f5f6213a2c4e8c551be9c875c085d565dc88af6b7caaab40a197aa639183cdce7c9dc2f858675eca72a5323f850ab7e88b9cc0a52dfbe3e0768aee6ab6e102
languageName: node
linkType: hard
@ -4214,11 +4228,11 @@ __metadata:
linkType: hard
"yaml@npm:^2.2.2":
version: 2.4.3
resolution: "yaml@npm:2.4.3"
version: 2.4.5
resolution: "yaml@npm:2.4.5"
bin:
yaml: bin.mjs
checksum: 10c0/b4a9dea34265f000402c909144ac310be42c4526dfd16dff1aee2b04a0d94051713651c0cd2b0a3d8109266997422120f16a7934629d12f22dc215839ebbeccf
checksum: 10c0/e1ee78b381e5c710f715cc4082fd10fc82f7f5c92bd6f075771d20559e175616f56abf1c411f545ea0e9e16e4f84a83a50b42764af5f16ec006328ba9476bb31
languageName: node
linkType: hard