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

transcroll

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

transcroll - npm Package Compare versions

Comparing version 1.2.0 to 1.2.1

10

index.js

@@ -89,7 +89,9 @@ var easings = {

var targetPosition = Math.max(0, Math.min(
typeof target === 'number' && target ||
typeof target === 'string' && (getPageOffset(select(target)) - getPageOffset()) ||
target instanceof Element && (getPageOffset(target) - getPageOffset()),
(
typeof target === 'number' && target ||
typeof target === 'string' && (getPageOffset(select(target)) - getPageOffset()) ||
target instanceof Element && (getPageOffset(target) - getPageOffset())
) + offset,
maxPosition()
)) + offset;
));

@@ -96,0 +98,0 @@ var data = {

2

package.json
{
"name": "transcroll",
"version": "1.2.0",
"version": "1.2.1",
"description": "Animate scroll in a modern way",

@@ -5,0 +5,0 @@ "homepage": "https://github.com/mrTimofey/transcroll",

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