@vltpkg/query 1.5.0 → 1.6.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.
Files changed (210) hide show
  1. package/package.json +10 -12
  2. package/skills/dss-query/REFERENCE.md +0 -125
  3. package/skills/dss-query/SKILL.md +0 -190
  4. package/skills/dss-query/evals/README.md +0 -81
  5. package/skills/dss-query/evals/evals.json +0 -89
  6. package/skills/dss-query/evals/grade.mjs +0 -481
  7. package/src/attribute.ts +0 -190
  8. package/src/combinator.ts +0 -135
  9. package/src/error.ts +0 -78
  10. package/src/id.ts +0 -46
  11. package/src/index.ts +0 -670
  12. package/src/parser.ts +0 -122
  13. package/src/pseudo/abandoned.ts +0 -9
  14. package/src/pseudo/attr.ts +0 -92
  15. package/src/pseudo/built.ts +0 -19
  16. package/src/pseudo/confused.ts +0 -29
  17. package/src/pseudo/cve.ts +0 -93
  18. package/src/pseudo/cwe.ts +0 -97
  19. package/src/pseudo/debug.ts +0 -9
  20. package/src/pseudo/deprecated.ts +0 -9
  21. package/src/pseudo/dev.ts +0 -18
  22. package/src/pseudo/diff.ts +0 -90
  23. package/src/pseudo/dist.ts +0 -148
  24. package/src/pseudo/dynamic.ts +0 -9
  25. package/src/pseudo/empty.ts +0 -15
  26. package/src/pseudo/entropic.ts +0 -9
  27. package/src/pseudo/env.ts +0 -6
  28. package/src/pseudo/eval.ts +0 -9
  29. package/src/pseudo/fs.ts +0 -9
  30. package/src/pseudo/helpers.ts +0 -106
  31. package/src/pseudo/host.ts +0 -111
  32. package/src/pseudo/hostname.ts +0 -156
  33. package/src/pseudo/license.ts +0 -134
  34. package/src/pseudo/link.ts +0 -30
  35. package/src/pseudo/malware.ts +0 -41
  36. package/src/pseudo/minified.ts +0 -9
  37. package/src/pseudo/missing.ts +0 -16
  38. package/src/pseudo/native.ts +0 -9
  39. package/src/pseudo/network.ts +0 -9
  40. package/src/pseudo/obfuscated.ts +0 -9
  41. package/src/pseudo/optional.ts +0 -18
  42. package/src/pseudo/outdated.ts +0 -345
  43. package/src/pseudo/overridden.ts +0 -20
  44. package/src/pseudo/path.ts +0 -146
  45. package/src/pseudo/peer.ts +0 -18
  46. package/src/pseudo/prerelease.ts +0 -47
  47. package/src/pseudo/private.ts +0 -19
  48. package/src/pseudo/prod.ts +0 -18
  49. package/src/pseudo/published.ts +0 -250
  50. package/src/pseudo/registry.ts +0 -29
  51. package/src/pseudo/root.ts +0 -19
  52. package/src/pseudo/scanned.ts +0 -20
  53. package/src/pseudo/score.ts +0 -186
  54. package/src/pseudo/scripts.ts +0 -61
  55. package/src/pseudo/semver.ts +0 -320
  56. package/src/pseudo/severity.ts +0 -231
  57. package/src/pseudo/shell.ts +0 -9
  58. package/src/pseudo/shrinkwrap.ts +0 -9
  59. package/src/pseudo/skill.ts +0 -59
  60. package/src/pseudo/skills.ts +0 -29
  61. package/src/pseudo/spec.ts +0 -131
  62. package/src/pseudo/squat.ts +0 -225
  63. package/src/pseudo/suspicious.ts +0 -9
  64. package/src/pseudo/tracker.ts +0 -9
  65. package/src/pseudo/trivial.ts +0 -9
  66. package/src/pseudo/type.ts +0 -26
  67. package/src/pseudo/undesirable.ts +0 -9
  68. package/src/pseudo/unknown.ts +0 -9
  69. package/src/pseudo/unmaintained.ts +0 -9
  70. package/src/pseudo/unpopular.ts +0 -9
  71. package/src/pseudo/unstable.ts +0 -9
  72. package/src/pseudo/vuln.ts +0 -273
  73. package/src/pseudo/workspace.ts +0 -22
  74. package/src/pseudo.ts +0 -440
  75. package/src/types.ts +0 -206
  76. package/tap-snapshots/test/attribute.ts.test.cjs +0 -304
  77. package/tap-snapshots/test/combinator.ts.test.cjs +0 -333
  78. package/tap-snapshots/test/id.ts.test.cjs +0 -118
  79. package/tap-snapshots/test/parser.ts.test.cjs +0 -344
  80. package/tap-snapshots/test/pseudo/abandoned.ts.test.cjs +0 -18
  81. package/tap-snapshots/test/pseudo/attr.ts.test.cjs +0 -161
  82. package/tap-snapshots/test/pseudo/built.ts.test.cjs +0 -70
  83. package/tap-snapshots/test/pseudo/confused.ts.test.cjs +0 -32
  84. package/tap-snapshots/test/pseudo/cve.ts.test.cjs +0 -49
  85. package/tap-snapshots/test/pseudo/cwe.ts.test.cjs +0 -49
  86. package/tap-snapshots/test/pseudo/debug.ts.test.cjs +0 -18
  87. package/tap-snapshots/test/pseudo/deprecated.ts.test.cjs +0 -18
  88. package/tap-snapshots/test/pseudo/dist.ts.test.cjs +0 -30
  89. package/tap-snapshots/test/pseudo/dynamic.ts.test.cjs +0 -18
  90. package/tap-snapshots/test/pseudo/empty.ts.test.cjs +0 -50
  91. package/tap-snapshots/test/pseudo/entropic.ts.test.cjs +0 -18
  92. package/tap-snapshots/test/pseudo/env.ts.test.cjs +0 -18
  93. package/tap-snapshots/test/pseudo/eval.ts.test.cjs +0 -18
  94. package/tap-snapshots/test/pseudo/fs.ts.test.cjs +0 -18
  95. package/tap-snapshots/test/pseudo/helpers.ts.test.cjs +0 -18
  96. package/tap-snapshots/test/pseudo/hostname.ts.test.cjs +0 -148
  97. package/tap-snapshots/test/pseudo/license.ts.test.cjs +0 -41
  98. package/tap-snapshots/test/pseudo/link.ts.test.cjs +0 -36
  99. package/tap-snapshots/test/pseudo/malware.ts.test.cjs +0 -22
  100. package/tap-snapshots/test/pseudo/minified.ts.test.cjs +0 -18
  101. package/tap-snapshots/test/pseudo/missing.ts.test.cjs +0 -30
  102. package/tap-snapshots/test/pseudo/native.ts.test.cjs +0 -18
  103. package/tap-snapshots/test/pseudo/network.ts.test.cjs +0 -18
  104. package/tap-snapshots/test/pseudo/obfuscated.ts.test.cjs +0 -18
  105. package/tap-snapshots/test/pseudo/outdated.ts.test.cjs +0 -132
  106. package/tap-snapshots/test/pseudo/overridden.ts.test.cjs +0 -75
  107. package/tap-snapshots/test/pseudo/prerelease.ts.test.cjs +0 -101
  108. package/tap-snapshots/test/pseudo/private.ts.test.cjs +0 -38
  109. package/tap-snapshots/test/pseudo/published.ts.test.cjs +0 -171
  110. package/tap-snapshots/test/pseudo/registry.ts.test.cjs +0 -68
  111. package/tap-snapshots/test/pseudo/root.ts.test.cjs +0 -24
  112. package/tap-snapshots/test/pseudo/scanned.ts.test.cjs +0 -18
  113. package/tap-snapshots/test/pseudo/score.ts.test.cjs +0 -239
  114. package/tap-snapshots/test/pseudo/scripts.ts.test.cjs +0 -62
  115. package/tap-snapshots/test/pseudo/semver.ts.test.cjs +0 -575
  116. package/tap-snapshots/test/pseudo/severity.ts.test.cjs +0 -122
  117. package/tap-snapshots/test/pseudo/shell.ts.test.cjs +0 -18
  118. package/tap-snapshots/test/pseudo/shrinkwrap.ts.test.cjs +0 -18
  119. package/tap-snapshots/test/pseudo/skills.ts.test.cjs +0 -19
  120. package/tap-snapshots/test/pseudo/spec.ts.test.cjs +0 -148
  121. package/tap-snapshots/test/pseudo/squat.ts.test.cjs +0 -129
  122. package/tap-snapshots/test/pseudo/suspicious.ts.test.cjs +0 -18
  123. package/tap-snapshots/test/pseudo/tracker.ts.test.cjs +0 -18
  124. package/tap-snapshots/test/pseudo/trivial.ts.test.cjs +0 -18
  125. package/tap-snapshots/test/pseudo/type.ts.test.cjs +0 -51
  126. package/tap-snapshots/test/pseudo/undesirable.ts.test.cjs +0 -18
  127. package/tap-snapshots/test/pseudo/unknown.ts.test.cjs +0 -18
  128. package/tap-snapshots/test/pseudo/unmaintained.ts.test.cjs +0 -18
  129. package/tap-snapshots/test/pseudo/unpopular.ts.test.cjs +0 -18
  130. package/tap-snapshots/test/pseudo/unstable.ts.test.cjs +0 -18
  131. package/tap-snapshots/test/pseudo/vuln.ts.test.cjs +0 -208
  132. package/tap-snapshots/test/pseudo/vulnerable.ts.test.cjs +0 -20
  133. package/tap-snapshots/test/pseudo/workspace.ts.test.cjs +0 -19
  134. package/tap-snapshots/test/pseudo.ts.test.cjs +0 -1247
  135. package/test/attribute.ts +0 -273
  136. package/test/combinator.ts +0 -175
  137. package/test/error.ts +0 -60
  138. package/test/fixtures/graph.ts +0 -999
  139. package/test/fixtures/selector.ts +0 -103
  140. package/test/fixtures/types.ts +0 -7
  141. package/test/id.ts +0 -102
  142. package/test/index.ts +0 -1148
  143. package/test/parser.ts +0 -117
  144. package/test/pseudo/abandoned.ts +0 -98
  145. package/test/pseudo/attr.ts +0 -298
  146. package/test/pseudo/built.ts +0 -214
  147. package/test/pseudo/confused.ts +0 -160
  148. package/test/pseudo/cve.ts +0 -249
  149. package/test/pseudo/cwe.ts +0 -255
  150. package/test/pseudo/debug.ts +0 -98
  151. package/test/pseudo/deprecated.ts +0 -98
  152. package/test/pseudo/dev.ts +0 -61
  153. package/test/pseudo/diff.ts +0 -417
  154. package/test/pseudo/dist.ts +0 -215
  155. package/test/pseudo/dynamic.ts +0 -98
  156. package/test/pseudo/empty.ts +0 -108
  157. package/test/pseudo/entropic.ts +0 -101
  158. package/test/pseudo/env.ts +0 -98
  159. package/test/pseudo/eval.ts +0 -98
  160. package/test/pseudo/fs.ts +0 -98
  161. package/test/pseudo/helpers.ts +0 -370
  162. package/test/pseudo/host-context.ts +0 -276
  163. package/test/pseudo/hostname.ts +0 -314
  164. package/test/pseudo/license.ts +0 -265
  165. package/test/pseudo/link.ts +0 -94
  166. package/test/pseudo/malware.ts +0 -184
  167. package/test/pseudo/minified.ts +0 -98
  168. package/test/pseudo/missing.ts +0 -111
  169. package/test/pseudo/native.ts +0 -98
  170. package/test/pseudo/network.ts +0 -98
  171. package/test/pseudo/obfuscated.ts +0 -98
  172. package/test/pseudo/optional.ts +0 -73
  173. package/test/pseudo/outdated.ts +0 -461
  174. package/test/pseudo/overridden.ts +0 -317
  175. package/test/pseudo/path.ts +0 -680
  176. package/test/pseudo/peer.ts +0 -101
  177. package/test/pseudo/prerelease.ts +0 -279
  178. package/test/pseudo/private.ts +0 -108
  179. package/test/pseudo/prod.ts +0 -61
  180. package/test/pseudo/published.ts +0 -557
  181. package/test/pseudo/registry.ts +0 -122
  182. package/test/pseudo/root.ts +0 -66
  183. package/test/pseudo/scanned.ts +0 -144
  184. package/test/pseudo/score.ts +0 -591
  185. package/test/pseudo/scripts.ts +0 -324
  186. package/test/pseudo/semver.ts +0 -822
  187. package/test/pseudo/severity.ts +0 -342
  188. package/test/pseudo/shell.ts +0 -98
  189. package/test/pseudo/shrinkwrap.ts +0 -98
  190. package/test/pseudo/skill.ts +0 -189
  191. package/test/pseudo/skills.ts +0 -90
  192. package/test/pseudo/spec.ts +0 -525
  193. package/test/pseudo/squat.ts +0 -565
  194. package/test/pseudo/suspicious.ts +0 -98
  195. package/test/pseudo/tracker.ts +0 -98
  196. package/test/pseudo/trivial.ts +0 -98
  197. package/test/pseudo/type.ts +0 -105
  198. package/test/pseudo/undesirable.ts +0 -98
  199. package/test/pseudo/unknown.ts +0 -98
  200. package/test/pseudo/unmaintained.ts +0 -98
  201. package/test/pseudo/unpopular.ts +0 -98
  202. package/test/pseudo/unstable.ts +0 -98
  203. package/test/pseudo/vuln.ts +0 -625
  204. package/test/pseudo/vulnerable.ts +0 -137
  205. package/test/pseudo/workspace.ts +0 -111
  206. package/test/pseudo.ts +0 -584
  207. package/tsconfig.json +0 -3
  208. package/tsconfig.publish.json +0 -19
  209. package/tsconfig.publish.tsbuildinfo +0 -1
  210. package/typedoc.mjs +0 -2
@@ -1,575 +0,0 @@
1
- /* IMPORTANT
2
- * This snapshot file is auto-generated, but designed for humans.
3
- * It should be checked into source control and tracked carefully.
4
- * Re-generate by setting TAP_SNAPSHOT=1 and running tests.
5
- * Make sure to inspect the output below. Do not ignore changes!
6
- */
7
- 'use strict'
8
- exports[`test/pseudo/semver.ts > TAP > select from semver definition > :attr comparison value > must match snapshot 1`] = `
9
- Object {
10
- "edges": Array [
11
- "b",
12
- ],
13
- "nodes": Array [
14
- "b",
15
- ],
16
- }
17
- `
18
-
19
- exports[`test/pseudo/semver.ts > TAP > select from semver definition > :attr comparison value forcing multiple ranges comparison > must match snapshot 1`] = `
20
- Object {
21
- "edges": Array [],
22
- "nodes": Array [],
23
- }
24
- `
25
-
26
- exports[`test/pseudo/semver.ts > TAP > select from semver definition > :attr matching arbitrary manifest property > must match snapshot 1`] = `
27
- Object {
28
- "edges": Array [
29
- "f",
30
- ],
31
- "nodes": Array [
32
- "f",
33
- ],
34
- }
35
- `
36
-
37
- exports[`test/pseudo/semver.ts > TAP > select from semver definition > attribute matching arbitrary manifest property > must match snapshot 1`] = `
38
- Object {
39
- "edges": Array [
40
- "f",
41
- ],
42
- "nodes": Array [
43
- "f",
44
- ],
45
- }
46
- `
47
-
48
- exports[`test/pseudo/semver.ts > TAP > select from semver definition > diff semver function matching arbitrary manifest property > must match snapshot 1`] = `
49
- Object {
50
- "edges": Array [
51
- "f",
52
- ],
53
- "nodes": Array [
54
- "f",
55
- ],
56
- }
57
- `
58
-
59
- exports[`test/pseudo/semver.ts > TAP > select from semver definition > intersects excludes dist-tag edges (no semver) > must match snapshot 1`] = `
60
- Object {
61
- "edges": Array [
62
- "a",
63
- "b",
64
- "c",
65
- "d",
66
- "e",
67
- "f",
68
- "g",
69
- "e",
70
- ],
71
- "nodes": Array [
72
- "a",
73
- "b",
74
- "c",
75
- "d",
76
- "e",
77
- "f",
78
- "g",
79
- "e",
80
- ],
81
- }
82
- `
83
-
84
- exports[`test/pseudo/semver.ts > TAP > select from semver definition > intersects on edges > must match snapshot 1`] = `
85
- Object {
86
- "edges": Array [
87
- "c",
88
- "e",
89
- "f",
90
- ],
91
- "nodes": Array [
92
- "c",
93
- "e",
94
- "f",
95
- ],
96
- }
97
- `
98
-
99
- exports[`test/pseudo/semver.ts > TAP > select from semver definition > intersects with :attr comparison value > must match snapshot 1`] = `
100
- Object {
101
- "edges": Array [
102
- "b",
103
- "c",
104
- ],
105
- "nodes": Array [
106
- "b",
107
- "c",
108
- ],
109
- }
110
- `
111
-
112
- exports[`test/pseudo/semver.ts > TAP > select from semver definition > quoted custom semver function > must match snapshot 1`] = `
113
- Object {
114
- "edges": Array [
115
- "a",
116
- "b",
117
- "c",
118
- "e",
119
- "f",
120
- "g",
121
- "e",
122
- "h",
123
- ],
124
- "nodes": Array [
125
- "semver-rich-project",
126
- "a",
127
- "b",
128
- "c",
129
- "e",
130
- "f",
131
- "g",
132
- "e",
133
- "h",
134
- ],
135
- }
136
- `
137
-
138
- exports[`test/pseudo/semver.ts > TAP > select from semver definition > quoted extended prerelease semver > must match snapshot 1`] = `
139
- Object {
140
- "edges": Array [
141
- "g",
142
- ],
143
- "nodes": Array [
144
- "g",
145
- ],
146
- }
147
- `
148
-
149
- exports[`test/pseudo/semver.ts > TAP > select from semver definition > quoted hyphen-separated semver > must match snapshot 1`] = `
150
- Object {
151
- "edges": Array [
152
- "e",
153
- ],
154
- "nodes": Array [
155
- "e",
156
- ],
157
- }
158
- `
159
-
160
- exports[`test/pseudo/semver.ts > TAP > select from semver definition > quoted lte semver > must match snapshot 1`] = `
161
- Object {
162
- "edges": Array [
163
- "a",
164
- "h",
165
- ],
166
- "nodes": Array [
167
- "semver-rich-project",
168
- "a",
169
- "h",
170
- ],
171
- }
172
- `
173
-
174
- exports[`test/pseudo/semver.ts > TAP > select from semver definition > quoted no spaces > must match snapshot 1`] = `
175
- Object {
176
- "edges": Array [
177
- "b",
178
- ],
179
- "nodes": Array [
180
- "b",
181
- ],
182
- }
183
- `
184
-
185
- exports[`test/pseudo/semver.ts > TAP > select from semver definition > quoted pipe-separated semver > must match snapshot 1`] = `
186
- Object {
187
- "edges": Array [
188
- "c",
189
- "f",
190
- ],
191
- "nodes": Array [
192
- "c",
193
- "f",
194
- ],
195
- }
196
- `
197
-
198
- exports[`test/pseudo/semver.ts > TAP > select from semver definition > quoted pre-release semver > must match snapshot 1`] = `
199
- Object {
200
- "edges": Array [
201
- "e",
202
- ],
203
- "nodes": Array [
204
- "e",
205
- ],
206
- }
207
- `
208
-
209
- exports[`test/pseudo/semver.ts > TAP > select from semver definition > quoted with multiple spaces > must match snapshot 1`] = `
210
- Object {
211
- "edges": Array [
212
- "a",
213
- "b",
214
- "e",
215
- "@x/y",
216
- "c",
217
- "d",
218
- "e",
219
- "f",
220
- ],
221
- "nodes": Array [
222
- "my-project",
223
- "a",
224
- "b",
225
- "c",
226
- "d",
227
- "e",
228
- "f",
229
- "@x/y",
230
- ],
231
- }
232
- `
233
-
234
- exports[`test/pseudo/semver.ts > TAP > select from semver definition > quoted with spaces > must match snapshot 1`] = `
235
- Object {
236
- "edges": Array [
237
- "b",
238
- ],
239
- "nodes": Array [
240
- "b",
241
- ],
242
- }
243
- `
244
-
245
- exports[`test/pseudo/semver.ts > TAP > select from semver definition > string matching arbitrary manifest property > must match snapshot 1`] = `
246
- Object {
247
- "edges": Array [
248
- "f",
249
- ],
250
- "nodes": Array [
251
- "f",
252
- ],
253
- }
254
- `
255
-
256
- exports[`test/pseudo/semver.ts > TAP > select from semver definition > subset on edges - matching > must match snapshot 1`] = `
257
- Object {
258
- "edges": Array [
259
- "a",
260
- "b",
261
- "c",
262
- "d",
263
- "f",
264
- "g",
265
- "e",
266
- ],
267
- "nodes": Array [
268
- "a",
269
- "b",
270
- "c",
271
- "d",
272
- "f",
273
- "g",
274
- "e",
275
- ],
276
- }
277
- `
278
-
279
- exports[`test/pseudo/semver.ts > TAP > select from semver definition > subset on edges - narrow range > must match snapshot 1`] = `
280
- Object {
281
- "edges": Array [
282
- "b",
283
- ],
284
- "nodes": Array [
285
- "b",
286
- ],
287
- }
288
- `
289
-
290
- exports[`test/pseudo/semver.ts > TAP > select from semver definition > subset with :attr comparison value (range vs manifest property) > must match snapshot 1`] = `
291
- Object {
292
- "edges": Array [
293
- "b",
294
- "c",
295
- ],
296
- "nodes": Array [
297
- "b",
298
- "c",
299
- ],
300
- }
301
- `
302
-
303
- exports[`test/pseudo/semver.ts > TAP > select from semver definition > unquoted complex semver with spaces > must match snapshot 1`] = `
304
- Object {
305
- "edges": Array [
306
- "a",
307
- "b",
308
- "d",
309
- "h",
310
- ],
311
- "nodes": Array [
312
- "semver-rich-project",
313
- "a",
314
- "b",
315
- "d",
316
- "h",
317
- ],
318
- }
319
- `
320
-
321
- exports[`test/pseudo/semver.ts > TAP > select from semver definition > unquoted custom attribute property > must match snapshot 1`] = `
322
- Object {
323
- "edges": Array [
324
- "b",
325
- "d",
326
- ],
327
- "nodes": Array [
328
- "b",
329
- "d",
330
- ],
331
- }
332
- `
333
-
334
- exports[`test/pseudo/semver.ts > TAP > select from semver definition > unquoted custom semver function > must match snapshot 1`] = `
335
- Object {
336
- "edges": Array [
337
- "a",
338
- "b",
339
- "c",
340
- "e",
341
- "f",
342
- "g",
343
- "e",
344
- "h",
345
- ],
346
- "nodes": Array [
347
- "semver-rich-project",
348
- "a",
349
- "b",
350
- "c",
351
- "e",
352
- "f",
353
- "g",
354
- "e",
355
- "h",
356
- ],
357
- }
358
- `
359
-
360
- exports[`test/pseudo/semver.ts > TAP > select from semver definition > unquoted extended prerelease semver > must match snapshot 1`] = `
361
- Object {
362
- "edges": Array [
363
- "g",
364
- ],
365
- "nodes": Array [
366
- "g",
367
- ],
368
- }
369
- `
370
-
371
- exports[`test/pseudo/semver.ts > TAP > select from semver definition > unquoted greater than or equal semver > must match snapshot 1`] = `
372
- Object {
373
- "edges": Array [
374
- "b",
375
- "c",
376
- "d",
377
- "e",
378
- "f",
379
- ],
380
- "nodes": Array [
381
- "b",
382
- "c",
383
- "d",
384
- "e",
385
- "f",
386
- ],
387
- }
388
- `
389
-
390
- exports[`test/pseudo/semver.ts > TAP > select from semver definition > unquoted greater than semver > must match snapshot 1`] = `
391
- Object {
392
- "edges": Array [
393
- "b",
394
- "c",
395
- "d",
396
- "e",
397
- "f",
398
- ],
399
- "nodes": Array [
400
- "b",
401
- "c",
402
- "d",
403
- "e",
404
- "f",
405
- ],
406
- }
407
- `
408
-
409
- exports[`test/pseudo/semver.ts > TAP > select from semver definition > unquoted hyphen-separated semver > must match snapshot 1`] = `
410
- Object {
411
- "edges": Array [
412
- "e",
413
- ],
414
- "nodes": Array [
415
- "e",
416
- ],
417
- }
418
- `
419
-
420
- exports[`test/pseudo/semver.ts > TAP > select from semver definition > unquoted less than or equal semver > must match snapshot 1`] = `
421
- Object {
422
- "edges": Array [
423
- "a",
424
- "h",
425
- ],
426
- "nodes": Array [
427
- "semver-rich-project",
428
- "a",
429
- "h",
430
- ],
431
- }
432
- `
433
-
434
- exports[`test/pseudo/semver.ts > TAP > select from semver definition > unquoted less than semver > must match snapshot 1`] = `
435
- Object {
436
- "edges": Array [
437
- "a",
438
- "h",
439
- ],
440
- "nodes": Array [
441
- "semver-rich-project",
442
- "a",
443
- "h",
444
- ],
445
- }
446
- `
447
-
448
- exports[`test/pseudo/semver.ts > TAP > select from semver definition > unquoted lte semver > must match snapshot 1`] = `
449
- Object {
450
- "edges": Array [
451
- "a",
452
- "h",
453
- ],
454
- "nodes": Array [
455
- "semver-rich-project",
456
- "a",
457
- "h",
458
- ],
459
- }
460
- `
461
-
462
- exports[`test/pseudo/semver.ts > TAP > select from semver definition > unquoted no spaces > must match snapshot 1`] = `
463
- Object {
464
- "edges": Array [
465
- "b",
466
- ],
467
- "nodes": Array [
468
- "b",
469
- ],
470
- }
471
- `
472
-
473
- exports[`test/pseudo/semver.ts > TAP > select from semver definition > unquoted pipe-separated semver > must match snapshot 1`] = `
474
- Object {
475
- "edges": Array [
476
- "c",
477
- "f",
478
- ],
479
- "nodes": Array [
480
- "c",
481
- "f",
482
- ],
483
- }
484
- `
485
-
486
- exports[`test/pseudo/semver.ts > TAP > select from semver definition > unquoted pre-release semver > must match snapshot 1`] = `
487
- Object {
488
- "edges": Array [
489
- "e",
490
- ],
491
- "nodes": Array [
492
- "e",
493
- ],
494
- }
495
- `
496
-
497
- exports[`test/pseudo/semver.ts > TAP > select from semver definition > unquoted semver with +-. characters > must match snapshot 1`] = `
498
- Object {
499
- "edges": Array [
500
- "g",
501
- ],
502
- "nodes": Array [
503
- "g",
504
- ],
505
- }
506
- `
507
-
508
- exports[`test/pseudo/semver.ts > TAP > select from semver definition > unquoted semver with || (OR) operator > must match snapshot 1`] = `
509
- Object {
510
- "edges": Array [
511
- "e",
512
- "f",
513
- "h",
514
- ],
515
- "nodes": Array [
516
- "semver-rich-project",
517
- "e",
518
- "f",
519
- "h",
520
- ],
521
- }
522
- `
523
-
524
- exports[`test/pseudo/semver.ts > TAP > select from semver definition > unquoted semver with multiple comparators > must match snapshot 1`] = `
525
- Object {
526
- "edges": Array [
527
- "a",
528
- "b",
529
- "e",
530
- "f",
531
- ],
532
- "nodes": Array [
533
- "a",
534
- "b",
535
- "e",
536
- "f",
537
- ],
538
- }
539
- `
540
-
541
- exports[`test/pseudo/semver.ts > TAP > select from semver definition > unquoted with multiple spaces > must match snapshot 1`] = `
542
- Object {
543
- "edges": Array [
544
- "a",
545
- "b",
546
- "e",
547
- "@x/y",
548
- "c",
549
- "d",
550
- "e",
551
- "f",
552
- ],
553
- "nodes": Array [
554
- "my-project",
555
- "a",
556
- "b",
557
- "c",
558
- "d",
559
- "e",
560
- "f",
561
- "@x/y",
562
- ],
563
- }
564
- `
565
-
566
- exports[`test/pseudo/semver.ts > TAP > select from semver definition > unquoted with spaces > must match snapshot 1`] = `
567
- Object {
568
- "edges": Array [
569
- "b",
570
- ],
571
- "nodes": Array [
572
- "b",
573
- ],
574
- }
575
- `
@@ -1,122 +0,0 @@
1
- /* IMPORTANT
2
- * This snapshot file is auto-generated, but designed for humans.
3
- * It should be checked into source control and tracked carefully.
4
- * Re-generate by setting TAP_SNAPSHOT=1 and running tests.
5
- * Make sure to inspect the output below. Do not ignore changes!
6
- */
7
- 'use strict'
8
- exports[`test/pseudo/severity.ts > TAP > selects packages with a specific severity kind > filter out any node that does not have the severity alert > must match snapshot 1`] = `
9
- Object {
10
- "edges": Array [
11
- "e",
12
- "e",
13
- ],
14
- "nodes": Array [
15
- "e",
16
- ],
17
- }
18
- `
19
-
20
- exports[`test/pseudo/severity.ts > TAP > selects packages with a specific severity kind > filter out using unquoted param > must match snapshot 1`] = `
21
- Object {
22
- "edges": Array [
23
- "f",
24
- ],
25
- "nodes": Array [
26
- "f",
27
- ],
28
- }
29
- `
30
-
31
- exports[`test/pseudo/severity.ts > TAP > selects packages with a specific severity kind > filter using numbered param > must match snapshot 1`] = `
32
- Object {
33
- "edges": Array [
34
- "e",
35
- "e",
36
- ],
37
- "nodes": Array [
38
- "e",
39
- ],
40
- }
41
- `
42
-
43
- exports[`test/pseudo/severity.ts > TAP > selects packages with a specific severity kind > greater than comparator with 0 (critical level) > must match snapshot 1`] = `
44
- Object {
45
- "edges": Array [
46
- "a",
47
- "b",
48
- "f",
49
- ],
50
- "nodes": Array [
51
- "a",
52
- "b",
53
- "f",
54
- ],
55
- }
56
- `
57
-
58
- exports[`test/pseudo/severity.ts > TAP > selects packages with a specific severity kind > greater than comparator with number (unquoted) > must match snapshot 1`] = `
59
- Object {
60
- "edges": Array [
61
- "a",
62
- "b",
63
- ],
64
- "nodes": Array [
65
- "a",
66
- "b",
67
- ],
68
- }
69
- `
70
-
71
- exports[`test/pseudo/severity.ts > TAP > selects packages with a specific severity kind > greater than or equal to comparator with number (quoted) > must match snapshot 1`] = `
72
- Object {
73
- "edges": Array [
74
- "a",
75
- "b",
76
- ],
77
- "nodes": Array [
78
- "a",
79
- "b",
80
- ],
81
- }
82
- `
83
-
84
- exports[`test/pseudo/severity.ts > TAP > selects packages with a specific severity kind > less than comparator with number (quoted) > must match snapshot 1`] = `
85
- Object {
86
- "edges": Array [
87
- "e",
88
- "e",
89
- "f",
90
- ],
91
- "nodes": Array [
92
- "e",
93
- "f",
94
- ],
95
- }
96
- `
97
-
98
- exports[`test/pseudo/severity.ts > TAP > selects packages with a specific severity kind > less than or equal to comparator with critical kind (level 0) > must match snapshot 1`] = `
99
- Object {
100
- "edges": Array [
101
- "e",
102
- "e",
103
- ],
104
- "nodes": Array [
105
- "e",
106
- ],
107
- }
108
- `
109
-
110
- exports[`test/pseudo/severity.ts > TAP > selects packages with a specific severity kind > less than or equal to comparator with number (unquoted) > must match snapshot 1`] = `
111
- Object {
112
- "edges": Array [
113
- "e",
114
- "e",
115
- "f",
116
- ],
117
- "nodes": Array [
118
- "e",
119
- "f",
120
- ],
121
- }
122
- `
@@ -1,18 +0,0 @@
1
- /* IMPORTANT
2
- * This snapshot file is auto-generated, but designed for humans.
3
- * It should be checked into source control and tracked carefully.
4
- * Re-generate by setting TAP_SNAPSHOT=1 and running tests.
5
- * Make sure to inspect the output below. Do not ignore changes!
6
- */
7
- 'use strict'
8
- exports[`test/pseudo/shell.ts > TAP > selects packages with a shellAccess alert > filter out any node that does not have the alert > must match snapshot 1`] = `
9
- Object {
10
- "edges": Array [
11
- "e",
12
- "e",
13
- ],
14
- "nodes": Array [
15
- "e",
16
- ],
17
- }
18
- `