Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

next-page-transitions

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

next-page-transitions - npm Package Compare versions

Comparing version 1.0.0-alpha.5 to 1.0.0-alpha.6

15

lib/PageTransition.js

@@ -336,3 +336,3 @@ "use strict";

classNames: _propTypes.default.string.isRequired,
timeout: _PropTypes.timeoutsShape.isRequired,
timeout: process.env.NODE_ENV !== "production" ? _PropTypes.timeoutsShape.isRequired : null,
loadingComponent: _propTypes.default.element,

@@ -345,9 +345,12 @@ loadingDelay: _propTypes.default.number,

var pt = _PropTypes.timeoutsShape;
if (props.loadingComponent) pt = pt.isRequired;
for (var _len2 = arguments.length, args = new Array(_len2 > 1 ? _len2 - 1 : 0), _key2 = 1; _key2 < _len2; _key2++) {
args[_key2 - 1] = arguments[_key2];
if (props.loadingComponent && process.env.NODE_ENV !== "production") {
pt = pt.isRequired;
for (var _len2 = arguments.length, args = new Array(_len2 > 1 ? _len2 - 1 : 0), _key2 = 1; _key2 < _len2; _key2++) {
args[_key2 - 1] = arguments[_key2];
}
return pt.apply(void 0, [props].concat(args));
}
return pt.apply(void 0, [props].concat(args));
},

@@ -354,0 +357,0 @@ loadingClassNames: function loadingClassNames(props) {

2

package.json
{
"name": "next-page-transitions",
"version": "1.0.0-alpha.5",
"version": "1.0.0-alpha.6",
"description": "Simple and customizable page transitions for Next.js apps",

@@ -5,0 +5,0 @@ "main": "lib/index.js",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc