Merge branch 'release-1.18'

This commit is contained in:
antelle 2021-05-14 21:02:12 +02:00
commit d590318153
No known key found for this signature in database
GPG Key ID: 63C9777AAB7C563C
7 changed files with 26 additions and 20 deletions

View File

@ -7,6 +7,8 @@
}], }],
"@babel/plugin-proposal-optional-catch-binding", "@babel/plugin-proposal-optional-catch-binding",
"@babel/plugin-proposal-optional-chaining", "@babel/plugin-proposal-optional-chaining",
"@babel/plugin-proposal-nullish-coalescing-operator",
"@babel/plugin-proposal-logical-assignment-operators",
"@babel/plugin-external-helpers" "@babel/plugin-external-helpers"
] ]
} }

View File

@ -24,7 +24,7 @@ A clear and concise description of what you expected to happen.
If applicable, add screenshots to help explain your problem. If applicable, add screenshots to help explain your problem.
**Environment** **Environment**
Your user-agent (from Settings/Help section) Please copy all version information from Settings/Help
**Kdbx File** **Kdbx File**
Does it happen on Demo or New database? Does it happen on Demo or New database?

View File

@ -6,8 +6,8 @@ const ExpectedFieldRefByteLength = ExpectedFieldRefChars.length;
kdbxweb.ProtectedValue.prototype.isProtected = true; kdbxweb.ProtectedValue.prototype.isProtected = true;
kdbxweb.ProtectedValue.prototype.forEachChar = function (fn) { kdbxweb.ProtectedValue.prototype.forEachChar = function (fn) {
const value = this._value; const value = this.value;
const salt = this._salt; const salt = this.salt;
let b, b1, b2, b3; let b, b1, b2, b3;
for (let i = 0, len = value.length; i < len; i++) { for (let i = 0, len = value.length; i < len; i++) {
b = value[i] ^ salt[i]; b = value[i] ^ salt[i];
@ -154,7 +154,7 @@ kdbxweb.ProtectedValue.prototype.equals = function (other) {
return false; return false;
} }
for (let i = 0; i < len; i++) { for (let i = 0; i < len; i++) {
if ((this._value[i] ^ this._salt[i]) !== (other._value[i] ^ other._salt[i])) { if ((this.value[i] ^ this.salt[i]) !== (other.value[i] ^ other.salt[i])) {
return false; return false;
} }
} }
@ -181,8 +181,8 @@ kdbxweb.ProtectedValue.prototype.saltedValue = function () {
if (!this.byteLength) { if (!this.byteLength) {
return 0; return 0;
} }
const value = this._value; const value = this.value;
const salt = this._salt; const salt = this.salt;
let salted = ''; let salted = '';
for (let i = 0, len = value.length; i < len; i++) { for (let i = 0, len = value.length; i < len; i++) {
const byte = value[i] ^ salt[i]; const byte = value[i] ^ salt[i];
@ -193,8 +193,8 @@ kdbxweb.ProtectedValue.prototype.saltedValue = function () {
kdbxweb.ProtectedValue.prototype.dataAndSalt = function () { kdbxweb.ProtectedValue.prototype.dataAndSalt = function () {
return { return {
data: [...this._value], data: [...this.value],
salt: [...this._salt] salt: [...this.salt]
}; };
}; };

View File

@ -1,6 +1,6 @@
{ {
"name": "KeeWeb", "name": "KeeWeb",
"version": "1.18.4", "version": "1.18.5",
"description": "Free cross-platform password manager compatible with KeePass", "description": "Free cross-platform password manager compatible with KeePass",
"main": "main.js", "main": "main.js",
"homepage": "https://keeweb.info", "homepage": "https://keeweb.info",

18
package-lock.json generated
View File

@ -1,11 +1,11 @@
{ {
"name": "keeweb", "name": "keeweb",
"version": "1.18.4", "version": "1.18.5",
"lockfileVersion": 2, "lockfileVersion": 2,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"version": "1.18.3", "version": "1.18.4",
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"@babel/core": "^7.14.0", "@babel/core": "^7.14.0",
@ -67,7 +67,7 @@
"jquery": "3.6.0", "jquery": "3.6.0",
"json-loader": "^0.5.7", "json-loader": "^0.5.7",
"jsqrcode": "github:antelle/jsqrcode#0.1.3", "jsqrcode": "github:antelle/jsqrcode#0.1.3",
"kdbxweb": "^2.0.1", "kdbxweb": "^2.0.3",
"load-grunt-tasks": "5.1.0", "load-grunt-tasks": "5.1.0",
"lodash": "^4.17.21", "lodash": "^4.17.21",
"marked": "^2.0.3", "marked": "^2.0.3",
@ -11706,9 +11706,9 @@
} }
}, },
"node_modules/kdbxweb": { "node_modules/kdbxweb": {
"version": "2.0.1", "version": "2.0.3",
"resolved": "https://registry.npmjs.org/kdbxweb/-/kdbxweb-2.0.1.tgz", "resolved": "https://registry.npmjs.org/kdbxweb/-/kdbxweb-2.0.3.tgz",
"integrity": "sha512-ewghBv4gAGkUgtPv+qELC7U+qA5U6msKYod4UDtCrrAA4taEm13VSdZGxp2iBeIhkh/bciHmRlvtVoSTlLL+1g==", "integrity": "sha512-VKaYAQiTqxPmn55IcUDzdZsV1+1k4onBHe+Ip7t5xs7JxkGT++tmPwIFE+D3smzjTQ63fUEJ+P7t3o+xIbC/6A==",
"dependencies": { "dependencies": {
"pako": "github:keeweb/pako#653c0b00d8941c89d09ed4546d2179001ec44efc", "pako": "github:keeweb/pako#653c0b00d8941c89d09ed4546d2179001ec44efc",
"xmldom": "github:keeweb/xmldom#ec8f61f723e2f403adaf7a1bbf55ced4ff1ea0c6" "xmldom": "github:keeweb/xmldom#ec8f61f723e2f403adaf7a1bbf55ced4ff1ea0c6"
@ -29846,9 +29846,9 @@
} }
}, },
"kdbxweb": { "kdbxweb": {
"version": "2.0.1", "version": "2.0.3",
"resolved": "https://registry.npmjs.org/kdbxweb/-/kdbxweb-2.0.1.tgz", "resolved": "https://registry.npmjs.org/kdbxweb/-/kdbxweb-2.0.3.tgz",
"integrity": "sha512-ewghBv4gAGkUgtPv+qELC7U+qA5U6msKYod4UDtCrrAA4taEm13VSdZGxp2iBeIhkh/bciHmRlvtVoSTlLL+1g==", "integrity": "sha512-VKaYAQiTqxPmn55IcUDzdZsV1+1k4onBHe+Ip7t5xs7JxkGT++tmPwIFE+D3smzjTQ63fUEJ+P7t3o+xIbC/6A==",
"requires": { "requires": {
"pako": "github:keeweb/pako#653c0b00d8941c89d09ed4546d2179001ec44efc", "pako": "github:keeweb/pako#653c0b00d8941c89d09ed4546d2179001ec44efc",
"xmldom": "github:keeweb/xmldom#ec8f61f723e2f403adaf7a1bbf55ced4ff1ea0c6" "xmldom": "github:keeweb/xmldom#ec8f61f723e2f403adaf7a1bbf55ced4ff1ea0c6"

View File

@ -1,6 +1,6 @@
{ {
"name": "keeweb", "name": "keeweb",
"version": "1.18.4", "version": "1.18.5",
"description": "Free cross-platform password manager compatible with KeePass", "description": "Free cross-platform password manager compatible with KeePass",
"main": "Gruntfile.js", "main": "Gruntfile.js",
"private": true, "private": true,
@ -69,7 +69,7 @@
"jquery": "3.6.0", "jquery": "3.6.0",
"json-loader": "^0.5.7", "json-loader": "^0.5.7",
"jsqrcode": "github:antelle/jsqrcode#0.1.3", "jsqrcode": "github:antelle/jsqrcode#0.1.3",
"kdbxweb": "^2.0.1", "kdbxweb": "^2.0.3",
"load-grunt-tasks": "5.1.0", "load-grunt-tasks": "5.1.0",
"lodash": "^4.17.21", "lodash": "^4.17.21",
"marked": "^2.0.3", "marked": "^2.0.3",

View File

@ -1,5 +1,9 @@
Release notes Release notes
------------- -------------
##### v1.18.5 (2021-05-14)
`-` fix #1816: old Chromium support, such as Android Edge
`-` fix #1817: crash on files with large attachments as KDBX3
##### v1.18.4 (2021-05-12) ##### v1.18.4 (2021-05-12)
`+` #1814: option to disable auto-type title filter by default `+` #1814: option to disable auto-type title filter by default
`-` #1808: restore KeeWeb from system tray on extension request `-` #1808: restore KeeWeb from system tray on extension request