Skip to content

Commit

Permalink
dependencies: Upgrade JavaScript dependencies.
Browse files Browse the repository at this point in the history
Signed-off-by: Anders Kaseorg <anders@zulip.com>
  • Loading branch information
andersk authored and timabbott committed Jun 8, 2021
1 parent f4235b2 commit ad7466a
Show file tree
Hide file tree
Showing 8 changed files with 1,025 additions and 995 deletions.
3 changes: 2 additions & 1 deletion .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,8 @@
},
"rules": {
"new-cap": "off",
"no-sync": "off"
"no-sync": "off",
"unicorn/prefer-prototype-methods": "off"
}
},
{
Expand Down
14 changes: 7 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,13 @@
"@babel/preset-typescript": "^7.3.3",
"@babel/register": "^7.6.2",
"@formatjs/intl": "^1.9.7",
"@giphy/js-components": "^4.3.1",
"@giphy/js-fetch-api": "^3.0.0",
"@giphy/js-components": "^5.0.5",
"@giphy/js-fetch-api": "^4.0.1",
"@uppy/core": "^1.7.1",
"@uppy/progress-bar": "^1.3.4",
"@uppy/xhr-upload": "^1.4.2",
"autoprefixer": "^10.0.0",
"autosize": "^4.0.2",
"autosize": "^5.0.0",
"babel-loader": "^8.0.6",
"babel-plugin-formatjs": "^10.2.6",
"blueimp-md5": "^2.10.0",
Expand All @@ -36,7 +36,7 @@
"emoji-datasource-google-blob": "npm:emoji-datasource-google@^3.0.0",
"emoji-datasource-twitter": "^6.0.0",
"error-stack-parser": "^2.0.2",
"eslint-plugin-unicorn": "^32.0.0",
"eslint-plugin-unicorn": "^33.0.1",
"expose-loader": "^1.0.0",
"file-loader": "^6.0.0",
"flatpickr": "^4.5.7",
Expand All @@ -52,7 +52,7 @@
"katex": "^0.13.2",
"lodash": "^4.17.19",
"mini-css-extract-plugin": "^1.2.0",
"plotly.js": "^1.48.1",
"plotly.js": "^2.0.0",
"postcss": "^8.0.3",
"postcss-calc": "^8.0.0",
"postcss-extend-rule": "^3.0.0",
Expand Down Expand Up @@ -110,14 +110,14 @@
"nyc": "^15.0.0",
"openapi-examples-validator": "^4.0.0",
"prettier": "^2.0.5",
"puppeteer": "^9.1.1",
"puppeteer": "^10.0.0",
"source-map": "https://codeload.github.com/benthemonkey/source-map/tar.gz/d95423f77edef6cbb9e21d2d6014c7de85ae220a",
"stylelint": "^13.0.0",
"stylelint-config-prettier": "^8.0.2",
"stylelint-config-standard": "^22.0.0",
"svgo": "^2.0.3",
"swagger-parser": "^10.0.0",
"ts-node": "^9.1.1",
"ts-node": "^10.0.0",
"typescript": "^4.0.2",
"vnu-jar": "^21.2.5",
"webpack-dev-server": "^3.5.1",
Expand Down
2 changes: 1 addition & 1 deletion static/js/sent_messages.js
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ export class MessageState {
// wrong with our event loop.

if (!this.received) {
setTimeout(this.maybe_restart_event_loop.bind(this), 5000);
setTimeout(() => this.maybe_restart_event_loop(), 5000);
}
}

Expand Down
4 changes: 2 additions & 2 deletions static/js/stats/stats.js
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ function populate_messages_sent_over_time(data) {
// Helper functions
function make_traces(dates, values, type, date_formatter) {
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 {
human: {
// 5062a0
Expand Down Expand Up @@ -808,7 +808,7 @@ function populate_messages_read_over_time(data) {
// Helper functions
function make_traces(dates, values, type, date_formatter) {
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 {
everyone: {
name: $t({defaultMessage: "Everyone"}),
Expand Down
2 changes: 1 addition & 1 deletion version.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,4 +48,4 @@
# historical commits sharing the same major version, in which case a
# minor version bump suffices.

PROVISION_VERSION = "149.0"
PROVISION_VERSION = "150.0"
8 changes: 2 additions & 6 deletions webpack.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -218,13 +218,9 @@ export default (_env: unknown, argv: {mode?: string}): webpack.Configuration[] =
new DebugRequirePlugin(),
new BundleTracker({
filename: production
? "../../webpack-stats-production.json"
: "../../var/webpack-stats-dev.json",
? "webpack-stats-production.json"
: "var/webpack-stats-dev.json",
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
? []
Expand Down
1,983 changes: 1,008 additions & 975 deletions yarn.lock

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions zerver/openapi/zulip.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3413,8 +3413,8 @@ paths:
description: |
Whether or not this organization is configured to send the standard Zulip
[welcome emails](/help/disable-welcome-emails) to new users joining the organization.
? message_content_allowed_in_email_notifications
: type: boolean
message_content_allowed_in_email_notifications:
type: boolean
description: |
Whether notification emails in this organization are allowed to
contain Zulip the message content, or simply indicate that a new
Expand Down

0 comments on commit ad7466a

Please sign in to comment.