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

View File

@ -2,4 +2,3 @@ upgrade: true
interactive: true interactive: true
format: "group" format: "group"
reject: 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": { "dependencies": {
"@digitak/esrun": "3.2.24", "@digitak/esrun": "3.2.24",
"dotenv": "^16.1.4", "dotenv": "^16.3.1",
"html-to-text": "^9.0.5", "html-to-text": "^9.0.5",
"isomorphic-dompurify": "^1.6.0", "isomorphic-dompurify": "^1.8.0",
"marked": "^5.0.4", "marked": "^7.0.3",
"meilisearch": "^0.33.0" "meilisearch": "^0.34.1"
}, },
"devDependencies": { "devDependencies": {
"@graphql-codegen/cli": "^3.3.1", "@graphql-codegen/cli": "^5.0.0",
"@graphql-codegen/typescript": "3.0.4", "@graphql-codegen/typescript": "4.0.1",
"@graphql-codegen/typescript-graphql-request": "^4.5.9", "@graphql-codegen/typescript-graphql-request": "^5.0.0",
"@graphql-codegen/typescript-operations": "^3.0.4", "@graphql-codegen/typescript-operations": "^4.0.1",
"@types/html-to-text": "^9.0.1", "@types/html-to-text": "^9.0.1",
"@types/marked": "^5.0.0", "@types/marked": "^5.0.1",
"@types/node": "^20.2.5", "@types/node": "^20.5.0",
"@typescript-eslint/eslint-plugin": "^5.59.9", "@typescript-eslint/eslint-plugin": "^6.4.0",
"@typescript-eslint/parser": "^5.59.9", "@typescript-eslint/parser": "^6.4.0",
"eslint": "^8.42.0", "eslint": "^8.47.0",
"graphql": "^16.6.0", "graphql": "^16.8.0",
"graphql-request": "5.1.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 { convert } from "html-to-text";
import { marked } from "marked"; import { Renderer, marked } from "marked";
import DOMPurify from "isomorphic-dompurify"; import DOMPurify from "isomorphic-dompurify";
export const prettyInlineTitle = ( export const prettyInlineTitle = (
@ -22,7 +22,7 @@ export const prettyMarkdown = (markdown: string): string => {
const newline = () => "\n"; const newline = () => "\n";
const empty = () => ""; const empty = () => "";
const TxtRenderer: marked.Renderer = { const TxtRenderer: Renderer = {
// Block elements // Block elements
code: escapeBlock, code: escapeBlock,
blockquote: block, blockquote: block,

File diff suppressed because one or more lines are too long