Skip to content

Bump loader-utils from 1.4.0 to 1.4.2 - #2

Closed
dependabot[bot] wants to merge 2 commits into
mainfrom
dependabot/npm_and_yarn/loader-utils-1.4.2
Closed

Bump loader-utils from 1.4.0 to 1.4.2#2
dependabot[bot] wants to merge 2 commits into
mainfrom
dependabot/npm_and_yarn/loader-utils-1.4.2

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Dec 8, 2022

Copy link
Copy Markdown
Contributor

Bumps loader-utils from 1.4.0 to 1.4.2.

Release notes

Sourced from loader-utils's releases.

v1.4.2

1.4.2 (2022-11-11)

Bug Fixes

v1.4.1

1.4.1 (2022-11-07)

Bug Fixes

Changelog

Sourced from loader-utils's changelog.

1.4.2 (2022-11-11)

Bug Fixes

1.4.1 (2022-11-07)

Bug Fixes

Commits

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 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)
  • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
  • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
  • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
  • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language

You can disable automated security fix PRs for this repo from the Security Alerts page.

jd and others added 2 commits December 8, 2022 16:40
Bumps [loader-utils](https://github.com/webpack/loader-utils) from 1.4.0 to 1.4.2.
- [Release notes](https://github.com/webpack/loader-utils/releases)
- [Changelog](https://github.com/webpack/loader-utils/blob/v1.4.2/CHANGELOG.md)
- [Commits](webpack/loader-utils@v1.4.0...v1.4.2)

---
updated-dependencies:
- dependency-name: loader-utils
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added the dependencies Pull requests that update a dependency file label Dec 8, 2022
@jd jd closed this Dec 8, 2022
@dependabot @github

dependabot Bot commented on behalf of github Dec 8, 2022

Copy link
Copy Markdown
Contributor Author

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

@dependabot
dependabot Bot deleted the dependabot/npm_and_yarn/loader-utils-1.4.2 branch December 8, 2022 16:00
@sileht

sileht commented Jan 3, 2023

Copy link
Copy Markdown
Member

@dependabot recreate

@dependabot @github

dependabot Bot commented on behalf of github Jan 3, 2023

Copy link
Copy Markdown
Contributor Author

Looks like this PR is closed. If you re-open it I'll rebase it as long as no-one else has edited it (you can use @dependabot reopen if the branch has been deleted).

@sileht

sileht commented Jan 3, 2023

Copy link
Copy Markdown
Member

@dependabot reopen

@dependabot @github

dependabot Bot commented on behalf of github Jan 3, 2023

Copy link
Copy Markdown
Contributor Author

Dependabot tried to reopen this PR, but was told that it no longer has any history in common with the base branch (and therefore couldn't be reopened).

@dependabot
dependabot Bot restored the dependabot/npm_and_yarn/loader-utils-1.4.2 branch January 3, 2023 15:59
@sileht

sileht commented Jan 3, 2023

Copy link
Copy Markdown
Member

@dependabot recreate

@dependabot @github

dependabot Bot commented on behalf of github Jan 3, 2023

Copy link
Copy Markdown
Contributor Author

Looks like this PR is closed. If you re-open it I'll rebase it as long as no-one else has edited it (you can use @dependabot reopen if the branch has been deleted).

@sileht

sileht commented Jan 3, 2023

Copy link
Copy Markdown
Member

@dependabot rebase

@dependabot @github

dependabot Bot commented on behalf of github Jan 3, 2023

Copy link
Copy Markdown
Contributor Author

Looks like this PR is closed. If you re-open it, I'll rebase it, as long as no-one else has edited it.

@sileht
sileht deleted the dependabot/npm_and_yarn/loader-utils-1.4.2 branch January 3, 2023 16:00
@sileht

sileht commented Jan 3, 2023

Copy link
Copy Markdown
Member

@dependabot reopen

@dependabot @github

dependabot Bot commented on behalf of github Jan 3, 2023

Copy link
Copy Markdown
Contributor Author

Dependabot tried to reopen this PR, but was told that it no longer has any history in common with the base branch (and therefore couldn't be reopened).

@dependabot
dependabot Bot restored the dependabot/npm_and_yarn/loader-utils-1.4.2 branch January 3, 2023 16:00
@sileht
sileht deleted the dependabot/npm_and_yarn/loader-utils-1.4.2 branch January 3, 2023 16:00
@sileht

sileht commented Jan 3, 2023

Copy link
Copy Markdown
Member

@dependabot recreate

@dependabot @github

dependabot Bot commented on behalf of github Jan 3, 2023

Copy link
Copy Markdown
Contributor Author

Looks like this PR is closed. If you re-open it I'll rebase it as long as no-one else has edited it (you can use @dependabot reopen if the branch has been deleted).

@sileht

sileht commented Jan 3, 2023

Copy link
Copy Markdown
Member

@dependabot reopen

@dependabot @github

dependabot Bot commented on behalf of github Jan 3, 2023

Copy link
Copy Markdown
Contributor Author

Dependabot tried to reopen this PR, but was told that it no longer has any history in common with the base branch (and therefore couldn't be reopened).

@dependabot
dependabot Bot restored the dependabot/npm_and_yarn/loader-utils-1.4.2 branch January 3, 2023 16:03
@sileht

sileht commented Jan 3, 2023

Copy link
Copy Markdown
Member

@dependabot rebase

@dependabot @github

dependabot Bot commented on behalf of github Jan 3, 2023

Copy link
Copy Markdown
Contributor Author

Looks like this PR is closed. If you re-open it, I'll rebase it, as long as no-one else has edited it.

@jd
jd deleted the dependabot/npm_and_yarn/loader-utils-1.4.2 branch May 17, 2023 13:21
mergify Bot pushed a commit that referenced this pull request Aug 13, 2026
The /api reference renders each endpoint's accepted credentials from a
hardcoded map of security scheme name to prose, falling back to the raw
scheme name on a miss.

The engine is splitting the scope-blind `ApplicationAuth` scheme into
`AdminApplicationKey` and `CIApplicationKey`, so every endpoint on the
page would read as a camel-case identifier once that schema syncs here.

Add both labels. `ApplicationAuth` stays: `public/api-schemas.json` is
synced from the engine by a bot on its own schedule, so the shipped
schema still names it until that lands.

Verified against the regenerated schema rather than assumed: building
the site with it renders 61 "Admin Application Key", 14 "CI Application
Key" and 60 "GitHub Token" badges, and no raw scheme names.

Related to MRGFY-8646

---

## Left out on purpose

Four things surfaced while verifying this. None are regressions from these
lines. Flagging rather than widening the diff.

1. **Open, but a copy decision — `src/pages/api/index.astro:47`** hardcodes
   "All endpoints require a Bearer token. Two authentication methods are
   supported: Application Key, GitHub Token". Once the schema syncs, the badges
   read `Admin Application Key` / `CI Application Key`, so the intro introduces
   a name the badges never use. Worth being precise: unlike #2 this is **not
   factually wrong** — there really are two auth *methods*, one of which has two
   scopes — it is a naming mismatch, which makes it lower priority. The right
   rewording depends on the same scope answer as #2, so it is deliberately not
   in this PR.

   Separately, the "All endpoints require a Bearer token" half of that sentence
   is *already* false on `main`, independent of any of this: `GET
   /badges/{owner}/{repository}`, `.png` and `.svg` publish no `security` at
   all. Pre-existing, belongs in the same rewrite whenever someone takes it.

2. **Not a docs fix — `src/content/docs/api/usage.mdx:42`** says the `admin`
   scope grants "Full access to all API endpoints", which the new schema
   contradicts: `PUT` and `POST /repos/{owner}/{repository}/pulls/{number}/scopes`
   declare `CIApplicationKey` only, and `get_by_key_and_scopes` filters on
   strict scope membership with no superset, so an admin key really is refused.
   Deliberately **not** touched here: whether `admin` ought to subsume `ci` is a
   product question. If the intent is "admin can do everything" then the engine
   is wrong and this line is right. Being raised with Mehdi on the monorepo side.

3. **Fixed at the source, no action here.** Badge order was not deterministic:
   45 operations emitted `(AdminApplicationKey, GitHubTokenBearerAuth)` and 4
   the reverse, for the same OR-set. Now canonical for every operation in
   Mergifyio/monorepo#38586, plus the future and internal specs. My first guess
   at the cause was wrong — it is not set iteration in the new rewrite and it
   predates it: FastAPI emits requirements in dependency-resolution order, and
   the 4 outliers carry a delegation role whose injected guard takes the logged
   user before the application dependency. Fixed there rather than sorted here,
   so the live `openapi.json` and generated clients get it too.

4. **Noted, no action wanted.** The engine ships a `description` per scheme
   ("`admin` scope, reaches every endpoint" / "`ci` scope, reaches CI Insights
   endpoints only", both linking to the usage page). `Endpoint.astro` renders
   only the badge label, so it does not surface *on this page* — correcting my
   earlier phrasing, that copy is not dead: it reaches
   `api.mergify.com/v1/openapi.json`, generated clients, and Scalar/Swagger-style
   renderers. Not rendering it here is the intended state.

I also skipped a test asserting every scheme in the shipped schema has a label.
It would turn the schemas-sync bot PR red for a cosmetic label and block the
config and CLI schema syncs riding along in it, in exchange for replacing a
graceful fallback with a hard failure.
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

Development

Successfully merging this pull request may close these issues.

2 participants