@sasjs/core 7.1.15 → 7.1.17
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/.sasjslint +1 -0
- package/base/mp_dirlist.sas +11 -0
- package/package.json +2 -2
package/.sasjslint
CHANGED
package/base/mp_dirlist.sas
CHANGED
|
@@ -244,6 +244,17 @@ run;
|
|
|
244
244
|
if filename=ext then ext=' ';
|
|
245
245
|
msg=dmsg;
|
|
246
246
|
end;
|
|
247
|
+
else if fexist("&fref2") then do;
|
|
248
|
+
/* dopen refused it and the platform said nothing about why -
|
|
249
|
+
Viya returns an empty sysmsg() for a regular file, where other
|
|
250
|
+
platforms say it is not a directory. Anything that exists and
|
|
251
|
+
cannot be opened as a folder is a file: reporting it as locked
|
|
252
|
+
both hides it from callers that keep folders only and shows the
|
|
253
|
+
user a row with no message */
|
|
254
|
+
file_or_folder='file';
|
|
255
|
+
ext=prxchange('s/.*\.{1,1}(.*)/$1/',1,filename);
|
|
256
|
+
if filename=ext then ext=' ';
|
|
257
|
+
end;
|
|
247
258
|
else do;
|
|
248
259
|
/* listed but not openable at all - a broken link, for instance */
|
|
249
260
|
file_or_folder='locked';
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sasjs/core",
|
|
3
3
|
"description": "Production-quality MIT-licensed SAS macro library (mf_*, mp_*, mm* macros) for SAS 9 and Viya application development",
|
|
4
|
-
"version": "7.1.
|
|
4
|
+
"version": "7.1.17",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"keywords": [
|
|
7
7
|
"SAS",
|
|
@@ -40,6 +40,6 @@
|
|
|
40
40
|
],
|
|
41
41
|
"devDependencies": {
|
|
42
42
|
"@nogoo9/gitleaks": "8.30.1-post.2",
|
|
43
|
-
"@sasjs/release": "0.
|
|
43
|
+
"@sasjs/release": "0.11.1"
|
|
44
44
|
}
|
|
45
45
|
}
|