Skip to content

Commit 476dbc4

Browse files
Merge pull request #161 from splitio/vulnerability_fixes
Dependency updates and vulnerability fixes
2 parents 9e358da + 727e436 commit 476dbc4

6 files changed

Lines changed: 395 additions & 464 deletions

File tree

.eslintrc.js

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ module.exports = {
2828
'eol-last': ['error', 'always'],
2929
'keyword-spacing': 'error',
3030
'no-trailing-spaces': 'error',
31-
'space-before-function-paren': ['error', {'named': 'never'}],
31+
'space-before-function-paren': ['error', { 'named': 'never' }],
3232
'react/display-name': 'off',
3333
'@typescript-eslint/no-empty-function': 'off',
3434
'@typescript-eslint/no-inferrable-types': 'off',
@@ -39,6 +39,11 @@ module.exports = {
3939
'destructuring': 'all'
4040
}]
4141
},
42+
'settings': {
43+
'react': {
44+
'version': '16.3.0' // minimum supported version of React
45+
}
46+
},
4247
'overrides': [{
4348
'files': ['src/**/*.ts', 'src/**/*.tsx'],
4449
'excludedFiles': ['src/**/__tests__/**'],
@@ -52,7 +57,7 @@ module.exports = {
5257
},
5358
'rules': {
5459
'no-restricted-syntax': ['error', 'ForOfStatement', 'ForInStatement'],
55-
'compat/compat': ['error', 'defaults, not ie < 11'],
60+
'compat/compat': ['error', 'defaults, ie 11'],
5661
'no-throw-literal': 'error',
5762
'import/no-self-import': 'error',
5863
'import/no-default-export': 'error',

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ jobs:
4343
run: npm run test -- --coverage
4444

4545
- name: npm build
46-
run: BUILD_BRANCH=$(echo "${GITHUB_REF#refs/heads/}") BUILD_COMMIT=${{ github.sha }} npm run build
46+
run: BUILD_BRANCH=$(echo "${GITHUB_REF#refs/heads/}") npm run build
4747

4848
- name: Set VERSION env
4949
run: echo "VERSION=$(cat package.json | jq -r .version)" >> $GITHUB_ENV

CHANGES.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
1.9.1 (September XX, 2023)
2+
- Updated linter and other dependencies for vulnerability fixes.
3+
14
1.9.0 (July 18, 2023)
25
- Updated some transitive dependencies for vulnerability fixes.
36
- Updated @splitsoftware/splitio package to version 10.23.0 that includes:

0 commit comments

Comments
 (0)