@docusaurus/plugin-client-redirects 0.0.0-4384 → 0.0.0-4394

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -88,7 +88,7 @@ function doCollectRedirects(pluginContext) {
88
88
  ];
89
89
  }
90
90
  function createRedirectsOptionRedirects(redirectsOption) {
91
- // For conveniency, user can use a string or a string[]
91
+ // For convenience, user can use a string or a string[]
92
92
  function optionToRedirects(option) {
93
93
  if (typeof option.from === 'string') {
94
94
  return [{ from: option.from, to: option.to }];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@docusaurus/plugin-client-redirects",
3
- "version": "0.0.0-4384",
3
+ "version": "0.0.0-4394",
4
4
  "description": "Client redirects plugin for Docusaurus.",
5
5
  "main": "lib/index.js",
6
6
  "types": "src/plugin-client-redirects.d.ts",
@@ -18,11 +18,11 @@
18
18
  },
19
19
  "license": "MIT",
20
20
  "dependencies": {
21
- "@docusaurus/core": "0.0.0-4384",
22
- "@docusaurus/logger": "0.0.0-4384",
23
- "@docusaurus/utils": "0.0.0-4384",
24
- "@docusaurus/utils-common": "0.0.0-4384",
25
- "@docusaurus/utils-validation": "0.0.0-4384",
21
+ "@docusaurus/core": "0.0.0-4394",
22
+ "@docusaurus/logger": "0.0.0-4394",
23
+ "@docusaurus/utils": "0.0.0-4394",
24
+ "@docusaurus/utils-common": "0.0.0-4394",
25
+ "@docusaurus/utils-validation": "0.0.0-4394",
26
26
  "chalk": "^4.1.2",
27
27
  "eta": "^1.12.3",
28
28
  "fs-extra": "^10.0.0",
@@ -30,7 +30,7 @@
30
30
  "tslib": "^2.3.1"
31
31
  },
32
32
  "devDependencies": {
33
- "@docusaurus/types": "0.0.0-4384"
33
+ "@docusaurus/types": "0.0.0-4394"
34
34
  },
35
35
  "peerDependencies": {
36
36
  "react": "^16.8.4 || ^17.0.0",
@@ -39,5 +39,5 @@
39
39
  "engines": {
40
40
  "node": ">=14"
41
41
  },
42
- "gitHead": "51cb250b7c01a53bdf32414249281eab0b320df8"
42
+ "gitHead": "244d27da53388cca3bc9963e0b10710cdb1d3f58"
43
43
  }
@@ -143,7 +143,7 @@ function doCollectRedirects(pluginContext: PluginContext): RedirectMetadata[] {
143
143
  function createRedirectsOptionRedirects(
144
144
  redirectsOption: PluginOptions['redirects'],
145
145
  ): RedirectMetadata[] {
146
- // For conveniency, user can use a string or a string[]
146
+ // For convenience, user can use a string or a string[]
147
147
  function optionToRedirects(option: RedirectOption): RedirectMetadata[] {
148
148
  if (typeof option.from === 'string') {
149
149
  return [{from: option.from, to: option.to}];