Skip to content

Bump minimist from 1.2.5 to 1.2.7 in /hub-search-proxy#357

Open
dependabot[bot] wants to merge 2111 commits intomasterfrom
dependabot/npm_and_yarn/hub-search-proxy/minimist-1.2.7
Open

Bump minimist from 1.2.5 to 1.2.7 in /hub-search-proxy#357
dependabot[bot] wants to merge 2111 commits intomasterfrom
dependabot/npm_and_yarn/hub-search-proxy/minimist-1.2.7

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot bot commented on behalf of github Nov 29, 2022

Bumps minimist from 1.2.5 to 1.2.7.

Changelog

Sourced from minimist's changelog.

v1.2.7 - 2022-10-10

Commits

  • [meta] add auto-changelog 0ebf4eb
  • [actions] add reusable workflows e115b63
  • [eslint] add eslint; rules to enable later are warnings f58745b
  • [Dev Deps] switch from covert to nyc ab03356
  • [readme] rename and add badges 236f4a0
  • [meta] create FUNDING.yml; add funding in package.json 783a49b
  • [meta] use npmignore to autogenerate an npmignore file f81ece6
  • Only apps should have lockfiles 56cad44
  • [Dev Deps] update covert, tape; remove unnecessary tap 49c5f9f
  • [Tests] add aud in posttest 228ae93
  • [meta] add safe-publish-latest 01fc23f
  • [meta] update repo URLs 6b164c7

v1.2.6 - 2022-03-21

Commits

  • test from prototype pollution PR bc8ecee
  • isConstructorOrProto adapted from PR c2b9819
  • security notice for additional prototype pollution issue ef88b93
Commits
  • c590d75 v1.2.7
  • 0ebf4eb [meta] add auto-changelog
  • e115b63 [actions] add reusable workflows
  • 01fc23f [meta] add safe-publish-latest
  • f58745b [eslint] add eslint; rules to enable later are warnings
  • 228ae93 [Tests] add aud in posttest
  • 236f4a0 [readme] rename and add badges
  • ab03356 [Dev Deps] switch from covert to nyc
  • 49c5f9f [Dev Deps] update covert, tape; remove unnecessary tap
  • 783a49b [meta] create FUNDING.yml; add funding in package.json
  • Additional commits viewable in compare view
Maintainer changes

This version was pushed to npm by ljharb, a new releaser for minimist since your current version.


Dependabot compatibility score

You can trigger a rebase of this PR 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)
    You can disable automated security fix PRs for this repo from the Security Alerts page.

Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

rosemcc and others added 30 commits November 8, 2021 14:13
Bumps [cypress-commands](https://github.com/Lakitna/cypress-commands) from 1.1.0 to 2.0.1.
- [Release notes](https://github.com/Lakitna/cypress-commands/releases)
- [Changelog](https://github.com/Lakitna/cypress-commands/blob/develop/CHANGELOG.md)
- [Commits](Lakitna/cypress-commands@1.1.0...2.0.1)

---
updated-dependencies:
- dependency-name: cypress-commands
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
* generated new components

* first version of contact card

* changed card title color

* fixed elevation

* first version of org unit card

* first version of document card

* moved cards module and components

* article simplification

* changed mouse pointer on card

* minor change to article page

* Revert "minor change to article page"

This reverts commit 4c66bf8.

* case-studys page refactor

* fixed width cards, minor article change

* changed equipment page

* changes to events

* changed fundings page

* changes to service page

* changes to software page

* changes to subhubs and standard card

* set image height

* removed app-cards from featured component

* removed old cards components

* fixed featured layout

* better spacing on featured component

* fixed lock icon size

* fixed article layout

* fixed mobile card width

* fixed clickable cards

* generated new components

* first version of contact card

* changed card title color

* fixed elevation

* first version of org unit card

* first version of document card

* moved cards module and components

* article simplification

* changed mouse pointer on card

* minor change to article page

* Revert "minor change to article page"

This reverts commit 4c66bf8.

* case-studys page refactor

* fixed width cards, minor article change

* changed equipment page

* changes to events

* changed fundings page

* changes to service page

* changes to software page

* changes to subhubs and standard card

* set image height

* removed app-cards from featured component

* removed old cards components

* fixed featured layout

* better spacing on featured component

* fixed lock icon size

* fixed article layout

* fixed mobile card width

* fixed clickable cards

* generated new components

* first version of contact card

* changed card title color

* fixed elevation

* first version of org unit card

* first version of document card

* moved cards module and components

* article simplification

* changed mouse pointer on card

* minor change to article page

* Revert "minor change to article page"

This reverts commit 4c66bf8.

* case-studys page refactor

* fixed width cards, minor article change

* changed equipment page

* changes to events

* changed fundings page

* changes to service page

* changes to software page

* changes to subhubs and standard card

* set image height

* removed app-cards from featured component

* removed old cards components

* fixed featured layout

* better spacing on featured component

* fixed lock icon size

* fixed article layout

* fixed mobile card width

* fixed clickable cards

* generated new components

* first version of contact card

* changed card title color

* fixed elevation

* first version of org unit card

* first version of document card

* moved cards module and components

* changed mouse pointer on card

* minor change to article page

* Revert "minor change to article page"

This reverts commit 4c66bf8.

* fixed width cards, minor article change

* fixed clickable cards

* minor fixes

* article layout fixes

* fixes for case studies layout

* more layout fixes

* fixed unit tests

* fix for equipment table

* upgraded e2e test with cypress types, fixed e2e tests

* fixed inconsistent bottom margin

* mat-icon white on subhub child card

* added missing case study references

* fixed 3 column layout being too narrow

* fixed you-might-be-interested-in id

* fixed featured layout

* fixed missing funding purpose

* fixed body media error

* fix nulls error on subhub pages

* fixed title underline

* Revert "fixed title underline"

This reverts commit d92ba98.

* fixed subhub child card underline

Co-authored-by: Rose McColl <[email protected]>
…search-hub-web/cypress-commands-2.0.1

Bump cypress-commands from 1.1.0 to 2.0.1 in /research-hub-web
rosemcc and others added 18 commits March 21, 2022 12:14
* initial commit for content graph

* added resolver and adjustments, highlight node on hover

* update lockfile version

* minor fixes for null checks

* added auth guard to graph route

* first version of node info box

* added node highlighting

* improved details list and highlighting

* first version of graph legend in drawer

* layout fixes

* layout improvements

* renamed graph-legend to graph-filter

* added legend, added dev env

* added graph link to footer

* fixed capitalisation

* some fixes for unit tests

* more fixes for tests

* exclude GraphFilter test for now

* added graph API to CSP headers (dev)

* renamed graph-container

* refactored graph into component

* tidy up field order

* changed loading behaviour, removed route resolver

* fixed canvas width, colour changes

* fixed color legend and search box

* minor improvements

* many UI improvements, added contentful link to env files

* updated test and prod environment files with graph api url

* some fixes for unit tests

* more fixes for unit tests

* minor improvements for node details UI

* added graph api to csp headers in cloudfront functions

* rebuild package-lock.json

* added esbuild dep
* Add token references for CI build

* Add missing package

* Fix npm shrinkwrap issue

* Fix wrong org id

* Update readme

* Update documentation

* Add indentation and minor fixes to README

* FIx minor heading issue with readme

Co-authored-by: Lukas Trombach <[email protected]>
Co-authored-by: rosemcc <[email protected]>
Co-authored-by: Lukas Trombach <[email protected]>
* chore: version update

* CHORE: update versions

* HOTFIX

* Chore: version changes

Co-authored-by: Rose <[email protected]>
Co-authored-by: rosemcc <[email protected]>
Co-authored-by: Lukas Trombach <[email protected]>
Co-authored-by: Lukas Trombach <[email protected]>
Co-authored-by: etan221 <[email protected]>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Nov 29, 2022
Trombach and others added 4 commits December 1, 2022 17:09
* add initial modules and components

* update search lambda

* update and add new graphQL queries

* add capability type to standard card

* add components to routes

* add capability list

* reuse article default banner for capability card for now

* add capability display name to pipe

* first version of capability page

* make tests runnable

* add capability page type to search types

* add navbar link to subhub

* add capability list unit test

* make e2e tests runnable

* fix unit test

* fix unit tests

* add capability unit test

* decapitalised navbar link

* added new card background for capability

* add capability e2e tests and fixture

* fix capability not showing in search results

* fix e2e test

* add capability type to content graph

* remove navbar link to be added later

* fix standard card default image loading

* lowercase sign in/out

* move support materials to the top

* fix unit test

* fix navbar e2e test

* move contacts to the top

* minor fix for standard images

* simplify standard card component

* add comment explaining image height
Bumps [minimist](https://github.com/minimistjs/minimist) from 1.2.5 to 1.2.7.
- [Release notes](https://github.com/minimistjs/minimist/releases)
- [Changelog](https://github.com/minimistjs/minimist/blob/main/CHANGELOG.md)
- [Commits](minimistjs/minimist@v1.2.5...v1.2.7)

---
updated-dependencies:
- dependency-name: minimist
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/hub-search-proxy/minimist-1.2.7 branch from a0c67c2 to a85a21e Compare December 2, 2022 01:13
@lugn621 lugn621 force-pushed the dependabot/npm_and_yarn/hub-search-proxy/minimist-1.2.7 branch from a85a21e to 8381c8e Compare April 2, 2026 02:11
Comment on lines +15 to +36
name: Run linters
runs-on: ubuntu-latest

steps:
- name: Check out Git repository
uses: actions/checkout@v2

- name: Set up Node.js
uses: actions/setup-node@v1
with:
node-version: 14

- name: Install Node.js dependencies
working-directory: ./research-hub-web
run: npm ci

- name: Install Angular CLI
run: npm install -g @angular/cli

- name: ng lint
working-directory: ./research-hub-web
run: ng lint

Check warning

Code scanning / CodeQL

Workflow does not contain permissions Medium

Actions job or workflow does not limit the permissions of the GITHUB_TOKEN. Consider setting an explicit permissions block, using the following as a minimal starting point: {contents: read}

Copilot Autofix

AI 3 days ago

To fix the problem, explicitly restrict the GITHUB_TOKEN permissions in the workflow by adding a permissions block that grants only the minimal rights needed. Since this workflow only checks out the code and runs linters, it needs read access to repository contents and no write access.

The best minimal fix without changing existing functionality is to add a workflow‑level permissions block directly under the name: Lint line. This will apply to all jobs (currently only run-linters) and clearly documents that the token is limited. The block should specify contents: read, which is enough for actions/checkout to fetch the repository. No steps need to be changed, and no additional scopes (like pull-requests or issues) are required because the lint job does not interact with GitHub APIs in that way.

Concretely, in .github/workflows/linting.yml, insert:

permissions:
  contents: read

after line 1 (name: Lint). No imports or other definitions are needed.

Suggested changeset 1
.github/workflows/linting.yml

Autofix patch

Autofix patch
Run the following command in your local git repository to apply this patch
cat << 'EOF' | git apply
diff --git a/.github/workflows/linting.yml b/.github/workflows/linting.yml
--- a/.github/workflows/linting.yml
+++ b/.github/workflows/linting.yml
@@ -1,4 +1,6 @@
 name: Lint
+permissions:
+  contents: read
 
 on:
   # Trigger the workflow on push or pull request,
EOF
@@ -1,4 +1,6 @@
name: Lint
permissions:
contents: read

on:
# Trigger the workflow on push or pull request,
Copilot is powered by AI and may make mistakes. Always verify output.
Comment on lines +14 to +33
name: Create Sentry Release
runs-on: ubuntu-latest

steps:
- name: Check out Git repository
uses: actions/checkout@v2
- name: Get Branch
id: var
run: echo ::set-output name=branch::${GITHUB_REF#refs/*/}
- name: Output Branch
run: echo ${{ steps.var.outputs.branch }}
- name: Notify Sentry
# https://github.com/getsentry/action-release
uses: getsentry/[email protected]
env:
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
SENTRY_ORG: university-of-auckland-7o
SENTRY_PROJECT: research-hub
with:
environment: ${{ steps.var.outputs.branch }} No newline at end of file

Check warning

Code scanning / CodeQL

Workflow does not contain permissions Medium

Actions job or workflow does not limit the permissions of the GITHUB_TOKEN. Consider setting an explicit permissions block, using the following as a minimal starting point: {contents: read}

Copilot Autofix

AI 3 days ago

In general, the fix is to add an explicit permissions: block that restricts the GITHUB_TOKEN to the minimal access needed. For this workflow, the steps only need to read the repository content (for actions/checkout) and do not show any GitHub write operations, so contents: read at the job (or workflow) level is sufficient and preserves existing behavior while tightening security.

The best fix here is to add a permissions: section under the sentry-release job (indented to the same level as runs-on:) specifying contents: read. No additional imports or dependencies are required, and existing logic remains unchanged. Concretely, in .github/workflows/sentry.yml, modify the sentry-release job definition around line 15–16 to insert:

    permissions:
      contents: read

between runs-on: ubuntu-latest and steps:.

Suggested changeset 1
.github/workflows/sentry.yml

Autofix patch

Autofix patch
Run the following command in your local git repository to apply this patch
cat << 'EOF' | git apply
diff --git a/.github/workflows/sentry.yml b/.github/workflows/sentry.yml
--- a/.github/workflows/sentry.yml
+++ b/.github/workflows/sentry.yml
@@ -13,6 +13,8 @@
   sentry-release:
     name: Create Sentry Release
     runs-on: ubuntu-latest
+    permissions:
+      contents: read
 
     steps:
       - name: Check out Git repository
EOF
@@ -13,6 +13,8 @@
sentry-release:
name: Create Sentry Release
runs-on: ubuntu-latest
permissions:
contents: read

steps:
- name: Check out Git repository
Copilot is powered by AI and may make mistakes. Always verify output.
run: echo ${{ steps.var.outputs.branch }}
- name: Notify Sentry
# https://github.com/getsentry/action-release
uses: getsentry/[email protected]

Check warning

Code scanning / CodeQL

Unpinned tag for a non-immutable Action in workflow Medium

Unpinned 3rd party Action 'Sentry Release' step
Uses Step
uses 'getsentry/action-release' with ref 'v1.1.6', not a pinned commit hash

module.exports.search = async (event, context) => {
try {
console.log(`Received query: ${event.body}`);

Check warning

Code scanning / CodeQL

Log injection Medium

Log entry depends on a
user-provided value
.

Copilot Autofix

AI 3 days ago

In general, to fix log injection when logging user input, normalize or sanitize the user-controlled string before logging. For plain-text logs, this typically means removing or replacing newline (\n) and carriage return (\r) characters, and optionally other control characters, and clearly labeling user-provided content in logs.

For this specific case, the simplest fix that does not change existing functionality is to create a sanitized version of event.body specifically for logging, while still using the original event.body for parsing. Right before logging, convert event.body to a string (in case it is not already) and strip out \r and \n using String.prototype.replace. For example:

const safeBodyForLog = String(event.body).replace(/[\r\n]/g, '');
console.log(`Received query: ${safeBodyForLog}`);

All subsequent logic (parsing with JSON.parse(event.body) etc.) remains unchanged. No new imports or dependencies are needed; we use standard JavaScript string methods. The change is confined to the logging statement around line 53 in hub-search-proxy/handler.js.

Suggested changeset 1
hub-search-proxy/handler.js

Autofix patch

Autofix patch
Run the following command in your local git repository to apply this patch
cat << 'EOF' | git apply
diff --git a/hub-search-proxy/handler.js b/hub-search-proxy/handler.js
--- a/hub-search-proxy/handler.js
+++ b/hub-search-proxy/handler.js
@@ -50,7 +50,8 @@
 
 module.exports.search = async (event, context) => {
     try {
-        console.log(`Received query: ${event.body}`);
+        const safeBodyForLog = String(event.body).replace(/[\r\n]/g, '');
+        console.log(`Received query: ${safeBodyForLog}`);
         const requestBody = JSON.parse(event.body);
         let queryString = '';
         let size = 10;
EOF
@@ -50,7 +50,8 @@

module.exports.search = async (event, context) => {
try {
console.log(`Received query: ${event.body}`);
const safeBodyForLog = String(event.body).replace(/[\r\n]/g, '');
console.log(`Received query: ${safeBodyForLog}`);
const requestBody = JSON.parse(event.body);
let queryString = '';
let size = 10;
Copilot is powered by AI and may make mistakes. Always verify output.
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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants