@sasjs/cli 3.5.0 → 3.5.1

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.
@@ -101,8 +101,11 @@ function getPreCodeForServicePack(serverType) {
101
101
  '/* so we provide instead as __program */\n' +
102
102
  '%global __program _program;\n' +
103
103
  '%let _program=%sysfunc(coalescec(&__program,&_program));\n' +
104
- '%macro webout(action,ds,dslabel=,fmt=,missing=NULL);\n' +
105
- '%mv_webout(&action,ds=&ds,dslabel=&dslabel,fmt=&fmt,missing=&missing)\n' +
104
+ '%macro webout(action,ds,dslabel=,fmt=,missing=NULL,showmeta=NO);\n' +
105
+ ' %mv_webout(&action,ds=&ds,dslabel=&dslabel,fmt=&fmt\n' +
106
+ ' ,missing=&missing\n' +
107
+ ' ,showmeta=&showmeta\n' +
108
+ ' )' +
106
109
  '%mend;\n';
107
110
  return [3 /*break*/, 14];
108
111
  case 5:
@@ -119,8 +122,11 @@ function getPreCodeForServicePack(serverType) {
119
122
  case 8:
120
123
  content = _g + _l.sent();
121
124
  content +=
122
- ' %macro webout(action,ds,dslabel=,fmt=,missing=NULL);\n' +
123
- ' %mm_webout(&action,ds=&ds,dslabel=&dslabel,fmt=&fmt,missing=&missing)\n' +
125
+ ' %macro webout(action,ds,dslabel=,fmt=,missing=NULL,showmeta=NO);\n' +
126
+ ' %mm_webout(&action,ds=&ds,dslabel=&dslabel,fmt=&fmt\n' +
127
+ ' ,missing=&missing\n' +
128
+ ' ,showmeta=&showmeta\n' +
129
+ ' )' +
124
130
  ' %mend;\n';
125
131
  return [3 /*break*/, 14];
126
132
  case 9:
@@ -137,8 +143,11 @@ function getPreCodeForServicePack(serverType) {
137
143
  case 12:
138
144
  content = _k + _l.sent();
139
145
  content +=
140
- ' %macro webout(action,ds,dslabel=,fmt=,missing=NULL);\n' +
141
- ' %ms_webout(&action,ds=&ds,dslabel=&dslabel,fmt=&fmt,missing=&missing)\n' +
146
+ ' %macro webout(action,ds,dslabel=,fmt=,missing=NULL,showmeta=NO);\n' +
147
+ ' %ms_webout(&action,ds=&ds,dslabel=&dslabel,fmt=&fmt\n' +
148
+ ' ,missing=&missing\n' +
149
+ ' ,showmeta=&showmeta\n' +
150
+ ' )' +
142
151
  ' %mend;\n';
143
152
  return [3 /*break*/, 14];
144
153
  case 13: throw new error_1.ServerTypeError();
@@ -119,8 +119,11 @@ describe('sasjs cbd with server type SASJS', function () {
119
119
  return [4 /*yield*/, utils_1.readFile(macroCorePath + "/server/ms_webout.sas")];
120
120
  case 7:
121
121
  ms_webout = _a.sent();
122
- webout = ' %macro webout(action,ds,dslabel=,fmt=,missing=NULL);\n' +
123
- ' %ms_webout(&action,ds=&ds,dslabel=&dslabel,fmt=&fmt,missing=&missing)\n' +
122
+ webout = ' %macro webout(action,ds,dslabel=,fmt=,missing=NULL,showmeta=NO);\n' +
123
+ ' %ms_webout(&action,ds=&ds,dslabel=&dslabel,fmt=&fmt\n' +
124
+ ' ,missing=&missing\n' +
125
+ ' ,showmeta=&showmeta\n' +
126
+ ' )' +
124
127
  ' %mend;\n';
125
128
  expect(sasjs.deployToSASjs).toHaveBeenCalledWith({
126
129
  members: [
package/package.json CHANGED
@@ -50,7 +50,7 @@
50
50
  },
51
51
  "dependencies": {
52
52
  "@sasjs/adapter": "3.3.1",
53
- "@sasjs/core": "^3.8.0",
53
+ "@sasjs/core": "^3.9.1",
54
54
  "@sasjs/lint": "1.11.2",
55
55
  "@sasjs/utils": "2.34.1",
56
56
  "chalk": "4.1.2",
@@ -97,5 +97,5 @@
97
97
  "typescript": "4.3.5",
98
98
  "util": "0.12.4"
99
99
  },
100
- "version": "3.5.0"
100
+ "version": "3.5.1"
101
101
  }