Skip to content

Commit

Permalink
fix(deps): update dependency @google-cloud/pubsub to ^0.21.0 (#183)
Browse files Browse the repository at this point in the history
  • Loading branch information
renovate[bot] authored and JustinBeckwith committed Nov 16, 2018
1 parent 8f529ca commit 5222ba9
Show file tree
Hide file tree
Showing 7 changed files with 21 additions and 22 deletions.
1 change: 1 addition & 0 deletions dlp/.eslintrc.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
rules:
no-console: off
no-warning-comments: off
12 changes: 6 additions & 6 deletions dlp/inspect.js
Original file line number Diff line number Diff line change
Expand Up @@ -190,11 +190,11 @@ function inspectGCSFile(
// [START dlp_inspect_gcs]
// Import the Google Cloud client libraries
const DLP = require('@google-cloud/dlp');
const Pubsub = require('@google-cloud/pubsub');
const {PubSub} = require('@google-cloud/pubsub');

// Instantiates clients
const dlp = new DLP.DlpServiceClient();
const pubsub = new Pubsub();
const pubsub = new PubSub();

// The project ID to run the API call under
// const callingProjectId = process.env.GCLOUD_PROJECT;
Expand Down Expand Up @@ -337,11 +337,11 @@ function inspectDatastore(
// [START dlp_inspect_datastore]
// Import the Google Cloud client libraries
const DLP = require('@google-cloud/dlp');
const Pubsub = require('@google-cloud/pubsub');
const {PubSub} = require('@google-cloud/pubsub');

// Instantiates clients
const dlp = new DLP.DlpServiceClient();
const pubsub = new Pubsub();
const pubsub = new PubSub();

// The project ID to run the API call under
// const callingProjectId = process.env.GCLOUD_PROJECT;
Expand Down Expand Up @@ -494,11 +494,11 @@ function inspectBigquery(
// [START dlp_inspect_bigquery]
// Import the Google Cloud client libraries
const DLP = require('@google-cloud/dlp');
const Pubsub = require('@google-cloud/pubsub');
const {PubSub} = require('@google-cloud/pubsub');

// Instantiates clients
const dlp = new DLP.DlpServiceClient();
const pubsub = new Pubsub();
const pubsub = new PubSub();

// The project ID to run the API call under
// const callingProjectId = process.env.GCLOUD_PROJECT;
Expand Down
4 changes: 2 additions & 2 deletions dlp/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
"test": "ava -T 5m --verbose system-test/*.test.js"
},
"dependencies": {
"@google-cloud/dlp": "0.9.0",
"@google-cloud/pubsub": "^0.20.0",
"@google-cloud/dlp": "^0.9.0",
"@google-cloud/pubsub": "^0.21.1",
"mime": "^2.3.1",
"yargs": "^12.0.1"
},
Expand Down
20 changes: 10 additions & 10 deletions dlp/risk.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,11 @@ function numericalRiskAnalysis(
// [START dlp_numerical_stats]
// Import the Google Cloud client libraries
const DLP = require('@google-cloud/dlp');
const Pubsub = require('@google-cloud/pubsub');
const {PubSub} = require('@google-cloud/pubsub');

// Instantiates clients
const dlp = new DLP.DlpServiceClient();
const pubsub = new Pubsub();
const pubsub = new PubSub();

// The project ID to run the API call under
// const callingProjectId = process.env.GCLOUD_PROJECT;
Expand Down Expand Up @@ -180,11 +180,11 @@ function categoricalRiskAnalysis(
// [START dlp_categorical_stats]
// Import the Google Cloud client libraries
const DLP = require('@google-cloud/dlp');
const Pubsub = require('@google-cloud/pubsub');
const {PubSub} = require('@google-cloud/pubsub');

// Instantiates clients
const dlp = new DLP.DlpServiceClient();
const pubsub = new Pubsub();
const pubsub = new PubSub();

// The project ID to run the API call under
// const callingProjectId = process.env.GCLOUD_PROJECT;
Expand Down Expand Up @@ -337,11 +337,11 @@ function kAnonymityAnalysis(
// [START dlp_k_anonymity]
// Import the Google Cloud client libraries
const DLP = require('@google-cloud/dlp');
const Pubsub = require('@google-cloud/pubsub');
const {PubSub} = require('@google-cloud/pubsub');

// Instantiates clients
const dlp = new DLP.DlpServiceClient();
const pubsub = new Pubsub();
const pubsub = new PubSub();

// The project ID to run the API call under
// const callingProjectId = process.env.GCLOUD_PROJECT;
Expand Down Expand Up @@ -485,11 +485,11 @@ function lDiversityAnalysis(
// [START dlp_l_diversity]
// Import the Google Cloud client libraries
const DLP = require('@google-cloud/dlp');
const Pubsub = require('@google-cloud/pubsub');
const {PubSub} = require('@google-cloud/pubsub');

// Instantiates clients
const dlp = new DLP.DlpServiceClient();
const pubsub = new Pubsub();
const pubsub = new PubSub();

// The project ID to run the API call under
// const callingProjectId = process.env.GCLOUD_PROJECT;
Expand Down Expand Up @@ -647,11 +647,11 @@ function kMapEstimationAnalysis(
// [START dlp_k_map]
// Import the Google Cloud client libraries
const DLP = require('@google-cloud/dlp');
const Pubsub = require('@google-cloud/pubsub');
const {PubSub} = require('@google-cloud/pubsub');

// Instantiates clients
const dlp = new DLP.DlpServiceClient();
const pubsub = new Pubsub();
const pubsub = new PubSub();

// The project ID to run the API call under
// const callingProjectId = process.env.GCLOUD_PROJECT;
Expand Down
2 changes: 0 additions & 2 deletions dlp/system-test/.eslintrc.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
---
rules:
node/no-unpublished-require: off
node/no-unsupported-features: off
no-empty: off
2 changes: 1 addition & 1 deletion dlp/system-test/inspect.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
const path = require('path');
const test = require('ava');
const tools = require('@google-cloud/nodejs-repo-tools');
const PubSub = require('@google-cloud/pubsub');
const {PubSub} = require('@google-cloud/pubsub');
const pubsub = new PubSub();
const uuid = require('uuid');

Expand Down
2 changes: 1 addition & 1 deletion dlp/system-test/risk.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
const path = require('path');
const test = require('ava');
const uuid = require('uuid');
const PubSub = require(`@google-cloud/pubsub`);
const {PubSub} = require(`@google-cloud/pubsub`);
const pubsub = new PubSub();
const tools = require('@google-cloud/nodejs-repo-tools');

Expand Down

0 comments on commit 5222ba9

Please sign in to comment.