8000 Merge pull request #167 from rtfpessoa/bump-dependencies · rtfpessoa/diff2html-cli@99ce80e · GitHub
[go: up one dir, main page]

Skip to content

Commit 99ce80e

Browse files
authored
Merge pull request #167 from rtfpessoa/bump-dependencies
updates
2 parents b638c9f + 7524466 commit 99ce80e

File tree

4 files changed

+1681
-1309
lines changed

4 files changed

+1681
-1309
lines changed

package.json

Lines changed: 26 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -80,44 +80,44 @@
8080
]
8181
},
8282
"dependencies": {
83-
"clipboardy": "^3.0.0",
84-
"diff2html": "^3.4.19",
83+
"clipboardy": "^4.0.0",
84+
"diff2html": "^3.4.47",
8585
"node-fetch": "^3.3.2",
86-
"open": "^9.1.0",
86+
"open": "^10.0.3",
8787
"yargs": "^17.6.0"
8888
},
8989
"devDependencies": {
90-
"@babel/core": "^7.22.9",
91-
"@babel/preset-env": "^7.22.9",
92-
"@babel/preset-typescript": "^7.22.5",
93-
"@jest/globals": "^29.6.2",
94-
"@types/hogan.js": "^3.0.1",
95-
"@types/jest": "^29.5.3",
96-
"@types/node": "20.4.8",
97-
"@types/node-fetch": "^2.6.2",
98-
"@types/request": "2.48.8",
99-
"@typescript-eslint/eslint-plugin": "6.2.1",
100-
"@typescript-eslint/parser": "6.2.1",
101-
"babel-jest": "^29.6.2",
102-
"eslint": "8.46.0",
103-
"eslint-config-prettier": "9.0.0",
104-
"eslint-import-resolver-typescript": "^3.5.5",
105-
"eslint-plugin-import": "2.28.0",
106-
"eslint-plugin-jest": "27.2.3",
90+
"@babel/core": "^7.23.7",
91+
"@babel/preset-env": "^7.23.8",
92+
"@babel/preset-typescript": "^7.23.3",
93+
"@jest/globals": "^29.7.0",
94+
"@types/hogan.js": "^3.0.5",
95+
"@types/jest": "^29.5.11",
96+
"@types/node": "20.11.0",
97+
"@types/node-fetch": "^2.6.10",
98+
"@types/request": "2.48.12",
99+
"@typescript-eslint/eslint-plugin": "6.18.1",
100+
"@typescript-eslint/parser": "6.18.1",
101+
"babel-jest": "^29.7.0",
102+
"eslint": "8.56.0",
103+
"eslint-config-prettier": "9.1.0",
104+
"eslint-import-resolver-typescript": "^3.6.1",
105+
"eslint-plugin-import": "2.29.1",
106+
"eslint-plugin-jest": "27.6.3",
107107
"eslint-plugin-json": "3.1.0",
108108
"eslint-plugin-node": "11.1.0",
109109
"eslint-plugin-optimize-regex": "1.2.1",
110110
"eslint-plugin-promise": "6.1.1",
111-
"eslint-plugin-sonarjs": "0.20.0",
111+
"eslint-plugin-sonarjs": "0.23.0",
112112
"husky": "8.0.3",
113113
"is-ci-cli": "2.2.0",
114-
"jest": "29.6.2",
115-
"lint-staged": "13.2.3",
114+
"jest": "29.7.0",
115+
"lint-staged": "15.2.0",
116116
"markdown-toc": "^1.2.0",
117-
"prettier": "3.0.1",
117+
"prettier": "3.2.1",
118118
"ts-jest": "^29.1.1",
119-
"ts-node": "^10.9.1",
120-
"typescript": "5.1.6"
119+
"ts-node": "^10.9.2",
120+
"typescript": "5.3.3"
121121
},
122122
"license": "MIT",
123123
"files": [

src/configuration.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,18 +14,18 @@ export function parseArgv(argv: Argv): [Diff2HtmlConfig, Configuration] {
1414
argv.style === 'side'
1515
? OutputFormatType.SIDE_BY_SIDE
1616
: argv.style === 'line'
17-
? OutputFormatType.LINE_BY_LINE
18-
: undefined,
17+
? OutputFormatType.LINE_BY_LINE
18+
: undefined,
1919
diffStyle:
2020
argv.diffStyle === 'char' ? DiffStyleType.CHAR : argv.diffStyle === 'word' ? DiffStyleType.WORD : undefined,
2121
matching:
2222
argv.matching === 'lines'
2323
? LineMatchingType.LINES
2424
: argv.matching === 'words'
25-
? LineMatchingType.WORDS
26-
: argv.matching === 'none'
27-
? LineMatchingType.NONE
28-
: undefined,
25+
? LineMatchingType.WORDS
26+
: argv.matching === 'none'
27+
? LineMatchingType.NONE
28+
: undefined,
2929
drawFileList: argv.summary !== 'hidden',
3030
matchWordsThreshold: argv.matchWordsThreshold,
3131
matchingMaxComparisons: argv.matchingMaxComparisons,

tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"compilerOptions": {
55
"moduleResolution": "NodeNext",
66
"target": "ESNext",
7-
"module": "ESNext",
7+
"module": "NodeNext",
88
"lib": ["ESNext"],
99
"jsx": "preserve",
1010
"rootDir": "src",

0 commit comments

Comments
 (0)
0