
Security News
Axios Maintainer Confirms Social Engineering Attack Behind npm Compromise
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.
@craydel/craydel-date-range-picker
Advanced tools
A custom date range picker component for Craydel based on the vue2-datepicker.
Get the latest version by NPM:
$ npm i @craydel/craydel-date-range-picker
If you use the plugin API, the component will be registered as a global component just like when
including it with the script tag, but you won't need to re-register it through the components property in your own
components.
Create the plugin file e.g craydel-components.js file.
// craydel-components.js
import Vue from 'vue'
import CraydelDateRangePicker from '@craydel/craydel-date-range-picker/src/CraydelDateRangePicker.vue'
const Components = {
CraydelDateRangePicker,
};
Object.keys(Components).forEach(name => {
Vue.component(name, Components[name]);
});
export default Components;
Next reference the plugin file in your nuxt.config.js
// Plugins to run before rendering page: https://go.nuxtjs.dev/config-plugins
plugins: [
'~/plugins/craydel-components.js'
]
| Name | Type | Default | Description |
|---|---|---|---|
| id | string | random ID | Sets the DOM id on the component. |
| placeholder | string | 'Select range' | Sets the component's placeholder text. |
| hint | string | undefined | Hint text. |
| append-to-body | boolean | true | Appends the popup to body. |
| defaultValue | array | undefined | Sets the default date range. |
| Name | Description |
|---|---|
| change | Change event is emitted only when both [from, to] are selected. |
An example showing a date range picker.
<craydel-date-range-picker></craydel-date-range-picker>
FAQs
A custom date range picker component for Craydel based on the vue2-datepicker.
We found that @craydel/craydel-date-range-picker 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
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.

Security News
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.