x25 2.7.8 → 3.0.0
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/.eslintrc.json +4 -3
- package/package.json +15 -15
- package/src/Account/Load.jsx +2 -3
- package/src/Things.jsx +1 -1
- package/src/actions.js +1 -1
package/.eslintrc.json
CHANGED
|
@@ -7,13 +7,14 @@
|
|
|
7
7
|
"parser":"babel-eslint",
|
|
8
8
|
"extends":[
|
|
9
9
|
"eslint:all",
|
|
10
|
-
"plugin:react/all"
|
|
10
|
+
"plugin:react/all",
|
|
11
|
+
"plugin:react-hooks/recommended"
|
|
11
12
|
],
|
|
12
13
|
"settings": {
|
|
13
14
|
"react": {
|
|
14
15
|
"pragma": "React",
|
|
15
|
-
"version": "16.
|
|
16
|
-
"flowVersion": "0.
|
|
16
|
+
"version": "16.12.0",
|
|
17
|
+
"flowVersion": "0.112.0"
|
|
17
18
|
}
|
|
18
19
|
},
|
|
19
20
|
"parserOptions":{
|
package/package.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "
|
|
2
|
+
"version": "3.0.0",
|
|
3
3
|
"name": "x25",
|
|
4
4
|
"description": "x25",
|
|
5
5
|
"scripts": {
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
"build-babel": "babel src --out-dir dist",
|
|
8
8
|
"build": "npm run build-scss && npm run build-babel",
|
|
9
9
|
"clean": "rimraf dist dist",
|
|
10
|
-
"check": "npm-check -u -i babel-jest -i jest --specials=bin,eslint,babel,webpack",
|
|
10
|
+
"check": "npm-check -u -i babel-jest -i jest -i history --specials=bin,eslint,babel,webpack",
|
|
11
11
|
"flow": "flow check --color=always",
|
|
12
12
|
"eslint": "eslint --ext .jsx,.js src --fix",
|
|
13
13
|
"copy": "copy package.json dist",
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
"url": "git+https://github.com/cristian-sima/x25.git"
|
|
21
21
|
},
|
|
22
22
|
"keywords": [],
|
|
23
|
-
"author": "
|
|
23
|
+
"author": "SC SIDEWORK SRL",
|
|
24
24
|
"license": "MIT",
|
|
25
25
|
"bugs": {
|
|
26
26
|
"url": "https://github.com/cristian-sima/x25/issues"
|
|
@@ -56,7 +56,7 @@
|
|
|
56
56
|
}
|
|
57
57
|
},
|
|
58
58
|
"engines": {
|
|
59
|
-
"node": ">=
|
|
59
|
+
"node": ">= 15.0.0"
|
|
60
60
|
},
|
|
61
61
|
"jest": {
|
|
62
62
|
"transform": {
|
|
@@ -95,6 +95,7 @@
|
|
|
95
95
|
"eslint-plugin-flowtype": "^4.4.1",
|
|
96
96
|
"eslint-plugin-jsx-a11y": "^6.2.3",
|
|
97
97
|
"eslint-plugin-react": "^7.16.0",
|
|
98
|
+
"eslint-plugin-react-hooks": "^4.3.0",
|
|
98
99
|
"file-loader": "^4.3.0",
|
|
99
100
|
"flow-bin": "^0.112.0",
|
|
100
101
|
"flow-status-webpack-plugin": "^0.1.7",
|
|
@@ -103,11 +104,10 @@
|
|
|
103
104
|
"json-loader": "^0.5.7",
|
|
104
105
|
"node-sass": "^4.13.0",
|
|
105
106
|
"npm": "^6.13.1",
|
|
106
|
-
"npm-check": "^5.9.
|
|
107
|
+
"npm-check": "^5.9.2",
|
|
107
108
|
"npm-check-unused": "^6.0.0",
|
|
108
109
|
"npm-check-updates": "^3.2.1",
|
|
109
110
|
"postcss-loader": "^3.0.0",
|
|
110
|
-
"react-hot-loader": "^4.12.18",
|
|
111
111
|
"sass-loader": "^8.0.0",
|
|
112
112
|
"scss-compile": "^0.1.7",
|
|
113
113
|
"style-loader": "^1.0.0",
|
|
@@ -127,19 +127,19 @@
|
|
|
127
127
|
"copy": "^0.3.2",
|
|
128
128
|
"immutable": "^4.0.0-rc.12",
|
|
129
129
|
"moment": "^2.22.2",
|
|
130
|
-
"react": "^
|
|
131
|
-
"react-dom": "^
|
|
132
|
-
"react-loadable": "
|
|
133
|
-
"react-notification-system-
|
|
134
|
-
"react-redux": "^7.
|
|
130
|
+
"react": "^17.0.2",
|
|
131
|
+
"react-dom": "^17.0.2",
|
|
132
|
+
"react-loadable": "~5.5.0",
|
|
133
|
+
"react-notification-system-redux2": "^2.0.1",
|
|
134
|
+
"react-redux": "^7.2.6",
|
|
135
135
|
"react-router-dom": "^5.1.2",
|
|
136
|
-
"react-select": "^
|
|
136
|
+
"react-select": "^5.2.2",
|
|
137
137
|
"react-sidebar": "^3.0.2",
|
|
138
|
-
"reactstrap": "^
|
|
138
|
+
"reactstrap": "^9.0.1",
|
|
139
139
|
"redux": "^4.0.4",
|
|
140
|
-
"redux-form": "^8.
|
|
140
|
+
"redux-form": "^8.3.8",
|
|
141
141
|
"redux-injector": "^0.1.0",
|
|
142
|
-
"reselect": "^4.
|
|
142
|
+
"reselect": "^4.1.5",
|
|
143
143
|
"superagent": "^5.1.1"
|
|
144
144
|
}
|
|
145
145
|
}
|
package/src/Account/Load.jsx
CHANGED
|
@@ -16,7 +16,6 @@ type PropTypes = {
|
|
|
16
16
|
|
|
17
17
|
import React from "react";
|
|
18
18
|
|
|
19
|
-
import { withRouter } from "react-router-dom";
|
|
20
19
|
import { connect } from "react-redux";
|
|
21
20
|
|
|
22
21
|
import { selectors } from "./reducer";
|
|
@@ -76,5 +75,5 @@ const LoadAccount = (props : PropTypes) => {
|
|
|
76
75
|
return children;
|
|
77
76
|
};
|
|
78
77
|
|
|
79
|
-
export default
|
|
80
|
-
mapDispatchToProps)(LoadAccount)
|
|
78
|
+
export default connect(mapStateToProps,
|
|
79
|
+
mapDispatchToProps)(LoadAccount);
|
package/src/Things.jsx
CHANGED
|
@@ -7,7 +7,7 @@ import ModalRoot from "./Modal/Root";
|
|
|
7
7
|
import type { Dispatch, State } from "src\\types";
|
|
8
8
|
|
|
9
9
|
import { connect } from "react-redux";
|
|
10
|
-
import Notifications from "react-notification-system-
|
|
10
|
+
import Notifications from "react-notification-system-redux2";
|
|
11
11
|
|
|
12
12
|
import { deleteNotification } from "./actions";
|
|
13
13
|
|
package/src/actions.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
import type { Action } from "src\\types";
|
|
4
4
|
|
|
5
|
-
import Notifications from "react-notification-system-
|
|
5
|
+
import Notifications from "react-notification-system-redux2";
|
|
6
6
|
|
|
7
7
|
const createNotification = (level : string) => (title : any, options : any) : Action => (
|
|
8
8
|
Notifications.show({
|