@sasjs/core 7.1.12 → 7.1.13

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.
@@ -10,6 +10,12 @@
10
10
  **/
11
11
 
12
12
  %macro ml_gsubfile();
13
+ /* a narrow LRECL truncates the wide lines of the library as they
14
+ are written, so widen it for the write as well as the include */
15
+ %local optval;
16
+ %let optval=%sysfunc(getoption(lrecl));
17
+ options lrecl=1024;
18
+
13
19
  data _null_;
14
20
  file "%sysfunc(pathname(work))/ml_gsubfile.lua";
15
21
  put 'local fpath, outpath, file, fcontent ';
@@ -39,11 +45,6 @@ data _null_;
39
45
  put 'io.close(file) ';
40
46
  run;
41
47
 
42
- /* ensure big enough lrecl to avoid lua compilation issues */
43
- %local optval;
44
- %let optval=%sysfunc(getoption(lrecl));
45
- options lrecl=1024;
46
-
47
48
  /* execute the lua code by using a .lua extension */
48
49
  %inc "%sysfunc(pathname(work))/ml_gsubfile.lua" /source2;
49
50
 
package/lua/ml_json.sas CHANGED
@@ -11,6 +11,12 @@
11
11
  **/
12
12
 
13
13
  %macro ml_json();
14
+ /* a narrow LRECL truncates the wide lines of the library as they
15
+ are written, so widen it for the write as well as the include */
16
+ %local optval;
17
+ %let optval=%sysfunc(getoption(lrecl));
18
+ options lrecl=1024;
19
+
14
20
  data _null_;
15
21
  file "%sysfunc(pathname(work))/ml_json.lua";
16
22
  put '-- NOTE - THE COPYRIGHT BELOW IS IN RELATION TO THE JSON.LUA FILE ONLY ';
@@ -390,11 +396,6 @@ data _null_;
390
396
  put '-- JSON.LUA ENDS HERE ';
391
397
  run;
392
398
 
393
- /* ensure big enough lrecl to avoid lua compilation issues */
394
- %local optval;
395
- %let optval=%sysfunc(getoption(lrecl));
396
- options lrecl=1024;
397
-
398
399
  /* execute the lua code by using a .lua extension */
399
400
  %inc "%sysfunc(pathname(work))/ml_json.lua" /source2;
400
401
 
package/package.json CHANGED
@@ -54,5 +54,5 @@
54
54
  "devDependencies": {
55
55
  "@nogoo9/gitleaks": "8.30.1-post.2"
56
56
  },
57
- "version": "7.1.12"
57
+ "version": "7.1.13"
58
58
  }