New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

@cocreate/scroll

Package Overview
Dependencies
Maintainers
1
Versions
208
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@cocreate/scroll - npm Package Compare versions

Comparing version
1.13.3
to
1.13.4
+7
-0
CHANGELOG.md

@@ -0,1 +1,8 @@

## [1.13.4](https://github.com/CoCreate-app/CoCreate-scroll/compare/v1.13.3...v1.13.4) (2025-09-07)
### Bug Fixes
* improve scroll event handling by adding checks for values before updating attributes ([6411e3c](https://github.com/CoCreate-app/CoCreate-scroll/commit/6411e3cfed01ce2d135352a1b31b090b067a90e2))
## [1.13.3](https://github.com/CoCreate-app/CoCreate-scroll/compare/v1.13.2...v1.13.3) (2025-05-01)

@@ -2,0 +9,0 @@

+1
-9
{
"name": "@cocreate/scroll",
"version": "1.13.3",
"version": "1.13.4",
"description": "A simple scroll component in vanilla javascript. Easily configured using HTML5 attributes and/or JavaScript API.",
"keywords": [
"scroll",
"cocreate",
"low-code-framework",
"no-code-framework",
"cocreatejs",
"cocreatejs-component",
"cocreate-framework",
"no-code",
"low-code",
"collaborative-framework",
"realtime",

@@ -17,0 +9,0 @@ "realtime-framework",

@@ -201,3 +201,3 @@ import Observer from "@cocreate/observer";

let newTime = new Date().getTime();
if (!info.datetime || newTime - info.datetime > 200) {
if ((values && !info.datetime) || newTime - info.datetime > 200) {
info["datetime"] = newTime;

@@ -216,5 +216,6 @@

if (scrollY <= this.delta) {
this.__removeAttrbuteValue(element, attrName, values[0]);
this.__removeAttrbuteValue(element, attrName, values[1]);
if (values) {
this.__removeAttrbuteValue(element, attrName, values[0]);
this.__removeAttrbuteValue(element, attrName, values[1]);
}
this.__addAttributeValue(element, attrName, scrollTop);

@@ -221,0 +222,0 @@ } else {