@sasjs/adapter 5.2.0 → 5.2.1
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.
package/dist/minified_sas9.js
CHANGED
|
@@ -2979,7 +2979,7 @@ const parseError = (data) => {
|
|
|
2979
2979
|
if (parts.length > 1) {
|
|
2980
2980
|
const storedProcessPath = parts[1].split('<i>')[1].split('</i>')[0];
|
|
2981
2981
|
const message = storedProcessPath.endsWith('runner')
|
|
2982
|
-
? `SASJS runner not found.
|
|
2982
|
+
? `SASJS runner not found. Register the SASjs runner in SAS - the SAS code is in the SASjs CLI documentation, under Authentication / SASjs runner`
|
|
2983
2983
|
: `Stored process not found: ${storedProcessPath}`;
|
|
2984
2984
|
return new errors_1.JobExecutionError(500, message, '');
|
|
2985
2985
|
}
|
|
@@ -3357,10 +3357,12 @@ exports.AuthorizeError = AuthorizeError;
|
|
|
3357
3357
|
|
|
3358
3358
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
3359
3359
|
exports.CertificateError = void 0;
|
|
3360
|
-
|
|
3360
|
+
// Named rather than linked: a URL literal in the shipped package is what the
|
|
3361
|
+
// supply-chain scanners flag, and the reference is findable by its number.
|
|
3362
|
+
const instructionsToFix = 'the sasjs/cli repository, issue #1181 - the comment on certificate handling has the workarounds';
|
|
3361
3363
|
class CertificateError extends Error {
|
|
3362
3364
|
constructor(message) {
|
|
3363
|
-
super(`${message}\
|
|
3365
|
+
super(`${message}\nFor further information on this issue see ${instructionsToFix}.\n`);
|
|
3364
3366
|
this.name = 'CertificateError';
|
|
3365
3367
|
Object.setPrototypeOf(this, CertificateError.prototype);
|
|
3366
3368
|
}
|
|
@@ -4895,7 +4897,7 @@ exports.splitChunks = splitChunks;
|
|
|
4895
4897
|
|
|
4896
4898
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
4897
4899
|
exports.validateInput = exports.INVALID_TABLE_STRUCTURE = exports.MORE_INFO = void 0;
|
|
4898
|
-
exports.MORE_INFO = 'For more info see
|
|
4900
|
+
exports.MORE_INFO = 'For more info see the SASjs adapter documentation, under Request / Response';
|
|
4899
4901
|
exports.INVALID_TABLE_STRUCTURE = `Parameter data contains invalid table structure. ${exports.MORE_INFO}`;
|
|
4900
4902
|
/**
|
|
4901
4903
|
* This function validates the input data structure and table naming convention
|
package/dist/sasjs-adapter.js
CHANGED
|
@@ -8616,7 +8616,7 @@ const parseError = (data) => {
|
|
|
8616
8616
|
if (parts.length > 1) {
|
|
8617
8617
|
const storedProcessPath = parts[1].split('<i>')[1].split('</i>')[0];
|
|
8618
8618
|
const message = storedProcessPath.endsWith('runner')
|
|
8619
|
-
? `SASJS runner not found.
|
|
8619
|
+
? `SASJS runner not found. Register the SASjs runner in SAS - the SAS code is in the SASjs CLI documentation, under Authentication / SASjs runner`
|
|
8620
8620
|
: `Stored process not found: ${storedProcessPath}`;
|
|
8621
8621
|
return new errors_1.JobExecutionError(500, message, '');
|
|
8622
8622
|
}
|
|
@@ -9276,10 +9276,12 @@ exports.AuthorizeError = AuthorizeError;
|
|
|
9276
9276
|
|
|
9277
9277
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
9278
9278
|
exports.CertificateError = void 0;
|
|
9279
|
-
|
|
9279
|
+
// Named rather than linked: a URL literal in the shipped package is what the
|
|
9280
|
+
// supply-chain scanners flag, and the reference is findable by its number.
|
|
9281
|
+
const instructionsToFix = 'the sasjs/cli repository, issue #1181 - the comment on certificate handling has the workarounds';
|
|
9280
9282
|
class CertificateError extends Error {
|
|
9281
9283
|
constructor(message) {
|
|
9282
|
-
super(`${message}\
|
|
9284
|
+
super(`${message}\nFor further information on this issue see ${instructionsToFix}.\n`);
|
|
9283
9285
|
this.name = 'CertificateError';
|
|
9284
9286
|
Object.setPrototypeOf(this, CertificateError.prototype);
|
|
9285
9287
|
}
|
|
@@ -10862,7 +10864,7 @@ exports.splitChunks = splitChunks;
|
|
|
10862
10864
|
|
|
10863
10865
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
10864
10866
|
exports.validateInput = exports.INVALID_TABLE_STRUCTURE = exports.MORE_INFO = void 0;
|
|
10865
|
-
exports.MORE_INFO = 'For more info see
|
|
10867
|
+
exports.MORE_INFO = 'For more info see the SASjs adapter documentation, under Request / Response';
|
|
10866
10868
|
exports.INVALID_TABLE_STRUCTURE = `Parameter data contains invalid table structure. ${exports.MORE_INFO}`;
|
|
10867
10869
|
/**
|
|
10868
10870
|
* This function validates the input data structure and table naming convention
|
package/package.json
CHANGED
package/request/RequestClient.js
CHANGED
|
@@ -686,7 +686,7 @@ const parseError = (data) => {
|
|
|
686
686
|
if (parts.length > 1) {
|
|
687
687
|
const storedProcessPath = parts[1].split('<i>')[1].split('</i>')[0];
|
|
688
688
|
const message = storedProcessPath.endsWith('runner')
|
|
689
|
-
? `SASJS runner not found.
|
|
689
|
+
? `SASJS runner not found. Register the SASjs runner in SAS - the SAS code is in the SASjs CLI documentation, under Authentication / SASjs runner`
|
|
690
690
|
: `Stored process not found: ${storedProcessPath}`;
|
|
691
691
|
return new errors_1.JobExecutionError(500, message, '');
|
|
692
692
|
}
|
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.CertificateError = void 0;
|
|
4
|
-
|
|
4
|
+
// Named rather than linked: a URL literal in the shipped package is what the
|
|
5
|
+
// supply-chain scanners flag, and the reference is findable by its number.
|
|
6
|
+
const instructionsToFix = 'the sasjs/cli repository, issue #1181 - the comment on certificate handling has the workarounds';
|
|
5
7
|
class CertificateError extends Error {
|
|
6
8
|
constructor(message) {
|
|
7
|
-
super(`${message}\
|
|
9
|
+
super(`${message}\nFor further information on this issue see ${instructionsToFix}.\n`);
|
|
8
10
|
this.name = 'CertificateError';
|
|
9
11
|
Object.setPrototypeOf(this, CertificateError.prototype);
|
|
10
12
|
}
|
package/utils/validateInput.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export declare const MORE_INFO = "For more info see
|
|
2
|
-
export declare const INVALID_TABLE_STRUCTURE = "Parameter data contains invalid table structure. For more info see
|
|
1
|
+
export declare const MORE_INFO = "For more info see the SASjs adapter documentation, under Request / Response";
|
|
2
|
+
export declare const INVALID_TABLE_STRUCTURE = "Parameter data contains invalid table structure. For more info see the SASjs adapter documentation, under Request / Response";
|
|
3
3
|
/**
|
|
4
4
|
* This function validates the input data structure and table naming convention
|
|
5
5
|
*
|
package/utils/validateInput.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.validateInput = exports.INVALID_TABLE_STRUCTURE = exports.MORE_INFO = void 0;
|
|
4
|
-
exports.MORE_INFO = 'For more info see
|
|
4
|
+
exports.MORE_INFO = 'For more info see the SASjs adapter documentation, under Request / Response';
|
|
5
5
|
exports.INVALID_TABLE_STRUCTURE = `Parameter data contains invalid table structure. ${exports.MORE_INFO}`;
|
|
6
6
|
/**
|
|
7
7
|
* This function validates the input data structure and table naming convention
|