@tanem/react-nprogress 5.0.22 → 5.0.24
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 +1 -1
- package/dist/NProgress.d.ts +1 -1
- package/dist/createQueue.d.ts +2 -2
- package/dist/withNProgress.d.ts +2 -2
- package/package.json +15 -14
package/README.md
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
# react-nprogress
|
|
2
2
|
|
|
3
3
|
[](https://www.npmjs.com/package/@tanem/react-nprogress)
|
|
4
|
-
[](https://github.com/tanem/react-nprogress/actions?query=workflow%3ACI)
|
|
5
5
|
[](https://codecov.io/gh/tanem/react-nprogress)
|
|
6
6
|
[](https://www.npmjs.com/package/@tanem/react-nprogress)
|
|
7
7
|
[](https://bundlephobia.com/result?p=@tanem/react-nprogress)
|
package/dist/NProgress.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { Options } from './types';
|
|
3
3
|
import { useNProgress } from './useNProgress';
|
|
4
|
-
|
|
4
|
+
type Props = Options & {
|
|
5
5
|
children: (renderProps: ReturnType<typeof useNProgress>) => React.ReactElement;
|
|
6
6
|
};
|
|
7
7
|
export declare const NProgress: React.FC<Props>;
|
package/dist/createQueue.d.ts
CHANGED
package/dist/withNProgress.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { Options } from './types';
|
|
3
3
|
import { useNProgress } from './useNProgress';
|
|
4
|
-
|
|
5
|
-
|
|
4
|
+
type Outer<P> = P & Options;
|
|
5
|
+
type Inner<P> = P & ReturnType<typeof useNProgress>;
|
|
6
6
|
export declare function withNProgress<P>(BaseComponent: React.ComponentType<Inner<P>>): React.FC<Outer<P>>;
|
|
7
7
|
export {};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tanem/react-nprogress",
|
|
3
|
-
"version": "5.0.
|
|
3
|
+
"version": "5.0.24",
|
|
4
4
|
"description": "A React primitive for building slim progress bars.",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/react-nprogress.esm.js",
|
|
@@ -66,11 +66,11 @@
|
|
|
66
66
|
"react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0"
|
|
67
67
|
},
|
|
68
68
|
"dependencies": {
|
|
69
|
-
"@babel/runtime": "^7.20.
|
|
69
|
+
"@babel/runtime": "^7.20.7",
|
|
70
70
|
"hoist-non-react-statics": "^3.3.2"
|
|
71
71
|
},
|
|
72
72
|
"devDependencies": {
|
|
73
|
-
"@babel/core": "7.20.
|
|
73
|
+
"@babel/core": "7.20.12",
|
|
74
74
|
"@babel/plugin-transform-runtime": "7.19.6",
|
|
75
75
|
"@babel/preset-env": "7.20.2",
|
|
76
76
|
"@babel/preset-react": "7.18.6",
|
|
@@ -79,18 +79,19 @@
|
|
|
79
79
|
"@rollup/plugin-commonjs": "24.0.0",
|
|
80
80
|
"@rollup/plugin-node-resolve": "15.0.1",
|
|
81
81
|
"@rollup/plugin-replace": "5.0.2",
|
|
82
|
-
"@rollup/plugin-terser": "0.
|
|
82
|
+
"@rollup/plugin-terser": "0.3.0",
|
|
83
83
|
"@testing-library/react": "13.4.0",
|
|
84
84
|
"@types/hoist-non-react-statics": "3.3.1",
|
|
85
|
-
"@types/jest": "29.2.
|
|
85
|
+
"@types/jest": "29.2.5",
|
|
86
86
|
"@types/mock-raf": "1.0.3",
|
|
87
|
+
"@types/node": "18.11.18",
|
|
87
88
|
"@types/react": "18.0.26",
|
|
88
|
-
"@types/react-dom": "18.0.
|
|
89
|
-
"@typescript-eslint/eslint-plugin": "5.
|
|
90
|
-
"@typescript-eslint/parser": "5.
|
|
89
|
+
"@types/react-dom": "18.0.10",
|
|
90
|
+
"@typescript-eslint/eslint-plugin": "5.48.1",
|
|
91
|
+
"@typescript-eslint/parser": "5.48.1",
|
|
91
92
|
"babel-core": "6.26.3",
|
|
92
|
-
"eslint": "8.
|
|
93
|
-
"eslint-config-prettier": "8.
|
|
93
|
+
"eslint": "8.31.0",
|
|
94
|
+
"eslint-config-prettier": "8.6.0",
|
|
94
95
|
"eslint-plugin-react": "7.31.11",
|
|
95
96
|
"eslint-plugin-react-hooks": "4.6.0",
|
|
96
97
|
"eslint-plugin-simple-import-sort": "8.0.0",
|
|
@@ -98,16 +99,16 @@
|
|
|
98
99
|
"jest-environment-jsdom": "29.3.1",
|
|
99
100
|
"mock-raf": "1.0.1",
|
|
100
101
|
"npm-run-all": "4.1.5",
|
|
101
|
-
"prettier": "2.8.
|
|
102
|
+
"prettier": "2.8.2",
|
|
102
103
|
"react": "18.2.0",
|
|
103
104
|
"react-dom": "18.2.0",
|
|
104
105
|
"react-test-renderer": "18.2.0",
|
|
105
106
|
"regenerator-runtime": "0.13.11",
|
|
106
|
-
"rollup": "3.
|
|
107
|
+
"rollup": "3.9.1",
|
|
107
108
|
"rollup-plugin-sourcemaps": "0.6.3",
|
|
108
109
|
"shx": "0.3.4",
|
|
109
|
-
"tanem-scripts": "6.0.
|
|
110
|
+
"tanem-scripts": "6.0.68",
|
|
110
111
|
"ts-jest": "29.0.3",
|
|
111
|
-
"typescript": "4.
|
|
112
|
+
"typescript": "4.9.4"
|
|
112
113
|
}
|
|
113
114
|
}
|