sistema creado v0.5.0
Some checks failed
build-and-push / deploy (push) Has been skipped
build-and-push / build (push) Failing after 6s

This commit is contained in:
2025-05-14 16:10:41 -06:00
parent b5e40cf4ac
commit 745168cf51
193 changed files with 7267 additions and 8789 deletions

View File

@@ -243,7 +243,7 @@ function format (obj) {
for (var i = 0; i < params.length; i++) {
param = params[i]
var val = param.slice(-1) === '*'
var val = param.substr(-1) === '*'
? ustring(parameters[param])
: qstring(parameters[param])
@@ -281,7 +281,6 @@ function decodefield (str) {
value = getlatin1(binary)
break
case 'utf-8':
case 'utf8':
value = Buffer.from(binary, 'binary').toString('utf8')
break
default:
@@ -333,7 +332,7 @@ function parse (string) {
var value
// calculate index to start at
index = PARAM_REGEXP.lastIndex = match[0].slice(-1) === ';'
index = PARAM_REGEXP.lastIndex = match[0].substr(-1) === ';'
? index - 1
: index
@@ -370,7 +369,7 @@ function parse (string) {
if (value[0] === '"') {
// remove quotes and escapes
value = value
.slice(1, -1)
.substr(1, value.length - 2)
.replace(QESC_REGEXP, '$1')
}