@suss/extractor 0.5.11 → 0.7.0

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.d.cts CHANGED
@@ -1320,17 +1320,20 @@ interface PatternPack {
1320
1320
  }>;
1321
1321
  /**
1322
1322
  * Per-property-access recognizers, the counterpart to
1323
- * `invocationRecognizers`, firing on `PropertyAccessExpression`
1324
- * nodes rather than `CallExpression` nodes. Use these for patterns
1325
- * that read a value through property access without invoking it:
1326
- * `process.env.X` env-var reads, `Date.now()`-style time reads
1327
- * (which is actually a call, see invocationRecognizers), bare
1328
- * `module.constant` reads, etc.
1323
+ * `invocationRecognizers`. Use these for patterns that read a value
1324
+ * through property access without invoking it: `process.env.X`
1325
+ * env-var reads, `Date.now()`-style time reads (which is actually a
1326
+ * call, see invocationRecognizers), bare `module.constant` reads.
1327
+ *
1328
+ * A recognizer here is handed a property access, a call, or a tagged
1329
+ * template, and guards its own shapes. The tagged template is there
1330
+ * for a library that takes its whole argument as one, the way
1331
+ * `prisma.$queryRaw` and `gql` do.
1329
1332
  *
1330
1333
  * The scope rules are the same as for invocationRecognizers: it fires
1331
- * on every PropertyAccessExpression in the function body and skips
1332
- * nested function bodies. The emission contract is the same, so effects
1333
- * on the enclosing default-branch transition.
1334
+ * on every such node in the function body and skips nested function
1335
+ * bodies. The emission contract is the same, so effects land on the
1336
+ * enclosing default-branch transition.
1334
1337
  *
1335
1338
  * The arguments are opaque here and narrowed by the adapter, for the
1336
1339
  * same reason as in invocationRecognizers.
package/dist/index.d.ts CHANGED
@@ -1320,17 +1320,20 @@ interface PatternPack {
1320
1320
  }>;
1321
1321
  /**
1322
1322
  * Per-property-access recognizers, the counterpart to
1323
- * `invocationRecognizers`, firing on `PropertyAccessExpression`
1324
- * nodes rather than `CallExpression` nodes. Use these for patterns
1325
- * that read a value through property access without invoking it:
1326
- * `process.env.X` env-var reads, `Date.now()`-style time reads
1327
- * (which is actually a call, see invocationRecognizers), bare
1328
- * `module.constant` reads, etc.
1323
+ * `invocationRecognizers`. Use these for patterns that read a value
1324
+ * through property access without invoking it: `process.env.X`
1325
+ * env-var reads, `Date.now()`-style time reads (which is actually a
1326
+ * call, see invocationRecognizers), bare `module.constant` reads.
1327
+ *
1328
+ * A recognizer here is handed a property access, a call, or a tagged
1329
+ * template, and guards its own shapes. The tagged template is there
1330
+ * for a library that takes its whole argument as one, the way
1331
+ * `prisma.$queryRaw` and `gql` do.
1329
1332
  *
1330
1333
  * The scope rules are the same as for invocationRecognizers: it fires
1331
- * on every PropertyAccessExpression in the function body and skips
1332
- * nested function bodies. The emission contract is the same, so effects
1333
- * on the enclosing default-branch transition.
1334
+ * on every such node in the function body and skips nested function
1335
+ * bodies. The emission contract is the same, so effects land on the
1336
+ * enclosing default-branch transition.
1334
1337
  *
1335
1338
  * The arguments are opaque here and narrowed by the adapter, for the
1336
1339
  * same reason as in invocationRecognizers.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@suss/extractor",
3
- "version": "0.5.11",
3
+ "version": "0.7.0",
4
4
  "type": "module",
5
5
  "description": "Framework-agnostic extraction pipeline that turns raw extractions into suss behavioral summaries.",
6
6
  "keywords": [
@@ -45,7 +45,7 @@
45
45
  "typecheck": "tsc --noEmit"
46
46
  },
47
47
  "dependencies": {
48
- "@suss/behavioral-ir": "0.5.11"
48
+ "@suss/behavioral-ir": "0.7.0"
49
49
  },
50
50
  "devDependencies": {
51
51
  "tsup": "*",