Skip to content

Commit 81d011e

Browse files
committed
Merge branch 'main' of https://github.com/mongodb-js/compass into diagramming
2 parents 0bfc7fc + 24fc95b commit 81d011e

File tree

110 files changed

+2266
-5314
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

110 files changed

+2266
-5314
lines changed
Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
name: Update ESLint
2+
3+
# Runs nightly and manually
4+
on:
5+
workflow_dispatch:
6+
schedule:
7+
- cron: '0 0 * * *'
8+
9+
permissions:
10+
contents: none # We use the github app token to push the changes
11+
12+
jobs:
13+
update_eslint:
14+
name: Update ESLint
15+
runs-on: ubuntu-latest
16+
steps:
17+
- name: Create Github App Token
18+
uses: mongodb-js/devtools-shared/actions/setup-bot-token@main
19+
id: app-token
20+
with:
21+
app-id: ${{ vars.DEVTOOLS_BOT_APP_ID }}
22+
private-key: ${{ secrets.DEVTOOLS_BOT_PRIVATE_KEY }}
23+
24+
- uses: actions/checkout@v4
25+
with:
26+
# don't checkout a detatched HEAD
27+
ref: ${{ github.head_ref || github.ref_name }}
28+
token: ${{ steps.app-token.outputs.token }}
29+
30+
- uses: actions/setup-node@v4
31+
with:
32+
node-version: 22.15.1
33+
cache: 'npm'
34+
35+
- name: Install [email protected]
36+
run: |
37+
npm install -g [email protected]
38+
39+
- name: Bump eslint
40+
run: |
41+
npm i --save eslint@8 -w @mongodb-js/eslint-config-compass
42+
43+
- name: Create Pull Request
44+
uses: peter-evans/create-pull-request@5e914681df9dc83aa4e4905692ca88beb2f9e91f # 7.0.5
45+
with:
46+
token: ${{ steps.app-token.outputs.token }}
47+
commit-message: 'chore(deps): update eslint'
48+
branch: ci/update-eslint
49+
title: 'chore(deps): update eslint'
50+
labels: no-title-validation
51+
author: '${{ steps.app-token.outputs.app-slug}}[bot] <${{ steps.app-token.outputs.app-email }}>'
52+
body: |
53+
- Update ESLint to latest 8

.snyk

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,15 +65,15 @@ ignore:
6565
Not applicable: requires attacker to render hand crafted HTML snippet
6666
inside the application. Putting on a short expiration time as we're
6767
expecting to be able to update to electron v33 (or later) soon
68-
expires: 2025-05-16T15:23:35.601Z
68+
expires: 2025-06-16T15:23:35.601Z
6969
created: 2025-03-17T15:23:35.608Z
7070
SNYK-JS-ELECTRON-9486047:
7171
- '*':
7272
reason: >-
7373
Not applicable: requires attacker to render hand crafted HTML snippet
7474
inside the application. Putting on a short expiration time as we're
7575
expecting to be able to update to electron v33 (or later) soon
76-
expires: 2025-05-20T04:40:36.098Z
76+
expires: 2025-06-20T04:40:36.098Z
7777
created: 2025-03-21T04:40:36.107Z
7878
# patches apply the minimum changes required to fix a vulnerability
7979
patch:

THIRD-PARTY-NOTICES.md

Lines changed: 292 additions & 2928 deletions
Large diffs are not rendered by default.
Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
11
#!/usr/bin/env node
22
'use strict';
3-
require('eslint/bin/eslint.js');
3+
const path = require('path');
4+
const eslintPkgJson = require('eslint/package.json');
5+
const eslintBinPath = path.resolve(
6+
path.dirname(require.resolve('eslint/package.json')),
7+
eslintPkgJson.bin.eslint
8+
);
9+
require(eslintBinPath);

configs/eslint-config-compass/package.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@mongodb-js/eslint-config-compass",
3-
"version": "1.3.8",
3+
"version": "1.3.9",
44
"description": "Shared Compass eslint configuration",
55
"license": "SSPL",
66
"main": "index.js",
@@ -17,16 +17,16 @@
1717
"@babel/core": "^7.21.4",
1818
"@babel/eslint-parser": "^7.14.3",
1919
"@mongodb-js/eslint-config-devtools": "^0.9.9",
20-
"@mongodb-js/eslint-plugin-compass": "^1.2.8",
20+
"@mongodb-js/eslint-plugin-compass": "^1.2.9",
2121
"@typescript-eslint/eslint-plugin": "^5.59.0",
2222
"@typescript-eslint/parser": "^5.59.0",
23-
"eslint": "^7.25.0",
23+
"eslint": "^8.57.1",
2424
"eslint-config-prettier": "^8.3.0",
2525
"eslint-plugin-filename-rules": "^1.2.0",
26-
"eslint-plugin-jsx-a11y": "^6.4.1",
26+
"eslint-plugin-jsx-a11y": "^6.10.2",
2727
"eslint-plugin-mocha": "^8.0.0",
28-
"eslint-plugin-react": "^7.24.0",
29-
"eslint-plugin-react-hooks": "^4.2.0"
28+
"eslint-plugin-react": "^7.37.5",
29+
"eslint-plugin-react-hooks": "^4.6.2"
3030
},
3131
"scripts": {
3232
"prettier": "prettier-compass",

configs/eslint-plugin-compass/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"email": "[email protected]"
1414
},
1515
"homepage": "https://github.com/mongodb-js/compass",
16-
"version": "1.2.8",
16+
"version": "1.2.9",
1717
"repository": {
1818
"type": "git",
1919
"url": "https://github.com/mongodb-js/compass.git"
@@ -40,7 +40,7 @@
4040
"@mongodb-js/mocha-config-compass": "^1.6.8",
4141
"@mongodb-js/prettier-config-compass": "^1.2.8",
4242
"depcheck": "^1.4.1",
43-
"eslint": "^7.25.0",
43+
"eslint": "^8.57.1",
4444
"mocha": "^10.2.0",
4545
"nyc": "^15.1.0"
4646
}

configs/testing-library-compass/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"email": "[email protected]"
1212
},
1313
"homepage": "https://github.com/mongodb-js/compass",
14-
"version": "1.3.0",
14+
"version": "1.3.1",
1515
"repository": {
1616
"type": "git",
1717
"url": "https://github.com/mongodb-js/compass.git"
@@ -45,7 +45,7 @@
4545
"reformat": "npm run eslint . -- --fix && npm run prettier -- --write ."
4646
},
4747
"devDependencies": {
48-
"@mongodb-js/eslint-config-compass": "^1.3.8",
48+
"@mongodb-js/eslint-config-compass": "^1.3.9",
4949
"@mongodb-js/mocha-config-compass": "^1.6.8",
5050
"@mongodb-js/prettier-config-compass": "^1.2.8",
5151
"@mongodb-js/tsconfig-compass": "^1.2.8",

configs/webpack-config-compass/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"email": "[email protected]"
1414
},
1515
"homepage": "https://github.com/mongodb-js/compass",
16-
"version": "1.6.9",
16+
"version": "1.6.10",
1717
"repository": {
1818
"type": "git",
1919
"url": "https://github.com/mongodb-js/compass.git"
@@ -45,7 +45,7 @@
4545
"reformat": "npm run eslint . -- --fix && npm run prettier -- --write ."
4646
},
4747
"devDependencies": {
48-
"@mongodb-js/eslint-config-compass": "^1.3.8",
48+
"@mongodb-js/eslint-config-compass": "^1.3.9",
4949
"@mongodb-js/prettier-config-compass": "^1.2.8",
5050
"@mongodb-js/tsconfig-compass": "^1.2.8",
5151
"@types/cli-progress": "^3.9.2",

docs/tracking-plan.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
> the tracking plan for the specific Compass version you can use the following
77
> URL: `https://github.com/mongodb-js/compass/blob/<compass version>/docs/tracking-plan.md`
88
9-
Generated on Thu, May 22, 2025
9+
Generated on Tue, May 27, 2025
1010

1111
## Table of Contents
1212

0 commit comments

Comments
 (0)