@suss/resolution 0.36.0 → 0.37.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.cjs +16 -0
- package/dist/index.js +16 -0
- package/package.json +2 -2
package/dist/index.cjs
CHANGED
|
@@ -5170,6 +5170,22 @@ var RESOLUTION_QUESTIONS = [
|
|
|
5170
5170
|
[(0, import_datalog6.variable)("c"), (0, import_datalog6.variable)("n")],
|
|
5171
5171
|
[(0, import_datalog6.lit)("ancestryChain", (0, import_datalog6.variable)("c"), (0, import_datalog6.variable)("b")), (0, import_datalog6.lit)("extendsNamed", (0, import_datalog6.variable)("b"), (0, import_datalog6.variable)("n"))]
|
|
5172
5172
|
),
|
|
5173
|
+
// Each method the chain declares with the function behind it, so a
|
|
5174
|
+
// caller can find the body an inherited method runs.
|
|
5175
|
+
(0, import_datalog6.rule)(
|
|
5176
|
+
"wantedMethodBody",
|
|
5177
|
+
[(0, import_datalog6.variable)("c"), (0, import_datalog6.variable)("n"), (0, import_datalog6.variable)("f")],
|
|
5178
|
+
[
|
|
5179
|
+
(0, import_datalog6.lit)("ancestryChain", (0, import_datalog6.variable)("c"), (0, import_datalog6.variable)("b")),
|
|
5180
|
+
(0, import_datalog6.lit)("holdsProperty", (0, import_datalog6.variable)("b"), (0, import_datalog6.variable)("n"), (0, import_datalog6.variable)("f"))
|
|
5181
|
+
]
|
|
5182
|
+
),
|
|
5183
|
+
// A library module the chain mixes in, matched by name the same way.
|
|
5184
|
+
(0, import_datalog6.rule)(
|
|
5185
|
+
"wantedMixinName",
|
|
5186
|
+
[(0, import_datalog6.variable)("c"), (0, import_datalog6.variable)("n")],
|
|
5187
|
+
[(0, import_datalog6.lit)("ancestryChain", (0, import_datalog6.variable)("c"), (0, import_datalog6.variable)("b")), (0, import_datalog6.lit)("mixesInNamed", (0, import_datalog6.variable)("b"), (0, import_datalog6.variable)("n"))]
|
|
5188
|
+
),
|
|
5173
5189
|
// Each method the same chain declares, so a caller that settled a
|
|
5174
5190
|
// receiver on a class can tell a method the project writes itself
|
|
5175
5191
|
// from one only the library provides.
|
package/dist/index.js
CHANGED
|
@@ -5048,6 +5048,22 @@ var RESOLUTION_QUESTIONS = [
|
|
|
5048
5048
|
[v3("c"), v3("n")],
|
|
5049
5049
|
[lit3("ancestryChain", v3("c"), v3("b")), lit3("extendsNamed", v3("b"), v3("n"))]
|
|
5050
5050
|
),
|
|
5051
|
+
// Each method the chain declares with the function behind it, so a
|
|
5052
|
+
// caller can find the body an inherited method runs.
|
|
5053
|
+
rule3(
|
|
5054
|
+
"wantedMethodBody",
|
|
5055
|
+
[v3("c"), v3("n"), v3("f")],
|
|
5056
|
+
[
|
|
5057
|
+
lit3("ancestryChain", v3("c"), v3("b")),
|
|
5058
|
+
lit3("holdsProperty", v3("b"), v3("n"), v3("f"))
|
|
5059
|
+
]
|
|
5060
|
+
),
|
|
5061
|
+
// A library module the chain mixes in, matched by name the same way.
|
|
5062
|
+
rule3(
|
|
5063
|
+
"wantedMixinName",
|
|
5064
|
+
[v3("c"), v3("n")],
|
|
5065
|
+
[lit3("ancestryChain", v3("c"), v3("b")), lit3("mixesInNamed", v3("b"), v3("n"))]
|
|
5066
|
+
),
|
|
5051
5067
|
// Each method the same chain declares, so a caller that settled a
|
|
5052
5068
|
// receiver on a class can tell a method the project writes itself
|
|
5053
5069
|
// from one only the library provides.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@suss/resolution",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.37.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "The rules suss uses to follow a name in TypeScript, Python or Ruby to the function it comes down to.",
|
|
6
6
|
"keywords": [
|
|
@@ -56,6 +56,6 @@
|
|
|
56
56
|
"access": "public"
|
|
57
57
|
},
|
|
58
58
|
"dependencies": {
|
|
59
|
-
"@suss/datalog": "0.
|
|
59
|
+
"@suss/datalog": "0.37.0"
|
|
60
60
|
}
|
|
61
61
|
}
|