Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@vuepress/shared-utils

Package Overview
Dependencies
Maintainers
7
Versions
88
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@vuepress/shared-utils - npm Package Compare versions

Comparing version 1.4.0 to 1.4.1

7

lib/moduleResolver.js

@@ -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"
}
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