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

minitel-standalone

Package Overview
Dependencies
Maintainers
0
Versions
54
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

minitel-standalone - npm Package Compare versions

Comparing version 2.3.0 to 2.3.1

7

dist/abstract/minitelobject.js

@@ -146,2 +146,9 @@ import { EventEmitter } from 'node:events';

const scrollablePos = this.minitel.mapLocationWrapper({}, {}, pathToScrollable, 0);
// DEAR FUTURE ME,
// IS YOUR SCROLLINTOVIEW BUGGED AFTER ADDING PADDING TO INHERITANCE?
// WELL MAYBE IF YOUR RETARDED ASS DID NOT DO THAT IT WOULD NOT BREAK
// - Love, Juliet
const scrollableFullPad = padding.normalise(context.attributes.pad || 0);
scrollablePos.y -= scrollableFullPad[0];
scrollablePos.x -= scrollableFullPad[3];
const [relY, relX] = [thisPos.y - scrollablePos.y, thisPos.x - scrollablePos.x];

@@ -148,0 +155,0 @@ if (relY < 0) {

3

dist/components/scrollable.js

@@ -181,5 +181,6 @@ import { RichChar } from '../richchar.js';

}
const location = nextNode.mapLocationWrapper(inheritMe, renderAttributes, nodes, weAt);
const location = nextNode.mapLocationWrapper(inheritMe, { width: renderAttributes.width, height: renderAttributes.height }, nodes, weAt);
location.x -= this.scrollDelta[1];
location.y -= this.scrollDelta[0];
console.log(location);
return location;

@@ -186,0 +187,0 @@ }

{
"name": "minitel-standalone",
"version": "2.3.0",
"version": "2.3.1",
"description": "A standalone package for minitel components",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

@@ -214,2 +214,11 @@ import { EventEmitter } from 'node:events';

// DEAR FUTURE ME,
// IS YOUR SCROLLINTOVIEW BUGGED AFTER ADDING PADDING TO INHERITANCE?
// WELL MAYBE IF YOUR RETARDED ASS DID NOT DO THAT IT WOULD NOT BREAK
// - Love, Juliet
const scrollableFullPad = padding.normalise(context.attributes.pad || 0);
scrollablePos.y -= scrollableFullPad[0];
scrollablePos.x -= scrollableFullPad[3];
const [relY, relX] = [thisPos.y - scrollablePos.y, thisPos.x - scrollablePos.x];

@@ -216,0 +225,0 @@

@@ -222,6 +222,7 @@ import { Focusable } from '../abstract/focusable.js';

const location = nextNode.mapLocationWrapper(inheritMe, renderAttributes, nodes, weAt);
const location = nextNode.mapLocationWrapper(inheritMe, { width: renderAttributes.width, height: renderAttributes.height }, nodes, weAt);
location.x -= this.scrollDelta[1];
location.y -= this.scrollDelta[0];
console.log(location);
return location;

@@ -228,0 +229,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