dependencies: Upgrade JavaScript dependencies.

Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
Anders Kaseorg 2024-01-29 11:40:08 -08:00 committed by Tim Abbott
parent 24ecafbdd2
commit 1a9441ec70
5 changed files with 1788 additions and 1632 deletions

View File

@ -1,6 +1,6 @@
{ {
"private": true, "private": true,
"packageManager": "pnpm@8.11.0+sha256.5858806c3b292cbec89b5533662168a957358e2bbd86431516d441dc1aface89", "packageManager": "pnpm@8.15.0+sha256.fd1eab68a6d403f35cf3259c53780d70b0f14bd74e39da2f917d201f554d8665",
"dependencies": { "dependencies": {
"@babel/core": "^7.5.5", "@babel/core": "^7.5.5",
"@babel/preset-env": "^7.5.5", "@babel/preset-env": "^7.5.5",
@ -28,14 +28,14 @@
"colord": "^2.9.3", "colord": "^2.9.3",
"core-js": "^3.32.2", "core-js": "^3.32.2",
"css-loader": "^6.2.0", "css-loader": "^6.2.0",
"css-minimizer-webpack-plugin": "^5.0.0", "css-minimizer-webpack-plugin": "^6.0.0",
"date-fns": "^2.16.1", "date-fns": "^3.3.1",
"email-addresses": "^5.0.0", "email-addresses": "^5.0.0",
"emoji-datasource-google": "^15.0.1", "emoji-datasource-google": "^15.0.1",
"emoji-datasource-google-blob": "npm:emoji-datasource-google@^3.0.0", "emoji-datasource-google-blob": "npm:emoji-datasource-google@^3.0.0",
"emoji-datasource-twitter": "^15.0.1", "emoji-datasource-twitter": "^15.0.1",
"error-stack-parser": "^2.0.2", "error-stack-parser": "^2.0.2",
"expose-loader": "^4.0.0", "expose-loader": "^5.0.0",
"flatpickr": "^4.5.7", "flatpickr": "^4.5.7",
"font-awesome": "^4.7.0", "font-awesome": "^4.7.0",
"font-subset-loader2": "^1.1.7", "font-subset-loader2": "^1.1.7",
@ -58,8 +58,8 @@
"plotly.js": "^2.0.0", "plotly.js": "^2.0.0",
"postcss": "^8.0.3", "postcss": "^8.0.3",
"postcss-extend-rule": "^4.0.0", "postcss-extend-rule": "^4.0.0",
"postcss-import": "^15.0.0", "postcss-import": "^16.0.0",
"postcss-loader": "^7.0.0", "postcss-loader": "^8.0.0",
"postcss-prefixwrap": "^1.24.0", "postcss-prefixwrap": "^1.24.0",
"postcss-preset-env": "^9.0.0", "postcss-preset-env": "^9.0.0",
"postcss-simple-vars": "^7.0.0", "postcss-simple-vars": "^7.0.0",
@ -74,14 +74,14 @@
"stackframe": "^1.3.4", "stackframe": "^1.3.4",
"stacktrace-gps": "^3.0.4", "stacktrace-gps": "^3.0.4",
"style-loader": "^3.2.1", "style-loader": "^3.2.1",
"text-field-edit": "^3.2.0", "text-field-edit": "^4.0.0",
"tippy.js": "^6.3.7", "tippy.js": "^6.3.7",
"turndown": "^7.0.0", "turndown": "^7.0.0",
"url-loader": "^4.1.1", "url-loader": "^4.1.1",
"url-template": "2.0.8", "url-template": "2.0.8",
"webfonts-loader": "^8.0.0", "webfonts-loader": "^8.0.0",
"webpack": "^5.61.0", "webpack": "^5.61.0",
"webpack-bundle-tracker": "^2.0.0", "webpack-bundle-tracker": "^3.0.1",
"webpack-cli": "^5.0.1", "webpack-cli": "^5.0.1",
"winchan": "^0.2.1", "winchan": "^0.2.1",
"zod": "^3.21.4" "zod": "^3.21.4"
@ -99,7 +99,7 @@
"@types/lodash": "^4.14.172", "@types/lodash": "^4.14.172",
"@types/micromodal": "^0.3.3", "@types/micromodal": "^0.3.3",
"@types/minimalistic-assert": "^1.0.1", "@types/minimalistic-assert": "^1.0.1",
"@types/node": "^20.9.0", "@types/node": "20.11.5",
"@types/plotly.js": "^2.12.20", "@types/plotly.js": "^2.12.20",
"@types/sortablejs": "^1.15.1", "@types/sortablejs": "^1.15.1",
"@types/spectrum": "^1.8.4", "@types/spectrum": "^1.8.4",
@ -123,8 +123,8 @@
"eslint-plugin-formatjs": "^4.0.2", "eslint-plugin-formatjs": "^4.0.2",
"eslint-plugin-import": "^2.22.0", "eslint-plugin-import": "^2.22.0",
"eslint-plugin-no-jquery": "^2.7.0", "eslint-plugin-no-jquery": "^2.7.0",
"eslint-plugin-unicorn": "^49.0.0", "eslint-plugin-unicorn": "^50.0.1",
"jsdom": "^23.0.1", "jsdom": "^24.0.0",
"minimist": "^1.2.6", "minimist": "^1.2.6",
"mkdirp": "^3.0.1", "mkdirp": "^3.0.1",
"mockdate": "^3.0.2", "mockdate": "^3.0.2",
@ -134,8 +134,8 @@
"prettier": "^3.0.0", "prettier": "^3.0.0",
"puppeteer": "^21.0.3", "puppeteer": "^21.0.3",
"source-map": "npm:source-map-js@1.0.1", "source-map": "npm:source-map-js@1.0.1",
"stylelint": "^15.2.0", "stylelint": "^16.2.0",
"stylelint-config-standard": "^34.0.0", "stylelint-config-standard": "^36.0.0",
"svgo": "^3.0.0", "svgo": "^3.0.0",
"swagger-parser": "^10.0.0", "swagger-parser": "^10.0.0",
"ts-node": "^10.0.0", "ts-node": "^10.0.0",

File diff suppressed because it is too large Load Diff

View File

@ -43,11 +43,11 @@ cp -a \
package.json pnpm-lock.yaml \ package.json pnpm-lock.yaml \
/tmp/production-build /tmp/production-build
# Check that webpack bundles use only ES2019 syntax. # Check that webpack bundles use only ES2020 syntax.
# Use the pnpm binary installed by tools/provision. # Use the pnpm binary installed by tools/provision.
PNPM="/usr/local/bin/pnpm" PNPM="/usr/local/bin/pnpm"
tar -C /tmp -xzf /tmp/production-build/zulip-server-test.tar.gz zulip-server-test/prod-static/serve/webpack-bundles tar -C /tmp -xzf /tmp/production-build/zulip-server-test.tar.gz zulip-server-test/prod-static/serve/webpack-bundles
( (
GLOBIGNORE=/tmp/zulip-server-test/prod-static/serve/webpack-bundles/katex-cli.js GLOBIGNORE=/tmp/zulip-server-test/prod-static/serve/webpack-bundles/katex-cli.js
"$PNPM" exec es-check es2019 /tmp/zulip-server-test/prod-static/serve/webpack-bundles/*.js "$PNPM" exec es-check es2020 /tmp/zulip-server-test/prod-static/serve/webpack-bundles/*.js
) )

View File

@ -48,4 +48,4 @@ API_FEATURE_LEVEL = 237
# historical commits sharing the same major version, in which case a # historical commits sharing the same major version, in which case a
# minor version bump suffices. # minor version bump suffices.
PROVISION_VERSION = (259, 0) PROVISION_VERSION = (260, 0)

View File

@ -1,7 +1,7 @@
{ {
"compilerOptions": { "compilerOptions": {
/* Language and Environment */ /* Language and Environment */
"target": "es2019", "target": "esnext",
/* Modules */ /* Modules */
"rootDir": "src", "rootDir": "src",