@vuepress/utils
Advanced tools
Comparing version 2.0.0-beta.25 to 2.0.0-beta.27
@@ -8,5 +8,5 @@ "use strict"; | ||
*/ | ||
const hasExportDefault = (mod) => shared_1.isPlainObject(mod) && | ||
const hasExportDefault = (mod) => (0, shared_1.isPlainObject)(mod) && | ||
!!mod.__esModule && | ||
Object.prototype.hasOwnProperty.call(mod, 'default'); | ||
exports.hasExportDefault = hasExportDefault; |
@@ -26,3 +26,3 @@ "use strict"; | ||
const createError = (message) => { | ||
exports.error(message); | ||
(0, exports.error)(message); | ||
return new Error(message); | ||
@@ -29,0 +29,0 @@ }; |
@@ -9,3 +9,3 @@ "use strict"; | ||
const renderHead = ([tag, attrs, innerHTML = '',]) => { | ||
const openTag = `<${tag}${renderHeadAttrs_1.renderHeadAttrs(attrs)}>`; | ||
const openTag = `<${tag}${(0, renderHeadAttrs_1.renderHeadAttrs)(attrs)}>`; | ||
if (tag === 'link' || tag === 'meta' || tag === 'base') { | ||
@@ -12,0 +12,0 @@ return openTag; |
{ | ||
"name": "@vuepress/utils", | ||
"version": "2.0.0-beta.25", | ||
"version": "2.0.0-beta.27", | ||
"description": "Utils package of VuePress", | ||
@@ -30,5 +30,5 @@ "keywords": [ | ||
"@types/debug": "^4.1.7", | ||
"@types/fs-extra": "^9.0.12", | ||
"@types/fs-extra": "^9.0.13", | ||
"@types/hash-sum": "^1.0.0", | ||
"@vuepress/shared": "2.0.0-beta.25", | ||
"@vuepress/shared": "2.0.0-beta.27", | ||
"chalk": "^4.1.2", | ||
@@ -45,3 +45,3 @@ "debug": "^4.3.2", | ||
}, | ||
"gitHead": "76ce5e52b07de75cf1f40a57ef3b6a682e44fce7" | ||
"gitHead": "2671a94fe6864e215eb84f318b7e657744a0bc5d" | ||
} |
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
8723
+ Added@vuepress/shared@2.0.0-beta.27(transitive)
- Removed@vuepress/shared@2.0.0-beta.25(transitive)
Updated@types/fs-extra@^9.0.13