@tanem/react-nprogress 5.0.7 → 5.0.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/react-nprogress.esm.js +1 -1
- package/package.json +15 -15
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import _objectWithoutPropertiesLoose from '@babel/runtime/helpers/objectWithoutPropertiesLoose';
|
|
2
2
|
import _extends from '@babel/runtime/helpers/extends';
|
|
3
3
|
import * as React from 'react';
|
|
4
|
-
import { useEffect,
|
|
4
|
+
import { useEffect, useRef, useCallback, useState } from 'react';
|
|
5
5
|
import hoistNonReactStatics from 'hoist-non-react-statics';
|
|
6
6
|
|
|
7
7
|
var clamp = function clamp(num, lower, upper) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tanem/react-nprogress",
|
|
3
|
-
"version": "5.0.
|
|
3
|
+
"version": "5.0.10",
|
|
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,13 +66,13 @@
|
|
|
66
66
|
"react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0"
|
|
67
67
|
},
|
|
68
68
|
"dependencies": {
|
|
69
|
-
"@babel/runtime": "^7.18.
|
|
69
|
+
"@babel/runtime": "^7.18.9",
|
|
70
70
|
"hoist-non-react-statics": "^3.3.2"
|
|
71
71
|
},
|
|
72
72
|
"devDependencies": {
|
|
73
|
-
"@babel/core": "7.18.
|
|
74
|
-
"@babel/plugin-transform-runtime": "7.18.
|
|
75
|
-
"@babel/preset-env": "7.18.
|
|
73
|
+
"@babel/core": "7.18.10",
|
|
74
|
+
"@babel/plugin-transform-runtime": "7.18.10",
|
|
75
|
+
"@babel/preset-env": "7.18.10",
|
|
76
76
|
"@babel/preset-react": "7.18.6",
|
|
77
77
|
"@babel/preset-typescript": "7.18.6",
|
|
78
78
|
"@rollup/plugin-babel": "5.3.1",
|
|
@@ -81,20 +81,20 @@
|
|
|
81
81
|
"@rollup/plugin-replace": "4.0.0",
|
|
82
82
|
"@testing-library/react": "13.3.0",
|
|
83
83
|
"@types/hoist-non-react-statics": "3.3.1",
|
|
84
|
-
"@types/jest": "28.1.
|
|
84
|
+
"@types/jest": "28.1.6",
|
|
85
85
|
"@types/mock-raf": "1.0.3",
|
|
86
|
-
"@types/react": "18.0.
|
|
86
|
+
"@types/react": "18.0.15",
|
|
87
87
|
"@types/react-dom": "18.0.6",
|
|
88
|
-
"@typescript-eslint/eslint-plugin": "5.
|
|
89
|
-
"@typescript-eslint/parser": "5.
|
|
88
|
+
"@typescript-eslint/eslint-plugin": "5.32.0",
|
|
89
|
+
"@typescript-eslint/parser": "5.32.0",
|
|
90
90
|
"babel-core": "6.26.3",
|
|
91
|
-
"eslint": "8.
|
|
91
|
+
"eslint": "8.21.0",
|
|
92
92
|
"eslint-config-prettier": "8.5.0",
|
|
93
93
|
"eslint-plugin-react": "7.30.1",
|
|
94
94
|
"eslint-plugin-react-hooks": "4.6.0",
|
|
95
95
|
"eslint-plugin-simple-import-sort": "7.0.0",
|
|
96
|
-
"jest": "28.1.
|
|
97
|
-
"jest-environment-jsdom": "28.1.
|
|
96
|
+
"jest": "28.1.3",
|
|
97
|
+
"jest-environment-jsdom": "28.1.3",
|
|
98
98
|
"mock-raf": "1.0.1",
|
|
99
99
|
"npm-run-all": "4.1.5",
|
|
100
100
|
"prettier": "2.7.1",
|
|
@@ -102,12 +102,12 @@
|
|
|
102
102
|
"react-dom": "18.2.0",
|
|
103
103
|
"react-test-renderer": "18.2.0",
|
|
104
104
|
"regenerator-runtime": "0.13.9",
|
|
105
|
-
"rollup": "2.
|
|
105
|
+
"rollup": "2.77.2",
|
|
106
106
|
"rollup-plugin-sourcemaps": "0.6.3",
|
|
107
107
|
"rollup-plugin-terser": "7.0.2",
|
|
108
108
|
"shx": "0.3.4",
|
|
109
|
-
"tanem-scripts": "6.0.
|
|
110
|
-
"ts-jest": "28.0.
|
|
109
|
+
"tanem-scripts": "6.0.55",
|
|
110
|
+
"ts-jest": "28.0.7",
|
|
111
111
|
"typescript": "4.7.4"
|
|
112
112
|
}
|
|
113
113
|
}
|