Big update!Announcing Socket for GitHub 1.0. Learn more
Socket
BlogLoveFAQ
Install
Log in

next-tick

Package Overview
Dependencies
0
Maintainers
1
Versions
6
Issues
File Explorer

Advanced tools

next-tick

Environment agnostic nextTick polyfill

    1.1.0latest

Version published
Maintainers
1
Weekly downloads
11,337,966
decreased by-2.54%

Weekly downloads

Changelog

Source

1.1.0 (2020-02-11)

Features

  • Add support for queueMicrotask (Closes #13) (471986e)

Changelog for previous versions

See CHANGES file

Readme

Source

next-tick

Environment agnostic nextTick polyfill

To be used in environment agnostic modules that need nextTick functionality.

  • When run in Node.js process.nextTick is used
  • In modern engines, microtask resolution is guaranteed by queueMicrotask
  • In older browsers, MutationObserver is used as a fallback
  • In other engines setImmediate or setTimeout(fn, 0) is used as fallback.
  • If none of the above is supported module resolves to null

Installation

NPM

In your project path:

$ npm install next-tick
Browser

To port it to Browser or any other (non CJS) environment, use your favorite CJS bundler. No favorite yet? Try: Browserify, Webmake or Webpack

Tests Build Status

$ npm test

Security contact information

To report a security vulnerability, please use the Tidelift security contact. Tidelift will coordinate the fix and disclosure.


Get professional support for d with a Tidelift subscription
Tidelift helps make open source sustainable for maintainers while giving companies
assurances about security, maintenance, and licensing for their dependencies.

Keywords

FAQs

What is next-tick?

Environment agnostic nextTick polyfill

Is next-tick popular?

The npm package next-tick receives a total of 9,521,531 weekly downloads. As such, next-tick popularity was classified as popular.

Is next-tick well maintained?

We found that next-tick 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.

Last updated on 11 Feb 2020
Socket

Product

Subscribe to our newsletter

Get open source security insights delivered straight into your inbox. Be the first to learn about new features and product updates.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc