@eagleoutice/flowr 2.16.1 → 2.16.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.
Files changed (34) hide show
  1. package/dataflow/environments/built-in-props.d.ts +5 -2
  2. package/dataflow/environments/built-in-props.js +6 -3
  3. package/dataflow/environments/default-builtin-config.d.ts +197 -11
  4. package/dataflow/environments/default-builtin-config.js +62 -42
  5. package/dataflow/environments/identifier.d.ts +1 -0
  6. package/dataflow/environments/query-fn-props.d.ts +3 -0
  7. package/dataflow/environments/query-fn-props.js +8 -0
  8. package/dataflow/environments/resolve-by-name.js +11 -4
  9. package/dataflow/eval/resolve/resolve-argument.js +5 -1
  10. package/dataflow/graph/graph.js +12 -0
  11. package/dataflow/internal/process/functions/call/built-in/built-in-purrr-formula.js +9 -0
  12. package/dataflow/internal/process/functions/call/named-call-handling.js +60 -8
  13. package/linter/linter-rules.d.ts +8 -3
  14. package/linter/rules/function-finder-util.d.ts +1 -1
  15. package/linter/rules/function-finder-util.js +1 -3
  16. package/linter/rules/network-functions.d.ts +4 -3
  17. package/linter/rules/network-functions.js +14 -12
  18. package/linter/rules/no-leaked-credentials.d.ts +8 -3
  19. package/linter/rules/no-leaked-credentials.js +133 -35
  20. package/linter/rules/problematic-inputs.d.ts +1 -1
  21. package/linter/rules/problematic-inputs.js +20 -14
  22. package/linter/rules/unescaped-arguments.d.ts +13 -2
  23. package/linter/rules/unescaped-arguments.js +100 -12
  24. package/package.json +1 -1
  25. package/queries/catalog/call-context-query/call-context-query-executor.js +2 -1
  26. package/queries/catalog/input-sources-query/input-source-functions.d.ts +6 -4
  27. package/queries/catalog/input-sources-query/input-source-functions.js +11 -6
  28. package/queries/catalog/input-sources-query/input-sources-query-executor.js +1 -1
  29. package/queries/catalog/input-sources-query/input-sources-query-format.d.ts +1 -1
  30. package/queries/catalog/input-sources-query/input-sources-query-format.js +9 -2
  31. package/queries/catalog/input-sources-query/simple-input-classifier.d.ts +12 -4
  32. package/queries/catalog/input-sources-query/simple-input-classifier.js +227 -29
  33. package/search/search-executor/search-enrichers.js +5 -3
  34. package/util/version.js +2 -2
@@ -137,10 +137,13 @@ export declare enum SemanticCallTag {
137
137
  Prints = "prints",
138
138
  /**
139
139
  * the result is bounded no matter what flows in: a count, an index, a logical, or one of the values of the
140
- * argument marked {@link ArgProp.Bounds}. So nothing an argument carries reaches the result, which is what
141
- * lets the input-sources query stop tracing at `length(x)` or `match.arg(arg, choices)`.
140
+ * argument marked {@link ArgProp.Bounds}. So no content of an argument reaches the result, which is what
141
+ * lets the input-sources query trace `match.arg(arg, choices)` to its `choices` alone; a count still
142
+ * depends on what it counts, so `length(readLines(f))` keeps its file input.
142
143
  */
143
144
  Narrows = "narrows-args",
145
+ /** cuts or replaces parts of a string (`gsub`, `substr`), so what an escaping function made of it no longer holds */
146
+ Edits = "edits-string",
144
147
  /** performs a statistical test, so its result is the test statistic a reader is meant to see (`t.test`, `anova`) */
145
148
  Statistics = "statistics",
146
149
  /** marked for removal, with a better alternative available, like `dplyr::funs` */
@@ -144,10 +144,13 @@ var SemanticCallTag;
144
144
  SemanticCallTag["Prints"] = "prints";
145
145
  /**
146
146
  * the result is bounded no matter what flows in: a count, an index, a logical, or one of the values of the
147
- * argument marked {@link ArgProp.Bounds}. So nothing an argument carries reaches the result, which is what
148
- * lets the input-sources query stop tracing at `length(x)` or `match.arg(arg, choices)`.
147
+ * argument marked {@link ArgProp.Bounds}. So no content of an argument reaches the result, which is what
148
+ * lets the input-sources query trace `match.arg(arg, choices)` to its `choices` alone; a count still
149
+ * depends on what it counts, so `length(readLines(f))` keeps its file input.
149
150
  */
150
151
  SemanticCallTag["Narrows"] = "narrows-args";
152
+ /** cuts or replaces parts of a string (`gsub`, `substr`), so what an escaping function made of it no longer holds */
153
+ SemanticCallTag["Edits"] = "edits-string";
151
154
  /** performs a statistical test, so its result is the test statistic a reader is meant to see (`t.test`, `anova`) */
152
155
  SemanticCallTag["Statistics"] = "statistics";
153
156
  /** marked for removal, with a better alternative available, like `dplyr::funs` */
@@ -197,7 +200,7 @@ exports.ExclusiveCallProps = [
197
200
  exports.InputProps = getPropMask([
198
201
  CallProp.NonDet | CallProp.Ambient | CallProp.Ffi | CallProp.Lang,
199
202
  SemanticCallTag.Random, SemanticCallTag.File, SemanticCallTag.TempFile, SemanticCallTag.Network, SemanticCallTag.Process,
200
- SemanticCallTag.User, SemanticCallTag.CommandLine
203
+ SemanticCallTag.User, SemanticCallTag.CommandLine, SemanticCallTag.LoadsPackage, SemanticCallTag.ChecksPackage
201
204
  ]);
202
205
  /**
203
206
  * The {@link CallProp} bits the signature database states itself, so {@link fnInfoFromSignature} can read them
@@ -387,6 +387,16 @@ export declare const WrittenBuiltinDefinitions: [{
387
387
  readonly sig: FnSig;
388
388
  };
389
389
  readonly assumePrimitive: true;
390
+ }, {
391
+ readonly type: "function";
392
+ readonly names: Identifier[];
393
+ readonly processor: BuiltInProcName.DefaultReadAllArgs;
394
+ readonly config: {
395
+ readonly props: CallProp.Pure;
396
+ readonly tags: [SemanticCallTag.Narrows];
397
+ readonly sig: FnSig;
398
+ };
399
+ readonly assumePrimitive: true;
390
400
  }, {
391
401
  readonly type: "function";
392
402
  readonly names: Identifier[];
@@ -1396,6 +1406,16 @@ export declare const WrittenBuiltinDefinitions: [{
1396
1406
  readonly sig: [["path", number], ["...", number]];
1397
1407
  };
1398
1408
  readonly assumePrimitive: false;
1409
+ }, {
1410
+ readonly type: "function";
1411
+ readonly names: [Identifier];
1412
+ readonly processor: BuiltInProcName.DefaultReadAllArgs;
1413
+ readonly config: {
1414
+ readonly libFn: true;
1415
+ readonly tags: [SemanticCallTag.File, SemanticCallTag.Reads];
1416
+ readonly sig: [["txt", number], ["...", number]];
1417
+ };
1418
+ readonly assumePrimitive: false;
1399
1419
  }, {
1400
1420
  readonly type: "function";
1401
1421
  readonly names: [Identifier];
@@ -2729,8 +2749,8 @@ export declare const WrittenBuiltinDefinitions: [{
2729
2749
  readonly processor: BuiltInProcName.Default;
2730
2750
  readonly config: {
2731
2751
  readonly libFn: true;
2732
- readonly tags: [SemanticCallTag.Opens, SemanticCallTag.Network];
2733
- readonly sig: [["...", number], ["url", number]];
2752
+ readonly tags: [SemanticCallTag.Opens];
2753
+ readonly sig: [["...", number]];
2734
2754
  };
2735
2755
  readonly assumePrimitive: false;
2736
2756
  }, {
@@ -2774,7 +2794,7 @@ export declare const WrittenBuiltinDefinitions: [{
2774
2794
  readonly assumePrimitive: false;
2775
2795
  }, {
2776
2796
  readonly type: "function";
2777
- readonly names: [Identifier];
2797
+ readonly names: [Identifier, Identifier];
2778
2798
  readonly processor: BuiltInProcName.Default;
2779
2799
  readonly config: {
2780
2800
  readonly libFn: true;
@@ -2782,6 +2802,26 @@ export declare const WrittenBuiltinDefinitions: [{
2782
2802
  readonly sig: [["url", number], ["...", number]];
2783
2803
  };
2784
2804
  readonly assumePrimitive: false;
2805
+ }, {
2806
+ readonly type: "function";
2807
+ readonly names: Identifier[];
2808
+ readonly processor: BuiltInProcName.Default;
2809
+ readonly config: {
2810
+ readonly libFn: true;
2811
+ readonly tags: [SemanticCallTag.Network, SemanticCallTag.Reads];
2812
+ readonly sig: [["x", number], ["...", number]];
2813
+ };
2814
+ readonly assumePrimitive: false;
2815
+ }, {
2816
+ readonly type: "function";
2817
+ readonly names: Identifier[];
2818
+ readonly processor: BuiltInProcName.Default;
2819
+ readonly config: {
2820
+ readonly libFn: true;
2821
+ readonly tags: [SemanticCallTag.Network, SemanticCallTag.Reads];
2822
+ readonly sig: [["req", number], ["...", number]];
2823
+ };
2824
+ readonly assumePrimitive: false;
2785
2825
  }, {
2786
2826
  readonly type: "function";
2787
2827
  readonly names: Identifier[];
@@ -3603,6 +3643,18 @@ export declare const WrittenBuiltinDefinitions: [{
3603
3643
  readonly sig: [["f", ArgProp.Callee], ["...", ArgProp.Value]];
3604
3644
  };
3605
3645
  readonly assumePrimitive: false;
3646
+ }, {
3647
+ readonly type: "function";
3648
+ readonly names: [Identifier];
3649
+ readonly processor: BuiltInProcName.Apply;
3650
+ readonly config: {
3651
+ readonly indexOfFunction: 2;
3652
+ readonly nameOfFunctionArgument: "FUN";
3653
+ readonly unquoteFunction: true;
3654
+ readonly props: CallProp.MayPure;
3655
+ readonly sig: [["X", ArgProp.Value], ["Y", ArgProp.Value], ["FUN", ArgProp.Callee], ["...", ArgProp.Value]];
3656
+ };
3657
+ readonly assumePrimitive: false;
3606
3658
  }, {
3607
3659
  readonly type: "function";
3608
3660
  readonly names: [Identifier];
@@ -3627,6 +3679,15 @@ export declare const WrittenBuiltinDefinitions: [{
3627
3679
  readonly sig: [["f", ArgProp.Callee], ["x", ArgProp.Value], ["right", ArgProp.Flag], ["nomatch", ArgProp.Value]];
3628
3680
  };
3629
3681
  readonly assumePrimitive: false;
3682
+ }, {
3683
+ readonly type: "function";
3684
+ readonly names: [Identifier];
3685
+ readonly processor: BuiltInProcName.Default;
3686
+ readonly config: {
3687
+ readonly props: CallProp.MayPure;
3688
+ readonly sig: [["n", number], ["expr", ArgProp.Value], ["simplify", ArgProp.Flag]];
3689
+ };
3690
+ readonly assumePrimitive: false;
3630
3691
  }, {
3631
3692
  readonly type: "function";
3632
3693
  readonly names: [Identifier];
@@ -3970,6 +4031,16 @@ export declare const WrittenBuiltinDefinitions: [{
3970
4031
  readonly sig: [["fun", number]];
3971
4032
  };
3972
4033
  readonly assumePrimitive: true;
4034
+ }, {
4035
+ readonly type: "function";
4036
+ readonly names: [Identifier];
4037
+ readonly processor: BuiltInProcName.Default;
4038
+ readonly config: {
4039
+ readonly hasUnknownSideEffects: true;
4040
+ readonly tags: [SemanticCallTag.Eval];
4041
+ readonly sig: [["what", ArgProp.Value], ["tracer", number], ["exit", number], ["at", ArgProp.Value], ["print", ArgProp.Flag], ["signature", ArgProp.Value], ["where", ArgProp.Value], ["edit", ArgProp.Flag]];
4042
+ };
4043
+ readonly assumePrimitive: false;
3973
4044
  }, {
3974
4045
  readonly type: "function";
3975
4046
  readonly names: [Identifier];
@@ -4159,8 +4230,8 @@ export declare const WrittenBuiltinDefinitions: [{
4159
4230
  readonly includeFunctionCall: true;
4160
4231
  readonly forceFollow: false;
4161
4232
  readonly props: CallProp.Invisible;
4162
- readonly tags: [SemanticCallTag.File, SemanticCallTag.Reads];
4163
- readonly sig: [["file", number], ["local", number], ["echo", number]];
4233
+ readonly tags: [SemanticCallTag.File, SemanticCallTag.Reads, SemanticCallTag.Eval];
4234
+ readonly sig: [["file", number], ["local", number], ["echo", number], ["print.eval", ArgProp.Flag], ["exprs", number]];
4164
4235
  };
4165
4236
  readonly assumePrimitive: false;
4166
4237
  }, {
@@ -4170,7 +4241,7 @@ export declare const WrittenBuiltinDefinitions: [{
4170
4241
  readonly config: {
4171
4242
  readonly hasUnknownSideEffects: true;
4172
4243
  readonly props: CallProp.Invisible;
4173
- readonly tags: [SemanticCallTag.File, SemanticCallTag.Reads];
4244
+ readonly tags: [SemanticCallTag.File, SemanticCallTag.Reads, SemanticCallTag.Eval];
4174
4245
  readonly sig: [["file", number], ["envir", number]];
4175
4246
  };
4176
4247
  readonly assumePrimitive: false;
@@ -4286,7 +4357,7 @@ export declare const WrittenBuiltinDefinitions: [{
4286
4357
  readonly names: [Identifier, Identifier];
4287
4358
  readonly processor: BuiltInProcName.EnvContents;
4288
4359
  readonly config: {
4289
- readonly props: CallProp.Pure;
4360
+ readonly props: CallProp.NonDet;
4290
4361
  readonly sig: [["name", number], ["pos", ArgProp.Flag], ["envir", number], ["all.names", ArgProp.Flag], ["pattern", ArgProp.Value], ["sorted", ArgProp.Flag]];
4291
4362
  };
4292
4363
  readonly assumePrimitive: false;
@@ -4707,6 +4778,7 @@ export declare const WrittenBuiltinDefinitions: [{
4707
4778
  readonly names: Identifier[];
4708
4779
  readonly processor: BuiltInProcName.PurrrFormula;
4709
4780
  readonly config: {
4781
+ readonly props: CallProp.MayPure;
4710
4782
  readonly args: {
4711
4783
  readonly '.x': {
4712
4784
  readonly index: 0;
@@ -4724,6 +4796,7 @@ export declare const WrittenBuiltinDefinitions: [{
4724
4796
  readonly names: Identifier[];
4725
4797
  readonly processor: BuiltInProcName.PurrrFormula;
4726
4798
  readonly config: {
4799
+ readonly props: CallProp.MayPure;
4727
4800
  readonly args: {
4728
4801
  readonly '.l': {
4729
4802
  readonly index: 0;
@@ -4741,6 +4814,7 @@ export declare const WrittenBuiltinDefinitions: [{
4741
4814
  readonly names: Identifier[];
4742
4815
  readonly processor: BuiltInProcName.PurrrFormula;
4743
4816
  readonly config: {
4817
+ readonly props: CallProp.MayPure;
4744
4818
  readonly args: {
4745
4819
  readonly '.x': {
4746
4820
  readonly index: 0;
@@ -4762,6 +4836,7 @@ export declare const WrittenBuiltinDefinitions: [{
4762
4836
  readonly names: Identifier[];
4763
4837
  readonly processor: BuiltInProcName.PurrrFormula;
4764
4838
  readonly config: {
4839
+ readonly props: CallProp.MayPure;
4765
4840
  readonly args: {
4766
4841
  readonly '.x': {
4767
4842
  readonly index: 0;
@@ -4779,6 +4854,7 @@ export declare const WrittenBuiltinDefinitions: [{
4779
4854
  readonly names: [Identifier];
4780
4855
  readonly processor: BuiltInProcName.PurrrFormula;
4781
4856
  readonly config: {
4857
+ readonly props: CallProp.MayPure;
4782
4858
  readonly args: {
4783
4859
  readonly '.x': {
4784
4860
  readonly index: 0;
@@ -4800,6 +4876,7 @@ export declare const WrittenBuiltinDefinitions: [{
4800
4876
  readonly names: Identifier[];
4801
4877
  readonly processor: BuiltInProcName.PurrrFormula;
4802
4878
  readonly config: {
4879
+ readonly props: CallProp.MayPure;
4803
4880
  readonly args: {
4804
4881
  readonly '.x': {
4805
4882
  readonly index: 0;
@@ -4821,6 +4898,7 @@ export declare const WrittenBuiltinDefinitions: [{
4821
4898
  readonly names: [Identifier];
4822
4899
  readonly processor: BuiltInProcName.PurrrFormula;
4823
4900
  readonly config: {
4901
+ readonly props: CallProp.MayPure;
4824
4902
  readonly args: {
4825
4903
  readonly '.x': {
4826
4904
  readonly index: 0;
@@ -4842,6 +4920,7 @@ export declare const WrittenBuiltinDefinitions: [{
4842
4920
  readonly names: Identifier[];
4843
4921
  readonly processor: BuiltInProcName.PurrrFormula;
4844
4922
  readonly config: {
4923
+ readonly props: CallProp.MayPure;
4845
4924
  readonly args: {
4846
4925
  readonly '.x': {
4847
4926
  readonly index: 0;
@@ -4863,6 +4942,7 @@ export declare const WrittenBuiltinDefinitions: [{
4863
4942
  readonly names: [Identifier];
4864
4943
  readonly processor: BuiltInProcName.PurrrFormula;
4865
4944
  readonly config: {
4945
+ readonly props: CallProp.MayPure;
4866
4946
  readonly args: {
4867
4947
  readonly '.x': {
4868
4948
  readonly index: 0;
@@ -4881,6 +4961,7 @@ export declare const WrittenBuiltinDefinitions: [{
4881
4961
  readonly names: [Identifier];
4882
4962
  readonly processor: BuiltInProcName.PurrrFormula;
4883
4963
  readonly config: {
4964
+ readonly props: CallProp.MayPure;
4884
4965
  readonly args: {
4885
4966
  readonly '.x': {
4886
4967
  readonly index: 0;
@@ -4899,6 +4980,7 @@ export declare const WrittenBuiltinDefinitions: [{
4899
4980
  readonly names: [Identifier];
4900
4981
  readonly processor: BuiltInProcName.PurrrFormula;
4901
4982
  readonly config: {
4983
+ readonly props: CallProp.MayPure;
4902
4984
  readonly args: {
4903
4985
  readonly '.l': {
4904
4986
  readonly index: 0;
@@ -4917,6 +4999,7 @@ export declare const WrittenBuiltinDefinitions: [{
4917
4999
  readonly names: [Identifier];
4918
5000
  readonly processor: BuiltInProcName.PurrrFormula;
4919
5001
  readonly config: {
5002
+ readonly props: CallProp.MayPure;
4920
5003
  readonly args: {
4921
5004
  readonly '.x': {
4922
5005
  readonly index: 0;
@@ -4939,6 +5022,7 @@ export declare const WrittenBuiltinDefinitions: [{
4939
5022
  readonly names: [Identifier];
4940
5023
  readonly processor: BuiltInProcName.PurrrFormula;
4941
5024
  readonly config: {
5025
+ readonly props: CallProp.MayPure;
4942
5026
  readonly args: {
4943
5027
  readonly '.x': {
4944
5028
  readonly index: 0;
@@ -4956,6 +5040,7 @@ export declare const WrittenBuiltinDefinitions: [{
4956
5040
  readonly names: [Identifier];
4957
5041
  readonly processor: BuiltInProcName.PurrrFormula;
4958
5042
  readonly config: {
5043
+ readonly props: CallProp.MayPure;
4959
5044
  readonly args: {
4960
5045
  readonly '.l': {
4961
5046
  readonly index: 0;
@@ -4973,6 +5058,7 @@ export declare const WrittenBuiltinDefinitions: [{
4973
5058
  readonly names: Identifier[];
4974
5059
  readonly processor: BuiltInProcName.PurrrFormula;
4975
5060
  readonly config: {
5061
+ readonly props: CallProp.MayPure;
4976
5062
  readonly args: {
4977
5063
  readonly '.x': {
4978
5064
  readonly index: 0;
@@ -4994,6 +5080,7 @@ export declare const WrittenBuiltinDefinitions: [{
4994
5080
  readonly names: [Identifier];
4995
5081
  readonly processor: BuiltInProcName.PurrrFormula;
4996
5082
  readonly config: {
5083
+ readonly props: CallProp.MayPure;
4997
5084
  readonly args: {
4998
5085
  readonly '.x': {
4999
5086
  readonly index: 0;
@@ -5015,6 +5102,7 @@ export declare const WrittenBuiltinDefinitions: [{
5015
5102
  readonly names: [Identifier];
5016
5103
  readonly processor: BuiltInProcName.PurrrFormula;
5017
5104
  readonly config: {
5105
+ readonly props: CallProp.MayPure;
5018
5106
  readonly args: {
5019
5107
  readonly '.x': {
5020
5108
  readonly index: 0;
@@ -5032,6 +5120,7 @@ export declare const WrittenBuiltinDefinitions: [{
5032
5120
  readonly names: [Identifier];
5033
5121
  readonly processor: BuiltInProcName.PurrrFormula;
5034
5122
  readonly config: {
5123
+ readonly props: CallProp.MayPure;
5035
5124
  readonly args: {
5036
5125
  readonly '.x': {
5037
5126
  readonly index: 0;
@@ -5879,13 +5968,23 @@ export declare const WrittenBuiltinDefinitions: [{
5879
5968
  readonly assumePrimitive: false;
5880
5969
  }, {
5881
5970
  readonly type: "function";
5882
- readonly names: [Identifier];
5971
+ readonly names: Identifier[];
5883
5972
  readonly processor: BuiltInProcName.Default;
5884
5973
  readonly config: {
5885
5974
  readonly props: CallProp.Pure;
5886
5975
  readonly sig: [["...", ArgProp.Forced]];
5887
5976
  };
5888
5977
  readonly assumePrimitive: false;
5978
+ }, {
5979
+ readonly type: "function";
5980
+ readonly names: Identifier[];
5981
+ readonly processor: BuiltInProcName.Default;
5982
+ readonly config: {
5983
+ readonly libFn: true;
5984
+ readonly props: CallProp.Lang;
5985
+ readonly sig: [["x", number]];
5986
+ };
5987
+ readonly assumePrimitive: false;
5889
5988
  }, {
5890
5989
  readonly type: "function";
5891
5990
  readonly names: Identifier[];
@@ -5918,7 +6017,7 @@ export declare const WrittenBuiltinDefinitions: [{
5918
6017
  readonly names: Identifier[];
5919
6018
  readonly processor: BuiltInProcName.Default;
5920
6019
  readonly config: {
5921
- readonly props: CallProp.Lang;
6020
+ readonly props: number;
5922
6021
  readonly frame: ArgProp.Nse;
5923
6022
  readonly sig: [["...", ArgProp.Forced]];
5924
6023
  };
@@ -5928,7 +6027,7 @@ export declare const WrittenBuiltinDefinitions: [{
5928
6027
  readonly names: Identifier[];
5929
6028
  readonly processor: BuiltInProcName.Default;
5930
6029
  readonly config: {
5931
- readonly props: CallProp.Lang;
6030
+ readonly props: number;
5932
6031
  readonly frame: ArgProp.Presence;
5933
6032
  readonly sig: [["...", ArgProp.Forced]];
5934
6033
  };
@@ -6124,20 +6223,71 @@ export declare const WrittenBuiltinDefinitions: [{
6124
6223
  readonly processor: BuiltInProcName.Default;
6125
6224
  readonly config: {
6126
6225
  readonly libFn: true;
6226
+ readonly props: CallProp.NonDet;
6127
6227
  readonly tags: [SemanticCallTag.Database];
6128
6228
  readonly sig: [["conn", number], ["statement", number], ["...", ArgProp.Value]];
6129
6229
  };
6130
6230
  readonly assumePrimitive: false;
6231
+ }, {
6232
+ readonly type: "function";
6233
+ readonly names: Identifier[];
6234
+ readonly processor: BuiltInProcName.Default;
6235
+ readonly config: {
6236
+ readonly libFn: true;
6237
+ readonly props: CallProp.Pure;
6238
+ readonly sig: [["conn", number], ["x", number], ["...", ArgProp.Value]];
6239
+ };
6240
+ readonly assumePrimitive: false;
6241
+ }, {
6242
+ readonly type: "function";
6243
+ readonly names: [Identifier];
6244
+ readonly processor: BuiltInProcName.Default;
6245
+ readonly config: {
6246
+ readonly libFn: true;
6247
+ readonly props: CallProp.Pure;
6248
+ readonly sig: [["text", number], ["attribute", ArgProp.Flag]];
6249
+ };
6250
+ readonly assumePrimitive: false;
6251
+ }, {
6252
+ readonly type: "function";
6253
+ readonly names: [Identifier];
6254
+ readonly processor: BuiltInProcName.Default;
6255
+ readonly config: {
6256
+ readonly libFn: true;
6257
+ readonly sig: [["conn", number], ["sql", number], ["...", ArgProp.Value], [".dots", ArgProp.Value]];
6258
+ };
6259
+ readonly assumePrimitive: false;
6260
+ }, {
6261
+ readonly type: "function";
6262
+ readonly names: Identifier[];
6263
+ readonly processor: BuiltInProcName.Default;
6264
+ readonly config: {
6265
+ readonly libFn: true;
6266
+ readonly sig: [["...", number], [".con", ArgProp.Handle], [".envir", ArgProp.Value], [".na", ArgProp.Value]];
6267
+ };
6268
+ readonly assumePrimitive: false;
6131
6269
  }, {
6132
6270
  readonly type: "function";
6133
6271
  readonly names: [Identifier];
6134
6272
  readonly processor: BuiltInProcName.Default;
6135
6273
  readonly config: {
6136
6274
  readonly libFn: true;
6275
+ readonly props: CallProp.NonDet;
6137
6276
  readonly tags: [SemanticCallTag.Database];
6138
6277
  readonly sig: [["x", number], ["stringsAsFactors", number], ["row.names", number], ["envir", number], ["method", number]];
6139
6278
  };
6140
6279
  readonly assumePrimitive: false;
6280
+ }, {
6281
+ readonly type: "function";
6282
+ readonly names: Identifier[];
6283
+ readonly processor: BuiltInProcName.Default;
6284
+ readonly config: {
6285
+ readonly libFn: true;
6286
+ readonly props: CallProp.NonDet;
6287
+ readonly tags: [SemanticCallTag.Database];
6288
+ readonly sig: [["channel", number], ["query", number], ["...", ArgProp.Value]];
6289
+ };
6290
+ readonly assumePrimitive: false;
6141
6291
  }, {
6142
6292
  readonly type: "function";
6143
6293
  readonly names: [Identifier, Identifier];
@@ -6165,13 +6315,23 @@ export declare const WrittenBuiltinDefinitions: [{
6165
6315
  readonly config: {
6166
6316
  readonly libFn: true;
6167
6317
  readonly tags: [SemanticCallTag.Html];
6168
- readonly sig: [["selector", number], ["where", number], ["ui", number], ["immediate", number], ["session", number]];
6318
+ readonly sig: [["mds", number], ["extensions", number], [".noWS", ArgProp.Flag], ["...", number]];
6169
6319
  };
6170
6320
  readonly assumePrimitive: false;
6171
6321
  }, {
6172
6322
  readonly type: "function";
6173
6323
  readonly names: [Identifier];
6174
6324
  readonly processor: BuiltInProcName.Default;
6325
+ readonly config: {
6326
+ readonly libFn: true;
6327
+ readonly tags: [SemanticCallTag.Html];
6328
+ readonly sig: [["selector", number], ["where", number], ["ui", number], ["immediate", number], ["session", number]];
6329
+ };
6330
+ readonly assumePrimitive: false;
6331
+ }, {
6332
+ readonly type: "function";
6333
+ readonly names: Identifier[];
6334
+ readonly processor: BuiltInProcName.Default;
6175
6335
  readonly config: {
6176
6336
  readonly libFn: true;
6177
6337
  readonly tags: [SemanticCallTag.JavaScript];
@@ -6256,6 +6416,16 @@ export declare const WrittenBuiltinDefinitions: [{
6256
6416
  readonly sig: [["...", ArgProp.Forced]];
6257
6417
  };
6258
6418
  readonly assumePrimitive: false;
6419
+ }, {
6420
+ readonly type: "function";
6421
+ readonly names: Identifier[];
6422
+ readonly processor: BuiltInProcName.Default;
6423
+ readonly config: {
6424
+ readonly libFn: true;
6425
+ readonly props: CallProp.NonDet;
6426
+ readonly sig: [["...", ArgProp.Forced]];
6427
+ };
6428
+ readonly assumePrimitive: false;
6259
6429
  }, {
6260
6430
  readonly type: "function";
6261
6431
  readonly names: Identifier[];
@@ -6281,6 +6451,7 @@ export declare const WrittenBuiltinDefinitions: [{
6281
6451
  readonly config: {
6282
6452
  readonly readIndices: true;
6283
6453
  readonly props: number;
6454
+ readonly sig: [["fun", ArgProp.Value], ["value", number]];
6284
6455
  };
6285
6456
  }, {
6286
6457
  readonly type: "replacement";
@@ -6340,6 +6511,7 @@ export declare const WrittenBuiltinDefinitions: [{
6340
6511
  readonly processor: BuiltInProcName.DefaultReadAllArgs;
6341
6512
  readonly config: {
6342
6513
  readonly props: CallProp.Pure;
6514
+ readonly tags: [SemanticCallTag.Edits];
6343
6515
  readonly sig: [["pattern", number], ["replacement", number], ["x", number], ["ignore.case", number], ["perl", number], ["fixed", number], ["useBytes", number]];
6344
6516
  };
6345
6517
  readonly assumePrimitive: true;
@@ -6350,6 +6522,7 @@ export declare const WrittenBuiltinDefinitions: [{
6350
6522
  readonly processor: BuiltInProcName.DefaultReadAllArgs;
6351
6523
  readonly config: {
6352
6524
  readonly props: CallProp.Pure;
6525
+ readonly tags: [SemanticCallTag.Edits];
6353
6526
  readonly sig: [["x", number], ["start", number], ["stop", number]];
6354
6527
  };
6355
6528
  readonly assumePrimitive: true;
@@ -6360,6 +6533,7 @@ export declare const WrittenBuiltinDefinitions: [{
6360
6533
  readonly processor: BuiltInProcName.DefaultReadAllArgs;
6361
6534
  readonly config: {
6362
6535
  readonly props: CallProp.Pure;
6536
+ readonly tags: [SemanticCallTag.Edits];
6363
6537
  readonly sig: [["text", number], ["first", number], ["last", number]];
6364
6538
  };
6365
6539
  readonly assumePrimitive: true;
@@ -6370,6 +6544,7 @@ export declare const WrittenBuiltinDefinitions: [{
6370
6544
  readonly processor: BuiltInProcName.DefaultReadAllArgs;
6371
6545
  readonly config: {
6372
6546
  readonly props: CallProp.Pure;
6547
+ readonly tags: [SemanticCallTag.Edits];
6373
6548
  readonly sig: [["x", number], ["split", number], ["fixed", number], ["perl", number], ["useBytes", number]];
6374
6549
  };
6375
6550
  readonly assumePrimitive: true;
@@ -6380,10 +6555,21 @@ export declare const WrittenBuiltinDefinitions: [{
6380
6555
  readonly processor: BuiltInProcName.DefaultReadAllArgs;
6381
6556
  readonly config: {
6382
6557
  readonly props: CallProp.Pure;
6558
+ readonly tags: [SemanticCallTag.Edits];
6383
6559
  readonly sig: [["x", number], ["which", number], ["whitespace", number]];
6384
6560
  };
6385
6561
  readonly assumePrimitive: true;
6386
6562
  readonly evalHandler: BuiltInEvalName.StringFn;
6563
+ }, {
6564
+ readonly overrides: true;
6565
+ readonly type: "function";
6566
+ readonly names: Identifier[];
6567
+ readonly processor: BuiltInProcName.DefaultReadAllArgs;
6568
+ readonly config: {
6569
+ readonly props: CallProp.Pure;
6570
+ readonly tags: [SemanticCallTag.Edits];
6571
+ };
6572
+ readonly assumePrimitive: true;
6387
6573
  }, {
6388
6574
  readonly overrides: true;
6389
6575
  readonly type: "function";