diff --git a/package-lock.json b/package-lock.json index cc7447e..7767409 100644 --- a/package-lock.json +++ b/package-lock.json @@ -9,8 +9,8 @@ "version": "0.1.0", "license": "BSD-3-Clause", "dependencies": { + "@turbowarp/nanolog": "^0.1.0", "audio-context": "1.0.1", - "minilog": "^3.0.1", "startaudiocontext": "1.2.1" }, "devDependencies": { @@ -490,6 +490,11 @@ "eslint-scope": "5.1.1" } }, + "node_modules/@turbowarp/nanolog": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/@turbowarp/nanolog/-/nanolog-0.1.0.tgz", + "integrity": "sha512-1NB/kWFOrdNd2wpY55CTGDqkua+syn1wMjYhJ8w565YzeRa9WflR2jnxKSi3oYzOK9Rk0R6JG7HVxvp2E3vJlg==" + }, "node_modules/@webassemblyjs/ast": { "version": "1.9.0", "resolved": "https://registry.npmjs.org/@webassemblyjs/ast/-/ast-1.9.0.tgz", @@ -6168,11 +6173,6 @@ "node": ">=0.10.0" } }, - "node_modules/microee": { - "version": "0.0.6", - "resolved": "https://registry.npmjs.org/microee/-/microee-0.0.6.tgz", - "integrity": "sha512-/LdL3jiBWDJ3oQIRLgRhfeCZNE3patM1LiwCC124+/HHn10sI/G2OAyiMfTNzH5oYWoZBk0tRZADAUOv+0Wt0A==" - }, "node_modules/micromatch": { "version": "3.1.10", "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-3.1.10.tgz", @@ -6245,14 +6245,6 @@ "dom-walk": "^0.1.0" } }, - "node_modules/minilog": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/minilog/-/minilog-3.1.0.tgz", - "integrity": "sha512-Xfm4jWjWzSAduvEWtuZX/8TMkxfJlCfH7XvikCZe3ptojYTBq1eoEs3rh9/3LNLOckUP86m+8l8+Iw5NU/pBww==", - "dependencies": { - "microee": "0.0.6" - } - }, "node_modules/minimalistic-assert": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/minimalistic-assert/-/minimalistic-assert-1.0.1.tgz", diff --git a/package.json b/package.json index 7f71bf6..a201573 100644 --- a/package.json +++ b/package.json @@ -22,8 +22,8 @@ }, "homepage": "https://github.com/TurboWarp/scratch-audio#readme", "dependencies": { + "@turbowarp/nanolog": "^0.1.0", "audio-context": "1.0.1", - "minilog": "^3.0.1", "startaudiocontext": "1.2.1" }, "devDependencies": { diff --git a/src/log.js b/src/log.js index da6ed3c..13457b8 100644 --- a/src/log.js +++ b/src/log.js @@ -1,4 +1,4 @@ -const minilog = require('minilog'); -minilog.enable(); +const nanolog = require('@turbowarp/nanolog'); +nanolog.enable(); -module.exports = minilog('scratch-audioengine'); +module.exports = nanolog('scratch-audioengine'); diff --git a/webpack.config.js b/webpack.config.js index e37c8f7..3a15568 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -24,7 +24,6 @@ module.exports = { }, externals: { 'audio-context': true, - 'minilog': true, 'startaudiocontext': true } };