fix: package.json & package-lock.json to reduce vulnerabilities

The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/SNYK-JS-PARSEURL-2935944
- https://snyk.io/vuln/SNYK-JS-PARSEURL-2935947
This commit is contained in:
snyk-bot
2022-06-28 03:46:49 +00:00
parent 7d57c85153
commit 2061230319
2 changed files with 92 additions and 42 deletions

132
package-lock.json generated
View File

@@ -33,7 +33,7 @@
"helmet": "^5.1.0", "helmet": "^5.1.0",
"ip": "^1.1.8", "ip": "^1.1.8",
"moment": "^2.29.3", "moment": "^2.29.3",
"parse-url": "^5.0.8", "parse-url": "^6.0.1",
"pino": "^6.14.0", "pino": "^6.14.0",
"sdp-transform": "^2.14.1", "sdp-transform": "^2.14.1",
"short-uuid": "^4.2.0", "short-uuid": "^4.2.0",
@@ -3630,11 +3630,11 @@
} }
}, },
"node_modules/is-ssh": { "node_modules/is-ssh": {
"version": "1.3.3", "version": "1.4.0",
"resolved": "https://registry.npmjs.org/is-ssh/-/is-ssh-1.3.3.tgz", "resolved": "https://registry.npmjs.org/is-ssh/-/is-ssh-1.4.0.tgz",
"integrity": "sha512-NKzJmQzJfEEma3w5cJNcUMxoXfDjz0Zj0eyCalHn2E6VOwlzjZo0yuO2fcBSf8zhFuVCL/82/r5gRcoi6aEPVQ==", "integrity": "sha512-x7+VxdxOdlV3CYpjvRLBv5Lo9OJerlYanjwFrPR9fuGPjCiNiCzFgAWpiLAohSbsnH4ZAys3SBh+hq5rJosxUQ==",
"dependencies": { "dependencies": {
"protocols": "^1.1.0" "protocols": "^2.0.1"
} }
}, },
"node_modules/is-stream": { "node_modules/is-stream": {
@@ -4687,25 +4687,22 @@
} }
}, },
"node_modules/parse-path": { "node_modules/parse-path": {
"version": "4.0.4", "version": "5.0.0",
"resolved": "https://registry.npmjs.org/parse-path/-/parse-path-4.0.4.tgz", "resolved": "https://registry.npmjs.org/parse-path/-/parse-path-5.0.0.tgz",
"integrity": "sha512-Z2lWUis7jlmXC1jeOG9giRO2+FsuyNipeQ43HAjqAZjwSe3SEf+q/84FGPHoso3kyntbxa4c4i77t3m6fGf8cw==", "integrity": "sha512-qOpH55/+ZJ4jUu/oLO+ifUKjFPNZGfnPJtzvGzKN/4oLMil5m9OH4VpOj6++9/ytJcfks4kzH2hhi87GL/OU9A==",
"dependencies": { "dependencies": {
"is-ssh": "^1.3.0", "protocols": "^2.0.0"
"protocols": "^1.4.0",
"qs": "^6.9.4",
"query-string": "^6.13.8"
} }
}, },
"node_modules/parse-url": { "node_modules/parse-url": {
"version": "5.0.8", "version": "6.0.1",
"resolved": "https://registry.npmjs.org/parse-url/-/parse-url-5.0.8.tgz", "resolved": "https://registry.npmjs.org/parse-url/-/parse-url-6.0.1.tgz",
"integrity": "sha512-KFg5QvyiOKJGQSwUT7c5A4ELs0TJ33gmx/NBjK0FvZUD6aonFuXHUVa3SIa2XpbYVkYU8VlDrD3oCbX1ufy0zg==", "integrity": "sha512-EY1/ifgf9BnizQoS09a7xbUI7LOzqUsLgmY/5xe+W3XVpsbARDZmmrjPqyDx0mdioZPBpKbeTisAHrLLndX/Qw==",
"dependencies": { "dependencies": {
"is-ssh": "^1.3.0", "is-ssh": "^1.4.0",
"normalize-url": "^6.1.0", "normalize-url": "^6.1.0",
"parse-path": "^4.0.4", "parse-path": "^5.0.0",
"protocols": "^1.4.0" "protocols": "^2.0.1"
} }
}, },
"node_modules/parseurl": { "node_modules/parseurl": {
@@ -4872,9 +4869,9 @@
} }
}, },
"node_modules/protocols": { "node_modules/protocols": {
"version": "1.4.8", "version": "2.0.1",
"resolved": "https://registry.npmjs.org/protocols/-/protocols-1.4.8.tgz", "resolved": "https://registry.npmjs.org/protocols/-/protocols-2.0.1.tgz",
"integrity": "sha512-IgjKyaUSjsROSO8/D49Ab7hP8mJgTYcqApOqdPhLoPxAplXmkp+zRvsrSQjFn5by0rhm4VH0GAUELIPpx7B1yg==" "integrity": "sha512-/XJ368cyBJ7fzLMwLKv1e4vLxOju2MNAIokcr7meSaNcVbWz/CPcW22cP04mwxOErdA5mwjA8Q6w/cdAQxVn7Q=="
}, },
"node_modules/proxy-addr": { "node_modules/proxy-addr": {
"version": "2.0.7", "version": "2.0.7",
@@ -6044,6 +6041,33 @@
"parse-url": "^5.0.1" "parse-url": "^5.0.1"
} }
}, },
"node_modules/verify-aws-sns-signature/node_modules/parse-path": {
"version": "4.0.4",
"resolved": "https://registry.npmjs.org/parse-path/-/parse-path-4.0.4.tgz",
"integrity": "sha512-Z2lWUis7jlmXC1jeOG9giRO2+FsuyNipeQ43HAjqAZjwSe3SEf+q/84FGPHoso3kyntbxa4c4i77t3m6fGf8cw==",
"dependencies": {
"is-ssh": "^1.3.0",
"protocols": "^1.4.0",
"qs": "^6.9.4",
"query-string": "^6.13.8"
}
},
"node_modules/verify-aws-sns-signature/node_modules/parse-url": {
"version": "5.0.8",
"resolved": "https://registry.npmjs.org/parse-url/-/parse-url-5.0.8.tgz",
"integrity": "sha512-KFg5QvyiOKJGQSwUT7c5A4ELs0TJ33gmx/NBjK0FvZUD6aonFuXHUVa3SIa2XpbYVkYU8VlDrD3oCbX1ufy0zg==",
"dependencies": {
"is-ssh": "^1.3.0",
"normalize-url": "^6.1.0",
"parse-path": "^4.0.4",
"protocols": "^1.4.0"
}
},
"node_modules/verify-aws-sns-signature/node_modules/protocols": {
"version": "1.4.8",
"resolved": "https://registry.npmjs.org/protocols/-/protocols-1.4.8.tgz",
"integrity": "sha512-IgjKyaUSjsROSO8/D49Ab7hP8mJgTYcqApOqdPhLoPxAplXmkp+zRvsrSQjFn5by0rhm4VH0GAUELIPpx7B1yg=="
},
"node_modules/verror": { "node_modules/verror": {
"version": "1.10.0", "version": "1.10.0",
"resolved": "https://registry.npmjs.org/verror/-/verror-1.10.0.tgz", "resolved": "https://registry.npmjs.org/verror/-/verror-1.10.0.tgz",
@@ -9084,11 +9108,11 @@
} }
}, },
"is-ssh": { "is-ssh": {
"version": "1.3.3", "version": "1.4.0",
"resolved": "https://registry.npmjs.org/is-ssh/-/is-ssh-1.3.3.tgz", "resolved": "https://registry.npmjs.org/is-ssh/-/is-ssh-1.4.0.tgz",
"integrity": "sha512-NKzJmQzJfEEma3w5cJNcUMxoXfDjz0Zj0eyCalHn2E6VOwlzjZo0yuO2fcBSf8zhFuVCL/82/r5gRcoi6aEPVQ==", "integrity": "sha512-x7+VxdxOdlV3CYpjvRLBv5Lo9OJerlYanjwFrPR9fuGPjCiNiCzFgAWpiLAohSbsnH4ZAys3SBh+hq5rJosxUQ==",
"requires": { "requires": {
"protocols": "^1.1.0" "protocols": "^2.0.1"
} }
}, },
"is-stream": { "is-stream": {
@@ -9891,25 +9915,22 @@
} }
}, },
"parse-path": { "parse-path": {
"version": "4.0.4", "version": "5.0.0",
"resolved": "https://registry.npmjs.org/parse-path/-/parse-path-4.0.4.tgz", "resolved": "https://registry.npmjs.org/parse-path/-/parse-path-5.0.0.tgz",
"integrity": "sha512-Z2lWUis7jlmXC1jeOG9giRO2+FsuyNipeQ43HAjqAZjwSe3SEf+q/84FGPHoso3kyntbxa4c4i77t3m6fGf8cw==", "integrity": "sha512-qOpH55/+ZJ4jUu/oLO+ifUKjFPNZGfnPJtzvGzKN/4oLMil5m9OH4VpOj6++9/ytJcfks4kzH2hhi87GL/OU9A==",
"requires": { "requires": {
"is-ssh": "^1.3.0", "protocols": "^2.0.0"
"protocols": "^1.4.0",
"qs": "^6.9.4",
"query-string": "^6.13.8"
} }
}, },
"parse-url": { "parse-url": {
"version": "5.0.8", "version": "6.0.1",
"resolved": "https://registry.npmjs.org/parse-url/-/parse-url-5.0.8.tgz", "resolved": "https://registry.npmjs.org/parse-url/-/parse-url-6.0.1.tgz",
"integrity": "sha512-KFg5QvyiOKJGQSwUT7c5A4ELs0TJ33gmx/NBjK0FvZUD6aonFuXHUVa3SIa2XpbYVkYU8VlDrD3oCbX1ufy0zg==", "integrity": "sha512-EY1/ifgf9BnizQoS09a7xbUI7LOzqUsLgmY/5xe+W3XVpsbARDZmmrjPqyDx0mdioZPBpKbeTisAHrLLndX/Qw==",
"requires": { "requires": {
"is-ssh": "^1.3.0", "is-ssh": "^1.4.0",
"normalize-url": "^6.1.0", "normalize-url": "^6.1.0",
"parse-path": "^4.0.4", "parse-path": "^5.0.0",
"protocols": "^1.4.0" "protocols": "^2.0.1"
} }
}, },
"parseurl": { "parseurl": {
@@ -10041,9 +10062,9 @@
} }
}, },
"protocols": { "protocols": {
"version": "1.4.8", "version": "2.0.1",
"resolved": "https://registry.npmjs.org/protocols/-/protocols-1.4.8.tgz", "resolved": "https://registry.npmjs.org/protocols/-/protocols-2.0.1.tgz",
"integrity": "sha512-IgjKyaUSjsROSO8/D49Ab7hP8mJgTYcqApOqdPhLoPxAplXmkp+zRvsrSQjFn5by0rhm4VH0GAUELIPpx7B1yg==" "integrity": "sha512-/XJ368cyBJ7fzLMwLKv1e4vLxOju2MNAIokcr7meSaNcVbWz/CPcW22cP04mwxOErdA5mwjA8Q6w/cdAQxVn7Q=="
}, },
"proxy-addr": { "proxy-addr": {
"version": "2.0.7", "version": "2.0.7",
@@ -10947,6 +10968,35 @@
"requires": { "requires": {
"bent": "^7.3.0", "bent": "^7.3.0",
"parse-url": "^5.0.1" "parse-url": "^5.0.1"
},
"dependencies": {
"parse-path": {
"version": "4.0.4",
"resolved": "https://registry.npmjs.org/parse-path/-/parse-path-4.0.4.tgz",
"integrity": "sha512-Z2lWUis7jlmXC1jeOG9giRO2+FsuyNipeQ43HAjqAZjwSe3SEf+q/84FGPHoso3kyntbxa4c4i77t3m6fGf8cw==",
"requires": {
"is-ssh": "^1.3.0",
"protocols": "^1.4.0",
"qs": "^6.9.4",
"query-string": "^6.13.8"
}
},
"parse-url": {
"version": "5.0.8",
"resolved": "https://registry.npmjs.org/parse-url/-/parse-url-5.0.8.tgz",
"integrity": "sha512-KFg5QvyiOKJGQSwUT7c5A4ELs0TJ33gmx/NBjK0FvZUD6aonFuXHUVa3SIa2XpbYVkYU8VlDrD3oCbX1ufy0zg==",
"requires": {
"is-ssh": "^1.3.0",
"normalize-url": "^6.1.0",
"parse-path": "^4.0.4",
"protocols": "^1.4.0"
}
},
"protocols": {
"version": "1.4.8",
"resolved": "https://registry.npmjs.org/protocols/-/protocols-1.4.8.tgz",
"integrity": "sha512-IgjKyaUSjsROSO8/D49Ab7hP8mJgTYcqApOqdPhLoPxAplXmkp+zRvsrSQjFn5by0rhm4VH0GAUELIPpx7B1yg=="
}
} }
}, },
"verror": { "verror": {

View File

@@ -50,7 +50,7 @@
"helmet": "^5.1.0", "helmet": "^5.1.0",
"ip": "^1.1.8", "ip": "^1.1.8",
"moment": "^2.29.3", "moment": "^2.29.3",
"parse-url": "^5.0.8", "parse-url": "^6.0.1",
"pino": "^6.14.0", "pino": "^6.14.0",
"sdp-transform": "^2.14.1", "sdp-transform": "^2.14.1",
"short-uuid": "^4.2.0", "short-uuid": "^4.2.0",