Skip to content

Commit 21dcb13

Browse files
authored
Upgrade versions (#526)
* Upgrade versions * Audit fix to avoid security issues * Update code-styles from Prettier update * Update LTS versions
1 parent 108efae commit 21dcb13

File tree

7 files changed

+1983
-2889
lines changed

7 files changed

+1983
-2889
lines changed

.github/ISSUE_TEMPLATE.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@ The issue tracker is solely meant for posting bugs, feature requests and non-usa
88

99
> We understand you have a problem and are in a hurry, but please provide us with some info to make it much more likely for your issue to be understood, worked on and resolved quickly.
1010
11-
- FakeTimers version : _please verify that the bug exists in the latest FakeTimers release_
12-
- Environment : <!-- Browser, OS, ... -->
13-
- Example URL : <!-- If you have one, such as a jsbin -->
14-
- Other libraries you are using:
11+
- FakeTimers version : _please verify that the bug exists in the latest FakeTimers release_
12+
- Environment : <!-- Browser, OS, ... -->
13+
- Example URL : <!-- If you have one, such as a jsbin -->
14+
- Other libraries you are using:
1515

1616
**What did you expect to happen?**
1717

.github/workflows/main.yml

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

130130
strategy:
131131
matrix:
132-
node-version: [18, 20, 22]
132+
node-version: [20, 22, 24]
133133

134134
steps:
135135
- uses: actions/checkout@v3

.tool-versions

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
nodejs 20.9.0
1+
nodejs 24.8.0

CODE_OF_CONDUCT.md

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -10,22 +10,22 @@ We pledge to act and interact in ways that contribute to an open, welcoming, div
1010

1111
Examples of behavior that contributes to a positive environment for our community include:
1212

13-
- Demonstrating empathy and kindness toward other people
14-
- Being respectful of differing opinions, viewpoints, and experiences
15-
- Giving and gracefully accepting constructive feedback
16-
- Accepting responsibility and apologizing to those affected by our mistakes, and learning from the experience
17-
- Focusing on what is best not just for us as individuals, but for the overall community
13+
- Demonstrating empathy and kindness toward other people
14+
- Being respectful of differing opinions, viewpoints, and experiences
15+
- Giving and gracefully accepting constructive feedback
16+
- Accepting responsibility and apologizing to those affected by our mistakes, and learning from the experience
17+
- Focusing on what is best not just for us as individuals, but for the overall community
1818

1919
Examples of unacceptable behavior include:
2020

21-
- The use of sexualized language or imagery, and sexual attention or
22-
advances of any kind
23-
- Trolling, insulting or derogatory comments, and personal or political attacks
24-
- Public or private harassment
25-
- Publishing others' private information, such as a physical or email
26-
address, without their explicit permission
27-
- Other conduct which could reasonably be considered inappropriate in a
28-
professional setting
21+
- The use of sexualized language or imagery, and sexual attention or
22+
advances of any kind
23+
- Trolling, insulting or derogatory comments, and personal or political attacks
24+
- Public or private harassment
25+
- Publishing others' private information, such as a physical or email
26+
address, without their explicit permission
27+
- Other conduct which could reasonably be considered inappropriate in a
28+
professional setting
2929

3030
## Enforcement Responsibilities
3131

README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -188,13 +188,13 @@ Allows configuring how the clock advances time, automatically or manually.
188188

189189
There are 3 different types of modes for advancing timers:
190190

191-
- `{mode: 'manual'}`: Timers do not advance without explicit, manual calls to the tick
192-
APIs (`jest.advanceTimersToNextTimer`, `jest.runAllTimers`, etc). This mode is equivalent to `false`.
193-
- `{mode: 'nextAsync'}`: The clock will continuously break the event loop, then run the next timer until the mode changes.
194-
As a result, tests can be written in a way that is independent from whether fake timers are installed.
195-
Tests can always be written to wait for timers to resolve, even when using fake timers.
196-
- `{mode: 'interval', delta?: <number>}`: This is the same as specifying `shouldAdvanceTime: true` with an `advanceTimeDelta`. If the delta is
197-
not specified, 20 will be used by default.
191+
- `{mode: 'manual'}`: Timers do not advance without explicit, manual calls to the tick
192+
APIs (`jest.advanceTimersToNextTimer`, `jest.runAllTimers`, etc). This mode is equivalent to `false`.
193+
- `{mode: 'nextAsync'}`: The clock will continuously break the event loop, then run the next timer until the mode changes.
194+
As a result, tests can be written in a way that is independent from whether fake timers are installed.
195+
Tests can always be written to wait for timers to resolve, even when using fake timers.
196+
- `{mode: 'interval', delta?: <number>}`: This is the same as specifying `shouldAdvanceTime: true` with an `advanceTimeDelta`. If the delta is
197+
not specified, 20 will be used by default.
198198

199199
The 'nextAsync' mode differs from `interval` in two key ways:
200200

0 commit comments

Comments
 (0)