Skip to content

Commit

Permalink
Remove lodash dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
Song Wang committed Sep 1, 2016
1 parent 8a415fe commit 7b6b5cd
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
1 change: 0 additions & 1 deletion packages/pubsub/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,6 @@
"extend": "^3.0.0",
"google-gax": "^0.6.0",
"is": "^3.0.1",
"lodash": "^4.15.0",
"modelo": "^4.2.0",
"propprop": "^0.3.0"
},
Expand Down
5 changes: 1 addition & 4 deletions packages/pubsub/src/v1/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ var publisherApi = require('./publisher_api');
var subscriberApi = require('./subscriber_api');
var extend = require('extend');
var gax = require('google-gax');
var lodash = require('lodash');

function v1(options) {
options = extend({
Expand All @@ -33,7 +32,5 @@ function v1(options) {
}

v1.SERVICE_ADDRESS = publisherApi.SERVICE_ADDRESS;
v1.ALL_SCOPES = lodash.union(
publisherApi.ALL_SCOPES,
subscriberApi.ALL_SCOPES);
v1.ALL_SCOPES = publisherApi.ALL_SCOPES;
module.exports = v1;

0 comments on commit 7b6b5cd

Please sign in to comment.