@eagleoutice/flowr 2.13.14 → 2.13.16

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 (166) hide show
  1. package/README.md +25 -31
  2. package/abstract-interpretation/data-frame/resolve-args.js +11 -12
  3. package/abstract-interpretation/unsupported-functions.d.ts +1 -0
  4. package/abstract-interpretation/unsupported-functions.js +1 -0
  5. package/benchmark/summarizer/second-phase/graph.d.ts +23 -0
  6. package/benchmark/summarizer/second-phase/graph.js +47 -14
  7. package/cli/repl/commands/repl-cfg.js +2 -42
  8. package/cli/repl/commands/repl-clipboard.d.ts +7 -0
  9. package/cli/repl/commands/repl-clipboard.js +53 -0
  10. package/cli/repl/commands/repl-dataflow.js +5 -70
  11. package/cli/repl/commands/repl-normalize.js +3 -51
  12. package/cli/repl/commands/repl-query.js +37 -2
  13. package/cli/repl/core.js +5 -2
  14. package/control-flow/cfg-dead-code.js +5 -29
  15. package/control-flow/control-flow-graph.d.ts +2 -0
  16. package/control-flow/control-flow-graph.js +2 -0
  17. package/control-flow/diff-cfg.js +2 -56
  18. package/control-flow/semantic-cfg-guided-visitor.d.ts +7 -0
  19. package/control-flow/semantic-cfg-guided-visitor.js +14 -0
  20. package/control-flow/useless-loop.js +4 -26
  21. package/core/steps/all/core/10-normalize.d.ts +8 -0
  22. package/core/steps/all/core/10-normalize.js +10 -8
  23. package/core/steps/all/core/11-normalize-tree-sitter.d.ts +5 -7
  24. package/core/steps/all/core/11-normalize-tree-sitter.js +2 -9
  25. package/data/r-base-packages.generated.d.ts +1 -0
  26. package/data/r-base-packages.generated.js +5 -3
  27. package/dataflow/environments/built-in-config.d.ts +9 -1
  28. package/dataflow/environments/built-in-proc-name.d.ts +2 -0
  29. package/dataflow/environments/built-in-proc-name.js +2 -0
  30. package/dataflow/environments/built-in-props.d.ts +4 -0
  31. package/dataflow/environments/built-in-props.js +3 -3
  32. package/dataflow/environments/built-in.d.ts +4 -2
  33. package/dataflow/environments/built-in.js +53 -3
  34. package/dataflow/environments/data-masking-functions.d.ts +3 -4
  35. package/dataflow/environments/data-masking-functions.js +7 -8
  36. package/dataflow/environments/default-builtin-config.d.ts +92 -12
  37. package/dataflow/environments/default-builtin-config.js +86 -43
  38. package/dataflow/environments/environment.d.ts +5 -0
  39. package/dataflow/environments/environment.js +17 -12
  40. package/dataflow/environments/identifier.d.ts +3 -0
  41. package/dataflow/eval/resolve/alias-tracking.js +4 -7
  42. package/dataflow/eval/resolve/node-value.d.ts +51 -0
  43. package/dataflow/eval/resolve/node-value.js +71 -0
  44. package/dataflow/eval/resolve/resolve-argument.js +10 -7
  45. package/dataflow/eval/resolve/resolve-operators.js +1 -2
  46. package/dataflow/eval/values/general.d.ts +4 -0
  47. package/dataflow/eval/values/general.js +14 -0
  48. package/dataflow/eval/values/r-value.d.ts +15 -0
  49. package/dataflow/eval/values/r-value.js +27 -1
  50. package/dataflow/extractor.js +2 -0
  51. package/dataflow/fn/higher-order-function.d.ts +1 -1
  52. package/dataflow/fn/higher-order-function.js +22 -4
  53. package/dataflow/graph/call-graph.d.ts +1 -1
  54. package/dataflow/graph/call-graph.js +1 -1
  55. package/dataflow/graph/df-helper.d.ts +2 -2
  56. package/dataflow/graph/df-helper.js +1 -1
  57. package/dataflow/graph/diff-dataflow-graph.js +3 -55
  58. package/dataflow/graph/graph-helper.d.ts +1 -0
  59. package/dataflow/graph/graph-helper.js +1 -0
  60. package/dataflow/graph/graph.d.ts +5 -0
  61. package/dataflow/graph/graph.js +27 -0
  62. package/dataflow/graph/vertex.d.ts +5 -0
  63. package/dataflow/graph/vertex.js +5 -0
  64. package/dataflow/internal/linker.d.ts +23 -0
  65. package/dataflow/internal/linker.js +70 -1
  66. package/dataflow/internal/process/functions/call/built-in/built-in-access.js +4 -1
  67. package/dataflow/internal/process/functions/call/built-in/built-in-apply.d.ts +2 -0
  68. package/dataflow/internal/process/functions/call/built-in/built-in-apply.js +8 -29
  69. package/dataflow/internal/process/functions/call/built-in/built-in-assignment.js +39 -6
  70. package/dataflow/internal/process/functions/call/built-in/built-in-envir-utils.js +10 -22
  71. package/dataflow/internal/process/functions/call/built-in/built-in-eval.js +29 -53
  72. package/dataflow/internal/process/functions/call/built-in/built-in-if-then-else.js +4 -5
  73. package/dataflow/internal/process/functions/call/built-in/built-in-library.js +7 -7
  74. package/dataflow/internal/process/functions/call/built-in/built-in-load.js +2 -3
  75. package/dataflow/internal/process/functions/call/built-in/built-in-pipe.js +19 -12
  76. package/dataflow/internal/process/functions/call/built-in/built-in-purrr-formula.js +2 -1
  77. package/dataflow/internal/process/functions/call/built-in/built-in-quote.d.ts +3 -0
  78. package/dataflow/internal/process/functions/call/built-in/built-in-quote.js +69 -52
  79. package/dataflow/internal/process/functions/call/built-in/built-in-recall.js +2 -2
  80. package/dataflow/internal/process/functions/call/built-in/built-in-register-hook.js +2 -8
  81. package/dataflow/internal/process/functions/call/built-in/built-in-rm.js +2 -8
  82. package/dataflow/internal/process/functions/call/built-in/built-in-s-seven-new-generic.js +2 -2
  83. package/dataflow/internal/process/functions/call/built-in/built-in-s-three-dispatch.js +2 -2
  84. package/dataflow/internal/process/functions/call/built-in/built-in-source.d.ts +6 -1
  85. package/dataflow/internal/process/functions/call/built-in/built-in-source.js +31 -5
  86. package/dataflow/internal/process/functions/call/built-in/built-in-special-bin-op.d.ts +5 -4
  87. package/dataflow/internal/process/functions/call/built-in/built-in-special-bin-op.js +7 -10
  88. package/dataflow/internal/process/functions/call/built-in/built-in-stack-env.d.ts +6 -1
  89. package/dataflow/internal/process/functions/call/built-in/built-in-stack-env.js +20 -3
  90. package/dataflow/internal/process/functions/call/built-in/built-in-stop-if-not.js +6 -8
  91. package/dataflow/internal/process/functions/call/built-in/built-in-string-template.d.ts +25 -0
  92. package/dataflow/internal/process/functions/call/built-in/built-in-string-template.js +105 -0
  93. package/dataflow/internal/process/functions/call/built-in/built-in-try-catch.js +1 -27
  94. package/dataflow/internal/process/functions/call/built-in/built-in-while-loop.js +4 -5
  95. package/dataflow/internal/process/functions/call/built-in/built-in-with.js +1 -1
  96. package/dataflow/internal/process/functions/call/deferred.d.ts +48 -0
  97. package/dataflow/internal/process/functions/call/deferred.js +149 -0
  98. package/dataflow/internal/process/functions/call/known-call-handling.d.ts +13 -12
  99. package/dataflow/internal/process/functions/call/known-call-handling.js +35 -35
  100. package/dataflow/internal/process/functions/call/named-call-handling.d.ts +1 -1
  101. package/dataflow/internal/process/functions/call/named-call-handling.js +8 -4
  102. package/dataflow/internal/process/functions/call/nse.d.ts +29 -0
  103. package/dataflow/internal/process/functions/call/nse.js +88 -0
  104. package/dataflow/internal/process/functions/call/quoted.d.ts +30 -0
  105. package/dataflow/internal/process/functions/call/quoted.js +191 -0
  106. package/documentation/doc-util/doc-types.js +15 -9
  107. package/documentation/wiki-dataflow-graph.js +8 -0
  108. package/linter/linter-format.d.ts +1 -0
  109. package/linter/linter-format.js +1 -0
  110. package/linter/rules/deprecated-functions.js +9 -3
  111. package/linter/rules/seeded-randomness.js +2 -3
  112. package/linter/rules/undefined-symbol.js +10 -1
  113. package/package.json +1 -1
  114. package/project/plugins/file-plugins/flowr-analyzer-description-file-plugin.d.ts +6 -0
  115. package/project/plugins/file-plugins/flowr-analyzer-description-file-plugin.js +17 -1
  116. package/project/plugins/file-plugins/notebooks/flowr-analyzer-qmd-file-plugin.d.ts +2 -11
  117. package/project/plugins/file-plugins/notebooks/flowr-analyzer-qmd-file-plugin.js +3 -15
  118. package/project/plugins/file-plugins/notebooks/flowr-analyzer-rmarkdown-file-plugin.d.ts +16 -0
  119. package/project/plugins/file-plugins/notebooks/flowr-analyzer-rmarkdown-file-plugin.js +26 -0
  120. package/project/plugins/file-plugins/notebooks/flowr-analyzer-rmd-file-plugin.d.ts +2 -11
  121. package/project/plugins/file-plugins/notebooks/flowr-analyzer-rmd-file-plugin.js +3 -15
  122. package/project/plugins/loading-order-plugins/flowr-analyzer-loading-order-description-file-plugin.js +4 -10
  123. package/project/plugins/package-version-plugins/flowr-analyzer-meta-description-file-plugin.js +2 -9
  124. package/project/plugins/package-version-plugins/flowr-analyzer-package-versions-description-file-plugin.js +2 -9
  125. package/project/plugins/package-version-plugins/flowr-analyzer-package-versions-sigdb-plugin.js +1 -1
  126. package/project/sigdb/reader.d.ts +9 -0
  127. package/project/sigdb/reader.js +30 -0
  128. package/queries/catalog/absint-query/absint-query-format.js +1 -1
  129. package/queries/catalog/does-call-query/does-call-query-format.js +2 -1
  130. package/queries/catalog/input-sources-query/input-sources-query-format.js +2 -2
  131. package/queries/catalog/inspect-exceptions-query/inspect-exception-query-executor.d.ts +0 -12
  132. package/queries/catalog/inspect-exceptions-query/inspect-exception-query-executor.js +2 -37
  133. package/queries/catalog/inspect-exceptions-query/inspect-exception-query-format.js +1 -1
  134. package/queries/catalog/inspect-higher-order-query/inspect-higher-order-query-executor.js +2 -23
  135. package/queries/catalog/inspect-higher-order-query/inspect-higher-order-query-format.js +1 -1
  136. package/queries/catalog/inspect-recursion-query/inspect-recursion-query-executor.js +2 -2
  137. package/queries/catalog/inspect-recursion-query/inspect-recursion-query-format.js +1 -1
  138. package/queries/catalog/location-map-query/location-map-query-format.js +1 -1
  139. package/queries/catalog/origin-query/origin-query-format.js +1 -1
  140. package/queries/catalog/provenance-query/provenance-query-format.js +1 -1
  141. package/queries/catalog/resolve-value-query/resolve-value-query-format.js +1 -1
  142. package/queries/query-function-filter.d.ts +21 -0
  143. package/queries/query-function-filter.js +48 -0
  144. package/r-bridge/data/data.d.ts +13 -3
  145. package/r-bridge/data/data.js +15 -3
  146. package/r-bridge/lang-4.x/ast/model/nodes/info/r-delimiter.d.ts +1 -0
  147. package/r-bridge/lang-4.x/ast/model/nodes/info/r-delimiter.js +1 -0
  148. package/r-bridge/lang-4.x/ast/model/nodes/r-function-call.d.ts +2 -0
  149. package/r-bridge/lang-4.x/ast/model/nodes/r-function-call.js +4 -0
  150. package/search/flowr-search-filters.d.ts +5 -1
  151. package/search/flowr-search-filters.js +31 -21
  152. package/search/search-executor/search-enrichers.d.ts +24 -4
  153. package/search/search-executor/search-enrichers.js +22 -9
  154. package/search/search-executor/search-transformer.js +1 -1
  155. package/slicing/criterion/parse.d.ts +1 -0
  156. package/slicing/criterion/parse.js +1 -0
  157. package/util/diff-graph.d.ts +13 -0
  158. package/util/diff-graph.js +64 -1
  159. package/util/files.js +9 -8
  160. package/util/r-base-packages.d.ts +2 -0
  161. package/util/r-base-packages.js +3 -1
  162. package/util/r-version.d.ts +2 -0
  163. package/util/r-version.js +2 -0
  164. package/util/record.d.ts +1 -0
  165. package/util/record.js +1 -0
  166. package/util/version.js +1 -1
@@ -11,6 +11,7 @@ export type RVersion = SemVer & {
11
11
  };
12
12
  /** Helpers for R package versions (`1.2-3` style), which are freer than SemVer. */
13
13
  export declare const RVersion: {
14
+ readonly name: "RVersion";
14
15
  /**
15
16
  * Parse an R version string into a {@link SemVer}, normalizing R's freer scheme (e.g. `0.4-9`). Unlike
16
17
  * `new SemVer(version)` this coerces where needed; the original string is available via `.str`. Returns
@@ -37,6 +38,7 @@ export declare const RVersion: {
37
38
  export declare function rReleaseDate(version: string): Date | undefined;
38
39
  /** Helpers for R package version ranges (DESCRIPTION constraints like `>= 0.4-9`). */
39
40
  export declare const RRange: {
41
+ readonly name: "RRange";
40
42
  /**
41
43
  * Parse an R version range string into a {@link Range}, normalizing R's freer scheme. The original range
42
44
  * string is available via `.str`.
package/util/r-version.js CHANGED
@@ -80,6 +80,7 @@ function makeRange(range, original) {
80
80
  }
81
81
  /** Helpers for R package versions (`1.2-3` style), which are freer than SemVer. */
82
82
  exports.RVersion = {
83
+ name: 'RVersion',
83
84
  /**
84
85
  * Parse an R version string into a {@link SemVer}, normalizing R's freer scheme (e.g. `0.4-9`). Unlike
85
86
  * `new SemVer(version)` this coerces where needed; the original string is available via `.str`. Returns
@@ -159,6 +160,7 @@ function rReleaseDate(version) {
159
160
  }
160
161
  /** Helpers for R package version ranges (DESCRIPTION constraints like `>= 0.4-9`). */
161
162
  exports.RRange = {
163
+ name: 'RRange',
162
164
  /**
163
165
  * Parse an R version range string into a {@link Range}, normalizing R's freer scheme. The original range
164
166
  * string is available via `.str`.
package/util/record.d.ts CHANGED
@@ -2,6 +2,7 @@
2
2
  * Helper for transforming records.
3
3
  */
4
4
  export declare const Record: {
5
+ readonly name: "Record";
5
6
  /**
6
7
  * Returns an array of the names of the properties of a record.
7
8
  * @param object - The record to get the property names from.
package/util/record.js CHANGED
@@ -5,6 +5,7 @@ exports.Record = void 0;
5
5
  * Helper for transforming records.
6
6
  */
7
7
  exports.Record = {
8
+ name: 'Record',
8
9
  /**
9
10
  * Returns an array of the names of the properties of a record.
10
11
  * @param object - The record to get the property names from.
package/util/version.js CHANGED
@@ -42,7 +42,7 @@ const assert_1 = require("./assert");
42
42
  const sigdb_download_1 = require("../project/sigdb/sigdb-download");
43
43
  const doc_files_1 = require("../documentation/doc-util/doc-files");
44
44
  // this is automatically replaced with the current version by release-it
45
- const version = '2.13.14';
45
+ const version = '2.13.16';
46
46
  // this is automatically replaced with the release date by release-it (regex-bumper, see package.json)
47
47
  const versionDate = '2026-07-15T07:13:44Z';
48
48
  /**