@tanem/react-nprogress
Advanced tools
Comparing version 3.0.79 to 3.0.80
@@ -22,5 +22,3 @@ 'use strict'; | ||
enumerable: true, | ||
get: function () { | ||
return e[k]; | ||
} | ||
get: function () { return e[k]; } | ||
}); | ||
@@ -30,3 +28,3 @@ } | ||
} | ||
n['default'] = e; | ||
n["default"] = e; | ||
return Object.freeze(n); | ||
@@ -212,3 +210,3 @@ } | ||
} else { | ||
setState(_extends__default['default']({}, initialState, { | ||
setState(_extends__default["default"]({}, initialState, { | ||
sideEffect: start | ||
@@ -228,3 +226,3 @@ })); | ||
var children = _ref.children, | ||
restProps = _objectWithoutPropertiesLoose__default['default'](_ref, _excluded); | ||
restProps = _objectWithoutPropertiesLoose__default["default"](_ref, _excluded); | ||
@@ -238,6 +236,6 @@ var renderProps = useNProgress(restProps); | ||
var hookProps = useNProgress(props); | ||
return /*#__PURE__*/React__namespace.createElement(BaseComponent, _extends__default['default']({}, props, hookProps)); | ||
return /*#__PURE__*/React__namespace.createElement(BaseComponent, _extends__default["default"]({}, props, hookProps)); | ||
}; | ||
hoistNonReactStatics__default['default'](WithNProgress, BaseComponent); | ||
hoistNonReactStatics__default["default"](WithNProgress, BaseComponent); | ||
return WithNProgress; | ||
@@ -244,0 +242,0 @@ } |
@@ -5,3 +5,3 @@ (function (global, factory) { | ||
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.NProgress = {}, global.React)); | ||
}(this, (function (exports, React) { 'use strict'; | ||
})(this, (function (exports, React) { 'use strict'; | ||
@@ -17,5 +17,3 @@ function _interopNamespace(e) { | ||
enumerable: true, | ||
get: function () { | ||
return e[k]; | ||
} | ||
get: function () { return e[k]; } | ||
}); | ||
@@ -25,3 +23,3 @@ } | ||
} | ||
n['default'] = e; | ||
n["default"] = e; | ||
return Object.freeze(n); | ||
@@ -783,3 +781,3 @@ } | ||
}))); | ||
})); | ||
//# sourceMappingURL=react-nprogress.umd.development.js.map |
{ | ||
"name": "@tanem/react-nprogress", | ||
"version": "3.0.79", | ||
"version": "3.0.80", | ||
"description": "A React primitive for building slim progress bars.", | ||
@@ -69,24 +69,24 @@ "main": "dist/index.js", | ||
"dependencies": { | ||
"@babel/runtime": "^7.15.3", | ||
"@babel/runtime": "^7.15.4", | ||
"hoist-non-react-statics": "^3.3.2", | ||
"prop-types": "^15.7.2", | ||
"react-use": "^17.2.4" | ||
"react-use": "^17.3.1" | ||
}, | ||
"devDependencies": { | ||
"@babel/core": "7.15.0", | ||
"@babel/core": "7.15.5", | ||
"@babel/plugin-proposal-class-properties": "7.14.5", | ||
"@babel/plugin-transform-runtime": "7.15.0", | ||
"@babel/preset-env": "7.15.0", | ||
"@babel/preset-env": "7.15.6", | ||
"@babel/preset-react": "7.14.5", | ||
"@babel/preset-typescript": "7.15.0", | ||
"@testing-library/react": "12.0.0", | ||
"@testing-library/react-hooks": "7.0.1", | ||
"@testing-library/react": "12.1.2", | ||
"@testing-library/react-hooks": "7.0.2", | ||
"@types/hoist-non-react-statics": "3.3.1", | ||
"@types/jest": "27.0.1", | ||
"@types/jest": "27.0.2", | ||
"@types/mock-raf": "1.0.3", | ||
"@types/prop-types": "15.7.4", | ||
"@types/react": "17.0.19", | ||
"@types/react": "17.0.27", | ||
"@types/react-dom": "17.0.9", | ||
"@typescript-eslint/eslint-plugin": "4.29.3", | ||
"@typescript-eslint/parser": "4.29.3", | ||
"@typescript-eslint/eslint-plugin": "4.33.0", | ||
"@typescript-eslint/parser": "4.33.0", | ||
"babel-core": "6.26.3", | ||
@@ -97,9 +97,9 @@ "babel-plugin-transform-react-remove-prop-types": "0.4.24", | ||
"eslint-config-prettier": "8.3.0", | ||
"eslint-plugin-react": "7.24.0", | ||
"eslint-plugin-react": "7.26.1", | ||
"eslint-plugin-react-hooks": "4.2.0", | ||
"eslint-plugin-simple-import-sort": "7.0.0", | ||
"jest": "27.0.6", | ||
"jest": "27.2.4", | ||
"mock-raf": "1.0.1", | ||
"npm-run-all": "4.1.5", | ||
"prettier": "2.3.2", | ||
"prettier": "2.4.1", | ||
"react": "17.0.2", | ||
@@ -109,3 +109,3 @@ "react-dom": "17.0.2", | ||
"regenerator-runtime": "0.13.9", | ||
"rollup": "2.56.3", | ||
"rollup": "2.58.0", | ||
"rollup-plugin-babel": "4.4.0", | ||
@@ -120,3 +120,3 @@ "rollup-plugin-commonjs": "10.1.0", | ||
"shx": "0.3.3", | ||
"tanem-scripts": "6.0.29", | ||
"tanem-scripts": "6.0.35", | ||
"ts-jest": "27.0.5", | ||
@@ -123,0 +123,0 @@ "typescript": "4.3.5" |
@@ -101,2 +101,3 @@ # react-nprogress | ||
- Original Design: [Source](https://github.com/tanem/react-nprogress/tree/master/examples/original-design) | [Sandbox](https://codesandbox.io/s/github/tanem/react-nprogress/tree/master/examples/original-design) | ||
- Plain JS: [Source](https://github.com/tanem/react-nprogress/tree/master/examples/plain-js) | [Sandbox](https://codesandbox.io/s/github/tanem/react-nprogress/tree/master/examples/plain-js) | ||
- Reach Router: [Source](https://github.com/tanem/react-nprogress/tree/master/examples/reach-router) | [Sandbox](https://codesandbox.io/s/github/tanem/react-nprogress/tree/master/examples/reach-router) | ||
@@ -103,0 +104,0 @@ - React Router: [Source](https://github.com/tanem/react-nprogress/tree/master/examples/react-router) | [Sandbox](https://codesandbox.io/s/github/tanem/react-nprogress/tree/master/examples/react-router) |
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
185151
212
1155
Updated@babel/runtime@^7.15.4
Updatedreact-use@^17.3.1