dependencies: Upgrade JavaScript dependencies.

Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
Anders Kaseorg 2021-06-07 19:20:35 -07:00 committed by Tim Abbott
parent f4235b258e
commit ad7466a2bf
8 changed files with 1024 additions and 994 deletions

View File

@ -179,7 +179,8 @@
}, },
"rules": { "rules": {
"new-cap": "off", "new-cap": "off",
"no-sync": "off" "no-sync": "off",
"unicorn/prefer-prototype-methods": "off"
} }
}, },
{ {

View File

@ -12,13 +12,13 @@
"@babel/preset-typescript": "^7.3.3", "@babel/preset-typescript": "^7.3.3",
"@babel/register": "^7.6.2", "@babel/register": "^7.6.2",
"@formatjs/intl": "^1.9.7", "@formatjs/intl": "^1.9.7",
"@giphy/js-components": "^4.3.1", "@giphy/js-components": "^5.0.5",
"@giphy/js-fetch-api": "^3.0.0", "@giphy/js-fetch-api": "^4.0.1",
"@uppy/core": "^1.7.1", "@uppy/core": "^1.7.1",
"@uppy/progress-bar": "^1.3.4", "@uppy/progress-bar": "^1.3.4",
"@uppy/xhr-upload": "^1.4.2", "@uppy/xhr-upload": "^1.4.2",
"autoprefixer": "^10.0.0", "autoprefixer": "^10.0.0",
"autosize": "^4.0.2", "autosize": "^5.0.0",
"babel-loader": "^8.0.6", "babel-loader": "^8.0.6",
"babel-plugin-formatjs": "^10.2.6", "babel-plugin-formatjs": "^10.2.6",
"blueimp-md5": "^2.10.0", "blueimp-md5": "^2.10.0",
@ -36,7 +36,7 @@
"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": "^6.0.0", "emoji-datasource-twitter": "^6.0.0",
"error-stack-parser": "^2.0.2", "error-stack-parser": "^2.0.2",
"eslint-plugin-unicorn": "^32.0.0", "eslint-plugin-unicorn": "^33.0.1",
"expose-loader": "^1.0.0", "expose-loader": "^1.0.0",
"file-loader": "^6.0.0", "file-loader": "^6.0.0",
"flatpickr": "^4.5.7", "flatpickr": "^4.5.7",
@ -52,7 +52,7 @@
"katex": "^0.13.2", "katex": "^0.13.2",
"lodash": "^4.17.19", "lodash": "^4.17.19",
"mini-css-extract-plugin": "^1.2.0", "mini-css-extract-plugin": "^1.2.0",
"plotly.js": "^1.48.1", "plotly.js": "^2.0.0",
"postcss": "^8.0.3", "postcss": "^8.0.3",
"postcss-calc": "^8.0.0", "postcss-calc": "^8.0.0",
"postcss-extend-rule": "^3.0.0", "postcss-extend-rule": "^3.0.0",
@ -110,14 +110,14 @@
"nyc": "^15.0.0", "nyc": "^15.0.0",
"openapi-examples-validator": "^4.0.0", "openapi-examples-validator": "^4.0.0",
"prettier": "^2.0.5", "prettier": "^2.0.5",
"puppeteer": "^9.1.1", "puppeteer": "^10.0.0",
"source-map": "https://codeload.github.com/benthemonkey/source-map/tar.gz/d95423f77edef6cbb9e21d2d6014c7de85ae220a", "source-map": "https://codeload.github.com/benthemonkey/source-map/tar.gz/d95423f77edef6cbb9e21d2d6014c7de85ae220a",
"stylelint": "^13.0.0", "stylelint": "^13.0.0",
"stylelint-config-prettier": "^8.0.2", "stylelint-config-prettier": "^8.0.2",
"stylelint-config-standard": "^22.0.0", "stylelint-config-standard": "^22.0.0",
"svgo": "^2.0.3", "svgo": "^2.0.3",
"swagger-parser": "^10.0.0", "swagger-parser": "^10.0.0",
"ts-node": "^9.1.1", "ts-node": "^10.0.0",
"typescript": "^4.0.2", "typescript": "^4.0.2",
"vnu-jar": "^21.2.5", "vnu-jar": "^21.2.5",
"webpack-dev-server": "^3.5.1", "webpack-dev-server": "^3.5.1",

View File

@ -95,7 +95,7 @@ export class MessageState {
// wrong with our event loop. // wrong with our event loop.
if (!this.received) { if (!this.received) {
setTimeout(this.maybe_restart_event_loop.bind(this), 5000); setTimeout(() => this.maybe_restart_event_loop(), 5000);
} }
} }

View File

@ -107,7 +107,7 @@ function populate_messages_sent_over_time(data) {
// Helper functions // Helper functions
function make_traces(dates, values, type, date_formatter) { function make_traces(dates, values, type, date_formatter) {
const text = dates.map((date) => date_formatter(date)); const text = dates.map((date) => date_formatter(date));
const common = {x: dates, type, hoverinfo: "none", text}; const common = {x: dates, type, hoverinfo: "none", text, textposition: "none"};
return { return {
human: { human: {
// 5062a0 // 5062a0
@ -808,7 +808,7 @@ function populate_messages_read_over_time(data) {
// Helper functions // Helper functions
function make_traces(dates, values, type, date_formatter) { function make_traces(dates, values, type, date_formatter) {
const text = dates.map((date) => date_formatter(date)); const text = dates.map((date) => date_formatter(date));
const common = {x: dates, type, hoverinfo: "none", text}; const common = {x: dates, type, hoverinfo: "none", text, textposition: "none"};
return { return {
everyone: { everyone: {
name: $t({defaultMessage: "Everyone"}), name: $t({defaultMessage: "Everyone"}),

View File

@ -48,4 +48,4 @@ API_FEATURE_LEVEL = 74
# 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 = "149.0" PROVISION_VERSION = "150.0"

View File

@ -218,13 +218,9 @@ export default (_env: unknown, argv: {mode?: string}): webpack.Configuration[] =
new DebugRequirePlugin(), new DebugRequirePlugin(),
new BundleTracker({ new BundleTracker({
filename: production filename: production
? "../../webpack-stats-production.json" ? "webpack-stats-production.json"
: "../../var/webpack-stats-dev.json", : "var/webpack-stats-dev.json",
relativePath: true, relativePath: true,
// Respecify many defaults until https://github.com/django-webpack/webpack-bundle-tracker/pull/55 is merged
path: path.resolve(__dirname, "static/webpack-bundles"),
integrity: false,
integrityHashes: [],
}), }),
...(production ...(production
? [] ? []

1981
yarn.lock

File diff suppressed because it is too large Load Diff

View File

@ -3413,8 +3413,8 @@ paths:
description: | description: |
Whether or not this organization is configured to send the standard Zulip Whether or not this organization is configured to send the standard Zulip
[welcome emails](/help/disable-welcome-emails) to new users joining the organization. [welcome emails](/help/disable-welcome-emails) to new users joining the organization.
? message_content_allowed_in_email_notifications message_content_allowed_in_email_notifications:
: type: boolean type: boolean
description: | description: |
Whether notification emails in this organization are allowed to Whether notification emails in this organization are allowed to
contain Zulip the message content, or simply indicate that a new contain Zulip the message content, or simply indicate that a new