Skip to content

Commit 5e05f3c

Browse files
chores: update dependencies (#49)
1 parent 8f132b1 commit 5e05f3c

File tree

9 files changed

+7310
-2347
lines changed

9 files changed

+7310
-2347
lines changed

.github/renovate.json

Lines changed: 0 additions & 20 deletions
This file was deleted.

.github/workflows/node.js.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,17 +7,17 @@ on:
77
branches: [master]
88

99
jobs:
10-
build:
10+
test:
1111
runs-on: ubuntu-latest
1212

1313
strategy:
1414
matrix:
15-
node-version: [10.x, 12.x, 14.x]
15+
node-version: [14.x, 16.x, 18.x]
1616

1717
steps:
18-
- uses: actions/checkout@v2
18+
- uses: actions/checkout@v3
1919
- name: Use Node.js ${{ matrix.node-version }}
20-
uses: actions/setup-node@v2
20+
uses: actions/setup-node@v3
2121
with:
2222
node-version: ${{ matrix.node-version }}
2323
- run: npm ci

docs/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,12 @@ sequelize-pool
1414

1515
- [FactoryOptions](interfaces/FactoryOptions.md)
1616

17-
### Type aliases
17+
### Type Aliases
1818

1919
- [FactoryLogger](README.md#factorylogger)
2020
- [LogLevel](README.md#loglevel)
2121

22-
## Type aliases
22+
## Type Aliases
2323

2424
### FactoryLogger
2525

docs/classes/AggregateError.md

Lines changed: 32 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,13 @@ A wrapper for multiple Errors
2222
- [message](AggregateError.md#message)
2323
- [name](AggregateError.md#name)
2424
- [stack](AggregateError.md#stack)
25+
- [prepareStackTrace](AggregateError.md#preparestacktrace)
2526
- [stackTraceLimit](AggregateError.md#stacktracelimit)
2627

2728
### Methods
2829

2930
- [toString](AggregateError.md#tostring)
3031
- [captureStackTrace](AggregateError.md#capturestacktrace)
31-
- [prepareStackTrace](AggregateError.md#preparestacktrace)
3232

3333
## Constructors
3434

@@ -84,6 +84,37 @@ Error.stack
8484

8585
___
8686

87+
### prepareStackTrace
88+
89+
`Static` `Optional` **prepareStackTrace**: (`err`: `Error`, `stackTraces`: `CallSite`[]) => `any`
90+
91+
#### Type declaration
92+
93+
▸ (`err`, `stackTraces`): `any`
94+
95+
Optional override for formatting stack traces
96+
97+
**`See`**
98+
99+
https://github.com/v8/v8/wiki/Stack%20Trace%20API#customizing-stack-traces
100+
101+
##### Parameters
102+
103+
| Name | Type |
104+
| :------ | :------ |
105+
| `err` | `Error` |
106+
| `stackTraces` | `CallSite`[] |
107+
108+
##### Returns
109+
110+
`any`
111+
112+
#### Inherited from
113+
114+
Error.prepareStackTrace
115+
116+
___
117+
87118
### stackTraceLimit
88119

89120
`Static` **stackTraceLimit**: `number`
@@ -124,28 +155,3 @@ Create .stack property on a target object
124155
#### Inherited from
125156

126157
Error.captureStackTrace
127-
128-
___
129-
130-
### prepareStackTrace
131-
132-
`Static` `Optional` **prepareStackTrace**(`err`, `stackTraces`): `any`
133-
134-
Optional override for formatting stack traces
135-
136-
**`see`** https://github.com/v8/v8/wiki/Stack%20Trace%20API#customizing-stack-traces
137-
138-
#### Parameters
139-
140-
| Name | Type |
141-
| :------ | :------ |
142-
| `err` | `Error` |
143-
| `stackTraces` | `CallSite`[] |
144-
145-
#### Returns
146-
147-
`any`
148-
149-
#### Inherited from
150-
151-
Error.prepareStackTrace

docs/classes/TimeoutError.md

Lines changed: 30 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,12 @@ Error which is thrown by pool when acquire request timeouts
2121
- [message](TimeoutError.md#message)
2222
- [name](TimeoutError.md#name)
2323
- [stack](TimeoutError.md#stack)
24+
- [prepareStackTrace](TimeoutError.md#preparestacktrace)
2425
- [stackTraceLimit](TimeoutError.md#stacktracelimit)
2526

2627
### Methods
2728

2829
- [captureStackTrace](TimeoutError.md#capturestacktrace)
29-
- [prepareStackTrace](TimeoutError.md#preparestacktrace)
3030

3131
## Constructors
3232

@@ -76,58 +76,64 @@ Error.stack
7676

7777
___
7878

79-
### stackTraceLimit
79+
### prepareStackTrace
8080

81-
`Static` **stackTraceLimit**: `number`
81+
`Static` `Optional` **prepareStackTrace**: (`err`: `Error`, `stackTraces`: `CallSite`[]) => `any`
8282

83-
#### Inherited from
83+
#### Type declaration
8484

85-
Error.stackTraceLimit
85+
▸ (`err`, `stackTraces`): `any`
8686

87-
## Methods
87+
Optional override for formatting stack traces
8888

89-
### captureStackTrace
89+
**`See`**
9090

91-
`Static` **captureStackTrace**(`targetObject`, `constructorOpt?`): `void`
91+
https://github.com/v8/v8/wiki/Stack%20Trace%20API#customizing-stack-traces
9292

93-
Create .stack property on a target object
94-
95-
#### Parameters
93+
##### Parameters
9694

9795
| Name | Type |
9896
| :------ | :------ |
99-
| `targetObject` | `Object` |
100-
| `constructorOpt?` | `Function` |
97+
| `err` | `Error` |
98+
| `stackTraces` | `CallSite`[] |
10199

102-
#### Returns
100+
##### Returns
103101

104-
`void`
102+
`any`
105103

106104
#### Inherited from
107105

108-
Error.captureStackTrace
106+
Error.prepareStackTrace
109107

110108
___
111109

112-
### prepareStackTrace
110+
### stackTraceLimit
111+
112+
`Static` **stackTraceLimit**: `number`
113113

114-
`Static` `Optional` **prepareStackTrace**(`err`, `stackTraces`): `any`
114+
#### Inherited from
115115

116-
Optional override for formatting stack traces
116+
Error.stackTraceLimit
117+
118+
## Methods
119+
120+
### captureStackTrace
117121

118-
**`see`** https://github.com/v8/v8/wiki/Stack%20Trace%20API#customizing-stack-traces
122+
`Static` **captureStackTrace**(`targetObject`, `constructorOpt?`): `void`
123+
124+
Create .stack property on a target object
119125

120126
#### Parameters
121127

122128
| Name | Type |
123129
| :------ | :------ |
124-
| `err` | `Error` |
125-
| `stackTraces` | `CallSite`[] |
130+
| `targetObject` | `Object` |
131+
| `constructorOpt?` | `Function` |
126132

127133
#### Returns
128134

129-
`any`
135+
`void`
130136

131137
#### Inherited from
132138

133-
Error.prepareStackTrace
139+
Error.captureStackTrace

0 commit comments

Comments
 (0)