aesthetic-utils
Advanced tools
Comparing version 2.0.0 to 2.0.1
export default function toArray(value) { | ||
if (!value) { | ||
return []; | ||
} | ||
return Array.isArray(value) ? value : [value]; | ||
} |
@@ -7,3 +7,7 @@ "use strict"; | ||
function toArray(value) { | ||
if (!value) { | ||
return []; | ||
} | ||
return Array.isArray(value) ? value : [value]; | ||
} |
export interface ToObjectable { | ||
toObject(): any; | ||
toObject(): object; | ||
} | ||
@@ -4,0 +4,0 @@ export default function toObjectRecursive<T extends object>(map: { |
{ | ||
"name": "aesthetic-utils", | ||
"version": "2.0.0", | ||
"version": "2.0.1", | ||
"description": "Utility functions for Aesthetic.", | ||
@@ -22,3 +22,3 @@ "keywords": [ | ||
}, | ||
"gitHead": "c38c6702c4479d6c7bbda13fd44d0e1e0bc09a4f" | ||
"gitHead": "9e25a97050daf05f81b04815c301f93cdc1d3b56" | ||
} |
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
20833
405