Comparing version 4.0.72 to 4.0.73
{ | ||
"name": "croner", | ||
"version": "4.0.72", | ||
"version": "4.0.73", | ||
"description": "Trigger functions in javascript using Cron syntax. No deps. All features.", | ||
@@ -26,4 +26,3 @@ "author": "Hexagon <github.com/hexagon>", | ||
"SECURITY.md", | ||
"croner.png", | ||
"mod.ts" | ||
"croner.png" | ||
], | ||
@@ -30,0 +29,0 @@ "keywords": [ |
@@ -58,3 +58,3 @@ <p align="center"> | ||
```javascript | ||
import Cron from "https://cdn.jsdelivr.net/npm/croner@4/mod.ts"; | ||
import Cron from "https://cdn.jsdelivr.net/gh/hexagon/croner@4/src/croner.js"; | ||
@@ -69,5 +69,5 @@ Cron("* * * * * *", () => { | ||
```typescript | ||
import { Cron } from "https://cdn.jsdelivr.net/npm/croner@4/mod.ts"; | ||
import { Cron } from "https://cdn.jsdelivr.net/gh/hexagon/croner@4/src/croner.js"; | ||
let scheduler : Cron = new Cron("* * * * * *", {}, () => { | ||
let scheduler : Cron = new Cron("* * * * * *", () => { | ||
console.log("This will run every second."); | ||
@@ -74,0 +74,0 @@ }); |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
111548
20
1715