Skip to content

Commit 630568e

Browse files
bojeil-googleFeiyang1
authored andcommitted
Updates Auth closure dependency to latest. (#2736)
Fixes failing tests that were blocking the update.
1 parent 068ed5f commit 630568e

File tree

3 files changed

+26
-8
lines changed

3 files changed

+26
-8
lines changed

packages/auth/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
},
2424
"devDependencies": {
2525
"google-closure-compiler": "20200112.0.0",
26-
"google-closure-library": "20190709.0.0",
26+
"google-closure-library": "20200224.0.0",
2727
"gulp": "4.0.2",
2828
"gulp-sourcemaps": "2.6.5"
2929
},

packages/auth/test/testhelper.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -283,7 +283,8 @@ fireauth.common.testHelper.createMockJwt =
283283
// Extend base payload.
284284
goog.object.extend(basePayload, opt_payload || {});
285285
var encodedPayload =
286-
goog.crypt.base64.encodeString(JSON.stringify(basePayload), true);
286+
goog.crypt.base64.encodeString(JSON.stringify(basePayload),
287+
goog.crypt.base64.Alphabet.WEBSAFE);
287288
// Remove any trailing or leading dots from the payload component.
288289
return 'HEAD.' + encodedPayload.replace(/^\.+|\.+$/g, '') + '.SIGNATURE';
289290
};

yarn.lock

Lines changed: 23 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7361,18 +7361,18 @@ google-closure-compiler@^20190415.0.0:
73617361
google-closure-compiler-linux "^20190415.0.0"
73627362
google-closure-compiler-osx "^20190415.0.0"
73637363

7364-
7365-
version "20190709.0.0"
7366-
resolved "https://registry.npmjs.org/google-closure-library/-/google-closure-library-20190709.0.0.tgz#e2d10d1b05bc09b8b9fe9f924ba0c5ed49a143b5"
7367-
integrity sha512-AjctPpV+o+NbQ/o6ovRExj7ZCTpffpjFfOimwY1fAexmCiyZ6JFpFKOchibTZWTJY7GCRuJRg9KU8O2fTD8MlA==
7368-
73697364
73707365
version "20200101.0.0"
73717366
resolved "https://registry.npmjs.org/google-closure-library/-/google-closure-library-20200101.0.0.tgz#daa1fad3967d07ede670733c774fc51a22e556c5"
73727367
integrity sha512-BwCDk/aGyCWQr3UFfOL9QJMhNKV1F1i5hH45N6J1UsJtI0LDR3eD4U/plfc6ERef7wH03OyX00MubiyzKmkVMQ==
73737368
dependencies:
73747369
promises-aplus-tests "^2.1.2"
73757370

7371+
7372+
version "20200224.0.0"
7373+
resolved "https://registry.npmjs.org/google-closure-library/-/google-closure-library-20200224.0.0.tgz#70c36576b21c81c514cfbfcc001780c2fdacd173"
7374+
integrity sha512-cF9LP7F5Klj4go5TB4cPpcCvC/qgSVNYgzVS+bzxPgLvIiVL8aWOwApj6rsCkPY9Yr675FouylqNE24F31LWeQ==
7375+
73767376
google-gax@^1.7.5, google-gax@~1.12.0:
73777377
version "1.12.0"
73787378
resolved "https://registry.npmjs.org/google-gax/-/google-gax-1.12.0.tgz#f926f7e6abda245db38ecbebbbf58daaf3a8f687"
@@ -14986,7 +14986,24 @@ [email protected]:
1498614986
dependencies:
1498714987
inherits "2.0.1"
1498814988

14989-
"util@>=0.10.3 <1", util@^0.12.0:
14989+
"util@>=0.10.3 <1":
14990+
version "0.12.2"
14991+
resolved "https://registry.npmjs.org/util/-/util-0.12.2.tgz#54adb634c9e7c748707af2bf5a8c7ab640cbba2b"
14992+
integrity sha512-XE+MkWQvglYa+IOfBt5UFG93EmncEMP23UqpgDvVZVFBPxwmkK10QRp6pgU4xICPnWRf/t0zPv4noYSUq9gqUQ==
14993+
dependencies:
14994+
inherits "^2.0.3"
14995+
is-arguments "^1.0.4"
14996+
is-generator-function "^1.0.7"
14997+
safe-buffer "^5.1.2"
14998+
14999+
util@^0.11.0:
15000+
version "0.11.1"
15001+
resolved "https://registry.npmjs.org/util/-/util-0.11.1.tgz#3236733720ec64bb27f6e26f421aaa2e1b588d61"
15002+
integrity sha512-HShAsny+zS2TZfaXxD9tYj4HQGlBezXZMZuM/S5PKLLoZkShZiGk9o5CzukI1LVHZvjdvZ2Sj1aW/Ndn2NB/HQ==
15003+
dependencies:
15004+
inherits "2.0.3"
15005+
15006+
util@^0.12.0:
1499015007
version "0.12.1"
1499115008
resolved "https://registry.npmjs.org/util/-/util-0.12.1.tgz#f908e7b633e7396c764e694dd14e716256ce8ade"
1499215009
integrity sha512-MREAtYOp+GTt9/+kwf00IYoHZyjM8VU4aVrkzUlejyqaIjd2GztVl5V9hGXKlvBKE3gENn/FMfHE5v6hElXGcQ==

0 commit comments

Comments
 (0)