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

@proscom/ui-utils

Package Overview
Dependencies
Maintainers
1
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@proscom/ui-utils - npm Package Compare versions

Comparing version 0.0.2 to 0.0.3

2

lib/async/index.js

@@ -10,3 +10,3 @@ "use strict";

var __exportStar = (this && this.__exportStar) || function(m, exports) {
for (var p in m) if (p !== "default" && !exports.hasOwnProperty(p)) __createBinding(exports, m, p);
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
};

@@ -13,0 +13,0 @@ Object.defineProperty(exports, "__esModule", { value: true });

@@ -6,3 +6,6 @@ export declare const compareSimple: <T>(dir?: number) => (a: T, b: T) => number;

export declare function makeMultiComparator<ObjectType, CompareTypes extends any[]>(...steps: {
[CompareType in keyof CompareTypes]: [CompareFn<CompareType>, ...(FieldAccessor<ObjectType, CompareType>)[]];
[CompareType in keyof CompareTypes]: [
CompareFn<CompareType>,
...(FieldAccessor<ObjectType, CompareType>)[]
];
}): (a: ObjectType, b: ObjectType) => number;

@@ -10,3 +10,3 @@ "use strict";

var __exportStar = (this && this.__exportStar) || function(m, exports) {
for (var p in m) if (p !== "default" && !exports.hasOwnProperty(p)) __createBinding(exports, m, p);
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
};

@@ -13,0 +13,0 @@ Object.defineProperty(exports, "__esModule", { value: true });

@@ -39,6 +39,7 @@ "use strict";

exports.declineUnit = declineUnit;
exports.formatPercent = function (first, second) {
var formatPercent = function (first, second) {
if (second === void 0) { second = 1; }
return formatValueUnit((first / second) * 100, '%', 1);
};
exports.formatPercent = formatPercent;
//# sourceMappingURL=formatNumber.js.map

@@ -10,3 +10,3 @@ "use strict";

var __exportStar = (this && this.__exportStar) || function(m, exports) {
for (var p in m) if (p !== "default" && !exports.hasOwnProperty(p)) __createBinding(exports, m, p);
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
};

@@ -13,0 +13,0 @@ Object.defineProperty(exports, "__esModule", { value: true });

@@ -10,3 +10,3 @@ "use strict";

var __exportStar = (this && this.__exportStar) || function(m, exports) {
for (var p in m) if (p !== "default" && !exports.hasOwnProperty(p)) __createBinding(exports, m, p);
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
};

@@ -13,0 +13,0 @@ Object.defineProperty(exports, "__esModule", { value: true });

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.compareNumericStrings = void 0;
exports.compareNumericStrings = function (dir) {
var compareNumericStrings = function (dir) {
if (dir === void 0) { dir = 1; }

@@ -21,2 +21,3 @@ return function (a, b) {

};
exports.compareNumericStrings = compareNumericStrings;
//# sourceMappingURL=compareNumericStrings.js.map

@@ -10,3 +10,3 @@ "use strict";

var __exportStar = (this && this.__exportStar) || function(m, exports) {
for (var p in m) if (p !== "default" && !exports.hasOwnProperty(p)) __createBinding(exports, m, p);
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
};

@@ -13,0 +13,0 @@ Object.defineProperty(exports, "__esModule", { value: true });

@@ -6,3 +6,6 @@ export declare const compareSimple: <T>(dir?: number) => (a: T, b: T) => number;

export declare function makeMultiComparator<ObjectType, CompareTypes extends any[]>(...steps: {
[CompareType in keyof CompareTypes]: [CompareFn<CompareType>, ...(FieldAccessor<ObjectType, CompareType>)[]];
[CompareType in keyof CompareTypes]: [
CompareFn<CompareType>,
...(FieldAccessor<ObjectType, CompareType>)[]
];
}): (a: ObjectType, b: ObjectType) => number;
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.makeMultiComparator = exports.makeComparator = exports.compareSimple = void 0;
exports.compareSimple = function (dir) {
var compareSimple = function (dir) {
if (dir === void 0) { dir = 1; }

@@ -10,2 +10,3 @@ return function (a, b) {

};
exports.compareSimple = compareSimple;
function makeComparator(compFn) {

@@ -12,0 +13,0 @@ var fieldFns = [];

@@ -10,3 +10,3 @@ "use strict";

var __exportStar = (this && this.__exportStar) || function(m, exports) {
for (var p in m) if (p !== "default" && !exports.hasOwnProperty(p)) __createBinding(exports, m, p);
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
};

@@ -13,0 +13,0 @@ Object.defineProperty(exports, "__esModule", { value: true });

@@ -10,3 +10,3 @@ "use strict";

var __exportStar = (this && this.__exportStar) || function(m, exports) {
for (var p in m) if (p !== "default" && !exports.hasOwnProperty(p)) __createBinding(exports, m, p);
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
};

@@ -13,0 +13,0 @@ Object.defineProperty(exports, "__esModule", { value: true });

{
"name": "@proscom/ui-utils",
"version": "0.0.2",
"version": "0.0.3",
"description": "Proscom UI utilities",

@@ -35,3 +35,3 @@ "author": "Andrew Starostin <a.starostin@proscom.ru>",

},
"gitHead": "4eb9da7112f5fd1b1089ff28104967a2a400654f"
"gitHead": "c9f33be94a9fa7ae0448e3d57ed3d811efc81660"
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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