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

@ribajs/extras

Package Overview
Dependencies
Maintainers
2
Versions
61
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ribajs/extras - npm Package Compare versions

Comparing version 1.9.0-beta.1 to 1.9.0-beta.2

dist/binders/data-scroll-position-y.binder.d.ts

48

package.json
{
"name": "@ribajs/extras",
"description": "Extras module for Riba.js",
"version": "1.9.0-beta.1",
"version": "1.9.0-beta.2",
"author": "Pascal Garber <pascal@artandcode.studio>",

@@ -28,7 +28,12 @@ "contributors": [],

"build:module": "tsc",
"packages:npm:link": "npm link @ribajs/core"
"packages:npm:link": "npm link @ribajs/core",
"clean": "rm -rf ./dist ./lib"
},
"files": [
"/src",
"/dist"
],
"devDependencies": {
"@babel/cli": "^7.11.6",
"@babel/core": "^7.11.6",
"@babel/cli": "^7.12.0",
"@babel/core": "^7.12.0",
"@babel/plugin-proposal-class-properties": "^7.10.4",

@@ -38,26 +43,27 @@ "@babel/plugin-proposal-export-default-from": "^7.10.4",

"@babel/plugin-syntax-dynamic-import": "^7.8.3",
"@babel/preset-env": "^7.11.5",
"@babel/preset-typescript": "^7.10.4",
"@babel/runtime-corejs3": "^7.11.2",
"@ribajs/eslint-config": "1.9.0-beta.1",
"@types/jest": "^26.0.13",
"@typescript-eslint/eslint-plugin": "^3.10.1",
"@typescript-eslint/parser": "^3.10.1",
"@babel/preset-env": "^7.12.0",
"@babel/preset-typescript": "^7.12.0",
"@babel/runtime-corejs3": "^7.12.0",
"@ribajs/eslint-config": "1.9.0-beta.2",
"@ribajs/tsconfig": "1.9.0-beta.2",
"@types/jest": "^26.0.14",
"@typescript-eslint/eslint-plugin": "^4.4.1",
"@typescript-eslint/parser": "^4.4.1",
"babel-loader": "^8.1.0",
"babel-plugin-array-includes": "^2.0.3",
"core-js": "^3.6.5",
"eslint": "^7.8.1",
"eslint-config-prettier": "^6.11.0",
"eslint": "^7.11.0",
"eslint-config-prettier": "^6.12.0",
"eslint-plugin-prettier": "^3.1.4",
"jest": "^26.4.2",
"jest": "^26.5.3",
"jest-extended": "^0.11.5",
"prettier": "^2.1.1",
"ts-jest": "^26.3.0",
"typescript": "^4.0.2",
"webpack": "^5.0.0-beta.22",
"webpack-cli": "^3.3.12"
"prettier": "^2.1.2",
"ts-jest": "^26.4.1",
"typescript": "^4.0.3",
"webpack": "^5.1.2",
"webpack-cli": "^4.0.0"
},
"dependencies": {
"@ribajs/core": "1.9.0-beta.1",
"@ribajs/utils": "1.9.0-beta.1"
"@ribajs/core": "1.9.0-beta.2",
"@ribajs/utils": "1.9.0-beta.2"
},

@@ -64,0 +70,0 @@ "bugs": {

@@ -76,11 +76,13 @@ import { Utils } from "./utils.service";

public checkDraggable() {
console.debug("checkDraggable");
return throttle(() => {
if (Utils.isScrollable(this.el)) {
this.el.classList.add("draggable");
} else {
this.el.classList.remove("draggable");
}
this.el.classList.remove("draggable");
})();
}
protected onMouseDown<EventListener>(e: MouseEvent) {
protected onMouseDown(e: MouseEvent) {
this.pushed = true;

@@ -91,7 +93,7 @@ this.lastClientX = e.clientX;

protected onMouseUp<EventListener>() {
protected onMouseUp() {
this.pushed = false;
}
protected onMouseMove<EventListener>(e: MouseEvent) {
protected onMouseMove(e: MouseEvent) {
let newScrollX = 0;

@@ -98,0 +100,0 @@ let newScrollY = 0;

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