File tree Expand file tree Collapse file tree 16 files changed +22
-40
lines changed Expand file tree Collapse file tree 16 files changed +22
-40
lines changed Original file line number Diff line number Diff line change 52
52
53
53
### Fixes
54
54
55
+ - ` [*] ` Replace ` exit ` with ` exit-x ` ([ #15399 ] ( https://github.com/jestjs/jest/pull/15399 ) )
55
56
- ` [babel-plugin-jest-hoist] ` Use ` denylist ` instead of the deprecated ` blacklist ` for Babel 8 support ([ #14109 ] ( https://github.com/jestjs/jest/pull/14109 ) )
56
57
- ` [babel-plugin-jest-hoist] ` Do not rely on buggy Babel behaviour ([ #15415 ] ( https://github.com/jestjs/jest/pull/15415 ) )
57
58
- ` [expect] ` Check error instance type for ` toThrow/toThrowError ` ([ #14576 ] ( https://github.com/jestjs/jest/pull/14576 ) )
Original file line number Diff line number Diff line change 24
24
"dependencies" : {
25
25
"@jest/types" : " workspace:*" ,
26
26
"chalk" : " ^4.0.0" ,
27
- "exit" : " ^0.1 .2" ,
27
+ "exit-x " : " ^0.2 .2" ,
28
28
"graceful-fs" : " ^4.2.9" ,
29
29
"jest-config" : " workspace:*" ,
30
30
"jest-util" : " workspace:*" ,
37
37
"access" : " public"
38
38
},
39
39
"devDependencies" : {
40
- "@types/exit" : " ^0.1.30" ,
41
40
"@types/graceful-fs" : " ^4.1.3" ,
42
41
"@types/prompts" : " ^2.0.1"
43
42
}
Original file line number Diff line number Diff line change 7
7
8
8
import * as path from 'path' ;
9
9
import chalk = require( 'chalk' ) ;
10
- import exit = require( 'exit' ) ;
10
+ import exit = require( 'exit-x ' ) ;
11
11
import * as fs from 'graceful-fs' ;
12
12
import prompts = require( 'prompts' ) ;
13
13
import { constants } from 'jest-config' ;
Original file line number Diff line number Diff line change 19
19
"@jest/test-result" : " workspace:*" ,
20
20
"@jest/types" : " workspace:*" ,
21
21
"chalk" : " ^4.0.0" ,
22
- "exit" : " ^0.1 .2" ,
22
+ "exit-x " : " ^0.2 .2" ,
23
23
"import-local" : " ^3.0.2" ,
24
24
"jest-config" : " workspace:*" ,
25
25
"jest-util" : " workspace:*" ,
26
26
"jest-validate" : " workspace:*" ,
27
27
"yargs" : " ^17.3.1"
28
28
},
29
29
"devDependencies" : {
30
- "@types/exit" : " ^0.1.30" ,
31
30
"@types/yargs" : " ^17.0.8"
32
31
},
33
32
"peerDependencies" : {
Original file line number Diff line number Diff line change 7
7
8
8
import * as path from 'path' ;
9
9
import chalk = require( 'chalk' ) ;
10
- import exit = require( 'exit' ) ;
10
+ import exit = require( 'exit-x ' ) ;
11
11
import yargs = require( 'yargs' ) ;
12
12
import { getVersion , runCLI } from '@jest/core' ;
13
13
import type { AggregatedResult } from '@jest/test-result' ;
Original file line number Diff line number Diff line change 24
24
"ansi-escapes" : " ^4.2.1" ,
25
25
"chalk" : " ^4.0.0" ,
26
26
"ci-info" : " ^4.0.0" ,
27
- "exit" : " ^0.1 .2" ,
27
+ "exit-x " : " ^0.2 .2" ,
28
28
"graceful-fs" : " ^4.2.9" ,
29
29
"jest-changed-files" : " workspace:*" ,
30
30
"jest-config" : " workspace:*" ,
47
47
"devDependencies" : {
48
48
"@jest/test-sequencer" : " workspace:*" ,
49
49
"@jest/test-utils" : " workspace:*" ,
50
- "@types/exit" : " ^0.1.30" ,
51
50
"@types/graceful-fs" : " ^4.1.3" ,
52
51
"@types/micromatch" : " ^4.0.7"
53
52
},
Original file line number Diff line number Diff line change 7
7
8
8
import chalk = require( 'chalk' ) ;
9
9
import { GITHUB_ACTIONS } from 'ci-info' ;
10
- import exit = require( 'exit' ) ;
10
+ import exit = require( 'exit-x ' ) ;
11
11
import {
12
12
CoverageReporter ,
13
13
DefaultReporter ,
Original file line number Diff line number Diff line change 8
8
import { performance } from 'perf_hooks' ;
9
9
import type { WriteStream } from 'tty' ;
10
10
import chalk = require( 'chalk' ) ;
11
- import exit = require( 'exit' ) ;
11
+ import exit = require( 'exit-x ' ) ;
12
12
import * as fs from 'graceful-fs' ;
13
13
import { CustomConsole } from '@jest/console' ;
14
14
import type { AggregatedResult , TestContext } from '@jest/test-result' ;
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ import * as path from 'path';
9
9
import { performance } from 'perf_hooks' ;
10
10
import type { WriteStream } from 'tty' ;
11
11
import chalk = require( 'chalk' ) ;
12
- import exit = require( 'exit' ) ;
12
+ import exit = require( 'exit-x ' ) ;
13
13
import * as fs from 'graceful-fs' ;
14
14
import { CustomConsole } from '@jest/console' ;
15
15
import {
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ import * as path from 'path';
9
9
import type { WriteStream } from 'tty' ;
10
10
import ansiEscapes = require( 'ansi-escapes' ) ;
11
11
import chalk = require( 'chalk' ) ;
12
- import exit = require( 'exit' ) ;
12
+ import exit = require( 'exit-x ' ) ;
13
13
import slash = require( 'slash' ) ;
14
14
import { TestPathPatterns } from '@jest/pattern' ;
15
15
import type { TestContext } from '@jest/test-result' ;
You can’t perform that action at this time.
0 commit comments