Skip to content

Commit

Permalink
[SPM-15365] fix blackduck vulnerabilities (#131)
Browse files Browse the repository at this point in the history
* chore: bump jsprim

* chore: bump tmpl

* chore: apply selective resolution on set-value

* chore: apply selective resolution for strip-ansi

* chore: upgrade jest and jest-junit

* No breaking changes

* chore: upgrade eslint and corresponding eslint plugins

* fix: flow config

* chore: resolve multiple versions of browserlist
  • Loading branch information
Matwog authored Feb 24, 2022
1 parent 0e62cb9 commit 96a2ac6
Show file tree
Hide file tree
Showing 8 changed files with 2,395 additions and 1,127 deletions.
3 changes: 0 additions & 3 deletions .eslintrc

This file was deleted.

6 changes: 6 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
module.exports = {
extends: ['react-app'],
rules: {
'import/no-anonymous-default-export': 'off',
},
}
1 change: 1 addition & 0 deletions .flowconfig
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
[ignore]
.*/node_modules/@babel/helper-define-polyfill-provider/.*
.*/node_modules/babel-plugin-macros/.*

[include]

Expand Down
19 changes: 11 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,16 +62,16 @@
"babel-plugin-transform-remove-debugger": "6.8.5",
"commander": "6.2.1",
"cross-env": "4.0.0",
"eslint": "5.16.0",
"eslint-config-react-app": "3.0.8",
"eslint-plugin-flowtype": "2.50.3",
"eslint-plugin-import": "2.23.4",
"eslint-plugin-jsx-a11y": "6.4.1",
"eslint-plugin-react": "7.24.0",
"eslint": "8.9.0",
"eslint-config-react-app": "7.0.0",
"eslint-plugin-flowtype": "8.0.3",
"eslint-plugin-import": "2.25.4",
"eslint-plugin-jsx-a11y": "6.5.1",
"eslint-plugin-react": "7.28.0",
"flow-bin": "0.65.0",
"gettext-to-messageformat": "0.3.1",
"jest": "27.0.6",
"jest-junit": "12.2.0",
"jest": "27.5.1",
"jest-junit": "13.0.0",
"jsdom": "9.12.0",
"po2json": "1.0.0-beta-3",
"prettier": "1.15.3",
Expand All @@ -82,5 +82,8 @@
"peerDependencies": {
"@babel/core": "^7.0.0",
"react": "^16.13.0"
},
"resolutions": {
"set-value": "^4.1.0"
}
}
12 changes: 6 additions & 6 deletions src/types.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,12 @@ export type ConfigT = {
noLocation?: boolean,
}

export type ObjectPropertyT = {
key: {
name: string,
},
}

export type AstNodeT = {
type: string,
properties?: Array<ObjectPropertyT>,
Expand All @@ -22,9 +28,3 @@ export type AstNodeT = {
export type MapT<K, V> = {
[key: K]: V,
}

export type ObjectPropertyT = {
key: {
name: string,
},
}
5 changes: 0 additions & 5 deletions test/.eslintrc

This file was deleted.

5 changes: 5 additions & 0 deletions test/.eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
module.exports = {
rules: {
'no-unused-expressions': 'off',
},
}
3,471 changes: 2,366 additions & 1,105 deletions yarn.lock

Large diffs are not rendered by default.

0 comments on commit 96a2ac6

Please sign in to comment.