Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions packages/docusaurus/bin/beforeCli.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import {createRequire} from 'module';
import execa from 'execa';
import {logger} from '@docusaurus/logger';
import semver from 'semver';
import updateNotifier from 'update-notifier';
import updateNotifier from 'nano-update-notifier';
import boxen from 'boxen';
import {DOCUSAURUS_VERSION} from '@docusaurus/utils';

Expand Down Expand Up @@ -77,7 +77,7 @@ export default async function beforeCli() {
/**
* We don't want to display update message for canary releases.
* See https://github.com/facebook/docusaurus/issues/5378
* @param {import('update-notifier').UpdateInfo} update
* @param {import('nano-update-notifier').Update} update
*/
function ignoreUpdate(update) {
const isCanaryRelease = update?.current?.startsWith('0.0.0');
Expand Down
8 changes: 1 addition & 7 deletions packages/docusaurus/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@
"serve-handler": "^6.1.7",
"tinypool": "^2.1.0",
"tslib": "^2.6.0",
"update-notifier": "^6.0.2",
"nano-update-notifier": "^1.2.0",
"webpack": "^5.106.2",
"webpack-bundle-analyzer": "^5.3.0",
"webpack-dev-server": "^5.2.3",
Expand All @@ -81,12 +81,6 @@
"@docusaurus/types": "3.10.1",
"@total-typescript/shoehorn": "^0.1.2",
"@types/escape-html": "^1.0.4",
"@types/history": "^4.7.11",
"@types/react-dom": "^19.2.3",
"@types/react-router-dom": "^5.3.3",
"@types/react-router-config": "^5.0.7",
"@types/serve-handler": "^6.1.4",
"@types/update-notifier": "^6.0.4",
"@types/webpack-bundle-analyzer": "^4.7.0",
"@types/webpack-env": "^1.18.8",
"tree-node-cli": "^3.0.0"
Expand Down
Loading