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

eyes.utils

Package Overview
Dependencies
Maintainers
1
Versions
35
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eyes.utils - npm Package Compare versions

Comparing version 0.0.23 to 0.0.24

11

index.js
exports.ArgumentGuard = require('./src/ArgumentGuard');
exports.BrowserUtils = require('./src/BrowserUtils');
exports.CoordinatesType = require('./src/CoordinatesType');
exports.CutProvider = require('./src/CutProvider');
exports.GeneralUtils = require('./src/GeneralUtils');

@@ -9,14 +6,6 @@ exports.GeometryUtils = require('./src/GeometryUtils');

exports.ImageUtils = require('./src/ImageUtils');
exports.MutableImage = require('./src/MutableImage');
exports.PositionProvider = require('./src/PositionProvider');
exports.PromiseFactory = require('./src/PromiseFactory');
exports.PropertyHandler = require('./src/PropertyHandler');
exports.ReadOnlyPropertyHandler = require('./src/ReadOnlyPropertyHandler');
exports.RegionProvider = require('./src/RegionProvider');
exports.ScaleProvider = require('./src/ScaleProvider');
exports.ScaleProviderFactory = require('./src/ScaleProviderFactory');
exports.ScaleProviderIdentityFactory = require('./src/ScaleProviderIdentityFactory');
exports.SimplePropertyHandler = require('./src/SimplePropertyHandler');
exports.StreamUtils = require('./src/StreamUtils');
exports.TestResultsFormatter = require('./src/TestResultsFormatter');
exports.ImageDeltaCompressor = require('./src/ImageDeltaCompressor');

2

package.json
{
"name": "eyes.utils",
"version": "0.0.23",
"version": "0.0.24",
"description": "General purpose Javascript utilities.",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -178,2 +178,18 @@ /*

//noinspection JSUnusedGlobalSymbols
/**
* Waits a specified amount of time before resolving the returned promise.
*
* @param {int} ms The amount of time to sleep in milliseconds.
* @param {PromiseFactory} promiseFactory
* @return {Promise<void>} A promise which is resolved when sleep is done.
*/
GeneralUtils.sleep = function sleep(ms, promiseFactory) {
return promiseFactory.makePromise(function (resolve) {
setTimeout(function () {
resolve();
}, ms);
});
};
//noinspection JSUnusedGlobalSymbols
/**

@@ -180,0 +196,0 @@ * Convert a Date object to a RFC-1123 date string

@@ -14,2 +14,5 @@ /*

// for better compatibility with browserify
global.setImmediate = require('timers').setImmediate;
var fs = require('fs'),

@@ -16,0 +19,0 @@ png = require('png-async'),

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