@proscom/ui-utils
Advanced tools
Comparing version 0.1.6 to 0.1.10
@@ -12,3 +12,3 @@ var __assign = (this && this.__assign) || function () { | ||
}; | ||
import { isNil } from 'lodash-es'; | ||
import isNil from 'lodash/isNil'; | ||
/** | ||
@@ -15,0 +15,0 @@ * Применяет значения по-умолчанию для объекта |
@@ -13,5 +13,8 @@ "use strict"; | ||
}; | ||
var __importDefault = (this && this.__importDefault) || function (mod) { | ||
return (mod && mod.__esModule) ? mod : { "default": mod }; | ||
}; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.applyDefaults = void 0; | ||
var lodash_es_1 = require("lodash-es"); | ||
var isNil_1 = __importDefault(require("lodash/isNil")); | ||
/** | ||
@@ -27,3 +30,3 @@ * Применяет значения по-умолчанию для объекта | ||
var key = keys_1[_i]; | ||
if (lodash_es_1.isNil(result[key]) && key in defaults) { | ||
if (isNil_1.default(result[key]) && key in defaults) { | ||
// @ts-ignore | ||
@@ -30,0 +33,0 @@ result[key] = defaults[key]; |
{ | ||
"name": "@proscom/ui-utils", | ||
"version": "0.1.6", | ||
"version": "0.1.10", | ||
"description": "Proscom UI utilities", | ||
@@ -34,3 +34,3 @@ "author": "Andrew Starostin <a.starostin@proscom.ru>", | ||
"dependencies": { | ||
"lodash-es": "^4.17.15" | ||
"lodash": "^4.0.0" | ||
}, | ||
@@ -40,3 +40,3 @@ "devDependencies": { | ||
}, | ||
"gitHead": "126f5230485ee9f723aea18af791a8e994e83d8f" | ||
"gitHead": "d5a9bf4a82b7845437deb1ebdc06739351d29687" | ||
} |
@@ -1,2 +0,2 @@ | ||
import { isNil } from 'lodash-es'; | ||
import isNil from 'lodash/isNil'; | ||
@@ -3,0 +3,0 @@ /** |
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
212660
3891
+ Addedlodash@^4.0.0
+ Addedlodash@4.17.21(transitive)
- Removedlodash-es@^4.17.15
- Removedlodash-es@4.17.21(transitive)