Change Log
0.19.5
Patch Changes
- #3174
d521b8261Thanks @jhines-hover! - Fix publishConfig for all packages
0.19.4
Patch Changes
- #3172
869e50cdeThanks @jhines-hover! - Switches all packages from the npm registry namespace to the github registry namespace
0.19.3
Patch Changes
- #2956
881f5f323Thanks @fhuyghe! -capitalizenow accept an empty string and still returns a single typeCapitalize<S>.
0.19.2
Patch Changes
-
#2881
12351657cThanks @jrolfs! - Makepick()andomit()work withreadonlyarrays:const o = { a: 1, b: 2, c: 3 };const keys = ['a', 'b'] as const;// This no longer causes a type errorconst picked = pick(o, keys);
0.19.1
Patch Changes
-
#2534
22047c1eThanks @jrolfs! - Addistype guard that supports checking fornumber,string, and/orbooleansimultaneously.unknowns; // unknown[];const knowns = uknowns.filter(is(['string', 'number']));knowns; // (string | number)[]
0.19.0
Minor Changes
0.18.0
Minor Changes
df27a982Thanks @jrolfs! - Add support for invoking debounced function on the leading edge of the specified delay
Patch Changes
0.17.1
Patch Changes
0.17.0
Minor Changes
- #2378
3087c5aeThanks @jrolfs! - Updaterandomto take an optionalroundparameter for producing unrounded numbers (rounddefaults totrueso thatrandomstill returns integers by default)
Patch Changes
- #2378
c900b1c6Thanks @jrolfs! - FixisStringguard (was narrowing tonumberincorrectly from copypasta)
0.16.1
Patch Changes
- #2353
021c7d91Thanks @jrolfs! - Fix copy-pasta typo in the return type ofisString(it was guardingnumberinstead ofstring)
0.16.0
Minor Changes
0.15.0
Minor Changes
-
#2204
ea06df2eThanks @jrolfs! - AddmapValuesfor mapping over object values -
#2204
a344535aThanks @jrolfs! - Adduncapitalizestring function
0.14.0
Minor Changes
0.13.0
Minor Changes
-
#2095
a5f1c3adThanks @jrolfs! - Add version ofString.prototype.splitthat use template literal type -
#2095
6f157b00Thanks @jrolfs! - Add aPromise-baseddebounce
0.12.0
Minor Changes
- #1947
9924631cThanks @jrolfs! - AddisFunctionguard andinvokehelper for conditionally invoking functions
0.11.0
Minor Changes
Patch Changes
0.10.0
Minor Changes
- #1796
686feed1Thanks @jrolfs! - Add version ofObject.fromEntriesfor preserving narrower types when constructing an object ofas consttuples (more or less the complement to the version ofObject.entriesalready in @hover/utilities)
0.9.0
Minor Changes
0.8.0
Minor Changes
-
#1665
026ad6bbThanks @jrolfs! - Add a version ofObject.entriesthat preserves narrower types in the resulting tuple entriesimport { entries } from '@hover/utilities';const o = { a: 1, b: 2 };Object.entries(o); // -> [string, number][]// vs.entries(o,) // -> ['a' | 'b', number][]``;
0.7.0
Minor Changes
0.6.0
Minor Changes
-
#1390
ed1e1c57Thanks @jrolfs! - Addcamelizefunction for converting string to "camelCase" -
#1390
5624b4a1Thanks @jrolfs! - Addpascalizefunction for formatting strings in "PascalCase"