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

async-test-util

Package Overview
Dependencies
Maintainers
1
Versions
25
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

async-test-util - npm Package Compare versions

Comparing version 1.5.1 to 1.6.0

dist/es/performance-now.js

4

dist/es/index.js

@@ -12,2 +12,3 @@ import assertThrows from './assert-throws';

import resolveValues from './resolve-values';
import performanceNow from './performance-now';
import isPromise from './is-promise';

@@ -28,2 +29,3 @@ import promisify from './promisify';

resolveValues: resolveValues,
performanceNow: performanceNow,
isPromise: isPromise,

@@ -34,2 +36,2 @@ promisify: promisify

export { assertThrows, clone, deepEqual, waitResolveable, waitUntil, wait, waitForever, runForever, randomString, randomNumber, resolveValues, isPromise, promisify };
export { assertThrows, clone, deepEqual, waitResolveable, waitUntil, wait, waitForever, runForever, randomString, randomNumber, resolveValues, performanceNow, isPromise, promisify };

@@ -6,3 +6,3 @@ 'use strict';

});
exports.promisify = exports.isPromise = exports.resolveValues = exports.randomNumber = exports.randomString = exports.runForever = exports.waitForever = exports.wait = exports.waitUntil = exports.waitResolveable = exports.deepEqual = exports.clone = exports.assertThrows = undefined;
exports.promisify = exports.isPromise = exports.performanceNow = exports.resolveValues = exports.randomNumber = exports.randomString = exports.runForever = exports.waitForever = exports.wait = exports.waitUntil = exports.waitResolveable = exports.deepEqual = exports.clone = exports.assertThrows = undefined;

@@ -53,2 +53,6 @@ var _assertThrows = require('./assert-throws');

var _performanceNow = require('./performance-now');
var _performanceNow2 = _interopRequireDefault(_performanceNow);
var _isPromise = require('./is-promise');

@@ -76,2 +80,3 @@

resolveValues: _resolveValues2['default'],
performanceNow: _performanceNow2['default'],
isPromise: _isPromise2['default'],

@@ -92,3 +97,4 @@ promisify: _promisify2['default']

exports.resolveValues = _resolveValues2['default'];
exports.performanceNow = _performanceNow2['default'];
exports.isPromise = _isPromise2['default'];
exports.promisify = _promisify2['default'];
{
"name": "async-test-util",
"version": "1.5.1",
"version": "1.6.0",
"description": "Util-functions that are be useful in async tests",

@@ -31,4 +31,4 @@ "main": "./dist/lib/index.js",

"babel-core": "6.26.0",
"babel-eslint": "8.2.1",
"babel-loader": "7.1.2",
"babel-eslint": "8.2.3",
"babel-loader": "8.0.0-beta.3",
"babel-plugin-transform-async-to-generator": "6.24.1",

@@ -50,5 +50,5 @@ "babel-plugin-transform-class-properties": "6.24.1",

"babel-preset-latest": "6.24.1",
"cross-env": "5.1.3",
"eslint": "4.17.0",
"mocha": "5.0.0",
"cross-env": "5.1.6",
"eslint": "4.19.1",
"mocha": "5.2.0",
"rimraf": "2.6.2"

@@ -59,4 +59,5 @@ },

"clone": "^2.1.1",
"deep-equal": "^1.0.1"
"deep-equal": "^1.0.1",
"is-node": "1.0.2"
}
}

@@ -65,2 +65,9 @@ /**

/**
* same as performance.now()
* But works in browsers and NodeJs
* @link https://developer.mozilla.org/de/docs/Web/API/Performance/now
*/
export function performanceNow(): Number;
/**
* returns true if a promise was given

@@ -123,5 +130,7 @@ */

randomString,
randomNumber
randomNumber,
resolveValues,
performanceNow
};
export default _default;

@@ -12,2 +12,3 @@ import assertThrows from './assert-throws';

import resolveValues from './resolve-values';
import performanceNow from './performance-now';
import isPromise from './is-promise';

@@ -28,2 +29,3 @@ import promisify from './promisify';

resolveValues,
performanceNow,
isPromise,

@@ -46,4 +48,5 @@ promisify

resolveValues,
performanceNow,
isPromise,
promisify
};
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