@keystonejs/utils
Advanced tools
Comparing version 5.2.2 to 5.3.0
# @keystonejs/utils | ||
## 5.3.0 | ||
### Minor Changes | ||
- [`51546e41`](https://github.com/keystonejs/keystone/commit/51546e4142fb8c66cfc413479c671a59618f885b) [#2524](https://github.com/keystonejs/keystone/pull/2524) Thanks [@jesstelford](https://github.com/jesstelford)! - Created `upcase` util to make the first letter for word uppercase. | ||
## 5.2.2 | ||
@@ -4,0 +10,0 @@ |
@@ -195,2 +195,3 @@ 'use strict'; | ||
}; | ||
const upcase = str => str.substr(0, 1).toUpperCase() + str.substr(1); | ||
@@ -220,3 +221,4 @@ exports.arrayToObject = arrayToObject; | ||
exports.unique = unique; | ||
exports.upcase = upcase; | ||
exports.versionGreaterOrEqualTo = versionGreaterOrEqualTo; | ||
exports.zipObj = zipObj; |
@@ -96,3 +96,3 @@ "use strict"; | ||
return semver.gte(v1, v2); | ||
}; | ||
}, upcase = str => str.substr(0, 1).toUpperCase() + str.substr(1); | ||
@@ -106,3 +106,3 @@ exports.arrayToObject = arrayToObject, exports.captureSuspensePromises = captureSuspensePromises, | ||
exports.objMerge = objMerge, exports.omit = omit, exports.omitBy = omitBy, exports.pick = pick, | ||
exports.resolveAllKeys = resolveAllKeys, exports.unique = unique, exports.versionGreaterOrEqualTo = versionGreaterOrEqualTo, | ||
exports.zipObj = zipObj; | ||
exports.resolveAllKeys = resolveAllKeys, exports.unique = unique, exports.upcase = upcase, | ||
exports.versionGreaterOrEqualTo = versionGreaterOrEqualTo, exports.zipObj = zipObj; |
@@ -189,3 +189,4 @@ import _defineProperty from '@babel/runtime/helpers/esm/defineProperty'; | ||
}; | ||
const upcase = str => str.substr(0, 1).toUpperCase() + str.substr(1); | ||
export { arrayToObject, captureSuspensePromises, compose, countArrays, createLazyDeferred, defaultObj, escapeRegExp, filterValues, flatMap, flatten, getType, identity, intersection, mapKeyNames, mapKeys, mergeWhereClause, noop, objMerge, omit, omitBy, pick, resolveAllKeys, unique, versionGreaterOrEqualTo, zipObj }; | ||
export { arrayToObject, captureSuspensePromises, compose, countArrays, createLazyDeferred, defaultObj, escapeRegExp, filterValues, flatMap, flatten, getType, identity, intersection, mapKeyNames, mapKeys, mergeWhereClause, noop, objMerge, omit, omitBy, pick, resolveAllKeys, unique, upcase, versionGreaterOrEqualTo, zipObj }; |
{ | ||
"name": "@keystonejs/utils", | ||
"description": "Common utility functions used throughout @keystonejs packages.", | ||
"version": "5.2.2", | ||
"version": "5.3.0", | ||
"author": "The KeystoneJS Development Team", | ||
@@ -6,0 +6,0 @@ "license": "MIT", |
@@ -224,1 +224,3 @@ import pLazy from 'p-lazy'; | ||
}; | ||
export const upcase = str => str.substr(0, 1).toUpperCase() + str.substr(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
36271
664