Skip to content

Commit

Permalink
chore(deps): resolve audit issues (#49)
Browse files Browse the repository at this point in the history
  • Loading branch information
idoshamun authored Apr 17, 2020
1 parent 9447d9d commit 7a4005d
Show file tree
Hide file tree
Showing 6 changed files with 1,298 additions and 1,488 deletions.
Binary file modified helm/values/prod.yaml.enc
Binary file not shown.
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
}
},
"dependencies": {
"@google-cloud/pubsub": "^0.19.0",
"@google-cloud/pubsub": "^1.7.2",
"@google-cloud/trace-agent": "^3.6.1",
"@koa/cors": "2",
"@slack/client": "^4.3.1",
Expand Down Expand Up @@ -73,9 +73,9 @@
"eslint-plugin-mocha": "^4.11.0",
"husky": "^1.0.0-rc.14",
"knex-cleaner": "^1.1.4",
"mocha": "^4.0.1",
"mocha": "^6.2.0",
"mocha-junit-reporter": "^1.23.0",
"nock": "^9.4.2",
"nock": "^12.0.3",
"nodemon": "^1.12.1",
"sinon": "^4.0.1",
"sinon-chai": "^2.14.0",
Expand Down
7 changes: 5 additions & 2 deletions src/routes/publications.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import validator, { object, string } from 'koa-context-validator';
import cloudinary from 'cloudinary';
import Busboy from 'busboy';
import rp from 'request-promise-native';
import PubSub from '@google-cloud/pubsub';
import { PubSub } from '@google-cloud/pubsub';
import config from '../config';
import publication from '../models/publication';
import pubsRequest from '../models/pubsRequest';
Expand All @@ -25,7 +25,10 @@ const notifyPubRequest = (type, req) => {

const uploadLogo = (name, stream) =>
new Promise((resolve, reject) => {
const outStream = cloudinary.v2.uploader.upload_stream({ public_id: name, folder: 'logos' }, (err) => {
const outStream = cloudinary.v2.uploader.upload_stream({
public_id: name,
folder: 'logos',
}, (err) => {
if (err) {
reject(err);
} else {
Expand Down
2 changes: 1 addition & 1 deletion src/workers/newPosts.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import PubSub from '@google-cloud/pubsub';
import { PubSub } from '@google-cloud/pubsub';
import _ from 'lodash';
import config from '../config';
import logger from '../logger';
Expand Down
2 changes: 1 addition & 1 deletion src/workers/newViewEvents.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import PubSub from '@google-cloud/pubsub';
import { PubSub } from '@google-cloud/pubsub';
import config from '../config';
import logger from '../logger';
import event from '../models/event';
Expand Down
Loading

0 comments on commit 7a4005d

Please sign in to comment.