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

Bump the pnpm-dependencies group in /npm_and_yarn/helpers with 2 updates #9562

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Apr 22, 2024

Bumps the pnpm-dependencies group in /npm_and_yarn/helpers with 2 updates: @pnpm/lockfile-file and @pnpm/dependency-path.

Updates @pnpm/lockfile-file from 8.1.6 to 9.0.1

Release notes

Sourced from @​pnpm/lockfile-file's releases.

v9.0.1

Patch Changes

  • pnpm install --frozen-lockfile should work with lockfiles generated by pnpm v8, if they don't need updates #7934.

Platinum Sponsors

Gold Sponsors

... (truncated)

Commits

Updates @pnpm/dependency-path from 2.1.7 to 3.0.0

Commits

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore <dependency name> major version will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
  • @dependabot ignore <dependency name> minor version will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
  • @dependabot ignore <dependency name> will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
  • @dependabot unignore <dependency name> will remove all of the ignore conditions of the specified dependency
  • @dependabot unignore <dependency name> <ignore condition> will remove the ignore condition of the specified dependency and ignore conditions

Bumps the pnpm-dependencies group in /npm_and_yarn/helpers with 2 updates: [@pnpm/lockfile-file](https://github.com/pnpm/pnpm) and [@pnpm/dependency-path](https://github.com/pnpm/pnpm).


Updates `@pnpm/lockfile-file` from 8.1.6 to 9.0.1
- [Release notes](https://github.com/pnpm/pnpm/releases)
- [Commits](https://github.com/pnpm/pnpm/commits/v9.0.1)

Updates `@pnpm/dependency-path` from 2.1.7 to 3.0.0
- [Release notes](https://github.com/pnpm/pnpm/releases)
- [Commits](https://github.com/pnpm/pnpm/commits/v3.0.0)

---
updated-dependencies:
- dependency-name: "@pnpm/lockfile-file"
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: pnpm-dependencies
- dependency-name: "@pnpm/dependency-path"
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: pnpm-dependencies
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot requested a review from a team as a code owner April 22, 2024 14:49
@dependabot dependabot bot added dependencies javascript Dependabot pull requests that update Javascript code labels Apr 22, 2024
jurre
jurre previously requested changes Apr 24, 2024
Copy link
Member

@jurre jurre left a comment

Choose a reason for hiding this comment

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

@thavaahariharangit we can't just remove tests because they cause some check to fail, we need to address the underlying issue.

In this case, dependency review is complaining about a package in the fixtures directory, so we should configure dependency-review to ignore that fixture as it is not part of the code that we ship, and will explicitly contain files with known dependencies for testing purposes.

@jurre
Copy link
Member

jurre commented Apr 24, 2024

Why are we adding a pnpm lockfile? We're using npm to manage our internal dependencies and already have a package-lock.json right?

const os = require("os");
const path = require("path");

describe("parseLockfile", () => {
Copy link
Member

Choose a reason for hiding this comment

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

Thanks for adding tests to this native helper 👍

thavaahariharangit pushed a commit that referenced this pull request Apr 24, 2024
thavaahariharangit pushed a commit that referenced this pull request Apr 24, 2024
thavaahariharangit added a commit that referenced this pull request Apr 24, 2024
Ignoring the fixture files in workflow (dependency review and code QL) runs
@thavaahariharangit
Copy link
Collaborator

thavaahariharangit commented Apr 26, 2024

@abdulapopoola and @jurre
As discussed in Standup

I have created new issue for avoiding dependency review workflow running against fixtures
https://github.com/orgs/dependabot/projects/5/views/14?pane=issue&itemId=61145059

And I have updated fixture files here, as it is not directly related this PR or it's fixes.

@@ -15,6 +15,7 @@ async function parse(directory) {
});

return Object.entries(lockfile.packages ?? {})
.filter(([depPath, pkgSnapshot]) => dependencyPath.parse(depPath).name) // exclude empty names
Copy link
Member

Choose a reason for hiding this comment

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

Thought: can dependencyPath.parse() return null/undefined and do we need to handle that? Answer: no 👍

Copy link
Collaborator

Choose a reason for hiding this comment

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

Answer yes, I am updating the code now.

Copy link
Collaborator

Choose a reason for hiding this comment

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

@bdragon Thanks and updated.

Copy link
Member

Choose a reason for hiding this comment

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

Sorry if my comment wasn't clear. I was just checking to see if this was something we needed to handle, but what you had was fine so there was no need to change it.

npm_and_yarn/helpers/test/pnpm/lockfile-parser.test.js Outdated Show resolved Hide resolved
@honeyankit honeyankit dismissed jurre’s stale review May 2, 2024 21:14

Jurre is on holiday and Bryan has approved the PR

@honeyankit
Copy link
Contributor

@raj-meka You should be good to go

@raj-meka raj-meka merged commit 29dcdfa into main May 2, 2024
65 checks passed
@raj-meka raj-meka deleted the dependabot/npm_and_yarn/npm_and_yarn/helpers/pnpm-dependencies-aed75d57aa branch May 2, 2024 22:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies javascript Dependabot pull requests that update Javascript code L: javascript
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ArgumentError: comparison of Dependabot::NpmAndYarn::Version with nil failed
6 participants