Skip to content

Commit

Permalink
Replace minilog with nanolog
Browse files Browse the repository at this point in the history
  • Loading branch information
GarboMuffin committed Jan 14, 2024
1 parent 6632ac8 commit 5cc7041
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 19 deletions.
23 changes: 8 additions & 15 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,12 @@
"scratch-render-fonts": "github:TurboWarp/scratch-render-fonts#master"
},
"dependencies": {
"@turbowarp/nanolog": "^0.1.0",
"base64-js": "1.2.1",
"base64-loader": "1.0.0",
"css-tree": "1.1.3",
"dompurify": "2.2.7",
"fastestsmallesttextencoderdecoder": "^1.0.22",
"minilog": "3.1.0",
"transformation-matrix": "1.15.0"
},
"devDependencies": {
Expand Down
6 changes: 3 additions & 3 deletions src/util/log.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
const minilog = require('minilog');
minilog.enable();
const nanolog = require('@turbowarp/nanolog');
nanolog.enable();

module.exports = minilog('scratch-svg-render');
module.exports = nanolog('scratch-svg-render');

0 comments on commit 5cc7041

Please sign in to comment.