Skip to content

Commit

Permalink
Revert "Update dependencies (#34)"
Browse files Browse the repository at this point in the history
This reverts commit aa3b2cf.
  • Loading branch information
stephenplusplus committed Jan 31, 2018
1 parent 51137e0 commit 83b265a
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 5 deletions.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
node_modules
coverage
*.log
package-lock.json
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
var async = require('async');
var crypto = require('crypto');
var fs = require('fs');
var GoogleAuth = require('google-auth-library').GoogleAuth;
var GoogleAuth = require('google-auth-library');
var gcpMetadata = require('gcp-metadata');
var path = require('path');
var request = require('request');
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,13 @@
"repository": "stephenplusplus/google-auto-auth",
"license": "MIT",
"devDependencies": {
"mocha": "^5.0.0",
"mocha": "^3.3.0",
"mockery": "^2.0.0"
},
"dependencies": {
"async": "^2.3.0",
"gcp-metadata": "^0.4.1",
"google-auth-library": "^1.2.0",
"google-auth-library": "^0.12.0",
"request": "^2.79.0"
},
"engines": {
Expand Down
2 changes: 1 addition & 1 deletion test.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ describe('googleAutoAuth', function () {
var auth;

before(function () {
mockery.registerMock('google-auth-library', { GoogleAuth: fakeGoogleAuthLibrary });
mockery.registerMock('google-auth-library', fakeGoogleAuthLibrary);
mockery.registerMock('crypto', fakeCrypto);
mockery.registerMock('request', fakeRequest);
mockery.registerMock('gcp-metadata', fakeGcpMetadata);
Expand Down

0 comments on commit 83b265a

Please sign in to comment.