Skip to content

Commit ed2037e

Browse files
authored
Merge branch 'main' into 971-parsing-bug-fix
2 parents 0b7aebc + 1c4db5a commit ed2037e

File tree

20 files changed

+425
-194
lines changed

20 files changed

+425
-194
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ jobs:
7777
path: build
7878

7979
- name: Run cypress test
80-
uses: cypress-io/github-action@108b8684ae52e735ff7891524cbffbcd4be5b19f # v6.7.16
80+
uses: cypress-io/github-action@0ee1130f05f69098ab5c560bd198fecf5a14d75b # v6.9.0
8181
with:
8282
start: npm start &
8383
wait-on: "http://localhost:3000"

.github/workflows/codeql.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ jobs:
6060

6161
# Initializes the CodeQL tools for scanning.
6262
- name: Initialize CodeQL
63-
uses: github/codeql-action/init@28deaeda66b76a05916b6923827895f2b14ab387 # v3
63+
uses: github/codeql-action/init@60168efe1c415ce0f5521ea06d5c2062adbeed1b # v3
6464
with:
6565
languages: ${{ matrix.language }}
6666
# If you wish to specify custom queries, you can do so here or in a config file.
@@ -74,7 +74,7 @@ jobs:
7474
# Autobuild attempts to build any compiled languages (C/C++, C#, Go, Java, or Swift).
7575
# If this step fails, then you should remove it and run the build manually (see below)
7676
- name: Autobuild
77-
uses: github/codeql-action/autobuild@28deaeda66b76a05916b6923827895f2b14ab387 # v3
77+
uses: github/codeql-action/autobuild@60168efe1c415ce0f5521ea06d5c2062adbeed1b # v3
7878

7979
# ℹ️ Command-line programs to run using the OS shell.
8080
# 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun
@@ -87,6 +87,6 @@ jobs:
8787
# ./location_of_script_within_repo/buildscript.sh
8888

8989
- name: Perform CodeQL Analysis
90-
uses: github/codeql-action/analyze@28deaeda66b76a05916b6923827895f2b14ab387 # v3
90+
uses: github/codeql-action/analyze@60168efe1c415ce0f5521ea06d5c2062adbeed1b # v3
9191
with:
9292
category: "/language:${{matrix.language}}"

.github/workflows/npm.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
# Setup .npmrc file to publish to npm
1919
- uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4
2020
with:
21-
node-version: '18.x'
21+
node-version: '20.x'
2222
registry-url: 'https://registry.npmjs.org'
2323
- run: npm ci
2424
- run: npm run build

.github/workflows/sample-publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
# Setup .npmrc file to publish to npm
2222
- uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4
2323
with:
24-
node-version: '18.x'
24+
node-version: '20.x'
2525
registry-url: 'https://registry.npmjs.org'
2626
- name: publish sample package
2727
run: npm install --include peer && npm publish --access=public

.github/workflows/scorecard.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,6 @@ jobs:
7272

7373
# Upload the results to GitHub's code scanning dashboard.
7474
- name: "Upload to code-scanning"
75-
uses: github/codeql-action/upload-sarif@28deaeda66b76a05916b6923827895f2b14ab387 # v3.28.16
75+
uses: github/codeql-action/upload-sarif@60168efe1c415ce0f5521ea06d5c2062adbeed1b # v3.28.17
7676
with:
7777
sarif_file: results.sarif

.github/workflows/unused-dependencies.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
- name: 'Setup Node.js'
1919
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4
2020
with:
21-
node-version: '18.x'
21+
node-version: '20.x'
2222
- name: 'Run depcheck'
2323
run: |
2424
npx depcheck --skip-missing --ignores="tsx,@babel/*,@commitlint/*,eslint,eslint-*,husky,mocha,ts-mocha,ts-node,concurrently,nyc,prettier,typescript,tsconfig-paths,vite-tsconfig-paths"

README.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,14 +27,13 @@
2727
[![NPM](https://img.shields.io/npm/v/@finos/git-proxy?colorA=00C586&colorB=000000)](https://www.npmjs.com/package/@finos/git-proxy)
2828
[![Build](https://img.shields.io/github/actions/workflow/status/finos/git-proxy/ci.yml?branch=main&label=CI&logo=github&colorA=00C586&colorB=000000)](https://github.com/finos/git-proxy/actions/workflows/ci.yml)
2929
[![codecov](https://codecov.io/gh/finos/git-proxy/branch/main/graph/badge.svg)](https://codecov.io/gh/finos/git-proxy)
30-
[![git-proxy](https://api.securityscorecards.dev/projects/github.com/finos/git-proxy/badge)](https://api.securityscorecards.dev/projects/github.com/finos/git-proxy)
3130
[![Documentation](https://img.shields.io/badge/_-documentation-000000?colorA=00C586&logo=docusaurus&logoColor=FFFFFF&)](https://git-proxy.finos.org)
3231
<br />
3332
[![License](https://img.shields.io/github/license/finos/git-proxy?colorA=00C586&colorB=000000)](https://github.com/finos/git-proxy/blob/main/LICENSE)
3433
[![Contributors](https://img.shields.io/github/contributors/finos/git-proxy?colorA=00C586&colorB=000000)](https://github.com/finos/git-proxy/graphs/contributors)
3534
[![Slack](https://img.shields.io/badge/_-Chat_on_Slack-000000.svg?logo=slack&colorA=00C586)](https://app.slack.com/client/T01E7QRQH97/C06LXNW0W76)
36-
[![Stars](https://img.shields.io/github/stars/finos/git-proxy?colorA=00C586&colorB=000000)](https://github.com/finos/git-proxy/stargazers)
37-
[![Forks](https://img.shields.io/github/forks/finos/git-proxy?colorA=00C586&colorB=000000)](https://github.com/finos/git-proxy/forks)
35+
[![git-proxy](https://api.securityscorecards.dev/projects/github.com/finos/git-proxy/badge)](https://api.securityscorecards.dev/projects/github.com/finos/git-proxy)
36+
[![OpenSSF Best Practices](https://www.bestpractices.dev/projects/10520/badge)](https://www.bestpractices.dev/projects/10520)
3837

3938
</div>
4039
<br />

config.schema.json

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,30 @@
2424
"description": "Provide domains to use alternative to the defaults",
2525
"type": "object"
2626
},
27+
"rateLimit": {
28+
"description": "API Rate limiting configuration.",
29+
"type": "object",
30+
"properties": {
31+
"windowMs": {
32+
"type": "number",
33+
"description": "How long to remember requests for, in milliseconds (default 10 mins)."
34+
},
35+
"limit": {
36+
"type": "number",
37+
"description": "How many requests to allow (default 150)."
38+
},
39+
"statusCode": {
40+
"type": "number",
41+
"description": "HTTP status code after limit is reached (default is 429)."
42+
},
43+
"message": {
44+
"type": "string",
45+
"description": "Response to return after limit is reached."
46+
}
47+
},
48+
"required": ["windowMs", "limit"],
49+
"additionalProperties": false
50+
},
2751
"privateOrganizations": {
2852
"description": "Pattern searches for listed private organizations are disabled",
2953
"type": "array"

experimental/li-cli/package-lock.json

Lines changed: 12 additions & 12 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

experimental/li-cli/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,17 +16,17 @@
1616
"@inquirer/prompts": "^7.5.0",
1717
"yaml": "^2.7.1",
1818
"yargs": "^17.7.2",
19-
"zod": "^3.24.3"
19+
"zod": "^3.24.4"
2020
},
2121
"devDependencies": {
2222
"@jest/globals": "^29.7.0",
23-
"@types/node": "^22.15.3",
23+
"@types/node": "^22.15.12",
2424
"@types/yargs": "^17.0.33",
2525
"jest": "^29.7.0",
2626
"rimraf": "^6.0.1",
2727
"ts-jest": "^29.3.2",
2828
"ts-node": "^10.9.2",
29-
"tsc-alias": "^1.8.15",
29+
"tsc-alias": "^1.8.16",
3030
"tslib": "^2.8.1",
3131
"typescript": "^5.8.3"
3232
}

0 commit comments

Comments
 (0)