@sasjs/utils 3.5.0 → 3.5.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.
@@ -92,6 +92,15 @@
92
92
  "test",
93
93
  "review"
94
94
  ]
95
+ },
96
+ {
97
+ "login": "glM26",
98
+ "name": "glM26",
99
+ "avatar_url": "https://avatars.githubusercontent.com/u/35031631?v=4",
100
+ "profile": "https://github.com/glM26",
101
+ "contributions": [
102
+ "code"
103
+ ]
95
104
  }
96
105
  ],
97
106
  "contributorsPerLine": 7,
@@ -99,5 +108,7 @@
99
108
  "projectOwner": "sasjs",
100
109
  "repoType": "github",
101
110
  "repoHost": "https://github.com",
102
- "skipCi": true
111
+ "skipCi": true,
112
+ "commitType": "docs",
113
+ "commitConvention": "angular"
103
114
  }
@@ -12,7 +12,7 @@ jobs:
12
12
 
13
13
  strategy:
14
14
  matrix:
15
- node-version: [lts/fermium]
15
+ node-version: [lts/iron]
16
16
 
17
17
  steps:
18
18
  - uses: actions/checkout@v2
@@ -12,7 +12,7 @@ jobs:
12
12
 
13
13
  strategy:
14
14
  matrix:
15
- node-version: [lts/fermium]
15
+ node-version: [lts/iron]
16
16
 
17
17
  steps:
18
18
  - uses: actions/checkout@v2
package/README.md CHANGED
@@ -1,9 +1,7 @@
1
1
  # @sasjs/utils
2
2
 
3
3
  <!-- ALL-CONTRIBUTORS-BADGE:START - Do not remove or modify this section -->
4
-
5
- [![All Contributors](https://img.shields.io/badge/all_contributors-1-orange.svg?style=flat-square)](#contributors-)
6
-
4
+ [![All Contributors](https://img.shields.io/badge/all_contributors-8-orange.svg?style=flat-square)](#contributors-)
7
5
  <!-- ALL-CONTRIBUTORS-BADGE:END -->
8
6
 
9
7
  A library of utilities and types for SASjs written in TypeScript.
@@ -16,15 +14,20 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d
16
14
  <!-- prettier-ignore-start -->
17
15
  <!-- markdownlint-disable -->
18
16
  <table>
19
- <tr>
20
- <td align="center"><a href="https://github.com/saadjutt01"><img src="https://avatars.githubusercontent.com/u/8914650?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Muhammad Saad </b></sub></a><br /><a href="https://github.com/sasjs/cli/commits?author=saadjutt01" title="Code">💻</a> <a href="https://github.com/sasjs/cli/commits?author=saadjutt01" title="Tests">⚠️</a> <a href="https://github.com/sasjs/cli/pulls?q=is%3Apr+reviewed-by%3Asaadjutt01" title="Reviewed Pull Requests">👀</a> <a href="#mentoring-saadjutt01" title="Mentoring">🧑‍🏫</a> <a href="https://github.com/sasjs/cli/commits?author=saadjutt01" title="Documentation">📖</a></td>
21
- <td align="center"><a href="https://www.erudicat.com"><img src="https://avatars.githubusercontent.com/u/25773492?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Yury Shkoda</b></sub></a><br /><a href="https://github.com/sasjs/cli/commits?author=YuryShkoda" title="Code">💻</a> <a href="#projectManagement-YuryShkoda" title="Project Management">📆</a> <a href="https://github.com/sasjs/cli/commits?author=YuryShkoda" title="Tests">⚠️</a> <a href="#video-YuryShkoda" title="Videos">📹</a> <a href="https://github.com/sasjs/cli/commits?author=YuryShkoda" title="Documentation">📖</a></td>
22
- <td align="center"><a href="https://krishna-acondy.io/"><img src="https://avatars.githubusercontent.com/u/2980428?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Krishna Acondy</b></sub></a><br /><a href="https://github.com/sasjs/cli/commits?author=krishna-acondy" title="Code">💻</a> <a href="https://github.com/sasjs/cli/commits?author=krishna-acondy" title="Tests">⚠️</a> <a href="#infra-krishna-acondy" title="Infrastructure (Hosting, Build-Tools, etc)">🚇</a> <a href="#content-krishna-acondy" title="Content">🖋</a> <a href="#maintenance-krishna-acondy" title="Maintenance">🚧</a> <a href="#platform-krishna-acondy" title="Packaging/porting to new platform">📦</a> <a href="https://github.com/sasjs/cli/pulls?q=is%3Apr+reviewed-by%3Akrishna-acondy" title="Reviewed Pull Requests">👀</a></td>
23
- <td align="center"><a href="https://github.com/medjedovicm"><img src="https://avatars.githubusercontent.com/u/18329105?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Mihajlo Medjedovic</b></sub></a><br /><a href="https://github.com/sasjs/cli/commits?author=medjedovicm" title="Code">💻</a> <a href="#infra-medjedovicm" title="Infrastructure (Hosting, Build-Tools, etc)">🚇</a> <a href="https://github.com/sasjs/cli/commits?author=medjedovicm" title="Tests">⚠️</a> <a href="https://github.com/sasjs/cli/pulls?q=is%3Apr+reviewed-by%3Amedjedovicm" title="Reviewed Pull Requests">👀</a></td>
24
- <td align="center"><a href="https://github.com/allanbowe"><img src="https://avatars.githubusercontent.com/u/4420615?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Allan Bowe</b></sub></a><br /><a href="https://github.com/sasjs/cli/commits?author=allanbowe" title="Code">💻</a> <a href="https://github.com/sasjs/cli/pulls?q=is%3Apr+reviewed-by%3Aallanbowe" title="Reviewed Pull Requests">👀</a> <a href="https://github.com/sasjs/cli/commits?author=allanbowe" title="Tests">⚠️</a> <a href="#video-allanbowe" title="Videos">📹</a> <a href="https://github.com/sasjs/cli/commits?author=allanbowe" title="Documentation">📖</a></td>
25
- <td align="center"><a href="https://github.com/sabhas"><img src="https://avatars.githubusercontent.com/u/82647447?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Sabir Hassan</b></sub></a><br /><a href="https://github.com/sasjs/cli/commits?author=sabhas" title="Code">💻</a> <a href="https://github.com/sasjs/cli/pulls?q=is%3Apr+reviewed-by%3Asabhas" title="Reviewed Pull Requests">👀</a> <a href="https://github.com/sasjs/cli/commits?author=sabhas" title="Tests">⚠️</a> <a href="#ideas-sabhas" title="Ideas, Planning, & Feedback">🤔</a></td>
26
- <td align="center"><a href="https://github.com/VladislavParhomchik"><img src="https://avatars.githubusercontent.com/u/83717836?v=4?s=100" width="100px;" alt=""/><br /><sub><b>VladislavParhomchik</b></sub></a><br /><a href="https://github.com/sasjs/cli/commits?author=VladislavParhomchik" title="Tests">⚠️</a> <a href="https://github.com/sasjs/cli/pulls?q=is%3Apr+reviewed-by%3AVladislavParhomchik" title="Reviewed Pull Requests">👀</a></td>
27
- </tr>
17
+ <tbody>
18
+ <tr>
19
+ <td align="center" valign="top" width="14.28%"><a href="https://github.com/saadjutt01"><img src="https://avatars.githubusercontent.com/u/8914650?v=4?s=100" width="100px;" alt="Muhammad Saad "/><br /><sub><b>Muhammad Saad </b></sub></a><br /><a href="https://github.com/sasjs/utils/commits?author=saadjutt01" title="Code">💻</a> <a href="https://github.com/sasjs/utils/commits?author=saadjutt01" title="Tests">⚠️</a> <a href="https://github.com/sasjs/utils/pulls?q=is%3Apr+reviewed-by%3Asaadjutt01" title="Reviewed Pull Requests">👀</a> <a href="#mentoring-saadjutt01" title="Mentoring">🧑‍🏫</a> <a href="https://github.com/sasjs/utils/commits?author=saadjutt01" title="Documentation">📖</a></td>
20
+ <td align="center" valign="top" width="14.28%"><a href="https://www.erudicat.com"><img src="https://avatars.githubusercontent.com/u/25773492?v=4?s=100" width="100px;" alt="Yury Shkoda"/><br /><sub><b>Yury Shkoda</b></sub></a><br /><a href="https://github.com/sasjs/utils/commits?author=YuryShkoda" title="Code">💻</a> <a href="#projectManagement-YuryShkoda" title="Project Management">📆</a> <a href="https://github.com/sasjs/utils/commits?author=YuryShkoda" title="Tests">⚠️</a> <a href="#video-YuryShkoda" title="Videos">📹</a> <a href="https://github.com/sasjs/utils/commits?author=YuryShkoda" title="Documentation">📖</a></td>
21
+ <td align="center" valign="top" width="14.28%"><a href="https://krishna-acondy.io/"><img src="https://avatars.githubusercontent.com/u/2980428?v=4?s=100" width="100px;" alt="Krishna Acondy"/><br /><sub><b>Krishna Acondy</b></sub></a><br /><a href="https://github.com/sasjs/utils/commits?author=krishna-acondy" title="Code">💻</a> <a href="https://github.com/sasjs/utils/commits?author=krishna-acondy" title="Tests">⚠️</a> <a href="#infra-krishna-acondy" title="Infrastructure (Hosting, Build-Tools, etc)">🚇</a> <a href="#content-krishna-acondy" title="Content">🖋</a> <a href="#maintenance-krishna-acondy" title="Maintenance">🚧</a> <a href="#platform-krishna-acondy" title="Packaging/porting to new platform">📦</a> <a href="https://github.com/sasjs/utils/pulls?q=is%3Apr+reviewed-by%3Akrishna-acondy" title="Reviewed Pull Requests">👀</a></td>
22
+ <td align="center" valign="top" width="14.28%"><a href="https://github.com/medjedovicm"><img src="https://avatars.githubusercontent.com/u/18329105?v=4?s=100" width="100px;" alt="Mihajlo Medjedovic"/><br /><sub><b>Mihajlo Medjedovic</b></sub></a><br /><a href="https://github.com/sasjs/utils/commits?author=medjedovicm" title="Code">💻</a> <a href="#infra-medjedovicm" title="Infrastructure (Hosting, Build-Tools, etc)">🚇</a> <a href="https://github.com/sasjs/utils/commits?author=medjedovicm" title="Tests">⚠️</a> <a href="https://github.com/sasjs/utils/pulls?q=is%3Apr+reviewed-by%3Amedjedovicm" title="Reviewed Pull Requests">👀</a></td>
23
+ <td align="center" valign="top" width="14.28%"><a href="https://github.com/allanbowe"><img src="https://avatars.githubusercontent.com/u/4420615?v=4?s=100" width="100px;" alt="Allan Bowe"/><br /><sub><b>Allan Bowe</b></sub></a><br /><a href="https://github.com/sasjs/utils/commits?author=allanbowe" title="Code">💻</a> <a href="https://github.com/sasjs/utils/pulls?q=is%3Apr+reviewed-by%3Aallanbowe" title="Reviewed Pull Requests">👀</a> <a href="https://github.com/sasjs/utils/commits?author=allanbowe" title="Tests">⚠️</a> <a href="#video-allanbowe" title="Videos">📹</a> <a href="https://github.com/sasjs/utils/commits?author=allanbowe" title="Documentation">📖</a></td>
24
+ <td align="center" valign="top" width="14.28%"><a href="https://github.com/sabhas"><img src="https://avatars.githubusercontent.com/u/82647447?v=4?s=100" width="100px;" alt="Sabir Hassan"/><br /><sub><b>Sabir Hassan</b></sub></a><br /><a href="https://github.com/sasjs/utils/commits?author=sabhas" title="Code">💻</a> <a href="https://github.com/sasjs/utils/pulls?q=is%3Apr+reviewed-by%3Asabhas" title="Reviewed Pull Requests">👀</a> <a href="https://github.com/sasjs/utils/commits?author=sabhas" title="Tests">⚠️</a> <a href="#ideas-sabhas" title="Ideas, Planning, & Feedback">🤔</a></td>
25
+ <td align="center" valign="top" width="14.28%"><a href="https://github.com/VladislavParhomchik"><img src="https://avatars.githubusercontent.com/u/83717836?v=4?s=100" width="100px;" alt="VladislavParhomchik"/><br /><sub><b>VladislavParhomchik</b></sub></a><br /><a href="https://github.com/sasjs/utils/commits?author=VladislavParhomchik" title="Tests">⚠️</a> <a href="https://github.com/sasjs/utils/pulls?q=is%3Apr+reviewed-by%3AVladislavParhomchik" title="Reviewed Pull Requests">👀</a></td>
26
+ </tr>
27
+ <tr>
28
+ <td align="center" valign="top" width="14.28%"><a href="https://github.com/glM26"><img src="https://avatars.githubusercontent.com/u/35031631?v=4?s=100" width="100px;" alt="glM26"/><br /><sub><b>glM26</b></sub></a><br /><a href="https://github.com/sasjs/utils/commits?author=glM26" title="Code">💻</a></td>
29
+ </tr>
30
+ </tbody>
28
31
  </table>
29
32
 
30
33
  <!-- markdownlint-restore -->
package/file/file.d.ts CHANGED
@@ -22,7 +22,7 @@ export declare function listFilesAndSubFoldersInFolder(folderName: string, recur
22
22
  export declare function createFolder(folderName: string): Promise<string | undefined>;
23
23
  export declare function createFile(fileName: string, content: string, encoding?: BufferEncoding): Promise<void>;
24
24
  export declare function deleteFile(filePath: string): Promise<void>;
25
- export declare function deleteFolder(folderPath: string): Promise<boolean>;
25
+ export declare function deleteFolder(folderPath: string): Promise<void>;
26
26
  export declare function unifyFilePath(filePath: string, separator?: string, separatorToReplace?: string): string;
27
27
  export declare function getRelativePath(from: string, to: string): string;
28
28
  export declare function moveFile(oldFilePath: string, newFilePath: string): Promise<void>;
package/package.json CHANGED
@@ -60,8 +60,8 @@
60
60
  "fs-extra": "10.0.0",
61
61
  "jwt-decode": "3.1.2",
62
62
  "prompts": "2.4.1",
63
- "rimraf": "5.0.10",
63
+ "rimraf": "4.1.4",
64
64
  "valid-url": "1.0.9"
65
65
  },
66
- "version": "3.5.0"
66
+ "version": "3.5.1"
67
67
  }