Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
@gidoont/ngx-cron-editor
Advanced tools
An Angular 8 component for building cron expressions graphically. It is meant to be used in reactive forms and support Angular Material Design styling.
A work-in-progress demo can be found here
Install the npm package:
$ npm i ngx-cron-editor -S
Import the module in your own module:
import { CronEditorModule } from 'ngx-cron-editor';
@NgModule({
imports: [..., CronEditorModule],
...
})
export class MyModule {
}
Setup the FormControl in you component's typescript file:
ngOnInit(): void {
this.cronForm = new FormControl('0 0 1/1 * *');
}
Include the component in your html code:
<cron-editor [formControl]="cronForm"></cron-editor>
or use the formControlName='...'
directive if your form controller
lives in a FormGroup.
<cron-editor [formControl]="cronForm" [options]="cronOptions"></cron-editor>
import { CronOptions } from 'ngx-cron-editor';
@Component({
...
})
export class MyComponent {
public cronOptions: CronOptions = {
defaultTime: "00:00:00",
hideMinutesTab: false,
hideHourlyTab: false,
hideDailyTab: false,
hideWeeklyTab: false,
hideMonthlyTab: false,
hideYearlyTab: false,
hideAdvancedTab: true,
hideSpecificWeekDayTab : false,
hideSpecificMonthWeekTab : false,
use24HourTime: true,
hideSeconds: false,
cronFlavor: "quartz" //standard or quartz
};
}
The ngx-cron-editor is a fork of the vincentjames501's angular-cron-gen for AngularJS 1.5+ and claudiuconstantin's [cron-editor(https://github.com/claudiuconstantin/cron-editor)].
The main additions of this fork is support for Angular 8+ and material design.
Licensed under the MIT license
FAQs
A cron expression generator for Angular 10
The npm package @gidoont/ngx-cron-editor receives a total of 1 weekly downloads. As such, @gidoont/ngx-cron-editor popularity was classified as not popular.
We found that @gidoont/ngx-cron-editor 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’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.