
Security News
NIST Officially Stops Enriching Most CVEs as Vulnerability Volume Skyrockets
NIST will stop enriching most CVEs under a new risk-based model, narrowing the NVD's scope as vulnerability submissions continue to surge.
settings-manager
Advanced tools
A simple facade for user settings repositories
This is intended as a generic interface to an asynchronous setting API. Using this library allows for abstraction of the underlying settings. This package was intended for plugin development - in an effort to make plugins portable across platforms.
npm install -g grunt
npm install
A build will check the source code and place code in the build\dist folder.
npm run build
To run a build on source code changes:
npm run build:watch
To build distributable artifacts (which includes a minimized version as well as burning in build-time data):
npm run dist
To run tests against the source code and dist folder (including coverage):
npm test
To run tests against the source code and dist folder (including coverage), with reload:
npm run test:watch
new SettingsManager([backing_store])
Creates a new SettingsManager instance. The optional backing store should implement the same API as SettingsManager, or have an adapter provided. With no backing store specified, an in-memory store will be used.
load([success][, error])
Loads the settings. Takes a success callback and an error callback. The value passed into the settings callback represents the value from the backing store.
save(settings[, success][, error])
Saves the settings. Requires the settings to save and takes an optional callback for the success or error status.
clear([success][, error]])
Clears the settings. Takes an optional callback for the success or error status.
This is a basic script which can be used to build and deploy (to NPM) the project.
export VERSION=0.0.14
git checkout -b release/$VERSION
npm run dist
npm run test
npm version --no-git-tag-version patch
git add package*
git commit -m 'Version bump'
npx auto-changelog -p
git add CHANGELOG.md
git commit -m 'Updated changelog'
git add dist/
git commit -m 'Generated artifacts'
git checkout master
git merge --no-ff release/$VERSION
git tag -a -m 'Tagged for release' $VERSION
git branch -d release/$VERSION
git checkout develop
git merge --no-ff master
git push --all && git push --tags
FAQs
A package for abstracting settings repositories
We found that settings-manager demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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
NIST will stop enriching most CVEs under a new risk-based model, narrowing the NVD's scope as vulnerability submissions continue to surge.

Company News
/Security News
Socket is an initial recipient of OpenAI's Cybersecurity Grant Program, which commits $10M in API credits to defenders securing open source software.

Security News
Socket CEO Feross Aboukhadijeh joins 10 Minutes or Less, a podcast by Ali Rohde, to discuss the recent surge in open source supply chain attacks.