1.1.0 • Published 4 years ago

next-tick v1.1.0

Weekly downloads
11,864,390
License
ISC
Repository
github
Last release
4 years ago

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.


es5-extmemoizeetimers-extcomponennenttcthpb-plugin-socialunblock-block-save-variables@infinitebrahmanuniverse/nolb-next-t@everything-registry/sub-chunk-2269git-repo-initkeekijanai-client-corekeekijanai-reactkeekijanai-serverloop-droploop-drop-projectloop-drop-setupload-iframekafirchain-tetrislaissez-fairele-pdfm2m-chartjs-plugin-crosshairlincdlocalforage-chunk-storehg-muihcm-jshelp-widgetjeuxuiix-expandix-headix-catjs-utils-jll2memoizee-2mobx-keystone-asyncstoremfe-micro-femidi-port-holdermidi-loopermiguelcostero-ng2-toastymst-async-storenext-tick-debouncen8n-nodes-caldavn8n-nodes-cobaltneural_compressor_ext_lab_customizedneural_compressor_ext_lab_customized_2node-serialnode-parallel@schacker/hpack-cli@sceneify/core@segment/analytics.js-core@segment/analytics.js-integration@segment/analytics.js-integration-livechat@segment/load-script@segment/analytics.js-integration-visual-website-optimizer@segment/analytics.js-integration-optimizely@plainflow-dcp/plainflow.js-core@thismr/bitmindtest-core@tonysusi/vapid@sudophunk/v4-client@sudophunk/fulido@the91end/react-auth@thedoctor0/vuex-shared-mutations@quarterto/alerts@olympfin/olymp-swap-lib@simple-obs/core@slicky/templates@spdesign/dhl-design-componentswindow-loadweb-elements-iconswdio-cucumbervue-v3-yandex-metrikawow.js-juziyolk-virtual-domzona-xzubtesttoday3.0.0@brucearmstrong/sass-librarylayui-customdfeuk-frontenddfeuk-frontend-manualpublicsuffixlistpromise-pool-executorprimedata-js-sdkpixchapixiu-swap-corepixiuswap-libs-sdkpopstateposix-headposix-catposix-expandpokewrappotluckparallizerpwfree-es5-extobserv-fsobserv-grid-stackobserv-node-arrayobserv-polequadratic-sdkrangoli-cssqudratic-uirandom-access-idbquake-task
1.1.0

4 years ago

1.0.0

8 years ago

0.2.2

10 years ago

0.2.1

10 years ago

0.2.0

10 years ago

0.1.0

12 years ago