Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
dependencies: Remove mkdirp.
Anders Kaseorg9c6e261861a7
diff --git a/package.json b/package.jsonindex 3f51c1b1c1c..712dcfd90f0 100644--- a/package.json+++ b/package.json@@ -138,7 +138,6 @@"eslint-plugin-unicorn": "^56.0.0","jsdom": "^25.0.0","minimist": "^1.2.6",- "mkdirp": "^3.0.1","mockdate": "^3.0.2","nyc": "^17.0.0","openapi-examples-validator": "^5.0.0",diff --git a/pnpm-lock.yaml b/pnpm-lock.yamlindex 501e70f93e7..405e902be8a 100644--- a/pnpm-lock.yaml+++ b/pnpm-lock.yaml@@ -425,9 +425,6 @@ importers:minimist:specifier: ^1.2.6version: 1.2.8- mkdirp:- specifier: ^3.0.1- version: 3.0.1mockdate:specifier: ^3.0.2version: 3.0.5@@ -6247,11 +6244,6 @@ packages:engines: {node: '>=10'}hasBin: true- resolution: {integrity: sha512-+NsyUUAZDmo6YVHzL/stxSu3t9YS1iljliy3BSDrXJ/dkn1KYdmtZODGGjLcc9XLgVVpH4KshHB8XmZgMhaBXg==}- engines: {node: '>=10'}- hasBin: true-resolution: {integrity: sha512-iniQP4rj1FhBdBYS/+eQv7j1tadJ9lJtdzgOpvsOHng/GbcDh2Fhdeq+ZRldrPYdXvCyfFUmFeEwEGXZB5I/AQ==}@@ -16134,8 +16126,6 @@ snapshots:- [email protected]: {}-diff --git a/tools/screenshots/message-screenshot.js b/tools/screenshots/message-screenshot.jsindex 7b2837ad1dc..db964b234d0 100644--- a/tools/screenshots/message-screenshot.js+++ b/tools/screenshots/message-screenshot.js@@ -2,11 +2,11 @@/* global $, CSS */+const fs = require("node:fs");const path = require("node:path");const {program} = require("commander");require("css.escape");-const mkdirp = require("mkdirp");const puppeteer = require("puppeteer");const options = {};@@ -76,7 +76,7 @@ async function run() {clip.y += 5;const imagePath = options.imagePath;const imageDir = path.dirname(imagePath);- mkdirp.sync(imageDir);+ await fs.promises.mkdir(imageDir, {recursive: true});await page.screenshot({path: imagePath, clip});} catch (error) {console.log(error);diff --git a/tools/screenshots/thread-screenshot.js b/tools/screenshots/thread-screenshot.jsindex 19a53fd758e..b7bc9f8a4d6 100644--- a/tools/screenshots/thread-screenshot.js+++ b/tools/screenshots/thread-screenshot.js@@ -2,11 +2,11 @@/* global $, CSS */+const fs = require("node:fs");const path = require("node:path");const {program} = require("commander");require("css.escape");-const mkdirp = require("mkdirp");const puppeteer = require("puppeteer");const options = {};@@ -93,7 +93,7 @@ async function run() {clip.height -= 8;const imagePath = options.imagePath;const imageDir = path.dirname(imagePath);- mkdirp.sync(imageDir);+ await fs.promises.mkdir(imageDir, {recursive: true});await page.screenshot({path: imagePath, clip});} catch (error) {console.log(error);diff --git a/version.py b/version.pyindex e28f6995964..c063fc8fd84 100644--- a/version.py+++ b/version.py@@ -49,4 +49,4 @@ API_FEATURE_LEVEL = 319 # Last bumped for message-link class# historical commits sharing the same major version, in which case a# minor version bump suffices.-PROVISION_VERSION = (299, 1) # bumped 2024-11-08 to patch svgicons2svgfont+PROVISION_VERSION = (300, 0) # bumped 2024-11-10 to remove mkdirp