@vuepress/markdown
Advanced tools
Comparing version 2.0.0-beta.38 to 2.0.0-beta.40
@@ -32,3 +32,3 @@ "use strict"; | ||
// get user-defined language alias | ||
const alias = ((_a = info.match(/^([a-zA-Z]+)/)) === null || _a === void 0 ? void 0 : _a[1]) || 'text'; | ||
const alias = ((_a = info.match(/^([^ :[{]+)/)) === null || _a === void 0 ? void 0 : _a[1]) || 'text'; | ||
// if the alias does not have a match in the map | ||
@@ -35,0 +35,0 @@ // fallback to the alias itself |
{ | ||
"name": "@vuepress/markdown", | ||
"version": "2.0.0-beta.38", | ||
"version": "2.0.0-beta.40", | ||
"description": "Markdown package of VuePress", | ||
@@ -18,3 +18,3 @@ "keywords": [ | ||
"license": "MIT", | ||
"author": "Evan You", | ||
"author": "meteorlxy", | ||
"main": "lib/index.js", | ||
@@ -25,11 +25,7 @@ "types": "lib/index.d.ts", | ||
], | ||
"scripts": { | ||
"build": "tsc -b tsconfig.build.json", | ||
"clean": "rimraf lib *.tsbuildinfo" | ||
}, | ||
"dependencies": { | ||
"@types/markdown-it": "^12.2.3", | ||
"@vuepress/shared": "2.0.0-beta.38", | ||
"@vuepress/utils": "2.0.0-beta.38", | ||
"markdown-it": "^12.3.2", | ||
"@vuepress/shared": "2.0.0-beta.40", | ||
"@vuepress/utils": "2.0.0-beta.40", | ||
"markdown-it": "^13.0.0", | ||
"markdown-it-anchor": "^8.4.1", | ||
@@ -42,3 +38,6 @@ "markdown-it-emoji": "^2.0.0", | ||
}, | ||
"gitHead": "7cb24eab18628a66371a367090f7c9c33b519136" | ||
} | ||
"scripts": { | ||
"build": "tsc -b tsconfig.build.json", | ||
"clean": "rimraf lib *.tsbuildinfo" | ||
} | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
72631
+ Added@vuepress/shared@2.0.0-beta.40(transitive)
+ Added@vuepress/utils@2.0.0-beta.40(transitive)
+ Addedentities@3.0.1(transitive)
+ Addedlinkify-it@4.0.1(transitive)
+ Addedmarkdown-it@13.0.2(transitive)
- Removed@types/hash-sum@1.0.2(transitive)
- Removed@vuepress/shared@2.0.0-beta.38(transitive)
- Removed@vuepress/utils@2.0.0-beta.38(transitive)
- Removedentities@2.1.0(transitive)
- Removedlinkify-it@3.0.3(transitive)
- Removedmarkdown-it@12.3.2(transitive)
Updatedmarkdown-it@^13.0.0