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

Commit

Permalink
Update build, static analysis deps (#2541)
Browse files Browse the repository at this point in the history
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
  • Loading branch information
mrkev authored and facebook-github-bot committed Aug 3, 2020
1 parent ce94ecf commit 5e92a32
Show file tree
Hide file tree
Showing 3 changed files with 638 additions and 748 deletions.
40 changes: 20 additions & 20 deletions package.json
Expand Up @@ -35,7 +35,7 @@
"test-ci": "cross-env NODE_ENV=test npm run lint && npm run flow && npm run test"
},
"dependencies": {
"fbjs": "^1.0.0",
"fbjs": "^2.0.0",
"immutable": "~3.7.4",
"object-assign": "^4.1.1"
},
Expand All @@ -44,42 +44,42 @@
"react-dom": ">=0.14.0"
},
"devDependencies": {
"@babel/core": "^7.6.4",
"@babel/plugin-proposal-nullish-coalescing-operator": "^7.4.4",
"@babel/plugin-proposal-optional-chaining": "^7.9.0",
"alex": "^8.0.0",
"babel-eslint": "^10.0.3",
"@babel/core": "^7.11.0",
"@babel/plugin-proposal-nullish-coalescing-operator": "^7.10.4",
"@babel/plugin-proposal-optional-chaining": "^7.11.0",
"alex": "^8.2.0",
"babel-eslint": "^10.1.0",
"babel-preset-fbjs": "^3.3.0",
"cross-env": "^7.0.2",
"del": "^5.1.0",
"es6-shim": "^0.35.5",
"eslint": "^7.0.0",
"eslint": "^7.6.0",
"eslint-config-fbjs": "^3.1.1",
"eslint-config-prettier": "^6.9.0",
"eslint-plugin-babel": "^5.3.0",
"eslint-plugin-flowtype": "^5.1.0",
"eslint-plugin-jsx-a11y": "^6.2.3",
"eslint-plugin-prettier": "^3.1.2",
"eslint-plugin-react": "^7.17.0",
"fbjs-scripts": "^1.2.0",
"flow-bin": "^0.125.1",
"eslint-config-prettier": "^6.11.0",
"eslint-plugin-babel": "^5.3.1",
"eslint-plugin-flowtype": "^5.2.0",
"eslint-plugin-jsx-a11y": "^6.3.1",
"eslint-plugin-prettier": "^3.1.4",
"eslint-plugin-react": "^7.20.5",
"fbjs-scripts": "^2.0.0",
"flow-bin": "^0.130.0",
"gulp": "^4.0.2",
"gulp-babel": "^8.0.0",
"gulp-clean-css": "^4.2.0",
"gulp-clean-css": "^4.3.0",
"gulp-concat-css": "^3.1.0",
"gulp-derequire": "^3.0.0",
"gulp-flatten": "^0.4.0",
"gulp-header": "^2.0.9",
"gulp-if": "^3.0.0",
"gulp-rename": "^2.0.0",
"gulp-util": "^3.0.6",
"jest": "^26.0.1",
"gulp-util": "^3.0.8",
"jest": "^26.2.2",
"prettier": "1.19.1",
"react": "^16.8.0",
"react-dom": "^16.8.0",
"react-test-renderer": "^16.0.0",
"stats-webpack-plugin": "^0.6.2",
"through2": "^3.0.1",
"stats-webpack-plugin": "^0.7.0",
"through2": "^4.0.2",
"uglifyjs-webpack-plugin": "^2.2.0",
"webpack-stream": "5.2.1"
},
Expand Down
20 changes: 10 additions & 10 deletions src/.flowconfig
Expand Up @@ -23,19 +23,19 @@ module.system.haste.use_name_reducers=true
module.system.haste.name_reducers='^.*/\([a-zA-Z0-9$_.-]+\.js\(\.flow\)?\)$' -> '\1'
# strip .js or .js.flow suffix
module.system.haste.name_reducers='^\(.*\)\.js\(\.flow\)?$' -> '\1'
module.system.haste.paths.whitelist=<PROJECT_ROOT>/.*
module.system.haste.paths.whitelist=.*/node_modules/fbjs/lib/.*
module.system.haste.paths.blacklist=.*/__tests__/.*
module.system.haste.paths.blacklist=.*/react/node_modules/.*
module.system.haste.paths.blacklist=.*/react-dom/node_modules/.*
module.system.haste.paths.blacklist=.*/fbjs/node_modules/.*
module.system.haste.paths.blacklist=.*/node_modules/invariant/.*
module.system.haste.paths.includes=<PROJECT_ROOT>/.*
module.system.haste.paths.includes=.*/node_modules/fbjs/lib/.*
module.system.haste.paths.excludes=.*/__tests__/.*
module.system.haste.paths.excludes=.*/react/node_modules/.*
module.system.haste.paths.excludes=.*/react-dom/node_modules/.*
module.system.haste.paths.excludes=.*/fbjs/node_modules/.*
module.system.haste.paths.excludes=.*/node_modules/invariant/.*

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

[strict]
Expand All @@ -51,4 +51,4 @@ unsafe-getters-setters
; nonstrict-import

[version]
^0.125.0
^0.130.0

0 comments on commit 5e92a32

Please sign in to comment.