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.11.1 to 10.11.2

15

dist/index.js

@@ -1195,15 +1195,2 @@ function noop$1() { }

let supportsDocumentRoot;
function getDefaultRoot() {
if (supportsDocumentRoot === undefined) {
try {
new IntersectionObserver(noop, { root: document });
supportsDocumentRoot = true;
}
catch (e) {
supportsDocumentRoot = false;
}
}
return supportsDocumentRoot ? document : undefined;
}
const thresholds = {

@@ -1250,3 +1237,3 @@ any: 0,

const observer = new IntersectionObserver(onIntersectionChange, {
root: root || getDefaultRoot(),
root,
rootMargin,

@@ -1253,0 +1240,0 @@ threshold: typeof amount === "number" ? amount : thresholds[amount],

6

package.json
{
"name": "@motionone/svelte",
"version": "10.11.1",
"version": "10.11.2",
"description": "A tiny, performant animation library for Svelte",

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

"dependencies": {
"@motionone/dom": "^10.11.1",
"@motionone/dom": "^10.11.2",
"tslib": "^2.3.1"

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

},
"gitHead": "25a8e264f860ca7b52f857fa48d1242542699542"
"gitHead": "1dba049a7571f579e2d1221d8c1386350c29496a"
}

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