@mll-lab/js-utils 2.26.0 → 2.27.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.common.js
CHANGED
|
@@ -15357,6 +15357,13 @@ function firstDecimalDigit(number) {
|
|
|
15357
15357
|
function pick(object, ...props) {
|
|
15358
15358
|
return lodash.pick(object, props);
|
|
15359
15359
|
}
|
|
15360
|
+
/**
|
|
15361
|
+
* A singleton empty object.
|
|
15362
|
+
*
|
|
15363
|
+
* Can be used as a default or fallback while maintaining referential equality.
|
|
15364
|
+
*/
|
|
15365
|
+
const EMPTY_OBJECT = {};
|
|
15366
|
+
Object.freeze(EMPTY_OBJECT);
|
|
15360
15367
|
|
|
15361
15368
|
function pluralize(amount, singular, plural) {
|
|
15362
15369
|
if (amount === 1) {
|
|
@@ -15491,6 +15498,7 @@ function pxToNumber(pixels) {
|
|
|
15491
15498
|
exports.DOTLESS_DATE_FORMAT = DOTLESS_DATE_FORMAT;
|
|
15492
15499
|
exports.EMAIL_REGEX = EMAIL_REGEX;
|
|
15493
15500
|
exports.EMPTY_ARRAY = EMPTY_ARRAY;
|
|
15501
|
+
exports.EMPTY_OBJECT = EMPTY_OBJECT;
|
|
15494
15502
|
exports.ENGLISH_DECIMAL_SEPARATOR = ENGLISH_DECIMAL_SEPARATOR;
|
|
15495
15503
|
exports.ENGLISH_THOUSAND_SEPARATOR = ENGLISH_THOUSAND_SEPARATOR;
|
|
15496
15504
|
exports.GERMAN_DATE_FORMAT = GERMAN_DATE_FORMAT;
|