fastify / point-of-view

Template rendering plugin for Fastify
MIT License
335 stars 86 forks source link

build(deps-dev): bump delay from 5.0.0 to 6.0.0 #409

Closed dependabot[bot] closed 5 months ago

dependabot[bot] commented 5 months ago

Bumps delay from 5.0.0 to 6.0.0.

Release notes

Sourced from delay's releases.

v6.0.0

Breaking

  • Require Node.js 16 b2edac7
  • This package is now pure ESM. Please read this.
  • Removed the delay.reject() method.
    • It's not really needed anymore with async/await. Just throw an error after awaiting the delay.
  • const delay = require('delay'); delay.clear(…);import {clearDelay} from 'delay'; clearDelay(…);
  • const delay = require('delay'); delay.range(…);import {rangeDelay} from 'delay'; rangeDelay(…);
  • const delay = require('delay'); delay.createWithTimers(…);import {createDelay} from 'delay'; createDelay(…);

If you only target Node.js and not the browser, I recommend moving to the built-in method whenever possible:

import {setTimeout} from 'node:timers/promises';

await setTimeout(1000);

https://github.com/sindresorhus/delay/compare/v5.0.0...v6.0.0

Commits


Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)