@eagleoutice/flowr 2.12.2 → 2.13.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/README.md +38 -91
- package/abstract-interpretation/data-frame/dataframe-domain.d.ts +3 -3
- package/abstract-interpretation/data-frame/dataframe-domain.js +14 -6
- package/abstract-interpretation/data-frame/semantics.js +12 -16
- package/abstract-interpretation/domains/abstract-domain.d.ts +46 -44
- package/abstract-interpretation/domains/abstract-domain.js +146 -6
- package/abstract-interpretation/domains/bounded-set-domain.d.ts +16 -25
- package/abstract-interpretation/domains/bounded-set-domain.js +22 -69
- package/abstract-interpretation/domains/interval-domain.d.ts +27 -36
- package/abstract-interpretation/domains/interval-domain.js +111 -146
- package/abstract-interpretation/domains/lattice.d.ts +3 -3
- package/abstract-interpretation/domains/multi-value-state-domain.js +3 -3
- package/abstract-interpretation/domains/partial-product-domain.d.ts +12 -19
- package/abstract-interpretation/domains/partial-product-domain.js +21 -54
- package/abstract-interpretation/domains/positive-interval-domain.d.ts +8 -12
- package/abstract-interpretation/domains/positive-interval-domain.js +21 -50
- package/abstract-interpretation/domains/product-domain.d.ts +1 -1
- package/abstract-interpretation/domains/product-domain.js +4 -4
- package/abstract-interpretation/domains/set-range-domain.d.ts +60 -56
- package/abstract-interpretation/domains/set-range-domain.js +141 -200
- package/abstract-interpretation/domains/set-upper-bound-domain.d.ts +17 -23
- package/abstract-interpretation/domains/set-upper-bound-domain.js +59 -103
- package/abstract-interpretation/domains/singleton-domain.d.ts +15 -18
- package/abstract-interpretation/domains/singleton-domain.js +33 -72
- package/abstract-interpretation/domains/state-abstract-domain.d.ts +12 -16
- package/abstract-interpretation/domains/state-abstract-domain.js +36 -126
- package/abstract-interpretation/domains/state-domain-like.d.ts +2 -2
- package/abstract-interpretation/domains/value-abstract-domain.d.ts +120 -0
- package/abstract-interpretation/domains/{satisfiable-domain.js → value-abstract-domain.js} +14 -2
- package/benchmark/slicer.d.ts +2 -2
- package/benchmark/slicer.js +6 -5
- package/cli/common/options.d.ts +10 -0
- package/cli/common/options.js +2 -0
- package/cli/common/scripts-info.d.ts +10 -0
- package/cli/flowr-main-options.d.ts +4 -0
- package/cli/flowr-main-options.js +5 -0
- package/cli/flowr.d.ts +5 -0
- package/cli/flowr.js +15 -7
- package/cli/repl/commands/repl-query.js +42 -20
- package/cli/repl/commands/repl-signature.js +2 -2
- package/cli/repl/core.d.ts +14 -5
- package/cli/repl/core.js +32 -17
- package/cli/repl/parser/slice-query-parser.d.ts +69 -8
- package/cli/repl/parser/slice-query-parser.js +82 -13
- package/cli/repl/path-input.d.ts +6 -0
- package/cli/repl/path-input.js +41 -0
- package/cli/repl/print-version.js +3 -5
- package/cli/slicer-app.d.ts +2 -0
- package/cli/slicer-app.js +2 -1
- package/config.d.ts +54 -6
- package/config.js +133 -12
- package/control-flow/control-flow-graph.d.ts +3 -2
- package/control-flow/control-flow-graph.js +34 -14
- package/control-flow/semantic-cfg-guided-visitor.d.ts +3 -0
- package/control-flow/semantic-cfg-guided-visitor.js +3 -0
- package/core/steps/all/static-slicing/10-reconstruct.d.ts +6 -0
- package/core/steps/all/static-slicing/10-reconstruct.js +3 -1
- package/data/r-base-packages.generated.d.ts +1 -1
- package/data/r-base-packages.generated.js +3 -3
- package/data/sigdb/sigdb.remote.json +53 -53
- package/dataflow/environments/built-in-proc-name.d.ts +2 -0
- package/dataflow/environments/built-in-proc-name.js +2 -0
- package/dataflow/environments/built-in.d.ts +2 -0
- package/dataflow/environments/built-in.js +2 -0
- package/dataflow/environments/default-builtin-config.d.ts +3 -5
- package/dataflow/environments/default-builtin-config.js +2 -2
- package/dataflow/environments/environment.d.ts +9 -0
- package/dataflow/environments/environment.js +28 -7
- package/dataflow/environments/identifier.d.ts +1 -2
- package/dataflow/environments/identifier.js +1 -5
- package/dataflow/extractor.js +1 -2
- package/dataflow/graph/dataflowgraph-builder.js +42 -3
- package/dataflow/graph/df-helper.d.ts +15 -0
- package/dataflow/graph/df-helper.js +20 -0
- package/dataflow/internal/process/functions/call/built-in/built-in-attach.js +4 -4
- package/dataflow/internal/process/functions/call/built-in/built-in-envir-utils.d.ts +7 -0
- package/dataflow/internal/process/functions/call/built-in/built-in-envir-utils.js +13 -0
- package/dataflow/internal/process/functions/call/built-in/built-in-library.d.ts +4 -0
- package/dataflow/internal/process/functions/call/built-in/built-in-library.js +57 -11
- package/dataflow/internal/process/functions/call/built-in/built-in-load.d.ts +12 -0
- package/dataflow/internal/process/functions/call/built-in/built-in-load.js +233 -0
- package/dataflow/internal/process/functions/call/built-in/built-in-source.js +2 -1
- package/dataflow/internal/process/functions/call/built-in/built-in-with.js +5 -3
- package/documentation/data/faq/faqs.js +12 -1
- package/documentation/doc-readme.js +1 -1
- package/documentation/doc-util/doc-files.d.ts +2 -2
- package/documentation/doc-util/doc-files.js +4 -7
- package/documentation/doc-util/doc-query.d.ts +12 -9
- package/documentation/doc-util/doc-query.js +63 -28
- package/documentation/wiki-absint.js +1 -4
- package/documentation/wiki-analyzer.js +8 -3
- package/documentation/wiki-cfg.js +3 -2
- package/documentation/wiki-dataflow-graph.js +14 -4
- package/documentation/wiki-interface.js +29 -16
- package/documentation/wiki-mk/doc-maker.js +1 -1
- package/documentation/wiki-query.js +189 -30
- package/documentation/wiki-signature-database.d.ts +1 -1
- package/documentation/wiki-signature-database.js +53 -27
- package/linter/linter-output.d.ts +24 -0
- package/linter/linter-output.js +117 -0
- package/linter/linter-rules.d.ts +2 -4
- package/linter/rules/dataframe-access-validation.js +4 -4
- package/linter/rules/deprecated-functions.d.ts +2 -4
- package/linter/rules/deprecated-functions.js +58 -3
- package/linter/rules/undefined-symbol.js +18 -10
- package/linter/rules/unused-definition.js +24 -0
- package/package.json +5 -2
- package/project/context/flowr-analyzer-context.d.ts +59 -1
- package/project/context/flowr-analyzer-context.js +118 -3
- package/project/context/flowr-analyzer-dependencies-context.d.ts +32 -7
- package/project/context/flowr-analyzer-dependencies-context.js +33 -3
- package/project/context/flowr-analyzer-files-context.d.ts +32 -0
- package/project/context/flowr-analyzer-files-context.js +132 -14
- package/project/context/flowr-analyzer-loading-order-context.d.ts +6 -0
- package/project/context/flowr-analyzer-loading-order-context.js +20 -0
- package/project/context/flowr-analyzer-meta-context.d.ts +92 -10
- package/project/context/flowr-analyzer-meta-context.js +64 -23
- package/project/context/flowr-file.d.ts +7 -0
- package/project/context/flowr-file.js +7 -0
- package/project/context/project-kind.d.ts +22 -0
- package/project/context/project-kind.js +27 -0
- package/project/dependency-version-space.d.ts +166 -0
- package/project/dependency-version-space.js +564 -0
- package/project/flowr-analyzer-builder.js +1 -1
- package/project/flowr-analyzer.d.ts +4 -0
- package/project/flowr-analyzer.js +5 -0
- package/project/plugins/file-plugins/files/flowr-description-file.d.ts +4 -0
- package/project/plugins/file-plugins/files/flowr-description-file.js +7 -0
- package/project/plugins/file-plugins/files/flowr-namespace-file.js +5 -1
- package/project/plugins/file-plugins/files/flowr-rda-file.d.ts +739 -0
- package/project/plugins/file-plugins/files/flowr-rda-file.js +2407 -0
- package/project/plugins/file-plugins/files/flowr-rproject-file.d.ts +31 -0
- package/project/plugins/file-plugins/files/flowr-rproject-file.js +66 -0
- package/project/plugins/file-plugins/files/r-fun-tab.d.ts +828 -0
- package/project/plugins/file-plugins/files/r-fun-tab.js +1039 -0
- package/project/plugins/file-plugins/flowr-analyzer-description-file-plugin.d.ts +1 -1
- package/project/plugins/file-plugins/flowr-analyzer-description-file-plugin.js +1 -1
- package/project/plugins/file-plugins/flowr-analyzer-file-plugin.js +1 -1
- package/project/plugins/file-plugins/flowr-analyzer-inst-file-plugin.d.ts +1 -1
- package/project/plugins/file-plugins/flowr-analyzer-inst-file-plugin.js +1 -1
- package/project/plugins/file-plugins/flowr-analyzer-license-file-plugin.d.ts +1 -1
- package/project/plugins/file-plugins/flowr-analyzer-license-file-plugin.js +1 -1
- package/project/plugins/file-plugins/flowr-analyzer-namespace-files-plugin.d.ts +1 -1
- package/project/plugins/file-plugins/flowr-analyzer-namespace-files-plugin.js +1 -1
- package/project/plugins/file-plugins/flowr-analyzer-news-file-plugin.d.ts +1 -1
- package/project/plugins/file-plugins/flowr-analyzer-news-file-plugin.js +1 -1
- package/project/plugins/file-plugins/flowr-analyzer-rda-file-plugin.d.ts +26 -0
- package/project/plugins/file-plugins/flowr-analyzer-rda-file-plugin.js +38 -0
- package/project/plugins/file-plugins/flowr-analyzer-rprofile-file-plugin.d.ts +17 -0
- package/project/plugins/file-plugins/flowr-analyzer-rprofile-file-plugin.js +30 -0
- package/project/plugins/file-plugins/flowr-analyzer-rproject-file-plugin.d.ts +22 -0
- package/project/plugins/file-plugins/flowr-analyzer-rproject-file-plugin.js +36 -0
- package/project/plugins/file-plugins/flowr-analyzer-test-file-plugin.d.ts +1 -1
- package/project/plugins/file-plugins/flowr-analyzer-test-file-plugin.js +1 -1
- package/project/plugins/file-plugins/flowr-analyzer-vignette-file-plugin.d.ts +1 -1
- package/project/plugins/file-plugins/flowr-analyzer-vignette-file-plugin.js +1 -1
- package/project/plugins/file-plugins/flowr-analyzer-virtualenv-file-plugin.d.ts +3 -4
- package/project/plugins/file-plugins/flowr-analyzer-virtualenv-file-plugin.js +5 -6
- package/project/plugins/flowr-analyzer-plugin.js +5 -0
- package/project/plugins/loading-order-plugins/flowr-analyzer-loading-order-description-file-plugin.d.ts +1 -1
- package/project/plugins/loading-order-plugins/flowr-analyzer-loading-order-description-file-plugin.js +1 -1
- package/project/plugins/loading-order-plugins/flowr-analyzer-loading-order-implicit-sources-plugin.d.ts +14 -0
- package/project/plugins/loading-order-plugins/flowr-analyzer-loading-order-implicit-sources-plugin.js +53 -0
- package/project/plugins/loading-order-plugins/flowr-analyzer-loading-order-plugin.js +1 -1
- package/project/plugins/loading-order-plugins/flowr-analyzer-loading-order-rprofile-plugin.d.ts +15 -0
- package/project/plugins/loading-order-plugins/flowr-analyzer-loading-order-rprofile-plugin.js +33 -0
- package/project/plugins/package-version-plugins/flowr-analyzer-meta-description-file-plugin.d.ts +1 -1
- package/project/plugins/package-version-plugins/flowr-analyzer-meta-description-file-plugin.js +18 -13
- package/project/plugins/package-version-plugins/flowr-analyzer-meta-rproject-file-plugin.d.ts +13 -0
- package/project/plugins/package-version-plugins/flowr-analyzer-meta-rproject-file-plugin.js +32 -0
- package/project/plugins/package-version-plugins/flowr-analyzer-package-versions-description-file-plugin.d.ts +1 -1
- package/project/plugins/package-version-plugins/flowr-analyzer-package-versions-description-file-plugin.js +1 -1
- package/project/plugins/package-version-plugins/flowr-analyzer-package-versions-lockfile-plugin.d.ts +8 -1
- package/project/plugins/package-version-plugins/flowr-analyzer-package-versions-lockfile-plugin.js +70 -7
- package/project/plugins/package-version-plugins/flowr-analyzer-package-versions-namespace-file-plugin.d.ts +1 -1
- package/project/plugins/package-version-plugins/flowr-analyzer-package-versions-namespace-file-plugin.js +1 -1
- package/project/plugins/package-version-plugins/flowr-analyzer-package-versions-plugin.js +1 -1
- package/project/plugins/package-version-plugins/flowr-analyzer-package-versions-session-info-plugin.d.ts +18 -0
- package/project/plugins/package-version-plugins/flowr-analyzer-package-versions-session-info-plugin.js +62 -0
- package/project/plugins/package-version-plugins/flowr-analyzer-package-versions-sigdb-plugin.d.ts +4 -1
- package/project/plugins/package-version-plugins/flowr-analyzer-package-versions-sigdb-plugin.js +5 -13
- package/project/plugins/package-version-plugins/package.d.ts +4 -1
- package/project/plugins/package-version-plugins/package.js +8 -5
- package/project/plugins/plugin-registry.d.ts +11 -3
- package/project/plugins/plugin-registry.js +24 -5
- package/project/plugins/project-discovery/flowr-analyzer-ignore-file-project-discovery-plugin.d.ts +51 -0
- package/project/plugins/project-discovery/flowr-analyzer-ignore-file-project-discovery-plugin.js +101 -0
- package/project/plugins/project-discovery/flowr-analyzer-project-discovery-plugin.js +10 -5
- package/project/sigdb/build.js +12 -2
- package/project/sigdb/decode.d.ts +7 -0
- package/project/sigdb/decode.js +35 -4
- package/project/sigdb/decompress.d.ts +2 -0
- package/project/sigdb/decompress.js +5 -0
- package/project/sigdb/manifest.d.ts +5 -0
- package/project/sigdb/manifest.js +37 -6
- package/project/sigdb/reader.d.ts +82 -2
- package/project/sigdb/reader.js +226 -14
- package/project/sigdb/schema.d.ts +31 -5
- package/project/sigdb/schema.js +7 -3
- package/project/sigdb/{version.d.ts → sigdb-version.d.ts} +21 -1
- package/project/sigdb/sigdb-version.js +119 -0
- package/queries/catalog/absint-query/absint-query-format.d.ts +2 -0
- package/queries/catalog/absint-query/absint-query-format.js +2 -0
- package/queries/catalog/call-context-query/call-context-query-executor.js +30 -3
- package/queries/catalog/call-context-query/call-context-query-format.d.ts +1 -0
- package/queries/catalog/call-context-query/call-context-query-format.js +1 -0
- package/queries/catalog/call-graph-query/call-graph-query-executor.js +3 -1
- package/queries/catalog/call-graph-query/call-graph-query-format.d.ts +6 -0
- package/queries/catalog/call-graph-query/call-graph-query-format.js +2 -0
- package/queries/catalog/call-graph-query/expand-library-internals.d.ts +19 -0
- package/queries/catalog/call-graph-query/expand-library-internals.js +59 -0
- package/queries/catalog/cluster-query/cluster-query-format.d.ts +1 -0
- package/queries/catalog/cluster-query/cluster-query-format.js +1 -0
- package/queries/catalog/config-query/config-query-executor.js +15 -6
- package/queries/catalog/config-query/config-query-format.d.ts +18 -4
- package/queries/catalog/config-query/config-query-format.js +246 -96
- package/queries/catalog/control-flow-query/control-flow-query-format.d.ts +1 -0
- package/queries/catalog/control-flow-query/control-flow-query-format.js +1 -0
- package/queries/catalog/dataflow-lens-query/dataflow-lens-query-format.d.ts +1 -0
- package/queries/catalog/dataflow-lens-query/dataflow-lens-query-format.js +1 -0
- package/queries/catalog/dataflow-query/dataflow-query-format.d.ts +1 -0
- package/queries/catalog/dataflow-query/dataflow-query-format.js +1 -0
- package/queries/catalog/dependencies-query/dependencies-query-executor.js +2 -7
- package/queries/catalog/dependencies-query/dependencies-query-format.d.ts +13 -1
- package/queries/catalog/dependencies-query/dependencies-query-format.js +117 -17
- package/queries/catalog/dice-query/dice-query-executor.js +6 -9
- package/queries/catalog/dice-query/dice-query-format.d.ts +4 -5
- package/queries/catalog/dice-query/dice-query-format.js +10 -6
- package/queries/catalog/does-call-query/does-call-query-executor.js +15 -2
- package/queries/catalog/does-call-query/does-call-query-format.d.ts +8 -0
- package/queries/catalog/does-call-query/does-call-query-format.js +4 -1
- package/queries/catalog/files-query/files-query-format.d.ts +2 -0
- package/queries/catalog/files-query/files-query-format.js +2 -0
- package/queries/catalog/guess-dep-versions-query/guess-dep-versions-query-executor.d.ts +6 -0
- package/queries/catalog/guess-dep-versions-query/guess-dep-versions-query-executor.js +277 -0
- package/queries/catalog/guess-dep-versions-query/guess-dep-versions-query-format.d.ts +119 -0
- package/queries/catalog/guess-dep-versions-query/guess-dep-versions-query-format.js +331 -0
- package/queries/catalog/happens-before-query/happens-before-query-format.d.ts +1 -0
- package/queries/catalog/happens-before-query/happens-before-query-format.js +1 -0
- package/queries/catalog/id-map-query/id-map-query-format.d.ts +1 -0
- package/queries/catalog/id-map-query/id-map-query-format.js +1 -0
- package/queries/catalog/input-sources-query/input-sources-query-format.d.ts +2 -0
- package/queries/catalog/input-sources-query/input-sources-query-format.js +2 -0
- package/queries/catalog/inspect-exceptions-query/inspect-exception-query-format.d.ts +2 -0
- package/queries/catalog/inspect-exceptions-query/inspect-exception-query-format.js +2 -0
- package/queries/catalog/inspect-higher-order-query/inspect-higher-order-query-format.d.ts +2 -0
- package/queries/catalog/inspect-higher-order-query/inspect-higher-order-query-format.js +2 -0
- package/queries/catalog/inspect-recursion-query/inspect-recursion-query-format.d.ts +2 -0
- package/queries/catalog/inspect-recursion-query/inspect-recursion-query-format.js +2 -0
- package/queries/catalog/linter-query/linter-query-executor.js +11 -2
- package/queries/catalog/linter-query/linter-query-format.d.ts +9 -4
- package/queries/catalog/linter-query/linter-query-format.js +44 -21
- package/queries/catalog/location-map-query/location-map-query-format.d.ts +2 -0
- package/queries/catalog/location-map-query/location-map-query-format.js +2 -0
- package/queries/catalog/normalized-ast-query/normalized-ast-query-format.d.ts +1 -0
- package/queries/catalog/normalized-ast-query/normalized-ast-query-format.js +1 -0
- package/queries/catalog/origin-query/origin-query-format.d.ts +2 -0
- package/queries/catalog/origin-query/origin-query-format.js +2 -0
- package/queries/catalog/project-query/project-query-executor.d.ts +0 -15
- package/queries/catalog/project-query/project-query-executor.js +19 -62
- package/queries/catalog/project-query/project-query-format.d.ts +7 -18
- package/queries/catalog/project-query/project-query-format.js +3 -18
- package/queries/catalog/provenance-query/provenance-query-format.d.ts +2 -0
- package/queries/catalog/provenance-query/provenance-query-format.js +2 -0
- package/queries/catalog/resolve-value-query/resolve-value-query-format.d.ts +2 -0
- package/queries/catalog/resolve-value-query/resolve-value-query-format.js +2 -0
- package/queries/catalog/search-query/search-query-format.d.ts +1 -0
- package/queries/catalog/search-query/search-query-format.js +1 -0
- package/queries/catalog/signature-query/signature-query-executor.d.ts +5 -0
- package/queries/catalog/signature-query/signature-query-executor.js +267 -57
- package/queries/catalog/signature-query/signature-query-format.d.ts +37 -6
- package/queries/catalog/signature-query/signature-query-format.js +41 -5
- package/queries/catalog/signature-query/signature-query-render.js +48 -6
- package/queries/catalog/slice-query-options.d.ts +49 -0
- package/queries/catalog/slice-query-options.js +50 -0
- package/queries/catalog/static-slice-query/static-slice-query-executor.js +4 -12
- package/queries/catalog/static-slice-query/static-slice-query-format.d.ts +4 -15
- package/queries/catalog/static-slice-query/static-slice-query-format.js +9 -10
- package/queries/query-print.js +3 -1
- package/queries/query.d.ts +63 -3
- package/queries/query.js +9 -2
- package/r-bridge/data/data.d.ts +16 -0
- package/r-bridge/data/data.js +20 -0
- package/r-bridge/lang-4.x/ast/model/model.d.ts +1 -0
- package/r-bridge/lang-4.x/ast/model/processing/decorate.js +2 -1
- package/r-bridge/lang-4.x/ast/parser/main/internal/normalize-access.js +2 -1
- package/r-bridge/lang-4.x/tree-sitter/tree-sitter-normalize.js +19 -16
- package/reconstruct/reconstruct.d.ts +18 -1
- package/reconstruct/reconstruct.js +42 -19
- package/slicing/criterion/parse.d.ts +4 -0
- package/slicing/criterion/parse.js +4 -0
- package/slicing/static/slice-call.js +17 -9
- package/slicing/static/static-slicer.d.ts +1 -1
- package/slicing/static/static-slicer.js +5 -4
- package/util/files.d.ts +19 -1
- package/util/files.js +45 -3
- package/util/glob.d.ts +19 -0
- package/util/glob.js +67 -0
- package/util/log.d.ts +12 -0
- package/util/log.js +17 -1
- package/util/logic.d.ts +6 -0
- package/util/logic.js +31 -1
- package/util/mermaid/dfg.js +17 -12
- package/util/mermaid/mermaid.js +2 -2
- package/util/objects.d.ts +5 -0
- package/util/objects.js +8 -0
- package/util/r-version.d.ts +9 -1
- package/util/r-version.js +27 -2
- package/util/schema.d.ts +16 -0
- package/util/schema.js +89 -4
- package/util/text/ansi.d.ts +4 -0
- package/util/text/ansi.js +27 -3
- package/util/text/strings.d.ts +9 -0
- package/util/text/strings.js +29 -0
- package/util/version.js +79 -6
- package/abstract-interpretation/domains/satisfiable-domain.d.ts +0 -29
- package/project/plugins/project-discovery/flowr-analyzer-gitignore-project-discovery-plugin.d.ts +0 -22
- package/project/plugins/project-discovery/flowr-analyzer-gitignore-project-discovery-plugin.js +0 -52
- package/project/sigdb/version.js +0 -55
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.FlowrAnalyzerMetaRProjectFilePlugin = void 0;
|
|
4
|
+
const flowr_analyzer_package_versions_plugin_1 = require("./flowr-analyzer-package-versions-plugin");
|
|
5
|
+
const semver_1 = require("semver");
|
|
6
|
+
const flowr_file_1 = require("../../context/flowr-file");
|
|
7
|
+
const flowr_analyzer_meta_context_1 = require("../../context/flowr-analyzer-meta-context");
|
|
8
|
+
/**
|
|
9
|
+
* Extracts the project metadata and the declared dependencies from the `rproject.toml` of an rv project.
|
|
10
|
+
* The name is contributed without a namespace: an rv project is no package, so `a::b` must not resolve against it.
|
|
11
|
+
*/
|
|
12
|
+
class FlowrAnalyzerMetaRProjectFilePlugin extends flowr_analyzer_package_versions_plugin_1.FlowrAnalyzerPackageVersionsPlugin {
|
|
13
|
+
name = 'flowr-analyzer-meta-rproject-file-plugin';
|
|
14
|
+
description = 'Extracts project meta information and dependencies from an rproject.toml.';
|
|
15
|
+
version = new semver_1.SemVer('0.1.0');
|
|
16
|
+
process(ctx) {
|
|
17
|
+
for (const file of ctx.files.getFilesByRole(flowr_file_1.FileRole.Manifest)) {
|
|
18
|
+
const deps = file.dependencies();
|
|
19
|
+
ctx.meta.contribute({
|
|
20
|
+
name: file.projectName(),
|
|
21
|
+
rVersion: file.rVersion(),
|
|
22
|
+
// rv does not group its dependencies, they are all needed to run the project
|
|
23
|
+
declares: { imports: deps }
|
|
24
|
+
}, flowr_analyzer_meta_context_1.MetaPriority.Manifest);
|
|
25
|
+
for (const pkg of deps) {
|
|
26
|
+
ctx.deps.addDeclaredDependency(pkg);
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
exports.FlowrAnalyzerMetaRProjectFilePlugin = FlowrAnalyzerMetaRProjectFilePlugin;
|
|
32
|
+
//# sourceMappingURL=flowr-analyzer-meta-rproject-file-plugin.js.map
|
|
@@ -7,7 +7,7 @@ import type { FlowrAnalyzerContext } from '../../context/flowr-analyzer-context'
|
|
|
7
7
|
*/
|
|
8
8
|
export declare class FlowrAnalyzerPackageVersionsDescriptionFilePlugin extends FlowrAnalyzerPackageVersionsPlugin {
|
|
9
9
|
readonly name = "flowr-analyzer-package-version-description-file-plugin";
|
|
10
|
-
readonly description = "
|
|
10
|
+
readonly description = "Extracts package versions from DESCRIPTION files.";
|
|
11
11
|
readonly version: SemVer;
|
|
12
12
|
process(ctx: FlowrAnalyzerContext): void;
|
|
13
13
|
private retrieveVersionsFromField;
|
|
@@ -11,7 +11,7 @@ const flowr_file_1 = require("../../context/flowr-file");
|
|
|
11
11
|
*/
|
|
12
12
|
class FlowrAnalyzerPackageVersionsDescriptionFilePlugin extends flowr_analyzer_package_versions_plugin_1.FlowrAnalyzerPackageVersionsPlugin {
|
|
13
13
|
name = 'flowr-analyzer-package-version-description-file-plugin';
|
|
14
|
-
description = '
|
|
14
|
+
description = 'Extracts package versions from DESCRIPTION files.';
|
|
15
15
|
version = new semver_1.SemVer('0.1.0');
|
|
16
16
|
process(ctx) {
|
|
17
17
|
const descFiles = ctx.files.getFilesByRole(flowr_file_1.FileRole.Description);
|
package/project/plugins/package-version-plugins/flowr-analyzer-package-versions-lockfile-plugin.d.ts
CHANGED
|
@@ -9,7 +9,14 @@ export declare class FlowrAnalyzerPackageVersionsRenvPlugin extends FlowrAnalyze
|
|
|
9
9
|
readonly version: SemVer;
|
|
10
10
|
process(ctx: FlowrAnalyzerContext): void;
|
|
11
11
|
}
|
|
12
|
-
/** Reads package versions from
|
|
12
|
+
/** Reads package versions from a `packrat.lock` (multi-record DCF, metadata first). packrat pins are exact. */
|
|
13
|
+
export declare class FlowrAnalyzerPackageVersionsPackratPlugin extends FlowrAnalyzerPackageVersionsPlugin {
|
|
14
|
+
readonly name = "flowr-analyzer-package-versions-packrat-plugin";
|
|
15
|
+
readonly description = "Extracts package versions from a packrat.lock lockfile.";
|
|
16
|
+
readonly version: SemVer;
|
|
17
|
+
process(ctx: FlowrAnalyzerContext): void;
|
|
18
|
+
}
|
|
19
|
+
/** Reads package versions from an `rv.lock` (the resolved rv project lockfile, TOML). rv pins are exact. */
|
|
13
20
|
export declare class FlowrAnalyzerPackageVersionsRvPlugin extends FlowrAnalyzerPackageVersionsPlugin {
|
|
14
21
|
readonly name = "flowr-analyzer-package-versions-rv-plugin";
|
|
15
22
|
readonly description = "Extracts package versions from an rv.lock lockfile.";
|
package/project/plugins/package-version-plugins/flowr-analyzer-package-versions-lockfile-plugin.js
CHANGED
|
@@ -1,12 +1,14 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.FlowrAnalyzerPackageVersionsRvPlugin = exports.FlowrAnalyzerPackageVersionsRenvPlugin = exports.lockfileLog = void 0;
|
|
3
|
+
exports.FlowrAnalyzerPackageVersionsRvPlugin = exports.FlowrAnalyzerPackageVersionsPackratPlugin = exports.FlowrAnalyzerPackageVersionsRenvPlugin = exports.lockfileLog = void 0;
|
|
4
4
|
const flowr_analyzer_package_versions_plugin_1 = require("./flowr-analyzer-package-versions-plugin");
|
|
5
5
|
const semver_1 = require("semver");
|
|
6
6
|
const package_1 = require("./package");
|
|
7
7
|
const flowr_file_1 = require("../../context/flowr-file");
|
|
8
8
|
const built_in_source_1 = require("../../../dataflow/internal/process/functions/call/built-in/built-in-source");
|
|
9
9
|
const log_1 = require("../../../util/log");
|
|
10
|
+
const smol_toml_1 = require("smol-toml");
|
|
11
|
+
const flowr_analyzer_meta_context_1 = require("../../context/flowr-analyzer-meta-context");
|
|
10
12
|
exports.lockfileLog = log_1.log.getSubLogger({ name: 'flowr-analyzer-package-versions-lockfile-plugin' });
|
|
11
13
|
/** The {@link FileRole.VirtualEnv} lockfiles named `name` (e.g. `renv.lock`), collected by role like the DESCRIPTION reader. */
|
|
12
14
|
function virtualEnvFiles(ctx, name) {
|
|
@@ -40,18 +42,79 @@ class FlowrAnalyzerPackageVersionsRenvPlugin extends flowr_analyzer_package_vers
|
|
|
40
42
|
}
|
|
41
43
|
}
|
|
42
44
|
exports.FlowrAnalyzerPackageVersionsRenvPlugin = FlowrAnalyzerPackageVersionsRenvPlugin;
|
|
43
|
-
/**
|
|
45
|
+
/** Unlike a `DESCRIPTION`, a `packrat.lock` holds one record per package, so the records must not be merged. */
|
|
46
|
+
function parseDCFRecords(content) {
|
|
47
|
+
const records = [];
|
|
48
|
+
let current = new Map();
|
|
49
|
+
let key;
|
|
50
|
+
for (const line of content.split(/\r?\n/)) {
|
|
51
|
+
if (line.trim().length === 0) {
|
|
52
|
+
if (current.size > 0) {
|
|
53
|
+
records.push(current);
|
|
54
|
+
current = new Map();
|
|
55
|
+
}
|
|
56
|
+
key = undefined;
|
|
57
|
+
}
|
|
58
|
+
else if (/^\s/.test(line) && key !== undefined) {
|
|
59
|
+
current.set(key, `${current.get(key) ?? ''} ${line.trim()}`);
|
|
60
|
+
}
|
|
61
|
+
else {
|
|
62
|
+
const colon = line.indexOf(':');
|
|
63
|
+
if (colon < 0) {
|
|
64
|
+
continue;
|
|
65
|
+
}
|
|
66
|
+
key = line.slice(0, colon).trim();
|
|
67
|
+
current.set(key, line.slice(colon + 1).trim());
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
if (current.size > 0) {
|
|
71
|
+
records.push(current);
|
|
72
|
+
}
|
|
73
|
+
return records;
|
|
74
|
+
}
|
|
75
|
+
/** Reads package versions from a `packrat.lock` (multi-record DCF, metadata first). packrat pins are exact. */
|
|
76
|
+
class FlowrAnalyzerPackageVersionsPackratPlugin extends flowr_analyzer_package_versions_plugin_1.FlowrAnalyzerPackageVersionsPlugin {
|
|
77
|
+
name = 'flowr-analyzer-package-versions-packrat-plugin';
|
|
78
|
+
description = 'Extracts package versions from a packrat.lock lockfile.';
|
|
79
|
+
version = new semver_1.SemVer('0.1.0');
|
|
80
|
+
process(ctx) {
|
|
81
|
+
for (const file of virtualEnvFiles(ctx, 'packrat.lock')) {
|
|
82
|
+
for (const record of parseDCFRecords(file.content().toString())) {
|
|
83
|
+
const rVersion = record.get('RVersion');
|
|
84
|
+
if (rVersion) {
|
|
85
|
+
ctx.meta.contribute({ rVersion }, flowr_analyzer_meta_context_1.MetaPriority.Lockfile);
|
|
86
|
+
}
|
|
87
|
+
const name = record.get('Package');
|
|
88
|
+
const version = record.get('Version');
|
|
89
|
+
if (name && version) {
|
|
90
|
+
pin(ctx, name, version);
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
exports.FlowrAnalyzerPackageVersionsPackratPlugin = FlowrAnalyzerPackageVersionsPackratPlugin;
|
|
97
|
+
/** Reads package versions from an `rv.lock` (the resolved rv project lockfile, TOML). rv pins are exact. */
|
|
44
98
|
class FlowrAnalyzerPackageVersionsRvPlugin extends flowr_analyzer_package_versions_plugin_1.FlowrAnalyzerPackageVersionsPlugin {
|
|
45
99
|
name = 'flowr-analyzer-package-versions-rv-plugin';
|
|
46
100
|
description = 'Extracts package versions from an rv.lock lockfile.';
|
|
47
101
|
version = new semver_1.SemVer('0.1.0');
|
|
48
102
|
process(ctx) {
|
|
49
103
|
for (const file of virtualEnvFiles(ctx, 'rv.lock')) {
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
104
|
+
let lock;
|
|
105
|
+
try {
|
|
106
|
+
lock = (0, smol_toml_1.parse)(file.content().toString());
|
|
107
|
+
}
|
|
108
|
+
catch (e) {
|
|
109
|
+
exports.lockfileLog.warn(`Could not parse rv.lock: ${e.message}`);
|
|
110
|
+
continue;
|
|
111
|
+
}
|
|
112
|
+
if (typeof lock.r_version === 'string') {
|
|
113
|
+
ctx.meta.contribute({ rVersion: lock.r_version }, flowr_analyzer_meta_context_1.MetaPriority.Lockfile);
|
|
114
|
+
}
|
|
115
|
+
for (const pkg of Array.isArray(lock.packages) ? lock.packages : []) {
|
|
116
|
+
const { name, version } = pkg;
|
|
117
|
+
if (typeof name === 'string' && typeof version === 'string') {
|
|
55
118
|
pin(ctx, name, version);
|
|
56
119
|
}
|
|
57
120
|
}
|
|
@@ -4,7 +4,7 @@ import type { FlowrAnalyzerContext } from '../../context/flowr-analyzer-context'
|
|
|
4
4
|
export declare const namespaceFileLog: import("tslog").Logger<import("tslog").ILogObj>;
|
|
5
5
|
export declare class FlowrAnalyzerPackageVersionsNamespaceFilePlugin extends FlowrAnalyzerPackageVersionsPlugin {
|
|
6
6
|
readonly name = "flowr-analyzer-package-version-namespace-file-plugin";
|
|
7
|
-
readonly description = "
|
|
7
|
+
readonly description = "Extracts package versions from NAMESPACE files.";
|
|
8
8
|
readonly version: SemVer;
|
|
9
9
|
process(ctx: FlowrAnalyzerContext): void;
|
|
10
10
|
}
|
|
@@ -9,7 +9,7 @@ const log_1 = require("../../../util/log");
|
|
|
9
9
|
exports.namespaceFileLog = log_1.log.getSubLogger({ name: 'flowr-analyzer-package-versions-namespace-file-plugin' });
|
|
10
10
|
class FlowrAnalyzerPackageVersionsNamespaceFilePlugin extends flowr_analyzer_package_versions_plugin_1.FlowrAnalyzerPackageVersionsPlugin {
|
|
11
11
|
name = 'flowr-analyzer-package-version-namespace-file-plugin';
|
|
12
|
-
description = '
|
|
12
|
+
description = 'Extracts package versions from NAMESPACE files.';
|
|
13
13
|
version = new semver_1.SemVer('0.1.0');
|
|
14
14
|
process(ctx) {
|
|
15
15
|
const nmspcFiles = ctx.files.getFilesByRole(flowr_file_1.FileRole.Namespace);
|
|
@@ -45,7 +45,7 @@ exports.FlowrAnalyzerPackageVersionsPlugin = FlowrAnalyzerPackageVersionsPlugin;
|
|
|
45
45
|
*/
|
|
46
46
|
class DefaultFlowrAnalyzerPackageVersionsPlugin extends FlowrAnalyzerPackageVersionsPlugin {
|
|
47
47
|
name = 'default-package-versions-plugin';
|
|
48
|
-
description = '
|
|
48
|
+
description = 'Does nothing, the default package versions plugin.';
|
|
49
49
|
version = new semver_1.SemVer('0.0.0');
|
|
50
50
|
process() {
|
|
51
51
|
/* we do not need package versions for the analysis to do things! */
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { FlowrAnalyzerPackageVersionsPlugin } from './flowr-analyzer-package-versions-plugin';
|
|
2
|
+
import { SemVer } from 'semver';
|
|
3
|
+
import type { FlowrAnalyzerContext } from '../../context/flowr-analyzer-context';
|
|
4
|
+
export declare const sessionInfoLog: import("tslog").Logger<import("tslog").ILogObj>;
|
|
5
|
+
/**
|
|
6
|
+
* Reads package (and R) versions from a pasted `sessionInfo()` output block within a source file (typically inside
|
|
7
|
+
* a comment). This is how R users record a reproducible environment, so when present it pins exact versions, just
|
|
8
|
+
* like a lockfile. Detection is conservative: we only act once we see the `R version` line and/or one of
|
|
9
|
+
* `sessionInfo()`'s package-listing headers, and additionally require at least one `pkg_version` token so unrelated
|
|
10
|
+
* text is not misread.
|
|
11
|
+
*/
|
|
12
|
+
export declare class FlowrAnalyzerPackageVersionsSessionInfoPlugin extends FlowrAnalyzerPackageVersionsPlugin {
|
|
13
|
+
readonly name = "flowr-analyzer-package-versions-session-info-plugin";
|
|
14
|
+
readonly description = "Extracts package and R versions from a pasted sessionInfo() output block.";
|
|
15
|
+
readonly version: SemVer;
|
|
16
|
+
process(ctx: FlowrAnalyzerContext): void;
|
|
17
|
+
private processContent;
|
|
18
|
+
}
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.FlowrAnalyzerPackageVersionsSessionInfoPlugin = exports.sessionInfoLog = void 0;
|
|
4
|
+
const flowr_analyzer_package_versions_plugin_1 = require("./flowr-analyzer-package-versions-plugin");
|
|
5
|
+
const semver_1 = require("semver");
|
|
6
|
+
const package_1 = require("./package");
|
|
7
|
+
const flowr_file_1 = require("../../context/flowr-file");
|
|
8
|
+
const log_1 = require("../../../util/log");
|
|
9
|
+
exports.sessionInfoLog = log_1.log.getSubLogger({ name: 'flowr-analyzer-package-versions-session-info-plugin' });
|
|
10
|
+
/** matches the `R version 4.3.1 (2023-06-16)` line of `sessionInfo()`/`sessionInfo` output */
|
|
11
|
+
const rVersionRe = /\bR version\s+(\d+\.\d+\.\d+)/;
|
|
12
|
+
/** the section headers `sessionInfo()` prints right before a `[n] pkg_version ...` package listing */
|
|
13
|
+
const packageHeaderRe = /\b(?:other attached packages|loaded via a namespace \(and not attached\))\s*:/;
|
|
14
|
+
/** an `[n] ...` listing line as printed by R for a vector of packages (the `[n]` may itself be commented out) */
|
|
15
|
+
const packageListingLineRe = /\[\d+\]\s*(.+)$/gm;
|
|
16
|
+
/** a single `name_version` token within a listing line, e.g. `dplyr_1.1.2` or `data.table_1.14.8` */
|
|
17
|
+
const packageTokenRe = /([A-Za-z][A-Za-z0-9.]*)_(\d+(?:[.-]\d+)+)/g;
|
|
18
|
+
function pin(ctx, name, version) {
|
|
19
|
+
const range = package_1.Package.parsePkgVersionRange(undefined, version);
|
|
20
|
+
ctx.deps.addDeclaredDependency(new package_1.Package({ name, versionConstraints: range ? [range] : undefined }));
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* Reads package (and R) versions from a pasted `sessionInfo()` output block within a source file (typically inside
|
|
24
|
+
* a comment). This is how R users record a reproducible environment, so when present it pins exact versions, just
|
|
25
|
+
* like a lockfile. Detection is conservative: we only act once we see the `R version` line and/or one of
|
|
26
|
+
* `sessionInfo()`'s package-listing headers, and additionally require at least one `pkg_version` token so unrelated
|
|
27
|
+
* text is not misread.
|
|
28
|
+
*/
|
|
29
|
+
class FlowrAnalyzerPackageVersionsSessionInfoPlugin extends flowr_analyzer_package_versions_plugin_1.FlowrAnalyzerPackageVersionsPlugin {
|
|
30
|
+
name = 'flowr-analyzer-package-versions-session-info-plugin';
|
|
31
|
+
description = 'Extracts package and R versions from a pasted sessionInfo() output block.';
|
|
32
|
+
version = new semver_1.SemVer('0.1.0');
|
|
33
|
+
process(ctx) {
|
|
34
|
+
for (const file of ctx.files.getFilesByRole(flowr_file_1.FileRole.Source)) {
|
|
35
|
+
this.processContent(ctx, file.content().toString());
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
processContent(ctx, content) {
|
|
39
|
+
const rVersionMatch = rVersionRe.exec(content);
|
|
40
|
+
if (!rVersionMatch && !packageHeaderRe.test(content)) {
|
|
41
|
+
return;
|
|
42
|
+
}
|
|
43
|
+
const packages = new Map();
|
|
44
|
+
for (const line of content.matchAll(packageListingLineRe)) {
|
|
45
|
+
for (const token of line[1].matchAll(packageTokenRe)) {
|
|
46
|
+
packages.set(token[1], token[2]);
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
if (packages.size === 0) {
|
|
50
|
+
exports.sessionInfoLog.debug('Found sessionInfo() markers but no package version tokens, skipping.');
|
|
51
|
+
return;
|
|
52
|
+
}
|
|
53
|
+
if (rVersionMatch) {
|
|
54
|
+
pin(ctx, 'R', rVersionMatch[1]);
|
|
55
|
+
}
|
|
56
|
+
for (const [name, version] of packages) {
|
|
57
|
+
pin(ctx, name, version);
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
exports.FlowrAnalyzerPackageVersionsSessionInfoPlugin = FlowrAnalyzerPackageVersionsSessionInfoPlugin;
|
|
62
|
+
//# sourceMappingURL=flowr-analyzer-package-versions-session-info-plugin.js.map
|
package/project/plugins/package-version-plugins/flowr-analyzer-package-versions-sigdb-plugin.d.ts
CHANGED
|
@@ -113,7 +113,10 @@ export declare class FlowrAnalyzerPackageVersionsSigDbPlugin extends FlowrAnalyz
|
|
|
113
113
|
private newestSatisfying;
|
|
114
114
|
/** Lowest stored version satisfying the constraint (using the store's actual R-form version strings). */
|
|
115
115
|
private oldestSatisfying;
|
|
116
|
-
/**
|
|
116
|
+
/**
|
|
117
|
+
* The versions the source can answer for a package (dated releases, base-R core releases, and the latest),
|
|
118
|
+
* ascending. Versions that differ in writing but not in order (`1.2` and `1.2.0`) are settled by release date.
|
|
119
|
+
*/
|
|
117
120
|
private availableVersions;
|
|
118
121
|
/** build the resolved {@link Package} (namespace + version) from a source's export view */
|
|
119
122
|
private toResolvedPackage;
|
package/project/plugins/package-version-plugins/flowr-analyzer-package-versions-sigdb-plugin.js
CHANGED
|
@@ -484,20 +484,12 @@ class FlowrAnalyzerPackageVersionsSigDbPlugin extends flowr_analyzer_package_ver
|
|
|
484
484
|
}
|
|
485
485
|
return undefined;
|
|
486
486
|
}
|
|
487
|
-
/**
|
|
487
|
+
/**
|
|
488
|
+
* The versions the source can answer for a package (dated releases, base-R core releases, and the latest),
|
|
489
|
+
* ascending. Versions that differ in writing but not in order (`1.2` and `1.2.0`) are settled by release date.
|
|
490
|
+
*/
|
|
488
491
|
availableVersions(src, pkg) {
|
|
489
|
-
|
|
490
|
-
for (const r of src.releaseDates(pkg)) {
|
|
491
|
-
set.add(r.version.str);
|
|
492
|
-
}
|
|
493
|
-
for (const v of src.coreVersions(pkg) ?? []) {
|
|
494
|
-
set.add(v.str);
|
|
495
|
-
}
|
|
496
|
-
const latest = src.latestVersion(pkg);
|
|
497
|
-
if (latest) {
|
|
498
|
-
set.add(latest.str);
|
|
499
|
-
}
|
|
500
|
-
return [...set].sort((a, b) => r_version_1.RVersion.compare(a, b));
|
|
492
|
+
return (0, reader_1.availableVersionEntries)(src, pkg).map(e => e.version);
|
|
501
493
|
}
|
|
502
494
|
/** build the resolved {@link Package} (namespace + version) from a source's export view */
|
|
503
495
|
toResolvedPackage(name, info) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type
|
|
1
|
+
import { type Range } from 'semver';
|
|
2
2
|
import type { NamespaceInfo } from '../file-plugins/files/flowr-namespace-file';
|
|
3
3
|
export type PackageType = 'package' | 'system' | 'r';
|
|
4
4
|
export type PackageOptions = {
|
|
@@ -27,7 +27,10 @@ export declare class Package {
|
|
|
27
27
|
s3For(generic: string): string[];
|
|
28
28
|
mergeInPlace(other: Package): void;
|
|
29
29
|
addInfo(info: PackageOptions): void;
|
|
30
|
+
/** The combined (intersected) range of all recorded constraints, or `undefined` if none were given. */
|
|
30
31
|
deriveVersion(): Range | undefined;
|
|
32
|
+
/** Whether some concrete version can satisfy every recorded constraint at once. */
|
|
33
|
+
hasSatisfiableVersion(): boolean;
|
|
31
34
|
static parsePkgVersionRange(constraint?: string, version?: string): Range | undefined;
|
|
32
35
|
static functionIdentifier(dependency: string, func: string): string;
|
|
33
36
|
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.Package = void 0;
|
|
4
|
+
const semver_1 = require("semver");
|
|
4
5
|
const assert_1 = require("../../../util/assert");
|
|
5
6
|
const flowr_namespace_file_1 = require("../file-plugins/files/flowr-namespace-file");
|
|
6
7
|
const flowr_file_1 = require("../../context/flowr-file");
|
|
@@ -67,21 +68,23 @@ class Package {
|
|
|
67
68
|
this.dependencies = dependencies ?? this.dependencies;
|
|
68
69
|
this.namespaceInfo = namespaceInfo ?? this.namespaceInfo;
|
|
69
70
|
if (versionConstraints !== undefined) {
|
|
70
|
-
this.derivedVersion ??= versionConstraints[0];
|
|
71
71
|
for (const constraint of versionConstraints) {
|
|
72
|
-
if (!this.derivedVersion?.intersects(constraint)) {
|
|
73
|
-
throw new Error('Version constraint mismatch!');
|
|
74
|
-
}
|
|
75
72
|
this.versionConstraints.push(constraint);
|
|
76
|
-
this.derivedVersion = this.deriveVersion();
|
|
77
73
|
}
|
|
74
|
+
// sources may disagree, which `hasSatisfiableVersion` reports rather than this failing
|
|
75
|
+
this.derivedVersion = this.deriveVersion() ?? this.derivedVersion;
|
|
78
76
|
}
|
|
79
77
|
}
|
|
78
|
+
/** The combined (intersected) range of all recorded constraints, or `undefined` if none were given. */
|
|
80
79
|
deriveVersion() {
|
|
81
80
|
return this.versionConstraints.length > 0
|
|
82
81
|
? r_version_1.RRange.parse(this.versionConstraints.map(c => c.raw).join(' '))
|
|
83
82
|
: undefined;
|
|
84
83
|
}
|
|
84
|
+
/** Whether some concrete version can satisfy every recorded constraint at once. */
|
|
85
|
+
hasSatisfiableVersion() {
|
|
86
|
+
return this.derivedVersion !== undefined && (0, semver_1.minVersion)(this.derivedVersion) !== null;
|
|
87
|
+
}
|
|
85
88
|
static parsePkgVersionRange(constraint, version) {
|
|
86
89
|
if (version) {
|
|
87
90
|
return constraint ? r_version_1.RRange.parse(constraint + version) : r_version_1.RRange.parse(version);
|
|
@@ -2,25 +2,33 @@ import type { FlowrAnalyzerPlugin } from './flowr-analyzer-plugin';
|
|
|
2
2
|
import { FlowrAnalyzerDescriptionFilePlugin } from './file-plugins/flowr-analyzer-description-file-plugin';
|
|
3
3
|
import { FlowrAnalyzerPackageVersionsDescriptionFilePlugin } from './package-version-plugins/flowr-analyzer-package-versions-description-file-plugin';
|
|
4
4
|
import { FlowrAnalyzerPackageVersionsSigDbPlugin } from './package-version-plugins/flowr-analyzer-package-versions-sigdb-plugin';
|
|
5
|
-
import { FlowrAnalyzerPackageVersionsRenvPlugin, FlowrAnalyzerPackageVersionsRvPlugin } from './package-version-plugins/flowr-analyzer-package-versions-lockfile-plugin';
|
|
5
|
+
import { FlowrAnalyzerPackageVersionsPackratPlugin, FlowrAnalyzerPackageVersionsRenvPlugin, FlowrAnalyzerPackageVersionsRvPlugin } from './package-version-plugins/flowr-analyzer-package-versions-lockfile-plugin';
|
|
6
|
+
import { FlowrAnalyzerPackageVersionsSessionInfoPlugin } from './package-version-plugins/flowr-analyzer-package-versions-session-info-plugin';
|
|
6
7
|
import { FlowrAnalyzerLoadingOrderDescriptionFilePlugin } from './loading-order-plugins/flowr-analyzer-loading-order-description-file-plugin';
|
|
8
|
+
import { FlowrAnalyzerLoadingOrderImplicitSourcesPlugin } from './loading-order-plugins/flowr-analyzer-loading-order-implicit-sources-plugin';
|
|
7
9
|
import { FlowrAnalyzerRmdFilePlugin } from './file-plugins/notebooks/flowr-analyzer-rmd-file-plugin';
|
|
8
10
|
import { FlowrAnalyzerQmdFilePlugin } from './file-plugins/notebooks/flowr-analyzer-qmd-file-plugin';
|
|
9
11
|
import { FlowrAnalyzerJupyterFilePlugin } from './file-plugins/notebooks/flowr-analyzer-jupyter-file-plugin';
|
|
10
12
|
import { FlowrAnalyzerNamespaceFilesPlugin } from './file-plugins/flowr-analyzer-namespace-files-plugin';
|
|
13
|
+
import { FlowrAnalyzerPackageVersionsNamespaceFilePlugin } from './package-version-plugins/flowr-analyzer-package-versions-namespace-file-plugin';
|
|
11
14
|
import { FlowrAnalyzerNewsFilePlugin } from './file-plugins/flowr-analyzer-news-file-plugin';
|
|
15
|
+
import { FlowrAnalyzerRdaFilePlugin } from './file-plugins/flowr-analyzer-rda-file-plugin';
|
|
12
16
|
import { FlowrAnalyzerMetaVignetteFilesPlugin } from './file-plugins/flowr-analyzer-vignette-file-plugin';
|
|
13
17
|
import { FlowrAnalyzerMetaTestFilesPlugin } from './file-plugins/flowr-analyzer-test-file-plugin';
|
|
14
18
|
import { FlowrAnalyzerMetaInstFilesPlugin } from './file-plugins/flowr-analyzer-inst-file-plugin';
|
|
15
19
|
import { FlowrAnalyzerLicenseFilePlugin } from './file-plugins/flowr-analyzer-license-file-plugin';
|
|
16
20
|
import { FlowrAnalyzerVirtualEnvFilePlugin } from './file-plugins/flowr-analyzer-virtualenv-file-plugin';
|
|
21
|
+
import { FlowrAnalyzerRProjectFilePlugin } from './file-plugins/flowr-analyzer-rproject-file-plugin';
|
|
22
|
+
import { FlowrAnalyzerMetaRProjectFilePlugin } from './package-version-plugins/flowr-analyzer-meta-rproject-file-plugin';
|
|
17
23
|
import { FlowrAnalyzerMetaDescriptionFilePlugin } from './package-version-plugins/flowr-analyzer-meta-description-file-plugin';
|
|
18
24
|
import { FlowrAnalyzerSweaveFilePlugin } from './file-plugins/notebooks/flowr-analyzer-sweave-file-plugin';
|
|
19
|
-
import { FlowrAnalyzerGitignoreProjectDiscoveryPlugin } from './project-discovery/flowr-analyzer-
|
|
25
|
+
import { FlowrAnalyzerGitignoreProjectDiscoveryPlugin, FlowrAnalyzerIgnoreFileProjectDiscoveryPlugin, FlowrAnalyzerRbuildignoreProjectDiscoveryPlugin } from './project-discovery/flowr-analyzer-ignore-file-project-discovery-plugin';
|
|
26
|
+
import { FlowrAnalyzerRprofileFilePlugin } from './file-plugins/flowr-analyzer-rprofile-file-plugin';
|
|
27
|
+
import { FlowrAnalyzerLoadingOrderRprofilePlugin } from './loading-order-plugins/flowr-analyzer-loading-order-rprofile-plugin';
|
|
20
28
|
/**
|
|
21
29
|
* The built-in Flowr Analyzer plugins that are always available.
|
|
22
30
|
*/
|
|
23
|
-
export declare const BuiltInPlugins: [["file:description", typeof FlowrAnalyzerDescriptionFilePlugin], ["versions:description", typeof FlowrAnalyzerPackageVersionsDescriptionFilePlugin], ["versions:sigdb", typeof FlowrAnalyzerPackageVersionsSigDbPlugin], ["versions:renv", typeof FlowrAnalyzerPackageVersionsRenvPlugin], ["versions:rv", typeof FlowrAnalyzerPackageVersionsRvPlugin], ["loading-order:description", typeof FlowrAnalyzerLoadingOrderDescriptionFilePlugin], ["meta:description", typeof FlowrAnalyzerMetaDescriptionFilePlugin], ["
|
|
31
|
+
export declare const BuiltInPlugins: [["file:description", typeof FlowrAnalyzerDescriptionFilePlugin], ["versions:description", typeof FlowrAnalyzerPackageVersionsDescriptionFilePlugin], ["versions:sigdb", typeof FlowrAnalyzerPackageVersionsSigDbPlugin], ["versions:renv", typeof FlowrAnalyzerPackageVersionsRenvPlugin], ["versions:rv", typeof FlowrAnalyzerPackageVersionsRvPlugin], ["versions:packrat", typeof FlowrAnalyzerPackageVersionsPackratPlugin], ["versions:session-info", typeof FlowrAnalyzerPackageVersionsSessionInfoPlugin], ["loading-order:description", typeof FlowrAnalyzerLoadingOrderDescriptionFilePlugin], ["loading-order:implicit-sources", typeof FlowrAnalyzerLoadingOrderImplicitSourcesPlugin], ["loading-order:rprofile", typeof FlowrAnalyzerLoadingOrderRprofilePlugin], ["meta:description", typeof FlowrAnalyzerMetaDescriptionFilePlugin], ["meta:rproject", typeof FlowrAnalyzerMetaRProjectFilePlugin], ["file-roles:vignette", typeof FlowrAnalyzerMetaVignetteFilesPlugin], ["file-roles:test", typeof FlowrAnalyzerMetaTestFilesPlugin], ["file-roles:inst", typeof FlowrAnalyzerMetaInstFilesPlugin], ["file:rmd", typeof FlowrAnalyzerRmdFilePlugin], ["file:qmd", typeof FlowrAnalyzerQmdFilePlugin], ["file:rnw", typeof FlowrAnalyzerSweaveFilePlugin], ["file:ipynb", typeof FlowrAnalyzerJupyterFilePlugin], ["file:namespace", typeof FlowrAnalyzerNamespaceFilesPlugin], ["versions:namespace", typeof FlowrAnalyzerPackageVersionsNamespaceFilePlugin], ["file:news", typeof FlowrAnalyzerNewsFilePlugin], ["file:rda", typeof FlowrAnalyzerRdaFilePlugin], ["file:license", typeof FlowrAnalyzerLicenseFilePlugin], ["file:virtualenv", typeof FlowrAnalyzerVirtualEnvFilePlugin], ["file:rproject", typeof FlowrAnalyzerRProjectFilePlugin], ["file:rprofile", typeof FlowrAnalyzerRprofileFilePlugin], ["project-discovery:gitignore", typeof FlowrAnalyzerGitignoreProjectDiscoveryPlugin], ["project-discovery:rbuildignore", typeof FlowrAnalyzerRbuildignoreProjectDiscoveryPlugin], ["project-discovery:ignore-files", typeof FlowrAnalyzerIgnoreFileProjectDiscoveryPlugin]];
|
|
24
32
|
export type BuiltInFlowrPluginName = typeof BuiltInPlugins[number][0];
|
|
25
33
|
export type BuiltInFlowrPluginArgs<N extends BuiltInFlowrPluginName> = N extends typeof BuiltInPlugins[number][0] ? ConstructorParameters<Extract<typeof BuiltInPlugins[number], [N, PluginProducer]>[1]> : never;
|
|
26
34
|
type PluginProducer = new (...args: never[]) => FlowrAnalyzerPlugin;
|
|
@@ -8,21 +8,29 @@ const flowr_analyzer_description_file_plugin_1 = require("./file-plugins/flowr-a
|
|
|
8
8
|
const flowr_analyzer_package_versions_description_file_plugin_1 = require("./package-version-plugins/flowr-analyzer-package-versions-description-file-plugin");
|
|
9
9
|
const flowr_analyzer_package_versions_sigdb_plugin_1 = require("./package-version-plugins/flowr-analyzer-package-versions-sigdb-plugin");
|
|
10
10
|
const flowr_analyzer_package_versions_lockfile_plugin_1 = require("./package-version-plugins/flowr-analyzer-package-versions-lockfile-plugin");
|
|
11
|
+
const flowr_analyzer_package_versions_session_info_plugin_1 = require("./package-version-plugins/flowr-analyzer-package-versions-session-info-plugin");
|
|
11
12
|
const flowr_analyzer_loading_order_description_file_plugin_1 = require("./loading-order-plugins/flowr-analyzer-loading-order-description-file-plugin");
|
|
13
|
+
const flowr_analyzer_loading_order_implicit_sources_plugin_1 = require("./loading-order-plugins/flowr-analyzer-loading-order-implicit-sources-plugin");
|
|
12
14
|
const flowr_analyzer_rmd_file_plugin_1 = require("./file-plugins/notebooks/flowr-analyzer-rmd-file-plugin");
|
|
13
15
|
const flowr_analyzer_qmd_file_plugin_1 = require("./file-plugins/notebooks/flowr-analyzer-qmd-file-plugin");
|
|
14
16
|
const assert_1 = require("../../util/assert");
|
|
15
17
|
const flowr_analyzer_jupyter_file_plugin_1 = require("./file-plugins/notebooks/flowr-analyzer-jupyter-file-plugin");
|
|
16
18
|
const flowr_analyzer_namespace_files_plugin_1 = require("./file-plugins/flowr-analyzer-namespace-files-plugin");
|
|
19
|
+
const flowr_analyzer_package_versions_namespace_file_plugin_1 = require("./package-version-plugins/flowr-analyzer-package-versions-namespace-file-plugin");
|
|
17
20
|
const flowr_analyzer_news_file_plugin_1 = require("./file-plugins/flowr-analyzer-news-file-plugin");
|
|
21
|
+
const flowr_analyzer_rda_file_plugin_1 = require("./file-plugins/flowr-analyzer-rda-file-plugin");
|
|
18
22
|
const flowr_analyzer_vignette_file_plugin_1 = require("./file-plugins/flowr-analyzer-vignette-file-plugin");
|
|
19
23
|
const flowr_analyzer_test_file_plugin_1 = require("./file-plugins/flowr-analyzer-test-file-plugin");
|
|
20
24
|
const flowr_analyzer_inst_file_plugin_1 = require("./file-plugins/flowr-analyzer-inst-file-plugin");
|
|
21
25
|
const flowr_analyzer_license_file_plugin_1 = require("./file-plugins/flowr-analyzer-license-file-plugin");
|
|
22
26
|
const flowr_analyzer_virtualenv_file_plugin_1 = require("./file-plugins/flowr-analyzer-virtualenv-file-plugin");
|
|
27
|
+
const flowr_analyzer_rproject_file_plugin_1 = require("./file-plugins/flowr-analyzer-rproject-file-plugin");
|
|
28
|
+
const flowr_analyzer_meta_rproject_file_plugin_1 = require("./package-version-plugins/flowr-analyzer-meta-rproject-file-plugin");
|
|
23
29
|
const flowr_analyzer_meta_description_file_plugin_1 = require("./package-version-plugins/flowr-analyzer-meta-description-file-plugin");
|
|
24
30
|
const flowr_analyzer_sweave_file_plugin_1 = require("./file-plugins/notebooks/flowr-analyzer-sweave-file-plugin");
|
|
25
|
-
const
|
|
31
|
+
const flowr_analyzer_ignore_file_project_discovery_plugin_1 = require("./project-discovery/flowr-analyzer-ignore-file-project-discovery-plugin");
|
|
32
|
+
const flowr_analyzer_rprofile_file_plugin_1 = require("./file-plugins/flowr-analyzer-rprofile-file-plugin");
|
|
33
|
+
const flowr_analyzer_loading_order_rprofile_plugin_1 = require("./loading-order-plugins/flowr-analyzer-loading-order-rprofile-plugin");
|
|
26
34
|
/**
|
|
27
35
|
* The built-in Flowr Analyzer plugins that are always available.
|
|
28
36
|
*/
|
|
@@ -32,20 +40,31 @@ exports.BuiltInPlugins = [
|
|
|
32
40
|
['versions:sigdb', flowr_analyzer_package_versions_sigdb_plugin_1.FlowrAnalyzerPackageVersionsSigDbPlugin],
|
|
33
41
|
['versions:renv', flowr_analyzer_package_versions_lockfile_plugin_1.FlowrAnalyzerPackageVersionsRenvPlugin],
|
|
34
42
|
['versions:rv', flowr_analyzer_package_versions_lockfile_plugin_1.FlowrAnalyzerPackageVersionsRvPlugin],
|
|
43
|
+
['versions:packrat', flowr_analyzer_package_versions_lockfile_plugin_1.FlowrAnalyzerPackageVersionsPackratPlugin],
|
|
44
|
+
['versions:session-info', flowr_analyzer_package_versions_session_info_plugin_1.FlowrAnalyzerPackageVersionsSessionInfoPlugin],
|
|
35
45
|
['loading-order:description', flowr_analyzer_loading_order_description_file_plugin_1.FlowrAnalyzerLoadingOrderDescriptionFilePlugin],
|
|
46
|
+
['loading-order:implicit-sources', flowr_analyzer_loading_order_implicit_sources_plugin_1.FlowrAnalyzerLoadingOrderImplicitSourcesPlugin],
|
|
47
|
+
['loading-order:rprofile', flowr_analyzer_loading_order_rprofile_plugin_1.FlowrAnalyzerLoadingOrderRprofilePlugin],
|
|
36
48
|
['meta:description', flowr_analyzer_meta_description_file_plugin_1.FlowrAnalyzerMetaDescriptionFilePlugin],
|
|
37
|
-
['
|
|
38
|
-
['
|
|
39
|
-
['
|
|
49
|
+
['meta:rproject', flowr_analyzer_meta_rproject_file_plugin_1.FlowrAnalyzerMetaRProjectFilePlugin],
|
|
50
|
+
['file-roles:vignette', flowr_analyzer_vignette_file_plugin_1.FlowrAnalyzerMetaVignetteFilesPlugin],
|
|
51
|
+
['file-roles:test', flowr_analyzer_test_file_plugin_1.FlowrAnalyzerMetaTestFilesPlugin],
|
|
52
|
+
['file-roles:inst', flowr_analyzer_inst_file_plugin_1.FlowrAnalyzerMetaInstFilesPlugin],
|
|
40
53
|
['file:rmd', flowr_analyzer_rmd_file_plugin_1.FlowrAnalyzerRmdFilePlugin],
|
|
41
54
|
['file:qmd', flowr_analyzer_qmd_file_plugin_1.FlowrAnalyzerQmdFilePlugin],
|
|
42
55
|
['file:rnw', flowr_analyzer_sweave_file_plugin_1.FlowrAnalyzerSweaveFilePlugin],
|
|
43
56
|
['file:ipynb', flowr_analyzer_jupyter_file_plugin_1.FlowrAnalyzerJupyterFilePlugin],
|
|
44
57
|
['file:namespace', flowr_analyzer_namespace_files_plugin_1.FlowrAnalyzerNamespaceFilesPlugin],
|
|
58
|
+
['versions:namespace', flowr_analyzer_package_versions_namespace_file_plugin_1.FlowrAnalyzerPackageVersionsNamespaceFilePlugin],
|
|
45
59
|
['file:news', flowr_analyzer_news_file_plugin_1.FlowrAnalyzerNewsFilePlugin],
|
|
60
|
+
['file:rda', flowr_analyzer_rda_file_plugin_1.FlowrAnalyzerRdaFilePlugin],
|
|
46
61
|
['file:license', flowr_analyzer_license_file_plugin_1.FlowrAnalyzerLicenseFilePlugin],
|
|
47
62
|
['file:virtualenv', flowr_analyzer_virtualenv_file_plugin_1.FlowrAnalyzerVirtualEnvFilePlugin],
|
|
48
|
-
['
|
|
63
|
+
['file:rproject', flowr_analyzer_rproject_file_plugin_1.FlowrAnalyzerRProjectFilePlugin],
|
|
64
|
+
['file:rprofile', flowr_analyzer_rprofile_file_plugin_1.FlowrAnalyzerRprofileFilePlugin],
|
|
65
|
+
['project-discovery:gitignore', flowr_analyzer_ignore_file_project_discovery_plugin_1.FlowrAnalyzerGitignoreProjectDiscoveryPlugin],
|
|
66
|
+
['project-discovery:rbuildignore', flowr_analyzer_ignore_file_project_discovery_plugin_1.FlowrAnalyzerRbuildignoreProjectDiscoveryPlugin],
|
|
67
|
+
['project-discovery:ignore-files', flowr_analyzer_ignore_file_project_discovery_plugin_1.FlowrAnalyzerIgnoreFileProjectDiscoveryPlugin]
|
|
49
68
|
];
|
|
50
69
|
/**
|
|
51
70
|
* The registry of built-in and user-registered Flowr Analyzer plugins.
|
package/project/plugins/project-discovery/flowr-analyzer-ignore-file-project-discovery-plugin.d.ts
ADDED
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { FlowrAnalyzerProjectDiscoveryPlugin } from './flowr-analyzer-project-discovery-plugin';
|
|
2
|
+
import { SemVer } from 'semver';
|
|
3
|
+
import type { FlowrAnalyzerContext } from '../../context/flowr-analyzer-context';
|
|
4
|
+
import type { RProjectAnalysisRequest } from '../../context/flowr-analyzer-files-context';
|
|
5
|
+
import type { RParseRequest } from '../../../r-bridge/retriever';
|
|
6
|
+
import type { FlowrFile } from '../../context/flowr-file';
|
|
7
|
+
/**
|
|
8
|
+
* The ignore files a {@link FlowrAnalyzerIgnoreFileProjectDiscoveryPlugin} can respect.
|
|
9
|
+
* They differ in their pattern language, see {@link ignoreMatcher}.
|
|
10
|
+
*/
|
|
11
|
+
export declare enum IgnoreFileKind {
|
|
12
|
+
/** `.gitignore`, gitignore-style globs */
|
|
13
|
+
Gitignore = "gitignore",
|
|
14
|
+
/** `.Rbuildignore`, one (Perl-compatible) regular expression per line, as used by `R CMD build` */
|
|
15
|
+
Rbuildignore = "rbuildignore"
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* Decorator around any {@link FlowrAnalyzerProjectDiscoveryPlugin} that filters the discovered files
|
|
19
|
+
* by the ignore files found at the project root. Ignore files that do not exist are skipped, so with
|
|
20
|
+
* none of them present the inner plugin's results are returned unchanged.
|
|
21
|
+
*
|
|
22
|
+
* Use {@link FlowrAnalyzerGitignoreProjectDiscoveryPlugin} (`'project-discovery:gitignore'`),
|
|
23
|
+
* {@link FlowrAnalyzerRbuildignoreProjectDiscoveryPlugin} (`'project-discovery:rbuildignore'`), or
|
|
24
|
+
* `'project-discovery:ignore-files'` for both. As every variant wraps an inner discovery plugin, they
|
|
25
|
+
* can also be nested to combine them with a custom discovery plugin.
|
|
26
|
+
*/
|
|
27
|
+
export declare class FlowrAnalyzerIgnoreFileProjectDiscoveryPlugin extends FlowrAnalyzerProjectDiscoveryPlugin {
|
|
28
|
+
readonly name: string;
|
|
29
|
+
readonly description: string;
|
|
30
|
+
readonly version: SemVer;
|
|
31
|
+
private readonly inner;
|
|
32
|
+
private readonly kinds;
|
|
33
|
+
/**
|
|
34
|
+
* @param kinds - the ignore files to respect
|
|
35
|
+
* @param inner - the discovery plugin providing the files to filter
|
|
36
|
+
*/
|
|
37
|
+
constructor(kinds?: readonly IgnoreFileKind[], inner?: FlowrAnalyzerProjectDiscoveryPlugin);
|
|
38
|
+
protected process(context: FlowrAnalyzerContext, args: RProjectAnalysisRequest): (RParseRequest | FlowrFile<string>)[];
|
|
39
|
+
}
|
|
40
|
+
/** Filters the discovered files by the `.gitignore` at the project root, see {@link FlowrAnalyzerIgnoreFileProjectDiscoveryPlugin}. */
|
|
41
|
+
export declare class FlowrAnalyzerGitignoreProjectDiscoveryPlugin extends FlowrAnalyzerIgnoreFileProjectDiscoveryPlugin {
|
|
42
|
+
readonly name = "flowr-analyzer-gitignore-project-discovery-plugin";
|
|
43
|
+
readonly description = "Wraps a project discovery plugin and filters results by .gitignore rules.";
|
|
44
|
+
constructor(inner?: FlowrAnalyzerProjectDiscoveryPlugin);
|
|
45
|
+
}
|
|
46
|
+
/** Filters the discovered files by the `.Rbuildignore` at the package root, see {@link FlowrAnalyzerIgnoreFileProjectDiscoveryPlugin}. */
|
|
47
|
+
export declare class FlowrAnalyzerRbuildignoreProjectDiscoveryPlugin extends FlowrAnalyzerIgnoreFileProjectDiscoveryPlugin {
|
|
48
|
+
readonly name = "flowr-analyzer-rbuildignore-project-discovery-plugin";
|
|
49
|
+
readonly description = "Wraps a project discovery plugin and filters results by .Rbuildignore rules.";
|
|
50
|
+
constructor(inner?: FlowrAnalyzerProjectDiscoveryPlugin);
|
|
51
|
+
}
|