@eagleoutice/flowr 2.13.11 → 2.13.12
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
CHANGED
|
@@ -43,7 +43,7 @@ It offers a wide variety of features, for example:
|
|
|
43
43
|
|
|
44
44
|
```shell
|
|
45
45
|
$ docker run -it --rm eagleoutice/flowr # or npm run flowr
|
|
46
|
-
flowR repl v2.13.
|
|
46
|
+
flowR repl v2.13.11, R grammar v14 (tree-sitter engine)
|
|
47
47
|
R> :query @linter "read.csv(\"/root/x.txt\")"
|
|
48
48
|
```
|
|
49
49
|
|
|
@@ -52,7 +52,7 @@ It offers a wide variety of features, for example:
|
|
|
52
52
|
|
|
53
53
|
|
|
54
54
|
```text
|
|
55
|
-
Query: linter (
|
|
55
|
+
Query: linter (6 ms)
|
|
56
56
|
╰ Deprecated Functions (deprecated-functions): no findings
|
|
57
57
|
╰ File Path Validity (file-path-validity):
|
|
58
58
|
╰ certain:
|
|
@@ -73,7 +73,7 @@ It offers a wide variety of features, for example:
|
|
|
73
73
|
╰ Roxygen Arguments (roxygen-arguments): no findings
|
|
74
74
|
╰ No Leaked Credentials (no-leaked-credentials): no findings
|
|
75
75
|
╰ Undefined Symbol (undefined-symbol): no findings
|
|
76
|
-
All queries together required ≈
|
|
76
|
+
All queries together required ≈6 ms (1ms accuracy, total 6 ms)
|
|
77
77
|
```
|
|
78
78
|
|
|
79
79
|
|
|
@@ -95,17 +95,17 @@ It offers a wide variety of features, for example:
|
|
|
95
95
|
|
|
96
96
|
_Results (prettified and summarized):_
|
|
97
97
|
|
|
98
|
-
Query: **linter** (
|
|
98
|
+
Query: **linter** (6 ms)\
|
|
99
99
|
╰ **Deprecated Functions** (deprecated-functions): _no findings_\
|
|
100
100
|
╰ **File Path Validity** (file-path-validity):\
|
|
101
101
|
╰ certain:\
|
|
102
102
|
╰ Path `/root/x.txt` at 1.1-23\
|
|
103
|
-
╰ _Metadata_: totalReads: 1, totalUnknown: 0, totalWritesBeforeAlways: 0, totalValid: 0, searchTimeMs:
|
|
103
|
+
╰ _Metadata_: totalReads: 1, totalUnknown: 0, totalWritesBeforeAlways: 0, totalValid: 0, searchTimeMs: 1, processTimeMs: 0\
|
|
104
104
|
╰ **Seeded Randomness** (seeded-randomness): _no findings_\
|
|
105
105
|
╰ **Absolute Paths** (absolute-file-paths):\
|
|
106
106
|
╰ certain:\
|
|
107
107
|
╰ Path `/root/x.txt` at 1.1-23\
|
|
108
|
-
╰ _Metadata_: totalConsidered: 1, totalUnknown: 0, searchTimeMs: 1, processTimeMs:
|
|
108
|
+
╰ _Metadata_: totalConsidered: 1, totalUnknown: 0, searchTimeMs: 1, processTimeMs: 0\
|
|
109
109
|
╰ **Unused Definitions** (unused-definitions): _no findings_\
|
|
110
110
|
╰ **Network Functions** (network-functions): _no findings_\
|
|
111
111
|
╰ **Dataframe Access Validation** (dataframe-access-validation): _no findings_\
|
|
@@ -116,11 +116,11 @@ It offers a wide variety of features, for example:
|
|
|
116
116
|
╰ **Roxygen Arguments** (roxygen-arguments): _no findings_\
|
|
117
117
|
╰ **No Leaked Credentials** (no-leaked-credentials): _no findings_\
|
|
118
118
|
╰ **Undefined Symbol** (undefined-symbol): _no findings_\
|
|
119
|
-
_All queries together required ≈
|
|
119
|
+
_All queries together required ≈6 ms (1ms accuracy, total 7 ms)_
|
|
120
120
|
|
|
121
121
|
<details> <summary style="color:gray">Show Detailed Results as Json</summary>
|
|
122
122
|
|
|
123
|
-
The analysis required
|
|
123
|
+
The analysis required _6.6 ms_ (including parsing and normalization and the query) within the generation environment.
|
|
124
124
|
|
|
125
125
|
In general, the JSON contains the Ids of the nodes in question as they are present in the normalized AST or the dataflow graph of flowR.
|
|
126
126
|
Please consult the [Interface](https://github.com/flowr-analysis/flowr/wiki/Interface) wiki page for more information on how to get those.
|
|
@@ -137,8 +137,8 @@ It offers a wide variety of features, for example:
|
|
|
137
137
|
".meta": {
|
|
138
138
|
"totalCalls": 0,
|
|
139
139
|
"totalFunctionDefinitions": 0,
|
|
140
|
-
"searchTimeMs":
|
|
141
|
-
"processTimeMs":
|
|
140
|
+
"searchTimeMs": 2,
|
|
141
|
+
"processTimeMs": 0
|
|
142
142
|
}
|
|
143
143
|
},
|
|
144
144
|
"file-path-validity": {
|
|
@@ -160,8 +160,8 @@ It offers a wide variety of features, for example:
|
|
|
160
160
|
"totalUnknown": 0,
|
|
161
161
|
"totalWritesBeforeAlways": 0,
|
|
162
162
|
"totalValid": 0,
|
|
163
|
-
"searchTimeMs":
|
|
164
|
-
"processTimeMs":
|
|
163
|
+
"searchTimeMs": 1,
|
|
164
|
+
"processTimeMs": 0
|
|
165
165
|
}
|
|
166
166
|
},
|
|
167
167
|
"seeded-randomness": {
|
|
@@ -172,7 +172,7 @@ It offers a wide variety of features, for example:
|
|
|
172
172
|
"callsWithAssignmentProducers": 0,
|
|
173
173
|
"callsWithNonConstantProducers": 0,
|
|
174
174
|
"callsWithOtherBranchProducers": 0,
|
|
175
|
-
"searchTimeMs":
|
|
175
|
+
"searchTimeMs": 0,
|
|
176
176
|
"processTimeMs": 0
|
|
177
177
|
}
|
|
178
178
|
},
|
|
@@ -193,7 +193,7 @@ It offers a wide variety of features, for example:
|
|
|
193
193
|
"totalConsidered": 1,
|
|
194
194
|
"totalUnknown": 0,
|
|
195
195
|
"searchTimeMs": 1,
|
|
196
|
-
"processTimeMs":
|
|
196
|
+
"processTimeMs": 0
|
|
197
197
|
}
|
|
198
198
|
},
|
|
199
199
|
"unused-definitions": {
|
|
@@ -210,7 +210,7 @@ It offers a wide variety of features, for example:
|
|
|
210
210
|
"totalCalls": 0,
|
|
211
211
|
"totalFunctionDefinitions": 0,
|
|
212
212
|
"searchTimeMs": 0,
|
|
213
|
-
"processTimeMs":
|
|
213
|
+
"processTimeMs": 0
|
|
214
214
|
}
|
|
215
215
|
},
|
|
216
216
|
"dataframe-access-validation": {
|
|
@@ -220,7 +220,7 @@ It offers a wide variety of features, for example:
|
|
|
220
220
|
"numAccesses": 0,
|
|
221
221
|
"totalAccessed": 0,
|
|
222
222
|
"searchTimeMs": 0,
|
|
223
|
-
"processTimeMs":
|
|
223
|
+
"processTimeMs": 0
|
|
224
224
|
}
|
|
225
225
|
},
|
|
226
226
|
"dead-code": {
|
|
@@ -242,7 +242,7 @@ It offers a wide variety of features, for example:
|
|
|
242
242
|
"results": [],
|
|
243
243
|
".meta": {
|
|
244
244
|
"searchTimeMs": 0,
|
|
245
|
-
"processTimeMs":
|
|
245
|
+
"processTimeMs": 0
|
|
246
246
|
}
|
|
247
247
|
},
|
|
248
248
|
"stop-call": {
|
|
@@ -281,16 +281,16 @@ It offers a wide variety of features, for example:
|
|
|
281
281
|
"subscript": 0
|
|
282
282
|
},
|
|
283
283
|
"searchTimeMs": 0,
|
|
284
|
-
"processTimeMs":
|
|
284
|
+
"processTimeMs": 1
|
|
285
285
|
}
|
|
286
286
|
}
|
|
287
287
|
},
|
|
288
288
|
".meta": {
|
|
289
|
-
"timing":
|
|
289
|
+
"timing": 6
|
|
290
290
|
}
|
|
291
291
|
},
|
|
292
292
|
".meta": {
|
|
293
|
-
"timing":
|
|
293
|
+
"timing": 6
|
|
294
294
|
}
|
|
295
295
|
}
|
|
296
296
|
```
|
|
@@ -354,7 +354,7 @@ It offers a wide variety of features, for example:
|
|
|
354
354
|
|
|
355
355
|
```shell
|
|
356
356
|
$ docker run -it --rm eagleoutice/flowr # or npm run flowr
|
|
357
|
-
flowR repl v2.13.
|
|
357
|
+
flowR repl v2.13.11, R grammar v14 (tree-sitter engine)
|
|
358
358
|
R> :query @static-slice (11@sum) file://test/testfiles/example.R
|
|
359
359
|
```
|
|
360
360
|
|
|
@@ -368,7 +368,7 @@ It offers a wide variety of features, for example:
|
|
|
368
368
|
N <- 10
|
|
369
369
|
for(i in 1:(N-1)) sum <- sum + i + w
|
|
370
370
|
sum
|
|
371
|
-
All queries together required ≈
|
|
371
|
+
All queries together required ≈2 ms (1ms accuracy, total 2 ms)
|
|
372
372
|
```
|
|
373
373
|
|
|
374
374
|
|
|
@@ -383,7 +383,7 @@ It offers a wide variety of features, for example:
|
|
|
383
383
|
</details>
|
|
384
384
|
|
|
385
385
|
* 🚀 **fast call-graph, data-, and control-flow graphs**\
|
|
386
|
-
Within just [<i><span title="This measurement is automatically fetched from the latest benchmark!">
|
|
386
|
+
Within just [<i><span title="This measurement is automatically fetched from the latest benchmark!">109.6 ms</span></i> (as of Aug 9, 2026)](https://flowr-analysis.github.io/flowr/wiki/stats/benchmark),
|
|
387
387
|
_flowR_ can analyze the data- and control-flow of the average real-world R script. See the [benchmarks](https://flowr-analysis.github.io/flowr/wiki/stats/benchmark) for more information,
|
|
388
388
|
and consult the [wiki pages](https://github.com/flowr-analysis/flowr/wiki/Dataflow-Graph) for more details on the [dataflow graphs](https://github.com/flowr-analysis/flowr/wiki/Dataflow-Graph) as well as [call graphs](https://github.com/flowr-analysis/flowr/wiki/Dataflow-Graph#perspectives-cg).
|
|
389
389
|
|
|
@@ -419,7 +419,7 @@ It offers a wide variety of features, for example:
|
|
|
419
419
|
|
|
420
420
|
```shell
|
|
421
421
|
$ docker run -it --rm eagleoutice/flowr # or npm run flowr
|
|
422
|
-
flowR repl v2.13.
|
|
422
|
+
flowR repl v2.13.11, R grammar v14 (tree-sitter engine)
|
|
423
423
|
R> :dataflow* test/testfiles/example.R
|
|
424
424
|
```
|
|
425
425
|
|
|
@@ -692,7 +692,7 @@ It offers a wide variety of features, for example:
|
|
|
692
692
|
```
|
|
693
693
|
|
|
694
694
|
|
|
695
|
-
(The analysis required
|
|
695
|
+
(The analysis required _1.7 ms_ (including parse and normalize, using the [tree-sitter](https://github.com/flowr-analysis/flowr/wiki/Engines) engine) within the generation environment. No [signature database](https://github.com/flowr-analysis/flowr/wiki/Signature-Database) is mounted for these generated graphs, so `library()` calls attach no package exports; base-R names are still qualified via the generated base-package store (e.g. `acf` as `stats::acf`).)
|
|
696
696
|
|
|
697
697
|
|
|
698
698
|
|
|
@@ -33,6 +33,13 @@ export declare const StackEnvBuiltins: {
|
|
|
33
33
|
readonly '.BaseEnv': StackEnvKind.Base;
|
|
34
34
|
readonly '.BaseNamespaceEnv': StackEnvKind.Base;
|
|
35
35
|
};
|
|
36
|
+
/**
|
|
37
|
+
* The package owning each plotting function no base-R package exports; a name listed nowhere stays bare.
|
|
38
|
+
* A built-in without a package answers to any `pkg::name`, which is how `base::ggplot` used to resolve.
|
|
39
|
+
*/
|
|
40
|
+
export declare const PlotFunctionPackages: Readonly<Record<string, readonly string[]>>;
|
|
41
|
+
/** `names` under the package exporting each: base R from the shipped data, the rest from {@link PlotFunctionPackages}. */
|
|
42
|
+
export declare function namespacePlotFunctions(names: readonly string[]): (Identifier | string)[];
|
|
36
43
|
export declare const GgPlotCreate: readonly ["ggplot", "ggplotly", "ggMarginal", "ggcorrplot", "ggseasonplot", "ggdendrogram", "qmap", "qplot", "quickplot", "autoplot", "grid.arrange", "fviz_pca_biplot", "fviz_pca", "fviz_pca_ind", "fviz_pca_var", "fviz_screeplot", "fviz_mca_biplot", "fviz_mca", "fviz_mca_ind", "fviz_mca_var", "fviz_cluster", "fviz_dend", "ggsurvplot"];
|
|
37
44
|
export declare const TinyPlotCrate: readonly ["tinyplot", "plt"];
|
|
38
45
|
export declare const GraphicsPlotCreate: string[];
|
|
@@ -887,7 +894,7 @@ export declare const WrittenBuiltinDefinitions: [{
|
|
|
887
894
|
readonly assumePrimitive: false;
|
|
888
895
|
}, {
|
|
889
896
|
readonly type: "function";
|
|
890
|
-
readonly names: string[];
|
|
897
|
+
readonly names: (string | Identifier)[];
|
|
891
898
|
readonly processor: BuiltInProcName.Default;
|
|
892
899
|
readonly config: {
|
|
893
900
|
readonly forceArgs: "all";
|
|
@@ -901,7 +908,7 @@ export declare const WrittenBuiltinDefinitions: [{
|
|
|
901
908
|
readonly assumePrimitive: true;
|
|
902
909
|
}, {
|
|
903
910
|
readonly type: "function";
|
|
904
|
-
readonly names: string[];
|
|
911
|
+
readonly names: (string | Identifier)[];
|
|
905
912
|
readonly processor: BuiltInProcName.Default;
|
|
906
913
|
readonly config: {
|
|
907
914
|
readonly forceArgs: "all";
|
|
@@ -919,7 +926,7 @@ export declare const WrittenBuiltinDefinitions: [{
|
|
|
919
926
|
readonly assumePrimitive: true;
|
|
920
927
|
}, {
|
|
921
928
|
readonly type: "function";
|
|
922
|
-
readonly names: string[];
|
|
929
|
+
readonly names: (string | Identifier)[];
|
|
923
930
|
readonly processor: BuiltInProcName.Default;
|
|
924
931
|
readonly config: {
|
|
925
932
|
readonly libFn: true;
|
|
@@ -933,7 +940,7 @@ export declare const WrittenBuiltinDefinitions: [{
|
|
|
933
940
|
readonly assumePrimitive: true;
|
|
934
941
|
}, {
|
|
935
942
|
readonly type: "function";
|
|
936
|
-
readonly names: string[];
|
|
943
|
+
readonly names: (string | Identifier)[];
|
|
937
944
|
readonly processor: BuiltInProcName.Default;
|
|
938
945
|
readonly config: {
|
|
939
946
|
readonly libFn: true;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.DefaultBuiltinConfig = exports.WrittenBuiltinDefinitions = exports.RGroupGenerics = exports.GgPlotAddons = exports.GraphicsPlotAddons = exports.PlotFunctionsWithAddParam = exports.GgPlotImplicitAddons = exports.TinyPlotAddons = exports.PlotCreate = exports.GraphicsPlotCreate = exports.TinyPlotCrate = exports.GgPlotCreate = exports.StackEnvBuiltins = exports.StackEnvKind = void 0;
|
|
3
|
+
exports.DefaultBuiltinConfig = exports.WrittenBuiltinDefinitions = exports.RGroupGenerics = exports.GgPlotAddons = exports.GraphicsPlotAddons = exports.PlotFunctionsWithAddParam = exports.GgPlotImplicitAddons = exports.TinyPlotAddons = exports.PlotCreate = exports.GraphicsPlotCreate = exports.TinyPlotCrate = exports.GgPlotCreate = exports.PlotFunctionPackages = exports.StackEnvBuiltins = exports.StackEnvKind = void 0;
|
|
4
|
+
exports.namespacePlotFunctions = namespacePlotFunctions;
|
|
4
5
|
exports.getDefaultProcessor = getDefaultProcessor;
|
|
5
6
|
const identify_link_to_last_call_relation_1 = require("../../queries/catalog/call-context-query/identify-link-to-last-call-relation");
|
|
6
7
|
const type_1 = require("../../r-bridge/lang-4.x/ast/model/type");
|
|
@@ -39,6 +40,43 @@ exports.StackEnvBuiltins = {
|
|
|
39
40
|
'.BaseEnv': StackEnvKind.Base,
|
|
40
41
|
'.BaseNamespaceEnv': StackEnvKind.Base
|
|
41
42
|
};
|
|
43
|
+
/**
|
|
44
|
+
* The package owning each plotting function no base-R package exports; a name listed nowhere stays bare.
|
|
45
|
+
* A built-in without a package answers to any `pkg::name`, which is how `base::ggplot` used to resolve.
|
|
46
|
+
*/
|
|
47
|
+
exports.PlotFunctionPackages = {
|
|
48
|
+
ggplot2: ['ggplot', 'qplot', 'quickplot', 'autoplot'],
|
|
49
|
+
plotly: ['ggplotly', 'plot_ly'],
|
|
50
|
+
ggExtra: ['ggMarginal'],
|
|
51
|
+
ggcorrplot: ['ggcorrplot'],
|
|
52
|
+
forecast: ['ggseasonplot'],
|
|
53
|
+
ggdendro: ['ggdendrogram'],
|
|
54
|
+
ggmap: ['qmap'],
|
|
55
|
+
gridExtra: ['grid.arrange'],
|
|
56
|
+
factoextra: ['fviz_pca_biplot', 'fviz_pca', 'fviz_pca_ind', 'fviz_pca_var', 'fviz_screeplot',
|
|
57
|
+
'fviz_mca_biplot', 'fviz_mca', 'fviz_mca_ind', 'fviz_mca_var', 'fviz_cluster', 'fviz_dend'],
|
|
58
|
+
survminer: ['ggsurvplot'],
|
|
59
|
+
tinyplot: ['tinyplot', 'plt', 'tinyplot_add', 'plt_add'],
|
|
60
|
+
lattice: ['xyplot', 'bwplot', 'stripplot', 'dotplot', 'histogram', 'splom', 'trellis.device'],
|
|
61
|
+
maps: ['map'],
|
|
62
|
+
leaflet: ['leaflet'],
|
|
63
|
+
tmap: ['tm_shape'],
|
|
64
|
+
pheatmap: ['pheatmap'],
|
|
65
|
+
vioplot: ['vioplot'],
|
|
66
|
+
gplots: ['heatmap.2', 'textplot', 'boxplot2'],
|
|
67
|
+
DHARMa: ['plotSimulatedResiduals'],
|
|
68
|
+
magick: ['image_graph', 'image_draw'],
|
|
69
|
+
ragg: ['agg_png', 'agg_jpeg', 'agg_tiff', 'agg_ppm', 'agg_webp', 'agg_capture'],
|
|
70
|
+
rasterpdf: ['raster_pdf']
|
|
71
|
+
};
|
|
72
|
+
const PlotFunctionOwner = new Map(Object.entries(exports.PlotFunctionPackages).flatMap(([pkg, names]) => names.map(n => [n, pkg])));
|
|
73
|
+
/** `names` under the package exporting each: base R from the shipped data, the rest from {@link PlotFunctionPackages}. */
|
|
74
|
+
function namespacePlotFunctions(names) {
|
|
75
|
+
return names.map(n => {
|
|
76
|
+
const pkg = (0, r_base_packages_1.baseRExportOwner)(n) ?? PlotFunctionOwner.get(n);
|
|
77
|
+
return pkg === undefined ? n : identifier_1.Identifier.make(n, pkg);
|
|
78
|
+
});
|
|
79
|
+
}
|
|
42
80
|
exports.GgPlotCreate = [
|
|
43
81
|
'ggplot', 'ggplotly', 'ggMarginal', 'ggcorrplot', 'ggseasonplot', 'ggdendrogram', 'qmap', 'qplot', 'quickplot', 'autoplot', 'grid.arrange',
|
|
44
82
|
'fviz_pca_biplot', 'fviz_pca', 'fviz_pca_ind', 'fviz_pca_var', 'fviz_screeplot', 'fviz_mca_biplot', 'fviz_mca', 'fviz_mca_ind', 'fviz_mca_var', 'fviz_cluster', 'fviz_dend',
|
|
@@ -491,7 +529,7 @@ exports.WrittenBuiltinDefinitions = [
|
|
|
491
529
|
{ type: 'function', names: identifier_1.Identifier.fromAll("base" /* PkgName.Base */, ['force', 'identity']),
|
|
492
530
|
processor: built_in_proc_name_1.BuiltInProcName.Default, config: { forceArgs: 'all', keepArgumentOut: true, props: built_in_props_1.CallProp.Pure, sig: [['x', built_in_props_1.ArgProp.Alias | built_in_props_1.ArgProp.Forced]] }, assumePrimitive: false },
|
|
493
531
|
// graphics base
|
|
494
|
-
{ type: 'function', names: exports.PlotCreate,
|
|
532
|
+
{ type: 'function', names: namespacePlotFunctions(exports.PlotCreate),
|
|
495
533
|
processor: built_in_proc_name_1.BuiltInProcName.Default,
|
|
496
534
|
config: {
|
|
497
535
|
forceArgs: 'all',
|
|
@@ -509,7 +547,7 @@ exports.WrittenBuiltinDefinitions = [
|
|
|
509
547
|
props: built_in_props_1.CallProp.Graphics
|
|
510
548
|
}, assumePrimitive: true },
|
|
511
549
|
// graphics addons
|
|
512
|
-
{ type: 'function', names: PlotAddons,
|
|
550
|
+
{ type: 'function', names: namespacePlotFunctions(PlotAddons),
|
|
513
551
|
processor: built_in_proc_name_1.BuiltInProcName.Default, config: {
|
|
514
552
|
forceArgs: 'all',
|
|
515
553
|
treatAsFnCall: {
|
|
@@ -539,7 +577,7 @@ exports.WrittenBuiltinDefinitions = [
|
|
|
539
577
|
// plot tags
|
|
540
578
|
{
|
|
541
579
|
type: 'function',
|
|
542
|
-
names: exports.GgPlotAddons,
|
|
580
|
+
names: namespacePlotFunctions(exports.GgPlotAddons),
|
|
543
581
|
processor: built_in_proc_name_1.BuiltInProcName.Default,
|
|
544
582
|
config: {
|
|
545
583
|
libFn: true,
|
|
@@ -553,7 +591,7 @@ exports.WrittenBuiltinDefinitions = [
|
|
|
553
591
|
},
|
|
554
592
|
{
|
|
555
593
|
type: 'function',
|
|
556
|
-
names: exports.TinyPlotAddons,
|
|
594
|
+
names: namespacePlotFunctions(exports.TinyPlotAddons),
|
|
557
595
|
processor: built_in_proc_name_1.BuiltInProcName.Default,
|
|
558
596
|
config: {
|
|
559
597
|
libFn: true,
|
package/package.json
CHANGED
|
@@ -228,9 +228,13 @@ function flowrOnlyFunctionInfo(env, pkg, name) {
|
|
|
228
228
|
if (info === undefined || (info.props === undefined && info.sig === undefined)) {
|
|
229
229
|
return undefined;
|
|
230
230
|
}
|
|
231
|
+
const namespace = definition.name === undefined ? undefined : identifier_1.Identifier.getNamespace(definition.name);
|
|
232
|
+
if (pkg !== undefined && namespace !== undefined && namespace !== pkg) {
|
|
233
|
+
return undefined;
|
|
234
|
+
}
|
|
231
235
|
return {
|
|
232
236
|
name,
|
|
233
|
-
package:
|
|
237
|
+
package: namespace ?? pkg ?? 'base',
|
|
234
238
|
flowrOnly: true,
|
|
235
239
|
exported: true,
|
|
236
240
|
properties: [],
|
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.
|
|
45
|
+
const version = '2.13.12';
|
|
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
|
/**
|