Skip to content

Commit bda09d8

Browse files
Chore(deps): security updates for February 2025 (#3597)
* Chore(deps-dev): Bump start-server-and-test from 2.0.9 to 2.0.10 (#3562) Bumps [start-server-and-test](https://github.com/bahmutov/start-server-and-test) from 2.0.9 to 2.0.10. - [Release notes](https://github.com/bahmutov/start-server-and-test/releases) - [Commits](bahmutov/start-server-and-test@v2.0.9...v2.0.10) --- updated-dependencies: - dependency-name: start-server-and-test dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Chore(deps-dev): Bump @typescript-eslint/parser from 8.16.0 to 8.22.0 (#3563) Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 8.16.0 to 8.22.0. - [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases) - [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md) - [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.22.0/packages/parser) --- updated-dependencies: - dependency-name: "@typescript-eslint/parser" dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Chore(deps): Bump @babel/runtime from 7.26.0 to 7.26.7 (#3564) Bumps [@babel/runtime](https://github.com/babel/babel/tree/HEAD/packages/babel-runtime) from 7.26.0 to 7.26.7. - [Release notes](https://github.com/babel/babel/releases) - [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md) - [Commits](https://github.com/babel/babel/commits/v7.26.7/packages/babel-runtime) --- updated-dependencies: - dependency-name: "@babel/runtime" dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Chore(deps): Bump eslint-plugin-react from 7.37.2 to 7.37.4 (#3565) Bumps [eslint-plugin-react](https://github.com/jsx-eslint/eslint-plugin-react) from 7.37.2 to 7.37.4. - [Release notes](https://github.com/jsx-eslint/eslint-plugin-react/releases) - [Changelog](https://github.com/jsx-eslint/eslint-plugin-react/blob/master/CHANGELOG.md) - [Commits](jsx-eslint/eslint-plugin-react@v7.37.2...v7.37.4) --- updated-dependencies: - dependency-name: eslint-plugin-react dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Chore(deps): Bump typescript from 5.7.2 to 5.7.3 (#3568) Bumps [typescript](https://github.com/microsoft/TypeScript) from 5.7.2 to 5.7.3. - [Release notes](https://github.com/microsoft/TypeScript/releases) - [Changelog](https://github.com/microsoft/TypeScript/blob/main/azure-pipelines.release.yml) - [Commits](microsoft/TypeScript@v5.7.2...v5.7.3) --- updated-dependencies: - dependency-name: typescript dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Chore(deps-dev): Bump selenium-webdriver and @types/selenium-webdriver (#3569) Bumps [selenium-webdriver](https://github.com/SeleniumHQ/selenium) and [@types/selenium-webdriver](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/selenium-webdriver). These dependencies needed to be updated together. Updates `selenium-webdriver` from 4.27.0 to 4.28.1 - [Release notes](https://github.com/SeleniumHQ/selenium/releases) - [Commits](https://github.com/SeleniumHQ/selenium/commits) Updates `@types/selenium-webdriver` from 4.1.27 to 4.1.28 - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/selenium-webdriver) --- updated-dependencies: - dependency-name: selenium-webdriver dependency-type: direct:development update-type: version-update:semver-minor - dependency-name: "@types/selenium-webdriver" dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Chore(deps): Bump @fluentui/react from 8.122.4 to 8.122.9 (#3570) Bumps [@fluentui/react](https://github.com/microsoft/fluentui) from 8.122.4 to 8.122.9. - [Release notes](https://github.com/microsoft/fluentui/releases) - [Changelog](https://github.com/microsoft/fluentui/blob/master/azure-pipelines.release.yml) - [Commits](https://github.com/microsoft/fluentui/compare/@fluentui/react_v8.122.4...@fluentui/react_v8.122.9) --- updated-dependencies: - dependency-name: "@fluentui/react" dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Chore(deps): Bump bfj from 8.0.0 to 9.1.2 (#3571) Bumps [bfj](https://gitlab.com/philbooth/bfj) from 8.0.0 to 9.1.2. - [Changelog](https://gitlab.com/philbooth/bfj/blob/master/HISTORY.md) - [Commits](https://gitlab.com/philbooth/bfj/compare/8.0.0...9.1.2) --- updated-dependencies: - dependency-name: bfj dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Chore(deps): Bump sass from 1.83.1 to 1.84.0 (#3604) Bumps [sass](https://github.com/sass/dart-sass) from 1.83.1 to 1.84.0. - [Release notes](https://github.com/sass/dart-sass/releases) - [Changelog](https://github.com/sass/dart-sass/blob/main/CHANGELOG.md) - [Commits](sass/dart-sass@1.83.1...1.84.0) --- updated-dependencies: - dependency-name: sass dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Chore(deps-dev): Bump @playwright/test from 1.49.1 to 1.50.1 (#3579) Bumps [@playwright/test](https://github.com/microsoft/playwright) from 1.49.1 to 1.50.1. - [Release notes](https://github.com/microsoft/playwright/releases) - [Commits](microsoft/playwright@v1.49.1...v1.50.1) --- updated-dependencies: - dependency-name: "@playwright/test" dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Chore(deps): Bump fs-extra from 11.2.0 to 11.3.0 (#3580) Bumps [fs-extra](https://github.com/jprichardson/node-fs-extra) from 11.2.0 to 11.3.0. - [Changelog](https://github.com/jprichardson/node-fs-extra/blob/master/CHANGELOG.md) - [Commits](jprichardson/node-fs-extra@11.2.0...11.3.0) --- updated-dependencies: - dependency-name: fs-extra dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Chore(deps): Bump @fluentui/react-icons from 2.0.270 to 2.0.274 (#3581) Bumps [@fluentui/react-icons](https://github.com/microsoft/fluentui-system-icons) from 2.0.270 to 2.0.274. - [Changelog](https://github.com/microsoft/fluentui-system-icons/blob/main/fluentui-android-system-icons-release.yml) - [Commits](https://github.com/microsoft/fluentui-system-icons/commits) --- updated-dependencies: - dependency-name: "@fluentui/react-icons" dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Chore(deps): Bump @fluentui/react-components from 9.56.8 to 9.58.3 (#3603) Bumps [@fluentui/react-components](https://github.com/microsoft/fluentui) from 9.56.8 to 9.58.3. - [Release notes](https://github.com/microsoft/fluentui/releases) - [Changelog](https://github.com/microsoft/fluentui/blob/master/azure-pipelines.release.yml) - [Commits](https://github.com/microsoft/fluentui/compare/@fluentui/react-components_v9.56.8...@fluentui/react-components_v9.58.3) --- updated-dependencies: - dependency-name: "@fluentui/react-components" dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Chore(deps-dev): Bump @typescript-eslint/eslint-plugin (#3600) Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 8.16.0 to 8.24.0. - [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases) - [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md) - [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.24.0/packages/eslint-plugin) --- updated-dependencies: - dependency-name: "@typescript-eslint/eslint-plugin" dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Chore(deps-dev): Bump chromedriver from 131.0.1 to 133.0.0 (#3599) Bumps [chromedriver](https://github.com/giggio/node-chromedriver) from 131.0.1 to 133.0.0. - [Commits](giggio/node-chromedriver@131.0.1...133.0.0) --- updated-dependencies: - dependency-name: chromedriver dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Chore(deps): Bump @babel/core from 7.26.0 to 7.26.8 (#3601) Bumps [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core) from 7.26.0 to 7.26.8. - [Release notes](https://github.com/babel/babel/releases) - [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md) - [Commits](https://github.com/babel/babel/commits/v7.26.8/packages/babel-core) --- updated-dependencies: - dependency-name: "@babel/core" dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Chore(deps): Bump monaco-editor-webpack-plugin from 6.0.0 to 7.1.0 (#3576) Bumps [monaco-editor-webpack-plugin](https://github.com/microsoft/monaco-editor) from 6.0.0 to 7.1.0. - [Release notes](https://github.com/microsoft/monaco-editor/releases) - [Changelog](https://github.com/microsoft/monaco-editor/blob/main/CHANGELOG.md) - [Commits](https://github.com/microsoft/monaco-editor/commits) --- updated-dependencies: - dependency-name: monaco-editor-webpack-plugin dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Chore(deps-dev): Bump eslint from 8.57.1 to 9.20.1 (#3610) * Chore(deps): Bump react and @types/react (#3574) Bumps [react](https://github.com/facebook/react/tree/HEAD/packages/react) and [@types/react](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react). These dependencies needed to be updated together. Updates `react` from 18.2.0 to 19.0.0 - [Release notes](https://github.com/facebook/react/releases) - [Changelog](https://github.com/facebook/react/blob/main/CHANGELOG.md) - [Commits](https://github.com/facebook/react/commits/v19.0.0/packages/react) Updates `@types/react` from 18.2.55 to 19.0.8 - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react) --- updated-dependencies: - dependency-name: react dependency-type: direct:production update-type: version-update:semver-major - dependency-name: "@types/react" dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Chore(deps-dev): Bump eslint from 8.57.1 to 9.20.1 Bumps [eslint](https://github.com/eslint/eslint) from 8.57.1 to 9.20.1. - [Release notes](https://github.com/eslint/eslint/releases) - [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md) - [Commits](eslint/eslint@v8.57.1...v9.20.1) --- updated-dependencies: - dependency-name: eslint dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]> --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * fix eslint and monaco upgrade errors * fix configuration * Chore(deps): Bump @azure/msal-browser from 3.26.1 to 4.4.0 (#3645) Bumps [@azure/msal-browser](https://github.com/AzureAD/microsoft-authentication-library-for-js) from 3.26.1 to 4.4.0. - [Release notes](https://github.com/AzureAD/microsoft-authentication-library-for-js/releases) - [Commits](AzureAD/microsoft-authentication-library-for-js@msal-browser-v3.26.1...msal-common-v4.4.0) --- updated-dependencies: - dependency-name: "@azure/msal-browser" dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * fix browser issues --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
1 parent bff988b commit bda09d8

File tree

7 files changed

+7293
-6752
lines changed

7 files changed

+7293
-6752
lines changed

__mocks__/@azure/msal-browser

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
export class PublicClientApplication {
2+
constructor(configuration: any) {
3+
// Mock constructor
4+
}
5+
6+
initialize() {
7+
// Mock initialize method
8+
}
9+
10+
acquireTokenSilent() {
11+
// Mock acquireTokenSilent method
12+
return Promise.resolve({ accessToken: 'mock-access-token' });
13+
}
14+
15+
acquireTokenPopup() {
16+
// Mock acquireTokenPopup method
17+
return Promise.resolve({ accessToken: 'mock-access-token' });
18+
}
19+
20+
loginPopup() {
21+
// Mock loginPopup method
22+
return Promise.resolve({ account: { username: 'mock-user' } });
23+
}
24+
25+
logout() {
26+
// Mock logout method
27+
return Promise.resolve();
28+
}
29+
}
Lines changed: 89 additions & 74 deletions
Original file line numberDiff line numberDiff line change
@@ -1,53 +1,70 @@
1-
module.exports = {
2-
env: {
3-
browser: true,
4-
es6: true,
5-
node: true
1+
import globals from 'globals';
2+
import tsParser from '@typescript-eslint/parser';
3+
import pluginReact from 'eslint-plugin-react';
4+
import typescriptEslint from '@typescript-eslint/eslint-plugin';
5+
6+
export default [{
7+
ignores: ['**/build', '**/eslintrc.js', '**/public', '**/scripts']
8+
},
9+
{
10+
plugins: {
11+
pluginReact,
12+
'@typescript-eslint': typescriptEslint
613
},
7-
extends: [
8-
'eslint:recommended',
9-
'plugin:react/recommended',
10-
'plugin:@typescript-eslint/eslint-recommended'
11-
],
12-
globals: {
13-
Atomics: 'readonly',
14-
SharedArrayBuffer: 'readonly'
15-
},
16-
parser: '@typescript-eslint/parser',
17-
parserOptions: {
18-
project: 'tsconfig.json',
19-
createDefaultProgram: true,
14+
15+
files: ['**/*.{js,mjs,cjs,ts,jsx,tsx}'],
16+
17+
languageOptions: {
18+
globals: {
19+
...globals.browser,
20+
...globals.node,
21+
...globals.es2015,
22+
Atomics: 'readonly',
23+
SharedArrayBuffer: 'readonly'
24+
},
25+
26+
parser: tsParser,
2027
ecmaVersion: 6,
21-
sourceType: 'module'
28+
sourceType: 'module',
29+
30+
parserOptions: {
31+
project: 'tsconfig.json',
32+
createDefaultProgram: true
33+
}
2234
},
23-
plugins: ['react', '@typescript-eslint'],
35+
36+
settings: {
37+
react: {
38+
version: 'detect'
39+
}
40+
},
41+
2442
rules: {
2543
'@typescript-eslint/adjacent-overload-signatures': 'error',
2644
'@typescript-eslint/array-type': 'warn',
2745
'@typescript-eslint/ban-types': 'off',
2846
'@typescript-eslint/consistent-type-assertions': 'error',
2947
'@typescript-eslint/consistent-type-definitions': 'error',
30-
'@typescript-eslint/explicit-member-accessibility': [
31-
'off',
32-
{
33-
accessibility: 'explicit'
34-
}
35-
],
36-
'indent': ['error', 2],
48+
49+
'@typescript-eslint/explicit-member-accessibility': ['off', {
50+
accessibility: 'explicit'
51+
}],
52+
53+
indent: ['error', 2],
3754
'@typescript-eslint/interface-name-prefix': 'off',
38-
'@typescript-eslint/member-delimiter-style': [
39-
'off',
40-
{
41-
multiline: {
42-
delimiter: 'none',
43-
requireLast: true
44-
},
45-
singleline: {
46-
delimiter: 'semi',
47-
requireLast: false
48-
}
55+
56+
'@typescript-eslint/member-delimiter-style': ['off', {
57+
multiline: {
58+
delimiter: 'none',
59+
requireLast: true
60+
},
61+
62+
singleline: {
63+
delimiter: 'semi',
64+
requireLast: false
4965
}
50-
],
66+
}],
67+
5168
'@typescript-eslint/member-ordering': 'off',
5269
'@typescript-eslint/no-empty-function': 'error',
5370
'@typescript-eslint/no-empty-interface': 'error',
@@ -59,21 +76,18 @@ module.exports = {
5976
'@typescript-eslint/no-misused-new': 'error',
6077
'@typescript-eslint/no-namespace': 'off',
6178
'@typescript-eslint/no-parameter-properties': 'off',
62-
'@typescript-eslint/no-unused-expressions': [
63-
'error',
64-
{
65-
allowShortCircuit: true
66-
}
67-
],
68-
'@typescript-eslint/no-unused-vars': [
69-
'warn',
70-
{
71-
args: 'after-used',
72-
argsIgnorePattern: '^_',
73-
ignoreRestSiblings: false,
74-
vars: 'all'
75-
}
76-
],
79+
80+
'@typescript-eslint/no-unused-expressions': ['error', {
81+
allowShortCircuit: true
82+
}],
83+
84+
'@typescript-eslint/no-unused-vars': ['warn', {
85+
args: 'after-used',
86+
argsIgnorePattern: '^_',
87+
ignoreRestSiblings: false,
88+
vars: 'all'
89+
}],
90+
7791
'@typescript-eslint/no-use-before-define': 'off',
7892
'@typescript-eslint/no-var-requires': 'off',
7993
'@typescript-eslint/prefer-for-of': 'error',
@@ -102,7 +116,11 @@ module.exports = {
102116
'import/order': 'off',
103117
'linebreak-style': 'off',
104118
'max-classes-per-file': ['error', 1],
105-
'max-len': ['error', { 'code': 120 }],
119+
120+
'max-len': ['error', {
121+
code: 120
122+
}],
123+
106124
'new-parens': 'off',
107125
'newline-per-chained-call': 'off',
108126
'no-bitwise': 'error',
@@ -120,14 +138,13 @@ module.exports = {
120138
'no-irregular-whitespace': 'warn',
121139
'no-multiple-empty-lines': 'error',
122140
'no-new-wrappers': 'error',
123-
'quotes': ['error', 'single'],
141+
quotes: ['error', 'single'],
124142
'no-shadow': 'off',
125-
'@typescript-eslint/no-shadow': [
126-
'warn',
127-
{
128-
hoist: 'all'
129-
}
130-
],
143+
144+
'@typescript-eslint/no-shadow': ['warn', {
145+
hoist: 'all'
146+
}],
147+
131148
'no-throw-literal': 'error',
132149
'no-trailing-spaces': 'warn',
133150
'no-undef-init': 'error',
@@ -144,22 +161,20 @@ module.exports = {
144161
radix: 'error',
145162
'react/no-unescaped-entities': 0,
146163
'react/prop-types': 0,
164+
147165
'space-before-function-paren': ['error', {
148-
'anonymous': 'always',
149-
'named': 'never',
150-
'asyncArrow': 'always'
166+
anonymous: 'always',
167+
named: 'never',
168+
asyncArrow: 'always'
151169
}],
170+
152171
'spaced-comment': 'off',
153172
'use-isnan': 'error',
154173
'valid-typeof': 'off',
155174
'react/react-in-jsx-scope': 'off',
156-
'react/no-unstable-nested-components': [
157-
'off', { 'allowAsProps': true }
158-
]
159-
},
160-
settings: {
161-
react: {
162-
version: 'detect'
163-
}
175+
176+
'react/no-unstable-nested-components': ['off', {
177+
allowAsProps: true
178+
}]
164179
}
165-
};
180+
}];

0 commit comments

Comments
 (0)