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

minitel-standalone

Package Overview
Dependencies
Maintainers
1
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 1.2.2 to 1.2.3

9

dist/components/input.js

@@ -91,3 +91,10 @@ "use strict";

if (this.cursorActuallyAt[0] !== 0 || this.cursorActuallyAt[1] !== 0) {
this.cursorActuallyAt[1] -= 1;
if (this.cursorActuallyAt[1] === 0) {
const lines = this.value.split('\n');
this.cursorActuallyAt[0] -= 1;
this.cursorActuallyAt[1] = lines[this.cursorActuallyAt[0]].length;
}
else {
this.cursorActuallyAt[1] -= 1;
}
this.lastFocusCursorX = this.cursorActuallyAt[1];

@@ -94,0 +101,0 @@ const lines = this.value.split('\n');

2

package.json
{
"name": "minitel-standalone",
"version": "1.2.2",
"version": "1.2.3",
"description": "A standalone package for minitel components",

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

@@ -123,3 +123,9 @@ import { Focusable, FocusableAttributes } from '../abstract/focusable.js';

if (this.cursorActuallyAt[0] !== 0 || this.cursorActuallyAt[1] !== 0) {
this.cursorActuallyAt[1] -= 1;
if (this.cursorActuallyAt[1] === 0) {
const lines = this.value.split('\n');
this.cursorActuallyAt[0] -= 1;
this.cursorActuallyAt[1] = lines[this.cursorActuallyAt[0]].length;
} else {
this.cursorActuallyAt[1] -= 1;
}
this.lastFocusCursorX = this.cursorActuallyAt[1];

@@ -126,0 +132,0 @@ const lines = this.value.split('\n');

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