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.
Files changed (2) hide show
  1. package/bin/cli.js +6 -5
  2. 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 !== "undefined") {
28962
- stanc = exports_dist.stanc;
28963
- dump_stan_math_distributions = exports_dist.dump_stan_math_distributions;
28964
- dump_stan_math_signatures = exports_dist.dump_stan_math_signatures;
28965
- } else {
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;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "stan-language-server-bin",
3
- "version": "0.4.9",
3
+ "version": "0.4.10",
4
4
  "description": "CLI distribution of the Stan language server",
5
5
  "bin": {
6
6
  "stan-language-server": "bin/cli.js"