Skip to content

Commit

Permalink
deps: pin circular-json@0.5.5 to avoid output deprecate message (#3023)
Browse files Browse the repository at this point in the history
the author of `circular-json` recommended `flatted` to replace `circular-json`
but `flatted`'s output is too different with JSON.stringify which don't fit our needs
  • Loading branch information
dead-horse committed Sep 20, 2018
1 parent e3ffcbe commit abd8d12
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions .autod.conf.js
Expand Up @@ -27,5 +27,9 @@ module.exports = {
'@types/koa-router',
'@types/urllib',
],
keep: [
// circular-json > 0.5.5 will output some deprecate message, and we don't want to use flatted
'circular-json',
],
test: 'scripts',
};
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -20,7 +20,7 @@
"accepts": "^1.3.5",
"agentkeepalive": "^3.5.1",
"cache-content-type": "^1.0.1",
"circular-json": "^0.5.5",
"circular-json": "0.5.5",
"cluster-client": "^2.1.1",
"debug": "^4.0.1",
"delegates": "^1.0.0",
Expand Down

0 comments on commit abd8d12

Please sign in to comment.