mirror of
https://gitlab.com/PronounsPage/PronounsPage.git
synced 2025-09-22 12:03:25 -04:00
(pnpm)(ts) update typescript
This commit is contained in:
parent
d44f4c429c
commit
7de7f2eaef
10
package.json
10
package.json
@ -115,8 +115,8 @@
|
||||
"@types/speakeasy": "^2.0.10",
|
||||
"@types/uuid": "8.3.2",
|
||||
"@types/webpack": "^4.41.38",
|
||||
"@typescript-eslint/eslint-plugin": "^6.19.0",
|
||||
"@typescript-eslint/parser": "^6.19.0",
|
||||
"@typescript-eslint/eslint-plugin": "^7.14.1",
|
||||
"@typescript-eslint/parser": "^7.14.1",
|
||||
"@vue/test-utils": "^1.3.6",
|
||||
"avris-daemonise": "^0.0.2",
|
||||
"axios": "^0.21.4",
|
||||
@ -124,7 +124,7 @@
|
||||
"clipboard": "^2.0.6",
|
||||
"css-loader": "^5.2.7",
|
||||
"csv-loader": "^3.0.3",
|
||||
"eslint": "^8.55.0",
|
||||
"eslint": "^8.56.0",
|
||||
"eslint-formatter-gitlab": "^5.1.0",
|
||||
"eslint-import-resolver-typescript": "^3.6.1",
|
||||
"eslint-plugin-import": "^2.29.0",
|
||||
@ -152,9 +152,9 @@
|
||||
"ts-jest": "^29.1.1",
|
||||
"ts-json-schema-generator": "^1.5.0",
|
||||
"tsconfig-paths": "3.14.2",
|
||||
"typescript": "^5.3.3",
|
||||
"typescript": "^5.5.2",
|
||||
"vue-meta": "^2.4.0",
|
||||
"vue-tsc": "^1.8.27",
|
||||
"vue-tsc": "^2.0.22",
|
||||
"webpack": "^4.47.0",
|
||||
"yaml-loader": "^0.8.0"
|
||||
},
|
||||
|
448
pnpm-lock.yaml
generated
448
pnpm-lock.yaml
generated
File diff suppressed because it is too large
Load Diff
@ -57,13 +57,13 @@ router.get('/blog', handleErrorAsync(async (req, res) => {
|
||||
try {
|
||||
const classHeroImages = content.map((x) => x.match(/<img src="([^"]+)" class="hero/)).filter((x) => !!x);
|
||||
if (classHeroImages.length) {
|
||||
hero = classHeroImages[0]![1];
|
||||
hero = classHeroImages[0][1];
|
||||
throw 'continue';
|
||||
}
|
||||
|
||||
const images = content.map((x) => x.match(/^!\[[^\]]*]\(([^)]+)\)$/)).filter((x) => !!x);
|
||||
if (images.length) {
|
||||
hero = images[0]![1];
|
||||
hero = images[0][1];
|
||||
}
|
||||
} catch {
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user