|
@@ -1,6 +1,6 @@
|
|
|
{
|
|
{
|
|
|
"name": "@growi/app",
|
|
"name": "@growi/app",
|
|
|
- "version": "7.0.12-RC.0",
|
|
|
|
|
|
|
+ "version": "7.1.0-RC.0",
|
|
|
"license": "MIT",
|
|
"license": "MIT",
|
|
|
"private": "true",
|
|
"private": "true",
|
|
|
"scripts": {
|
|
"scripts": {
|
|
@@ -25,9 +25,8 @@
|
|
|
"dev:migrate:status": "pnpm run dev:migrate-mongo status -f config/migrate-mongo-config.js",
|
|
"dev:migrate:status": "pnpm run dev:migrate-mongo status -f config/migrate-mongo-config.js",
|
|
|
"dev:migrate:up": "pnpm run dev:migrate-mongo up -f config/migrate-mongo-config.js",
|
|
"dev:migrate:up": "pnpm run dev:migrate-mongo up -f config/migrate-mongo-config.js",
|
|
|
"dev:migrate:down": "pnpm run dev:migrate-mongo down -f config/migrate-mongo-config.js",
|
|
"dev:migrate:down": "pnpm run dev:migrate-mongo down -f config/migrate-mongo-config.js",
|
|
|
- "cy:run": "cypress run --browser chromium",
|
|
|
|
|
"//// for CI": "",
|
|
"//// for CI": "",
|
|
|
- "dev:ci": "cross-env NODE_ENV=development pnpm run ts-node src/server/app.ts --ci",
|
|
|
|
|
|
|
+ "launch-dev:ci": "cross-env NODE_ENV=development pnpm run dev:migrate && pnpm run ts-node src/server/app.ts --ci",
|
|
|
"lint:typecheck": "npx -y tspc",
|
|
"lint:typecheck": "npx -y tspc",
|
|
|
"lint:eslint": "eslint --quiet \"**/*.{js,jsx,ts,tsx}\"",
|
|
"lint:eslint": "eslint --quiet \"**/*.{js,jsx,ts,tsx}\"",
|
|
|
"lint:styles": "stylelint \"src/**/*.scss\"",
|
|
"lint:styles": "stylelint \"src/**/*.scss\"",
|
|
@@ -36,20 +35,17 @@
|
|
|
"prelint:swagger2openapi": "pnpm run openapi:v3",
|
|
"prelint:swagger2openapi": "pnpm run openapi:v3",
|
|
|
"test": "run-p test:*",
|
|
"test": "run-p test:*",
|
|
|
"test:jest": "cross-env NODE_ENV=test TS_NODE_PROJECT=test/integration/tsconfig.json jest",
|
|
"test:jest": "cross-env NODE_ENV=test TS_NODE_PROJECT=test/integration/tsconfig.json jest",
|
|
|
- "test:vitest": "run-p vitest:run vitest:run:integ vitest:run:components",
|
|
|
|
|
|
|
+ "test:vitest": "vitest run --coverage",
|
|
|
"jest:run": "cross-env NODE_ENV=test TS_NODE_PROJECT=test/integration/tsconfig.json jest --passWithNoTests -- ",
|
|
"jest:run": "cross-env NODE_ENV=test TS_NODE_PROJECT=test/integration/tsconfig.json jest --passWithNoTests -- ",
|
|
|
"reg:run": "reg-suit run",
|
|
"reg:run": "reg-suit run",
|
|
|
- "vitest:run": "vitest run config src --coverage",
|
|
|
|
|
- "vitest:run:integ": "vitest run -c vitest.config.integ.ts src --coverage",
|
|
|
|
|
- "vitest:run:components": "vitest run -c vitest.config.components.ts src --coverage",
|
|
|
|
|
"previtest:run:integ": "vitest run -c test-with-vite/download-mongo-binary/vitest.config.ts test-with-vite/download-mongo-binary",
|
|
"previtest:run:integ": "vitest run -c test-with-vite/download-mongo-binary/vitest.config.ts test-with-vite/download-mongo-binary",
|
|
|
"//// misc": "",
|
|
"//// misc": "",
|
|
|
- "console": "cross-env NODE_ENV=development pnpm run ts-node --experimental-repl-await src/server/console.js",
|
|
|
|
|
|
|
+ "console": "yarn cross-env NODE_ENV=development yarn ts-node --experimental-repl-await src/server/console.js",
|
|
|
"swagger-jsdoc": "swagger-jsdoc -o tmp/swagger.json -d config/swagger-definition.js",
|
|
"swagger-jsdoc": "swagger-jsdoc -o tmp/swagger.json -d config/swagger-definition.js",
|
|
|
"openapi:v3": "cross-env API_VERSION=3 pnpm run swagger-jsdoc -- \"src/server/routes/apiv3/**/*.js\" \"src/server/models/**/*.js\"",
|
|
"openapi:v3": "cross-env API_VERSION=3 pnpm run swagger-jsdoc -- \"src/server/routes/apiv3/**/*.js\" \"src/server/models/**/*.js\"",
|
|
|
"openapi:v1": "cross-env API_VERSION=1 pnpm run swagger-jsdoc -- \"src/server/*/*.js\" \"src/server/models/**/*.js\"",
|
|
"openapi:v1": "cross-env API_VERSION=1 pnpm run swagger-jsdoc -- \"src/server/*/*.js\" \"src/server/models/**/*.js\"",
|
|
|
"ts-node": "node -r ts-node/register/transpile-only -r tsconfig-paths/register -r dotenv-flow/config",
|
|
"ts-node": "node -r ts-node/register/transpile-only -r tsconfig-paths/register -r dotenv-flow/config",
|
|
|
- "version": "yarn version --no-git-tag-version --preid=RC"
|
|
|
|
|
|
|
+ "version": "yarn version --no-git-tag-version --non-interactive --preid=RC"
|
|
|
},
|
|
},
|
|
|
"// comments for dependencies": {
|
|
"// comments for dependencies": {
|
|
|
"@aws-skd/*": "fix version above 3.186.0 that is required by mongodb@4.16.0",
|
|
"@aws-skd/*": "fix version above 3.186.0 that is required by mongodb@4.16.0",
|
|
@@ -63,7 +59,7 @@
|
|
|
"@akebifiky/remark-simple-plantuml": "^1.0.2",
|
|
"@akebifiky/remark-simple-plantuml": "^1.0.2",
|
|
|
"@aws-sdk/client-s3": "3.454.0",
|
|
"@aws-sdk/client-s3": "3.454.0",
|
|
|
"@aws-sdk/s3-request-presigner": "3.454.0",
|
|
"@aws-sdk/s3-request-presigner": "3.454.0",
|
|
|
- "@azure/identity": "^4.0.1",
|
|
|
|
|
|
|
+ "@azure/identity": "^4.3.0",
|
|
|
"@azure/storage-blob": "^12.16.0",
|
|
"@azure/storage-blob": "^12.16.0",
|
|
|
"@browser-bunyan/console-formatted-stream": "^1.8.0",
|
|
"@browser-bunyan/console-formatted-stream": "^1.8.0",
|
|
|
"@elastic/elasticsearch7": "npm:@elastic/elasticsearch@^7.17.0",
|
|
"@elastic/elasticsearch7": "npm:@elastic/elasticsearch@^7.17.0",
|
|
@@ -91,7 +87,7 @@
|
|
|
"async-canvas-to-blob": "^1.0.3",
|
|
"async-canvas-to-blob": "^1.0.3",
|
|
|
"axios": "^0.24.0",
|
|
"axios": "^0.24.0",
|
|
|
"axios-retry": "^3.2.4",
|
|
"axios-retry": "^3.2.4",
|
|
|
- "body-parser": "^1.18.2",
|
|
|
|
|
|
|
+ "body-parser": "^1.20.3",
|
|
|
"browser-bunyan": "^1.8.0",
|
|
"browser-bunyan": "^1.8.0",
|
|
|
"bson-objectid": "^2.0.4",
|
|
"bson-objectid": "^2.0.4",
|
|
|
"bunyan": "^1.8.15",
|
|
"bunyan": "^1.8.15",
|
|
@@ -113,7 +109,7 @@
|
|
|
"escape-string-regexp": "^4.0.0",
|
|
"escape-string-regexp": "^4.0.0",
|
|
|
"eslint-plugin-regex": "^1.8.0",
|
|
"eslint-plugin-regex": "^1.8.0",
|
|
|
"expose-gc": "^1.0.0",
|
|
"expose-gc": "^1.0.0",
|
|
|
- "express": "^4.19.2",
|
|
|
|
|
|
|
+ "express": "^4.20.0",
|
|
|
"express-bunyan-logger": "^1.3.3",
|
|
"express-bunyan-logger": "^1.3.3",
|
|
|
"express-mongo-sanitize": "^2.1.0",
|
|
"express-mongo-sanitize": "^2.1.0",
|
|
|
"express-session": "^1.16.1",
|
|
"express-session": "^1.16.1",
|
|
@@ -121,7 +117,7 @@
|
|
|
"extensible-custom-error": "^0.0.7",
|
|
"extensible-custom-error": "^0.0.7",
|
|
|
"form-data": "^4.0.0",
|
|
"form-data": "^4.0.0",
|
|
|
"graceful-fs": "^4.1.11",
|
|
"graceful-fs": "^4.1.11",
|
|
|
- "hast-util-select": "^5.0.5",
|
|
|
|
|
|
|
+ "hast-util-select": "^6.0.2",
|
|
|
"helmet": "^4.6.0",
|
|
"helmet": "^4.6.0",
|
|
|
"http-errors": "^2.0.0",
|
|
"http-errors": "^2.0.0",
|
|
|
"i18next": "^23.10.1",
|
|
"i18next": "^23.10.1",
|
|
@@ -143,14 +139,14 @@
|
|
|
"multer": "~1.4.0",
|
|
"multer": "~1.4.0",
|
|
|
"multer-autoreap": "^1.0.3",
|
|
"multer-autoreap": "^1.0.3",
|
|
|
"mustache": "^4.2.0",
|
|
"mustache": "^4.2.0",
|
|
|
- "next": "^14.1.3",
|
|
|
|
|
|
|
+ "next": "^14.2.13",
|
|
|
"next-dynamic-loading-props": "^0.1.1",
|
|
"next-dynamic-loading-props": "^0.1.1",
|
|
|
"next-i18next": "^15.2.0",
|
|
"next-i18next": "^15.2.0",
|
|
|
"next-superjson": "^0.0.4",
|
|
"next-superjson": "^0.0.4",
|
|
|
"next-themes": "^0.2.1",
|
|
"next-themes": "^0.2.1",
|
|
|
- "nocache": "^3.0.1",
|
|
|
|
|
|
|
+ "nocache": "^4.0.0",
|
|
|
"node-cron": "^3.0.2",
|
|
"node-cron": "^3.0.2",
|
|
|
- "nodemailer": "^6.6.2",
|
|
|
|
|
|
|
+ "nodemailer": "^6.9.15",
|
|
|
"nodemailer-ses-transport": "~1.5.0",
|
|
"nodemailer-ses-transport": "~1.5.0",
|
|
|
"openid-client": "^5.4.0",
|
|
"openid-client": "^5.4.0",
|
|
|
"p-retry": "^4.0.0",
|
|
"p-retry": "^4.0.0",
|
|
@@ -171,7 +167,7 @@
|
|
|
"react-error-boundary": "^3.1.4",
|
|
"react-error-boundary": "^3.1.4",
|
|
|
"react-i18next": "^14.1.0",
|
|
"react-i18next": "^14.1.0",
|
|
|
"react-image-crop": "^8.3.0",
|
|
"react-image-crop": "^8.3.0",
|
|
|
- "react-markdown": "^8.0.7",
|
|
|
|
|
|
|
+ "react-markdown": "^9.0.1",
|
|
|
"react-multiline-clamp": "^2.0.0",
|
|
"react-multiline-clamp": "^2.0.0",
|
|
|
"react-scroll": "^1.8.7",
|
|
"react-scroll": "^1.8.7",
|
|
|
"react-stickynode": "^4.1.1",
|
|
"react-stickynode": "^4.1.1",
|
|
@@ -180,18 +176,18 @@
|
|
|
"reactstrap": "^9.2.2",
|
|
"reactstrap": "^9.2.2",
|
|
|
"reconnecting-websocket": "^4.4.0",
|
|
"reconnecting-websocket": "^4.4.0",
|
|
|
"redis": "^3.0.2",
|
|
"redis": "^3.0.2",
|
|
|
- "rehype-katex": "^6.0.2",
|
|
|
|
|
- "rehype-raw": "^6.1.1",
|
|
|
|
|
- "rehype-sanitize": "^5.0.1",
|
|
|
|
|
- "rehype-slug": "^5.0.1",
|
|
|
|
|
|
|
+ "rehype-katex": "^7.0.0",
|
|
|
|
|
+ "rehype-raw": "^7.0.0",
|
|
|
|
|
+ "rehype-sanitize": "^6.0.0",
|
|
|
|
|
+ "rehype-slug": "^6.0.0",
|
|
|
"rehype-toc": "^3.0.2",
|
|
"rehype-toc": "^3.0.2",
|
|
|
- "remark-breaks": "^3.0.2",
|
|
|
|
|
- "remark-emoji": "^3.0.2",
|
|
|
|
|
- "remark-frontmatter": "^4.0.1",
|
|
|
|
|
- "remark-gfm": "^3.0.1",
|
|
|
|
|
- "remark-math": "^5.1.1",
|
|
|
|
|
- "remark-toc": "^8.0.1",
|
|
|
|
|
- "remark-wiki-link": "^1.0.4",
|
|
|
|
|
|
|
+ "remark-breaks": "^4.0.0",
|
|
|
|
|
+ "remark-emoji": "^5.0.0",
|
|
|
|
|
+ "remark-frontmatter": "^5.0.0",
|
|
|
|
|
+ "remark-gfm": "^4.0.0",
|
|
|
|
|
+ "remark-math": "^6.0.0",
|
|
|
|
|
+ "remark-toc": "^9.0.0",
|
|
|
|
|
+ "remark-wiki-link": "^2.0.1",
|
|
|
"sanitize-filename": "^1.6.3",
|
|
"sanitize-filename": "^1.6.3",
|
|
|
"socket.io": "^4.7.5",
|
|
"socket.io": "^4.7.5",
|
|
|
"stream-to-promise": "^3.0.0",
|
|
"stream-to-promise": "^3.0.0",
|
|
@@ -203,20 +199,21 @@
|
|
|
"uglifycss": "^0.0.29",
|
|
"uglifycss": "^0.0.29",
|
|
|
"universal-bunyan": "^0.9.2",
|
|
"universal-bunyan": "^0.9.2",
|
|
|
"unstated": "^2.1.1",
|
|
"unstated": "^2.1.1",
|
|
|
- "unzip-stream": "^0.3.1",
|
|
|
|
|
|
|
+ "unzip-stream": "^0.3.2",
|
|
|
"url-join": "^4.0.0",
|
|
"url-join": "^4.0.0",
|
|
|
"usehooks-ts": "^2.6.0",
|
|
"usehooks-ts": "^2.6.0",
|
|
|
"validator": "^13.7.0",
|
|
"validator": "^13.7.0",
|
|
|
"ws": "^8.17.1",
|
|
"ws": "^8.17.1",
|
|
|
- "xss": "^1.0.14",
|
|
|
|
|
- "y-mongodb-provider": "^0.1.10",
|
|
|
|
|
|
|
+ "xss": "^1.0.15",
|
|
|
|
|
+ "y-mongodb-provider": "^0.2.0",
|
|
|
"y-socket.io": "^1.1.3",
|
|
"y-socket.io": "^1.1.3",
|
|
|
- "yjs": "^13.6.15"
|
|
|
|
|
|
|
+ "yjs": "^13.6.18"
|
|
|
},
|
|
},
|
|
|
"// comments for defDependencies": {
|
|
"// comments for defDependencies": {
|
|
|
"bootstrap": "v5.3.3 has a bug. refs: https://github.com/twbs/bootstrap/issues/39798",
|
|
"bootstrap": "v5.3.3 has a bug. refs: https://github.com/twbs/bootstrap/issues/39798",
|
|
|
"@handsontable/react": "v3 requires handsontable >= 7.0.0.",
|
|
"@handsontable/react": "v3 requires handsontable >= 7.0.0.",
|
|
|
- "handsontable": "v7.0.0 or above is no loger MIT lisence."
|
|
|
|
|
|
|
+ "handsontable": "v7.0.0 or above is no loger MIT lisence.",
|
|
|
|
|
+ "mongodb": "mongoose which is used requires mongo@4.16.0."
|
|
|
},
|
|
},
|
|
|
"devDependencies": {
|
|
"devDependencies": {
|
|
|
"@growi/core-styles": "workspace:^",
|
|
"@growi/core-styles": "workspace:^",
|
|
@@ -228,29 +225,30 @@
|
|
|
"@popperjs/core": "^2.11.8",
|
|
"@popperjs/core": "^2.11.8",
|
|
|
"@swc-node/jest": "^1.8.1",
|
|
"@swc-node/jest": "^1.8.1",
|
|
|
"@swc/jest": "^0.2.36",
|
|
"@swc/jest": "^0.2.36",
|
|
|
- "@testing-library/react": "^14.1.2",
|
|
|
|
|
|
|
+ "@testing-library/dom": "^10.4.0",
|
|
|
|
|
+ "@testing-library/jest-dom": "^6.5.0",
|
|
|
|
|
+ "@testing-library/react": "^16.0.1",
|
|
|
"@testing-library/user-event": "^14.5.2",
|
|
"@testing-library/user-event": "^14.5.2",
|
|
|
- "@types/express": "^4.17.11",
|
|
|
|
|
|
|
+ "@types/express": "^4.17.21",
|
|
|
"@types/jest": "^29.5.2",
|
|
"@types/jest": "^29.5.2",
|
|
|
"@types/react-input-autosize": "^2.2.4",
|
|
"@types/react-input-autosize": "^2.2.4",
|
|
|
"@types/react-scroll": "^1.8.4",
|
|
"@types/react-scroll": "^1.8.4",
|
|
|
"@types/react-stickynode": "^4.0.3",
|
|
"@types/react-stickynode": "^4.0.3",
|
|
|
|
|
+ "@types/testing-library__dom": "^7.5.0",
|
|
|
"@types/throttle-debounce": "^5.0.1",
|
|
"@types/throttle-debounce": "^5.0.1",
|
|
|
"@types/unzip-stream": "^0.3.4",
|
|
"@types/unzip-stream": "^0.3.4",
|
|
|
"@types/url-join": "^4.0.2",
|
|
"@types/url-join": "^4.0.2",
|
|
|
"babel-loader": "^8.2.5",
|
|
"babel-loader": "^8.2.5",
|
|
|
"bootstrap": "=5.3.2",
|
|
"bootstrap": "=5.3.2",
|
|
|
"connect-browser-sync": "^2.1.0",
|
|
"connect-browser-sync": "^2.1.0",
|
|
|
- "cypress-real-events": "^1.12.0",
|
|
|
|
|
"diff2html": "^3.4.47",
|
|
"diff2html": "^3.4.47",
|
|
|
"downshift": "^8.2.3",
|
|
"downshift": "^8.2.3",
|
|
|
"eazy-logger": "^3.1.0",
|
|
"eazy-logger": "^3.1.0",
|
|
|
- "eslint-plugin-cypress": "^2.12.1",
|
|
|
|
|
"eslint-plugin-jest": "^26.5.3",
|
|
"eslint-plugin-jest": "^26.5.3",
|
|
|
"eslint-plugin-regex": "^1.8.0",
|
|
"eslint-plugin-regex": "^1.8.0",
|
|
|
"fslightbox-react": "^1.7.6",
|
|
"fslightbox-react": "^1.7.6",
|
|
|
"handsontable": "=6.2.2",
|
|
"handsontable": "=6.2.2",
|
|
|
- "happy-dom": "^13.2.0",
|
|
|
|
|
|
|
+ "happy-dom": "^15.7.4",
|
|
|
"i18next-chained-backend": "^4.6.2",
|
|
"i18next-chained-backend": "^4.6.2",
|
|
|
"i18next-hmr": "^3.0.4",
|
|
"i18next-hmr": "^3.0.4",
|
|
|
"i18next-http-backend": "^2.5.0",
|
|
"i18next-http-backend": "^2.5.0",
|
|
@@ -260,12 +258,12 @@
|
|
|
"jest-localstorage-mock": "^2.4.14",
|
|
"jest-localstorage-mock": "^2.4.14",
|
|
|
"load-css-file": "^1.0.0",
|
|
"load-css-file": "^1.0.0",
|
|
|
"material-icons": "^1.11.3",
|
|
"material-icons": "^1.11.3",
|
|
|
|
|
+ "mongodb": "4.16.0",
|
|
|
"mongodb-memory-server-core": "^9.1.1",
|
|
"mongodb-memory-server-core": "^9.1.1",
|
|
|
"morgan": "^1.10.0",
|
|
"morgan": "^1.10.0",
|
|
|
"null-loader": "^4.0.1",
|
|
"null-loader": "^4.0.1",
|
|
|
"plantuml-encoder": "^1.2.5",
|
|
"plantuml-encoder": "^1.2.5",
|
|
|
"pretty-bytes": "^6.1.1",
|
|
"pretty-bytes": "^6.1.1",
|
|
|
- "react-codemirror2": "^6.0.0",
|
|
|
|
|
"react-copy-to-clipboard": "^5.0.1",
|
|
"react-copy-to-clipboard": "^5.0.1",
|
|
|
"react-dnd": "^14.0.5",
|
|
"react-dnd": "^14.0.5",
|
|
|
"react-dnd-html5-backend": "^14.1.0",
|
|
"react-dnd-html5-backend": "^14.1.0",
|
|
@@ -273,7 +271,9 @@
|
|
|
"react-hotkeys": "^2.0.0",
|
|
"react-hotkeys": "^2.0.0",
|
|
|
"react-input-autosize": "^3.0.0",
|
|
"react-input-autosize": "^3.0.0",
|
|
|
"react-toastify": "^9.1.3",
|
|
"react-toastify": "^9.1.3",
|
|
|
- "rehype-rewrite": "^3.0.6",
|
|
|
|
|
|
|
+ "remark-directive": "^3.0.0",
|
|
|
|
|
+ "remark-github-admonitions-to-directives": "^2.0.0",
|
|
|
|
|
+ "rehype-rewrite": "^4.0.2",
|
|
|
"replacestream": "^4.0.3",
|
|
"replacestream": "^4.0.3",
|
|
|
"sass": "^1.53.0",
|
|
"sass": "^1.53.0",
|
|
|
"simple-load-script": "^1.0.2",
|
|
"simple-load-script": "^1.0.2",
|