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

@motionone/svelte

Package Overview
Dependencies
Maintainers
2
Versions
50
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@motionone/svelte - npm Package Compare versions

Comparing version 10.10.0 to 10.10.1

17

dist/index.js

@@ -747,6 +747,7 @@ function noop$1() { }

}
const animationEasing = isEasingList(easing)
? noopReturn
: getEasingFunction(easing);
const totalDuration = duration * (repeat + 1);
const interpolate$1 = interpolate(keyframes, offset, isEasingList(easing)
? easing.map(getEasingFunction)
: getEasingFunction(easing));
const interpolate$1 = interpolate(keyframes, offset, isEasingList(easing) ? easing.map(getEasingFunction) : noopReturn);
this.tick = (timestamp) => {

@@ -804,3 +805,4 @@ var _a;

}
const latest = interpolate$1(t >= totalDuration ? 1 : Math.min(iterationProgress, 1));
const p = t >= totalDuration ? 1 : Math.min(iterationProgress, 1);
const latest = interpolate$1(animationEasing(p));
output(latest);

@@ -1381,4 +1383,2 @@ const isAnimationFinished = this.playState === "finished" || t >= totalDuration + endDelay;

target = {};
const resolvedVariants = {};
const enteringInto = {};
const animationOptions = {};

@@ -1391,3 +1391,2 @@ for (const name of stateTypes) {

continue;
resolvedVariants[name] = variant;
for (const key in variant) {

@@ -1398,6 +1397,2 @@ if (key === "transition")

animationOptions[key] = getOptions((_b = (_a = variant.transition) !== null && _a !== void 0 ? _a : options.transition) !== null && _b !== void 0 ? _b : {}, key);
/**
* Mark which state type this value is animating into.
*/
enteringInto[key] = name;
}

@@ -1404,0 +1399,0 @@ }

{
"name": "@motionone/svelte",
"version": "10.10.0",
"version": "10.10.1",
"description": "A tiny, performant animation library for Svelte",

@@ -17,3 +17,3 @@ "author": "Matt Perry",

"dependencies": {
"@motionone/dom": "^10.10.0",
"@motionone/dom": "^10.10.1",
"tslib": "^2.3.1"

@@ -34,3 +34,3 @@ },

},
"gitHead": "a405d387c402bd1b89a5ab27833c5b4612ee599a"
"gitHead": "80f2fa071ff960c9260bb70d12b09464e0076f91"
}

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