Security News
RubyGems.org Adds New Maintainer Role
RubyGems.org has added a new "maintainer" role that allows for publishing new versions of gems. This new permission type is aimed at improving security for gem owners and the service overall.
@vue/cli-shared-utils
Advanced tools
The @vue/cli-shared-utils package provides a set of utilities for Vue CLI and Vue projects. These utilities include functions for logging, validation, module loading, and other common tasks needed by Vue CLI plugins and other project tooling.
Logging
Provides functions to output log messages with different levels of importance.
const { log, warn, error } = require('@vue/cli-shared-utils');
log('This is a log message.');
warn('This is a warning message.');
error('This is an error message.');
Validation
Includes functions to validate strings such as project names.
const { validateProjectName } = require('@vue/cli-shared-utils');
const projectName = 'example';
if (validateProjectName(projectName)) {
log('Project name is valid.');
} else {
error('Project name is invalid.');
}
Module Loading
Provides a function to safely load modules that may or may not be present in the project.
const { loadModule } = require('@vue/cli-shared-utils');
const moduleName = 'vue';
const module = loadModule(moduleName, __dirname);
if (module) {
log(`Loaded ${moduleName} module.`);
} else {
error(`Failed to load ${moduleName} module.`);
}
Lodash is a utility library offering a wide range of methods for tasks like data manipulation, testing, and logic. It's more general-purpose compared to @vue/cli-shared-utils, which is tailored for Vue CLI.
Chalk is a library for styling terminal text. It offers functionality similar to the logging aspect of @vue/cli-shared-utils but is focused solely on text styling and does not provide logging levels.
Yargs is a library to help build command-line tools. It provides argument parsing which is a different scope compared to @vue/cli-shared-utils, but both are used in CLI environments.
shared-utils for vue-cli
5.0.0-alpha.0 (2020-12-14)
@vue/cli-plugin-unit-mocha
, @vue/cli-plugin-webpack-4
, @vue/cli-shared-utils
@vue/cli-plugin-babel
, @vue/cli-plugin-e2e-cypress
, @vue/cli-plugin-e2e-nightwatch
, @vue/cli-plugin-eslint
, @vue/cli-plugin-pwa
, @vue/cli-plugin-router
, @vue/cli-plugin-typescript
, @vue/cli-plugin-unit-jest
, @vue/cli-plugin-unit-mocha
, @vue/cli-plugin-vuex
@vue/cli-plugin-eslint
, @vue/cli-service
, @vue/cli-ui
@vue/cli-service
@vue/cli-plugin-eslint
, @vue/cli-ui-addon-webpack
, @vue/cli-ui-addon-widgets
, @vue/cli-ui
@vue/cli-plugin-typescript
, @vue/cli-plugin-unit-jest
, @vue/cli-ui
@vue/cli-plugin-e2e-webdriverio
, @vue/cli-plugin-typescript
, @vue/cli-plugin-unit-mocha
@vue/cli-plugin-e2e-cypress
@vue/cli-service
, @vue/cli-ui
@vue/cli-service-global
, @vue/cli
@vue/cli-plugin-typescript
, @vue/cli-plugin-unit-jest
@vue/cli-plugin-e2e-nightwatch
, @vue/cli-plugin-eslint
, @vue/cli-service-global
@vue/cli-plugin-babel
, @vue/cli-plugin-e2e-webdriverio
, @vue/cli-plugin-eslint
, @vue/cli-plugin-pwa
, @vue/cli-plugin-typescript
, @vue/cli-plugin-unit-mocha
, @vue/cli-service
, @vue/cli-test-utils
, @vue/cli-ui
@vue/cli-plugin-eslint
, @vue/cli-test-utils
, @vue/cli-ui
, @vue/cli
@vue/cli-plugin-eslint
@vue/cli-service
, @vue/cli-ui
@vue/cli-plugin-babel
, @vue/cli-plugin-e2e-cypress
, @vue/cli-plugin-e2e-nightwatch
, @vue/cli-plugin-eslint
, @vue/cli-plugin-pwa
, @vue/cli-plugin-router
, @vue/cli-plugin-typescript
, @vue/cli-plugin-unit-jest
, @vue/cli-plugin-unit-mocha
, @vue/cli-plugin-vuex
@vue/cli
@vue/cli-service
@vue/cli-plugin-typescript
, @vue/cli-plugin-unit-jest
, @vue/cli-ui
@vue/cli-plugin-e2e-webdriverio
, @vue/cli-plugin-typescript
, @vue/cli-plugin-unit-mocha
@vue/cli-service-global
, @vue/cli
@vue/cli-plugin-typescript
, @vue/cli-plugin-unit-jest
@vue/cli-plugin-e2e-nightwatch
, @vue/cli-plugin-eslint
, @vue/cli-service-global
@vue/cli-plugin-babel
, @vue/cli-plugin-e2e-webdriverio
, @vue/cli-plugin-eslint
, @vue/cli-plugin-pwa
, @vue/cli-plugin-typescript
, @vue/cli-plugin-unit-mocha
, @vue/cli-service
, @vue/cli-test-utils
, @vue/cli-ui
@vue/cli-service
, @vue/cli
@vue/cli-service
, @vue/cli-shared-utils
, @vue/cli-ui
, @vue/cli
@vue/cli-service
, @vue/cli-ui
, @vue/cli
@vue/cli-service
, @vue/cli-shared-utils
, @vue/cli
@vue/cli-plugin-babel
, @vue/cli-plugin-typescript
, @vue/cli-service
@vue/cli-plugin-typescript
@vue/cli-plugin-typescript
, @vue/cli-plugin-unit-mocha
@vue/cli-plugin-unit-mocha
@vue/cli-plugin-eslint
, @vue/cli-service-global
@vue/cli-plugin-e2e-cypress
, @vue/cli-plugin-e2e-webdriverio
, @vue/cli-plugin-typescript
, @vue/cli
@vue/cli
@vue/cli-service
@vue/cli-plugin-unit-mocha
, @vue/cli-service
@vue/cli-plugin-eslint
@vue/cli-ui
@vue/cli-service-global
, @vue/cli-service
lang
attribute with empty string in html template (@fangbinwei)@vue/cli-plugin-typescript
@vue/cli-plugin-babel
, @vue/cli-service
@vue/cli-service
, @vue/cli-ui
@vue/cli
@vue/cli-service-global
, @vue/cli-ui-addon-webpack
, @vue/cli-ui-addon-widgets
, @vue/cli-ui
@vue/cli-service
, @vue/cli-shared-utils
, @vue/cli-ui
, @vue/cli
@vue/cli-plugin-typescript
@vue/cli-service
, @vue/cli-shared-utils
, @vue/cli
@vue/cli
@vue/cli-service
@vue/cli-plugin-typescript
, @vue/cli-plugin-unit-mocha
@vue/cli-plugin-unit-mocha
FAQs
shared utilities for vue-cli packages
The npm package @vue/cli-shared-utils receives a total of 329,258 weekly downloads. As such, @vue/cli-shared-utils popularity was classified as popular.
We found that @vue/cli-shared-utils demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
RubyGems.org has added a new "maintainer" role that allows for publishing new versions of gems. This new permission type is aimed at improving security for gem owners and the service overall.
Security News
Node.js will be enforcing stricter semver-major PR policies a month before major releases to enhance stability and ensure reliable release candidates.
Security News
Research
Socket's threat research team has detected five malicious npm packages targeting Roblox developers, deploying malware to steal credentials and personal data.