minitel-standalone
Advanced tools
Comparing version 1.9.5 to 1.9.6
@@ -114,3 +114,3 @@ import { MinitelObject } from '../abstract/minitelobject.js'; | ||
default: | ||
if (/^[a-zA-Z0-9,\.';\-\:?!"#$%&\(\)\[\]<>@+=*/ ]$/g.test(key) || (key === '\x0d' && this.attributes.multiline)) { | ||
if (/^[a-zA-Z0-9,\.';\-\:?!"#$%&\(\)\[\]\{\}<>@+=*/ ]$/g.test(key) || (key === '\x0d' && this.attributes.multiline)) { | ||
const lines = this.value.split('\n'); | ||
@@ -117,0 +117,0 @@ let cumulPosition = lines.filter((_, i) => i < this.cursorActuallyAt[0]).reduce((p, v) => p + v.length + 1, 0); |
@@ -98,3 +98,3 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { | ||
this.emit('key', acc); | ||
if (acc.match(/^([a-zA-Z0-9,\.';\-\:?!"#$%&\(\)\[\]<>@+=*/ ]|\x0d|\x13\x47|\x1b\x5b[\x41\x42\x43\x44])$/g)) { | ||
if (acc.match(/^([a-zA-Z0-9,\.';\-\:?!"#$%&\(\)\[\]\{\}<>@+=*/ ]|\x0d|\x13\x47|\x1b\x5b[\x41\x42\x43\x44])$/g)) { | ||
const focusedObj = this.focusedObj; | ||
@@ -101,0 +101,0 @@ if (focusedObj) { |
{ | ||
"name": "minitel-standalone", | ||
"version": "1.9.5", | ||
"version": "1.9.6", | ||
"description": "A standalone package for minitel components", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
@@ -145,3 +145,3 @@ import { Focusable, FocusableAttributes } from '../abstract/focusable.js'; | ||
default: | ||
if (/^[a-zA-Z0-9,\.';\-\:?!"#$%&\(\)\[\]<>@+=*/ ]$/g.test(key) || (key === '\x0d' && this.attributes.multiline)) { | ||
if (/^[a-zA-Z0-9,\.';\-\:?!"#$%&\(\)\[\]\{\}<>@+=*/ ]$/g.test(key) || (key === '\x0d' && this.attributes.multiline)) { | ||
const lines = this.value.split('\n'); | ||
@@ -148,0 +148,0 @@ |
@@ -137,3 +137,3 @@ import { Duplex } from 'stream'; | ||
this.emit('key', acc); | ||
if (acc.match(/^([a-zA-Z0-9,\.';\-\:?!"#$%&\(\)\[\]<>@+=*/ ]|\x0d|\x13\x47|\x1b\x5b[\x41\x42\x43\x44])$/g)) { | ||
if (acc.match(/^([a-zA-Z0-9,\.';\-\:?!"#$%&\(\)\[\]\{\}<>@+=*/ ]|\x0d|\x13\x47|\x1b\x5b[\x41\x42\x43\x44])$/g)) { | ||
const focusedObj = this.focusedObj; | ||
@@ -140,0 +140,0 @@ if (focusedObj) { |
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
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
213617