mitodl / mit-learn

BSD 3-Clause "New" or "Revised" License
0 stars 2 forks source link

Bump cross-spawn from 7.0.3 to 7.0.6 #1834

Open dependabot[bot] opened 1 week ago

dependabot[bot] commented 1 week ago

Bumps cross-spawn from 7.0.3 to 7.0.6.

Changelog

Sourced from cross-spawn's changelog.

7.0.6 (2024-11-18)

Bug Fixes

  • update cross-spawn version to 7.0.5 in package-lock.json (f700743)

7.0.5 (2024-11-07)

Bug Fixes

  • fix escaping bug introduced by backtracking (640d391)

7.0.4 (2024-11-07)

Bug Fixes

Commits
  • 77cd97f chore(release): 7.0.6
  • 6717de4 chore: upgrade standard-version
  • f700743 fix: update cross-spawn version to 7.0.5 in package-lock.json
  • 9a7e3b2 chore: fix build status badge
  • 0852683 chore(release): 7.0.5
  • 640d391 fix: fix escaping bug introduced by backtracking
  • bff0c87 chore: remove codecov
  • a7c6abc chore: replace travis with github workflows
  • 9b9246e chore(release): 7.0.4
  • 5ff3a07 fix: disable regexp backtracking (#160)
  • Additional commits viewable in compare view


Dependabot compatibility score

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 ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) You can disable automated security fix PRs for this repo from the [Security Alerts page](https://github.com/mitodl/mit-learn/network/alerts).
jonkafton commented 1 week ago

I haven't made much sense of the build failure. NEXT_PUBLIC_CSRF_COOKIE_NAME is present on the Docker build args in the Actions job. The error is from ./frontends/main/src/validateEnv.js, called in the Next.js config file. next build does spawn child processes, https://github.com/vercel/next.js/blob/canary/scripts/pack-util.cjs#L47, but passes through the process.env.

cross-spawn is however only in use by jest and eslint (dependency tree below) and does not appear to augment the native child-process module. It does augment child process instances here, but I'mm not seeing any scenario that can happen without calling spawn on the package.

It is also passing now without any code change.

├─ api@workspace:frontends/api
│  └─ jest@npm:29.7.0 [0308d] (via npm:^29.7.0 [0308d])
│     ├─ @jest/core@npm:29.7.0 [3c1cd] (via npm:^29.7.0 [3c1cd])
│     │  ├─ @jest/transform@npm:29.7.0 (via npm:^29.7.0)
│     │  │  └─ jest-haste-map@npm:29.7.0 (via npm:^29.7.0)
│     │  │     └─ fsevents@patch:fsevents@npm%3A2.3.3#optional!builtin<compat/fsevents>::version=2.3.3&hash=df0bf1 (via patch:fsevents@npm%3A^2.3.2#optional!builtin<compat/fsevents>)
│     │  │        └─ node-gyp@npm:10.2.0 (via npm:latest)
│     │  │           └─ glob@npm:10.4.5 (via npm:^10.3.10)
│     │  │              └─ foreground-child@npm:3.3.0 (via npm:^3.1.0)
│     │  │                 └─ cross-spawn@npm:7.0.6 (via npm:^7.0.0)
│     │  ├─ jest-changed-files@npm:29.7.0 (via npm:^29.7.0)
│     │  │  └─ execa@npm:5.1.1 (via npm:^5.0.0)
│     │  │     └─ cross-spawn@npm:7.0.6 (via npm:^7.0.3)
│
├─ frontends@workspace:frontends
│  ├─ @next/eslint-plugin-next@npm:14.2.15 (via npm:^14.2.7)
│  │  └─ glob@npm:10.3.10 (via npm:10.3.10)
│  │     └─ foreground-child@npm:3.3.0 (via npm:^3.1.0)
│  ├─ eslint@npm:8.57.1 (via npm:8.57.1)
│  │  └─ cross-spawn@npm:7.0.6 (via npm:^7.0.2)