@coana-tech/cli 14.9.3 → 14.9.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cli.mjs +16 -16
- package/package.json +1 -1
package/cli.mjs
CHANGED
|
@@ -211984,13 +211984,13 @@ import { join as join16 } from "path";
|
|
|
211984
211984
|
var { memoize: memoize3 } = import_lodash14.default;
|
|
211985
211985
|
var memoizedParseShellArgs = memoize3(parseShellArgs);
|
|
211986
211986
|
var MAVEN_PUBLIC_REPOSITORIES = [
|
|
211987
|
-
"https://repo1.maven.org/maven2",
|
|
211988
|
-
"https://packages.atlassian.com/artifactory/maven-atlassian-external",
|
|
211989
|
-
"https://maven.wso2.org/nexus/content/repositories/releases",
|
|
211990
|
-
"https://repository.jboss.org/nexus/content/repositories/ea",
|
|
211991
|
-
"https://maven.pkg.jetbrains.space/public/p/ktor/eap",
|
|
211992
|
-
"https://maven.wso2.org/nexus/content/repositories/public",
|
|
211993
|
-
"https://nexus.bedatadriven.com/content/groups/public"
|
|
211987
|
+
"https://repo1.maven.org/maven2/",
|
|
211988
|
+
"https://packages.atlassian.com/artifactory/maven-atlassian-external/",
|
|
211989
|
+
"https://maven.wso2.org/nexus/content/repositories/releases/",
|
|
211990
|
+
"https://repository.jboss.org/nexus/content/repositories/ea/",
|
|
211991
|
+
"https://maven.pkg.jetbrains.space/public/p/ktor/eap/",
|
|
211992
|
+
"https://maven.wso2.org/nexus/content/repositories/public/",
|
|
211993
|
+
"https://nexus.bedatadriven.com/content/groups/public/"
|
|
211994
211994
|
];
|
|
211995
211995
|
async function findRepositoriesForMavenPackageAndVersion(groupId, artifactId, version3) {
|
|
211996
211996
|
try {
|
|
@@ -212016,17 +212016,17 @@ async function findRepositoriesForMavenPackageAndVersion(groupId, artifactId, ve
|
|
|
212016
212016
|
);
|
|
212017
212017
|
return availableRepos.length ? availableRepos : void 0;
|
|
212018
212018
|
}
|
|
212019
|
+
function getUrlForProject(repository, groupId, artifactId) {
|
|
212020
|
+
return new URL(`${groupId.replaceAll(".", "/")}/${artifactId}/`, repository).href;
|
|
212021
|
+
}
|
|
212019
212022
|
function getUrlForPackage(repository, groupId, artifactId, version3) {
|
|
212020
|
-
return `${
|
|
212021
|
-
".",
|
|
212022
|
-
"/"
|
|
212023
|
-
)}/${artifactId}/${version3}/`;
|
|
212023
|
+
return new URL(`${version3}/`, getUrlForProject(repository, groupId, artifactId)).href;
|
|
212024
212024
|
}
|
|
212025
212025
|
function getUrlForArtifact(repository, groupId, artifactId, type, classifier, version3) {
|
|
212026
|
-
return
|
|
212027
|
-
"
|
|
212028
|
-
|
|
212029
|
-
)
|
|
212026
|
+
return new URL(
|
|
212027
|
+
`${artifactId}-${version3}${classifier ? `-${classifier}` : ""}.${type ?? "jar"}`,
|
|
212028
|
+
getUrlForPackage(repository, groupId, artifactId, version3)
|
|
212029
|
+
).href;
|
|
212030
212030
|
}
|
|
212031
212031
|
|
|
212032
212032
|
// ../security-auditor/security-auditor-api/src/vulnerability-patterns-helper/get-interesting-urls-for-vulnerability.ts
|
|
@@ -213335,7 +213335,7 @@ async function onlineScan(dependencyTree, apiKey, timeout) {
|
|
|
213335
213335
|
}
|
|
213336
213336
|
|
|
213337
213337
|
// dist/version.js
|
|
213338
|
-
var version2 = "14.9.
|
|
213338
|
+
var version2 = "14.9.5";
|
|
213339
213339
|
|
|
213340
213340
|
// dist/cli-core.js
|
|
213341
213341
|
var { omit, partition, pick } = import_lodash15.default;
|