@zodash/format
Advanced tools
Comparing version 1.2.8 to 1.2.9
@@ -27,4 +27,5 @@ "use strict"; | ||
} | ||
return text.replace(pattern, (_, key) => (0, get_1.get)(mapOrFn, key, '')); | ||
return text.replace(pattern, (_, key) => get_1.get(mapOrFn, key, '')); | ||
} | ||
exports.format = format; | ||
//# sourceMappingURL=format.js.map |
{ | ||
"name": "@zodash/format", | ||
"version": "1.2.8", | ||
"version": "1.2.9", | ||
"description": "format string with object values", | ||
@@ -60,3 +60,5 @@ "keywords": [ | ||
"scripts": { | ||
"build": "tsc", | ||
"build": "yarn clean && tsc", | ||
"watch": "yarn clean && tsc -w", | ||
"clean": "rm -rf lib", | ||
"test": "jest -w 1", | ||
@@ -68,3 +70,3 @@ "coverage": "codecov" | ||
}, | ||
"gitHead": "59406fc4983458dad4584458ef96300a68b07c16", | ||
"gitHead": "ef2443b120c1e4ebb64bbfec77d7437310bae623", | ||
"devDependencies": { | ||
@@ -74,4 +76,4 @@ "@zodash/get": "^1.1.3" | ||
"dependencies": { | ||
"@zodash/get": "^1.2.0" | ||
"@zodash/get": "^1.2.1" | ||
} | ||
} |
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
3863
5
Updated@zodash/get@^1.2.1