Update deps

This commit is contained in:
DrMint 2023-08-17 15:34:35 +02:00
parent c3897ef5e0
commit 3477038b21
7 changed files with 2573 additions and 2594 deletions

View File

@ -155,7 +155,6 @@ module.exports = {
"@typescript-eslint/no-invalid-void-type": "error",
"@typescript-eslint/no-meaningless-void-operator": "error",
"@typescript-eslint/no-non-null-asserted-nullish-coalescing": "error",
"@typescript-eslint/no-parameter-properties": "error",
"@typescript-eslint/no-require-imports": "error",
// "@typescript-eslint/no-type-alias": "warn",
"@typescript-eslint/no-unnecessary-boolean-literal-compare": "warn",
@ -176,7 +175,6 @@ module.exports = {
"@typescript-eslint/prefer-string-starts-ends-with": "error",
"@typescript-eslint/promise-function-async": "error",
"@typescript-eslint/require-array-sort-compare": "error",
"@typescript-eslint/sort-type-union-intersection-members": "warn",
// "@typescript-eslint/strict-boolean-expressions": [
// "error",
// { allowAny: true },
@ -186,7 +184,6 @@ module.exports = {
"@typescript-eslint/unified-signatures": "error",
/* EXTENSION OF ESLINT */
"@typescript-eslint/no-duplicate-imports": "error",
"@typescript-eslint/default-param-last": "warn",
"@typescript-eslint/dot-notation": "warn",
"@typescript-eslint/init-declarations": "warn",

View File

@ -2,4 +2,3 @@ upgrade: true
interactive: true
format: "group"
reject:
- "graphql-request" # we are stuck at version 5.1.0 because 5.2.0 has a typescript bug see https://github.com/dotansimha/graphql-code-generator/issues/9046

2118
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -11,24 +11,24 @@
},
"dependencies": {
"@digitak/esrun": "3.2.24",
"dotenv": "^16.1.4",
"dotenv": "^16.3.1",
"html-to-text": "^9.0.5",
"isomorphic-dompurify": "^1.6.0",
"marked": "^5.0.4",
"meilisearch": "^0.33.0"
"isomorphic-dompurify": "^1.8.0",
"marked": "^7.0.3",
"meilisearch": "^0.34.1"
},
"devDependencies": {
"@graphql-codegen/cli": "^3.3.1",
"@graphql-codegen/typescript": "3.0.4",
"@graphql-codegen/typescript-graphql-request": "^4.5.9",
"@graphql-codegen/typescript-operations": "^3.0.4",
"@graphql-codegen/cli": "^5.0.0",
"@graphql-codegen/typescript": "4.0.1",
"@graphql-codegen/typescript-graphql-request": "^5.0.0",
"@graphql-codegen/typescript-operations": "^4.0.1",
"@types/html-to-text": "^9.0.1",
"@types/marked": "^5.0.0",
"@types/node": "^20.2.5",
"@typescript-eslint/eslint-plugin": "^5.59.9",
"@typescript-eslint/parser": "^5.59.9",
"eslint": "^8.42.0",
"graphql": "^16.6.0",
"graphql-request": "5.1.0"
"@types/marked": "^5.0.1",
"@types/node": "^20.5.0",
"@typescript-eslint/eslint-plugin": "^6.4.0",
"@typescript-eslint/parser": "^6.4.0",
"eslint": "^8.47.0",
"graphql": "^16.8.0",
"graphql-request": "6.1.0"
}
}

File diff suppressed because it is too large Load Diff

View File

@ -1,5 +1,5 @@
import { convert } from "html-to-text";
import { marked } from "marked";
import { Renderer, marked } from "marked";
import DOMPurify from "isomorphic-dompurify";
export const prettyInlineTitle = (
@ -22,7 +22,7 @@ export const prettyMarkdown = (markdown: string): string => {
const newline = () => "\n";
const empty = () => "";
const TxtRenderer: marked.Renderer = {
const TxtRenderer: Renderer = {
// Block elements
code: escapeBlock,
blockquote: block,

File diff suppressed because one or more lines are too long