Skip to content

Commit

Permalink
Bumps dev dependencies, fixes linting (#73)
Browse files Browse the repository at this point in the history
* Bump outdated

* Fix linting

* Back to jest 25.x to support node 8

* Replace Sequelize next with explicit 6

* Fix Sequelize 6 version number
  • Loading branch information
bravo-kernel committed Sep 29, 2020
1 parent 120f50f commit 46f52f1
Show file tree
Hide file tree
Showing 5 changed files with 28 additions and 27 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Expand Up @@ -17,7 +17,7 @@ env:
matrix:
- SEQUELIZE_VERSION=4.*
- SEQUELIZE_VERSION=5.*
- SEQUELIZE_VERSION=next
- SEQUELIZE_VERSION=6.*

global:
- TEST=1
Expand Down
3 changes: 2 additions & 1 deletion lib/utils/lodash-natives.js
Expand Up @@ -10,7 +10,8 @@
/* eslint-disable func-names */
/* eslint-disable no-prototype-builtins */
/* eslint-disable no-param-reassign */
/* eslint-disable unicorn/prevent-abbreviations */
/* eslint-disable unicorn/prevent-abbreviations */
/* eslint-disable unicorn/no-reduce */

const capitalize = function (string) {
if (typeof string !== 'string') {
Expand Down
4 changes: 2 additions & 2 deletions lib/utils/type-checks.js
Expand Up @@ -30,7 +30,7 @@ function checkType(name, value, type, errorPrefix) {
* @returns {bool}
* @throws {TypeError}
*/
const checkTypeOptional = function (name, value, type) {
const checkTypeOptional = function check(name, value, type) {
if (value === null) {
return true;
}
Expand All @@ -47,7 +47,7 @@ const checkTypeOptional = function (name, value, type) {
* @returns {bool}
* @throws {TypeError}
*/
const checkTypeRequired = function (name, value, type) {
const checkTypeRequired = function check(name, value, type) {
if (value === null) {
throw new TypeError(`Required configuration setting '${name}' is missing`);
}
Expand Down
44 changes: 22 additions & 22 deletions package.json
Expand Up @@ -48,33 +48,33 @@
"oasv3"
],
"devDependencies": {
"@release-it/conventional-changelog": "^1.1.4",
"acorn": "^7.2.0",
"ajv": "^6.12.2",
"codecov": "^3.6.5",
"@release-it/conventional-changelog": "^2.0.0",
"acorn": "^8.0.0",
"ajv": "^6.12.5",
"codecov": "^3.7.2",
"cross-env": "^7.0.2",
"del-cli": "^3.0.0",
"eslint": "^7.0.0",
"eslint-config-airbnb-base": "^14.1.0",
"eslint-config-prettier": "^6.11.0",
"eslint-plugin-import": "^2.20.2",
"eslint-plugin-jest": "^23.10.0",
"eslint-plugin-jsdoc": "^25.0.0",
"eslint-plugin-prettier": "^3.1.3",
"eslint-plugin-unicorn": "^19.0.0",
"del-cli": "^3.0.1",
"eslint": "^7.10.0",
"eslint-config-airbnb-base": "^14.2.0",
"eslint-config-prettier": "^6.12.0",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-jest": "^24.0.0",
"eslint-plugin-jsdoc": "^30.0.0",
"eslint-plugin-prettier": "^3.1.4",
"eslint-plugin-unicorn": "^22.0.0",
"fs": "0.0.1-security",
"husky": "^4.2.5",
"husky": "^4.3.0",
"jest": "^25.0.0",
"jsdoc": "^3.6.4",
"lint-staged": "^10.2.2",
"jsdoc": "^3.6.6",
"lint-staged": "^10.4.0",
"lodash.clonedeep": "^4.5.0",
"moment": "^2.25.3",
"mysql2": "^2.1.0",
"moment": "^2.29.0",
"mysql2": "^2.2.5",
"npm-run-all": "^4.1.3",
"prettier": "^2.0.0",
"release-it": "^13.0.0",
"sequelize": "^5.21.8",
"swagger-parser": "^9.0.0"
"prettier": "^2.1.2",
"release-it": "^14.0.0",
"sequelize": "^6.0.0",
"swagger-parser": "^10.0.0"
},
"esdoc": {
"source": "./src",
Expand Down
2 changes: 1 addition & 1 deletion test/strategies/openapi-v3-validation-wrapper.js
Expand Up @@ -17,7 +17,7 @@ module.exports = Object.freeze({
get: {
parameters: [],
responses: {
'404': {
404: {
description: 'not found',
},
},
Expand Down

0 comments on commit 46f52f1

Please sign in to comment.