Security News
New Python Packaging Proposal Aims to Solve Phantom Dependency Problem with SBOMs
PEP 770 proposes adding SBOM support to Python packages to improve transparency and catch hidden non-Python dependencies that security tools often miss.
@nuskin/app-components
Advanced tools
App level components that contain child components from multiple nuskin component libraries
This project contains Vue UI components written for app features such as the standard Nuskin header and footer and other components comprised of Nuskin component libraries.
Before installing @nuskin/app-components
, you will have to add its peer dependencies and set up the run config.
See src/package.json
and find the "peerDependencies"
section for most-accurate information.
npm i @nuskin/ns-account@4
npm i @nuskin/ns-product@3
npm i @nuskin/ns-shop@3
npm i @nuskin/my-site-api@3
npm i @nuskin/ns-util@3
npm i @nuskin/product-components@2
or
npm i @nuskin/ns-account@4 @nuskin/ns-product@3 @nuskin/ns-shop@3 @nuskin/ns-util@3 @nuskin/product-components@2 @nuskin/my-site-api@3
yarn add @nuskin/ns-account@4
yarn add @nuskin/ns-product@3
yarn add @nuskin/ns-shop@3
yarn add @nuskin/ns-util@3
yarn add @nuskin/product-components@2
yarn add @nuskin/my-site-api@3
or
yarn add @nuskin/ns-account@4 @nuskin/ns-product@3 @nuskin/ns-shop@3 @nuskin/ns-util@3 @nuskin/product-components@2 @nuskin/my-site-api@3
This package uses services and events from external libraries that require a run config to be initialized when the app is first loaded.
import { RunConfigService } from "@nuskin/ns-util";
// ...
// WARNING: these should come from app/user configuration
const countryCode = "US";
const language = "en";
const baseUrl = "https://test.nuskin.com";
// Initialize run config
let runConfig = RunConfigService.getRunConfig();
if (!runConfig || !runConfig.baseUrl) {
runConfig = {
country: countryCode,
language: language,
baseUrl: baseUrl
};
RunConfigService.setRunConfig(runConfig);
}
// ...
npm i @nuskin/app-components
yarn add @nuskin/app-components
<template>
<NsHeader />
<!-- ... -->
</template>
<script>
import { NsHeader } from "@nuskin/app-components";
export default {
// ...
components: {
NsHeader
// ...
}
// ...
};
</script>
FAQs
App level components that contain child components from multiple nuskin component libraries
The npm package @nuskin/app-components receives a total of 467 weekly downloads. As such, @nuskin/app-components popularity was classified as not popular.
We found that @nuskin/app-components demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 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
PEP 770 proposes adding SBOM support to Python packages to improve transparency and catch hidden non-Python dependencies that security tools often miss.
Security News
Socket CEO Feross Aboukhadijeh discusses open source security challenges, including zero-day attacks and supply chain risks, on the Cyber Security Council podcast.
Security News
Research
Socket researchers uncover how threat actors weaponize Out-of-Band Application Security Testing (OAST) techniques across the npm, PyPI, and RubyGems ecosystems to exfiltrate sensitive data.