Skip to content

Commit

Permalink
Update snazzy dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
tagliala committed Apr 22, 2022
1 parent e534fbd commit c042ac3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
var Standard = require('standard')
var format = require('util').format
var loaderUtils = require('loader-utils')
var snazzy = require('snazzy')
var Snazzy = require('snazzy')
var assign = require('object-assign')

module.exports = function standardLoader (input, map) {
Expand Down Expand Up @@ -41,7 +41,7 @@ module.exports = function standardLoader (input, map) {
}, [])

if (config.snazzy !== false) {
snazzy({ encoding: 'utf8' })
new Snazzy({ encoding: 'utf8' })
.on('data', function (data) {
emit(new StandardJSError(data))
})
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"dependencies": {
"loader-utils": "^1.1.0",
"object-assign": "^4.1.1",
"snazzy": "^8.0.0"
"snazzy": "^9.0.0"
},
"peerDependencies": {
"standard": "*"
Expand Down

0 comments on commit c042ac3

Please sign in to comment.