Update google-libphonenumber to v3.2.17

This commit is contained in:
Scott Nonnenberg 2021-02-16 12:10:17 -08:00
parent e083ad692f
commit 220d906422
3 changed files with 32 additions and 57 deletions

View File

@ -87,7 +87,7 @@
"fs-extra": "5.0.0",
"fuse.js": "3.4.4",
"glob": "7.1.6",
"google-libphonenumber": "3.2.6",
"google-libphonenumber": "3.2.17",
"got": "8.3.2",
"history": "4.9.0",
"intl-tel-input": "12.1.15",

View File

@ -5353,100 +5353,75 @@
{
"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": 233,
"lineNumber": 34,
"reasonCategory": "usageTrusted",
"updated": "2018-11-27T01:31:13.384Z",
"updated": "2021-02-16T19:08:17.452Z",
"reasonDetail": "Hard-coded string used for testing capabilities."
},
{
"rule": "eval",
"path": "node_modules/google-libphonenumber/dist/libphonenumber.js",
"line": " eval(a);",
"lineNumber": 268,
"lineNumber": 36,
"reasonCategory": "notExercisedByOurApp",
"updated": "2018-11-27T01:31:13.384Z",
"updated": "2021-02-16T19:08:17.452Z",
"reasonDetail": "Used to load dependencies; parent function loadModuleFromSource_ is used in one place only."
},
{
"rule": "eval",
"path": "node_modules/google-libphonenumber/dist/libphonenumber.js",
"line": " goog.global.eval(\"var _evalTest_ = 1;\");",
"lineNumber": 445,
"reasonCategory": "usageTrusted",
"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": 459,
"reasonCategory": "notExercisedByOurApp",
"updated": "2018-11-27T01:31:13.384Z",
"reasonDetail": "More transpilation logic"
},
{
"rule": "jQuery-$(",
"path": "node_modules/google-libphonenumber/dist/libphonenumber.js",
"line": " b && (a = a.replace(/\\{\\$([^}]+)}/g, function(a, c) {",
"lineNumber": 500,
"reasonCategory": "falseMatch",
"updated": "2019-12-03T19:24:21.611Z"
"lineNumber": 45,
"reasonCategory": "notExercisedByOurApp",
"updated": "2021-02-16T19:08:17.452Z",
"reasonDetail": "Regular expression, not jQuery call"
},
{
"rule": "eval",
"path": "node_modules/google-libphonenumber/dist/libphonenumber.js",
"line": " return !!eval(a);",
"lineNumber": 642,
"lineNumber": 52,
"reasonCategory": "notExercisedByOurApp",
"updated": "2018-11-27T01:31:13.384Z",
"reasonDetail": "More transpilation logic"
"updated": "2021-02-16T19:08:17.452Z",
"reasonDetail": "Transpilation logic"
},
{
"rule": "jQuery-load(",
"path": "node_modules/google-libphonenumber/dist/libphonenumber.js",
"line": " d.load(f);",
"lineNumber": 794,
"lineNumber": 61,
"reasonCategory": "notExercisedByOurApp",
"updated": "2019-04-12T00:50:12.124Z",
"updated": "2021-02-16T19:08:17.452Z",
"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,
"lineNumber": 74,
"reasonCategory": "notExercisedByOurApp",
"updated": "2019-04-12T00:50:12.124Z",
"updated": "2021-02-16T19:08:17.452Z",
"reasonDetail": "Part of their google closure 'debug loader'"
},
{
"rule": "DOM-innerHTML",
"path": "node_modules/google-libphonenumber/dist/libphonenumber.js",
"line": " a.innerHTML = goog.html.SafeHtml.unwrapTrustedHTML(goog.html.SafeHtml.EMPTY);",
"lineNumber": 3448,
"reasonCategory": "usageTrusted",
"updated": "2019-12-03T19:24:21.611Z",
"reasonDetail": "HTML is escaped"
"lineNumber": 279,
"reasonCategory": "notExercisedByOurApp",
"updated": "2021-02-16T19:08:17.452Z",
"reasonDetail": "Debug capabilities"
},
{
"rule": "DOM-innerHTML",
"path": "node_modules/google-libphonenumber/dist/libphonenumber.js",
"line": " a.innerHTML = goog.html.SafeHtml.unwrapTrustedHTML(b);",
"lineNumber": 3457,
"reasonCategory": "usageTrusted",
"updated": "2019-12-03T19:24:21.611Z",
"reasonDetail": "HTML is escaped"
"line": "goog.dom.safe.unsafeSetInnerHtmlDoNotUseOrElse=function(a,b){if(goog.dom.safe.isInnerHtmlCleanupRecursive_())for(;a.lastChild;)a.removeChild(a.lastChild);a.innerHTML=goog.html.SafeHtml.unwrapTrustedHTML(b)};",
"lineNumber": 280,
"reasonCategory": "notExercisedByOurApp",
"updated": "2021-02-16T19:08:17.452Z",
"reasonDetail": "Debug capabilities"
},
{
"rule": "DOM-outerHTML",
"path": "node_modules/google-libphonenumber/dist/libphonenumber.js",
"line": " a.outerHTML = goog.html.SafeHtml.unwrapTrustedHTML(b);",
"lineNumber": 3469,
"lineNumber": 282,
"reasonCategory": "usageTrusted",
"updated": "2019-12-03T19:24:21.611Z",
"reasonDetail": "HTML is escaped"
"updated": "2021-02-16T19:08:17.452Z",
"reasonDetail": "Escapes HTML, HTML comes from a constant"
},
{
"rule": "DOM-innerHTML",

View File

@ -8356,10 +8356,10 @@ good-listener@^1.2.2:
dependencies:
delegate "^3.1.2"
google-libphonenumber@3.2.6:
version "3.2.6"
resolved "https://registry.yarnpkg.com/google-libphonenumber/-/google-libphonenumber-3.2.6.tgz#3d725b48ff44706b80246e77f95f2c2fdc6fd729"
integrity sha512-6QCQAaKJlSd/1dUqvdQf7zzfb3uiZHsG8yhCfOdCVRfMuPZ/VDIEB47y5SYwjPQJPs7ebfW5jj6PeobB9JJ4JA==
google-libphonenumber@3.2.17:
version "3.2.17"
resolved "https://registry.yarnpkg.com/google-libphonenumber/-/google-libphonenumber-3.2.17.tgz#6146ca39da98f9ddd20851b1ced2fb7b5b3f543d"
integrity sha512-T1fBQ3ujlpo4VUe0palZVHxBkY1zsfCShkS3l1rNq/d5C6C1SIijo8aXzgpJeGQFB8Bk+C36o6jhLl05NtfQ3w==
got@8.3.2:
version "8.3.2"