mirror of
https://github.com/requarks/wiki.git
synced 2026-08-26 13:17:10 -05:00
chore: update dependencies
This commit is contained in:
@@ -2,7 +2,7 @@ import { DynamicThreadPool } from 'poolifier'
|
||||
import os from 'node:os'
|
||||
import fs from 'node:fs/promises'
|
||||
import path from 'node:path'
|
||||
import cronparser from 'cron-parser'
|
||||
import { CronExpressionParser } from 'cron-parser'
|
||||
import { DateTime } from 'luxon'
|
||||
import { v4 as uuid } from 'uuid'
|
||||
import { createDeferred } from '../helpers/common.mjs'
|
||||
@@ -129,7 +129,7 @@ export default {
|
||||
}
|
||||
},
|
||||
async processJob () {
|
||||
let jobIds = []
|
||||
const jobIds = []
|
||||
try {
|
||||
const availableWorkers = this.maxWorkers - this.activeWorkers
|
||||
if (availableWorkers < 1) {
|
||||
@@ -249,7 +249,7 @@ export default {
|
||||
lastCheckedAt: DateTime.utc().toISO()
|
||||
})
|
||||
if (jobLock > 0) {
|
||||
WIKI.logger.info(`Scheduling future planned jobs...`)
|
||||
WIKI.logger.info('Scheduling future planned jobs...')
|
||||
const scheduledJobs = await WIKI.db.knex('jobSchedule')
|
||||
if (scheduledJobs?.length > 0) {
|
||||
// -> Get existing scheduled jobs
|
||||
@@ -257,10 +257,9 @@ export default {
|
||||
let totalAdded = 0
|
||||
for (const job of scheduledJobs) {
|
||||
// -> Get next planned iterations
|
||||
const plannedIterations = cronparser.parseExpression(job.cron, {
|
||||
const plannedIterations = CronExpressionParser.parse(job.cron, {
|
||||
startDate: DateTime.utc().toJSDate(),
|
||||
endDate: DateTime.utc().plus({ days: 1, minutes: 5 }).toJSDate(),
|
||||
iterator: true,
|
||||
tz: 'UTC'
|
||||
})
|
||||
// -> Add a maximum of 10 future iterations for a single task
|
||||
@@ -291,7 +290,7 @@ export default {
|
||||
if (totalAdded > 0) {
|
||||
WIKI.logger.info(`Scheduled ${totalAdded} new future planned jobs: [ OK ]`)
|
||||
} else {
|
||||
WIKI.logger.info(`No new future planned jobs to schedule: [ OK ]`)
|
||||
WIKI.logger.info('No new future planned jobs to schedule: [ OK ]')
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
+34
-34
@@ -36,65 +36,65 @@
|
||||
"node": ">=18.0"
|
||||
},
|
||||
"dependencies": {
|
||||
"@apollo/server": "4.11.2",
|
||||
"@apollo/server": "4.11.3",
|
||||
"@azure/storage-blob": "12.26.0",
|
||||
"@exlinc/keycloak-passport": "1.0.2",
|
||||
"@graphql-tools/schema": "10.0.7",
|
||||
"@graphql-tools/utils": "10.5.5",
|
||||
"@graphql-tools/schema": "10.0.20",
|
||||
"@graphql-tools/utils": "10.8.3",
|
||||
"@hexagon/base64": "2.0.4",
|
||||
"@joplin/turndown-plugin-gfm": "1.0.56",
|
||||
"@joplin/turndown-plugin-gfm": "1.0.61",
|
||||
"@node-saml/passport-saml": "5.0.0",
|
||||
"@root/csr": "0.8.1",
|
||||
"@root/keypairs": "0.10.3",
|
||||
"@root/pem": "1.0.4",
|
||||
"@simplewebauthn/server": "11.0.0",
|
||||
"@simplewebauthn/server": "13.1.1",
|
||||
"@vue-email/compiler": "0.8.14",
|
||||
"acme": "3.0.3",
|
||||
"akismet-api": "6.0.0",
|
||||
"aws-sdk": "2.1692.0",
|
||||
"bcryptjs": "2.4.3",
|
||||
"chalk": "5.3.0",
|
||||
"bcryptjs": "3.0.2",
|
||||
"chalk": "5.4.1",
|
||||
"cheerio": "1.0.0",
|
||||
"chokidar": "4.0.1",
|
||||
"chokidar": "4.0.3",
|
||||
"chromium-pickle-js": "0.2.0",
|
||||
"clean-css": "5.3.3",
|
||||
"command-exists": "1.2.9",
|
||||
"compression": "1.7.5",
|
||||
"compression": "1.8.0",
|
||||
"connect-session-knex": "5.0.0",
|
||||
"cookie-parser": "1.4.7",
|
||||
"cors": "2.8.5",
|
||||
"cron-parser": "4.9.0",
|
||||
"cron-parser": "5.0.4",
|
||||
"cuint": "0.2.2",
|
||||
"custom-error-instance": "2.1.2",
|
||||
"dependency-graph": "1.0.0",
|
||||
"diff": "7.0.0",
|
||||
"diff2html": "3.4.48",
|
||||
"dompurify": "3.2.2",
|
||||
"diff2html": "3.4.51",
|
||||
"dompurify": "3.2.4",
|
||||
"dotize": "0.3.0",
|
||||
"emoji-regex": "10.4.0",
|
||||
"eventemitter2": "6.4.9",
|
||||
"express": "4.21.2",
|
||||
"express-brute": "1.0.1",
|
||||
"express-session": "1.18.1",
|
||||
"file-type": "19.6.0",
|
||||
"file-type": "20.4.0",
|
||||
"filesize": "10.1.6",
|
||||
"fs-extra": "11.2.0",
|
||||
"fs-extra": "11.3.0",
|
||||
"getos": "3.2.1",
|
||||
"graphql": "16.9.0",
|
||||
"graphql": "16.10.0",
|
||||
"graphql-list-fields": "2.0.4",
|
||||
"graphql-rate-limit-directive": "2.0.6",
|
||||
"graphql-tools": "9.0.2",
|
||||
"graphql-tools": "9.0.15",
|
||||
"graphql-upload": "17.0.0",
|
||||
"gray-matter": "4.0.3",
|
||||
"he": "1.2.0",
|
||||
"highlight.js": "11.10.0",
|
||||
"image-size": "1.1.1",
|
||||
"highlight.js": "11.11.1",
|
||||
"image-size": "2.0.0",
|
||||
"js-base64": "3.7.7",
|
||||
"js-binary": "1.2.0",
|
||||
"js-yaml": "4.1.0",
|
||||
"jsdom": "25.0.1",
|
||||
"jsdom": "26.0.0",
|
||||
"jsonwebtoken": "9.0.2",
|
||||
"katex": "0.16.11",
|
||||
"katex": "0.16.21",
|
||||
"klaw": "4.1.0",
|
||||
"knex": "3.1.0",
|
||||
"lodash": "4.17.21",
|
||||
@@ -102,7 +102,7 @@
|
||||
"luxon": "3.5.0",
|
||||
"markdown-it": "14.1.0",
|
||||
"markdown-it-abbr": "2.0.0",
|
||||
"markdown-it-attrs": "4.3.0",
|
||||
"markdown-it-attrs": "4.3.1",
|
||||
"markdown-it-decorate": "1.2.2",
|
||||
"markdown-it-emoji": "3.0.0",
|
||||
"markdown-it-expand-tabs": "1.0.13",
|
||||
@@ -118,12 +118,12 @@
|
||||
"mime-types": "2.1.35",
|
||||
"ms": "2.1.3",
|
||||
"multer": "1.4.5-lts.1",
|
||||
"nanoid": "5.0.9",
|
||||
"nanoid": "5.1.2",
|
||||
"node-2fa": "2.0.3",
|
||||
"node-cache": "5.1.2",
|
||||
"nodemailer": "6.9.16",
|
||||
"nodemailer": "6.10.0",
|
||||
"objection": "3.1.5",
|
||||
"octokit": "4.0.2",
|
||||
"octokit": "4.1.2",
|
||||
"passport": "0.7.0",
|
||||
"passport-auth0": "1.4.4",
|
||||
"passport-azure-ad": "4.3.5",
|
||||
@@ -144,44 +144,44 @@
|
||||
"passport-slack-oauth2": "1.2.0",
|
||||
"passport-twitch-strategy": "2.2.0",
|
||||
"pem-jwk": "2.0.0",
|
||||
"pg": "8.13.1",
|
||||
"pg": "8.13.3",
|
||||
"pg-hstore": "2.3.4",
|
||||
"pg-pubsub": "0.8.1",
|
||||
"pg-query-stream": "4.7.1",
|
||||
"pg-query-stream": "4.7.3",
|
||||
"pg-tsquery": "8.4.2",
|
||||
"poolifier": "4.4.5",
|
||||
"prom-client": "15.1.3",
|
||||
"punycode": "2.3.1",
|
||||
"puppeteer-core": "23.10.1",
|
||||
"puppeteer-core": "24.3.0",
|
||||
"qr-image": "3.2.0",
|
||||
"remove-markdown": "0.5.5",
|
||||
"remove-markdown": "0.6.0",
|
||||
"safe-regex": "2.1.1",
|
||||
"sanitize-filename": "1.6.3",
|
||||
"scim-query-filter-parser": "2.0.4",
|
||||
"semver": "7.6.3",
|
||||
"semver": "7.7.1",
|
||||
"serve-favicon": "2.5.0",
|
||||
"sharp": "0.33.5",
|
||||
"simple-git": "3.27.0",
|
||||
"socket.io": "4.8.1",
|
||||
"striptags": "3.2.0",
|
||||
"tar-fs": "3.0.6",
|
||||
"tar-fs": "3.0.8",
|
||||
"turndown": "7.2.0",
|
||||
"twemoji": "14.0.2",
|
||||
"ufo": "1.5.4",
|
||||
"uslug": "1.0.4",
|
||||
"uuid": "11.0.3",
|
||||
"uuid": "11.1.0",
|
||||
"validate.js": "0.13.1",
|
||||
"vue": "3.5.13",
|
||||
"xss": "1.0.15",
|
||||
"yargs": "17.7.2"
|
||||
},
|
||||
"devDependencies": {
|
||||
"eslint": "9.16.0",
|
||||
"eslint": "9.21.0",
|
||||
"eslint-plugin-import": "2.31.0",
|
||||
"eslint-plugin-node": "11.1.0",
|
||||
"eslint-plugin-promise": "7.2.1",
|
||||
"neostandard": "0.11.9",
|
||||
"nodemon": "3.1.7"
|
||||
"neostandard": "0.12.1",
|
||||
"nodemon": "3.1.9"
|
||||
},
|
||||
"overrides": {
|
||||
"@graphql-tools/utils": "10.5.5"
|
||||
|
||||
Generated
+1779
-1179
File diff suppressed because it is too large
Load Diff
+66
-63
@@ -11,36 +11,36 @@
|
||||
"build": "NODE_OPTIONS=--max-old-space-size=8192 vite build --emptyOutDir"
|
||||
},
|
||||
"dependencies": {
|
||||
"@apollo/client": "3.11.8",
|
||||
"@apollo/client": "3.13.1",
|
||||
"@lezer/common": "1.2.3",
|
||||
"@mdi/font": "7.4.47",
|
||||
"@quasar/extras": "1.16.12",
|
||||
"@simplewebauthn/browser": "11.0.0",
|
||||
"@tiptap/core": "2.8.0",
|
||||
"@tiptap/extension-code-block": "2.8.0",
|
||||
"@tiptap/extension-code-block-lowlight": "2.8.0",
|
||||
"@tiptap/extension-color": "2.8.0",
|
||||
"@tiptap/extension-dropcursor": "2.8.0",
|
||||
"@tiptap/extension-font-family": "2.8.0",
|
||||
"@tiptap/extension-gapcursor": "2.8.0",
|
||||
"@tiptap/extension-hard-break": "2.8.0",
|
||||
"@tiptap/extension-highlight": "2.8.0",
|
||||
"@tiptap/extension-history": "2.8.0",
|
||||
"@tiptap/extension-image": "2.8.0",
|
||||
"@tiptap/extension-mention": "2.8.0",
|
||||
"@tiptap/extension-placeholder": "2.8.0",
|
||||
"@tiptap/extension-table": "2.8.0",
|
||||
"@tiptap/extension-table-cell": "2.8.0",
|
||||
"@tiptap/extension-table-header": "2.8.0",
|
||||
"@tiptap/extension-table-row": "2.8.0",
|
||||
"@tiptap/extension-task-item": "2.8.0",
|
||||
"@tiptap/extension-task-list": "2.8.0",
|
||||
"@tiptap/extension-text-align": "2.8.0",
|
||||
"@tiptap/extension-text-style": "2.8.0",
|
||||
"@tiptap/extension-typography": "2.8.0",
|
||||
"@tiptap/pm": "2.8.0",
|
||||
"@tiptap/starter-kit": "2.8.0",
|
||||
"@tiptap/vue-3": "2.8.0",
|
||||
"@quasar/extras": "1.16.17",
|
||||
"@simplewebauthn/browser": "13.1.0",
|
||||
"@tiptap/core": "2.11.5",
|
||||
"@tiptap/extension-code-block": "2.11.5",
|
||||
"@tiptap/extension-code-block-lowlight": "2.11.5",
|
||||
"@tiptap/extension-color": "2.11.5",
|
||||
"@tiptap/extension-dropcursor": "2.11.5",
|
||||
"@tiptap/extension-font-family": "2.11.5",
|
||||
"@tiptap/extension-gapcursor": "2.11.5",
|
||||
"@tiptap/extension-hard-break": "2.11.5",
|
||||
"@tiptap/extension-highlight": "2.11.5",
|
||||
"@tiptap/extension-history": "2.11.5",
|
||||
"@tiptap/extension-image": "2.11.5",
|
||||
"@tiptap/extension-mention": "2.11.5",
|
||||
"@tiptap/extension-placeholder": "2.11.5",
|
||||
"@tiptap/extension-table": "2.11.5",
|
||||
"@tiptap/extension-table-cell": "2.11.5",
|
||||
"@tiptap/extension-table-header": "2.11.5",
|
||||
"@tiptap/extension-table-row": "2.11.5",
|
||||
"@tiptap/extension-task-item": "2.11.5",
|
||||
"@tiptap/extension-task-list": "2.11.5",
|
||||
"@tiptap/extension-text-align": "2.11.5",
|
||||
"@tiptap/extension-text-style": "2.11.5",
|
||||
"@tiptap/extension-typography": "2.11.5",
|
||||
"@tiptap/pm": "2.11.5",
|
||||
"@tiptap/starter-kit": "2.11.5",
|
||||
"@tiptap/vue-3": "2.11.5",
|
||||
"@vue/repl": "3.4.0",
|
||||
"@xterm/xterm": "5.5.0",
|
||||
"apollo-upload-client": "18.0.1",
|
||||
@@ -51,19 +51,19 @@
|
||||
"dependency-graph": "1.0.0",
|
||||
"filesize": "10.1.6",
|
||||
"filesize-parser": "1.5.1",
|
||||
"fuse.js": "7.0.0",
|
||||
"graphql": "16.9.0",
|
||||
"fuse.js": "7.1.0",
|
||||
"graphql": "16.10.0",
|
||||
"graphql-tag": "2.12.6",
|
||||
"highlight.js": "11.10.0",
|
||||
"highlight.js": "11.11.1",
|
||||
"js-cookie": "3.0.5",
|
||||
"jwt-decode": "4.0.0",
|
||||
"katex": "0.16.11",
|
||||
"katex": "0.16.21",
|
||||
"lodash-es": "4.17.21",
|
||||
"lowlight": "3.1.0",
|
||||
"lowlight": "3.3.0",
|
||||
"luxon": "3.5.0",
|
||||
"markdown-it": "14.1.0",
|
||||
"markdown-it-abbr": "2.0.0",
|
||||
"markdown-it-attrs": "4.2.0",
|
||||
"markdown-it-attrs": "4.3.1",
|
||||
"markdown-it-decorate": "1.2.2",
|
||||
"markdown-it-emoji": "3.0.0",
|
||||
"markdown-it-expand-tabs": "1.0.13",
|
||||
@@ -76,58 +76,61 @@
|
||||
"markdown-it-sup": "2.0.0",
|
||||
"markdown-it-task-lists": "2.1.1",
|
||||
"mitt": "3.0.1",
|
||||
"monaco-editor": "0.52.0",
|
||||
"monaco-editor": "0.52.2",
|
||||
"pako": "2.1.0",
|
||||
"pinia": "2.2.4",
|
||||
"prosemirror-commands": "1.6.1",
|
||||
"pinia": "3.0.1",
|
||||
"prosemirror-commands": "1.7.0",
|
||||
"prosemirror-history": "1.4.1",
|
||||
"prosemirror-keymap": "1.2.2",
|
||||
"prosemirror-model": "1.23.0",
|
||||
"prosemirror-schema-list": "1.4.1",
|
||||
"prosemirror-model": "1.24.1",
|
||||
"prosemirror-schema-list": "1.5.0",
|
||||
"prosemirror-state": "1.4.3",
|
||||
"prosemirror-transform": "1.10.2",
|
||||
"prosemirror-view": "1.34.3",
|
||||
"prosemirror-view": "1.38.0",
|
||||
"pug": "3.0.3",
|
||||
"quasar": "2.17.1",
|
||||
"quasar": "2.18.0",
|
||||
"slugify": "1.6.6",
|
||||
"socket.io-client": "4.8.0",
|
||||
"sortablejs": "1.15.3",
|
||||
"socket.io-client": "4.8.1",
|
||||
"sortablejs": "1.15.6",
|
||||
"sortablejs-vue3": "1.2.11",
|
||||
"tabulator-tables": "6.3.0",
|
||||
"tabulator-tables": "6.3.1",
|
||||
"tippy.js": "6.3.7",
|
||||
"twemoji": "14.0.2",
|
||||
"typescript": "5.6.3",
|
||||
"uuid": "10.0.0",
|
||||
"v-network-graph": "0.9.17",
|
||||
"vue": "3.5.12",
|
||||
"vue-i18n": "10.0.4",
|
||||
"vue-router": "4.4.5",
|
||||
"typescript": "5.8.2",
|
||||
"uuid": "11.1.0",
|
||||
"v-network-graph": "0.9.20",
|
||||
"vue": "3.5.13",
|
||||
"vue-i18n": "11.1.1",
|
||||
"vue-router": "4.5.0",
|
||||
"vue3-otp-input": "0.5.21",
|
||||
"vuedraggable": "4.1.0",
|
||||
"zxcvbn": "4.4.2"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@eslint/js": "9.13.0",
|
||||
"@intlify/unplugin-vue-i18n": "5.2.0",
|
||||
"@quasar/app-vite": "2.0.0-beta.24",
|
||||
"@quasar/vite-plugin": "1.8.0",
|
||||
"@types/lodash": "4.17.12",
|
||||
"@vue/devtools": "7.5.2",
|
||||
"@vue/language-plugin-pug": "2.1.6",
|
||||
"@eslint/js": "9.21.0",
|
||||
"@intlify/unplugin-vue-i18n": "6.0.3",
|
||||
"@quasar/app-vite": "2.1.1",
|
||||
"@quasar/vite-plugin": "1.9.0",
|
||||
"@types/lodash": "4.17.16",
|
||||
"@vue/devtools": "7.7.2",
|
||||
"@vue/language-plugin-pug": "2.2.6",
|
||||
"autoprefixer": "10.4.20",
|
||||
"browserlist": "latest",
|
||||
"eslint": "9.13.0",
|
||||
"eslint": "9.21.0",
|
||||
"eslint-plugin-import": "2.31.0",
|
||||
"eslint-plugin-n": "17.11.1",
|
||||
"eslint-plugin-promise": "7.1.0",
|
||||
"eslint-plugin-vue": "9.29.0",
|
||||
"eslint-plugin-n": "17.15.1",
|
||||
"eslint-plugin-promise": "7.2.1",
|
||||
"eslint-plugin-vue": "9.32.0",
|
||||
"eslint-plugin-vue-pug": "0.6.2",
|
||||
"neostandard": "0.11.6",
|
||||
"sass": "1.80.3"
|
||||
"neostandard": "0.12.1",
|
||||
"sass": "1.85.1"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">= 18.0",
|
||||
"npm": ">= 6.13.4"
|
||||
},
|
||||
"overrides": {
|
||||
"typescript": "5.8.2"
|
||||
},
|
||||
"packageManager": "pnpm@9.12.2+sha512.22721b3a11f81661ae1ec68ce1a7b879425a1ca5b991c975b074ac220b187ce56c708fe5db69f4c962c989452eee76c82877f4ee80f474cebd61ee13461b6228"
|
||||
}
|
||||
|
||||
Generated
+2673
-2176
File diff suppressed because it is too large
Load Diff
@@ -65,6 +65,7 @@ export default defineConfig(({ mode }) => {
|
||||
server: {
|
||||
// https: true
|
||||
open: false, // opens browser window automatically
|
||||
allowedHosts: true,
|
||||
port: userConfig.dev?.port,
|
||||
proxy: ['_graphql', '_blocks', '_site', '_thumb', '_user'].reduce((result, key) => {
|
||||
result[`/${key}`] = {
|
||||
|
||||
Reference in New Issue
Block a user