Socket
Socket
Sign inDemoInstall

@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.6.0-rc.4 to 10.6.0-rc.5

15

dist/index.js

@@ -697,9 +697,10 @@ function noop$1() { }

const totalDuration = duration * (repeat + 1);
/**
* We don't currently support custom easing (spring, glide etc) in Animation
* (although this is completely possible), so this will have been hydrated by
* animateStyle.
*/
if (isEasingGenerator(easing))
easing = "ease";
if (isEasingGenerator(easing)) {
const custom = easing.createAnimation(keyframes, () => "0", true);
easing = custom.easing;
if (custom.keyframes !== undefined)
keyframes = custom.keyframes;
if (custom.duration !== undefined)
duration = custom.duration;
}
const interpolate$1 = interpolate(keyframes, offset, isEasingList(easing)

@@ -706,0 +707,0 @@ ? easing.map(getEasingFunction)

{
"name": "@motionone/svelte",
"version": "10.6.0-rc.4",
"version": "10.6.0-rc.5",
"description": "A tiny, performant animation library for Svelte",

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

"dependencies": {
"@motionone/dom": "^10.6.0-rc.4",
"@motionone/dom": "^10.6.0-rc.5",
"tslib": "^2.3.1"

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

},
"gitHead": "e7a396e4a128cae6885d0a1a9abdc04c510d1a56"
"gitHead": "6fc943b6f24709de235d1bff0fb09e0f71de2bfb"
}

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