extra-react-hooks 0.1.9 → 0.1.10
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/dist/es2015/index.min.mjs +4 -4
- package/dist/es2015/index.min.mjs.map +1 -1
- package/dist/es2015/index.mjs +232 -75
- package/dist/es2015/index.mjs.map +1 -1
- package/dist/es2015/index.umd.js +232 -75
- package/dist/es2015/index.umd.js.map +1 -1
- package/dist/es2015/index.umd.min.js +4 -4
- package/dist/es2015/index.umd.min.js.map +1 -1
- package/dist/es2018/index.min.mjs +4 -4
- package/dist/es2018/index.min.mjs.map +1 -1
- package/dist/es2018/index.mjs +232 -75
- package/dist/es2018/index.mjs.map +1 -1
- package/dist/es2018/index.umd.js +232 -75
- package/dist/es2018/index.umd.js.map +1 -1
- package/dist/es2018/index.umd.min.js +4 -4
- package/dist/es2018/index.umd.min.js.map +1 -1
- package/package.json +18 -17
- package/CHANGELOG.md +0 -68
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "extra-react-hooks",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.10",
|
|
4
4
|
"description": "",
|
|
5
5
|
"keywords": [],
|
|
6
6
|
"files": [
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
],
|
|
10
10
|
"main": "lib/es2018/index.js",
|
|
11
11
|
"types": "lib/es2018/index.d.ts",
|
|
12
|
+
"sideEffects": false,
|
|
12
13
|
"repository": "git@github.com:BlackGlory/extra-react-hooks.git",
|
|
13
14
|
"author": "BlackGlory <woshenmedoubuzhidao@blackglory.me>",
|
|
14
15
|
"license": "MIT",
|
|
@@ -37,22 +38,22 @@
|
|
|
37
38
|
}
|
|
38
39
|
},
|
|
39
40
|
"devDependencies": {
|
|
40
|
-
"@blackglory/wait-for": "^0.
|
|
41
|
-
"@commitlint/cli": "^
|
|
42
|
-
"@commitlint/config-conventional": "^
|
|
41
|
+
"@blackglory/wait-for": "^0.4.1",
|
|
42
|
+
"@commitlint/cli": "^16.0.1",
|
|
43
|
+
"@commitlint/config-conventional": "^16.0.0",
|
|
43
44
|
"@rollup/plugin-commonjs": "^21.0.1",
|
|
44
45
|
"@rollup/plugin-json": "^4.1.0",
|
|
45
|
-
"@rollup/plugin-node-resolve": "^13.1.
|
|
46
|
-
"@rollup/plugin-replace": "^3.0.
|
|
46
|
+
"@rollup/plugin-node-resolve": "^13.1.3",
|
|
47
|
+
"@rollup/plugin-replace": "^3.0.1",
|
|
47
48
|
"@rollup/plugin-typescript": "^8.3.0",
|
|
48
49
|
"@testing-library/react": "^12.1.2",
|
|
49
50
|
"@testing-library/react-hooks": "^7.0.2",
|
|
50
|
-
"@types/jasmine": "^3.10.
|
|
51
|
+
"@types/jasmine": "^3.10.3",
|
|
51
52
|
"@types/react": "^17.0.37",
|
|
52
|
-
"@typescript-eslint/eslint-plugin": "^5.
|
|
53
|
-
"@typescript-eslint/parser": "^5.
|
|
54
|
-
"eslint": "^8.
|
|
55
|
-
"husky": "
|
|
53
|
+
"@typescript-eslint/eslint-plugin": "^5.9.0",
|
|
54
|
+
"@typescript-eslint/parser": "^5.9.0",
|
|
55
|
+
"eslint": "^8.6.0",
|
|
56
|
+
"husky": "4",
|
|
56
57
|
"karma": "^6.3.9",
|
|
57
58
|
"karma-chrome-launcher": "^3.1.0",
|
|
58
59
|
"karma-jasmine": "^4.0.1",
|
|
@@ -62,7 +63,7 @@
|
|
|
62
63
|
"react-dom": "^17.0.2",
|
|
63
64
|
"react-test-renderer": "^17.0.2",
|
|
64
65
|
"rimraf": "^3.0.2",
|
|
65
|
-
"rollup": "^2.
|
|
66
|
+
"rollup": "^2.63.0",
|
|
66
67
|
"rollup-plugin-analyzer": "^4.0.0",
|
|
67
68
|
"rollup-plugin-terser": "^7.0.2",
|
|
68
69
|
"standard-version": "^9.3.2",
|
|
@@ -70,15 +71,15 @@
|
|
|
70
71
|
"tsconfig-paths-webpack-plugin": "^3.5.2",
|
|
71
72
|
"tscpaths": "^0.0.9",
|
|
72
73
|
"tslib": "^2.3.1",
|
|
73
|
-
"typescript": "^4.5.
|
|
74
|
+
"typescript": "^4.5.4",
|
|
74
75
|
"webpack": "^5.65.0"
|
|
75
76
|
},
|
|
76
77
|
"dependencies": {
|
|
77
78
|
"@blackglory/errors": "^1.1.2",
|
|
78
|
-
"@blackglory/structures": "^0.3.
|
|
79
|
-
"@blackglory/types": "^0.5
|
|
80
|
-
"observable-hooks": "^4.
|
|
81
|
-
"rxjs": "^7.
|
|
79
|
+
"@blackglory/structures": "^0.3.2",
|
|
80
|
+
"@blackglory/types": "^0.6.5",
|
|
81
|
+
"observable-hooks": "^4.2.0",
|
|
82
|
+
"rxjs": "^7.5.1"
|
|
82
83
|
},
|
|
83
84
|
"peerDependencies": {
|
|
84
85
|
"react": ">= 16.8"
|
package/CHANGELOG.md
DELETED
|
@@ -1,68 +0,0 @@
|
|
|
1
|
-
# Changelog
|
|
2
|
-
|
|
3
|
-
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
|
|
4
|
-
|
|
5
|
-
### [0.1.9](https://github.com/BlackGlory/extra-react-hooks/compare/v0.1.8...v0.1.9) (2021-12-13)
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
### Features
|
|
9
|
-
|
|
10
|
-
* add useFiniteStateMachine ([e6e8962](https://github.com/BlackGlory/extra-react-hooks/commit/e6e8962724774a8b217a1fd5332c13ba4ee051f7))
|
|
11
|
-
|
|
12
|
-
### [0.1.8](https://github.com/BlackGlory/extra-react-hooks/compare/v0.1.7...v0.1.8) (2021-12-13)
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
### Features
|
|
16
|
-
|
|
17
|
-
* add useForceUpdate ([f747227](https://github.com/BlackGlory/extra-react-hooks/commit/f747227c02c5bb2f0a0f1889de1c022bc9ca1e4d))
|
|
18
|
-
|
|
19
|
-
### [0.1.7](https://github.com/BlackGlory/extra-react-hooks/compare/v0.1.6...v0.1.7) (2021-12-10)
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
### Features
|
|
23
|
-
|
|
24
|
-
* add useStep ([f404846](https://github.com/BlackGlory/extra-react-hooks/commit/f4048462cc254499d7fd06cd51e16e98acd978ca))
|
|
25
|
-
|
|
26
|
-
### [0.1.6](https://github.com/BlackGlory/extra-react-hooks/compare/v0.1.5...v0.1.6) (2021-11-15)
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
### Features
|
|
30
|
-
|
|
31
|
-
* add useResizeObserver ([8a4e317](https://github.com/BlackGlory/extra-react-hooks/commit/8a4e317921387fa26e768796e52c8fe44e9b347e))
|
|
32
|
-
|
|
33
|
-
### [0.1.5](https://github.com/BlackGlory/extra-react-hooks/compare/v0.1.4...v0.1.5) (2021-10-04)
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
### Features
|
|
37
|
-
|
|
38
|
-
* add useIncrement ([e5f1fc4](https://github.com/BlackGlory/extra-react-hooks/commit/e5f1fc442a2c69aa490fed873cc21fe4ad9ff76b))
|
|
39
|
-
|
|
40
|
-
### [0.1.4](https://github.com/BlackGlory/extra-react-hooks/compare/v0.1.3...v0.1.4) (2021-08-18)
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
### Features
|
|
44
|
-
|
|
45
|
-
* add useIsMounted ([32a1295](https://github.com/BlackGlory/extra-react-hooks/commit/32a12951aab92ae5734f4caddf45021e2bbed793))
|
|
46
|
-
|
|
47
|
-
### [0.1.3](https://github.com/BlackGlory/extra-react-hooks/compare/v0.1.2...v0.1.3) (2021-08-18)
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
### Features
|
|
51
|
-
|
|
52
|
-
* add useStateCycle ([a48da21](https://github.com/BlackGlory/extra-react-hooks/commit/a48da211f364688daa63a0bd5406fa2f2c61eba7))
|
|
53
|
-
|
|
54
|
-
### [0.1.2](https://github.com/BlackGlory/extra-react-hooks/compare/v0.1.1...v0.1.2) (2021-07-03)
|
|
55
|
-
|
|
56
|
-
### [0.1.1](https://github.com/BlackGlory/extra-react-hooks/compare/v0.1.0...v0.1.1) (2021-06-29)
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
### Features
|
|
60
|
-
|
|
61
|
-
* add useMount ([070045a](https://github.com/BlackGlory/extra-react-hooks/commit/070045ac0f209712eadd0f4e79c1328d20745b04))
|
|
62
|
-
|
|
63
|
-
## 0.1.0 (2021-06-04)
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
### Features
|
|
67
|
-
|
|
68
|
-
* add useToggle, useSingleSelection ([0b9ee92](https://github.com/BlackGlory/extra-react-hooks/commit/0b9ee92597a230989b51b7242f529f0a36590d1f))
|