@vuepress/markdown 2.0.0-beta.66 → 2.0.0-beta.67

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.
Files changed (2) hide show
  1. package/dist/index.js +2 -0
  2. package/package.json +11 -11
package/dist/index.js CHANGED
@@ -29,6 +29,8 @@ import { default as anchorPlugin } from "markdown-it-anchor";
29
29
  import { path } from "@vuepress/utils";
30
30
  import { decode } from "mdurl";
31
31
  var resolveLink = (link, relativePathPrefix, env, strict = false) => {
32
+ if (link.startsWith("data:"))
33
+ return link;
32
34
  let resolvedLink = decode(link);
33
35
  const isRelativePath = strict ? (
34
36
  // in strict mode, only link that starts with `./` or `../` is considered as relative path
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vuepress/markdown",
3
- "version": "2.0.0-beta.66",
3
+ "version": "2.0.0-beta.67",
4
4
  "description": "Markdown package of VuePress",
5
5
  "keywords": [
6
6
  "vuepress",
@@ -27,22 +27,22 @@
27
27
  "dist"
28
28
  ],
29
29
  "dependencies": {
30
- "@mdit-vue/plugin-component": "^0.12.0",
31
- "@mdit-vue/plugin-frontmatter": "^0.12.0",
32
- "@mdit-vue/plugin-headers": "^0.12.0",
33
- "@mdit-vue/plugin-sfc": "^0.12.0",
34
- "@mdit-vue/plugin-title": "^0.12.0",
35
- "@mdit-vue/plugin-toc": "^0.12.0",
36
- "@mdit-vue/shared": "^0.12.0",
30
+ "@mdit-vue/plugin-component": "^0.12.1",
31
+ "@mdit-vue/plugin-frontmatter": "^0.12.1",
32
+ "@mdit-vue/plugin-headers": "^0.12.1",
33
+ "@mdit-vue/plugin-sfc": "^0.12.1",
34
+ "@mdit-vue/plugin-title": "^0.12.1",
35
+ "@mdit-vue/plugin-toc": "^0.12.1",
36
+ "@mdit-vue/shared": "^0.12.1",
37
37
  "@mdit-vue/types": "^0.12.0",
38
- "@types/markdown-it": "^12.2.3",
38
+ "@types/markdown-it": "^13.0.1",
39
39
  "@types/markdown-it-emoji": "^2.0.2",
40
40
  "markdown-it": "^13.0.1",
41
41
  "markdown-it-anchor": "^8.6.7",
42
42
  "markdown-it-emoji": "^2.0.2",
43
43
  "mdurl": "^1.0.1",
44
- "@vuepress/utils": "2.0.0-beta.66",
45
- "@vuepress/shared": "2.0.0-beta.66"
44
+ "@vuepress/shared": "2.0.0-beta.67",
45
+ "@vuepress/utils": "2.0.0-beta.67"
46
46
  },
47
47
  "devDependencies": {
48
48
  "@types/mdurl": "^1.0.2"