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

universal-transition

Package Overview
Dependencies
Maintainers
1
Versions
96
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

universal-transition - npm Package Compare versions

Comparing version 0.0.14 to 0.0.15

7

dist/transition.js
;(function(fn) {
if (typeof define === "function") {
// CommonJS first that could rename module name by wrap another define in air
if (typeof exports === "object" && typeof module !== "undefined") {
module.exports = fn();
} else if (typeof define === "function") {
define("universal-transition", function(require, exports, module){
module.exports = fn();
});
} else if (typeof exports === "object" && typeof module !== "undefined") {
module.exports = fn();
} else {

@@ -10,0 +11,0 @@ var root;

@@ -1,2 +0,2 @@

!function(e){if("function"==typeof define)define("universal-transition",function(n,t,o){o.exports=e()});else if("object"==typeof exports&&"undefined"!=typeof module)module.exports=e();else{var n;n="undefined"!=typeof window?window:"undefined"!=typeof self?self:"undefined"!=typeof global?global:this,n.Transition=e()}}(function(){return function(e){function n(o){if(t[o])return t[o].exports;var i=t[o]={exports:{},id:o,loaded:!1};return e[o].call(i.exports,i,i.exports,n),i.loaded=!0,i.exports}var t={};return n.m=e,n.c=t,n.p="",n(0)}([function(e,n,t){"use strict";function o(e,n,o,r){if("function"!=typeof o&&null!=o||(r=o,o={timingFunction:"ease",duration:0,delay:0}),i.isWeex){var f=t(2);f.transition(e.ref,{styles:n,timingFunction:o.timingFunction,delay:o.delay,duration:o.duration},r||function(){})}else if(i.isWeb){var s=o.duration,u=o.timingFunction,a=o.delay,d="all "+s+"ms "+u+" "+a+"ms";e.style.transition=d,e.style.webkitTransition=d,r&&!function(){var n=function n(t){t.stopPropagation(),e.removeEventListener("webkitTransitionEnd",n),e.removeEventListener("transitionend",n),e.style.transition="",e.style.webkitTransition="",r()};e.addEventListener("webkitTransitionEnd",n),e.addEventListener("transitionend",n)}();for(var l in n){var y=n[l];e.style[l]=y}}}Object.defineProperty(n,"__esModule",{value:!0}),n.default=o;var i=t(1)},function(e,n){"use strict";var t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};Object.defineProperty(n,"__esModule",{value:!0});var o="function"==typeof Symbol&&"symbol"===t(Symbol.iterator)?function(e){return"undefined"==typeof e?"undefined":t(e)}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":"undefined"==typeof e?"undefined":t(e)};n.isWeb="object"===("undefined"==typeof navigator?"undefined":o(navigator))&&("Mozilla"===navigator.appCodeName||"Gecko"===navigator.product),n.isNode="undefined"!=typeof process&&!(!process.versions||!process.versions.node),n.isWeex="function"==typeof callNative,n.isReactNative="undefined"!=typeof __fbBatchedBridgeConfig},function(e,n){e.exports=require("@weex-module/animation")}])});
!function(e){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=e();else if("function"==typeof define)define("universal-transition",function(n,t,o){o.exports=e()});else{var n;n="undefined"!=typeof window?window:"undefined"!=typeof self?self:"undefined"!=typeof global?global:this,n.Transition=e()}}(function(){return function(e){function n(o){if(t[o])return t[o].exports;var i=t[o]={exports:{},id:o,loaded:!1};return e[o].call(i.exports,i,i.exports,n),i.loaded=!0,i.exports}var t={};return n.m=e,n.c=t,n.p="",n(0)}([function(e,n,t){"use strict";function o(e,n,o,r){if("function"!=typeof o&&null!=o||(r=o,o={timingFunction:"ease",duration:0,delay:0}),i.isWeex){var f=t(2);f.transition(e.ref,{styles:n,timingFunction:o.timingFunction,delay:o.delay,duration:o.duration},r||function(){})}else if(i.isWeb){var s=o.duration,u=o.timingFunction,a=o.delay,d="all "+s+"ms "+u+" "+a+"ms";e.style.transition=d,e.style.webkitTransition=d,r&&!function(){var n=function n(t){t.stopPropagation(),e.removeEventListener("webkitTransitionEnd",n),e.removeEventListener("transitionend",n),e.style.transition="",e.style.webkitTransition="",r()};e.addEventListener("webkitTransitionEnd",n),e.addEventListener("transitionend",n)}();for(var l in n){var y=n[l];e.style[l]=y}}}Object.defineProperty(n,"__esModule",{value:!0}),n.default=o;var i=t(1)},function(e,n){"use strict";var t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};Object.defineProperty(n,"__esModule",{value:!0});var o="function"==typeof Symbol&&"symbol"===t(Symbol.iterator)?function(e){return"undefined"==typeof e?"undefined":t(e)}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":"undefined"==typeof e?"undefined":t(e)};n.isWeb="object"===("undefined"==typeof navigator?"undefined":o(navigator))&&("Mozilla"===navigator.appCodeName||"Gecko"===navigator.product),n.isNode="undefined"!=typeof process&&!(!process.versions||!process.versions.node),n.isWeex="function"==typeof callNative,n.isReactNative="undefined"!=typeof __fbBatchedBridgeConfig},function(e,n){e.exports=require("@weex-module/animation")}])});
//# sourceMappingURL=transition.min.map
{
"name": "universal-transition",
"version": "0.0.14",
"version": "0.0.15",
"description": "A universal transition API.",

@@ -16,4 +16,4 @@ "license": "BSD-3-Clause",

"dependencies": {
"universal-env": "^0.0.14"
"universal-env": "^0.0.15"
}
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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