@docusaurus/core 0.0.0-4713 → 0.0.0-4715

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.
@@ -10,7 +10,7 @@ Minimal implementation of a React interpolate component.
10
10
  We don't ship a markdown parser nor a feature-complete i18n library on purpose.
11
11
  More details here: https://github.com/facebook/docusaurus/pull/4295
12
12
  */
13
- const ValueRegexp = /{\w+}/g;
13
+ const ValueRegexp = /\{\w+\}/g;
14
14
  const ValueFoundMarker = '{}'; // does not care much
15
15
  export function interpolate(text, values) {
16
16
  const elements = [];
@@ -56,7 +56,7 @@ function hasSSHProtocol(sourceRepoUrl) {
56
56
  }
57
57
  catch {
58
58
  // Fails when there isn't a protocol
59
- return /^(?:[\w-]+@)?[\w.-]+:[\w./_-]+/.test(sourceRepoUrl); // git@github.com:facebook/docusaurus.git
59
+ return /^(?:[\w-]+@)?[\w.-]+:[\w./-]+/.test(sourceRepoUrl); // git@github.com:facebook/docusaurus.git
60
60
  }
61
61
  }
62
62
  exports.hasSSHProtocol = hasSSHProtocol;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@docusaurus/core",
3
3
  "description": "Easy to Maintain Open Source Documentation Websites",
4
- "version": "0.0.0-4713",
4
+ "version": "0.0.0-4715",
5
5
  "license": "MIT",
6
6
  "publishConfig": {
7
7
  "access": "public"
@@ -41,13 +41,13 @@
41
41
  "@babel/runtime": "^7.17.2",
42
42
  "@babel/runtime-corejs3": "^7.17.2",
43
43
  "@babel/traverse": "^7.17.3",
44
- "@docusaurus/cssnano-preset": "0.0.0-4713",
45
- "@docusaurus/logger": "0.0.0-4713",
46
- "@docusaurus/mdx-loader": "0.0.0-4713",
44
+ "@docusaurus/cssnano-preset": "0.0.0-4715",
45
+ "@docusaurus/logger": "0.0.0-4715",
46
+ "@docusaurus/mdx-loader": "0.0.0-4715",
47
47
  "@docusaurus/react-loadable": "5.5.2",
48
- "@docusaurus/utils": "0.0.0-4713",
49
- "@docusaurus/utils-common": "0.0.0-4713",
50
- "@docusaurus/utils-validation": "0.0.0-4713",
48
+ "@docusaurus/utils": "0.0.0-4715",
49
+ "@docusaurus/utils-common": "0.0.0-4715",
50
+ "@docusaurus/utils-validation": "0.0.0-4715",
51
51
  "@slorber/static-site-generator-webpack-plugin": "^4.0.1",
52
52
  "@svgr/webpack": "^6.2.1",
53
53
  "autoprefixer": "^10.4.2",
@@ -106,8 +106,8 @@
106
106
  "webpackbar": "^5.0.2"
107
107
  },
108
108
  "devDependencies": {
109
- "@docusaurus/module-type-aliases": "0.0.0-4713",
110
- "@docusaurus/types": "0.0.0-4713",
109
+ "@docusaurus/module-type-aliases": "0.0.0-4715",
110
+ "@docusaurus/types": "0.0.0-4715",
111
111
  "@types/detect-port": "^1.3.2",
112
112
  "@types/nprogress": "^0.2.0",
113
113
  "@types/react-dom": "^17.0.13",
@@ -128,5 +128,5 @@
128
128
  "engines": {
129
129
  "node": ">=14"
130
130
  },
131
- "gitHead": "43c65e82adb2329758821232b7157fceb9830980"
131
+ "gitHead": "4e437fa53e0fb6cfc5b6c4d2291c91302f8868be"
132
132
  }