Skip to content

Commit

Permalink
feat: dependencies upgrade
Browse files Browse the repository at this point in the history
  • Loading branch information
psrebniak committed May 1, 2021
1 parent e6a2304 commit 648d19c
Show file tree
Hide file tree
Showing 7 changed files with 2,411 additions and 2,401 deletions.
1 change: 0 additions & 1 deletion .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/recommended",
"prettier/@typescript-eslint",
"plugin:prettier/recommended"
],
"parserOptions": {
Expand Down
20 changes: 10 additions & 10 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,20 +20,20 @@
"packages/swagger-typescript-client-generator-runtime"
],
"dependencies": {
"lerna": "^3.20.2"
"lerna": "^4.0.0"
},
"devDependencies": {
"@types/node": "13.11.0",
"@typescript-eslint/eslint-plugin": "^2.14.0",
"@typescript-eslint/parser": "^2.14.0",
"commit-message-validator": "^0.1.11",
"eslint": "^6.8.0",
"eslint-config-prettier": "^6.9.0",
"eslint-plugin-prettier": "^3.1.2",
"@types/node": "15.0.1",
"@typescript-eslint/eslint-plugin": "^4.22.0",
"@typescript-eslint/parser": "^4.22.0",
"commit-message-validator": "^1.0.0",
"eslint": "^7.25.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-prettier": "^3.4.0",
"husky": "^4.2.3",
"lint-staged": "^10.1.2",
"lint-staged": "^10.5.4",
"prettier": "^2.0.3",
"typescript": "^3.7.4"
"typescript": "^4.2.4"
},
"config": {
"commit-message-validator": {
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { Spec } from "swagger-schema-official"

export const jsonReader: FileReader = (options: FileReaderOptions): Spec => {
const content = fs.readFileSync(options.file, {
encoding: "UTF-8",
encoding: "utf-8",
flag: "r",
})
return (JSON.parse(content) as unknown) as Spec
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import * as yaml from "js-yaml"

export const yamlReader: FileReader = (options: FileReaderOptions): Spec => {
const content = fs.readFileSync(options.file, {
encoding: "UTF-8",
encoding: "utf-8",
flag: "r",
})
return (yaml.safeLoad(content) as unknown) as Spec
Expand Down
Loading

0 comments on commit 648d19c

Please sign in to comment.