Skip to content

Commit 10f545f

Browse files
chore(release): 🔧 bump version to 2.0.0
1 parent 2e8769e commit 10f545f

49 files changed

Lines changed: 13103 additions & 13076 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

helpers/array/cartesianProduct.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
* @example
1919
* cartesianProduct([0, 1], [0, 1], [0, 1]);
2020
* // [[0,0,0],[0,0,1],[0,1,0],[0,1,1],[1,0,0],[1,0,1],[1,1,0],[1,1,1]]
21-
* @since next
21+
* @since 2.0.0
2222
*/
2323
export function cartesianProduct<T extends readonly (readonly unknown[])[]>(
2424
...arrays: T

helpers/array/countBy.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
* @example
1818
* countBy(['foo', 'bar', 'baz', 'qux'], s => s[0]);
1919
* // { f: 1, b: 2, q: 1 }
20-
* @since next
20+
* @since 2.0.0
2121
*/
2222
export function countBy<T, K extends PropertyKey>(
2323
array: readonly T[],

helpers/array/unzip.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
* @example
1616
* unzip([[1, 'a'], [2, 'b'], [3, 'c']])
1717
* // => [[1, 2, 3], ['a', 'b', 'c']]
18-
* @since next
18+
* @since 2.0.0
1919
*/
2020
export function unzip<A, B>(pairs: readonly [A, B][]): [A[], B[]];
2121
export function unzip<A, B, C>(pairs: readonly [A, B, C][]): [A[], B[], C[]];

helpers/array/without.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
* without([1, 2, 3, 2, 4], 2); // [1, 3, 4]
1919
* without([1, 2, 3, 2, 4], 2, 3); // [1, 4]
2020
* without(['a', 'b', 'c'], 'b'); // ['a', 'c']
21-
* @since next
21+
* @since 2.0.0
2222
*/
2323
export function without<T>(array: readonly T[], ...values: T[]): T[] {
2424
const excluded = new Set(values);

helpers/array/zip.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
*
2121
* zip([1, 2], ['a', 'b', 'c']) // shorter array wins
2222
* // => [[1, 'a'], [2, 'b']]
23-
* @since next
23+
* @since 2.0.0
2424
*/
2525
export function zip<A, B>(a: readonly A[], b: readonly B[]): [A, B][];
2626
export function zip<A, B, C>(a: readonly A[], b: readonly B[], c: readonly C[]): [A, B, C][];

helpers/ci/buildStatusTable.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ import { statusToIcon } from './statusToIcon';
2323
* @example
2424
* buildStatusTable({ 'Unit Tests': 'success', 'Lint': 'failure' })
2525
* // => '| ✅ | **Unit Tests** | `passing` |\n| ❌ | **Lint** | `failing` |'
26-
* @since next
26+
* @since 2.0.0
2727
*/
2828
export function buildStatusTable(jobs: Record<string, string>): string {
2929
return Object.entries(jobs)

helpers/ci/statusToBadge.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ import type { CiStatus } from './types';
2424
* statusToBadge('failure') // => '`failing`'
2525
* statusToBadge('skipped') // => '`skipped`'
2626
* statusToBadge('pending') // => '`unknown`'
27-
* @since next
27+
* @since 2.0.0
2828
*/
2929
export function statusToBadge(status: CiStatus): string {
3030
switch (status) {

helpers/ci/statusToIcon.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ import type { CiStatus } from './types';
2424
* statusToIcon('failure') // => '❌'
2525
* statusToIcon('skipped') // => '⏭️'
2626
* statusToIcon('pending') // => '⚠️'
27-
* @since next
27+
* @since 2.0.0
2828
*/
2929
export function statusToIcon(status: CiStatus): string {
3030
switch (status) {

helpers/ci/types.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,6 @@
99
* The `string & {}` intersection allows any custom status string while
1010
* still enabling IDE auto-completion for the known values.
1111
*
12-
* @since next
12+
* @since 2.0.0
1313
*/
1414
export type CiStatus = 'success' | 'failure' | 'skipped' | 'unknown' | (string & {});

helpers/commit/analyzeCommits.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ const BREAKING_MARKER = /^BREAKING[ -]CHANGE: /m;
3030
*
3131
* analyzeCommits([{ subject: 'feat!: drop v1' }])
3232
* // => { suggestedBump: 'major', hasBreakingChanges: true, ... }
33-
* @since next
33+
* @since 2.0.0
3434
*/
3535
export function analyzeCommits(commits: readonly AnalyzableCommit[]): CommitAnalysis {
3636
let hasBreakingChanges = false;

0 commit comments

Comments
 (0)