Update libphonenumber dependency

This commit is contained in:
Scott Nonnenberg 2019-04-11 18:01:28 -07:00
parent be7f10e4ac
commit 0ffda78ecb
3 changed files with 37 additions and 37 deletions

View file

@ -64,7 +64,7 @@
"form-data": "2.3.2",
"fs-extra": "5.0.0",
"glob": "7.1.2",
"google-libphonenumber": "3.0.7",
"google-libphonenumber": "3.2.2",
"got": "8.2.0",
"he": "1.2.0",
"intl-tel-input": "12.1.15",

View file

@ -3403,29 +3403,11 @@
"reasonCategory": "falseMatch",
"updated": "2018-09-19T18:06:35.446Z"
},
{
"rule": "jQuery-globalEval(",
"path": "node_modules/google-libphonenumber/dist/libphonenumber.js",
"line": " goog.globalEval(b);",
"lineNumber": 238,
"reasonCategory": "notExercisedByOurApp",
"updated": "2018-11-27T01:31:13.384Z",
"reasonDetail": "Part of their google closure 'debug loader'"
},
{
"rule": "DOM-document.write(",
"path": "node_modules/google-libphonenumber/dist/libphonenumber.js",
"line": " goog.global.document.write('<script type=\"text/javascript\" src=\"' + a + '\">\\x3c/script>');",
"lineNumber": 243,
"reasonCategory": "notExercisedByOurApp",
"updated": "2018-11-27T01:31:13.384Z",
"reasonDetail": "Part of their google closure 'debug loader'"
},
{
"rule": "eval",
"path": "node_modules/google-libphonenumber/dist/libphonenumber.js",
"line": " var a = !eval('\"use strict\";let x = 1; function f() { return typeof x; };f() == \"number\";');",
"lineNumber": 333,
"lineNumber": 232,
"reasonCategory": "usageTrusted",
"updated": "2018-11-27T01:31:13.384Z",
"reasonDetail": "Hard-coded string used for testing capabilities."
@ -3434,7 +3416,7 @@
"rule": "eval",
"path": "node_modules/google-libphonenumber/dist/libphonenumber.js",
"line": " eval(a);",
"lineNumber": 368,
"lineNumber": 267,
"reasonCategory": "notExercisedByOurApp",
"updated": "2018-11-27T01:31:13.384Z",
"reasonDetail": "Used to load dependencies; parent function loadModuleFromSource_ is used in one place only."
@ -3442,26 +3424,26 @@
{
"rule": "eval",
"path": "node_modules/google-libphonenumber/dist/libphonenumber.js",
"line": " eval(f + \"\\n//# sourceURL=\" + e);",
"lineNumber": 411,
"line": " eval(g + \"\\n//# sourceURL=\" + f);",
"lineNumber": 298,
"reasonCategory": "notExercisedByOurApp",
"updated": "2018-11-27T01:31:13.384Z",
"updated": "2019-04-12T00:50:12.124Z",
"reasonDetail": "Used for google closure compiler transpilation scenarios"
},
{
"rule": "eval",
"path": "node_modules/google-libphonenumber/dist/libphonenumber.js",
"line": " if (goog.global.eval(\"var _evalTest_ = 1;\"), \"undefined\" != typeof goog.global._evalTest_) {",
"lineNumber": 555,
"line": " goog.global.eval(\"var _evalTest_ = 1;\");",
"lineNumber": 444,
"reasonCategory": "usageTrusted",
"updated": "2018-11-27T01:31:13.384Z",
"reasonDetail": "Hard-coded string used for testing capabilities."
"updated": "2019-04-12T00:50:12.124Z",
"reasonDetail": "Hard-coded string used for testing capabilities"
},
{
"rule": "eval",
"path": "node_modules/google-libphonenumber/dist/libphonenumber.js",
"line": " goog.global.eval(a);",
"lineNumber": 566,
"lineNumber": 458,
"reasonCategory": "notExercisedByOurApp",
"updated": "2018-11-27T01:31:13.384Z",
"reasonDetail": "More transpilation logic"
@ -3470,7 +3452,7 @@
"rule": "jQuery-$(",
"path": "node_modules/google-libphonenumber/dist/libphonenumber.js",
"line": " b && (a = a.replace(/\\{\\$([^}]+)}/g, function(a, d) {",
"lineNumber": 606,
"lineNumber": 498,
"reasonCategory": "falseMatch",
"updated": "2018-11-27T01:31:13.384Z"
},
@ -3478,16 +3460,34 @@
"rule": "eval",
"path": "node_modules/google-libphonenumber/dist/libphonenumber.js",
"line": " return !!eval(a);",
"lineNumber": 719,
"lineNumber": 640,
"reasonCategory": "notExercisedByOurApp",
"updated": "2018-11-27T01:31:13.384Z",
"reasonDetail": "More transpilation logic"
},
{
"rule": "jQuery-load(",
"path": "node_modules/google-libphonenumber/dist/libphonenumber.js",
"line": " d.load(f);",
"lineNumber": 796,
"reasonCategory": "notExercisedByOurApp",
"updated": "2019-04-12T00:50:12.124Z",
"reasonDetail": "Part of their google closure 'debug loader'"
},
{
"rule": "jQuery-globalEval(",
"path": "node_modules/google-libphonenumber/dist/libphonenumber.js",
"line": " goog.globalEval(c);",
"lineNumber": 991,
"reasonCategory": "notExercisedByOurApp",
"updated": "2019-04-12T00:50:12.124Z",
"reasonDetail": "Part of their google closure 'debug loader'"
},
{
"rule": "DOM-innerHTML",
"path": "node_modules/google-libphonenumber/dist/libphonenumber.js",
"line": " e || (d.innerHTML = a + \" \", e = d.firstChild.nodeValue.slice(0, -1));",
"lineNumber": 949,
"lineNumber": 2045,
"reasonCategory": "notExercisedByOurApp",
"updated": "2018-11-27T01:31:13.384Z",
"reasonDetail": "An odd technique of unescaping content by putting it into the dom"
@ -6251,4 +6251,4 @@
"updated": "2019-03-09T00:08:44.242Z",
"reasonDetail": "Used only to trigger menu display"
}
]
]

View file

@ -3894,10 +3894,10 @@ glogg@^1.0.1:
dependencies:
sparkles "^1.0.0"
google-libphonenumber@3.0.7:
version "3.0.7"
resolved "https://registry.yarnpkg.com/google-libphonenumber/-/google-libphonenumber-3.0.7.tgz#a90918816536545a2264bf5d494cb3118f195dcc"
integrity sha512-81aKaP6jF3+L+MTcjMfjBCwy6isZkMo/eqvmcONYChRyqQRPCexWBitj5iw6FcZLCU1Z/z+hIhCnPaomNBfjuw==
google-libphonenumber@3.2.2:
version "3.2.2"
resolved "https://registry.yarnpkg.com/google-libphonenumber/-/google-libphonenumber-3.2.2.tgz#3d9d7ba727e99a50812f21b0ed313723b76c5c54"
integrity sha512-ubjGeosYPeusjYbUHy76lCniGTTI0k1rIFc+uKBX+jHQLDmWOSUtlFUxaeoLJ+Y+PAMM6dWp+C1HjHx5BI8kEw==
got@8.2.0:
version "8.2.0"