Skip to content
This repository was archived by the owner on Feb 6, 2023. It is now read-only.

Commit 5e92a32

Browse files
mrkevfacebook-github-bot
authored andcommitted
Update build, static analysis deps (#2541)
Summary: **Summary** Updating dependencies to close some dependabot PRs with security issues. **Test Plan** `yarn && yarn flow && yarn test && yarn lint` still gives the same results EDIT: Updated fbjs too. Tested by doing the same as above, and running the playground example. Everything works like it did before. Pull Request resolved: #2541 Reviewed By: claudiopro Differential Revision: D22883727 Pulled By: mrkev fbshipit-source-id: 63c56ab96ecf17dff23affc2350cd69f9d98bed2
1 parent ce94ecf commit 5e92a32

File tree

3 files changed

+638
-748
lines changed

3 files changed

+638
-748
lines changed

package.json

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
"test-ci": "cross-env NODE_ENV=test npm run lint && npm run flow && npm run test"
3636
},
3737
"dependencies": {
38-
"fbjs": "^1.0.0",
38+
"fbjs": "^2.0.0",
3939
"immutable": "~3.7.4",
4040
"object-assign": "^4.1.1"
4141
},
@@ -44,42 +44,42 @@
4444
"react-dom": ">=0.14.0"
4545
},
4646
"devDependencies": {
47-
"@babel/core": "^7.6.4",
48-
"@babel/plugin-proposal-nullish-coalescing-operator": "^7.4.4",
49-
"@babel/plugin-proposal-optional-chaining": "^7.9.0",
50-
"alex": "^8.0.0",
51-
"babel-eslint": "^10.0.3",
47+
"@babel/core": "^7.11.0",
48+
"@babel/plugin-proposal-nullish-coalescing-operator": "^7.10.4",
49+
"@babel/plugin-proposal-optional-chaining": "^7.11.0",
50+
"alex": "^8.2.0",
51+
"babel-eslint": "^10.1.0",
5252
"babel-preset-fbjs": "^3.3.0",
5353
"cross-env": "^7.0.2",
5454
"del": "^5.1.0",
5555
"es6-shim": "^0.35.5",
56-
"eslint": "^7.0.0",
56+
"eslint": "^7.6.0",
5757
"eslint-config-fbjs": "^3.1.1",
58-
"eslint-config-prettier": "^6.9.0",
59-
"eslint-plugin-babel": "^5.3.0",
60-
"eslint-plugin-flowtype": "^5.1.0",
61-
"eslint-plugin-jsx-a11y": "^6.2.3",
62-
"eslint-plugin-prettier": "^3.1.2",
63-
"eslint-plugin-react": "^7.17.0",
64-
"fbjs-scripts": "^1.2.0",
65-
"flow-bin": "^0.125.1",
58+
"eslint-config-prettier": "^6.11.0",
59+
"eslint-plugin-babel": "^5.3.1",
60+
"eslint-plugin-flowtype": "^5.2.0",
61+
"eslint-plugin-jsx-a11y": "^6.3.1",
62+
"eslint-plugin-prettier": "^3.1.4",
63+
"eslint-plugin-react": "^7.20.5",
64+
"fbjs-scripts": "^2.0.0",
65+
"flow-bin": "^0.130.0",
6666
"gulp": "^4.0.2",
6767
"gulp-babel": "^8.0.0",
68-
"gulp-clean-css": "^4.2.0",
68+
"gulp-clean-css": "^4.3.0",
6969
"gulp-concat-css": "^3.1.0",
7070
"gulp-derequire": "^3.0.0",
7171
"gulp-flatten": "^0.4.0",
7272
"gulp-header": "^2.0.9",
7373
"gulp-if": "^3.0.0",
7474
"gulp-rename": "^2.0.0",
75-
"gulp-util": "^3.0.6",
76-
"jest": "^26.0.1",
75+
"gulp-util": "^3.0.8",
76+
"jest": "^26.2.2",
7777
"prettier": "1.19.1",
7878
"react": "^16.8.0",
7979
"react-dom": "^16.8.0",
8080
"react-test-renderer": "^16.0.0",
81-
"stats-webpack-plugin": "^0.6.2",
82-
"through2": "^3.0.1",
81+
"stats-webpack-plugin": "^0.7.0",
82+
"through2": "^4.0.2",
8383
"uglifyjs-webpack-plugin": "^2.2.0",
8484
"webpack-stream": "5.2.1"
8585
},

src/.flowconfig

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -23,19 +23,19 @@ module.system.haste.use_name_reducers=true
2323
module.system.haste.name_reducers='^.*/\([a-zA-Z0-9$_.-]+\.js\(\.flow\)?\)$' -> '\1'
2424
# strip .js or .js.flow suffix
2525
module.system.haste.name_reducers='^\(.*\)\.js\(\.flow\)?$' -> '\1'
26-
module.system.haste.paths.whitelist=<PROJECT_ROOT>/.*
27-
module.system.haste.paths.whitelist=.*/node_modules/fbjs/lib/.*
28-
module.system.haste.paths.blacklist=.*/__tests__/.*
29-
module.system.haste.paths.blacklist=.*/react/node_modules/.*
30-
module.system.haste.paths.blacklist=.*/react-dom/node_modules/.*
31-
module.system.haste.paths.blacklist=.*/fbjs/node_modules/.*
32-
module.system.haste.paths.blacklist=.*/node_modules/invariant/.*
26+
module.system.haste.paths.includes=<PROJECT_ROOT>/.*
27+
module.system.haste.paths.includes=.*/node_modules/fbjs/lib/.*
28+
module.system.haste.paths.excludes=.*/__tests__/.*
29+
module.system.haste.paths.excludes=.*/react/node_modules/.*
30+
module.system.haste.paths.excludes=.*/react-dom/node_modules/.*
31+
module.system.haste.paths.excludes=.*/fbjs/node_modules/.*
32+
module.system.haste.paths.excludes=.*/node_modules/invariant/.*
3333

3434
esproposal.class_static_fields=enable
3535
esproposal.optional_chaining=enable
3636
suppress_type=$FlowIssue
37-
suppress_comment=\\(.\\|\n\\)*\\$FlowFixMe\\($\\|[^(]\\|(\\(>=0\\.\\(2[0-8]\\|1[0-9]\\|[0-9]\\).[0-9]\\)? *\\).*\n
38-
suppress_comment=\\(.\\|\n\\)*\\$FlowExpectedError
37+
; suppress_comment=\\(.\\|\n\\)*\\$FlowFixMe\\($\\|[^(]\\|(\\(>=0\\.\\(2[0-8]\\|1[0-9]\\|[0-9]\\).[0-9]\\)? *\\).*\n
38+
; suppress_comment=\\(.\\|\n\\)*\\$FlowExpectedError
3939
module.name_mapper='ReactDOMComet' -> 'react-dom'
4040

4141
[strict]
@@ -51,4 +51,4 @@ unsafe-getters-setters
5151
; nonstrict-import
5252

5353
[version]
54-
^0.125.0
54+
^0.130.0

0 commit comments

Comments
 (0)