@ribajs/extras
Advanced tools
Comparing version 1.9.0-beta.1 to 1.9.0-beta.2
{ | ||
"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; |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
190468
27
72
3503
1
+ Added@ribajs/core@1.9.0-beta.2(transitive)
+ Added@ribajs/utils@1.9.0-beta.2(transitive)
- Removed@ribajs/core@1.9.0-beta.1(transitive)
- Removed@ribajs/utils@1.9.0-beta.1(transitive)
Updated@ribajs/core@1.9.0-beta.2
Updated@ribajs/utils@1.9.0-beta.2