![Maven Central Adds Sigstore Signature Validation](https://cdn.sanity.io/images/cgdhsj6q/production/7da3bc8a946cfb5df15d7fcf49767faedc72b483-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Maven Central Adds Sigstore Signature Validation
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.
lightweight jquery plugin to detect if the fields of a form had been modified.
If a field has been modified then the form is dirrty
The name comes from Christina Aguilera's 2002 song: https://www.youtube.com/watch?v=2xMWrKhLJq4
// this can be called on individual forms by id or on "form" to target all forms
// simultaneously
$('#form-id').dirrty({
preventLeaving: false
// this function is called when the form.trigger's "dirty"
}).on("dirty", function() {
console.log("I'm dirty!")
// this function is called when the form.trigger's "clean"
}).on("clean", function() {
console.log("I'm clean!")
});
name | description | default |
---|---|---|
preventLeaving | show a message when a user attempts to leave the page with a dirty form | true |
leavingMessage | the message to show when a user tries leaving the page with a dirty form. Most modern browsers no long support setting a custom message and will show their own message regardless. | "You have unsaved changes" |
onDirty | depricated - see change | function(){} |
onClean | depricated - see change | function(){} |
$("#form-id").dirrty("isDirty");
Lets you know if the form is dirty at a givent moment
FAQs
jquery plugin to detect if the fields of a form had been modified
The npm package dirrty receives a total of 0 weekly downloads. As such, dirrty popularity was classified as not popular.
We found that dirrty 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
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.
Security News
CISOs are racing to adopt AI for cybersecurity, but hurdles in budgets and governance may leave some falling behind in the fight against cyber threats.
Research
Security News
Socket researchers uncovered a backdoored typosquat of BoltDB in the Go ecosystem, exploiting Go Module Proxy caching to persist undetected for years.