From b2f21eb3ac9c155440af8678e40e1e5cf42612f3 Mon Sep 17 00:00:00 2001 From: Allan Bowe <4420615+allanbowe@users.noreply.github.com> Date: Thu, 23 Jun 2022 08:44:12 +0000 Subject: [PATCH 1/2] chore: update descriptions --- api/tsoa.json | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/api/tsoa.json b/api/tsoa.json index f353150..29f7440 100644 --- a/api/tsoa.json +++ b/api/tsoa.json @@ -13,7 +13,7 @@ "tags": [ { "name": "Info", - "description": "Get Server Info" + "description": "Get Server Information" }, { "name": "Session", @@ -21,7 +21,7 @@ }, { "name": "User", - "description": "Operations about users" + "description": "Operations with users" }, { "name": "Client", @@ -33,19 +33,19 @@ }, { "name": "Drive", - "description": "Operations about drive" + "description": "Operations on SASjs Drive" }, { "name": "Group", - "description": "Operations about group" + "description": "Operations on groups and group memberships" }, { "name": "STP", - "description": "Operations about STP" + "description": "Execution of Stored Programs" }, { "name": "CODE", - "description": "Operations on SAS code" + "description": "Execution of code (various runtimes are supported)" }, { "name": "Web", From a2d13960578014312d2cb5e03145bfd1829d99ec Mon Sep 17 00:00:00 2001 From: Allan Bowe Date: Thu, 23 Jun 2022 09:00:22 +0000 Subject: [PATCH 2/2] fix: bumping core and running lint --- api/package-lock.json | 14 +++++++------- api/package.json | 2 +- api/src/utils/getRunTimeAndFilePath.ts | 2 +- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/api/package-lock.json b/api/package-lock.json index 6be30ee..a9e8a0f 100644 --- a/api/package-lock.json +++ b/api/package-lock.json @@ -8,7 +8,7 @@ "name": "api", "version": "0.0.2", "dependencies": { - "@sasjs/core": "^4.27.3", + "@sasjs/core": "^4.31.3", "@sasjs/utils": "2.42.1", "bcryptjs": "^2.4.3", "connect-mongo": "^4.6.0", @@ -1390,9 +1390,9 @@ } }, "node_modules/@sasjs/core": { - "version": "4.27.3", - "resolved": "https://registry.npmjs.org/@sasjs/core/-/core-4.27.3.tgz", - "integrity": "sha512-8AaPPRGMwhmjw244CDSnTqHXdp/77ZBjIJMgwqw4wTrCf8Vzs2Y5hVihbvAniIGQctZHLMR6X5a3X4ccn9gRjg==" + "version": "4.31.3", + "resolved": "https://registry.npmjs.org/@sasjs/core/-/core-4.31.3.tgz", + "integrity": "sha512-TpVqWl5bqp3JTQjIg0r4WiQg7Ima5f17eAJILJbdYDdXsnLXlA/Csbb95G7eDPhzWpM3C0NrzKek3yvCMGzXIA==" }, "node_modules/@sasjs/utils": { "version": "2.42.1", @@ -11595,9 +11595,9 @@ } }, "@sasjs/core": { - "version": "4.27.3", - "resolved": "https://registry.npmjs.org/@sasjs/core/-/core-4.27.3.tgz", - "integrity": "sha512-8AaPPRGMwhmjw244CDSnTqHXdp/77ZBjIJMgwqw4wTrCf8Vzs2Y5hVihbvAniIGQctZHLMR6X5a3X4ccn9gRjg==" + "version": "4.31.3", + "resolved": "https://registry.npmjs.org/@sasjs/core/-/core-4.31.3.tgz", + "integrity": "sha512-TpVqWl5bqp3JTQjIg0r4WiQg7Ima5f17eAJILJbdYDdXsnLXlA/Csbb95G7eDPhzWpM3C0NrzKek3yvCMGzXIA==" }, "@sasjs/utils": { "version": "2.42.1", diff --git a/api/package.json b/api/package.json index bbd4bbb..372ce98 100644 --- a/api/package.json +++ b/api/package.json @@ -47,7 +47,7 @@ }, "author": "4GL Ltd", "dependencies": { - "@sasjs/core": "^4.27.3", + "@sasjs/core": "^4.31.3", "@sasjs/utils": "2.42.1", "bcryptjs": "^2.4.3", "connect-mongo": "^4.6.0", diff --git a/api/src/utils/getRunTimeAndFilePath.ts b/api/src/utils/getRunTimeAndFilePath.ts index b83cdee..259b0a9 100644 --- a/api/src/utils/getRunTimeAndFilePath.ts +++ b/api/src/utils/getRunTimeAndFilePath.ts @@ -5,7 +5,7 @@ import { RunTimeType } from '.' export const getRunTimeAndFilePath = async (programPath: string) => { const ext = path.extname(programPath) - // If programPath (_program) is provided with a ".sas" or ".js" extension + // If programPath (_program) is provided with a ".sas" or ".js" extension // we should use that extension to determine the appropriate runTime if (ext && Object.values(RunTimeType).includes(ext.slice(1) as RunTimeType)) { const runTime = ext.slice(1)