Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@keystonejs/utils

Package Overview
Dependencies
Maintainers
6
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@keystonejs/utils - npm Package Compare versions

Comparing version 5.2.2 to 5.3.0

6

CHANGELOG.md
# @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 @@

2

dist/utils.cjs.dev.js

@@ -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;

6

dist/utils.cjs.prod.js

@@ -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);
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc