stan-language-server-bin 0.4.9 → 0.4.10
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/bin/cli.js +6 -5
- package/package.json +1 -1
package/bin/cli.js
CHANGED
|
@@ -28958,11 +28958,12 @@ new Function(stanc_default)();
|
|
|
28958
28958
|
var stanc;
|
|
28959
28959
|
var dump_stan_math_distributions;
|
|
28960
28960
|
var dump_stan_math_signatures;
|
|
28961
|
-
if (typeof module_dist
|
|
28962
|
-
stanc =
|
|
28963
|
-
dump_stan_math_distributions =
|
|
28964
|
-
dump_stan_math_signatures =
|
|
28965
|
-
}
|
|
28961
|
+
if (typeof module_dist === "object" && exports_dist) {
|
|
28962
|
+
stanc = module_dist?.exports?.stanc;
|
|
28963
|
+
dump_stan_math_distributions = module_dist?.exports?.dump_stan_math_distributions;
|
|
28964
|
+
dump_stan_math_signatures = module_dist?.exports?.dump_stan_math_signatures;
|
|
28965
|
+
}
|
|
28966
|
+
if (typeof stanc === "undefined") {
|
|
28966
28967
|
stanc = globalThis.stanc;
|
|
28967
28968
|
dump_stan_math_distributions = globalThis.dump_stan_math_distributions;
|
|
28968
28969
|
dump_stan_math_signatures = globalThis.dump_stan_math_signatures;
|