Skip to content

Commit ce02c27

Browse files
renovate[bot]JustinBeckwith
authored andcommitted
fix(deps): update dependency arrify to v2 (#667)
1 parent c2ad574 commit ce02c27

File tree

7 files changed

+7
-8
lines changed

7 files changed

+7
-8
lines changed

package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@
5454
"@google-cloud/common": "^0.32.0",
5555
"@google-cloud/paginator": "^0.2.0",
5656
"@google-cloud/promisify": "^0.4.0",
57-
"arrify": "^1.0.0",
57+
"arrify": "^2.0.0",
5858
"async": "^2.0.1",
5959
"compressible": "^2.0.12",
6060
"concat-stream": "^2.0.0",
@@ -75,7 +75,6 @@
7575
},
7676
"devDependencies": {
7777
"@google-cloud/pubsub": "^0.28.0",
78-
"@types/arrify": "^1.0.4",
7978
"@types/async": "^2.0.49",
8079
"@types/compressible": "^2.0.0",
8180
"@types/concat-stream": "^1.6.0",

src/acl.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717
import {BodyResponseCallback, DecorateRequestOptions} from '@google-cloud/common';
1818
import {promisifyAll} from '@google-cloud/promisify';
19-
import * as arrify from 'arrify';
19+
import arrify = require('arrify');
2020
import * as r from 'request';
2121

2222
export interface AclOptions {

src/bucket.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
import {ApiError, BodyResponseCallback, DecorateRequestOptions, DeleteCallback, ExistsCallback, GetConfig, Metadata, MetadataResponse, ResponseBody, ServiceObject, util} from '@google-cloud/common';
1818
import {paginator} from '@google-cloud/paginator';
1919
import {promisifyAll} from '@google-cloud/promisify';
20-
import * as arrify from 'arrify';
20+
import arrify = require('arrify');
2121
import * as async from 'async';
2222
import * as extend from 'extend';
2323
import * as fs from 'fs';

src/iam.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717
import {BodyResponseCallback, DecorateRequestOptions} from '@google-cloud/common';
1818
import {promisifyAll} from '@google-cloud/promisify';
19-
import * as arrify from 'arrify';
19+
import arrify = require('arrify');
2020
import * as r from 'request';
2121

2222
import {Bucket} from './bucket';

src/storage.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
import {GoogleAuthOptions, Service} from '@google-cloud/common';
1818
import {paginator} from '@google-cloud/paginator';
1919
import {promisifyAll} from '@google-cloud/promisify';
20-
import * as arrify from 'arrify';
20+
import arrify = require('arrify');
2121
import * as r from 'request'; // Only for type declarations.
2222
import {Readable} from 'stream';
2323
import {teenyRequest} from 'teeny-request';

test/bucket.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
*/
1616

1717
import {DecorateRequestOptions, Metadata, ServiceObject, ServiceObjectConfig, util} from '@google-cloud/common';
18-
import * as arrify from 'arrify';
18+
import arrify = require('arrify');
1919
import * as assert from 'assert';
2020
import * as async from 'async';
2121
import * as mime from 'mime-types';

test/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717
import {DecorateRequestOptions, Service, ServiceConfig, util} from '@google-cloud/common';
1818
import {PromisifyAllOptions} from '@google-cloud/promisify';
19-
import * as arrify from 'arrify';
19+
import arrify = require('arrify');
2020
import * as assert from 'assert';
2121
import * as proxyquire from 'proxyquire';
2222
import * as r from 'request';

0 commit comments

Comments
 (0)