Skip to content
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

Require front-matter v4.0.2, fix resolutions #559

Merged
merged 1 commit into from
Jun 30, 2021

Conversation

tmarkley
Copy link
Contributor

@tmarkley tmarkley commented Jun 25, 2021

Description

Addresses WS-2020-0341

Also removes unnecessary resolutions for dependencies that didn't have conflicts.

front-matter 2.1.2 is a downstream dependency of sass-lint which is an unmaintained repo without any newer versions. I've opened #551 to address this as a longer-term solution.

Upgrades front-matter from 2.1.2 to 4.0.2

Before

$ yarn why front-matter
yarn why v1.22.10
[1/4] Why do we have the module "front-matter"...?
[2/4] Initialising dependency graph...
warning Resolution field "[email protected]" is incompatible with requested version "typescript@~3.7.2"
[3/4] Finding dependency...
[4/4] Calculating file sizes...
=> Found "[email protected]"
info Reasons this module exists
   - "_project_#sass-lint" depends on it
   - Hoisted from "_project_#sass-lint#front-matter"
info Disk size without dependencies: "36KB"
info Disk size with unique dependencies: "456KB"
info Disk size with transitive dependencies: "1.07MB"
info Number of shared dependencies: 4
Done in 1.38s.

Testing

Screen Shot 2021-06-29 at 11 47 53 PM

Issues Resolved

N/A

Check List

  • New functionality includes testing.
    • All tests pass
  • New functionality has been documented.
    • New functionality has javadoc added
  • Commits are signed per the DCO using --signoff

@tmarkley tmarkley added dependencies Pull requests that update a dependency file v1.0.0 labels Jun 25, 2021
@tmarkley tmarkley requested review from kavilla and ananzh June 25, 2021 22:42
@opensearch-ci-bot
Copy link
Collaborator

✅   DCO Check Passed 7d6105e

ananzh
ananzh previously approved these changes Jun 28, 2021
Copy link
Member

@ananzh ananzh left a comment

Choose a reason for hiding this comment

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

looks good. Thanks tommy

"**/graphql-toolkit/lodash": "^4.17.15",
"**/hoist-non-react-statics": "^3.3.2",
"**/immer": "^8.0.1",
"**/isomorphic-fetch/node-fetch": "^2.6.1",
"**/istanbul-instrumenter-loader/schema-utils": "^1.0.0",
"**/load-grunt-config/lodash": "^4.17.20",
"**/locutus": "^2.0.14",
Copy link
Member

Choose a reason for hiding this comment

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

unnecessary resolutions for dependencies

Just verifying that this was unnecessary #460

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yeah that's correct, the correct way to bump the minor or patch version is to remove the dependency from the lockfile and then re-run bootstrap. That's what dependabot does as well: https://medium.com/@ayushya/upgrading-javascript-packages-deep-dependencies-using-yarn-8b5983d5fb6b

Copy link
Member

Choose a reason for hiding this comment

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

nice to learn

@opensearch-ci-bot
Copy link
Collaborator

✅   DCO Check Passed 2be6e98

@tmarkley tmarkley force-pushed the deps-front-matter branch from 2be6e98 to 83f40e4 Compare June 28, 2021 17:56
@opensearch-ci-bot
Copy link
Collaborator

✅   DCO Check Passed 83f40e4

@tmarkley tmarkley requested review from kavilla and ananzh June 28, 2021 18:15
kavilla
kavilla previously approved these changes Jun 28, 2021
ananzh
ananzh previously approved these changes Jun 28, 2021
@tmarkley tmarkley dismissed stale reviews from ananzh and kavilla via 2709780 June 29, 2021 00:58
@tmarkley tmarkley force-pushed the deps-front-matter branch from 83f40e4 to 2709780 Compare June 29, 2021 00:58
@opensearch-ci-bot
Copy link
Collaborator

✅   DCO Check Passed 2709780

@tmarkley tmarkley requested review from kavilla and ananzh June 29, 2021 14:00
ananzh
ananzh previously approved these changes Jun 29, 2021
kavilla
kavilla previously approved these changes Jun 29, 2021
@tmarkley tmarkley closed this Jun 29, 2021
@tmarkley tmarkley force-pushed the deps-front-matter branch from 2709780 to 0ae8375 Compare June 29, 2021 17:27
@tmarkley tmarkley reopened this Jun 30, 2021
@tmarkley tmarkley dismissed stale reviews from kavilla and ananzh via dfc1f95 June 30, 2021 03:51
@opensearch-ci-bot
Copy link
Collaborator

✅   DCO Check Passed dfc1f95

Addresses [WS-2020-0341](jxson/front-matter@f71652c)

Also removes unnecessary resolutions for dependencies that didn't have
conflicts.

`front-matter` 2.1.2 is a downstream dependency of `sass-lint` which is
an unmaintained repo without any newer versions. I've opened opensearch-project#551 to
address this as a longer-term solution.

Upgrades [front-matter](https://github.com/jxson/front-matter) from 2.1.2 to 4.0.2
- [Release notes](https://github.com/jxson/front-matter/releases)
- [Commits](jxson/front-matter@v2.1.2...v4.0.2)

Signed-off-by: Tommy Markley <[email protected]>
@tmarkley tmarkley force-pushed the deps-front-matter branch from dfc1f95 to a174ce9 Compare June 30, 2021 04:02
@opensearch-ci-bot
Copy link
Collaborator

✅   DCO Check Passed a174ce9

@tmarkley tmarkley requested review from kavilla and ananzh June 30, 2021 04:48
@tmarkley tmarkley merged commit ebc3e16 into opensearch-project:main Jun 30, 2021
@tmarkley tmarkley deleted the deps-front-matter branch June 30, 2021 16:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file v1.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants