Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Chore(deps): security updates for February 2025 #3597

Open
wants to merge 22 commits into
base: dev
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
005a92c
Chore(deps-dev): Bump start-server-and-test from 2.0.9 to 2.0.10 (#3562)
dependabot[bot] Feb 11, 2025
ac6c484
Chore(deps-dev): Bump @typescript-eslint/parser from 8.16.0 to 8.22.0…
dependabot[bot] Feb 11, 2025
db1acf2
Chore(deps): Bump @babel/runtime from 7.26.0 to 7.26.7 (#3564)
dependabot[bot] Feb 11, 2025
0ce36be
Chore(deps): Bump eslint-plugin-react from 7.37.2 to 7.37.4 (#3565)
dependabot[bot] Feb 11, 2025
843605f
Chore(deps): Bump typescript from 5.7.2 to 5.7.3 (#3568)
dependabot[bot] Feb 11, 2025
a3d47cb
Chore(deps-dev): Bump selenium-webdriver and @types/selenium-webdrive…
dependabot[bot] Feb 11, 2025
403d19b
Chore(deps): Bump @fluentui/react from 8.122.4 to 8.122.9 (#3570)
dependabot[bot] Feb 11, 2025
adc94b7
Chore(deps): Bump bfj from 8.0.0 to 9.1.2 (#3571)
dependabot[bot] Feb 11, 2025
c36d826
Chore(deps): Bump sass from 1.83.1 to 1.84.0 (#3604)
dependabot[bot] Feb 11, 2025
56cf9ce
Chore(deps-dev): Bump @playwright/test from 1.49.1 to 1.50.1 (#3579)
dependabot[bot] Feb 11, 2025
ffa2140
Chore(deps): Bump fs-extra from 11.2.0 to 11.3.0 (#3580)
dependabot[bot] Feb 11, 2025
ba92ff4
Chore(deps): Bump @fluentui/react-icons from 2.0.270 to 2.0.274 (#3581)
dependabot[bot] Feb 11, 2025
2478dd4
Chore(deps): Bump @fluentui/react-components from 9.56.8 to 9.58.3 (#…
dependabot[bot] Feb 11, 2025
ed5d044
Chore(deps-dev): Bump @typescript-eslint/eslint-plugin (#3600)
dependabot[bot] Feb 11, 2025
569e0c4
Chore(deps-dev): Bump chromedriver from 131.0.1 to 133.0.0 (#3599)
dependabot[bot] Feb 11, 2025
19aeda5
Chore(deps): Bump @babel/core from 7.26.0 to 7.26.8 (#3601)
dependabot[bot] Feb 11, 2025
172f379
Chore(deps): Bump monaco-editor-webpack-plugin from 6.0.0 to 7.1.0 (#…
dependabot[bot] Feb 20, 2025
71100cf
Chore(deps-dev): Bump eslint from 8.57.1 to 9.20.1 (#3610)
dependabot[bot] Feb 20, 2025
dfc3fa4
fix eslint and monaco upgrade errors
Mnickii Feb 21, 2025
e07ce0a
fix configuration
Mnickii Feb 21, 2025
3754b50
Chore(deps): Bump @azure/msal-browser from 3.26.1 to 4.4.0 (#3645)
dependabot[bot] Feb 21, 2025
eb795b2
fix browser issues
Mnickii Feb 21, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 29 additions & 0 deletions __mocks__/@azure/msal-browser
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
export class PublicClientApplication {
constructor(configuration: any) {
// Mock constructor
}

initialize() {
// Mock initialize method
}

acquireTokenSilent() {
// Mock acquireTokenSilent method
return Promise.resolve({ accessToken: 'mock-access-token' });
}

acquireTokenPopup() {
// Mock acquireTokenPopup method
return Promise.resolve({ accessToken: 'mock-access-token' });
}

loginPopup() {
// Mock loginPopup method
return Promise.resolve({ account: { username: 'mock-user' } });
}

logout() {
// Mock logout method
return Promise.resolve();
}
}
163 changes: 89 additions & 74 deletions .eslintrc.js → eslint.config.mjs
Original file line number Diff line number Diff line change
@@ -1,53 +1,70 @@
module.exports = {
env: {
browser: true,
es6: true,
node: true
import globals from 'globals';
import tsParser from '@typescript-eslint/parser';
import pluginReact from 'eslint-plugin-react';
import typescriptEslint from '@typescript-eslint/eslint-plugin';

export default [{
ignores: ['**/build', '**/eslintrc.js', '**/public', '**/scripts']
},
{
plugins: {
pluginReact,
'@typescript-eslint': typescriptEslint
},
extends: [
'eslint:recommended',
'plugin:react/recommended',
'plugin:@typescript-eslint/eslint-recommended'
],
globals: {
Atomics: 'readonly',
SharedArrayBuffer: 'readonly'
},
parser: '@typescript-eslint/parser',
parserOptions: {
project: 'tsconfig.json',
createDefaultProgram: true,

files: ['**/*.{js,mjs,cjs,ts,jsx,tsx}'],

languageOptions: {
globals: {
...globals.browser,
...globals.node,
...globals.es2015,
Atomics: 'readonly',
SharedArrayBuffer: 'readonly'
},

parser: tsParser,
ecmaVersion: 6,
sourceType: 'module'
sourceType: 'module',

parserOptions: {
project: 'tsconfig.json',
createDefaultProgram: true
}
},
plugins: ['react', '@typescript-eslint'],

settings: {
react: {
version: 'detect'
}
},

rules: {
'@typescript-eslint/adjacent-overload-signatures': 'error',
'@typescript-eslint/array-type': 'warn',
'@typescript-eslint/ban-types': 'off',
'@typescript-eslint/consistent-type-assertions': 'error',
'@typescript-eslint/consistent-type-definitions': 'error',
'@typescript-eslint/explicit-member-accessibility': [
'off',
{
accessibility: 'explicit'
}
],
'indent': ['error', 2],

'@typescript-eslint/explicit-member-accessibility': ['off', {
accessibility: 'explicit'
}],

indent: ['error', 2],
'@typescript-eslint/interface-name-prefix': 'off',
'@typescript-eslint/member-delimiter-style': [
'off',
{
multiline: {
delimiter: 'none',
requireLast: true
},
singleline: {
delimiter: 'semi',
requireLast: false
}

'@typescript-eslint/member-delimiter-style': ['off', {
multiline: {
delimiter: 'none',
requireLast: true
},

singleline: {
delimiter: 'semi',
requireLast: false
}
],
}],

'@typescript-eslint/member-ordering': 'off',
'@typescript-eslint/no-empty-function': 'error',
'@typescript-eslint/no-empty-interface': 'error',
Expand All @@ -59,21 +76,18 @@ module.exports = {
'@typescript-eslint/no-misused-new': 'error',
'@typescript-eslint/no-namespace': 'off',
'@typescript-eslint/no-parameter-properties': 'off',
'@typescript-eslint/no-unused-expressions': [
'error',
{
allowShortCircuit: true
}
],
'@typescript-eslint/no-unused-vars': [
'warn',
{
args: 'after-used',
argsIgnorePattern: '^_',
ignoreRestSiblings: false,
vars: 'all'
}
],

'@typescript-eslint/no-unused-expressions': ['error', {
allowShortCircuit: true
}],

'@typescript-eslint/no-unused-vars': ['warn', {
args: 'after-used',
argsIgnorePattern: '^_',
ignoreRestSiblings: false,
vars: 'all'
}],

'@typescript-eslint/no-use-before-define': 'off',
'@typescript-eslint/no-var-requires': 'off',
'@typescript-eslint/prefer-for-of': 'error',
Expand Down Expand Up @@ -102,7 +116,11 @@ module.exports = {
'import/order': 'off',
'linebreak-style': 'off',
'max-classes-per-file': ['error', 1],
'max-len': ['error', { 'code': 120 }],

'max-len': ['error', {
code: 120
}],

'new-parens': 'off',
'newline-per-chained-call': 'off',
'no-bitwise': 'error',
Expand All @@ -120,14 +138,13 @@ module.exports = {
'no-irregular-whitespace': 'warn',
'no-multiple-empty-lines': 'error',
'no-new-wrappers': 'error',
'quotes': ['error', 'single'],
quotes: ['error', 'single'],
'no-shadow': 'off',
'@typescript-eslint/no-shadow': [
'warn',
{
hoist: 'all'
}
],

'@typescript-eslint/no-shadow': ['warn', {
hoist: 'all'
}],

'no-throw-literal': 'error',
'no-trailing-spaces': 'warn',
'no-undef-init': 'error',
Expand All @@ -144,22 +161,20 @@ module.exports = {
radix: 'error',
'react/no-unescaped-entities': 0,
'react/prop-types': 0,

'space-before-function-paren': ['error', {
'anonymous': 'always',
'named': 'never',
'asyncArrow': 'always'
anonymous: 'always',
named: 'never',
asyncArrow: 'always'
}],

'spaced-comment': 'off',
'use-isnan': 'error',
'valid-typeof': 'off',
'react/react-in-jsx-scope': 'off',
'react/no-unstable-nested-components': [
'off', { 'allowAsProps': true }
]
},
settings: {
react: {
version: 'detect'
}

'react/no-unstable-nested-components': ['off', {
allowAsProps: true
}]
}
};
}];
Loading
Loading