Security News
Node.js EOL Versions CVE Dubbed the "Worst CVE of the Year" by Security Experts
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
availability-scheduler
Advanced tools
$ npm i -S availability-scheduler
import {AvailabilityEditor} from 'availability-scheduler';
<AvailabilityEditor
timezone='Europe/London'
availability={availability}
onAccept={availability => console.log('accepted', availability)}
i18n={{
getLocale: () => 'en_US',
getDir: () => 'ltr',
get: (token, fallback, params) => fallback
}}
/>
{
i18n: PropTypes.shape({
getLocale: PropTypes.func.isRequired,
getDir: PropTypes.func.isRequired,
get: PropTypes.func.isRequired
}),
scheduleAlways: PropTypes.string,
availability: PropTypes.shape({
periods: PropTypes.arrayOf(PropTypes.shape({
openDay: PropTypes.string,
openTime: PropTypes.string,
closeDay: PropTypes.string,
closeTime: PropTypes.string
})),
specialHourPeriods: PropTypes.arrayOf(PropTypes.shape({
startDate: PropTypes.string,
endDate: PropTypes.string,
isClosed: PropTypes.bool,
comment: PropTypes.string
}))
}),
onAccept: PropTypes.func.isRequired,
modalTitle: PropTypes.string,
source: PropTypes.string,
customOnly: PropTypes.bool,
availableText: React.PropTypes.string,
unavailableText: React.PropTypes.string,
openTimes: React.PropTypes.object,
timezone: React.PropTypes.string.isRequired
}
'availability_duringopenhours', 'During Open Hours'
'availability_apply', 'Apply'
'availability_cancel', 'Cancel'
'availability_available', 'Available'
'availability_unavailable', 'Unavailable'
'availability_empty_error'
'availability_newevent'
'availability_eventname', 'Event Name:'
'availability_customerscansee', '* Customers can see this info'
'openrest_menubuilderdishmodal_wix_availability', 'Availability:'
'availability_starttime', 'Start Time:'
'availability_endtime', 'End Time:'
'availability_available_warning', 'Note that between ${params.start} and ${params.end} you are open continuously, regardless of your regular hours.'
'availability_newevent', 'New Event'
'availability_regularhours', 'Regular Hours'
'availability_event_desc', 'Need to change your hours for a short time?'
'availability_upcomingevents', 'Upcoming Events'
'availability_now', 'now'
'availability_moreexceptionscount', '+ ${params.count} more'
'availability_edit', 'Edit'
'availability_endson', 'ends on ${params.day}'
'availability_to', 'to'
'availability_allday', 'all day'
'openrest_chargepane_duplicate'
'openrest_chargepane_delete'
'availability_customhours', 'Custom Hours'
'availability_clear', 'Clear'
'availability_pasteopenhours', 'Paste open hours'
'availability_open24h', 'Open 24/7'
FAQs
Availability Scheduler - React Component
The npm package availability-scheduler receives a total of 109 weekly downloads. As such, availability-scheduler popularity was classified as not popular.
We found that availability-scheduler demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 8 open source maintainers 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
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
Security News
cURL and Go security teams are publicly rejecting CVSS as flawed for assessing vulnerabilities and are calling for more accurate, context-aware approaches.
Security News
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.