Skip to content

Commit

Permalink
chore: Mettre à jour les dépendances.
Browse files Browse the repository at this point in the history
  • Loading branch information
regseb committed Jun 30, 2023
1 parent c966de3 commit 06cb30b
Show file tree
Hide file tree
Showing 6 changed files with 820 additions and 1,080 deletions.
3 changes: 3 additions & 0 deletions .metalint/eslint.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -586,6 +586,9 @@ export default {
"jsdoc/check-values": "error",
"jsdoc/empty-tags": "error",
"jsdoc/implements-on-classes": "error",
// Désactiver la règle car elle ne supporte pas la propriété "exports".
// https://github.com/gajus/eslint-plugin-jsdoc/issues/1114
"jsdoc/imports-as-dependencies": "off",
"jsdoc/informative-docs": "error",
"jsdoc/match-description": ["error", { matchDescription: "[A-ZÉ].*" }],
"jsdoc/match-name": "off",
Expand Down
15 changes: 11 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,13 +51,14 @@ import Cron from "https://deno.land/x/cronnor/mod.js";

### Navigateurs

Elle est aussi accessible directement avec le CDN [jsDelivr][link-jsdelivr] (ou
[UNPKG](https://unpkg.com/browse/cronnor/), [esm.sh](https://esm.sh/cronnor)) :
Elle est aussi accessible directement avec le CDN
[esm.sh](https://esm.sh/cronnor) (ou [jsDelivr][link-jsdelivr],
[UNPKG](https://unpkg.com/browse/cronnor/)) :

```JavaScript
import Cron from "https://cdn.jsdelivr.net/npm/cronnor@2";
import Cron from "https://esm.sh/cronnor@2";
// import Cron from "https://cdn.jsdelivr.net/npm/cronnor@2";
// import Cron from "https://unpkg.com/cronnor@2";
// import Cron from "https://esm.sh/cronnor@2";
```

## API
Expand All @@ -83,6 +84,8 @@ import Cron from "https://cdn.jsdelivr.net/npm/cronnor@2";

```JavaScript
import Cron from "cronnor/cron";
// import { Cron } from "https://deno.land/x/cronnor/mod.js";
// import Cron from "https://esm.sh/cronnor@2/cron";
```

#### `new Cron(cronex, func, [options])`
Expand Down Expand Up @@ -155,6 +158,8 @@ Calcule la prochaine date respectant une des expressions _cron_ de la tâche.

```JavaScript
import CronExp from "cronnor/cronexp";
// import { CronExp } from "https://deno.land/x/cronnor/mod.js";
// import CronExp from "https://esm.sh/cronnor@2/cronexp";
```

#### `new CronExp(pattern)`
Expand Down Expand Up @@ -190,6 +195,8 @@ Calcule la prochaine date respectant l'expression.

```JavaScript
import At from "cronnor/at";
// import { At } from "https://deno.land/x/cronnor/mod.js";
// import At from "https://esm.sh/cronnor@2/at";
```

#### `new At(date, func, [options])`
Expand Down
Loading

0 comments on commit 06cb30b

Please sign in to comment.