@appsemble/utils 0.20.31 → 0.20.32
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/package.json +3 -3
- package/remap.d.ts +4 -1
package/README.md
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
#  Appsemble Utilities
|
|
2
2
|
|
|
3
3
|
> Internal utility functions used across multiple Appsemble projects.
|
|
4
4
|
|
|
5
5
|
[](https://www.npmjs.com/package/@appsemble/utils)
|
|
6
|
-
[](https://gitlab.com/appsemble/appsemble/-/releases/0.20.32)
|
|
7
|
+
[](https://codecov.io/gl/appsemble/appsemble)
|
|
8
8
|
[](https://prettier.io)
|
|
9
9
|
|
|
10
10
|
## Installation
|
|
@@ -21,5 +21,5 @@ 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.32/LICENSE.md) ©
|
|
25
25
|
[Appsemble](https://appsemble.com)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@appsemble/utils",
|
|
3
|
-
"version": "0.20.
|
|
3
|
+
"version": "0.20.32",
|
|
4
4
|
"description": "Utility functions used in 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/types": "0.20.
|
|
34
|
+
"@appsemble/types": "0.20.32",
|
|
35
35
|
"axios": "^1.0.0",
|
|
36
36
|
"cron-parser": "^4.0.0",
|
|
37
37
|
"date-fns": "^2.0.0",
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
"openapi-types": "^12.0.0",
|
|
46
46
|
"parse-duration": "^1.0.0",
|
|
47
47
|
"postcss": "^8.0.0",
|
|
48
|
-
"type-fest": "^
|
|
48
|
+
"type-fest": "^3.0.0"
|
|
49
49
|
},
|
|
50
50
|
"devDependencies": {
|
|
51
51
|
"@types/langmap": "^0.0.1",
|
package/remap.d.ts
CHANGED
|
@@ -28,6 +28,10 @@ export interface RemapperContext {
|
|
|
28
28
|
* @see MessageGetter
|
|
29
29
|
*/
|
|
30
30
|
getMessage: MessageGetter;
|
|
31
|
+
/**
|
|
32
|
+
* The history stack containing the states before an action was called.
|
|
33
|
+
*/
|
|
34
|
+
history?: unknown[];
|
|
31
35
|
/**
|
|
32
36
|
* The current locale of the app.
|
|
33
37
|
*/
|
|
@@ -47,7 +51,6 @@ export interface RemapperContext {
|
|
|
47
51
|
}
|
|
48
52
|
interface InternalContext extends RemapperContext {
|
|
49
53
|
root?: unknown;
|
|
50
|
-
history?: unknown[];
|
|
51
54
|
array?: {
|
|
52
55
|
index: number;
|
|
53
56
|
length: number;
|