@docusaurus/plugin-client-redirects 0.0.0-4463 → 0.0.0-4479

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.
@@ -8,7 +8,7 @@
8
8
  Object.defineProperty(exports, "__esModule", { value: true });
9
9
  exports.createFromExtensionsRedirects = exports.createToExtensionsRedirects = void 0;
10
10
  const utils_1 = require("@docusaurus/utils");
11
- const ExtensionAdditionalMessage = 'If the redirect extension system is not good enough for your usecase, you can create redirects yourself with the "createRedirects" plugin option.';
11
+ const ExtensionAdditionalMessage = 'If the redirect extension system is not good enough for your use case, you can create redirects yourself with the "createRedirects" plugin option.';
12
12
  const validateExtension = (ext) => {
13
13
  if (!ext) {
14
14
  throw new Error(`Extension "${ext}" is not allowed.\n${ExtensionAdditionalMessage}`);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@docusaurus/plugin-client-redirects",
3
- "version": "0.0.0-4463",
3
+ "version": "0.0.0-4479",
4
4
  "description": "Client redirects plugin for Docusaurus.",
5
5
  "main": "lib/index.js",
6
6
  "types": "src/plugin-client-redirects.d.ts",
@@ -18,18 +18,18 @@
18
18
  },
19
19
  "license": "MIT",
20
20
  "dependencies": {
21
- "@docusaurus/core": "0.0.0-4463",
22
- "@docusaurus/logger": "0.0.0-4463",
23
- "@docusaurus/utils": "0.0.0-4463",
24
- "@docusaurus/utils-common": "0.0.0-4463",
25
- "@docusaurus/utils-validation": "0.0.0-4463",
21
+ "@docusaurus/core": "0.0.0-4479",
22
+ "@docusaurus/logger": "0.0.0-4479",
23
+ "@docusaurus/utils": "0.0.0-4479",
24
+ "@docusaurus/utils-common": "0.0.0-4479",
25
+ "@docusaurus/utils-validation": "0.0.0-4479",
26
26
  "eta": "^1.12.3",
27
27
  "fs-extra": "^10.0.0",
28
28
  "lodash": "^4.17.20",
29
29
  "tslib": "^2.3.1"
30
30
  },
31
31
  "devDependencies": {
32
- "@docusaurus/types": "0.0.0-4463"
32
+ "@docusaurus/types": "0.0.0-4479"
33
33
  },
34
34
  "peerDependencies": {
35
35
  "react": "^16.8.4 || ^17.0.0",
@@ -38,5 +38,5 @@
38
38
  "engines": {
39
39
  "node": ">=14"
40
40
  },
41
- "gitHead": "bb38179c9797527fa1877c8aa20a10a42c7900ad"
41
+ "gitHead": "c85b2f2a43cfed30c1621ccb21057dfd19770a33"
42
42
  }
@@ -13,7 +13,7 @@ import {
13
13
  import type {RedirectMetadata} from './types';
14
14
 
15
15
  const ExtensionAdditionalMessage =
16
- 'If the redirect extension system is not good enough for your usecase, you can create redirects yourself with the "createRedirects" plugin option.';
16
+ 'If the redirect extension system is not good enough for your use case, you can create redirects yourself with the "createRedirects" plugin option.';
17
17
 
18
18
  const validateExtension = (ext: string) => {
19
19
  if (!ext) {