
Research
Security News
Lazarus Strikes npm Again with New Wave of Malicious Packages
The Socket Research Team has discovered six new malicious npm packages linked to North Korea’s Lazarus Group, designed to steal credentials and deploy backdoors.
@availity/localstorage-core
Advanced tools
Wraps localStorage with utility functions
npm install @availity/localstorage-core --save
import AvLocalStorarge from '@availity/localstorage-core`;
const avLocalStorage = new AvLocalStorage();
if(avLocalStorage.supportsLocalStorage()) {
consolog.log('Browser support localstorage');
}
supportsLocalStorage
Returns boolean result of check if localStorage is supported.
get(key)
Returns value stored at key
, will attempt to parse JSON stored there.
set(key, value)
Sets key
to value
in localStorage. Will stringify objects if needed.
remove(key)
Removes key
from localStorage.
getKeys(searchKey)
Returns array of all keys that match the searchKey
string or RegExp
.
removeKeys(searchKey)
Remove all keys that match the searchKey
string or RegExp.
getSessionBust
Returns session key set by Availity on login.
1.0.0-alpha.12 (2018-01-09)
<a name="1.0.0-alpha.11"></a>
FAQs
Wraps localStorage with utility functions
The npm package @availity/localstorage-core receives a total of 36 weekly downloads. As such, @availity/localstorage-core popularity was classified as not popular.
We found that @availity/localstorage-core demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 12 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.
Research
Security News
The Socket Research Team has discovered six new malicious npm packages linked to North Korea’s Lazarus Group, designed to steal credentials and deploy backdoors.
Security News
Socket CEO Feross Aboukhadijeh discusses the open web, open source security, and how Socket tackles software supply chain attacks on The Pair Program podcast.
Security News
Opengrep continues building momentum with the alpha release of its Playground tool, demonstrating the project's rapid evolution just two months after its initial launch.