From 95d539587adbdb6d835d3a50e13fabb5ec92c623 Mon Sep 17 00:00:00 2001 From: Mo Date: Fri, 20 May 2022 12:00:33 -0500 Subject: [PATCH] chore: upgrade deps --- .../Components/NoteView/NoteView.tsx | 5 +- package.json | 8 +- yarn.lock | 136 ++++++++---------- 3 files changed, 65 insertions(+), 84 deletions(-) diff --git a/app/assets/javascripts/Components/NoteView/NoteView.tsx b/app/assets/javascripts/Components/NoteView/NoteView.tsx index b77f5fe3f..2f6d9475b 100644 --- a/app/assets/javascripts/Components/NoteView/NoteView.tsx +++ b/app/assets/javascripts/Components/NoteView/NoteView.tsx @@ -36,6 +36,7 @@ import { AttachedFilesButton } from '@/Components/AttachedFilesPopover/AttachedF const MINIMUM_STATUS_DURATION = 400 const TEXTAREA_DEBOUNCE = 100 +const NOTE_EDITING_DISABLED_TEXT = 'Note editing disabled.' type NoteStatus = { message?: string @@ -151,7 +152,7 @@ export class NoteView extends PureComponent { editorText: '', editorTitle: '', isDesktop: isDesktopApplication(), - lockText: 'Note Editing Disabled', + lockText: NOTE_EDITING_DISABLED_TEXT, noteStatus: undefined, noteLocked: this.controller.note.locked, showLockedIcon: true, @@ -922,7 +923,7 @@ export class NoteView extends PureComponent { className="flex items-center px-3.5 py-2 bg-warning cursor-pointer" onMouseLeave={() => { this.setState({ - lockText: 'Note Editing Disabled', + lockText: NOTE_EDITING_DISABLED_TEXT, showLockedIcon: true, }) }} diff --git a/package.json b/package.json index 75fb38ed0..e424295c9 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "standard-notes-web", - "version": "3.20.0", + "version": "3.20.1", "license": "AGPL-3.0-or-later", "repository": { "type": "git", @@ -70,11 +70,11 @@ "@reach/tooltip": "^0.16.2", "@reach/visually-hidden": "^0.16.0", "@standardnotes/components": "1.8.1", - "@standardnotes/filepicker": "1.14.9", + "@standardnotes/filepicker": "1.14.12", "@standardnotes/icons": "^1.1.7", - "@standardnotes/services": "^1.12.0", + "@standardnotes/services": "^1.12.2", "@standardnotes/sncrypto-web": "1.10.1", - "@standardnotes/snjs": "2.110.0", + "@standardnotes/snjs": "2.110.3", "@standardnotes/stylekit": "5.27.1", "@zip.js/zip.js": "^2.4.10", "mobx": "^6.5.0", diff --git a/yarn.lock b/yarn.lock index f3ee63082..5b1903a7d 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2303,58 +2303,49 @@ eslint-plugin-prettier "^4.0.0" prettier "^2.6.2" -"@standardnotes/domain-events@^2.28.7": - version "2.28.7" - resolved "https://registry.yarnpkg.com/@standardnotes/domain-events/-/domain-events-2.28.7.tgz#e24298d1f986e895e9f294dbe61d072bc7750c44" - integrity sha512-nDoqrxQm16X6hLF/v0wzt5z9PYwPgK+9erYekI38XhvW3ZcuWmG3W20rQD4qwg5wf8ojqDJelrdp//lH78/nTg== +"@standardnotes/domain-events@^2.28.8": + version "2.28.8" + resolved "https://registry.yarnpkg.com/@standardnotes/domain-events/-/domain-events-2.28.8.tgz#7df9ea426b6723c0517c23e94853358b437a8cf9" + integrity sha512-OQuEWoVWyVBMdXAJtokGzQbhaRKVAs4/zShcSQLVhHHujoUIGJE9hJVu7uH4LqgPnLZ/tlaZGRylXWmK+7wSXQ== dependencies: "@standardnotes/auth" "^3.18.16" - "@standardnotes/features" "^1.44.0" + "@standardnotes/features" "^1.44.1" -"@standardnotes/encryption@^1.7.10": - version "1.7.10" - resolved "https://registry.yarnpkg.com/@standardnotes/encryption/-/encryption-1.7.10.tgz#793e9337c7516995f56edd80515dad9860a95b56" - integrity sha512-3F5MADNq9EbhouSKI5CrvqbH78zUcCJNP+HnOJPclUtXGbnIr2X70EuRPgeNjQs62179RnCjiN5zVwc+6URO3g== +"@standardnotes/encryption@^1.7.12": + version "1.7.12" + resolved "https://registry.yarnpkg.com/@standardnotes/encryption/-/encryption-1.7.12.tgz#01edca2e84949ce64a0d3c05e438f89bc40b8e38" + integrity sha512-QOtYzdPOZhldBQ2t4C6bwBUvxsycyEfBzd/ii9UGknl1TovRR01a+B2A1DqeN8oQxBecvUC5B9Uxhxfsiq2efw== dependencies: - "@standardnotes/models" "^1.8.6" - "@standardnotes/responses" "^1.6.23" - "@standardnotes/services" "^1.12.0" + "@standardnotes/models" "^1.8.8" + "@standardnotes/responses" "^1.6.24" + "@standardnotes/services" "^1.12.2" -"@standardnotes/features@^1.44.0": - version "1.44.0" - resolved "https://registry.yarnpkg.com/@standardnotes/features/-/features-1.44.0.tgz#9063683d707e6506afe9c5af4f2e6a4a3edfeeeb" - integrity sha512-abrojnSxTVQWwM9LLe0I/3ty3nI5eUYwXz2OELTu+ZVAT0/GojMZ6xQTv8ThthiRvUhiuz12nauNDuWzlY7Cnw== +"@standardnotes/features@^1.44.1": + version "1.44.1" + resolved "https://registry.yarnpkg.com/@standardnotes/features/-/features-1.44.1.tgz#49ae92babbf29b2bc5608ccac5a1e2aa026d5b0b" + integrity sha512-++2moW5tY6bv6ahin9rP9ay3UEezhktJR5LOILx6ZsuM4KUvx2trBapxpzzTysPVvW2zuiWWeJq82M4d4ChOEw== dependencies: "@standardnotes/auth" "^3.18.16" "@standardnotes/common" "^1.21.0" -"@standardnotes/filepicker@1.14.9": - version "1.14.9" - resolved "https://registry.yarnpkg.com/@standardnotes/filepicker/-/filepicker-1.14.9.tgz#daf1586a7147166dba259a04a17248c69e5b12ca" - integrity sha512-Iv0H3NeTmO88k8oesPJY3LRuhfOyyvh4pYp+eD19he91JHNK87K97fdmIc2fa2JkFccW1TthX+1VP/nbUt3YyQ== +"@standardnotes/filepicker@1.14.12", "@standardnotes/filepicker@^1.14.12": + version "1.14.12" + resolved "https://registry.yarnpkg.com/@standardnotes/filepicker/-/filepicker-1.14.12.tgz#ded6526f11ad7cb3309a1dc23955235350d35bef" + integrity sha512-GYIc8f0eVDJfvWV2bagRq4oJ2Uj0XJ5lemf4EReZzPK0MTpqmqvCJrlYd8WzVc8OYBaWNNUwP6qs8Esop2wuRg== dependencies: "@standardnotes/common" "^1.21.0" - "@standardnotes/services" "^1.11.9" + "@standardnotes/services" "^1.12.2" "@standardnotes/utils" "^1.6.9" -"@standardnotes/filepicker@^1.14.10": - version "1.14.10" - resolved "https://registry.yarnpkg.com/@standardnotes/filepicker/-/filepicker-1.14.10.tgz#4452120d6296839bfe25f6c564fbcd04c7ff2159" - integrity sha512-srSzW/ciS4Tuj/GV3Ox1+EyZC5DU17SVtmR8YNO4sDvjq4LwCTB+9+IkKA2pY0IcOyeHtjvOh2VsoqsNiZr9DQ== +"@standardnotes/files@^1.1.13": + version "1.1.13" + resolved "https://registry.yarnpkg.com/@standardnotes/files/-/files-1.1.13.tgz#0bc4a67c6a43538cf5fbbd2e8c34a72c5cdef61e" + integrity sha512-jEsz5+MbM3dKY3xPfjQ+FIz+0bzA2/e80hnmsqX0dzaMuYXtpEFuTG4gpkaSoGCLRm9vqJPUmgXf736s7+bs7g== dependencies: - "@standardnotes/common" "^1.21.0" - "@standardnotes/services" "^1.12.0" - "@standardnotes/utils" "^1.6.9" - -"@standardnotes/files@^1.1.11": - version "1.1.11" - resolved "https://registry.yarnpkg.com/@standardnotes/files/-/files-1.1.11.tgz#1d1a00ed047ec54e30f4b3a000c8b970c1d2a562" - integrity sha512-E/Ap3yoU21oT/dT4Fv++3oPEd7Vt7+v+oE6CambhwHj4ziq8rgl47zVkIfXbvdWmfJTbejdTxb+aCBE984HQTw== - dependencies: - "@standardnotes/encryption" "^1.7.10" - "@standardnotes/models" "^1.8.6" - "@standardnotes/responses" "^1.6.23" - "@standardnotes/services" "^1.12.0" + "@standardnotes/encryption" "^1.7.12" + "@standardnotes/models" "^1.8.8" + "@standardnotes/responses" "^1.6.24" + "@standardnotes/services" "^1.12.2" "@standardnotes/utils" "^1.6.9" "@standardnotes/icons@^1.1.7": @@ -2362,44 +2353,33 @@ resolved "https://registry.yarnpkg.com/@standardnotes/icons/-/icons-1.1.7.tgz#4523d8e2e3aa34d0e921df802d54c0babe054279" integrity sha512-yHB/KInj7qSmtnUqtTo6CPttu+2+oAwdANfjE3a69sgS7nVBxUuwSHHxb9xUOKpJBmipFjJi5F0YVF9kLmHiwg== -"@standardnotes/models@^1.8.6": - version "1.8.6" - resolved "https://registry.yarnpkg.com/@standardnotes/models/-/models-1.8.6.tgz#8200590020a6be5055866764b35c76f541c709ef" - integrity sha512-PndE968Rf6QAm0ATZ5zo7jQIlIjDJ2ydTS+B5tXxfFH75GkMrwqI4JAL2/do3hA55B7+wwVvqFewqx3u1uZV4Q== +"@standardnotes/models@^1.8.8": + version "1.8.8" + resolved "https://registry.yarnpkg.com/@standardnotes/models/-/models-1.8.8.tgz#a086b597a4da9169add163fa4770f1afb40d8598" + integrity sha512-H/7BGU8wdkFNcQLhemdKUDmqoC5CacfVOU0uctTjXdOwW7PKMhtV2g7Fvj8lWWtnOYW86bKB7VV9uK7rgQcieQ== dependencies: - "@standardnotes/features" "^1.44.0" - "@standardnotes/responses" "^1.6.23" + "@standardnotes/features" "^1.44.1" + "@standardnotes/responses" "^1.6.24" "@standardnotes/utils" "^1.6.9" -"@standardnotes/responses@^1.6.23": - version "1.6.23" - resolved "https://registry.yarnpkg.com/@standardnotes/responses/-/responses-1.6.23.tgz#d2ab20e906f4dcc0bebe1d028bbf3dfe665dd817" - integrity sha512-npjf3xRVkaxk3Q8WrQhbEMlI8i2h2asSptw8DCtSIULAXaTgrLwJ8YY38pMyfa3O/laDX23l/hLoSKeF4p/lzw== +"@standardnotes/responses@^1.6.24": + version "1.6.24" + resolved "https://registry.yarnpkg.com/@standardnotes/responses/-/responses-1.6.24.tgz#4ba71a17b70b0ba70445cdec5d1fee66ee455888" + integrity sha512-XYZ0ndkLSoPAmsTig1ER6DdN+aFWge6DS4NRCw+bYXcKu73Km/r8F5Q44nOKIqj6Hvn0jDceD276UcUpesahqw== dependencies: "@standardnotes/auth" "^3.18.16" "@standardnotes/common" "^1.21.0" - "@standardnotes/features" "^1.44.0" + "@standardnotes/features" "^1.44.1" -"@standardnotes/services@^1.11.9": - version "1.11.9" - resolved "https://registry.yarnpkg.com/@standardnotes/services/-/services-1.11.9.tgz#9f25eeaf12df66eab1fb4eada9be9143424f7f13" - integrity sha512-N1Ij0c4JKnWXemCRa4qKiiuVmJJPqa1hkbxqXn6Zmstbfnl0DxAxE73Lx9qG/EEzE0yGw0uu51/U7pNQ613OLg== +"@standardnotes/services@^1.12.2": + version "1.12.2" + resolved "https://registry.yarnpkg.com/@standardnotes/services/-/services-1.12.2.tgz#efc52192ac63668b2de5bcc7c3a5d082b40d942c" + integrity sha512-n+taTbHxnA63bFgioJGCoAqASbk6CFlLzYQdaoV/vAyyVntN4vyuy9hb06ku6kl2vBQQbTJse7CPHe9W1istWQ== dependencies: "@standardnotes/auth" "^3.18.16" "@standardnotes/common" "^1.21.0" - "@standardnotes/models" "^1.8.6" - "@standardnotes/responses" "^1.6.23" - "@standardnotes/utils" "^1.6.9" - -"@standardnotes/services@^1.12.0": - version "1.12.0" - resolved "https://registry.yarnpkg.com/@standardnotes/services/-/services-1.12.0.tgz#4f0e7f95746780a477961a4033748e0f879cc1c8" - integrity sha512-2jV/U4RJhBMfRe/hvxdzghANd/yqF4pV7WeXj8v7iijTdkrb79zPlszdWtOoUHw4/HDAp4755BMTm/Pf99BL3A== - dependencies: - "@standardnotes/auth" "^3.18.16" - "@standardnotes/common" "^1.21.0" - "@standardnotes/models" "^1.8.6" - "@standardnotes/responses" "^1.6.23" + "@standardnotes/models" "^1.8.8" + "@standardnotes/responses" "^1.6.24" "@standardnotes/utils" "^1.6.9" "@standardnotes/settings@^1.14.3": @@ -2421,21 +2401,21 @@ buffer "^6.0.3" libsodium-wrappers "^0.7.9" -"@standardnotes/snjs@2.110.0": - version "2.110.0" - resolved "https://registry.yarnpkg.com/@standardnotes/snjs/-/snjs-2.110.0.tgz#463864bc7399a35bbf6d02d6251f6d7662cacd07" - integrity sha512-g24q4MtJluRYEq2kiEYoiWC1M9OiVb2QKHn90OqFaK10zKA1UjW71ns56mWIpF6eZy4vA8P1Mp+QYiUi3jgupw== +"@standardnotes/snjs@2.110.3": + version "2.110.3" + resolved "https://registry.yarnpkg.com/@standardnotes/snjs/-/snjs-2.110.3.tgz#ea9fc61598a8ddebac342e74f2cfb7fce45ac4f4" + integrity sha512-oXj0cSs+NxCHahqo3hYr/nGlOP0u+jPmsDDCUfG1XAOi/mftMTXTPeIWzNceNYVZNLoF/HmDME3zlcWn7WTXXw== dependencies: "@standardnotes/auth" "^3.18.16" "@standardnotes/common" "^1.21.0" - "@standardnotes/domain-events" "^2.28.7" - "@standardnotes/encryption" "^1.7.10" - "@standardnotes/features" "^1.44.0" - "@standardnotes/filepicker" "^1.14.10" - "@standardnotes/files" "^1.1.11" - "@standardnotes/models" "^1.8.6" - "@standardnotes/responses" "^1.6.23" - "@standardnotes/services" "^1.12.0" + "@standardnotes/domain-events" "^2.28.8" + "@standardnotes/encryption" "^1.7.12" + "@standardnotes/features" "^1.44.1" + "@standardnotes/filepicker" "^1.14.12" + "@standardnotes/files" "^1.1.13" + "@standardnotes/models" "^1.8.8" + "@standardnotes/responses" "^1.6.24" + "@standardnotes/services" "^1.12.2" "@standardnotes/settings" "^1.14.3" "@standardnotes/sncrypto-common" "^1.9.0" "@standardnotes/utils" "^1.6.9"