Skip to content

Commit

Permalink
chore(deps): update dependency @google-cloud/common to ^0.23.0 (#92)
Browse files Browse the repository at this point in the history
  • Loading branch information
fhinkel authored Sep 4, 2018
1 parent 944a1da commit e1c3da0
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 4 deletions.
3 changes: 2 additions & 1 deletion packages/google-cloud-dns/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
"system-test": "mocha system-test/*.js --timeout 600000"
},
"dependencies": {
"@google-cloud/common": "^0.22.0",
"@google-cloud/common": "^0.23.0",
"@google-cloud/paginator": "^0.1.0",
"@google-cloud/promisify": "^0.3.0",
"arrify": "^1.0.1",
Expand All @@ -64,6 +64,7 @@
"lodash.groupby": "^4.6.0",
"methmeth": "^1.1.0",
"propprop": "^0.3.1",
"request": "^2.88.0",
"string-format-obj": "^1.1.1"
},
"devDependencies": {
Expand Down
2 changes: 2 additions & 0 deletions packages/google-cloud-dns/src/change.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@

'use strict';

const request = require('request');
const {ServiceObject} = require('@google-cloud/common');
const {promisifyAll} = require('@google-cloud/promisify');

Expand Down Expand Up @@ -179,6 +180,7 @@ class Change extends ServiceObject {
*/
id: id,
methods: methods,
requestModule: request,
});
}
/**
Expand Down
5 changes: 2 additions & 3 deletions packages/google-cloud-dns/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ const {paginator} = require('@google-cloud/paginator');
const {promisifyAll} = require('@google-cloud/promisify');
const extend = require('extend');
const is = require('is');
const util = require('util');
const request = require('request');

const Zone = require('./zone');

Expand Down Expand Up @@ -89,6 +89,7 @@ class DNS extends Service {
'https://www.googleapis.com/auth/cloud-platform',
],
packageJson: require('../package.json'),
requestModule: request,
};
super(config, options);
}
Expand Down Expand Up @@ -275,8 +276,6 @@ class DNS extends Service {
}
}

util.inherits(DNS, Service);

/**
* Get {@link Zone} objects for all of the zones in your project as
* a readable object stream.
Expand Down
2 changes: 2 additions & 0 deletions packages/google-cloud-dns/src/zone.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ const fs = require('fs');
const groupBy = require('lodash.groupby');
const is = require('is');
const prop = require('propprop');
const request = require('request');
const zonefile = require('dns-zonefile');

const Change = require('./change');
Expand Down Expand Up @@ -211,6 +212,7 @@ class Zone extends ServiceObject {
id: name,
createMethod: dns.createZone.bind(dns),
methods: methods,
requestModule: request,
});
/**
* @name Zone#name
Expand Down

0 comments on commit e1c3da0

Please sign in to comment.