File tree 11 files changed +898
-873
lines changed
11 files changed +898
-873
lines changed Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ untyped-import
13
13
untyped-type-import
14
14
15
15
[version]
16
- ^0.93 .0
16
+ ^0.94 .0
17
17
18
18
[options]
19
19
module.name_mapper='^pretty-format$' -> '<PROJECT_ROOT>/packages/pretty-format/src/index.js'
Original file line number Diff line number Diff line change 3
3
"version" : " 0.0.0" ,
4
4
"name" : " example-enzyme" ,
5
5
"dependencies" : {
6
- "react" : " ^16.4.0 " ,
7
- "react-dom" : " ^16.4.0 "
6
+ "react" : " * " ,
7
+ "react-dom" : " * "
8
8
},
9
9
"devDependencies" : {
10
10
"@babel/core" : " *" ,
Original file line number Diff line number Diff line change 8
8
},
9
9
"dependencies" : {
10
10
"react" : " 16.6.3" ,
11
- "react-native" : " 0.57.8 "
11
+ "react-native" : " 0.58.6 "
12
12
},
13
13
"devDependencies" : {
14
14
"@babel/core" : " *" ,
Original file line number Diff line number Diff line change 3
3
"version" : " 0.0.0" ,
4
4
"name" : " example-react-testing-library" ,
5
5
"dependencies" : {
6
- "react" : " ^16.7.0 " ,
7
- "react-dom" : " ^16.7.0 "
6
+ "react" : " * " ,
7
+ "react-dom" : " * "
8
8
},
9
9
"devDependencies" : {
10
10
"@babel/core" : " *" ,
Original file line number Diff line number Diff line change 3
3
"version" : " 0.0.0" ,
4
4
"name" : " example-react" ,
5
5
"dependencies" : {
6
- "react" : " ^16.4.0 " ,
7
- "react-dom" : " ^16.4.0 "
6
+ "react" : " * " ,
7
+ "react-dom" : " * "
8
8
},
9
9
"devDependencies" : {
10
10
"@babel/core" : " *" ,
Original file line number Diff line number Diff line change 3
3
"version" : " 0.0.0" ,
4
4
"name" : " example-snapshot" ,
5
5
"dependencies" : {
6
- "react" : " ^16.4.0 "
6
+ "react" : " * "
7
7
},
8
8
"devDependencies" : {
9
9
"@babel/core" : " *" ,
Original file line number Diff line number Diff line change 3
3
"version" : " 0.0.0" ,
4
4
"name" : " example-typescript" ,
5
5
"dependencies" : {
6
- "react" : " ^16.4.0 " ,
7
- "react-dom" : " ^16.4.0 " ,
8
- "typescript" : " ^3.0.0 "
6
+ "react" : " * " ,
7
+ "react-dom" : " * " ,
8
+ "typescript" : " * "
9
9
},
10
10
"devDependencies" : {
11
11
"@babel/core" : " *" ,
12
12
"@babel/preset-env" : " *" ,
13
13
"@babel/preset-react" : " *" ,
14
14
"@babel/preset-typescript" : " *" ,
15
- "@types/jest" : " ^24.0.0 " ,
15
+ "@types/jest" : " * " ,
16
16
"babel-jest" : " *" ,
17
17
"jest" : " *"
18
18
},
Original file line number Diff line number Diff line change 1
1
{
2
- "lerna" : " 3.10.5 " ,
2
+ "lerna" : " 3.13.1 " ,
3
3
"version" : " 24.1.0" ,
4
4
"npmClient" : " yarn" ,
5
5
"packages" : [
Original file line number Diff line number Diff line change 37
37
"eslint-plugin-react" : " ^7.1.0" ,
38
38
"eslint-plugin-relay" : " ~0.0.19" ,
39
39
"execa" : " ^1.0.0" ,
40
- "flow-bin" : " ^0.93 .0" ,
40
+ "flow-bin" : " ^0.94 .0" ,
41
41
"glob" : " ^7.1.1" ,
42
42
"graceful-fs" : " ^4.1.15" ,
43
- "isbinaryfile" : " ^3 .0.3 " ,
43
+ "isbinaryfile" : " ^4 .0.0 " ,
44
44
"istanbul-api" : " ^2.0.8" ,
45
45
"istanbul-lib-coverage" : " ^2.0.2" ,
46
46
"jasmine-reporters" : " ^2.2.0" ,
47
47
"jest-junit" : " ^6.2.1" ,
48
48
"jest-silent-reporter" : " ^0.1.2" ,
49
49
"jest-snapshot-serializer-raw" : " ^1.1.0" ,
50
50
"jquery" : " ^3.2.1" ,
51
- "karma" : " ^3.1.4 " ,
51
+ "karma" : " ^4.0.1 " ,
52
52
"karma-chrome-launcher" : " ^2.1.1" ,
53
53
"karma-mocha" : " ^1.3.0" ,
54
54
"karma-webpack" : " 4.0.0-rc.5" ,
55
55
"left-pad" : " ^1.1.1" ,
56
- "lerna" : " 3.10.5 " ,
56
+ "lerna" : " 3.13.1 " ,
57
57
"micromatch" : " ^3.1.10" ,
58
58
"mkdirp" : " ^0.5.1" ,
59
- "mocha" : " ^5 .0.1 " ,
59
+ "mocha" : " ^6 .0.2 " ,
60
60
"mock-fs" : " ^4.4.1" ,
61
61
"prettier" : " ^1.16.1" ,
62
62
"prettylint" : " ^1.0.0" ,
Original file line number Diff line number Diff line change 9
9
10
10
const fs = require ( 'fs' ) ;
11
11
const { execSync} = require ( 'child_process' ) ;
12
- const isbinaryfile = require ( 'isbinaryfile' ) ;
12
+ const { isBinaryFileSync } = require ( 'isbinaryfile' ) ;
13
13
14
14
const getFileContents = path => fs . readFileSync ( path , { encoding : 'utf-8' } ) ;
15
15
const isDirectory = path => fs . lstatSync ( path ) . isDirectory ( ) ;
@@ -132,7 +132,7 @@ function check() {
132
132
INCLUDED_PATTERNS . some ( pattern => pattern . test ( file ) ) &&
133
133
! IGNORED_PATTERNS . some ( pattern => pattern . test ( file ) ) &&
134
134
! isDirectory ( file ) &&
135
- ! isbinaryfile . sync ( file ) &&
135
+ ! isBinaryFileSync ( file ) &&
136
136
needsCopyrightHeader ( file )
137
137
) ;
138
138
You can’t perform that action at this time.
0 commit comments