Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@bscotch/utility

Package Overview
Dependencies
Maintainers
1
Versions
56
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@bscotch/utility - npm Package Compare versions

Comparing version 0.7.0 to 0.7.1

3

build/lib/wait.js
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.resolveInNextTick = exports.resolveInSeconds = exports.resolveInMillis = void 0;
const process_1 = require("process");
/** Get a promise that resolves in some number of milliseconds. */

@@ -16,5 +15,5 @@ function resolveInMillis(millis) {

function resolveInNextTick() {
return new Promise(res => process_1.nextTick(res));
return new Promise(res => setImmediate(res));
}
exports.resolveInNextTick = resolveInNextTick;
//# sourceMappingURL=wait.js.map

@@ -0,1 +1,10 @@

## [0.7.1](https://github.com/bscotch/node-util/compare/v0.7.0...v0.7.1) (2020-11-12)
### Bug Fixes
* resolveInNextTick no longer uses nextTick, instead using setImmediate, which works as intended. ([a3d8dc0](https://github.com/bscotch/node-util/commit/a3d8dc0523a659578e9a66445bd9980c895c209a))
# [0.7.0](https://github.com/bscotch/node-util/compare/v0.6.0...v0.7.0) (2020-11-11)

@@ -2,0 +11,0 @@

{
"name": "@bscotch/utility",
"version": "0.7.0",
"version": "0.7.1",
"description": "Bscotch Utilities: Methods for common Node.js needs.",

@@ -5,0 +5,0 @@ "engines": {

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc