From e5fb7a76980bbd923775b369c857725f4a3f3a89 Mon Sep 17 00:00:00 2001 From: Allan Bowe <4420615+allanbowe@users.noreply.github.com> Date: Sat, 11 Jul 2020 18:23:19 +0200 Subject: [PATCH 01/11] Update npmpublish.yml --- .github/workflows/npmpublish.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/npmpublish.yml b/.github/workflows/npmpublish.yml index 7783d5c..687fc5a 100644 --- a/.github/workflows/npmpublish.yml +++ b/.github/workflows/npmpublish.yml @@ -6,7 +6,7 @@ name: SASjs Build and Publish on: push: branches: - - main + - master jobs: build: From c12d6f1c9c8bbd61ba12af9e9921152ed3754879 Mon Sep 17 00:00:00 2001 From: "dependabot-preview[bot]" <27856297+dependabot-preview[bot]@users.noreply.github.com> Date: Wed, 15 Jul 2020 08:35:48 +0000 Subject: [PATCH 02/11] chore(deps-dev): bump ts-loader from 7.0.5 to 8.0.1 Bumps [ts-loader](https://github.com/TypeStrong/ts-loader) from 7.0.5 to 8.0.1. - [Release notes](https://github.com/TypeStrong/ts-loader/releases) - [Changelog](https://github.com/TypeStrong/ts-loader/blob/master/CHANGELOG.md) - [Commits](https://github.com/TypeStrong/ts-loader/compare/v7.0.5...v8.0.1) Signed-off-by: dependabot-preview[bot] --- package-lock.json | 6 +++--- package.json | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package-lock.json b/package-lock.json index c11a65b..5cdc4a8 100644 --- a/package-lock.json +++ b/package-lock.json @@ -14874,9 +14874,9 @@ } }, "ts-loader": { - "version": "7.0.5", - "resolved": "https://registry.npmjs.org/ts-loader/-/ts-loader-7.0.5.tgz", - "integrity": "sha512-zXypEIT6k3oTc+OZNx/cqElrsbBtYqDknf48OZos0NQ3RTt045fBIU8RRSu+suObBzYB355aIPGOe/3kj9h7Ig==", + "version": "8.0.1", + "resolved": "https://registry.npmjs.org/ts-loader/-/ts-loader-8.0.1.tgz", + "integrity": "sha512-I9Nmly0ufJoZRMuAT9d5ijsC2B7oSPvUnOJt/GhgoATlPGYfa17VicDKPcqwUCrHpOkCxr/ybLYwbnS4cOxmvQ==", "dev": true, "requires": { "chalk": "^2.3.0", diff --git a/package.json b/package.json index b16936e..0af55d5 100644 --- a/package.json +++ b/package.json @@ -48,7 +48,7 @@ "rimraf": "^3.0.2", "semantic-release": "^17.1.1", "ts-jest": "^25.5.1", - "ts-loader": "^7.0.5", + "ts-loader": "^8.0.1", "tslint": "^6.1.2", "tslint-config-prettier": "^1.18.0", "typedoc": "^0.17.8", From 2c8ba0957899b06779cdb47fe85d6e0b4004dae8 Mon Sep 17 00:00:00 2001 From: Allan Bowe <> Date: Wed, 15 Jul 2020 11:12:46 +0200 Subject: [PATCH 03/11] docs: viya test routine in CONTRIBUTING.md --- CONTRIBUTING.md | 19 ++++++------------- 1 file changed, 6 insertions(+), 13 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 398693c..135d8de 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -16,7 +16,7 @@ Tests are run using cypress. Before running tests, you need to define the follow ``` -filename mc url "https://raw.githubusercontent.com/macropeople/macrocore/main/mc_all.sas?_=1"; +filename mc url "https://raw.githubusercontent.com/sasjs/core/main/all.sas"; %inc mc; filename ft15f001 temp; parmcards4; @@ -40,18 +40,13 @@ parmcards4; # Viya ``` -filename mc url "https://raw.githubusercontent.com/macropeople/macrocore/main/mc_all.sas"; +filename mc url "https://raw.githubusercontent.com/sasjs/core/main/all.sas"; %inc mc; - filename ft15f001 temp; parmcards4; + %webout(FETCH) %webout(OPEN) - %global sasjs_tables; - %let sasjs_tables=&sasjs_tables; - %put &=sasjs_tables; - %let sasjs_tables=&sasjs_tables; %macro x(); - %global sasjs_tables; %do i=1 %to %sysfunc(countw(&sasjs_tables)); %let table=%scan(&sasjs_tables,&i); %webout(OBJ,&table) @@ -60,13 +55,11 @@ parmcards4; %x() %webout(CLOSE) ;;;; -%mv_createwebservice(path=/Public/app/common,name=sendObj) +%mp_createwebservice(path=/Public/app/common,name=sendObj) filename ft15f001 temp; parmcards4; + %webout(FETCH) %webout(OPEN) - %global sasjs_tables; - %let sasjs_tables=&sasjs_tables; - %put &=sasjs_tables; %macro x(); %do i=1 %to %sysfunc(countw(&sasjs_tables)); %let table=%scan(&sasjs_tables,&i); @@ -76,7 +69,7 @@ parmcards4; %x() %webout(CLOSE) ;;;; -%mv_createwebservice(path=/Public/app/common,name=sendArr) +%mp_createwebservice(path=/Public/app/common,name=sendArr) ``` The above services will return anything you send. To run the tests simply launch `npm run cypress`. From 0ac7f8892e75c2ffd1b001d5c156e31feb0d13fb Mon Sep 17 00:00:00 2001 From: Krishna Acondy Date: Wed, 15 Jul 2020 12:25:20 +0100 Subject: [PATCH 04/11] fix(build): switch default branch to master --- package.json | 3 --- 1 file changed, 3 deletions(-) diff --git a/package.json b/package.json index 0af55d5..20d41b8 100644 --- a/package.json +++ b/package.json @@ -22,9 +22,6 @@ { "pkgRoot": "/build" } - ], - "branches": [ - "main" ] }, "keywords": [ From 97db960f62341ab2247787905cdcf462d4e172a8 Mon Sep 17 00:00:00 2001 From: Allan Bowe <> Date: Wed, 15 Jul 2020 13:33:04 +0200 Subject: [PATCH 05/11] chore: updating example.html to be consistent with README --- example.html | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/example.html b/example.html index d02c8ef..80c2e12 100644 --- a/example.html +++ b/example.html @@ -5,8 +5,10 @@ + + +
From e41c54e37e183c8ae916250e84f1bb7c171b168f Mon Sep 17 00:00:00 2001 From: Allan Bowe <> Date: Sun, 19 Jul 2020 19:57:03 +0200 Subject: [PATCH 09/11] docs: adding link attributes due to security vulnerability --- docs/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/index.html b/docs/index.html index bf0b429..a2c67d6 100644 --- a/docs/index.html +++ b/docs/index.html @@ -225,7 +225,7 @@ parmcards4;

Generated using - TypeDoc + TypeDoc

From 38a950a03617bb5fb0248834fb0155d72908d270 Mon Sep 17 00:00:00 2001 From: "dependabot-preview[bot]" <27856297+dependabot-preview[bot]@users.noreply.github.com> Date: Mon, 20 Jul 2020 07:17:13 +0000 Subject: [PATCH 10/11] chore(deps-dev): bump typescript from 3.9.6 to 3.9.7 Bumps [typescript](https://github.com/Microsoft/TypeScript) from 3.9.6 to 3.9.7. - [Release notes](https://github.com/Microsoft/TypeScript/releases) - [Commits](https://github.com/Microsoft/TypeScript/compare/v3.9.6...v3.9.7) Signed-off-by: dependabot-preview[bot] --- package-lock.json | 6 +++--- package.json | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package-lock.json b/package-lock.json index 5cdc4a8..743a17d 100644 --- a/package-lock.json +++ b/package-lock.json @@ -15073,9 +15073,9 @@ } }, "typescript": { - "version": "3.9.6", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-3.9.6.tgz", - "integrity": "sha512-Pspx3oKAPJtjNwE92YS05HQoY7z2SFyOpHo9MqJor3BXAGNaPUs83CuVp9VISFkSjyRfiTpmKuAYGJB7S7hOxw==", + "version": "3.9.7", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-3.9.7.tgz", + "integrity": "sha512-BLbiRkiBzAwsjut4x/dsibSTB6yWpwT5qWmC2OfuCg3GgVQCSgMs4vEctYPhsaGtd0AeuuHMkjZ2h2WG8MSzRw==", "dev": true }, "uglify-js": { diff --git a/package.json b/package.json index 20d41b8..f938b11 100644 --- a/package.json +++ b/package.json @@ -51,7 +51,7 @@ "typedoc": "^0.17.8", "typedoc-neo-theme": "^1.0.9", "typedoc-plugin-external-module-name": "^4.0.3", - "typescript": "^3.9.6", + "typescript": "^3.9.7", "uglifyjs-webpack-plugin": "^2.2.0", "webpack": "^4.43.0", "webpack-cli": "^3.3.12" From 27301651be1538f76f0476808cf07078d231d323 Mon Sep 17 00:00:00 2001 From: "dependabot-preview[bot]" <27856297+dependabot-preview[bot]@users.noreply.github.com> Date: Mon, 20 Jul 2020 08:58:58 +0000 Subject: [PATCH 11/11] chore(deps-dev): bump @types/jest from 26.0.4 to 26.0.5 Bumps [@types/jest](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/jest) from 26.0.4 to 26.0.5. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/jest) Signed-off-by: dependabot-preview[bot] --- package-lock.json | 6 +++--- package.json | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package-lock.json b/package-lock.json index 743a17d..b4bbfbe 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1648,9 +1648,9 @@ } }, "@types/jest": { - "version": "26.0.4", - "resolved": "https://registry.npmjs.org/@types/jest/-/jest-26.0.4.tgz", - "integrity": "sha512-4fQNItvelbNA9+sFgU+fhJo8ZFF+AS4Egk3GWwCW2jFtViukXbnztccafAdLhzE/0EiCogljtQQXP8aQ9J7sFg==", + "version": "26.0.5", + "resolved": "https://registry.npmjs.org/@types/jest/-/jest-26.0.5.tgz", + "integrity": "sha512-heU+7w8snfwfjtcj2H458aTx3m5unIToOJhx75ebHilBiiQ39OIdA18WkG4LP08YKeAoWAGvWg8s+22w/PeJ6w==", "dev": true, "requires": { "jest-diff": "^25.2.1", diff --git a/package.json b/package.json index f938b11..2cdaef2 100644 --- a/package.json +++ b/package.json @@ -37,7 +37,7 @@ "license": "ISC", "devDependencies": { "@types/isomorphic-fetch": "0.0.35", - "@types/jest": "^26.0.4", + "@types/jest": "^26.0.5", "cp": "^0.2.0", "jest": "^25.5.4", "path": "^0.12.7",