New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@acanto/core-scroll

Package Overview
Dependencies
Maintainers
1
Versions
73
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@acanto/core-scroll - npm Package Compare versions

Comparing version 0.0.19 to 0.0.20

15

between/index.js

@@ -85,6 +85,6 @@ // TODO: use ScrollTrigger?

// efficiently update sizes on resize
listenResize(calculate);
const listenerResize = listenResize(calculate);
// bind debounced on scroll
listenScroll(check);
const listenerScroll = listenScroll(check);

@@ -94,2 +94,13 @@ // and do it immediately

check();
return {
destroy() {
if (listenerResize) listenerResize();
if (listenerScroll) listenerScroll();
if (target) {
target.classList.remove(className + suffixOut);
target.classList.remove(className + suffixIn);
}
},
};
}

10

package.json
{
"name": "@acanto/core-scroll",
"version": "0.0.19",
"version": "0.0.20",
"author": "Acanto <info@acanto.net> (https://acanto.agency/)",

@@ -15,6 +15,6 @@ "license": "ISC",

"dependencies": {
"@acanto/core-detect": "^0.0.8",
"@acanto/core-dom": "^0.0.8",
"@acanto/core-detect": "^0.0.9",
"@acanto/core-dom": "^0.0.9",
"@acanto/core-helpers": "^0.0.12",
"@acanto/core-polyfills": "^0.0.8",
"@acanto/core-polyfills": "^0.0.9",
"@terwanerik/scrolltrigger": "1.0.4",

@@ -26,3 +26,3 @@ "aos": "3.0.0-beta.6",

"sideEffects": false,
"gitHead": "1ce8da151d0ae02fced26b99049bfe2c5d624730"
"gitHead": "0d1abd0044d2280a10ebeb961f933cd95db60686"
}
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