Skip to content

Commit f7dba34

Browse files
committed
chore: release v5.0.0
1 parent e308fbb commit f7dba34

File tree

5 files changed

+43
-34
lines changed

5 files changed

+43
-34
lines changed

.github/workflows/test-and-release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ jobs:
9898

9999
- name: Publish package to npm
100100
run: |
101-
yarn npm config set //registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}
101+
yarn config set npmAuthToken "${{ secrets.NPM_TOKEN }}"
102102
yarn npm whoami
103103
yarn npm publish
104104

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (c) 2018-2022 AlCalzone
3+
Copyright (c) 2018-2024 AlCalzone
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

README.md

Lines changed: 30 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -13,54 +13,54 @@ Function documentation available [here](https://alcalzone.github.io/shared-utils
1313
<!--
1414
Placeholder for the next version (at the beginning of the line):
1515
### __WORK IN PROGRESS__
16-
-->
17-
### __WORK IN PROGRESS__
16+
-->
17+
### 5.0.0 (2024-11-06)
1818
* Breaking: Node.js 18 is now required
1919
* Breaking: When using TypeScript, `moduleResolution` must be set to `node16` in `tsconfig.json`
2020
* Breaking: `entries`, `values`, and `composeObject` were removed. Use the widely available `Object.entries`, `Object.values`, and `Object.fromEntries` instead.
2121
* Breaking: `padStart` and by extension the entire `/strings` submodule were removed. Use the widely available `String.prototype.padStart` instead.
22-
* The package is now a hybrid ESM/CJS package
23-
22+
* The package is now a hybrid ESM/CJS package
23+
2424
### 4.0.8 (2022-09-07)
25-
* Fix: Update return types of `isArray` and `isObject` to use an extensive conditional type to replace what used to work in TS 4.7
26-
25+
* Fix: Update return types of `isArray` and `isObject` to use an extensive conditional type to replace what used to work in TS 4.7
26+
2727
### 4.0.7 (2022-09-07)
28-
Undo changes to `isObject` from `4.0.6`. TS narrowing in 4.8.2 is broken.
29-
28+
Undo changes to `isObject` from `4.0.6`. TS narrowing in 4.8.2 is broken.
29+
3030
### 4.0.6 (2022-09-07)
31-
* Fix: correctly narrow return type of `isObject`
32-
31+
* Fix: correctly narrow return type of `isObject`
32+
3333
### 4.0.5 (2022-09-07)
34-
* Fix: correctly narrow return type of isArray for `{}` arguments
35-
34+
* Fix: correctly narrow return type of isArray for `{}` arguments
35+
3636
### 4.0.4 (2022-09-07)
37-
* Fix: narrowed type for `isArray` is inferred correctly for `readonly` arrays
38-
37+
* Fix: narrowed type for `isArray` is inferred correctly for `readonly` arrays
38+
3939
### 4.0.3 (2022-08-27)
40-
* Update `isArray` to be compatible with TS 4.8 changes
41-
40+
* Update `isArray` to be compatible with TS 4.8 changes
41+
4242
### 4.0.1 (2021-11-15)
43-
`SortedQueue`: Fixed an issue where inserting an item before the first one would cause the queue to lose track of items
44-
43+
`SortedQueue`: Fixed an issue where inserting an item before the first one would cause the queue to lose track of items
44+
4545
### 4.0.0 (2021-06-19)
46-
* Node.js 12+ is now required
47-
46+
* Node.js 12+ is now required
47+
4848
### 3.0.4 (2021-04-24)
4949
* Fix compatibility of `wait()` with Electron if `unref` is `true`
50-
* Dependency updates
51-
50+
* Dependency updates
51+
5252
### 3.0.3 (2021-03-09)
5353
#### Fixes
54-
* Fixed compatibility with TypeScript 4.2
55-
54+
* Fixed compatibility with TypeScript 4.2
55+
5656
### 3.0.2 (2021-01-16)
5757
#### Fixes
58-
* The argument to `resolve` of `DeferredPromise` is no longer optional, except for `Promise<void>`
59-
58+
* The argument to `resolve` of `DeferredPromise` is no longer optional, except for `Promise<void>`
59+
6060
### 3.0.1 (2020-12-05)
6161
#### Fixes
62-
* The typeguard `isObject` no longer narrows the type of the argument to `object`
63-
62+
* The typeguard `isObject` no longer narrows the type of the argument to `object`
63+
6464
### 3.0.0 (2020-08-16)
6565
#### Breaking changes
6666
* Renamed the following types:
@@ -85,7 +85,7 @@ Undo changes to `isObject` from `4.0.6`. TS narrowing in 4.8.2 is broken.
8585

8686
#### Fixes
8787
* The type `CallbackAPIReturnType` now works with `strictNullChecks`.
88-
* The type `Promisify` is no longer experimental and no longer messes up the inferred signature argument names
89-
88+
* The type `Promisify` is no longer experimental and no longer messes up the inferred signature argument names
89+
9090
### 2.3.0 (2020-06-08)
9191
* Added optional `unref` parameter to `async` -> `wait(ms, [unref])`

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "alcalzone-shared",
3-
"version": "4.0.8",
3+
"version": "5.0.0",
44
"description": "A set of utilities shared between my projects",
55
"keywords": [],
66
"type": "module",

yarn.lock

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1146,7 +1146,16 @@ __metadata:
11461146
languageName: node
11471147
linkType: hard
11481148

1149-
"alcalzone-shared@npm:^4.0.1, alcalzone-shared@workspace:.":
1149+
"alcalzone-shared@npm:^4.0.1":
1150+
version: 4.0.8
1151+
resolution: "alcalzone-shared@npm:4.0.8"
1152+
dependencies:
1153+
debug: "npm:^4.3.4"
1154+
checksum: 10/865743df1de64bf26bfa03c92321a7cdaad7dd79ee06eeb8a01599784628462f58dafcd649ea8e8bd72d24fed6933c2559a0eae0f8b58b6790a6c0352cf35f13
1155+
languageName: node
1156+
linkType: hard
1157+
1158+
"alcalzone-shared@workspace:.":
11501159
version: 0.0.0-use.local
11511160
resolution: "alcalzone-shared@workspace:."
11521161
dependencies:

0 commit comments

Comments
 (0)