Skip to content

Commit 7930493

Browse files
committed
feat: upgrade dependencies
Upgrade dependencies that doesn't require Node version bump.
1 parent acc7d12 commit 7930493

File tree

4 files changed

+149
-90
lines changed

4 files changed

+149
-90
lines changed

package.json

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -60,18 +60,18 @@
6060
}
6161
},
6262
"dependencies": {
63-
"@babel/code-frame": "^7.8.3",
64-
"@types/json-schema": "^7.0.5",
65-
"chalk": "^4.1.0",
66-
"chokidar": "^3.4.2",
67-
"cosmiconfig": "^6.0.0",
63+
"@babel/code-frame": "^7.14.5",
64+
"@types/json-schema": "^7.0.9",
65+
"chalk": "^4.1.2",
66+
"chokidar": "^3.5.2",
67+
"cosmiconfig": "^7.0.0",
6868
"deepmerge": "^4.2.2",
6969
"fs-extra": "^9.0.0",
70-
"glob": "^7.1.6",
71-
"memfs": "^3.1.2",
70+
"glob": "^7.1.7",
71+
"memfs": "^3.2.2",
7272
"minimatch": "^3.0.4",
73-
"schema-utils": "2.7.0",
74-
"semver": "^7.3.2",
73+
"schema-utils": "3.1.1",
74+
"semver": "^7.3.5",
7575
"tapable": "^2.0.0"
7676
},
7777
"peerDependencies": {

src/ForkTsCheckerWebpackPlugin.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import webpack from 'webpack';
2-
import validateOptions from 'schema-utils';
2+
import { validate } from 'schema-utils';
33
// type only dependency
44
// eslint-disable-next-line node/no-extraneous-import
55
import type { JSONSchema7 } from 'json-schema';
@@ -39,12 +39,12 @@ class ForkTsCheckerWebpackPlugin {
3939

4040
// first validate options directly passed to the constructor
4141
const configuration = { name: 'ForkTsCheckerWebpackPlugin' };
42-
validateOptions(schema as JSONSchema7, options, configuration);
42+
validate(schema as JSONSchema7, options, configuration);
4343

4444
this.options = merge(externalOptions || {}, options || {});
4545

4646
// then validate merged options
47-
validateOptions(schema as JSONSchema7, this.options, configuration);
47+
validate(schema as JSONSchema7, this.options, configuration);
4848
}
4949

5050
public static getCompilerHooks(compiler: webpack.Compiler) {

test/unit/formatter/FormatterConfiguration.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ describe('formatter/FormatterConfiguration', () => {
5050
' > 1 | const foo: number = "1";',
5151
' | ^^^',
5252
' 2 | const bar = 1;',
53-
' 3 | ',
53+
' 3 |',
5454
' 4 | function baz() {',
5555
].join(os.EOL);
5656
const CUSTOM_CODEFRAME_FORMATTER_OUTPUT = [

0 commit comments

Comments
 (0)