@suss/adapter-python 0.31.0 → 0.31.2

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/dist/index.cjs CHANGED
@@ -785,7 +785,9 @@ function resolveCalls(db, callKeys) {
785
785
  (0, import_resolution.askResolution)(db, callKeys);
786
786
  }
787
787
  function writtenValueUnder(db, key, site) {
788
- (0, import_resolution.askResolutionUnder)(db, [[key, site]]);
788
+ if ((0, import_resolution.askResolutionUnder)(db, [[key, site]]) === "abandoned") {
789
+ return null;
790
+ }
789
791
  return (0, import_resolution.writtenValueUnder)(db, key, site);
790
792
  }
791
793
  function constructionSites(db, classKey) {
package/dist/index.js CHANGED
@@ -725,7 +725,9 @@ function resolveCalls(db, callKeys) {
725
725
  askResolution(db, callKeys);
726
726
  }
727
727
  function writtenValueUnder(db, key, site) {
728
- askResolutionUnder(db, [[key, site]]);
728
+ if (askResolutionUnder(db, [[key, site]]) === "abandoned") {
729
+ return null;
730
+ }
729
731
  return sharedWrittenValueUnder(db, key, site);
730
732
  }
731
733
  function constructionSites(db, classKey) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@suss/adapter-python",
3
- "version": "0.31.0",
3
+ "version": "0.31.2",
4
4
  "type": "module",
5
5
  "description": "Read a Python codebase with suss and check what each FastAPI or Flask route returns against the clients, specs and infrastructure that depend on it.",
6
6
  "keywords": [
@@ -49,13 +49,13 @@
49
49
  "typecheck": "tsc --noEmit"
50
50
  },
51
51
  "dependencies": {
52
- "@suss/behavioral-ir": "0.31.0",
53
- "@suss/datalog": "0.31.0",
54
- "@suss/extractor": "0.31.0",
55
- "@suss/ir-core": "0.31.0",
56
- "@suss/resolution": "0.31.0",
57
- "@suss/sql": "0.31.0",
58
- "@suss/values": "0.31.0",
52
+ "@suss/behavioral-ir": "0.31.2",
53
+ "@suss/datalog": "0.31.2",
54
+ "@suss/extractor": "0.31.2",
55
+ "@suss/ir-core": "0.31.2",
56
+ "@suss/resolution": "0.31.2",
57
+ "@suss/sql": "0.31.2",
58
+ "@suss/values": "0.31.2",
59
59
  "web-tree-sitter": "^0.26.11"
60
60
  },
61
61
  "devDependencies": {