diff options
author | 2017-04-19 13:23:06 -0700 | |
---|---|---|
committer | 2017-04-19 13:23:06 -0700 | |
commit | 633933ee0b516c31ba533fb9619b3fb39aa0d6bd (patch) | |
tree | e75f5bf84a003a74f6c6549d1d639b938887bd8d /templates | |
parent | 3b73161380a2457ba29ef0200eb73f9ee7e6dce4 (diff) |
Node: Don't depend on cares npm package
Diffstat (limited to 'templates')
-rw-r--r-- | templates/binding.gyp.template | 7 | ||||
-rw-r--r-- | templates/package.json.template | 3 |
2 files changed, 1 insertions, 9 deletions
diff --git a/templates/binding.gyp.template b/templates/binding.gyp.template index a2e8c58892..062900de14 100644 --- a/templates/binding.gyp.template +++ b/templates/binding.gyp.template @@ -264,13 +264,6 @@ }] ], 'targets': [ - <% - for lib in libs: - if 'grpc' in lib.transitive_deps or lib.name == 'grpc': - lib.deps.append('node_modules/cares/deps/cares/cares.gyp:cares') - for module in node_modules: - module.deps.append('node_modules/cares/deps/cares/cares.gyp:cares') - %> % for module in node_modules: % for lib in libs: % if lib.name in module.transitive_deps and lib.name not in ('boringssl', 'z'): diff --git a/templates/package.json.template b/templates/package.json.template index b69fd28d2a..3bae8fde43 100644 --- a/templates/package.json.template +++ b/templates/package.json.template @@ -36,8 +36,7 @@ "lodash": "^4.15.0", "nan": "^2.0.0", "node-pre-gyp": "^0.6.0", - "protobufjs": "^6.7.0", - "cares": "^1.1.5" + "protobufjs": "^6.7.0" }, "devDependencies": { "async": "^2.0.1", |