@coana-tech/cli 14.12.216 → 14.12.217
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 +15 -1
- package/package.json +1 -1
- package/repos/coana-tech/goana/bin/goana-darwin-amd64.gz +0 -0
- package/repos/coana-tech/goana/bin/goana-darwin-arm64.gz +0 -0
- package/repos/coana-tech/goana/bin/goana-linux-amd64.gz +0 -0
- package/repos/coana-tech/goana/bin/goana-linux-arm64.gz +0 -0
- package/repos/coana-tech/javap-service/javap-service.jar +0 -0
package/cli.mjs
CHANGED
|
@@ -229728,11 +229728,13 @@ var PipSocketUpgradeManager = class {
|
|
|
229728
229728
|
);
|
|
229729
229729
|
pyprojectTomlMatcher = (0, import_picomatch8.default)("pyproject.toml", { basename: true });
|
|
229730
229730
|
uvLockMatcher = (0, import_picomatch8.default)("uv.lock", { basename: true });
|
|
229731
|
+
poetryLockMatcher = (0, import_picomatch8.default)("poetry.lock", { basename: true });
|
|
229731
229732
|
async applySocketArtifactUpgrades(ctxt) {
|
|
229732
229733
|
const pyprojectTomlFiles = ctxt.manifestFiles.filter((f6) => this.pyprojectTomlMatcher(f6));
|
|
229733
229734
|
const patches = [];
|
|
229734
229735
|
const uvLockFilesToValidate = /* @__PURE__ */ new Set();
|
|
229735
229736
|
const lockFileToDepTree = /* @__PURE__ */ new Map();
|
|
229737
|
+
const poetryLockArtifacts = /* @__PURE__ */ new Map();
|
|
229736
229738
|
for (const [idx, upgradeVersion] of ctxt.upgrades) {
|
|
229737
229739
|
const artifact = ctxt.artifacts[idx];
|
|
229738
229740
|
assert13(artifact.name);
|
|
@@ -229804,6 +229806,10 @@ var PipSocketUpgradeManager = class {
|
|
|
229804
229806
|
patches.push(...await this.createUvLockPatches(mf.file, idx, upgradeVersion, ctxt));
|
|
229805
229807
|
uvLockFilesToValidate.add(mf.file);
|
|
229806
229808
|
patches.push(...await this.createOverrideDependencyUpdatePatches(rootTomlFile, idx, upgradeVersion, ctxt));
|
|
229809
|
+
} else if (this.poetryLockMatcher(mf.file)) {
|
|
229810
|
+
const existing = poetryLockArtifacts.get(mf.file) ?? [];
|
|
229811
|
+
existing.push(idx);
|
|
229812
|
+
poetryLockArtifacts.set(mf.file, existing);
|
|
229807
229813
|
} else {
|
|
229808
229814
|
ctxt.statusUpdater?.({
|
|
229809
229815
|
status: "error",
|
|
@@ -229823,6 +229829,14 @@ var PipSocketUpgradeManager = class {
|
|
|
229823
229829
|
}
|
|
229824
229830
|
}
|
|
229825
229831
|
}
|
|
229832
|
+
for (const [file, artifacts] of poetryLockArtifacts) {
|
|
229833
|
+
ctxt.statusUpdater?.({
|
|
229834
|
+
status: "error",
|
|
229835
|
+
file,
|
|
229836
|
+
artifacts,
|
|
229837
|
+
message: "The Poetry package manager is not currently supported for upgrades"
|
|
229838
|
+
});
|
|
229839
|
+
}
|
|
229826
229840
|
await applyPatches("PIP", this.rootDir, patches, ctxt);
|
|
229827
229841
|
for (const lockFile of uvLockFilesToValidate) {
|
|
229828
229842
|
const upgradesForLockFile = [];
|
|
@@ -251791,7 +251805,7 @@ async function onlineScan(dependencyTree, apiKey, timeout) {
|
|
|
251791
251805
|
}
|
|
251792
251806
|
|
|
251793
251807
|
// dist/version.js
|
|
251794
|
-
var version3 = "14.12.
|
|
251808
|
+
var version3 = "14.12.217";
|
|
251795
251809
|
|
|
251796
251810
|
// dist/cli-core.js
|
|
251797
251811
|
var { mapValues, omit, partition, pickBy: pickBy2 } = import_lodash15.default;
|
package/package.json
CHANGED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|