Skip to content

Update deps + switch to fixed versions in package.json #1418

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jul 16, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .flowconfig
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@ suppress_comment=\\(.\\|\n\\)*\\$FlowFixMe\\($\\|[^(]\\|(\\(<VERSION>\\)?)\\)
suppress_comment=\\(.\\|\n\\)*\\$FlowIssue\\((\\(<VERSION>\\)?)\\)?:? #[0-9]+

[version]
^0.75.0
^0.76.0
44 changes: 22 additions & 22 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,34 +48,34 @@
"iterall": "^1.2.2"
Copy link
Member Author

@IvanGoncharov IvanGoncharov Jul 16, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's definitely not true for regular dependencies, as it can cause people to needlessly download multiple compatible versions of the same library.

@mjmahone Agree, iterall is the only one non-dev dependency we have and it's not pinned.

},
"devDependencies": {
"@babel/cli": "^7.0.0-beta.51",
"@babel/core": "^7.0.0-beta.51",
"@babel/node": "^7.0.0-beta.51",
"@babel/plugin-proposal-class-properties": "^7.0.0-beta.51",
"@babel/plugin-proposal-object-rest-spread": "^7.0.0-beta.51",
"@babel/plugin-syntax-async-generators": "^7.0.0-beta.51",
"@babel/plugin-transform-classes": "^7.0.0-beta.51",
"@babel/plugin-transform-destructuring": "^7.0.0-beta.51",
"@babel/plugin-transform-flow-strip-types": "^7.0.0-beta.51",
"@babel/plugin-transform-modules-commonjs": "^7.0.0-beta.51",
"@babel/plugin-transform-spread": "^7.0.0-beta.51",
"@babel/polyfill": "^7.0.0-beta.51",
"@babel/preset-env": "^7.0.0-beta.51",
"@babel/register": "^7.0.0-beta.51",
"babel-eslint": "8.2.4",
"@babel/cli": "7.0.0-beta.53",
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Even though we use yarn I think it's better to use explicit versions in package.json.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For devDependencies you're probably right. That's definitely not true for regular dependencies, as it can cause people to needlessly download multiple compatible versions of the same library.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@mjmahone Plus I'm especially paranoid after eslint recent catastrophe and it motivated this change.

"@babel/core": "7.0.0-beta.53",
"@babel/node": "7.0.0-beta.53",
"@babel/plugin-proposal-class-properties": "7.0.0-beta.53",
"@babel/plugin-proposal-object-rest-spread": "7.0.0-beta.53",
"@babel/plugin-syntax-async-generators": "7.0.0-beta.53",
"@babel/plugin-transform-classes": "7.0.0-beta.53",
"@babel/plugin-transform-destructuring": "7.0.0-beta.53",
"@babel/plugin-transform-flow-strip-types": "7.0.0-beta.53",
"@babel/plugin-transform-modules-commonjs": "7.0.0-beta.53",
"@babel/plugin-transform-spread": "7.0.0-beta.53",
"@babel/polyfill": "7.0.0-beta.53",
"@babel/preset-env": "7.0.0-beta.53",
"@babel/register": "7.0.0-beta.53",
"babel-eslint": "8.2.6",
"babel-plugin-syntax-async-functions": "6.13.0",
"beautify-benchmark": "0.2.4",
"benchmark": "2.1.4",
"chai": "4.1.2",
"coveralls": "3.0.1",
"eslint": "4.19.1",
"coveralls": "3.0.2",
"eslint": "5.1.0",
"eslint-plugin-babel": "5.1.0",
"eslint-plugin-flowtype": "2.49.3",
"eslint-plugin-prettier": "2.6.0",
"flow-bin": "0.75.0",
"eslint-plugin-flowtype": "2.50.0",
"eslint-plugin-prettier": "2.6.2",
"flow-bin": "0.76.0",
"mocha": "5.2.0",
"nyc": "^12.0.2",
"prettier": "1.13.5",
"nyc": "12.0.2",
"prettier": "1.13.7",
"sane": "2.5.2"
}
}
Loading