Security News
pnpm 10.0.0 Blocks Lifecycle Scripts by Default
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
front-angular-datepicker
Advanced tools
Checkout, run npm install
and bower install
.
To build run grunt build
Install with bower bower install --save angular-datepicker
Inject the dependency angular.module('testApp', ['datePicker'])
<div date-picker="start"></div>
(initial) view
<div date-picker="start" view="year"></div>
(max) view
<div date-picker="start" max-view="month"></div>
(min) view
<div date-picker="start" min-view="date"></div>
<div date-picker="start" auto-close="true"></div>
Only add's validation to ngModel, must be provided a valid date object or valid date string.
<div date-picker="start" min-date="Date string | Expression" max-date="Date string | Expression"></div>
Without this attribute the date picker stays on the same view page when you update the date within the parent scope manually even if the picked date happens to be on another one. For example, you pick September 18 2015, then you manually change it to October 25 2014, nonetheless the picked date updates accordingly, the date picker still displays the pick screen for September 2015 and you have to swipe pages manually.
<div date-picker="start" watch-direct-changes></div>
Execute callback when a new date set in a highest resolution available, e.g. if you specify min-view="hour" the callback will be executed only when the user picks an hour, not just date, month or year. Alternatively, you can bind to a new event 'setMaxDate'.
Within your controller
```js function callback() { doStuff(); } ```In your html
```html ```<input type="datetime" date-time ng-model="start">
<input type="datetime" date-time ng-model="end" format="short">
<div date-range start="start" end="end"></div>
After a new distribution package has been pushed, a new release can be triggered with grunt-bump :
grunt bump
You can see what the release process will do by doing a dry run :
grunt bump --dry-run
FAQs
## WIP
The npm package front-angular-datepicker receives a total of 117 weekly downloads. As such, front-angular-datepicker popularity was classified as not popular.
We found that front-angular-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.
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.
Research
Security News
Socket researchers have discovered multiple malicious npm packages targeting Solana private keys, abusing Gmail to exfiltrate the data and drain Solana wallets.