upgrade deps

pull/689/head
undefined 11 months ago
parent efde5b339f
commit 718c589dec

@ -2,8 +2,8 @@
/* eslint-disable import/no-dynamic-require */ /* eslint-disable import/no-dynamic-require */
import { writeFileSync } from 'fs'; import { writeFileSync } from 'fs';
import path from 'path'; import path from 'path';
import latest from 'latest-version';
import ora from 'ora'; import ora from 'ora';
import packageJson from 'package-json';
import { gt } from 'semver'; import { gt } from 'semver';
import { getWorkspaces, spawnAsync } from './utils'; import { getWorkspaces, spawnAsync } from './utils';
@ -11,7 +11,7 @@ const {
CI, GITHUB_EVENT_NAME, GITHUB_REF, CI, GITHUB_EVENT_NAME, GITHUB_REF,
} = process.env; } = process.env;
const tag = GITHUB_REF === 'refs/heads/master' ? 'latest' : GITHUB_REF === 'refs/heads/develop' ? 'dev' : null; const tag = GITHUB_REF === 'refs/heads/master' ? 'latest' : GITHUB_REF === 'refs/heads/develop' ? 'dev' : undefined;
if (CI && (!tag || GITHUB_EVENT_NAME !== 'push')) { if (CI && (!tag || GITHUB_EVENT_NAME !== 'push')) {
console.log('publish skipped.'); console.log('publish skipped.');
@ -35,8 +35,8 @@ if (CI && (!tag || GITHUB_EVENT_NAME !== 'push')) {
meta = require(`../${name}/package.json`); meta = require(`../${name}/package.json`);
if (!meta.private && /^[0-9.]+$/.test(meta.version)) { if (!meta.private && /^[0-9.]+$/.test(meta.version)) {
try { try {
const version = await latest(meta.name, { version: tag }); const { version } = await packageJson(meta.name, { version: tag });
if (gt(meta.version, version)) bumpMap[name] = meta.version; if (typeof version === 'string' && gt(meta.version, version)) bumpMap[name] = meta.version;
} catch (e) { } catch (e) {
if (e.name === 'VersionNotFoundError') bumpMap[name] = meta.version; if (e.name === 'VersionNotFoundError') bumpMap[name] = meta.version;
else throw e; else throw e;

@ -32,11 +32,11 @@
"license": "AGPL-3.0-only", "license": "AGPL-3.0-only",
"devDependencies": { "devDependencies": {
"@simplewebauthn/typescript-types": "7.4.0", "@simplewebauthn/typescript-types": "7.4.0",
"@types/autocannon": "^7.12.3", "@types/autocannon": "^7.12.5",
"@types/cross-spawn": "^6.0.4", "@types/cross-spawn": "^6.0.5",
"@types/node": "^20.8.10", "@types/node": "^20.9.0",
"@types/semver": "^7.5.4", "@types/semver": "^7.5.5",
"@types/supertest": "^2.0.15", "@types/supertest": "^2.0.16",
"autocannon": "^7.12.0", "autocannon": "^7.12.0",
"cac": "^6.7.14", "cac": "^6.7.14",
"chokidar": "^3.5.3", "chokidar": "^3.5.3",
@ -51,15 +51,15 @@
"eslint-import-resolver-typescript": "^3.6.1", "eslint-import-resolver-typescript": "^3.6.1",
"eslint-import-resolver-webpack": "^0.13.8", "eslint-import-resolver-webpack": "^0.13.8",
"fs-extra": "^11.1.1", "fs-extra": "^11.1.1",
"globby": "13.2.2", "globby": "14.0.0",
"inspectpack": "^4.7.1", "inspectpack": "^4.7.1",
"latest-version": "7.0.0",
"mini-css-extract-plugin": "^2.7.6", "mini-css-extract-plugin": "^2.7.6",
"monaco-editor-webpack-plugin": "^7.1.0", "monaco-editor-webpack-plugin": "^7.1.0",
"mongodb": "^5.9.1", "mongodb": "^5.9.1",
"mongodb-memory-server": "^9.0.1", "mongodb-memory-server": "^9.0.1",
"nyc": "^15.1.0", "nyc": "^15.1.0",
"ora": "^7.0.1", "ora": "^7.0.1",
"package-json": "^8.1.1",
"postcss-loader": "7.3.3", "postcss-loader": "7.3.3",
"semver": "^7.5.4", "semver": "^7.5.4",
"simple-git": "^3.20.0", "simple-git": "^3.20.0",
@ -70,7 +70,7 @@
"ts-loader": "^9.5.0", "ts-loader": "^9.5.0",
"typescript": "^5.2.2", "typescript": "^5.2.2",
"webpack": "^5.89.0", "webpack": "^5.89.0",
"webpack-bundle-analyzer": "^4.9.1", "webpack-bundle-analyzer": "^4.10.0",
"webpack-dev-server": "^4.15.1", "webpack-dev-server": "^4.15.1",
"webpack-manifest-plugin": "^5.0.0", "webpack-manifest-plugin": "^5.0.0",
"webpackbar": "^5.0.2", "webpackbar": "^5.0.2",

@ -4,8 +4,8 @@
"license": "MIT", "license": "MIT",
"main": "react.yaml", "main": "react.yaml",
"dependencies": { "dependencies": {
"@typescript-eslint/eslint-plugin": "^6.9.1", "@typescript-eslint/eslint-plugin": "^6.11.0",
"@typescript-eslint/parser": "^6.9.1", "@typescript-eslint/parser": "^6.11.0",
"eslint-config-airbnb": "^19.0.4", "eslint-config-airbnb": "^19.0.4",
"eslint-config-airbnb-typescript": "^17.1.0", "eslint-config-airbnb-typescript": "^17.1.0",
"eslint-plugin-github": "^4.10.1", "eslint-plugin-github": "^4.10.1",

@ -12,6 +12,6 @@
"xml2js": "^0.6.2" "xml2js": "^0.6.2"
}, },
"devDependencies": { "devDependencies": {
"@types/xml2js": "^0.4.13" "@types/xml2js": "^0.4.14"
} }
} }

@ -10,7 +10,7 @@
"cac": "^6.7.14", "cac": "^6.7.14",
"mongodb": "^5.9.1", "mongodb": "^5.9.1",
"p-queue": "^7.4.1", "p-queue": "^7.4.1",
"schemastery": "^3.14.0", "schemastery": "^3.14.1",
"semver": "^7.5.4", "semver": "^7.5.4",
"shell-quote": "^1.8.1", "shell-quote": "^1.8.1",
"superagent": "^8.1.2", "superagent": "^8.1.2",
@ -19,7 +19,7 @@
"preferUnplugged": true, "preferUnplugged": true,
"license": "AGPL-3.0-or-later", "license": "AGPL-3.0-or-later",
"devDependencies": { "devDependencies": {
"@types/shell-quote": "^1.7.3", "@types/shell-quote": "^1.7.4",
"@types/ws": "^8.5.8" "@types/ws": "^8.5.9"
} }
} }

@ -37,18 +37,18 @@
"koa-router": "^12.0.1", "koa-router": "^12.0.1",
"koa-static-cache": "^5.1.4", "koa-static-cache": "^5.1.4",
"lodash": "^4.17.21", "lodash": "^4.17.21",
"lru-cache": "^10.0.1", "lru-cache": "^10.0.2",
"mime-types": "^2.1.35", "mime-types": "^2.1.35",
"moment-timezone": "^0.5.43", "moment-timezone": "^0.5.43",
"mongodb": "^5.9.1", "mongodb": "^5.9.1",
"nanoid": "^5.0.2", "nanoid": "^5.0.3",
"nodemailer": "^6.9.7", "nodemailer": "^6.9.7",
"notp": "^2.0.3", "notp": "^2.0.3",
"p-queue": "^7.4.1", "p-queue": "^7.4.1",
"path-to-regexp": "^6.2.1", "path-to-regexp": "^6.2.1",
"require-resolve-hook": "^1.1.0", "require-resolve-hook": "^1.1.0",
"saslprep": "^1.0.3", "saslprep": "^1.0.3",
"schemastery": "^3.14.0", "schemastery": "^3.14.1",
"semver": "^7.5.4", "semver": "^7.5.4",
"serialize-javascript": "^6.0.1", "serialize-javascript": "^6.0.1",
"superagent": "^8.1.2", "superagent": "^8.1.2",
@ -58,21 +58,21 @@
}, },
"devDependencies": { "devDependencies": {
"@types/adm-zip": "^0.4.34", "@types/adm-zip": "^0.4.34",
"@types/fs-extra": "^11.0.3", "@types/fs-extra": "^11.0.4",
"@types/js-yaml": "^4.0.8", "@types/js-yaml": "^4.0.9",
"@types/koa": "^2.13.10", "@types/koa": "^2.13.11",
"@types/koa-compress": "^4.0.5", "@types/koa-compress": "^4.0.6",
"@types/koa-router": "^7.4.6", "@types/koa-router": "^7.4.7",
"@types/koa-static-cache": "^5.1.3", "@types/koa-static-cache": "^5.1.4",
"@types/lodash": "^4.14.200", "@types/lodash": "^4.14.201",
"@types/mime-types": "^2.1.3", "@types/mime-types": "^2.1.4",
"@types/nodemailer": "^6.4.13", "@types/nodemailer": "^6.4.14",
"@types/notp": "^2.0.4", "@types/notp": "^2.0.5",
"@types/saslprep": "^1.0.2", "@types/saslprep": "^1.0.3",
"@types/semver": "^7.5.4", "@types/semver": "^7.5.5",
"@types/serialize-javascript": "^5.0.3", "@types/serialize-javascript": "^5.0.4",
"@types/superagent": "^4.1.20", "@types/superagent": "^4.1.21",
"@types/tar": "^6.1.7", "@types/tar": "^6.1.9",
"moment": "^2.29.4" "moment": "^2.29.4"
} }
} }

@ -12,7 +12,7 @@
"xml2js": "^0.6.2" "xml2js": "^0.6.2"
}, },
"devDependencies": { "devDependencies": {
"@types/turndown": "^5.0.3", "@types/turndown": "^5.0.4",
"@types/xml2js": "^0.4.13" "@types/xml2js": "^0.4.14"
} }
} }

@ -27,18 +27,18 @@
"@simplewebauthn/browser": "7.4.0", "@simplewebauthn/browser": "7.4.0",
"@svgr/webpack": "^8.1.0", "@svgr/webpack": "^8.1.0",
"@types/gulp-if": "^0.0.34", "@types/gulp-if": "^0.0.34",
"@types/jquery": "^3.5.25", "@types/jquery": "^3.5.27",
"@types/json-schema": "^7.0.14", "@types/json-schema": "^7.0.15",
"@types/katex": "^0.16.5", "@types/katex": "^0.16.6",
"@types/markdown-it": "^13.0.5", "@types/markdown-it": "^13.0.6",
"@types/pickadate": "^3.5.34", "@types/pickadate": "^3.5.35",
"@types/qrcode": "^1.5.4", "@types/qrcode": "^1.5.5",
"@types/react": "^18.2.34", "@types/react": "^18.2.37",
"@types/react-dom": "^18.2.14", "@types/react-dom": "^18.2.15",
"@types/redux-logger": "^3.0.11", "@types/redux-logger": "^3.0.12",
"@types/serviceworker": "^0.0.76", "@types/serviceworker": "^0.0.76",
"@types/sharedworker": "^0.0.105", "@types/sharedworker": "^0.0.105",
"@types/webpack-env": "^1.18.3", "@types/webpack-env": "^1.18.4",
"@vscode/codicons": "^0.0.35", "@vscode/codicons": "^0.0.35",
"ajv": "^8.12.0", "ajv": "^8.12.0",
"allotment": "^1.19.3", "allotment": "^1.19.3",
@ -71,7 +71,7 @@
"monaco-editor-nls": "^3.1.0", "monaco-editor-nls": "^3.1.0",
"monaco-themes": "^0.4.4", "monaco-themes": "^0.4.4",
"monaco-yaml": "^4.0.4", "monaco-yaml": "^4.0.4",
"nanoid": "^5.0.2", "nanoid": "^5.0.3",
"normalize.css": "^8.0.1", "normalize.css": "^8.0.1",
"nprogress": "^0.2.0", "nprogress": "^0.2.0",
"p-queue": "^7.4.1", "p-queue": "^7.4.1",
@ -96,7 +96,7 @@
"redux-promise-middleware": "^6.1.3", "redux-promise-middleware": "^6.1.3",
"redux-thunk": "^2.4.2", "redux-thunk": "^2.4.2",
"rupture": "^0.7.1", "rupture": "^0.7.1",
"schemastery": "^3.14.0", "schemastery": "^3.14.1",
"slideout": "^1.0.1", "slideout": "^1.0.1",
"sticky-kit": "^1.1.3", "sticky-kit": "^1.1.3",
"tether": "1.4.7", "tether": "1.4.7",

@ -17,10 +17,10 @@
"reggol": "^1.6.3", "reggol": "^1.6.3",
"search-query-parser": "^1.6.0", "search-query-parser": "^1.6.0",
"source-map-support": "^0.5.21", "source-map-support": "^0.5.21",
"systeminformation": "^5.21.15" "systeminformation": "^5.21.17"
}, },
"devDependencies": { "devDependencies": {
"@types/fs-extra": "^11.0.3", "@types/fs-extra": "^11.0.4",
"@types/source-map-support": "^0.5.9" "@types/source-map-support": "^0.5.10"
} }
} }

@ -14,7 +14,7 @@
"superagent-proxy": "^3.0.0" "superagent-proxy": "^3.0.0"
}, },
"devDependencies": { "devDependencies": {
"@types/jsdom": "21.1.1", "@types/jsdom": "21.1.5",
"@types/superagent-proxy": "^3.0.2" "@types/superagent-proxy": "^3.0.3"
} }
} }

Loading…
Cancel
Save