Skip to content
This repository was archived by the owner on Jul 13, 2023. It is now read-only.

fix(deps): update dependency @google-cloud/common to ^0.32.0 #285

Merged
merged 2 commits into from
Apr 4, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
"predocs-test": "npm run docs"
},
"dependencies": {
"@google-cloud/common": "^0.31.0",
"@google-cloud/common": "^0.32.0",
"@google-cloud/paginator": "^0.2.0",
"@google-cloud/projectify": "^0.3.0",
"@google-cloud/promisify": "^0.4.0",
Expand All @@ -46,8 +46,7 @@
"extend": "^3.0.1",
"gce-images": "^1.0.0",
"is": "^3.2.1",
"string-format-obj": "^1.1.1",
"teeny-request": "^3.10.0"
"string-format-obj": "^1.1.1"
},
"devDependencies": {
"@google-cloud/nodejs-repo-tools": "^3.0.0",
Expand Down
2 changes: 0 additions & 2 deletions src/address.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@

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

/**
* An Address object allows you to interact with a Google Compute Engine
Expand Down Expand Up @@ -163,7 +162,6 @@ class Address extends common.ServiceObject {
id: name,
createMethod: region.createAddress.bind(region),
methods: methods,
requestModule: teenyRequest,
});
/**
* @name Address#name
Expand Down
2 changes: 0 additions & 2 deletions src/autoscaler.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@

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

/*! Developer Documentation
*
Expand Down Expand Up @@ -178,7 +177,6 @@ class Autoscaler extends common.ServiceObject {
id: name,
createMethod: zone.createAutoscaler.bind(zone),
methods: methods,
requestModule: teenyRequest,
});
/**
* @name Autoscaler#name
Expand Down
2 changes: 0 additions & 2 deletions src/disk.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ const common = require('@google-cloud/common');
const format = require('string-format-obj');
const is = require('is');
const {promisifyAll} = require('@google-cloud/promisify');
const {teenyRequest} = require('teeny-request');
const Snapshot = require('./snapshot.js');

/**
Expand Down Expand Up @@ -173,7 +172,6 @@ class Disk extends common.ServiceObject {
id: name,
createMethod: zone.createDisk.bind(zone),
methods: methods,
requestModule: teenyRequest,
});
/**
* @name Disk#name
Expand Down
2 changes: 0 additions & 2 deletions src/firewall.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@

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

/**
* A Firewall object allows you to interact with a Google Compute Engine
Expand Down Expand Up @@ -166,7 +165,6 @@ class Firewall extends common.ServiceObject {
id: name,
createMethod: compute.createFirewall.bind(compute),
methods: methods,
requestModule: teenyRequest,
});
/**
* The parent {@link Compute} instance of this {@link Firewall} instance.
Expand Down
2 changes: 0 additions & 2 deletions src/health-check.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ const common = require('@google-cloud/common');
const extend = require('extend');
const is = require('is');
const {promisifyAll} = require('@google-cloud/promisify');
const {teenyRequest} = require('teeny-request');

/**
* Health checks ensure that Compute Engine forwards new connections only to
Expand Down Expand Up @@ -182,7 +181,6 @@ class HealthCheck extends common.ServiceObject {
compute.createHealthCheck(name, options, callback);
},
methods: methods,
requestModule: teenyRequest,
});
/**
* The parent {@link Compute} instance of this {@link HealthCheck} instance.
Expand Down
2 changes: 0 additions & 2 deletions src/image.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@

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

/**
* An Image object allows you to interact with a Google Compute Engine image.
Expand Down Expand Up @@ -157,7 +156,6 @@ class Image extends common.ServiceObject {
id: name,
createMethod: compute.createImage.bind(compute),
methods: methods,
requestModule: teenyRequest,
});
}
/**
Expand Down
2 changes: 0 additions & 2 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ const format = require('string-format-obj');
const is = require('is');
const {promisifyAll} = require('@google-cloud/promisify');
const {paginator} = require('@google-cloud/paginator');
const {teenyRequest} = require('teeny-request');

const Firewall = require('./firewall.js');
const HealthCheck = require('./health-check.js');
Expand Down Expand Up @@ -85,7 +84,6 @@ class Compute extends common.Service {
baseUrl: 'https://www.googleapis.com/compute/v1',
scopes: ['https://www.googleapis.com/auth/compute'],
packageJson: require('../package.json'),
requestModule: teenyRequest,
};
super(config, options);
}
Expand Down
2 changes: 0 additions & 2 deletions src/instance-group-manager.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ const arrify = require('arrify');
const common = require('@google-cloud/common');
const is = require('is');
const {promisifyAll} = require('@google-cloud/promisify');
const {teenyRequest} = require('teeny-request');

/**
* A managed instance group uses an instance template to create a group of identical instances.
Expand Down Expand Up @@ -141,7 +140,6 @@ class InstanceGroupManager extends common.ServiceObject {
id: name,
// createMethod: zone.createInstanceGroupManager.bind(zone),
methods: methods,
requestModule: teenyRequest,
});
/**
* The parent {@link Zone} instance of this {@link InstanceGroup} instance.
Expand Down
2 changes: 0 additions & 2 deletions src/instance-group.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ const common = require('@google-cloud/common');
const is = require('is');
const {promisifyAll} = require('@google-cloud/promisify');
const {paginator} = require('@google-cloud/paginator');
const {teenyRequest} = require('teeny-request');

/**
* You can create and manage groups of virtual machine instances so that you
Expand Down Expand Up @@ -173,7 +172,6 @@ class InstanceGroup extends common.ServiceObject {
id: name,
createMethod: zone.createInstanceGroup.bind(zone),
methods: methods,
requestModule: teenyRequest,
});
/**
* The parent {@link Zone} instance of this {@link InstanceGroup} instance.
Expand Down
2 changes: 0 additions & 2 deletions src/machine-type.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
'use strict';

const common = require('@google-cloud/common');
const {teenyRequest} = require('teeny-request');

/**
* A MachineType object allows you to interact with a Google Compute Engine
Expand Down Expand Up @@ -129,7 +128,6 @@ class MachineType extends common.ServiceObject {
*/
id: name,
methods: methods,
requestModule: teenyRequest,
});
/**
* The parent {@link Zone} instance of this {@link MachineType} instance.
Expand Down
2 changes: 0 additions & 2 deletions src/network.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ const common = require('@google-cloud/common');
const format = require('string-format-obj');
const is = require('is');
const {promisifyAll} = require('@google-cloud/promisify');
const {teenyRequest} = require('teeny-request');

/**
* A Network object allows you to interact with a Google Compute Engine network.
Expand Down Expand Up @@ -168,7 +167,6 @@ class Network extends common.ServiceObject {
id: name,
createMethod: compute.createNetwork.bind(compute),
methods: methods,
requestModule: teenyRequest,
});
/**
* The parent {@link Compute} instance of this {@link Network} instance.
Expand Down
2 changes: 0 additions & 2 deletions src/operation.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@

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

/**
* An Operation object allows you to interact with a Google Compute Engine
Expand Down Expand Up @@ -175,7 +174,6 @@ class Operation extends common.Operation {
*/
id: name,
methods: methods,
requestModule: teenyRequest,
});

/**
Expand Down
2 changes: 0 additions & 2 deletions src/project.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@

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

/**
* A Project object allows you to interact with your Google Compute Engine
Expand Down Expand Up @@ -96,7 +95,6 @@ class Project extends common.ServiceObject {
baseUrl: '',
id: '',
methods: methods,
requestModule: teenyRequest,
});
}
}
Expand Down
2 changes: 0 additions & 2 deletions src/region.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ const common = require('@google-cloud/common');
const is = require('is');
const {promisifyAll} = require('@google-cloud/promisify');
const {paginator} = require('@google-cloud/paginator');
const {teenyRequest} = require('teeny-request');

const Address = require('./address.js');
const Network = require('./network.js');
Expand Down Expand Up @@ -132,7 +131,6 @@ class Region extends common.ServiceObject {
*/
id: name,
methods: methods,
requestModule: teenyRequest,
});
/**
* @name Region#name
Expand Down
2 changes: 0 additions & 2 deletions src/rule.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@

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

/**
* Forwarding rules work in conjunction with target pools and target instances
Expand Down Expand Up @@ -187,7 +186,6 @@ class Rule extends common.ServiceObject {
id: name,
createMethod: scope.createRule.bind(scope),
methods: methods,
requestModule: teenyRequest,
});
/**
* @name Rule#scope
Expand Down
2 changes: 0 additions & 2 deletions src/service.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ const common = require('@google-cloud/common');
const format = require('string-format-obj');
const is = require('is');
const {promisifyAll} = require('@google-cloud/promisify');
const {teenyRequest} = require('teeny-request');

/**
* An HTTP(S) load balancing backend service is a centralized service for
Expand Down Expand Up @@ -182,7 +181,6 @@ class Service extends common.ServiceObject {
id: name,
createMethod: compute.createService.bind(compute),
methods: methods,
requestModule: teenyRequest,
});
/**
* The parent {@link Compute} instance of this {@link Service} instance.
Expand Down
2 changes: 0 additions & 2 deletions src/snapshot.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@

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

/**
* A Snapshot object allows you to interact with a Google Compute Engine
Expand Down Expand Up @@ -135,7 +134,6 @@ class Snapshot extends common.ServiceObject {
*/
id: name,
methods: methods,
requestModule: teenyRequest,
};
if (isDisk) {
config.createMethod = scope.createSnapshot.bind(scope);
Expand Down
2 changes: 0 additions & 2 deletions src/subnetwork.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@

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

/**
* An Subnetwork object allows you to interact with a Google Compute Engine
Expand Down Expand Up @@ -169,7 +168,6 @@ class Subnetwork extends common.ServiceObject {
id: name,
createMethod: region.createSubnetwork.bind(region),
methods: methods,
requestModule: teenyRequest,
});
/**
* @name Subnetwork#name
Expand Down
2 changes: 0 additions & 2 deletions src/vm.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ const format = require('string-format-obj');
const is = require('is');
const {promisifyAll} = require('@google-cloud/promisify');
const {replaceProjectIdToken} = require('@google-cloud/projectify');
const {teenyRequest} = require('teeny-request');

const Disk = require('./disk.js');

Expand Down Expand Up @@ -225,7 +224,6 @@ class VM extends common.ServiceObject {
id: name,
createMethod: zone.createVM.bind(zone),
methods: methods,
requestModule: teenyRequest,
});

/**
Expand Down
2 changes: 0 additions & 2 deletions src/zone.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ const {GCEImages} = require('gce-images');
const is = require('is');
const {promisifyAll} = require('@google-cloud/promisify');
const {paginator} = require('@google-cloud/paginator');
const {teenyRequest} = require('teeny-request');

const Autoscaler = require('./autoscaler.js');
const Disk = require('./disk.js');
Expand Down Expand Up @@ -139,7 +138,6 @@ class Zone extends common.ServiceObject {
*/
id: name,
methods: methods,
requestModule: teenyRequest,
});
/**
* The parent {@link Compute} instance of this {@link Zone} instance.
Expand Down