This commit is contained in:
Leandro Facchinetti 2021-03-17 15:36:13 +00:00
parent 0b8a27952a
commit 2b4ca6d100
3 changed files with 27 additions and 6 deletions

26
package-lock.json generated
View File

@ -9,7 +9,7 @@
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"@leafac/css": "^0.0.1", "@leafac/css": "^0.0.1",
"@leafac/html": "^1.3.0", "@leafac/html": "^2.0.0",
"@leafac/sqlite": "^1.1.2", "@leafac/sqlite": "^1.1.2",
"@leafac/sqlite-migration": "^1.0.3", "@leafac/sqlite-migration": "^1.0.3",
"@small-tech/auto-encrypt": "^2.0.5", "@small-tech/auto-encrypt": "^2.0.5",
@ -903,7 +903,7 @@
"tagged-template-noop": "^2.1.1" "tagged-template-noop": "^2.1.1"
} }
}, },
"node_modules/@leafac/html": { "node_modules/@leafac/css/node_modules/@leafac/html": {
"version": "1.3.0", "version": "1.3.0",
"resolved": "https://registry.npmjs.org/@leafac/html/-/html-1.3.0.tgz", "resolved": "https://registry.npmjs.org/@leafac/html/-/html-1.3.0.tgz",
"integrity": "sha512-8j0WX1wziB8oP1wNJU3NscukXUI9rZoefOQYvHjEsb5C0tMFfoEhcb7V8rRt1+jOA5oNa8IyOyYwDZVrxHD/XA==", "integrity": "sha512-8j0WX1wziB8oP1wNJU3NscukXUI9rZoefOQYvHjEsb5C0tMFfoEhcb7V8rRt1+jOA5oNa8IyOyYwDZVrxHD/XA==",
@ -912,6 +912,15 @@
"sanitize-xml-string": "^1.1.0" "sanitize-xml-string": "^1.1.0"
} }
}, },
"node_modules/@leafac/html": {
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/@leafac/html/-/html-2.0.0.tgz",
"integrity": "sha512-ir2To38QSgDOs6QSc8lw+NA3I8amhQzkdw7K0OU5eQGcNppqcaPNjetG4gN/Psu8LqV3PUuaDUqIF6ku7JZBYg==",
"dependencies": {
"he": "^1.2.0",
"sanitize-xml-string": "^1.1.0"
}
},
"node_modules/@leafac/sqlite": { "node_modules/@leafac/sqlite": {
"version": "1.1.2", "version": "1.1.2",
"resolved": "https://registry.npmjs.org/@leafac/sqlite/-/sqlite-1.1.2.tgz", "resolved": "https://registry.npmjs.org/@leafac/sqlite/-/sqlite-1.1.2.tgz",
@ -9884,8 +9893,8 @@
"postcss": "^8.2.7", "postcss": "^8.2.7",
"postcss-nested": "^5.0.4", "postcss-nested": "^5.0.4",
"tagged-template-noop": "^2.1.1" "tagged-template-noop": "^2.1.1"
}
}, },
"dependencies": {
"@leafac/html": { "@leafac/html": {
"version": "1.3.0", "version": "1.3.0",
"resolved": "https://registry.npmjs.org/@leafac/html/-/html-1.3.0.tgz", "resolved": "https://registry.npmjs.org/@leafac/html/-/html-1.3.0.tgz",
@ -9894,6 +9903,17 @@
"he": "^1.2.0", "he": "^1.2.0",
"sanitize-xml-string": "^1.1.0" "sanitize-xml-string": "^1.1.0"
} }
}
}
},
"@leafac/html": {
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/@leafac/html/-/html-2.0.0.tgz",
"integrity": "sha512-ir2To38QSgDOs6QSc8lw+NA3I8amhQzkdw7K0OU5eQGcNppqcaPNjetG4gN/Psu8LqV3PUuaDUqIF6ku7JZBYg==",
"requires": {
"he": "^1.2.0",
"sanitize-xml-string": "^1.1.0"
}
}, },
"@leafac/sqlite": { "@leafac/sqlite": {
"version": "1.1.2", "version": "1.1.2",

View File

@ -24,7 +24,7 @@
}, },
"dependencies": { "dependencies": {
"@leafac/css": "^0.0.1", "@leafac/css": "^0.0.1",
"@leafac/html": "^1.3.0", "@leafac/html": "^2.0.0",
"@leafac/sqlite": "^1.1.2", "@leafac/sqlite": "^1.1.2",
"@leafac/sqlite-migration": "^1.0.3", "@leafac/sqlite-migration": "^1.0.3",
"@small-tech/auto-encrypt": "^2.0.5", "@small-tech/auto-encrypt": "^2.0.5",

View File

@ -257,6 +257,7 @@ export default function killTheNewsletter(
placeholder="Newsletter name…" placeholder="Newsletter name…"
maxlength="500" maxlength="500"
required required
pattern=".*\S.*"
autocomplete="off" autocomplete="off"
autofocus autofocus
/> />