Skip to content

Commit e5f58a6

Browse files
SimenBcpojer
authored andcommitted
chore(package): update linting dependencies (#4964)
1 parent 0ac6d0c commit e5f58a6

6 files changed

Lines changed: 77 additions & 47 deletions

File tree

.flowconfig

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,5 @@
11
[ignore]
2-
.*/node_modules/conventional-changelog-core/.*
3-
.*/node_modules/fbjs/.*
4-
.*/node_modules/jest-validate/.*
5-
.*/node_modules/react-native/.*
6-
.*/node_modules/graphql/.*
7-
.*/vendor/jsonlint/.*
82
.*/examples/.*
9-
.*/website/.*
103

114
[options]
125
module.name_mapper='^pretty-format$' -> '<PROJECT_ROOT>/packages/pretty-format/src/index.js'

package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,15 +17,15 @@
1717
"babel-plugin-transform-strict-mode": "^6.24.1",
1818
"babel-preset-env": "^1.4.0",
1919
"babel-preset-react": "^6.24.1",
20-
"babel-preset-react-native": "^1.9.1",
20+
"babel-preset-react-native": "^4.0.0",
2121
"browserify": "^14.4.0",
2222
"chalk": "^2.0.1",
2323
"codecov": "^3.0.0",
2424
"cross-spawn": "^5.1.0",
2525
"debug": "^3.0.1",
2626
"enzyme": "^2.8.2",
27-
"eslint": "^4.2.0",
28-
"eslint-config-prettier": "^2.4.0",
27+
"eslint": "^4.12.0",
28+
"eslint-config-prettier": "^2.9.0",
2929
"eslint-plugin-babel": "^4.1.1",
3030
"eslint-plugin-flowtype": "^2.35.0",
3131
"eslint-plugin-import": "^2.6.0",
@@ -34,8 +34,8 @@
3434
"eslint-plugin-markdown": "^1.0.0-beta.6",
3535
"eslint-plugin-prettier": "^2.3.1",
3636
"eslint-plugin-react": "^7.1.0",
37-
"eslint-plugin-relay": "0.0.8",
38-
"eslint-plugin-unicorn": "^2.1.2",
37+
"eslint-plugin-relay": "~0.0.19",
38+
"eslint-plugin-unicorn": "^3.0.0",
3939
"flow-bin": "^0.59.0",
4040
"glob": "^7.1.1",
4141
"graceful-fs": "^4.1.11",

packages/eslint-config-fb-strict/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
},
88
"license": "MIT",
99
"dependencies": {
10-
"eslint-config-fbjs": "^2.0.0"
10+
"eslint-config-fbjs": "^2.0.1"
1111
},
1212
"peerDependencies": {
1313
"babel-eslint": "^7.2.3 || ^8.0.0",
@@ -17,6 +17,6 @@
1717
"eslint-plugin-jest": "^21.0.0",
1818
"eslint-plugin-jsx-a11y": "^6.0.2",
1919
"eslint-plugin-react": "^7.1.0",
20-
"eslint-plugin-relay": "0.0.8"
20+
"eslint-plugin-relay": "~0.0.8"
2121
}
2222
}

packages/jest-config/src/__tests__/normalize.test.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
*/
88

99
import {escapeStrForRegex} from 'jest-regex-util';
10-
import Resolver from 'jest-resolve';
1110
import normalize from '../normalize';
1211

1312
jest.mock('jest-resolve');

packages/jest-util/src/install_common_globals.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,5 @@ export default function(globalObject: Global, globals: ConfigGlobals) {
3030
globalObject.setImmediate = global.setImmediate;
3131
globalObject.clearImmediate = global.clearImmediate;
3232

33-
// $FlowFixMe: assigning an object.
3433
return Object.assign(globalObject, deepCyclicCopy(globals));
3534
}

yarn.lock

Lines changed: 70 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -507,9 +507,9 @@ babel-plugin-istanbul@^4.1.5:
507507
istanbul-lib-instrument "^1.7.5"
508508
test-exclude "^4.1.1"
509509

510-
babel-plugin-react-transform@2.0.2:
511-
version "2.0.2"
512-
resolved "https://registry.yarnpkg.com/babel-plugin-react-transform/-/babel-plugin-react-transform-2.0.2.tgz#515bbfa996893981142d90b1f9b1635de2995109"
510+
babel-plugin-react-transform@^3.0.0:
511+
version "3.0.0"
512+
resolved "https://registry.yarnpkg.com/babel-plugin-react-transform/-/babel-plugin-react-transform-3.0.0.tgz#402f25137b7bb66e9b54ead75557dfbc7ecaaa74"
513513
dependencies:
514514
lodash "^4.6.1"
515515

@@ -521,6 +521,10 @@ babel-plugin-syntax-class-properties@^6.5.0, babel-plugin-syntax-class-propertie
521521
version "6.13.0"
522522
resolved "https://registry.yarnpkg.com/babel-plugin-syntax-class-properties/-/babel-plugin-syntax-class-properties-6.13.0.tgz#d7eb23b79a317f8543962c505b827c7d6cac27de"
523523

524+
babel-plugin-syntax-dynamic-import@^6.18.0:
525+
version "6.18.0"
526+
resolved "https://registry.yarnpkg.com/babel-plugin-syntax-dynamic-import/-/babel-plugin-syntax-dynamic-import-6.18.0.tgz#8d6a26229c83745a9982a441051572caa179b1da"
527+
524528
babel-plugin-syntax-exponentiation-operator@^6.8.0:
525529
version "6.13.0"
526530
resolved "https://registry.yarnpkg.com/babel-plugin-syntax-exponentiation-operator/-/babel-plugin-syntax-exponentiation-operator-6.13.0.tgz#9ee7e8337290da95288201a6a57f4170317830de"
@@ -849,14 +853,15 @@ babel-preset-flow@^6.23.0:
849853
dependencies:
850854
babel-plugin-transform-flow-strip-types "^6.22.0"
851855

852-
babel-preset-react-native@^1.9.1:
853-
version "1.9.2"
854-
resolved "https://registry.yarnpkg.com/babel-preset-react-native/-/babel-preset-react-native-1.9.2.tgz#b22addd2e355ff3b39671b79be807e52dfa145f2"
856+
babel-preset-react-native@^4.0.0:
857+
version "4.0.0"
858+
resolved "https://registry.yarnpkg.com/babel-preset-react-native/-/babel-preset-react-native-4.0.0.tgz#3df80dd33a453888cdd33bdb87224d17a5d73959"
855859
dependencies:
856860
babel-plugin-check-es2015-constants "^6.5.0"
857-
babel-plugin-react-transform "2.0.2"
861+
babel-plugin-react-transform "^3.0.0"
858862
babel-plugin-syntax-async-functions "^6.5.0"
859863
babel-plugin-syntax-class-properties "^6.5.0"
864+
babel-plugin-syntax-dynamic-import "^6.18.0"
860865
babel-plugin-syntax-flow "^6.5.0"
861866
babel-plugin-syntax-jsx "^6.5.0"
862867
babel-plugin-syntax-trailing-function-commas "^6.5.0"
@@ -881,6 +886,7 @@ babel-preset-react-native@^1.9.1:
881886
babel-plugin-transform-react-jsx "^6.5.0"
882887
babel-plugin-transform-react-jsx-source "^6.5.0"
883888
babel-plugin-transform-regenerator "^6.5.0"
889+
babel-template "^6.24.1"
884890
react-transform-hmr "^1.0.4"
885891

886892
babel-preset-react@^6.24.1:
@@ -1409,6 +1415,12 @@ classnames@^2.2.5:
14091415
version "2.2.5"
14101416
resolved "https://registry.yarnpkg.com/classnames/-/classnames-2.2.5.tgz#fb3801d453467649ef3603c7d61a02bd129bde6d"
14111417

1418+
clean-regexp@^1.0.0:
1419+
version "1.0.0"
1420+
resolved "https://registry.yarnpkg.com/clean-regexp/-/clean-regexp-1.0.0.tgz#8df7c7aae51fd36874e8f8d05b9180bc11a3fed7"
1421+
dependencies:
1422+
escape-string-regexp "^1.0.5"
1423+
14121424
cli-cursor@^2.1.0:
14131425
version "2.1.0"
14141426
resolved "https://registry.yarnpkg.com/cli-cursor/-/cli-cursor-2.1.0.tgz#b35dac376479facc3e94747d41d0d0f5238ffcb5"
@@ -2092,6 +2104,12 @@ doctrine@^2.0.0:
20922104
esutils "^2.0.2"
20932105
isarray "^1.0.0"
20942106

2107+
doctrine@^2.0.2:
2108+
version "2.0.2"
2109+
resolved "https://registry.yarnpkg.com/doctrine/-/doctrine-2.0.2.tgz#68f96ce8efc56cc42651f1faadb4f175273b0075"
2110+
dependencies:
2111+
esutils "^2.0.2"
2112+
20952113
docusaurus@^1.0.0-beta.4:
20962114
version "1.0.0-beta.4"
20972115
resolved "https://registry.yarnpkg.com/docusaurus/-/docusaurus-1.0.0-beta.4.tgz#902f9d9fb97caf018e38996a0558b78f0c931b8d"
@@ -2338,13 +2356,20 @@ escodegen@^1.9.0:
23382356
optionalDependencies:
23392357
source-map "~0.5.6"
23402358

2341-
eslint-config-fbjs@^2.0.0:
2342-
version "2.0.0"
2343-
resolved "https://registry.yarnpkg.com/eslint-config-fbjs/-/eslint-config-fbjs-2.0.0.tgz#9f6ed690f500c2d750bf651e0cf1c65cf10b1c14"
2359+
eslint-ast-utils@^1.0.0:
2360+
version "1.1.0"
2361+
resolved "https://registry.yarnpkg.com/eslint-ast-utils/-/eslint-ast-utils-1.1.0.tgz#3d58ba557801cfb1c941d68131ee9f8c34bd1586"
2362+
dependencies:
2363+
lodash.get "^4.4.2"
2364+
lodash.zip "^4.2.0"
23442365

2345-
eslint-config-prettier@^2.4.0:
2346-
version "2.8.0"
2347-
resolved "https://registry.yarnpkg.com/eslint-config-prettier/-/eslint-config-prettier-2.8.0.tgz#929861a11de0249677686eba908118175d1a26bc"
2366+
eslint-config-fbjs@^2.0.1:
2367+
version "2.0.1"
2368+
resolved "https://registry.yarnpkg.com/eslint-config-fbjs/-/eslint-config-fbjs-2.0.1.tgz#395896fd740e0e28dc1c2072e3bc982e88247df5"
2369+
2370+
eslint-config-prettier@^2.9.0:
2371+
version "2.9.0"
2372+
resolved "https://registry.yarnpkg.com/eslint-config-prettier/-/eslint-config-prettier-2.9.0.tgz#5ecd65174d486c22dff389fe036febf502d468a3"
23482373
dependencies:
23492374
get-stdin "^5.0.1"
23502375

@@ -2427,16 +2452,18 @@ eslint-plugin-react@^7.1.0:
24272452
jsx-ast-utils "^2.0.0"
24282453
prop-types "^15.6.0"
24292454

2430-
eslint-plugin-relay@0.0.8:
2431-
version "0.0.8"
2432-
resolved "https://registry.yarnpkg.com/eslint-plugin-relay/-/eslint-plugin-relay-0.0.8.tgz#68d99f9fdc518a146bb8aee7519538aa56528dc8"
2455+
eslint-plugin-relay@~0.0.19:
2456+
version "0.0.19"
2457+
resolved "https://registry.yarnpkg.com/eslint-plugin-relay/-/eslint-plugin-relay-0.0.19.tgz#68767f79f19bf81e2aa6a7ccf82fe30d65015efe"
24332458
dependencies:
2434-
graphql "^0.10.1"
2459+
graphql "^0.11.3"
24352460

2436-
eslint-plugin-unicorn@^2.1.2:
2437-
version "2.1.2"
2438-
resolved "https://registry.yarnpkg.com/eslint-plugin-unicorn/-/eslint-plugin-unicorn-2.1.2.tgz#99dffe9f4773b04bc39356a7febd64dd700274bc"
2461+
eslint-plugin-unicorn@^3.0.0:
2462+
version "3.0.0"
2463+
resolved "https://registry.yarnpkg.com/eslint-plugin-unicorn/-/eslint-plugin-unicorn-3.0.0.tgz#2d53b4be307a54154d56c4cf494024e1b827e4b2"
24392464
dependencies:
2465+
clean-regexp "^1.0.0"
2466+
eslint-ast-utils "^1.0.0"
24402467
import-modules "^1.1.0"
24412468
lodash.camelcase "^4.1.1"
24422469
lodash.kebabcase "^4.0.1"
@@ -2450,17 +2477,17 @@ eslint-scope@^3.7.1:
24502477
esrecurse "^4.1.0"
24512478
estraverse "^4.1.1"
24522479

2453-
eslint@^4.2.0:
2454-
version "4.11.0"
2455-
resolved "https://registry.yarnpkg.com/eslint/-/eslint-4.11.0.tgz#39a8c82bc0a3783adf5a39fa27fdd9d36fac9a34"
2480+
eslint@^4.12.0:
2481+
version "4.12.0"
2482+
resolved "https://registry.yarnpkg.com/eslint/-/eslint-4.12.0.tgz#a7ce78eba8cc8f2443acfbbc870cc31a65135884"
24562483
dependencies:
24572484
ajv "^5.3.0"
24582485
babel-code-frame "^6.22.0"
24592486
chalk "^2.1.0"
24602487
concat-stream "^1.6.0"
24612488
cross-spawn "^5.1.0"
24622489
debug "^3.0.1"
2463-
doctrine "^2.0.0"
2490+
doctrine "^2.0.2"
24642491
eslint-scope "^3.7.1"
24652492
espree "^3.5.2"
24662493
esquery "^1.0.0"
@@ -2469,7 +2496,7 @@ eslint@^4.2.0:
24692496
file-entry-cache "^2.0.0"
24702497
functional-red-black-tree "^1.0.1"
24712498
glob "^7.1.2"
2472-
globals "^9.17.0"
2499+
globals "^11.0.1"
24732500
ignore "^3.3.3"
24742501
imurmurhash "^0.1.4"
24752502
inquirer "^3.0.6"
@@ -3035,7 +3062,11 @@ global@^4.3.0:
30353062
min-document "^2.19.0"
30363063
process "~0.5.1"
30373064

3038-
globals@^9.17.0, globals@^9.18.0:
3065+
globals@^11.0.1:
3066+
version "11.0.1"
3067+
resolved "https://registry.yarnpkg.com/globals/-/globals-11.0.1.tgz#12a87bb010e5154396acc535e1e43fc753b0e5e8"
3068+
3069+
globals@^9.18.0:
30393070
version "9.18.0"
30403071
resolved "https://registry.yarnpkg.com/globals/-/globals-9.18.0.tgz#aa3896b3e69b487f17e31ed2143d69a8e30c2d8a"
30413072

@@ -3080,11 +3111,11 @@ graceful-fs@^4.1.11, graceful-fs@^4.1.2, graceful-fs@^4.1.6:
30803111
version "4.1.11"
30813112
resolved "https://registry.yarnpkg.com/graceful-fs/-/graceful-fs-4.1.11.tgz#0e8bdfe4d1ddb8854d64e04ea7c00e2a026e5658"
30823113

3083-
graphql@^0.10.1:
3084-
version "0.10.5"
3085-
resolved "https://registry.yarnpkg.com/graphql/-/graphql-0.10.5.tgz#c9be17ca2bdfdbd134077ffd9bbaa48b8becd298"
3114+
graphql@^0.11.3:
3115+
version "0.11.7"
3116+
resolved "https://registry.yarnpkg.com/graphql/-/graphql-0.11.7.tgz#e5abaa9cb7b7cccb84e9f0836bf4370d268750c6"
30863117
dependencies:
3087-
iterall "^1.1.0"
3118+
iterall "1.1.3"
30883119

30893120
growl@1.10.3:
30903121
version "1.10.3"
@@ -3724,7 +3755,7 @@ istanbul-reports@^1.1.3:
37243755
dependencies:
37253756
handlebars "^4.0.3"
37263757

3727-
iterall@^1.1.0:
3758+
iterall@1.1.3:
37283759
version "1.1.3"
37293760
resolved "https://registry.yarnpkg.com/iterall/-/iterall-1.1.3.tgz#1cbbff96204056dde6656e2ed2e2226d0e6d72c9"
37303761

@@ -4166,6 +4197,10 @@ lodash.foreach@^4.3.0:
41664197
version "4.5.0"
41674198
resolved "https://registry.yarnpkg.com/lodash.foreach/-/lodash.foreach-4.5.0.tgz#1a6a35eace401280c7f06dddec35165ab27e3e53"
41684199

4200+
lodash.get@^4.4.2:
4201+
version "4.4.2"
4202+
resolved "https://registry.yarnpkg.com/lodash.get/-/lodash.get-4.4.2.tgz#2d177f652fa31e939b4438d5341499dfa3825e99"
4203+
41694204
lodash.kebabcase@^4.0.1:
41704205
version "4.1.1"
41714206
resolved "https://registry.yarnpkg.com/lodash.kebabcase/-/lodash.kebabcase-4.1.1.tgz#8489b1cb0d29ff88195cceca448ff6d6cc295c36"
@@ -4223,6 +4258,10 @@ lodash.upperfirst@^4.2.0:
42234258
version "4.3.1"
42244259
resolved "https://registry.yarnpkg.com/lodash.upperfirst/-/lodash.upperfirst-4.3.1.tgz#1365edf431480481ef0d1c68957a5ed99d49f7ce"
42254260

4261+
lodash.zip@^4.2.0:
4262+
version "4.2.0"
4263+
resolved "https://registry.yarnpkg.com/lodash.zip/-/lodash.zip-4.2.0.tgz#ec6662e4896408ed4ab6c542a3990b72cc080020"
4264+
42264265
lodash@^3.10.1, lodash@^3.8.0:
42274266
version "3.10.1"
42284267
resolved "https://registry.yarnpkg.com/lodash/-/lodash-3.10.1.tgz#5bf45e8e49ba4189e17d482789dfd15bd140b7b6"

0 commit comments

Comments
 (0)