@sasjs/cli 6.13.1 → 6.13.2

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.
@@ -175,7 +175,8 @@ describe('browser runtime', function () {
175
175
  expect(result.error).toBeNull();
176
176
  parsed = JSON.parse(result.webout);
177
177
  expect(parsed.users).toEqual([{ name: 'ann' }, { name: 'bob' }]);
178
- expect(parsed.SYSDATE).toMatch(/^\d{2}[A-Z]{3}\d{4}$/);
178
+ // &SYSDATE is DATE7 - ddMMMyy - which is what %mm_webout writes
179
+ expect(parsed.SYSDATE).toMatch(/^\d{2}[A-Z]{3}\d{2}$/);
179
180
  expect(parsed.MF_GETUSER).toEqual('DEMO');
180
181
  expect(parsed.SYSPROCESSNAME).toEqual('Browser');
181
182
  expect(parsed.SYSSCPL).toEqual('browser');
@@ -215,7 +215,7 @@ describe('sasjs cbd with server type SASJS', function () {
215
215
  {
216
216
  name: 'appinit',
217
217
  type: 'service',
218
- code: getCode(appinit)
218
+ code: getCode((0, utils_1.removeHeader)(appinit))
219
219
  },
220
220
  {
221
221
  name: 'getdata.js',
@@ -225,7 +225,7 @@ describe('sasjs cbd with server type SASJS', function () {
225
225
  {
226
226
  name: 'getdata',
227
227
  type: 'service',
228
- code: getCode(getdata)
228
+ code: getCode((0, utils_1.removeHeader)(getdata))
229
229
  }
230
230
  ]
231
231
  }
package/package.json CHANGED
@@ -70,11 +70,11 @@
70
70
  "registry": "https://registry.npmjs.org"
71
71
  },
72
72
  "dependencies": {
73
- "@sasjs/adapter": "^5.1.3",
73
+ "@sasjs/adapter": "5.1.3",
74
74
  "@sasjs/api": "0.2.1",
75
- "@sasjs/core": "^6.1.1",
75
+ "@sasjs/core": "6.1.1",
76
76
  "@sasjs/lint": "5.0.0",
77
- "@sasjs/utils": "^4.7.0",
77
+ "@sasjs/utils": "4.9.0",
78
78
  "axios": "1.20.0",
79
79
  "chalk": "4.1.2",
80
80
  "dotenv": "18.0.8",
@@ -124,5 +124,5 @@
124
124
  "ws": "8.21.0",
125
125
  "nanoid": "3.3.18"
126
126
  },
127
- "version": "6.13.1"
127
+ "version": "6.13.2"
128
128
  }