@takeshape/util
Advanced tools
Comparing version 7.38.2 to 7.90.0
@@ -9,2 +9,5 @@ export function arrayContainsAll(a, b) { | ||
return x !== null && x !== undefined; | ||
} | ||
export function toArray(obj) { | ||
return obj ? [obj] : []; | ||
} |
@@ -7,2 +7,3 @@ export * from './types'; | ||
export * from './unix-to-iso'; | ||
export * from './arrays'; | ||
export * from './arrays'; | ||
export * from './value'; |
export declare function arrayContainsAll<T>(a: T[], b: T[]): boolean; | ||
export declare function setIsEqual<T>(a: T[], b: T[]): boolean; | ||
export declare function isDefined<T>(x: T | null | undefined): x is T; | ||
export declare function toArray<T>(obj: T | null): T[]; | ||
//# sourceMappingURL=arrays.d.ts.map |
@@ -9,2 +9,3 @@ "use strict"; | ||
exports.isDefined = isDefined; | ||
exports.toArray = toArray; | ||
@@ -21,2 +22,6 @@ function arrayContainsAll(a, b) { | ||
return x !== null && x !== undefined; | ||
} | ||
function toArray(obj) { | ||
return obj ? [obj] : []; | ||
} |
@@ -8,2 +8,3 @@ export * from './types'; | ||
export * from './arrays'; | ||
export * from './value'; | ||
//# sourceMappingURL=index.d.ts.map |
@@ -96,2 +96,15 @@ "use strict"; | ||
}); | ||
}); | ||
var _value = require("./value"); | ||
Object.keys(_value).forEach(function (key) { | ||
if (key === "default" || key === "__esModule") return; | ||
if (key in exports && exports[key] === _value[key]) return; | ||
Object.defineProperty(exports, key, { | ||
enumerable: true, | ||
get: function () { | ||
return _value[key]; | ||
} | ||
}); | ||
}); |
{ | ||
"name": "@takeshape/util", | ||
"version": "7.38.2", | ||
"version": "7.90.0", | ||
"description": "Shared utilities", | ||
@@ -5,0 +5,0 @@ "homepage": "https://www.takeshape.io", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
29919
50
617