Skip to content

Commit

Permalink
Update package googleapis to ^47.0.0 (#110)
Browse files Browse the repository at this point in the history
  • Loading branch information
tonysan authored Mar 14, 2020
1 parent 403b9b8 commit b39846e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,9 @@ const {google} = require('googleapis');
const pify = require('pify');
const output = require('./lib/output');
const {getOptions} = require('./lib/options-handler');
const {pagespeedapi} = google.pagespeedonline('v5');

const {runpagespeed} = pify(google.pagespeedonline('v5').pagespeedapi);
const runpagespeed = pify(pagespeedapi.runpagespeed).bind(pagespeedapi);

const psi = (url, options) => Promise.resolve().then(() => {
if (!url) {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
],
"dependencies": {
"chalk": "^2.4.2",
"googleapis": "^38.0.0",
"googleapis": "^47.0.0",
"humanize-url": "^2.1.0",
"meow": "^5.0.0",
"pify": "^4.0.0",
Expand Down

0 comments on commit b39846e

Please sign in to comment.