@eagleoutice/flowr 2.16.5 → 2.16.6
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/package.json
CHANGED
|
@@ -84,10 +84,12 @@ function deviceWindows(ast, statements, ids) {
|
|
|
84
84
|
}
|
|
85
85
|
return [...found];
|
|
86
86
|
}
|
|
87
|
+
const PackageBuiltIn = /^built-in:[^:]+:/;
|
|
87
88
|
/** a definition the code that is left still reads, `undefined` if there is none */
|
|
88
89
|
function danglingRead(info, removed) {
|
|
89
90
|
for (const [id] of info.graph.vertices(true)) {
|
|
90
|
-
|
|
91
|
+
/* the built-ins a loaded package provides (`built-in:pkg:fn`) are no code that is left, they read its library() call */
|
|
92
|
+
if (!removed.has(id) && !(typeof id === 'string' && PackageBuiltIn.test(id))) {
|
|
91
93
|
const target = df_helper_1.Dataflow.targetsOf(info.graph, id, edge_1.EdgeType.Reads).find(t => removed.has(t));
|
|
92
94
|
if (target !== undefined) {
|
|
93
95
|
return target;
|
|
@@ -129,7 +131,7 @@ function staticRemovalSlice(ctx, info, ast, ids, dependencies = [], threshold) {
|
|
|
129
131
|
const inSeeds = (id) => seeds.has(id) || seeds.has(statementId(id) ?? -1);
|
|
130
132
|
for (const linked of [
|
|
131
133
|
...dependencies.filter(d => d.nodeId !== undefined && inSeeds(d.nodeId)).flatMap(d => d.linkedIds ?? []),
|
|
132
|
-
...dependencies.filter(d => d.parts?.some(inSeeds)).map(d => d.nodeId)
|
|
134
|
+
...dependencies.filter(d => d.parts?.some(inSeeds) || d.linkedIds?.some(inSeeds)).map(d => d.nodeId)
|
|
133
135
|
]) {
|
|
134
136
|
if (linked !== undefined && !inSeeds(linked)) {
|
|
135
137
|
seeds.add(linked);
|
package/util/version.js
CHANGED
|
@@ -43,9 +43,9 @@ const sigdb_download_1 = require("../project/sigdb/sigdb-download");
|
|
|
43
43
|
const doc_files_1 = require("../documentation/doc-util/doc-files");
|
|
44
44
|
const strings_1 = require("./text/strings");
|
|
45
45
|
// this is automatically replaced with the current version by release-it
|
|
46
|
-
const version = '2.16.
|
|
46
|
+
const version = '2.16.6';
|
|
47
47
|
// this is automatically replaced with the release date by release-it (scripts/bump-version.ts)
|
|
48
|
-
const versionDate = '2026-10-
|
|
48
|
+
const versionDate = '2026-10-22T19:05:13Z';
|
|
49
49
|
/**
|
|
50
50
|
* Retrieves the current flowR version as a new {@link SemVer} object.
|
|
51
51
|
*/
|