@sasjs/adapter 4.1.1 → 4.1.3
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/index.js +2 -2
- package/node/index.js +2 -2
- package/package.json +4 -6
- package/src/request/RequestClient.ts +3 -1
package/package.json
CHANGED
|
@@ -45,9 +45,7 @@
|
|
|
45
45
|
"license": "ISC",
|
|
46
46
|
"devDependencies": {
|
|
47
47
|
"@cypress/webpack-preprocessor": "5.9.1",
|
|
48
|
-
"@types/axios": "0.14.0",
|
|
49
48
|
"@types/express": "4.17.13",
|
|
50
|
-
"@types/form-data": "2.5.0",
|
|
51
49
|
"@types/jest": "27.4.0",
|
|
52
50
|
"@types/mime": "2.0.3",
|
|
53
51
|
"@types/pem": "1.9.6",
|
|
@@ -71,8 +69,8 @@
|
|
|
71
69
|
"ts-loader": "9.4.0",
|
|
72
70
|
"tslint": "6.1.3",
|
|
73
71
|
"tslint-config-prettier": "1.18.0",
|
|
74
|
-
"typedoc": "0.23.
|
|
75
|
-
"typedoc-plugin-rename-defaults": "0.4
|
|
72
|
+
"typedoc": "0.23.24",
|
|
73
|
+
"typedoc-plugin-rename-defaults": "0.6.4",
|
|
76
74
|
"typescript": "4.8.3",
|
|
77
75
|
"webpack": "5.69.0",
|
|
78
76
|
"webpack-cli": "4.9.2"
|
|
@@ -80,11 +78,11 @@
|
|
|
80
78
|
"main": "index.js",
|
|
81
79
|
"dependencies": {
|
|
82
80
|
"@sasjs/utils": "2.52.0",
|
|
83
|
-
"axios": "0.
|
|
81
|
+
"axios": "0.27.2",
|
|
84
82
|
"axios-cookiejar-support": "1.0.1",
|
|
85
83
|
"form-data": "4.0.0",
|
|
86
84
|
"https": "1.0.0",
|
|
87
85
|
"tough-cookie": "4.0.0"
|
|
88
86
|
},
|
|
89
|
-
"version": "4.1.
|
|
87
|
+
"version": "4.1.3"
|
|
90
88
|
}
|
|
@@ -691,7 +691,9 @@ const parseError = (data: string) => {
|
|
|
691
691
|
const parts = data.split(/stored process not found: /i)
|
|
692
692
|
if (parts.length > 1) {
|
|
693
693
|
const storedProcessPath = parts[1].split('<i>')[1].split('</i>')[0]
|
|
694
|
-
const message =
|
|
694
|
+
const message = storedProcessPath.endsWith('runner')
|
|
695
|
+
? `SASJS runner not found. Here's the link (https://cli.sasjs.io/auth/#sasjs-runner) to the SAS code for registering the SASjs runner`
|
|
696
|
+
: `Stored process not found: ${storedProcessPath}`
|
|
695
697
|
return new JobExecutionError(500, message, '')
|
|
696
698
|
}
|
|
697
699
|
}
|