@tanem/react-nprogress
Advanced tools
Comparing version 5.0.37 to 5.0.38
@@ -102,2 +102,6 @@ 'use strict'; | ||
// Hat-tip: | ||
// https://github.com/streamich/react-use/blob/master/src/useEffectOnce.ts. | ||
// | ||
// `react-use` appears to be unmaintained, so moving the required code into | ||
// this project for now. | ||
var useEffectOnce = function useEffectOnce(effect) { | ||
@@ -140,2 +144,6 @@ // eslint-disable-next-line react-hooks/exhaustive-deps | ||
// Hat-tip: | ||
// https://github.com/streamich/react-use/blob/master/src/useUpdateEffect.ts. | ||
// | ||
// `react-use` appears to be unmaintained, so moving the required code into | ||
// this project for now. | ||
var useFirstMountState = function useFirstMountState() { | ||
@@ -142,0 +150,0 @@ var isFirst = React.useRef(true); |
@@ -82,2 +82,6 @@ import _objectWithoutPropertiesLoose from '@babel/runtime/helpers/objectWithoutPropertiesLoose'; | ||
// Hat-tip: | ||
// https://github.com/streamich/react-use/blob/master/src/useEffectOnce.ts. | ||
// | ||
// `react-use` appears to be unmaintained, so moving the required code into | ||
// this project for now. | ||
var useEffectOnce = function useEffectOnce(effect) { | ||
@@ -120,2 +124,6 @@ // eslint-disable-next-line react-hooks/exhaustive-deps | ||
// Hat-tip: | ||
// https://github.com/streamich/react-use/blob/master/src/useUpdateEffect.ts. | ||
// | ||
// `react-use` appears to be unmaintained, so moving the required code into | ||
// this project for now. | ||
var useFirstMountState = function useFirstMountState() { | ||
@@ -122,0 +130,0 @@ var isFirst = useRef(true); |
@@ -129,2 +129,6 @@ (function (global, factory) { | ||
// Hat-tip: | ||
// https://github.com/streamich/react-use/blob/master/src/useEffectOnce.ts. | ||
// | ||
// `react-use` appears to be unmaintained, so moving the required code into | ||
// this project for now. | ||
var useEffectOnce = function useEffectOnce(effect) { | ||
@@ -167,2 +171,6 @@ // eslint-disable-next-line react-hooks/exhaustive-deps | ||
// Hat-tip: | ||
// https://github.com/streamich/react-use/blob/master/src/useUpdateEffect.ts. | ||
// | ||
// `react-use` appears to be unmaintained, so moving the required code into | ||
// this project for now. | ||
var useFirstMountState = function useFirstMountState() { | ||
@@ -169,0 +177,0 @@ var isFirst = React.useRef(true); |
{ | ||
"name": "@tanem/react-nprogress", | ||
"version": "5.0.37", | ||
"version": "5.0.38", | ||
"description": "A React primitive for building slim progress bars.", | ||
@@ -73,3 +73,3 @@ "main": "dist/index.js", | ||
"devDependencies": { | ||
"@babel/core": "7.21.5", | ||
"@babel/core": "7.21.8", | ||
"@babel/plugin-transform-runtime": "7.21.4", | ||
@@ -88,9 +88,9 @@ "@babel/preset-env": "7.21.5", | ||
"@types/mock-raf": "1.0.3", | ||
"@types/node": "18.16.3", | ||
"@types/react": "18.2.0", | ||
"@types/react-dom": "18.2.1", | ||
"@typescript-eslint/eslint-plugin": "5.59.2", | ||
"@typescript-eslint/parser": "5.59.2", | ||
"@types/node": "18.16.6", | ||
"@types/react": "18.2.6", | ||
"@types/react-dom": "18.2.4", | ||
"@typescript-eslint/eslint-plugin": "5.59.5", | ||
"@typescript-eslint/parser": "5.59.5", | ||
"babel-core": "6.26.3", | ||
"eslint": "8.39.0", | ||
"eslint": "8.40.0", | ||
"eslint-config-prettier": "8.8.0", | ||
@@ -109,6 +109,6 @@ "eslint-plugin-react": "7.32.2", | ||
"regenerator-runtime": "0.13.11", | ||
"rollup": "3.21.3", | ||
"rollup": "3.21.5", | ||
"rollup-plugin-sourcemaps": "0.6.3", | ||
"shx": "0.3.4", | ||
"tanem-scripts": "7.0.3", | ||
"tanem-scripts": "7.0.4", | ||
"ts-jest": "29.1.0", | ||
@@ -115,0 +115,0 @@ "typescript": "5.0.4" |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
179083
1223