@appsemble/node-utils 0.20.21 → 0.20.23
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/README.md +4 -4
- package/fs.d.ts +1 -1
- package/fs.js +1 -1
- package/fs.ts +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
#  Appsemble Node Utilities
|
|
2
2
|
|
|
3
3
|
> NodeJS utilities used by Appsemble internally.
|
|
4
4
|
|
|
5
5
|
[](https://www.npmjs.com/package/@appsemble/node-utils)
|
|
6
|
-
[](https://gitlab.com/appsemble/appsemble/-/releases/0.20.23)
|
|
7
|
+
[](https://codecov.io/gl/appsemble/appsemble)
|
|
8
8
|
[](https://prettier.io)
|
|
9
9
|
|
|
10
10
|
## Installation
|
|
@@ -21,5 +21,5 @@ compatibility is not guaranteed.
|
|
|
21
21
|
|
|
22
22
|
## License
|
|
23
23
|
|
|
24
|
-
[LGPL-3.0-only](https://gitlab.com/appsemble/appsemble/-/blob/0.20.
|
|
24
|
+
[LGPL-3.0-only](https://gitlab.com/appsemble/appsemble/-/blob/0.20.23/LICENSE.md) ©
|
|
25
25
|
[Appsemble](https://appsemble.com)
|
package/fs.d.ts
CHANGED
|
@@ -7,7 +7,7 @@ import { Promisable } from 'type-fest';
|
|
|
7
7
|
* Test if the error is a NodeJS errno exception.
|
|
8
8
|
*
|
|
9
9
|
* @param error The value to check
|
|
10
|
-
* @param code If specified,
|
|
10
|
+
* @param code If specified, check if the code matches
|
|
11
11
|
* @returns Whether or not the error is a NodeJS errno exception.
|
|
12
12
|
*/
|
|
13
13
|
export declare function isErrno(error: unknown, code?: string): error is NodeJS.ErrnoException;
|
package/fs.js
CHANGED
|
@@ -9,7 +9,7 @@ import { AppsembleError } from './index.js';
|
|
|
9
9
|
* Test if the error is a NodeJS errno exception.
|
|
10
10
|
*
|
|
11
11
|
* @param error The value to check
|
|
12
|
-
* @param code If specified,
|
|
12
|
+
* @param code If specified, check if the code matches
|
|
13
13
|
* @returns Whether or not the error is a NodeJS errno exception.
|
|
14
14
|
*/
|
|
15
15
|
export function isErrno(error, code) {
|
package/fs.ts
CHANGED
|
@@ -14,7 +14,7 @@ import { AppsembleError } from './index.js';
|
|
|
14
14
|
* Test if the error is a NodeJS errno exception.
|
|
15
15
|
*
|
|
16
16
|
* @param error The value to check
|
|
17
|
-
* @param code If specified,
|
|
17
|
+
* @param code If specified, check if the code matches
|
|
18
18
|
* @returns Whether or not the error is a NodeJS errno exception.
|
|
19
19
|
*/
|
|
20
20
|
export function isErrno(error: unknown, code?: string): error is NodeJS.ErrnoException {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@appsemble/node-utils",
|
|
3
|
-
"version": "0.20.
|
|
3
|
+
"version": "0.20.23",
|
|
4
4
|
"description": "NodeJS utilities used by Appsemble internally.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"app",
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
"test": "NODE_OPTIONS=--experimental-vm-modules jest"
|
|
32
32
|
},
|
|
33
33
|
"dependencies": {
|
|
34
|
-
"@appsemble/utils": "0.20.
|
|
34
|
+
"@appsemble/utils": "0.20.23",
|
|
35
35
|
"@types/koa": "^2.0.0",
|
|
36
36
|
"axios": "^0.27.0",
|
|
37
37
|
"chalk": "^4.0.0",
|