Skip to content

Commit 6b7e85e

Browse files
authored
Update dependencies to address security alerts (#3799)
1 parent 8e9bcd9 commit 6b7e85e

File tree

22 files changed

+2306
-1836
lines changed

22 files changed

+2306
-1836
lines changed

.autorc.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ plugins:
55
- released
66
- first-time-contributor
77
- all-contributors
8-
- ./scripts/auto-before-commit-changelog-plugin.js
8+
- ./scripts/auto-before-commit-changelog-plugin.cjs
99
- - omit-release-notes
1010
- username:
1111
- coqbot

.circleci/config.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ executors:
2929

3030
playwright-executor:
3131
docker:
32-
- image: mcr.microsoft.com/playwright:v1.55.1-noble
32+
- image: mcr.microsoft.com/playwright:v1.56.1-noble
3333
resource_class: medium
3434
working_directory: ~/project
3535

@@ -467,7 +467,10 @@ jobs:
467467
468468
labels=$(yarn auto label --pr $PR_NUMBER)
469469
if [[ "$labels" =~ "release:canary" ]]; then
470+
echo "Found release:canary label - proceeding with canary release"
470471
yarn release:canary
472+
else
473+
echo "No release:canary label found - skipping canary release"
471474
fi
472475
fi
473476

.eslintignore

Lines changed: 0 additions & 15 deletions
This file was deleted.

.eslintrc.yml

Lines changed: 0 additions & 102 deletions
This file was deleted.
Lines changed: 300 additions & 300 deletions
Large diffs are not rendered by default.

.yarnrc.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
nodeLinker: node-modules
22

3-
yarnPath: .yarn/releases/yarn-4.10.3.cjs
3+
yarnPath: .yarn/releases/yarn-4.11.0.cjs

eslint.config.mjs

Lines changed: 142 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,142 @@
1+
import js from '@eslint/js';
2+
import typescript from '@typescript-eslint/eslint-plugin';
3+
import tsParser from '@typescript-eslint/parser';
4+
import importPlugin from 'eslint-plugin-import';
5+
import jest from 'eslint-plugin-jest';
6+
import jestExtended from 'eslint-plugin-jest-extended';
7+
import prettierConfig from 'eslint-config-prettier';
8+
import globals from 'globals';
9+
10+
export default [
11+
{
12+
ignores: [
13+
'node_modules/**',
14+
'dist/**',
15+
'coverage/**',
16+
'reports/**',
17+
'.rpt2_cache/**',
18+
'.idea/**',
19+
'.DS_Store',
20+
'yarn-error.log',
21+
'.env',
22+
'.npmrc',
23+
'scripts/**',
24+
'.yarn/**',
25+
'.nx/**',
26+
'.husky/**',
27+
],
28+
},
29+
js.configs.recommended,
30+
{
31+
files: ['**/*.{js,mjs,cjs,ts}'],
32+
languageOptions: {
33+
parser: tsParser,
34+
parserOptions: {
35+
project: ['./packages/*/tsconfig.json'],
36+
tsconfigRootDir: import.meta.dirname,
37+
ecmaVersion: 'latest',
38+
sourceType: 'module',
39+
},
40+
globals: {
41+
...globals.browser,
42+
...globals.node,
43+
NodeJS: 'readonly',
44+
page: true,
45+
context: true,
46+
},
47+
},
48+
plugins: {
49+
'@typescript-eslint': typescript,
50+
import: importPlugin,
51+
'jest-extended': jestExtended,
52+
},
53+
rules: {
54+
...typescript.configs.recommended.rules,
55+
...typescript.configs['recommended-requiring-type-checking'].rules,
56+
...prettierConfig.rules,
57+
58+
// Import rules
59+
'import/no-default-export': 'off',
60+
'import/prefer-default-export': 'off',
61+
'import/no-extraneous-dependencies': [
62+
'error',
63+
{
64+
devDependencies: ['**/*.config.ts', '**/scripts/*.[tj]s', '**/test/**/*.ts'],
65+
},
66+
],
67+
'import/extensions': [
68+
'error',
69+
'ignorePackages',
70+
{
71+
js: 'never',
72+
ts: 'never',
73+
json: 'always',
74+
},
75+
],
76+
77+
// TypeScript rules
78+
'no-shadow': 'off',
79+
'@typescript-eslint/no-shadow': 'error',
80+
'@typescript-eslint/dot-notation': 'error',
81+
'@typescript-eslint/no-unsafe-member-access': 'off',
82+
'@typescript-eslint/no-unsafe-return': 'off',
83+
'@typescript-eslint/no-unsafe-assignment': 'off',
84+
'@typescript-eslint/no-unsafe-call': 'off',
85+
'@typescript-eslint/no-explicit-any': 'off',
86+
'@typescript-eslint/no-unsafe-declaration-merging': 'off',
87+
'@typescript-eslint/no-unused-vars': ['error', { ignoreRestSiblings: true }],
88+
89+
// General rules
90+
camelcase: 'error',
91+
'no-redeclare': 'off',
92+
'@typescript-eslint/no-redeclare': 'off',
93+
'sort-imports': [
94+
'error',
95+
{
96+
ignoreCase: false,
97+
ignoreDeclarationSort: true,
98+
ignoreMemberSort: false,
99+
memberSyntaxSortOrder: ['none', 'all', 'multiple', 'single'],
100+
allowSeparatedGroups: true,
101+
},
102+
],
103+
},
104+
settings: {
105+
'import/resolver': {
106+
typescript: {},
107+
},
108+
},
109+
},
110+
{
111+
files: ['**/*.ts'],
112+
rules: {
113+
camelcase: 'off',
114+
},
115+
},
116+
{
117+
files: ['**/test/**/*.ts'],
118+
languageOptions: {
119+
globals: {
120+
...globals.jest,
121+
},
122+
},
123+
plugins: {
124+
jest,
125+
},
126+
rules: {
127+
...jest.configs.recommended.rules,
128+
'@typescript-eslint/unbound-method': 'off',
129+
'@typescript-eslint/no-var-requires': 'off',
130+
'global-require': 'off',
131+
'jest/no-mocks-import': 'off',
132+
'jest/unbound-method': 'error',
133+
'max-classes-per-file': 'off',
134+
},
135+
},
136+
{
137+
files: ['**/__mocks__/**/*.ts'],
138+
rules: {
139+
'import/no-default-export': 'off',
140+
},
141+
},
142+
];

package.json

Lines changed: 26 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
{
22
"name": "gitbeaker",
3+
"type": "module",
34
"private": true,
45
"repository": "github:jdalrymple/gitbeaker",
56
"bugs": {
@@ -11,7 +12,8 @@
1112
],
1213
"resolutions": {
1314
"all-contributors-cli": "6.26.1",
14-
"socks-proxy-agent": "8.0.5"
15+
"socks-proxy-agent": "8.0.5",
16+
"tar": "^7.5.2"
1517
},
1618
"scripts": {
1719
"build": "nx run-many --target=build",
@@ -38,37 +40,38 @@
3840
"types": "^0.1.1"
3941
},
4042
"devDependencies": {
41-
"@auto-it/all-contributors": "^11.3.0",
42-
"@auto-it/core": "^11.3.0",
43-
"@auto-it/first-time-contributor": "^11.3.0",
44-
"@auto-it/omit-commits": "^11.3.0",
45-
"@auto-it/omit-release-notes": "^11.3.0",
46-
"@auto-it/released": "^11.3.0",
47-
"@codecov/bundle-analyzer": "^1.0.0",
48-
"@swc/core": "^1.13.5",
43+
"@auto-it/all-contributors": "^11.3.6",
44+
"@auto-it/core": "^11.3.6",
45+
"@auto-it/first-time-contributor": "^11.3.6",
46+
"@auto-it/omit-commits": "^11.3.6",
47+
"@auto-it/omit-release-notes": "^11.3.6",
48+
"@auto-it/released": "^11.3.6",
49+
"@codecov/bundle-analyzer": "^1.9.1",
50+
"@swc/core": "^1.15.2",
4951
"@swc/jest": "^0.2.39",
5052
"@types/jest": "^30.0.0",
51-
"@typescript-eslint/eslint-plugin": "^8.41.0",
52-
"@typescript-eslint/parser": "^8.41.0",
53-
"auto": "^11.3.0",
54-
"eslint": "^8.57.1",
53+
"@typescript-eslint/eslint-plugin": "^8.46.4",
54+
"@typescript-eslint/parser": "^8.46.4",
55+
"auto": "^11.3.6",
56+
"eslint": "^9.39.1",
5557
"eslint-config-airbnb-base": "^15.0.0",
5658
"eslint-config-prettier": "^9.1.2",
5759
"eslint-import-resolver-typescript": "^4.4.4",
5860
"eslint-plugin-import": "^2.32.0",
59-
"eslint-plugin-jest": "^29.0.1",
60-
"eslint-plugin-jest-extended": "^3.0.0",
61+
"eslint-plugin-jest": "^29.1.0",
62+
"eslint-plugin-jest-extended": "^3.0.1",
6163
"eslint-plugin-prettier": "^5.5.4",
64+
"globals": "^16.5.0",
6265
"husky": "^9.1.7",
63-
"jest": "^30.1.2",
64-
"jest-extended": "^6.0.0",
66+
"jest": "^30.2.0",
67+
"jest-extended": "^7.0.0",
6568
"jest-junit": "^16.0.0",
66-
"lerna": "^8.2.3",
67-
"lint-staged": "^16.1.6",
68-
"nx": "^21.4.1",
69+
"lerna": "^9.0.1",
70+
"lint-staged": "^16.2.6",
71+
"nx": "^22.0.3",
6972
"prettier": "^3.6.2",
70-
"tsup": "^8.5.0",
71-
"typescript": "^5.9.2"
73+
"tsup": "^8.5.1",
74+
"typescript": "^5.9.3"
7275
},
73-
"packageManager": "yarn@4.10.3"
76+
"packageManager": "yarn@4.11.0"
7477
}

packages/cli/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,12 +41,12 @@
4141
"dependencies": {
4242
"@gitbeaker/core": "^43.8.0",
4343
"@gitbeaker/rest": "^43.8.0",
44-
"chalk": "^5.6.0",
44+
"chalk": "^5.6.2",
4545
"sywac": "^1.3.0",
4646
"xcase": "^2.0.1"
4747
},
4848
"devDependencies": {
49-
"tsup": "^8.5.0",
50-
"typescript": "^5.9.2"
49+
"tsup": "^8.5.1",
50+
"typescript": "^5.9.3"
5151
}
5252
}

packages/cli/src/cli.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import Chalk from 'chalk';
22
import Sywac from 'sywac';
33
import * as Gitbeaker from '@gitbeaker/rest';
4-
import API_MAP from '@gitbeaker/core/map.json' with { type: 'json' }; // eslint-disable-line import/no-unresolved
4+
import API_MAP from '@gitbeaker/core/map.json' with { type: 'json' };
55
import {
66
buildArgumentObjects,
77
getCLISafeNormalizedTerm,

0 commit comments

Comments
 (0)