
Security News
Package Maintainers Call for Improvements to GitHub’s New npm Security Plan
Maintainers back GitHub’s npm security overhaul but raise concerns about CI/CD workflows, enterprise support, and token management.
@npm-polymer/gold-cc-expiration-input
Advanced tools
A validating input for a credit card expiration date
##<gold-cc-expiration-input>
gold-cc-expiration-input
is a single-line text field with Material Design styling
for entering a credit card's expiration date
<gold-cc-expiration-input></gold-cc-expiration-input>
<gold-cc-expiration-input value="11/15"></gold-cc-expiration-input>
It may include an optional label, which by default is "Expiration Date".
<gold-cc-expiration-input label="Date"></gold-cc-expiration-input>
The input can check whether the entered date is a valid, future date.
The input can be automatically validated as the user is typing by using
the auto-validate
and required
attributes. For manual validation, the
element also has a validate()
method, which returns the validity of the
input as well sets any appropriate error messages and styles.
See Polymer.PaperInputBehavior
for more API docs.
See Polymer.PaperInputContainer
for a list of custom properties used to
style this element.
FAQs
A validating input for a credit card expiration date
We found that @npm-polymer/gold-cc-expiration-input 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
Maintainers back GitHub’s npm security overhaul but raise concerns about CI/CD workflows, enterprise support, and token management.
Product
Socket Firewall is a free tool that blocks malicious packages at install time, giving developers proactive protection against rising supply chain attacks.
Research
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.