Skip to content

Commit

Permalink
Update deps to fix vulnerabilities (#1339)
Browse files Browse the repository at this point in the history
- Updates from 'npm audit fix'
- Remove dependency to grunt-couchapp
- Replace discontinued 'babel-eslint' package
- Update ESLint to 8.9.0
  • Loading branch information
Antonio-Maranhao committed Feb 28, 2022
1 parent e8e72fc commit b5ca5cc
Show file tree
Hide file tree
Showing 9 changed files with 812 additions and 3,521 deletions.
2 changes: 1 addition & 1 deletion .eslintrc
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"root": true,
"parser": "babel-eslint",
"parser": "@babel/eslint-parser",

"plugins": [
"react"
Expand Down
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
language: node_js
node_js:
- "12"
- "14"
sudo: false
services:
- docker
Expand Down
1 change: 0 additions & 1 deletion Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,6 @@ module.exports = function (grunt) {
// Load fauxton specific tasks
grunt.loadTasks('tasks');

grunt.loadNpmTasks('grunt-couchapp');
grunt.loadNpmTasks('grunt-exec');
grunt.loadNpmTasks('grunt-contrib-copy');
grunt.loadNpmTasks('grunt-contrib-clean');
Expand Down
2 changes: 1 addition & 1 deletion app/addons/activetasks/components/tablebody.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ export default class ActiveTasksTableBody extends React.Component {
}

return type;
}
};

noActiveTasks = () => {
const type = this.getType();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ export default class DocEditorScreen extends React.Component {
cancelUpload: PropTypes.func.isRequired,
resetUploadModal: PropTypes.func.isRequired,
uploadAttachment: PropTypes.func.isRequired
}
};

getCodeEditor = () => {
if (this.props.isLoading) {
Expand Down
2 changes: 1 addition & 1 deletion app/addons/replication/components/auth-options.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ export class ReplicationAuth extends React.Component {
});

return authOptions.map(option => <option value={option.value} key={option.value}>{option.label}</option>);
}
};

onChangeType(newType) {
this.props.onChangeAuthType(newType);
Expand Down

0 comments on commit b5ca5cc

Please sign in to comment.