Update path-to-regexp to fix vulnerability (#1010)

* Update cordova hostname customization support

* Update requestArgs.ts

* Update jsDebugConfigAdapter.ts

* Gulp format

* Revert gulp format

* Update pathMapping hostname value

* Validation argument correction

* Update path-to-regexp

* Update path-to-regexp 1.2

* Update path-to-regexp 1.3

---------

Co-authored-by: Rodolfo Liberado (BEYONDSOFT CONSULTING INC) <v-rliberado@microsoft.com>
Co-authored-by: Ezio Li <v-yukl@microsoft.com>
This commit is contained in:
Rodolfo Berwanger Liberado 2024-10-07 23:47:49 -03:00 коммит произвёл GitHub
Родитель 8cfa63ccf2
Коммит 1df482a772
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: B5690EEEBB952194
1 изменённых файлов: 16 добавлений и 16 удалений

32
package-lock.json сгенерированный
Просмотреть файл

@ -5825,7 +5825,7 @@
"methods": "~1.1.2", "methods": "~1.1.2",
"on-finished": "2.4.1", "on-finished": "2.4.1",
"parseurl": "~1.3.3", "parseurl": "~1.3.3",
"path-to-regexp": "0.1.7", "path-to-regexp": "0.1.10",
"proxy-addr": "~2.0.7", "proxy-addr": "~2.0.7",
"qs": "6.11.0", "qs": "6.11.0",
"range-parser": "~1.2.1", "range-parser": "~1.2.1",
@ -9857,7 +9857,7 @@
"@sinonjs/fake-timers": "^6.0.0", "@sinonjs/fake-timers": "^6.0.0",
"@sinonjs/text-encoding": "^0.7.1", "@sinonjs/text-encoding": "^0.7.1",
"just-extend": "^4.0.2", "just-extend": "^4.0.2",
"path-to-regexp": "^1.7.0" "path-to-regexp": "^1.9.0"
} }
}, },
"node_modules/nise/node_modules/isarray": { "node_modules/nise/node_modules/isarray": {
@ -9867,9 +9867,9 @@
"dev": true "dev": true
}, },
"node_modules/nise/node_modules/path-to-regexp": { "node_modules/nise/node_modules/path-to-regexp": {
"version": "1.8.0", "version": "1.9.0",
"resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-1.8.0.tgz", "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-1.9.0.tgz",
"integrity": "sha512-n43JRhlUKUAlibEJhPeir1ncUID16QnEjNpwzNdO3Lm4ywrBpBZ5oLD0I6br9evr1Y9JTqwRtAh7JLoOzAQdVA==", "integrity": "sha512-xIp7/apCFJuUHdDLWe8O1HIkb0kQrOMb/0u6FXQjemHn/ii5LrIzU6bdECnsiTF/GjZkMEKg1xdiZwNqDYlZ6g==",
"dev": true, "dev": true,
"dependencies": { "dependencies": {
"isarray": "0.0.1" "isarray": "0.0.1"
@ -10675,9 +10675,9 @@
} }
}, },
"node_modules/path-to-regexp": { "node_modules/path-to-regexp": {
"version": "0.1.7", "version": "0.1.10",
"resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-0.1.7.tgz", "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-0.1.10.tgz",
"integrity": "sha1-32BBeABfUi8V60SQ5yR6G/qmf4w=", "integrity": "sha512-7lf7qcQidTku0Gu3YDPc8DJ1q7OOucfa/BSsIwjuh56VU7katFvuM8hULfkwB3Fns/rsVF7PwPKVw1sl5KQS9w==",
"dev": true "dev": true
}, },
"node_modules/path-type": { "node_modules/path-type": {
@ -18804,7 +18804,7 @@
"methods": "~1.1.2", "methods": "~1.1.2",
"on-finished": "2.4.1", "on-finished": "2.4.1",
"parseurl": "~1.3.3", "parseurl": "~1.3.3",
"path-to-regexp": "0.1.7", "path-to-regexp": "0.1.10",
"proxy-addr": "~2.0.7", "proxy-addr": "~2.0.7",
"qs": "6.11.0", "qs": "6.11.0",
"range-parser": "~1.2.1", "range-parser": "~1.2.1",
@ -21879,7 +21879,7 @@
"@sinonjs/fake-timers": "^6.0.0", "@sinonjs/fake-timers": "^6.0.0",
"@sinonjs/text-encoding": "^0.7.1", "@sinonjs/text-encoding": "^0.7.1",
"just-extend": "^4.0.2", "just-extend": "^4.0.2",
"path-to-regexp": "^1.7.0" "path-to-regexp": "^1.9.0"
}, },
"dependencies": { "dependencies": {
"isarray": { "isarray": {
@ -21889,9 +21889,9 @@
"dev": true "dev": true
}, },
"path-to-regexp": { "path-to-regexp": {
"version": "1.8.0", "version": "1.9.0",
"resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-1.8.0.tgz", "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-1.9.0.tgz",
"integrity": "sha512-n43JRhlUKUAlibEJhPeir1ncUID16QnEjNpwzNdO3Lm4ywrBpBZ5oLD0I6br9evr1Y9JTqwRtAh7JLoOzAQdVA==", "integrity": "sha512-xIp7/apCFJuUHdDLWe8O1HIkb0kQrOMb/0u6FXQjemHn/ii5LrIzU6bdECnsiTF/GjZkMEKg1xdiZwNqDYlZ6g==",
"dev": true, "dev": true,
"requires": { "requires": {
"isarray": "0.0.1" "isarray": "0.0.1"
@ -22503,9 +22503,9 @@
"devOptional": true "devOptional": true
}, },
"path-to-regexp": { "path-to-regexp": {
"version": "0.1.7", "version": "0.1.10",
"resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-0.1.7.tgz", "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-0.1.10.tgz",
"integrity": "sha1-32BBeABfUi8V60SQ5yR6G/qmf4w=", "integrity": "sha512-7lf7qcQidTku0Gu3YDPc8DJ1q7OOucfa/BSsIwjuh56VU7katFvuM8hULfkwB3Fns/rsVF7PwPKVw1sl5KQS9w==",
"dev": true "dev": true
}, },
"path-type": { "path-type": {