diff --git a/package.json b/package.json index 112f06e..13207ac 100644 --- a/package.json +++ b/package.json @@ -35,7 +35,7 @@ "body-parser": "^1.17.1", "chalk": "^2.1.0", "cross-env": "^5.1.1", - "dataloader": "^1.3.0", + "dataloader": "^2.0.0", "express": "^4.15.4", "globby": "^6.1.0", "graphql-apollo-errors": "^2.0.2", diff --git a/yarn.lock b/yarn.lock index 4a9ae81..db7baec 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1526,9 +1526,10 @@ dashdash@^1.12.0: dependencies: assert-plus "^1.0.0" -dataloader@^1.3.0: - version "1.3.0" - resolved "https://registry.yarnpkg.com/dataloader/-/dataloader-1.3.0.tgz#6fec5be4b30a712e4afd30b86b4334566b97673b" +dataloader@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/dataloader/-/dataloader-2.0.0.tgz#41eaf123db115987e21ca93c005cd7753c55fe6f" + integrity sha512-YzhyDAwA4TaQIhM5go+vCLmU0UikghC/t9DTQYZR2M/UvZ1MdOhPezSDZcjj9uqQJOMqjLcpWtyW2iNINdlatQ== dateformat@^1.0.11, dateformat@^1.0.12: version "1.0.12"