Skip to content
This repository was archived by the owner on Sep 17, 2022. It is now read-only.

Commit 1879b93

Browse files
renovate[bot]renovate-botDemivan
authored
Update all non-major dependencies (#674)
* Update all non-major dependencies * Fix typescript error Co-authored-by: Renovate Bot <[email protected]> Co-authored-by: Ivan Demchuk <[email protected]>
1 parent c7ad03c commit 1879b93

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
"license": "MIT",
4141
"devDependencies": {
4242
"@types/loader-utils": "^2.0.3",
43-
"webpack": "^5.50.0"
43+
"webpack": "^5.51.1"
4444
},
4545
"dependencies": {
4646
"loader-utils": "^2.0.0"

src/index.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,8 @@ const loader: LoaderDefinitionFunction = function (this, source, sourceMap) {
4141
try {
4242
this.callback(null, generateCode(source, parseQuery(this.resourceQuery), this.hot), sourceMap)
4343
} catch (err) {
44-
this.emitError(err)
45-
this.callback(err)
44+
this.emitError(err as Error)
45+
this.callback(err as Error)
4646
}
4747
}
4848

0 commit comments

Comments
 (0)