Skip to content

Commit 8d34de6

Browse files
authored
Merge pull request #499 from rtfpessoa/bump-deps
Bump deps
2 parents 611957e + 409b5e2 commit 8d34de6

File tree

8 files changed

+2593
-2262
lines changed

8 files changed

+2593
-2262
lines changed

.github/workflows/test-and-publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ jobs:
5252
needs: [version]
5353
strategy:
5454
matrix:
55-
node-version: [16.x, 18.x]
55+
node-version: [16.x, 18.x, 20.x]
5656
steps:
5757
- uses: actions/checkout@v3
5858
with:

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,7 @@ document.addEventListener('DOMContentLoaded', () => {
253253
#### Example with plain HTML+CSS+JS
254254

255255
```html
256-
<!DOCTYPE html>
256+
<!doctype html>
257257
<html lang="en-us">
258258
<head>
259259
<meta charset="utf-8" />
@@ -453,7 +453,7 @@ export class AppDiffComponent implements OnInit {
453453
- HTML
454454

455455
```html
456-
<!DOCTYPE html>
456+
<!doctype html>
457457
<html>
458458
<head>
459459
<title>diff2html</title>

package.json

Lines changed: 34 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -85,60 +85,59 @@
8585
"hogan.js": "3.0.2"
8686
},
8787
"optionalDependencies": {
88-
"highlight.js": "11.6.0"
88+
"highlight.js": "11.8.0"
8989
},
9090
"devDependencies": {
91-
"@types/diff": "5.0.2",
91+
"@types/diff": "5.0.3",
9292
"@types/hogan.js": "3.0.1",
93-
"@types/jest": "29.2.0",
94-
"@types/mkdirp": "1.0.2",
95-
"@types/node": "18.11.3",
93+
"@types/jest": "29.5.3",
94+
"@types/node": "20.4.8",
9695
"@types/nopt": "3.0.29",
97-
"@typescript-eslint/eslint-plugin": "5.40.1",
98-
"@typescript-eslint/parser": "5.40.1",
96+
"@typescript-eslint/eslint-plugin": "6.2.1",
97+
"@typescript-eslint/parser": "6.2.1",
9998
"all-contributors-cli": "^6.24.0",
100-
"autoprefixer": "10.4.12",
99+
"autoprefixer": "10.4.14",
101100
"bulma": "^0.9.4",
102101
"clipboard": "2.0.11",
103102
"copy-webpack-plugin": "11.0.0",
104-
"css-loader": "6.7.1",
105-
"cssnano": "5.1.13",
106-
"eslint": "8.26.0",
107-
"eslint-config-prettier": "8.5.0",
108-
"eslint-plugin-import": "2.26.0",
109-
"eslint-plugin-jest": "27.1.3",
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",
110109
"eslint-plugin-json": "3.1.0",
111110
"eslint-plugin-node": "11.1.0",
112111
"eslint-plugin-optimize-regex": "1.2.1",
113112
"eslint-plugin-promise": "6.1.1",
114-
"eslint-plugin-sonarjs": "0.16.0",
113+
"eslint-plugin-sonarjs": "0.20.0",
115114
"file-loader": "6.2.0",
116-
"handlebars": "4.7.7",
117-
"handlebars-loader": "1.7.2",
118-
"html-webpack-plugin": "5.5.0",
115+
"handlebars": "4.7.8",
116+
"handlebars-loader": "1.7.3",
117+
"html-webpack-plugin": "5.5.3",
119118
"husky": "^8.0.1",
120119
"image-webpack-loader": "8.1.0",
121120
"is-ci-cli": "2.2.0",
122-
"jest": "29.2.1",
123-
"lint-staged": "13.0.3",
121+
"jest": "29.6.2",
122+
"lint-staged": "13.2.3",
124123
"markdown-toc": "^1.2.0",
125-
"mini-css-extract-plugin": "2.6.1",
126-
"mkdirp": "1.0.4",
127-
"nopt": "6.0.0",
128-
"postcss": "8.4.18",
129-
"postcss-cli": "10.0.0",
130-
"postcss-import": "15.0.0",
131-
"postcss-loader": "7.0.1",
132-
"postcss-preset-env": "7.8.2",
133-
"prettier": "2.7.1",
134-
"ts-jest": "29.0.3",
135-
"ts-loader": "9.4.1",
124+
"mini-css-extract-plugin": "2.7.6",
125+
"mkdirp": "3.0.1",
126+
"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",
133+
"ts-jest": "29.1.1",
134+
"ts-loader": "9.4.4",
136135
"ts-node": "10.9.1",
137-
"typescript": "4.8.4",
136+
"typescript": "5.1.6",
138137
"url-loader": "4.1.1",
139-
"webpack": "5.76.0",
140-
"webpack-cli": "4.10.0",
141-
"whatwg-fetch": "3.6.2"
138+
"webpack": "5.88.2",
139+
"webpack-cli": "5.1.4",
140+
"whatwg-fetch": "3.6.17"
142141
},
143142
"resolutions": {
144143
"lodash": ">=4.17.20",

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,5 @@ export class Diff2HtmlUI extends Diff2HtmlUIBase {
99
}
1010
}
1111

12-
export { Diff2HtmlUIConfig, defaultDiff2HtmlUIConfig };
12+
export { defaultDiff2HtmlUIConfig };
13+
export type { Diff2HtmlUIConfig };

src/ui/js/diff2html-ui.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,5 @@ export class Diff2HtmlUI extends Diff2HtmlUIBase {
99
}
1010
}
1111

12-
export { Diff2HtmlUIConfig, defaultDiff2HtmlUIConfig };
12+
export { defaultDiff2HtmlUIConfig };
13+
export type { Diff2HtmlUIConfig };

tsconfig.json

Lines changed: 26 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,37 @@
11
{
2+
"include": ["*env.d.ts", "src/**/*", "./typings/**/*"],
3+
"exclude": ["node_modules", "src/__tests__/**"],
24
"compilerOptions": {
3-
"outDir": "./_target",
4-
"target": "es5",
5-
"module": "commonjs",
6-
"moduleResolution": "node",
7-
"lib": ["es2020", "dom"],
5+
"outDir": "_target",
6+
"module": "CommonJS",
7+
"moduleResolution": "Node",
8+
"target": "ES6",
9+
"lib": ["ES6", "DOM"],
10+
"jsx": "preserve",
811
"allowJs": false,
12+
"checkJs": false,
13+
"importHelpers": true,
14+
"esModuleInterop": true,
15+
"allowSyntheticDefaultImports": true,
16+
"strict": true,
17+
"noUnusedLocals": true,
18+
"noUnusedParameters": true,
19+
"noImplicitReturns": true,
20+
"noFallthroughCasesInSwitch": true,
21+
"skipLibCheck": true,
22+
"resolveJsonModule": true,
923
"declaration": true,
1024
"declarationMap": true,
25+
"sourceMap": true,
26+
"noEmit": false,
27+
"forceConsistentCasingInFileNames": true,
28+
"isolatedModules": true,
29+
"incremental": false,
1130
"strictNullChecks": true,
1231
"removeComments": true,
1332
"preserveConstEnums": true,
14-
"sourceMap": true,
1533
"alwaysStrict": true,
16-
"strict": true,
1734
"noImplicitAny": true,
18-
"noImplicitThis": true,
19-
"noUnusedParameters": true,
20-
"noUnusedLocals": true,
21-
"noImplicitReturns": true,
22-
"noFallthroughCasesInSwitch": true,
23-
"forceConsistentCasingInFileNames": true,
24-
"esModuleInterop": true
25-
},
26-
"include": ["./src/**/*", "./typings/**/*"],
27-
"exclude": ["node_modules", "./src/__tests__/*"]
35+
"noImplicitThis": true
36+
}
2837
}

website/templates/pages/index/index.css

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,11 @@
88
}
99

1010
.hero-booticon {
11-
font-family: Helvetica Neue, Helvetica, Arial, sans-serif;
11+
font-family:
12+
Helvetica Neue,
13+
Helvetica,
14+
Arial,
15+
sans-serif;
1216
margin: 0 auto 30px;
1317
width: 100%;
1418
font-size: 8vw;

0 commit comments

Comments
 (0)