Skip to content

Commit 7b6b5cd

Browse files
author
Song Wang
committed
Remove lodash dependency
1 parent 8a415fe commit 7b6b5cd

2 files changed

Lines changed: 1 addition & 5 deletions

File tree

packages/pubsub/package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,6 @@
5656
"extend": "^3.0.0",
5757
"google-gax": "^0.6.0",
5858
"is": "^3.0.1",
59-
"lodash": "^4.15.0",
6059
"modelo": "^4.2.0",
6160
"propprop": "^0.3.0"
6261
},

packages/pubsub/src/v1/index.js

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ var publisherApi = require('./publisher_api');
1919
var subscriberApi = require('./subscriber_api');
2020
var extend = require('extend');
2121
var gax = require('google-gax');
22-
var lodash = require('lodash');
2322

2423
function v1(options) {
2524
options = extend({
@@ -33,7 +32,5 @@ function v1(options) {
3332
}
3433

3534
v1.SERVICE_ADDRESS = publisherApi.SERVICE_ADDRESS;
36-
v1.ALL_SCOPES = lodash.union(
37-
publisherApi.ALL_SCOPES,
38-
subscriberApi.ALL_SCOPES);
35+
v1.ALL_SCOPES = publisherApi.ALL_SCOPES;
3936
module.exports = v1;

0 commit comments

Comments
 (0)