Security News
tea.xyz Spam Plagues npm and RubyGems Package Registries
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
@felte/extender-persist
Advanced tools
Readme
A package to persist your form's state in localStorage.
npm install --save @felte/extender-persist
# Or, if you use yarn
yarn add @felte/extender-persist
Extend Felte with the extender
export, the extenders accepts an object with options. A unique ID is required to use it as the ID for the localStorage.
import { extender } from '@felte/validator-yup';
const { form } = createForm({
// ...
extend: extender({ id: 'uniqueId' }), // or `extend: [extender({ id: 'uniqueId' })],`
// ...
});
You might not want to save certain fields such as passwords to local storage, for this you may add an extra property to the configuration of the extender with an array of paths to the data you want to ignore:
{
extend: extender({ id: 'uniqueId', ignore: ['account.password'] }),
}
Or you may add the attribute data-felte-extender-persist-ignore
to the input you don't want to persist.
FAQs
Use localStorage to persist your Felte forms
The npm package @felte/extender-persist receives a total of 38 weekly downloads. As such, @felte/extender-persist popularity was classified as not popular.
We found that @felte/extender-persist demonstrated a healthy version release cadence and project activity because the last version was released less than 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
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.
Security News
UnitedHealth Group disclosed that the ransomware attack on Change Healthcare compromised protected health information for millions in the U.S., with estimated costs to the company expected to reach $1 billion.