Skip to content

Commit ea5129b

Browse files
committed
bump: Update dependencies specially acorn and minimist
1 parent 3d5ebc7 commit ea5129b

File tree

3 files changed

+638
-513
lines changed

3 files changed

+638
-513
lines changed

package.json

Lines changed: 22 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -98,61 +98,63 @@
9898
"@types/highlight.js": "9.12.3",
9999
"@types/hogan.js": "3.0.0",
100100
"@types/html-webpack-plugin": "3.2.2",
101-
"@types/jest": "25.1.1",
102-
"@types/mini-css-extract-plugin": "0.9.0",
103-
"@types/mkdirp": "0.5.2",
104-
"@types/node": "13.7.0",
101+
"@types/jest": "25.1.4",
102+
"@types/mini-css-extract-plugin": "0.9.1",
103+
"@types/mkdirp": "1.0.0",
104+
"@types/node": "13.9.1",
105105
"@types/nopt": "3.0.29",
106-
"@types/webpack": "4.41.5",
107-
"@typescript-eslint/eslint-plugin": "2.19.0",
108-
"@typescript-eslint/parser": "2.19.0",
106+
"@types/webpack": "4.41.7",
107+
"@typescript-eslint/eslint-plugin": "2.23.0",
108+
"@typescript-eslint/parser": "2.23.0",
109109
"autoprefixer": "9.7.4",
110110
"bulma": "^0.8.0",
111-
"clipboard": "2.0.4",
111+
"clipboard": "2.0.6",
112112
"codacy-coverage": "3.4.0",
113113
"copy-webpack-plugin": "5.1.1",
114114
"css-loader": "3.4.2",
115115
"cssnano": "4.1.10",
116116
"eslint": "6.8.0",
117117
"eslint-config-prettier": "6.10.0",
118118
"eslint-plugin-import": "2.20.1",
119-
"eslint-plugin-jest": "23.6.0",
120-
"eslint-plugin-json": "2.0.1",
119+
"eslint-plugin-jest": "23.8.2",
120+
"eslint-plugin-json": "2.1.0",
121121
"eslint-plugin-node": "11.0.0",
122122
"eslint-plugin-optimize-regex": "1.1.7",
123123
"eslint-plugin-promise": "4.2.1",
124124
"eslint-plugin-sonarjs": "0.5.0",
125-
"file-loader": "5.0.2",
125+
"file-loader": "5.1.0",
126126
"handlebars": "4.7.3",
127127
"handlebars-loader": "1.7.1",
128128
"html-webpack-plugin": "3.2.0",
129-
"husky": "4.2.1",
129+
"husky": "4.2.3",
130130
"image-webpack-loader": "6.0.0",
131131
"is-ci-cli": "2.0.0",
132132
"jest": "25.1.0",
133-
"lint-staged": "10.0.7",
133+
"lint-staged": "10.0.8",
134134
"markdown-toc": "^1.2.0",
135135
"mini-css-extract-plugin": "0.9.0",
136136
"mkdirp": "1.0.3",
137-
"nopt": "4.0.1",
138-
"postcss": "7.0.26",
137+
"nopt": "4.0.3",
138+
"postcss": "7.0.27",
139139
"postcss-cli": "7.1.0",
140140
"postcss-import": "12.0.1",
141141
"postcss-loader": "3.0.0",
142142
"postcss-preset-env": "6.7.0",
143143
"prettier": "1.19.1",
144-
"ts-jest": "25.2.0",
144+
"ts-jest": "25.2.1",
145145
"ts-loader": "6.2.1",
146146
"ts-node": "8.6.2",
147-
"typescript": "3.7.5",
147+
"typescript": "3.8.3",
148148
"url-loader": "3.0.0",
149-
"webpack": "4.41.5",
150-
"webpack-cli": "3.3.10",
149+
"webpack": "4.42.0",
150+
"webpack-cli": "3.3.11",
151151
"webpack-dev-server": "3.10.3",
152152
"whatwg-fetch": "3.0.0"
153153
},
154154
"resolutions": {
155-
"lodash": "4.17.15"
155+
"lodash": ">=4.17.15",
156+
"minimist": ">=1.2.2",
157+
"acorn": ">=7.1.1"
156158
},
157159
"license": "MIT",
158160
"files": [

src/diff-parser.ts

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -182,12 +182,16 @@ export function parse(diffInput: string, config: DiffParserConfig = {}): DiffFil
182182
}
183183

184184
/* Create block metadata */
185-
// eslint-disable-next-line
186-
// @ts-ignore
187185
currentBlock = {
188186
lines: [],
187+
// eslint-disable-next-line
188+
// @ts-ignore
189189
oldStartLine: oldLine,
190+
// eslint-disable-next-line
191+
// @ts-ignore
190192
oldStartLine2: oldLine2,
193+
// eslint-disable-next-line
194+
// @ts-ignore
191195
newStartLine: newLine,
192196
header: line,
193197
};

0 commit comments

Comments
 (0)