Socket
Socket
Sign inDemoInstall

@vuepress/utils

Package Overview
Dependencies
Maintainers
7
Versions
80
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@vuepress/utils - npm Package Compare versions

Comparing version 2.0.0-beta.25 to 2.0.0-beta.27

2

lib/hasExportDefault.js

@@ -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"
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc