Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@sassoftware/restaflib

Package Overview
Dependencies
Maintainers
4
Versions
215
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@sassoftware/restaflib - npm Package Compare versions

Comparing version 1.7.21 to 1.7.22

2

package.json
{
"name": "@sassoftware/restaflib",
"version": "1.7.21",
"version": "1.7.22",
"description": "collection of useful functions for common scenarios",

@@ -5,0 +5,0 @@ "main": "./lib/restaflib.js",

@@ -0,0 +0,0 @@ /*

@@ -0,0 +0,0 @@ /*

@@ -28,3 +28,3 @@ /*

async function caslDescribe (store, session, scenario) {
debugger;
let src = programs['commonCasl']() + ' ' + programs['scoreCasl']();

@@ -31,0 +31,0 @@ let appEnv = {path: '/describe', ...scenario};

@@ -32,5 +32,5 @@ /*

let result = await caslRunBase(store,session, src, args);
debugger;
return result.items().toJS();
}
export default caslRun;

@@ -33,3 +33,3 @@ /*

//
debugger;

@@ -49,7 +49,7 @@ let _args_ = jsonToDict((args !== null) ? args : {}, '_args_');

debugger;
let result = await store.runAction(session, payload);
debugger;
return result;
}
export default caslRunBase;

@@ -28,3 +28,3 @@ /*

async function caslScore (store, session, scenario) {
debugger;
let src = programs['commonCasl']() + ' ' + programs['scoreCasl']();

@@ -31,0 +31,0 @@ let appEnv = {path: '/score', ...scenario};

@@ -0,0 +0,0 @@ /*

@@ -0,0 +0,0 @@ /*

@@ -14,3 +14,3 @@ /*

debugger;
// parse source file to fgure out what we are uploading

@@ -22,3 +22,3 @@ let fileInfo = uploadSetup(source, output);

debugger;
// transfrom data if necessary for upload

@@ -25,0 +25,0 @@ if (fileInfo.transform !== null) {

@@ -0,0 +0,0 @@ /*

@@ -26,3 +26,3 @@ /*

async function computeFileContent (store, computeSummary, fileref, url) {
debugger;
let fileInfo = computeSummary.files[fileref];

@@ -29,0 +29,0 @@ if (fileInfo == null) {

@@ -0,0 +0,0 @@ /*

@@ -26,3 +26,3 @@ /*

debugger;
let code =[];

@@ -41,3 +41,3 @@ if (args != null) {

// run code and get results
debugger;
let resultSummary = await computeRunBase(store, session, code);

@@ -44,0 +44,0 @@ return resultSummary;

@@ -0,0 +0,0 @@ /*

@@ -0,0 +0,0 @@ /*

@@ -65,3 +65,3 @@ /*

}
debugger;
return cResult;

@@ -68,0 +68,0 @@

@@ -0,0 +0,0 @@ /*

@@ -30,3 +30,3 @@ /*

// call the reports service
debugger;
let reportsList = await store.apiCall(reports.links('reports'), payload);

@@ -33,0 +33,0 @@ // check to see if atleast one report was found(hopefully one only)

@@ -21,3 +21,3 @@ /*

let reportImages = store.rafObject('reportImages');
debugger;
let reportsList = await findReport(store, name);

@@ -24,0 +24,0 @@ if (reportsList === null) {

@@ -0,0 +0,0 @@ /*

@@ -33,3 +33,3 @@ /*

let result = [];
debugger;

@@ -36,0 +36,0 @@ let count = rows.size;

@@ -0,0 +0,0 @@ /*

@@ -60,7 +60,7 @@ /*

// run code and get results
debugger;
console.log(JSON.stringify(payload, null,4));
debugger;
let jobResult = await jesRunBase(store, jes, payload);
debugger;

@@ -79,5 +79,5 @@ return jobResult;

debugger;
let jdefList = await jesRunBase(store, payload);
debugger;
if (jdefList.itemsList().size === 0) {

@@ -84,0 +84,0 @@ throw `Error: ${name} not found in the system`;

@@ -24,7 +24,7 @@ /*

let job = await store.apiCall(jes.links('create'), payload);
debugger;
console.log('job created');
console.log(JSON.stringify(job.items(), null,4));
let status = await store.jobState(job, null, 5, 2);
debugger;
if (status.data === 'running') {

@@ -31,0 +31,0 @@ throw `ERROR: Job did not complete in allotted time`;

@@ -0,0 +0,0 @@ /*

@@ -0,0 +0,0 @@ /*

@@ -0,0 +0,0 @@ /*

@@ -0,0 +0,0 @@ /*

@@ -0,0 +0,0 @@ /*

@@ -0,0 +0,0 @@ /*

@@ -0,0 +0,0 @@ /*

@@ -0,0 +0,0 @@ /*

@@ -0,0 +0,0 @@ /*

@@ -21,3 +21,3 @@ /*

async function logListLines (dataL) {
debugger;
dataL.map((data) => {

@@ -24,0 +24,0 @@ let line = data.line.replace(/(\r\n|\n|\r)/gm, "");

@@ -0,0 +0,0 @@ /*

@@ -0,0 +0,0 @@ /*

@@ -0,0 +0,0 @@ /*

@@ -0,0 +0,0 @@ /*

@@ -0,0 +0,0 @@ /*

@@ -0,0 +0,0 @@ /*

@@ -0,0 +0,0 @@ /*

@@ -32,3 +32,3 @@ /*

debugger;
let p = {

@@ -44,3 +44,3 @@ headers: {

await store.runAction(session, p);
debugger;

@@ -47,0 +47,0 @@ if (save === true) {

@@ -0,0 +0,0 @@ /*

@@ -0,0 +0,0 @@ 'use strict' ;

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc