@docusaurus/plugin-client-redirects 0.0.0-4174 → 0.0.0-4179

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@docusaurus/plugin-client-redirects",
3
- "version": "0.0.0-4174",
3
+ "version": "0.0.0-4179",
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-4174",
22
- "@docusaurus/types": "0.0.0-4174",
23
- "@docusaurus/utils": "0.0.0-4174",
24
- "@docusaurus/utils-common": "0.0.0-4174",
25
- "@docusaurus/utils-validation": "0.0.0-4174",
21
+ "@docusaurus/core": "0.0.0-4179",
22
+ "@docusaurus/types": "0.0.0-4179",
23
+ "@docusaurus/utils": "0.0.0-4179",
24
+ "@docusaurus/utils-common": "0.0.0-4179",
25
+ "@docusaurus/utils-validation": "0.0.0-4179",
26
26
  "chalk": "^4.1.2",
27
27
  "eta": "^1.12.3",
28
28
  "fs-extra": "^10.0.0",
@@ -37,5 +37,5 @@
37
37
  "engines": {
38
38
  "node": ">=14"
39
39
  },
40
- "gitHead": "a0e023ecaee9ac9d47fbee127eccccec96ef3fab"
40
+ "gitHead": "d61c493d9799b974fb8987530448f46642451363"
41
41
  }
@@ -1,6 +1,6 @@
1
1
  // Jest Snapshot v1, https://goo.gl/fbAQLP
2
2
 
3
- exports[`toRedirectFilesMetadata should create appropriate metadatas for empty baseUrl: fileContent baseUrl=empty 1`] = `
3
+ exports[`toRedirectFilesMetadata should create appropriate metadata for empty baseUrl: fileContent baseUrl=empty 1`] = `
4
4
  Array [
5
5
  "<!DOCTYPE html>
6
6
  <html>
@@ -16,7 +16,7 @@ Array [
16
16
  ]
17
17
  `;
18
18
 
19
- exports[`toRedirectFilesMetadata should create appropriate metadatas for root baseUrl: fileContent baseUrl=/ 1`] = `
19
+ exports[`toRedirectFilesMetadata should create appropriate metadata for root baseUrl: fileContent baseUrl=/ 1`] = `
20
20
  Array [
21
21
  "<!DOCTYPE html>
22
22
  <html>
@@ -32,7 +32,7 @@ Array [
32
32
  ]
33
33
  `;
34
34
 
35
- exports[`toRedirectFilesMetadata should create appropriate metadatas trailingSlash=false: fileContent 1`] = `
35
+ exports[`toRedirectFilesMetadata should create appropriate metadata trailingSlash=false: fileContent 1`] = `
36
36
  Array [
37
37
  "<!DOCTYPE html>
38
38
  <html>
@@ -70,7 +70,7 @@ Array [
70
70
  ]
71
71
  `;
72
72
 
73
- exports[`toRedirectFilesMetadata should create appropriate metadatas trailingSlash=true: fileContent 1`] = `
73
+ exports[`toRedirectFilesMetadata should create appropriate metadata trailingSlash=true: fileContent 1`] = `
74
74
  Array [
75
75
  "<!DOCTYPE html>
76
76
  <html>
@@ -108,7 +108,7 @@ Array [
108
108
  ]
109
109
  `;
110
110
 
111
- exports[`toRedirectFilesMetadata should create appropriate metadatas trailingSlash=undefined: fileContent 1`] = `
111
+ exports[`toRedirectFilesMetadata should create appropriate metadata trailingSlash=undefined: fileContent 1`] = `
112
112
  Array [
113
113
  "<!DOCTYPE html>
114
114
  <html>
@@ -42,7 +42,7 @@ describe('createToUrl', () => {
42
42
  });
43
43
 
44
44
  describe('toRedirectFilesMetadata', () => {
45
- test('should create appropriate metadatas trailingSlash=undefined', async () => {
45
+ test('should create appropriate metadata trailingSlash=undefined', async () => {
46
46
  const pluginContext = {
47
47
  outDir: '/tmp/someFixedOutDir',
48
48
  baseUrl: 'https://docusaurus.io',
@@ -69,7 +69,7 @@ describe('toRedirectFilesMetadata', () => {
69
69
  );
70
70
  });
71
71
 
72
- test('should create appropriate metadatas trailingSlash=true', async () => {
72
+ test('should create appropriate metadata trailingSlash=true', async () => {
73
73
  const pluginContext = {
74
74
  outDir: '/tmp/someFixedOutDir',
75
75
  baseUrl: 'https://docusaurus.io',
@@ -96,7 +96,7 @@ describe('toRedirectFilesMetadata', () => {
96
96
  );
97
97
  });
98
98
 
99
- test('should create appropriate metadatas trailingSlash=false', async () => {
99
+ test('should create appropriate metadata trailingSlash=false', async () => {
100
100
  const pluginContext = {
101
101
  outDir: '/tmp/someFixedOutDir',
102
102
  baseUrl: 'https://docusaurus.io',
@@ -124,7 +124,7 @@ describe('toRedirectFilesMetadata', () => {
124
124
  );
125
125
  });
126
126
 
127
- test('should create appropriate metadatas for root baseUrl', async () => {
127
+ test('should create appropriate metadata for root baseUrl', async () => {
128
128
  const pluginContext = {
129
129
  outDir: '/tmp/someFixedOutDir',
130
130
  baseUrl: '/',
@@ -139,7 +139,7 @@ describe('toRedirectFilesMetadata', () => {
139
139
  );
140
140
  });
141
141
 
142
- test('should create appropriate metadatas for empty baseUrl', async () => {
142
+ test('should create appropriate metadata for empty baseUrl', async () => {
143
143
  const pluginContext = {
144
144
  outDir: '/tmp/someFixedOutDir',
145
145
  baseUrl: '',