Skip to content

Commit 4de87bf

Browse files
authored
Merge pull request #523 from rtfpessoa/bump-dependencies
updates
2 parents 363b619 + aa47319 commit 4de87bf

File tree

4 files changed

+2041
-1919
lines changed

4 files changed

+2041
-1919
lines changed

package.json

+32-32
Original file line numberDiff line numberDiff line change
@@ -85,60 +85,60 @@
8585
"hogan.js": "3.0.2"
8686
},
8787
"optionalDependencies": {
88-
"highlight.js": "11.8.0"
88+
"highlight.js": "11.9.0"
8989
},
9090
"devDependencies": {
91-
"@types/diff": "5.0.3",
92-
"@types/hogan.js": "3.0.1",
93-
"@types/jest": "29.5.3",
94-
"@types/node": "20.4.8",
95-
"@types/nopt": "3.0.29",
96-
"@typescript-eslint/eslint-plugin": "6.2.1",
97-
"@typescript-eslint/parser": "6.2.1",
91+
"@types/diff": "5.0.9",
92+
"@types/hogan.js": "3.0.5",
93+
"@types/jest": "29.5.11",
94+
"@types/node": "20.11.0",
95+
"@types/nopt": "3.0.32",
96+
"@typescript-eslint/eslint-plugin": "6.18.1",
97+
"@typescript-eslint/parser": "6.18.1",
9898
"all-contributors-cli": "^6.24.0",
99-
"autoprefixer": "10.4.14",
99+
"autoprefixer": "10.4.16",
100100
"bulma": "^0.9.4",
101101
"clipboard": "2.0.11",
102-
"copy-webpack-plugin": "11.0.0",
103-
"css-loader": "6.8.1",
104-
"cssnano": "6.0.1",
105-
"eslint": "8.46.0",
106-
"eslint-config-prettier": "9.0.0",
107-
"eslint-plugin-import": "2.28.0",
108-
"eslint-plugin-jest": "27.2.3",
102+
"copy-webpack-plugin": "12.0.1",
103+
"css-loader": "6.9.0",
104+
"cssnano": "6.0.3",
105+
"eslint": "8.56.0",
106+
"eslint-config-prettier": "9.1.0",
107+
"eslint-plugin-import": "2.29.1",
108+
"eslint-plugin-jest": "27.6.3",
109109
"eslint-plugin-json": "3.1.0",
110110
"eslint-plugin-node": "11.1.0",
111111
"eslint-plugin-optimize-regex": "1.2.1",
112112
"eslint-plugin-promise": "6.1.1",
113-
"eslint-plugin-sonarjs": "0.20.0",
113+
"eslint-plugin-sonarjs": "0.23.0",
114114
"file-loader": "6.2.0",
115115
"handlebars": "4.7.8",
116116
"handlebars-loader": "1.7.3",
117-
"html-webpack-plugin": "5.5.3",
117+
"html-webpack-plugin": "5.6.0",
118118
"husky": "^8.0.1",
119119
"image-webpack-loader": "8.1.0",
120120
"is-ci-cli": "2.2.0",
121-
"jest": "29.6.2",
122-
"lint-staged": "13.2.3",
121+
"jest": "29.7.0",
122+
"lint-staged": "15.2.0",
123123
"markdown-toc": "^1.2.0",
124-
"mini-css-extract-plugin": "2.7.6",
124+
"mini-css-extract-plugin": "2.7.7",
125125
"mkdirp": "3.0.1",
126126
"nopt": "7.2.0",
127-
"postcss": "8.4.27",
128-
"postcss-cli": "10.1.0",
129-
"postcss-import": "15.1.0",
130-
"postcss-loader": "7.3.3",
131-
"postcss-preset-env": "9.1.1",
132-
"prettier": "3.0.1",
127+
"postcss": "8.4.33",
128+
"postcss-cli": "11.0.0",
129+
"postcss-import": "16.0.0",
130+
"postcss-loader": "7.3.4",
131+
"postcss-preset-env": "9.3.0",
132+
"prettier": "3.2.1",
133133
"ts-jest": "29.1.1",
134-
"ts-loader": "9.4.4",
135-
"ts-node": "10.9.1",
136-
"typescript": "5.1.6",
134+
"ts-loader": "9.5.1",
135+
"ts-node": "10.9.2",
136+
"typescript": "5.3.3",
137137
"url-loader": "4.1.1",
138-
"webpack": "5.88.2",
138+
"webpack": "5.89.0",
139139
"webpack-cli": "5.1.4",
140140
"webpack-dev-server": "4.15.1",
141-
"whatwg-fetch": "3.6.17"
141+
"whatwg-fetch": "3.6.20"
142142
},
143143
"resolutions": {
144144
"lodash": ">=4.17.20",

src/ui/js/diff2html-ui-base.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -156,8 +156,8 @@ export class Diff2HtmlUI {
156156
? // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
157157
this.config.highlightLanguages.get(language)!
158158
: language
159-
? getLanguage(language)
160-
: 'plaintext';
159+
? getLanguage(language)
160+
: 'plaintext';
161161

162162
// Fallback to plaintext in case language is not loaded
163163
if (hljs.getLanguage(hljsLanguage) === undefined) {

website/templates/pages/demo/demo.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -134,8 +134,8 @@ function getConfiguration(urlParams: URLParams): Diff2HtmlUIConfig {
134134
const newObject = !Number.isNaN(Number(v))
135135
? { [k]: Number(v) }
136136
: v === 'true' || v === 'false'
137-
? { [k]: Boolean(v) }
138-
: { [k]: v };
137+
? { [k]: Boolean(v) }
138+
: { [k]: v };
139139
return { ...object, ...newObject };
140140
}, {});
141141
}

0 commit comments

Comments
 (0)