Security News
GitHub Removes Malicious Pull Requests Targeting Open Source Repositories
GitHub removed 27 malicious pull requests attempting to inject harmful code across multiple open source repositories, in another round of low-effort attacks.
ES6 port of https://github.com/nosir/cleave.js
Same features, except no phone or credit card support Many PR have been reviewed and added
Demo: https://codepen.io/lekoalabe/pen/eYPvbax
I don't see the point of supporting specific frameworks when you can have a custom element that works really well :-)
The custom element provides :
type
attribute to set the input typedata-config
attribute that can store json configurationPlease refer to original docs for now https://github.com/nosir/cleave.js/tree/master/doc
or check the demo.html
for sample usage
Add new option 'numeralDecimalPadding' (on blur only) https://github.com/nosir/cleave.js/pull/707
Fix duplicate numbers are entered when input number with microsoft pinyin https://github.com/nosir/cleave.js/pull/663
feature: strict positive number https://github.com/nosir/cleave.js/pull/660
Add support for hexademical only characters https://github.com/nosir/cleave.js/pull/643
Add support for datetime fields (date and time in same field) https://github.com/nosir/cleave.js/pull/637/
Fix Ctrl+X behavior in read-only inputs https://github.com/nosir/cleave.js/pull/633
Add first character uppercase option (renamed to ucfirst) https://github.com/nosir/cleave.js/pull/623
Numeral decimal mark https://github.com/nosir/cleave.js/pull/619/
Patch prefix containing decimal (numeralDecimalMark) https://github.com/nosir/cleave.js/pull/619
Fix backspace bug when next delimiter partially match previous https://github.com/nosir/cleave.js/pull/579
Limit input chars https://github.com/nosir/cleave.js/issues/680
Well, I think there are better libs out there
You can check out my other library https://github.com/lekoala/formidable-elements for more :-)
FAQs
Format your input text
The npm package cleave-es6 receives a total of 4 weekly downloads. As such, cleave-es6 popularity was classified as not popular.
We found that cleave-es6 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
GitHub removed 27 malicious pull requests attempting to inject harmful code across multiple open source repositories, in another round of low-effort attacks.
Security News
RubyGems.org has added a new "maintainer" role that allows for publishing new versions of gems. This new permission type is aimed at improving security for gem owners and the service overall.
Security News
Node.js will be enforcing stricter semver-major PR policies a month before major releases to enhance stability and ensure reliable release candidates.