Skip to content

Commit

Permalink
deps: use circular-json-for-egg to remove deprecate message (#3211)
Browse files Browse the repository at this point in the history
  • Loading branch information
dead-horse authored Nov 19, 2018
1 parent 19c7189 commit de81cae
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 6 deletions.
4 changes: 0 additions & 4 deletions .autod.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,5 @@ 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 lib/egg.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ const cluster = require('cluster-client');
const extend = require('extend2');
const ContextLogger = require('egg-logger').EggContextLogger;
const ContextCookies = require('egg-cookies');
const CircularJSON = require('circular-json');
const CircularJSON = require('circular-json-for-egg');
const ContextHttpClient = require('./core/context_httpclient');
const Messenger = require('./core/messenger');
const DNSCacheHttpClient = require('./core/dnscache_httpclient');
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"accepts": "^1.3.5",
"agentkeepalive": "^4.0.0",
"cache-content-type": "^1.0.1",
"circular-json": "0.5.5",
"circular-json-for-egg": "^1.0.0",
"cluster-client": "^2.1.1",
"debug": "^4.0.1",
"delegates": "^1.0.0",
Expand Down

0 comments on commit de81cae

Please sign in to comment.