cry-vetzdravila 1.0.0 → 1.0.3
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/dist/index.js
CHANGED
|
@@ -141567,9 +141567,7 @@ function zdraviloJeVakcinaZa(zdravilo) {
|
|
|
141567
141567
|
bolezni.push(bolezen);
|
|
141568
141568
|
}
|
|
141569
141569
|
}
|
|
141570
|
-
if (bolezni.length === 0) {
|
|
141571
|
-
bolezni.push("neznana bolezen");
|
|
141572
|
-
}
|
|
141570
|
+
if (bolezni.length === 0) {}
|
|
141573
141571
|
return bolezni;
|
|
141574
141572
|
}
|
|
141575
141573
|
// src/register/podobnaZdravilaPoUcinkovinah.ts
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "cry-vetzdravila",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.3",
|
|
4
4
|
"license": "CC-BY-NC-ND-4.0",
|
|
5
5
|
"description": "",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
"test": "bun test",
|
|
25
25
|
"test:podobnost": "bun run src/register/helper/testPodobnosti.ts",
|
|
26
26
|
"test:normalizacija": "bun run src/register/helper/testNormalizacije.ts",
|
|
27
|
-
"build": "bun build src/index.ts --outdir dist --target node
|
|
27
|
+
"build": "bun build src/index.ts --outdir dist --target node --format esm"
|
|
28
28
|
},
|
|
29
29
|
"dependencies": {
|
|
30
30
|
"cry-klikvet-logic": "^1.0.458",
|
|
@@ -195,7 +195,7 @@ export function zdraviloJeVakcinaZa(zdravilo: Zdravilo): string[] | undefined {
|
|
|
195
195
|
|
|
196
196
|
// Če ni nobene bolezni, vrni "neznana bolezen"
|
|
197
197
|
if (bolezni.length === 0) {
|
|
198
|
-
bolezni.push("neznana bolezen");
|
|
198
|
+
// bolezni.push("neznana bolezen");
|
|
199
199
|
}
|
|
200
200
|
|
|
201
201
|
return bolezni;
|