Skip to content

Commit

Permalink
feat: support node@20.5.0
Browse files Browse the repository at this point in the history
- https://github.com/nodejs/node/releases/tag/v20.5.0

Signed-off-by: Lexus Drumgold <unicornware@flexdevelopment.llc>
  • Loading branch information
unicornware committed Jul 27, 2023
1 parent f0fbcb9 commit 3a3b18d
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 1 deletion.
1 change: 1 addition & 0 deletions .dictionary.txt
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ eremoteio
errno
eshutdown
esocktnosupport
eunatch
fbca
ggshield
gpgsign
Expand Down
1 change: 1 addition & 0 deletions .github/infrastructure.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ branches:
- context: test (16)
- context: test (18)
- context: test (19)
- context: test (20)
- context: typescript (5.0.4)
- context: typescript (5.1.6)
- context: typescript (latest)
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -285,6 +285,7 @@ jobs:
fail-fast: false
matrix:
node-version:
- 20
- 19
- 18
- 16
Expand Down
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
19
20.5.0
6 changes: 6 additions & 0 deletions src/enums/__tests__/error-code-system.spec-d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -600,6 +600,12 @@ describe('unit-d:enums/SystemErrorCode', () => {
.toMatchTypeOf<'ETXTBSY'>()
})

it('should match [EUNATCH = "EUNATCH"]', () => {
expectTypeOf<typeof TestSubject>()
.toHaveProperty('EUNATCH')
.toMatchTypeOf<'EUNATCH'>()
})

it('should match [EWOULDBLOCK = "EWOULDBLOCK"]', () => {
expectTypeOf<typeof TestSubject>()
.toHaveProperty('EWOULDBLOCK')
Expand Down
1 change: 1 addition & 0 deletions src/enums/error-code-system.ts
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,7 @@ enum SystemErrorCode {
ETIME = 'ETIME',
ETIMEDOUT = 'ETIMEDOUT',
ETXTBSY = 'ETXTBSY',
EUNATCH = 'EUNATCH',
EWOULDBLOCK = 'EWOULDBLOCK',
EXDEV = 'EXDEV',
UNKNOWN = 'UNKNOWN'
Expand Down

0 comments on commit 3a3b18d

Please sign in to comment.