react-elmish 4.0.0 → 4.0.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.
- package/README.md +4 -0
- package/package.json +5 -5
package/README.md
CHANGED
|
@@ -946,3 +946,7 @@ import { useElmishMap } from "react-elmish/dist/legacy/useElmishMap";
|
|
|
946
946
|
```
|
|
947
947
|
|
|
948
948
|
**Notice**: These functions are marked as deprecated and will be removed in a later release.
|
|
949
|
+
|
|
950
|
+
## Migration from v3.x to v4.x
|
|
951
|
+
|
|
952
|
+
Because the legacy `useElmish` and `useElmishMap` have been removed, you have to convert all usages of `useElmish` to use the parameter object.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "react-elmish",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.1",
|
|
4
4
|
"description": "Elmish for React using Typescript",
|
|
5
5
|
"author": "atheck",
|
|
6
6
|
"license": "MIT",
|
|
@@ -15,15 +15,15 @@
|
|
|
15
15
|
"@babel/preset-react": "7.17.12",
|
|
16
16
|
"@babel/preset-typescript": "7.17.12",
|
|
17
17
|
"@testing-library/react": "13.3.0",
|
|
18
|
-
"@types/jest": "28.1.
|
|
18
|
+
"@types/jest": "28.1.3",
|
|
19
19
|
"@types/react": "18.0.14",
|
|
20
|
-
"eslint": "8.
|
|
21
|
-
"eslint-config-heck": "1.
|
|
20
|
+
"eslint": "8.18.0",
|
|
21
|
+
"eslint-config-heck": "1.15.0",
|
|
22
22
|
"jest": "28.1.1",
|
|
23
23
|
"jest-environment-jsdom": "28.1.1",
|
|
24
24
|
"semantic-release": "19.0.3",
|
|
25
25
|
"ts-jest": "28.0.5",
|
|
26
|
-
"typescript": "4.7.
|
|
26
|
+
"typescript": "4.7.4"
|
|
27
27
|
},
|
|
28
28
|
"scripts": {
|
|
29
29
|
"build": "npm run build:types && npm run build:js",
|