@vuepress/shared-utils
Advanced tools
Comparing version 1.4.0 to 1.4.1
@@ -61,13 +61,12 @@ 'use strict'; | ||
this.cwd = cwd || process.cwd(); | ||
this.typePrefixLength = type.length + 1; | ||
if (org) { | ||
this.nonScopePrefix = `${org}-${type}-`; | ||
this.scopePrefix = `@${org}/${type}-`; | ||
this.prefixSlicePosition = this.typePrefixLength + org.length + 1; | ||
} | ||
else { | ||
this.nonScopePrefix = `${type}-`; | ||
this.prefixSlicePosition = this.typePrefixLength; | ||
} | ||
this.typePrefixLength = type.length + 1; | ||
/* - */ | ||
this.prefixSlicePosition = this.typePrefixLength + org.length + 1; | ||
/* @ */ | ||
} | ||
@@ -74,0 +73,0 @@ /** |
{ | ||
"name": "@vuepress/shared-utils", | ||
"version": "1.4.0", | ||
"version": "1.4.1", | ||
"description": "shared-utils for vuepress", | ||
@@ -49,3 +49,3 @@ "keywords": [ | ||
}, | ||
"gitHead": "58ed07f013b7f7768094e57314f993c39dc6750e" | ||
"gitHead": "ed831e71b5c72a5aabef637bd35e3768f5f812d8" | ||
} |
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
43018
1150