Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 2 commits into from
Aug 25, 2018
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
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@
]
},
"dependencies": {
"@google-cloud/common": "^0.21.0",
"@google-cloud/common": "^0.23.0",
"@google-cloud/paginator": "^0.1.0",
"@google-cloud/promisify": "^0.3.0",
"arrify": "^1.0.0",
Expand Down
1 change: 1 addition & 0 deletions src/bucket.ts
Original file line number Diff line number Diff line change
Expand Up @@ -340,6 +340,7 @@ class Bucket extends ServiceObject {
id: name,
createMethod: storage.createBucket.bind(storage),
methods,
requestModule: request,

This comment was marked as spam.

This comment was marked as spam.

This comment was marked as spam.

});

this.name = name;
Expand Down
2 changes: 2 additions & 0 deletions src/channel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@

import {ServiceObject, util} from '@google-cloud/common';
import {promisifyAll} from '@google-cloud/promisify';
import * as request from 'request';

/**
* Create a channel object to interact with a Cloud Storage channel.
Expand Down Expand Up @@ -48,6 +49,7 @@ class Channel extends ServiceObject {
methods: {
// Only need `request`.
},
requestModule: request,
};

super(config);
Expand Down
2 changes: 2 additions & 0 deletions src/file.ts
Original file line number Diff line number Diff line change
Expand Up @@ -239,6 +239,7 @@ class File extends ServiceObject {
parent: bucket,
baseUrl: '/o',
id: encodeURIComponent(name),
requestModule: r,
});

options = options || {};
Expand Down Expand Up @@ -2589,6 +2590,7 @@ class File extends ServiceObject {
},
metadata: options.metadata,
request: reqOpts,
requestModule: r,
});
}
}
Expand Down
2 changes: 2 additions & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ import {Service} from '@google-cloud/common';
import {paginator} from '@google-cloud/paginator';
import {promisifyAll} from '@google-cloud/promisify';
import * as extend from 'extend';
import * as request from 'request';

import {Bucket} from './bucket';
import {Channel} from './channel';
Expand Down Expand Up @@ -230,6 +231,7 @@ class Storage extends Service {
'https://www.googleapis.com/auth/devstorage.full_control',
],
packageJson: require('../../package.json'),
requestModule: request,
};

super(config, options);
Expand Down
2 changes: 2 additions & 0 deletions src/notification.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
import {ServiceObject, util} from '@google-cloud/common';
import {promisifyAll} from '@google-cloud/promisify';
import * as is from 'is';
import * as request from 'request';

/**
* A Notification object is created from your {@link Bucket} object using
Expand Down Expand Up @@ -123,6 +124,7 @@ class Notification extends ServiceObject {
id: id.toString(),
createMethod: bucket.createNotification.bind(bucket),
methods,
requestModule: request,
});
}

Expand Down