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

@applitools/utils

Package Overview
Dependencies
Maintainers
34
Versions
73
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@applitools/utils - npm Package Compare versions

Comparing version 1.3.17 to 1.3.18

3

dist/general.js

@@ -115,2 +115,5 @@ "use strict";

function stringifyKey(key) {
key = types.isPlainObject(key)
? Object.fromEntries(Object.entries(key).sort(([key1], [key2]) => (key1 > key2 ? 1 : -1)))
: key;
return JSON.stringify(key, (_key, value) => (typeof value === 'function' ? value.toString() : value));

@@ -117,0 +120,0 @@ }

@@ -25,2 +25,3 @@ "use strict";

result !== null && result !== void 0 ? result : (result = { status: 'fulfilled', value });
return Promise.resolve(value);
},

@@ -32,2 +33,3 @@ reject(reason) {

result !== null && result !== void 0 ? result : (result = { status: 'rejected', reason });
return Promise.reject(reason);
},

@@ -34,0 +36,0 @@ };

2

package.json
{
"name": "@applitools/utils",
"version": "1.3.17",
"version": "1.3.18",
"keywords": [

@@ -5,0 +5,0 @@ "applitools",

export declare function makeControlledPromise<T = void>(): PromiseLike<T> & {
resolve(value: T): void;
reject(reason?: any): void;
resolve(value: T): Promise<T>;
reject(reason?: any): Promise<never>;
};
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