Skip to content

Commit f6a6ca8

Browse files
authored
refactor(core): replace serve-handler fork by official deps (facebook#10587)
1 parent 904b53b commit f6a6ca8

File tree

4 files changed

+14
-18
lines changed

4 files changed

+14
-18
lines changed

.github/workflows/lint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434

3535
- name: Check for suspicious yarn.lock
3636
# for allowed aliases, see https://github.com/yargs/cliui/pull/139/files#r1670711112
37-
run: yarn lockfile-lint --path yarn.lock --type yarn --allowed-hosts yarn --validate-https --validate-package-names --validate-integrity --empty-hostname=false --allowed-package-name-aliases serve-handler react-loadable string-width-cjs strip-ansi-cjs wrap-ansi-cjs
37+
run: yarn lockfile-lint --path yarn.lock --type yarn --allowed-hosts yarn --validate-https --validate-package-names --validate-integrity --empty-hostname=false --allowed-package-name-aliases react-loadable string-width-cjs strip-ansi-cjs wrap-ansi-cjs
3838

3939
- name: Lint
4040
run: |

admin/verdaccio.yaml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,6 @@ packages:
2929
access: $all
3030
publish: $all
3131
proxy: npmjs
32-
'@docusaurus/serve-handler':
33-
access: $all
34-
publish: $all
35-
proxy: npmjs
3632
# Group and isolate all local packages, avoid being proxy from outside
3733
'@docusaurus/*':
3834
access: $all

packages/docusaurus/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@
6868
"react-router-dom": "^5.3.4",
6969
"rtl-detect": "^1.0.4",
7070
"semver": "^7.5.4",
71-
"serve-handler": "npm:@docusaurus/[email protected]",
71+
"serve-handler": "^6.1.6",
7272
"shelljs": "^0.8.5",
7373
"tslib": "^2.6.0",
7474
"update-notifier": "^6.0.2",

yarn.lock

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -13500,15 +13500,15 @@ [email protected]:
1350013500
resolved "https://registry.yarnpkg.com/path-to-regexp/-/path-to-regexp-0.1.10.tgz#67e9108c5c0551b9e5326064387de4763c4d5f8b"
1350113501
integrity sha512-7lf7qcQidTku0Gu3YDPc8DJ1q7OOucfa/BSsIwjuh56VU7katFvuM8hULfkwB3Fns/rsVF7PwPKVw1sl5KQS9w==
1350213502

13503-
path-to-regexp@2.2.1:
13504-
version "2.2.1"
13505-
resolved "https://registry.yarnpkg.com/path-to-regexp/-/path-to-regexp-2.2.1.tgz#90b617025a16381a879bc82a38d4e8bdeb2bcf45"
13506-
integrity sha512-gu9bD6Ta5bwGrrU8muHzVOBFFREpp2iRkVfhBJahwJ6p6Xw20SjT0MxLnwkjOibQmGSYhiUnf2FLe7k+jcFmGQ==
13503+
path-to-regexp@3.3.0:
13504+
version "3.3.0"
13505+
resolved "https://registry.yarnpkg.com/path-to-regexp/-/path-to-regexp-3.3.0.tgz#f7f31d32e8518c2660862b644414b6d5c63a611b"
13506+
integrity sha512-qyCH421YQPS2WFDxDjftfc1ZR5WKQzVzqsp4n9M2kQhVOo/ByahFoUNJfl58kOcEGfQ//7weFTDhm+ss8Ecxgw==
1350713507

1350813508
path-to-regexp@^1.7.0:
13509-
version "1.8.0"
13510-
resolved "https://registry.yarnpkg.com/path-to-regexp/-/path-to-regexp-1.8.0.tgz#887b3ba9d84393e87a0a0b9f4cb756198b53548a"
13511-
integrity sha512-n43JRhlUKUAlibEJhPeir1ncUID16QnEjNpwzNdO3Lm4ywrBpBZ5oLD0I6br9evr1Y9JTqwRtAh7JLoOzAQdVA==
13509+
version "1.9.0"
13510+
resolved "https://registry.yarnpkg.com/path-to-regexp/-/path-to-regexp-1.9.0.tgz#5dc0753acbf8521ca2e0f137b4578b917b10cf24"
13511+
integrity sha512-xIp7/apCFJuUHdDLWe8O1HIkb0kQrOMb/0u6FXQjemHn/ii5LrIzU6bdECnsiTF/GjZkMEKg1xdiZwNqDYlZ6g==
1351213512
dependencies:
1351313513
isarray "0.0.1"
1351413514

@@ -15327,17 +15327,17 @@ serialize-javascript@^6.0.0, serialize-javascript@^6.0.1:
1532715327
dependencies:
1532815328
randombytes "^2.1.0"
1532915329

15330-
"serve-handler@npm:@docusaurus/[email protected]":
15331-
version "6.2.0"
15332-
resolved "https://registry.yarnpkg.com/@docusaurus/serve-handler/-/serve-handler-6.2.0.tgz#64d3e58ff5e5eaf7caf97e20e6695fd2510b9e6d"
15333-
integrity sha512-bTu+jOVeSHjUjaaK1JYqzBCWRHVEOYoMtHrO+uhLYG71NxtwrtpnLsYVr4uSlEyGIqjhW1Ie49sGAfDoGUJa0A==
15330+
serve-handler@^6.1.6:
15331+
version "6.1.6"
15332+
resolved "https://registry.yarnpkg.com/serve-handler/-/serve-handler-6.1.6.tgz#50803c1d3e947cd4a341d617f8209b22bd76cfa1"
15333+
integrity sha512-x5RL9Y2p5+Sh3D38Fh9i/iQ5ZK+e4xuXRd/pGbM4D13tgo/MGwbttUk8emytcr1YYzBYs+apnUngBDFYfpjPuQ==
1533415334
dependencies:
1533515335
bytes "3.0.0"
1533615336
content-disposition "0.5.2"
1533715337
mime-types "2.1.18"
1533815338
minimatch "3.1.2"
1533915339
path-is-inside "1.0.2"
15340-
path-to-regexp "2.2.1"
15340+
path-to-regexp "3.3.0"
1534115341
range-parser "1.2.0"
1534215342

1534315343
serve-index@^1.9.1:

0 commit comments

Comments
 (0)