@sasjs/cli 6.23.1 → 6.24.0

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.
@@ -462,7 +462,7 @@ const adminReports = {
462
462
  cpuCount: navigator.hardwareConcurrency || 1,
463
463
  cpuModel: 'unknown',
464
464
  loadAverage: [],
465
- runTimes: ['js'],
465
+ runTimes: ['js', 'sas'],
466
466
  sasjsRoot: '/'
467
467
  },
468
468
  memory: {
@@ -591,11 +591,12 @@ const SERVICES = {
591
591
  identity: IDENTITY,
592
592
  records: RECORDS,
593
593
  runtime: API.createRuntimeService(IDENTITY_STORE, RUNTIME, {
594
- // The one run time this host executes. A recorded SAS session is answered
595
- // before the runner (see SAS_TRANSCRIPT below), not by claiming a `sas` run
596
- // time - a .sas program with no recording must still be refused, and a route
597
- // that accepted `sas` would compile SAS source as JavaScript instead.
598
- runTimes: ['js']
594
+ // `js` is executed here; `sas` is offered so a SAS program can be run at all
595
+ // in the demo, and answered from the recording when one names it. A `.sas`
596
+ // program with no recording is refused in the runner, deliberately - it must
597
+ // not be handed to the JavaScript runtime as source, which is what the
598
+ // resolveProgram guard in BrowserRuntime.run prevents.
599
+ runTimes: ['js', 'sas']
599
600
  }),
600
601
  session: API.createSessionService(IDENTITY_STORE, RUNTIME),
601
602
  authConfig: API.createAuthConfigService({}),
package/package.json CHANGED
@@ -125,5 +125,5 @@
125
125
  "ws": "8.21.0",
126
126
  "nanoid": "3.3.18"
127
127
  },
128
- "version": "6.23.1"
128
+ "version": "6.24.0"
129
129
  }