Research
Security News
Kill Switch Hidden in npm Packages Typosquatting Chalk and Chokidar
Socket researchers found several malicious npm packages typosquatting Chalk and Chokidar, targeting Node.js developers with kill switches and data theft.
ember-cli-bootstrap-datepicker
Advanced tools
The addon provides you a `bootstrap-datapicker` input component. It can be used in Ember CLI applications.
The addon provides you a bootstrap-datapicker
input component. It can be used in Ember CLI applications.
The input component is based on bootstrap-datepicker library.
npm install --save-dev ember-cli-bootstrap-datepicker
ember generate bootstrap-datepicker
{{bootstrap-datepicker value=expiresAt}}
The component supports many options of the bootstrap-datepicker library:
true
dd.mm.yyyy
en
false
false
Let me show you how to use all these options.
Autoclose:
{{bootstrap-datepicker value=expiresAt autoclose=false}}
Format:
{{bootstrap-datepicker value=expiresAt format="dd/mm/yy"}}
language:
Default locale is en
. When you need another language, you should import a locale file, e.g.
// Brocfile.js
app.import('bower_components/bootstrap-datepicker/js/locales/bootstrap-datepicker.de.js');
{{bootstrap-datepicker value=expiresAt language="de"}}
todayBtn:
{{bootstrap-datepicker value=expiresAt todayBtn=true}}
todayHighlight:
{{bootstrap-datepicker value=expiresAt todayHighlight=true}}
weekStart:
{{bootstrap-datepicker value=expiresAt weekStart=0}}
All options at once:
{{bootstrap-datepicker value=expiresAt autoclose=false format="dd/mm/yy" language="de" todayBtn=true todayHighlight=true weekStart=0}}
git checkout -b my-new-feature
)git commit -am 'Add some feature'
)git push origin my-new-feature
)FAQs
Datepicker component for Ember CLI based on bootstrap-datepicker. It doesn't have any external dependency except bootstrap-datepicker, supports popup and inline modes.
The npm package ember-cli-bootstrap-datepicker receives a total of 1,528 weekly downloads. As such, ember-cli-bootstrap-datepicker popularity was classified as popular.
We found that ember-cli-bootstrap-datepicker 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.
Research
Security News
Socket researchers found several malicious npm packages typosquatting Chalk and Chokidar, targeting Node.js developers with kill switches and data theft.
Security News
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
Product
Socket now supports uv.lock files to ensure consistent, secure dependency resolution for Python projects and enhance supply chain security.