@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
|
-
//
|
|
595
|
-
//
|
|
596
|
-
//
|
|
597
|
-
//
|
|
598
|
-
|
|
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