8000 Merge pull request #341 from rtfpessoa/bump-dependencies · huggingface/diff2html@e48259d · GitHub
[go: up one dir, main page]

Skip to content

Commit e48259d

Browse files
authored
Merge pull request rtfpessoa#341 from rtfpessoa/bump-dependencies
Bump dependencies
2 parents 275d099 + 98db156 commit e48259d

File tree

3 files changed

+987
-874
lines changed

3 files changed

+987
-874
lines changed

package.json

Lines changed: 26 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -89,72 +89,73 @@
8989
"hogan.js": "3.0.2"
9090
},
9191
"optionalDependencies": {
92-
"highlight.js": "10.1.2"
92+
"highlight.js": "10.2.1"
9393
},
9494
"devDependencies": {
9595
"@types/clipboard": "2.0.1",
9696
"@types/copy-webpack-plugin": "6.0.0",
9797
"@types/diff": "4.0.2",
9898
"@types/hogan.js": "3.0.0",
9999
"@types/html-webpack-plugin": "3.2.3",
100-
"@types/jest": "26.0.13",
100+
"@types/jest": "26.0.14",
101101
"@types/mini-css-extract-plugin": "0.9.1",
102102
"@types/mkdirp": "1.0.1",
103-
"@types/node": "14.6.4",
103+
"@types/node": "14.11.10",
104104
"@types/nopt": "3.0.29",
105-
"@typescript-eslint/eslint-plugin": "4.0.1",
106-
"@typescript-eslint/parser": "4.0.1",
107-
"autoprefixer": "9.8.6",
105+
"@typescript-eslint/eslint-plugin": "4.4.1",
106+
"@typescript-eslint/parser": "4.4.1",
107+
"autoprefixer": "10.0.1",
108108
"bulma": "^0.9.0",
109109
"clipboard": "2.0.6",
110110
"copy-webpack-plugin": "6.1.0",
111-
"css-loader": "4.2.2",
111+
"css-loader": "5.0.0",
112112
"cssnano": "4.1.10",
113-
"eslint": "7.8.1",
114-
"eslint-config-prettier": "6.11.0",
115-
"eslint-plugin-import": "2.22.0",
116-
"eslint-plugin-jest": "24.0.0",
113+
"eslint": "7.11.0",
114+
"eslint-config-prettier": "6.13.0",
115+
"eslint-plugin-import": "2.22.1",
116+
"eslint-plugin-jest": "24.1.0",
117117
"eslint-plugin-json": "2.1.2",
118118
"eslint-plugin-node": "11.1.0",
119119
"eslint-plugin-optimize-regex": "1.2.0",
120120
"eslint-plugin-promise": "4.2.1",
121121
"eslint-plugin-sonarjs": "0.5.0",
122-
"file-loader": "6.1.0",
122+
"file-loader": "6.1.1",
123123
"handlebars": "4.7.6",
124124
"handlebars-loader": "1.7.1",
125125
"html-webpack-plugin": "4.4.1",
126-
"husky": "4.2.5",
126+
"husky": "4.3.0",
127127
"image-webpack-loader": "6.0.0",
128128
"is-ci-cli": "2.1.2",
129-
"jest": "26.4.2",
130-
"lint-staged": "10.3.0",
129+
"jest": "26.5.3",
130+
"lint-staged": "10.4.1",
131131
"markdown-toc": "^1.2.0",
132132
"mini-css-extract-plugin": "0.11.0",
133133
"mkdirp": "1.0.4",
134134
"nopt": "5.0.0",
135-
"postcss": "7.0.32",
136-
"postcss-cli": "7.1.2",
135+
"postcss": "8.1.1",
136+
"postcss-cli": "8.1.0",
137137
"postcss-import": "12.0.1",
138-
"postcss-loader": "3.0.0",
138+
"postcss-loader": "4.0.4",
139139
"postcss-preset-env": "6.7.0",
140-
"prettier": "2.1.1",
141-
"ts-jest": "26.3.0",
142-
"ts-loader": "8.0.3",
140+
"prettier": "2.1.2",
141+
"ts-jest": "26.4.1",
142+
"ts-loader": "8.0.5",
143143
"ts-node": "9.0.0",
144-
"typescript": "4.0.2",
145-
"url-loader": "4.1.0",
144+
"typescript": "4.0.3",
145+
"url-loader": "4.1.1",
146146
"webpack": "4.44.1",
147147
"webpack-cli": "3.3.12",
148148
"webpack-dev-server": "3.11.0",
149-
"whatwg-fetch": "3.4.0"
149+
"whatwg-fetch": "3.4.1"
150150
},
151151
"resolutions": {
152152
"lodash": ">=4.17.20",
153153
"minimist": ">=1.2.5",
154154
"acorn": ">=7.4.0",
155155
"autolinker": ">=3.14.1",
156156
"bl": ">=2.2.1",
157-
"decompress": ">=4.2.1"
157+
"decompress": ">=4.2.1",
158+
"node-forge": ">=0.10.0"
158159
},
159160
"license": "MIT",
160161
"files": [

website/templates/pages/demo/demo.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -106,8 +106,7 @@ function prepareRequest(url: string): Request {
106106
} else if ((values = bitbucketPrUrl.exec(url))) {
107107
fetchUrl = bitbucketUrlGen(values[1], values[2], 'pullrequests', values[3]);
108108
} else {
109-
console.info('Could not parse url, using the provided url.');
110-
fetchUrl = 'https://crossorigin.me/' + url;
109+
fetchUrl = url;
111110
}
112111

113112
return {

0 commit comments

Comments
 (0)
0