@mintlab/kitchen-sink
Advanced tools
Comparing version 3.6.1 to 3.6.2
@@ -6,2 +6,13 @@ # Change Log | ||
## [3.6.2](https://gitlab.com/zaaksysteem/zaaksysteem-frontend-mono/compare/@mintlab/kitchen-sink@3.6.1...@mintlab/kitchen-sink@3.6.2) (2020-01-09) | ||
### Bug Fixes | ||
* (CaseManagement) truncate task title ([c5d397b](https://gitlab.com/zaaksysteem/zaaksysteem-frontend-mono/commit/c5d397b)) | ||
## [3.6.1](https://gitlab.com/zaaksysteem/zaaksysteem-frontend-mono/compare/@mintlab/kitchen-sink@3.6.0...@mintlab/kitchen-sink@3.6.1) (2020-01-09) | ||
@@ -8,0 +19,0 @@ |
@@ -156,2 +156,8 @@ "use strict"; | ||
}); | ||
Object.defineProperty(exports, "preventDefaultAndCall", { | ||
enumerable: true, | ||
get: function get() { | ||
return _preventDefaultAndCall.preventDefaultAndCall; | ||
} | ||
}); | ||
Object.defineProperty(exports, "capitalize", { | ||
@@ -163,6 +169,6 @@ enumerable: true, | ||
}); | ||
Object.defineProperty(exports, "preventDefaultAndCall", { | ||
Object.defineProperty(exports, "truncate", { | ||
enumerable: true, | ||
get: function get() { | ||
return _preventDefaultAndCall.preventDefaultAndCall; | ||
return _string.truncate; | ||
} | ||
@@ -189,4 +195,4 @@ }); | ||
var _string = require("./string"); | ||
var _preventDefaultAndCall = require("./preventDefaultAndCall"); | ||
var _preventDefaultAndCall = require("./preventDefaultAndCall"); | ||
var _string = require("./string"); |
@@ -6,3 +6,3 @@ "use strict"; | ||
}); | ||
exports.capitalize = void 0; | ||
exports.truncate = exports.capitalize = void 0; | ||
@@ -15,2 +15,9 @@ var capitalize = function capitalize(string) { | ||
exports.capitalize = capitalize; | ||
exports.capitalize = capitalize; | ||
var truncate = function truncate(limit, ellipsis, string) { | ||
var truncated = string.slice(0, limit); | ||
return truncated.length < string.length ? truncated + ellipsis : string; | ||
}; | ||
exports.truncate = truncate; |
{ | ||
"name": "@mintlab/kitchen-sink", | ||
"version": "3.6.1", | ||
"version": "3.6.2", | ||
"license": "EUPL-1.1", | ||
@@ -43,3 +43,3 @@ "description": "Mintlab utility functions.", | ||
}, | ||
"gitHead": "fd1b4292a10916f9609ff1dfa5710b1aa5495664" | ||
"gitHead": "e476a5b9732a5f692c11e3b52d12259946b24019" | ||
} |
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
68081
1362