chore: ugprade snjs deps (#898)

This commit is contained in:
Mo
2022-02-24 12:57:32 -06:00
committed by GitHub
parent 7fe0873bbb
commit c3d849d204
19 changed files with 163 additions and 182 deletions

View File

@@ -2,21 +2,22 @@ RAILS_ENV=development
PORT=3001 PORT=3001
WEB_CONCURRENCY=0 WEB_CONCURRENCY=0
RAILS_LOG_TO_STDOUT=true RAILS_LOG_TO_STDOUT=true
# Log Level options: "INFO" | "DEBUG" | "INFO" | "WARN" | "ERROR" | "FATAL" # Log Level options: "INFO" | "DEBUG" | "INFO" | "WARN" | "ERROR" | "FATAL"
RAILS_LOG_LEVEL=INFO RAILS_LOG_LEVEL=INFO
RAILS_SERVE_STATIC_FILES=true RAILS_SERVE_STATIC_FILES=true
SECRET_KEY_BASE=test SECRET_KEY_BASE=test
BUGSNAG_API_KEY=
APP_HOST=http://localhost:3001 APP_HOST=http://localhost:3001
PURCHASE_URL=https://standardnotes.com/purchase PURCHASE_URL=https://standardnotes.com/purchase
PLANS_URL=https://standardnotes.com/plans PLANS_URL=https://standardnotes.com/plans
DASHBOARD_URL=http://standardnotes.com/dashboard DASHBOARD_URL=http://standardnotes.com/dashboard
DEFAULT_SYNC_SERVER=http://localhost:3000 DEFAULT_SYNC_SERVER=http://localhost:3000
WEBSOCKET_URL=wss://sockets-dev.standardnotes.com
# Development options
DEV_DEFAULT_SYNC_SERVER=https://api.standardnotes.com
ENABLE_UNFINISHED_FEATURES=false ENABLE_UNFINISHED_FEATURES=false
DEV_WEBSOCKET_URL=wss://sockets-dev.standardnotes.com
# NewRelic (Optional) # NewRelic (Optional)
NEW_RELIC_ENABLED=false NEW_RELIC_ENABLED=false

View File

@@ -2,25 +2,18 @@
declare global { declare global {
interface Window { interface Window {
// eslint-disable-next-line camelcase bugsnagApiKey?: string;
_bugsnag_api_key?: string; dashboardUrl?: string;
// eslint-disable-next-line camelcase defaultFilesHost: string;
_purchase_url?: string; defaultSyncServer: string;
// eslint-disable-next-line camelcase devAccountEmail?: string;
_plans_url?: string; devAccountPassword?: string;
// eslint-disable-next-line camelcase devAccountServer?: string;
_dashboard_url?: string; enabledUnfinishedFeatures: boolean;
// eslint-disable-next-line camelcase plansUrl?: string;
_default_sync_server: string; purchaseUrl?: string;
// eslint-disable-next-line camelcase
_enable_unfinished_features: boolean;
// eslint-disable-next-line camelcase
_websocket_url: string;
startApplication?: StartApplication; startApplication?: StartApplication;
websocketUrl: string;
_devAccountEmail?: string;
_devAccountPassword?: string;
_devAccountServer?: string;
} }
} }
@@ -37,6 +30,7 @@ import { isDev } from './utils';
const startApplication: StartApplication = async function startApplication( const startApplication: StartApplication = async function startApplication(
defaultSyncServerHost: string, defaultSyncServerHost: string,
defaultFilesHostHost: string,
bridge: Bridge, bridge: Bridge,
enableUnfinishedFeatures: boolean, enableUnfinishedFeatures: boolean,
webSocketUrl: string webSocketUrl: string
@@ -46,6 +40,7 @@ const startApplication: StartApplication = async function startApplication(
const mainApplicationGroup = new ApplicationGroup( const mainApplicationGroup = new ApplicationGroup(
defaultSyncServerHost, defaultSyncServerHost,
defaultFilesHostHost,
bridge, bridge,
enableUnfinishedFeatures ? Runtime.Dev : Runtime.Prod, enableUnfinishedFeatures ? Runtime.Dev : Runtime.Prod,
webSocketUrl webSocketUrl
@@ -79,10 +74,11 @@ const startApplication: StartApplication = async function startApplication(
if (IsWebPlatform) { if (IsWebPlatform) {
startApplication( startApplication(
window._default_sync_server, window.defaultSyncServer,
window.defaultFilesHost,
new BrowserBridge(WebAppVersion), new BrowserBridge(WebAppVersion),
window._enable_unfinished_features, window.enabledUnfinishedFeatures,
window._websocket_url window.websocketUrl
); );
} else { } else {
window.startApplication = startApplication; window.startApplication = startApplication;

View File

@@ -37,9 +37,9 @@ export const SignInPane: FunctionComponent<Props> = observer(
if (emailInputRef?.current) { if (emailInputRef?.current) {
emailInputRef.current?.focus(); emailInputRef.current?.focus();
} }
if (isDev && window._devAccountEmail) { if (isDev && window.devAccountEmail) {
setEmail(window._devAccountEmail); setEmail(window.devAccountEmail);
setPassword(window._devAccountPassword as string); setPassword(window.devAccountPassword as string);
} }
}, []); }, []);

View File

@@ -30,8 +30,8 @@ export const PremiumFeaturesModal: FunctionalComponent<Props> = ({
const handleClick = () => { const handleClick = () => {
if (hasSubscription) { if (hasSubscription) {
openSubscriptionDashboard(application); openSubscriptionDashboard(application);
} else if (window._plans_url) { } else if (window.plansUrl) {
window.location.assign(window._plans_url); window.location.assign(window.plansUrl);
} }
}; };

View File

@@ -49,8 +49,8 @@ export const RevisionContentLocked: FunctionComponent<{
type="primary" type="primary"
label="Discover plans" label="Discover plans"
onClick={() => { onClick={() => {
if (window._plans_url) { if (window.plansUrl) {
window.location.assign(window._plans_url); window.location.assign(window.plansUrl);
} }
}} }}
/> />

View File

@@ -5,8 +5,6 @@ export function openSubscriptionDashboard(application: SNApplication): void {
if (!token) { if (!token) {
return; return;
} }
window.open( window.open(`${window.dashboardUrl}?subscription_token=${token}`);
`${window._dashboard_url}?subscription_token=${token}`
);
}); });
} }

View File

@@ -1,21 +1,24 @@
import { FunctionalComponent } from "preact"; import { FunctionalComponent } from 'preact';
import { LinkButton, Text } from '@/preferences/components'; import { LinkButton, Text } from '@/preferences/components';
import { Button } from '@/components/Button'; import { Button } from '@/components/Button';
import { WebApplication } from "@/ui_models/application"; import { WebApplication } from '@/ui_models/application';
import { useState } from "preact/hooks"; import { useState } from 'preact/hooks';
import { loadPurchaseFlowUrl } from "@/purchaseFlow/PurchaseFlowWrapper"; import { loadPurchaseFlowUrl } from '@/purchaseFlow/PurchaseFlowWrapper';
export const NoSubscription: FunctionalComponent<{ export const NoSubscription: FunctionalComponent<{
application: WebApplication; application: WebApplication;
}> = ({ application }) => { }> = ({ application }) => {
const [isLoadingPurchaseFlow, setIsLoadingPurchaseFlow] = useState(false); const [isLoadingPurchaseFlow, setIsLoadingPurchaseFlow] = useState(false);
const [purchaseFlowError, setPurchaseFlowError] = useState<string | undefined>(undefined); const [purchaseFlowError, setPurchaseFlowError] = useState<
string | undefined
>(undefined);
const onPurchaseClick = async () => { const onPurchaseClick = async () => {
const errorMessage = 'There was an error when attempting to redirect you to the subscription page.'; const errorMessage =
'There was an error when attempting to redirect you to the subscription page.';
setIsLoadingPurchaseFlow(true); setIsLoadingPurchaseFlow(true);
try { try {
if (!await loadPurchaseFlowUrl(application)) { if (!(await loadPurchaseFlowUrl(application))) {
setPurchaseFlowError(errorMessage); setPurchaseFlowError(errorMessage);
} }
} catch (e) { } catch (e) {
@@ -29,29 +32,25 @@ export const NoSubscription: FunctionalComponent<{
<> <>
<Text>You don't have a Standard Notes subscription yet.</Text> <Text>You don't have a Standard Notes subscription yet.</Text>
{isLoadingPurchaseFlow && ( {isLoadingPurchaseFlow && (
<Text> <Text>Redirecting you to the subscription page...</Text>
Redirecting you to the subscription page...
</Text>
)} )}
{purchaseFlowError && ( {purchaseFlowError && (
<Text className="color-danger"> <Text className="color-danger">{purchaseFlowError}</Text>
{purchaseFlowError}
</Text>
)} )}
<div className="flex"> <div className="flex">
<LinkButton <LinkButton
className="min-w-20 mt-3 mr-3" className="min-w-20 mt-3 mr-3"
label="Learn More" label="Learn More"
link={window._plans_url as string} link={window.plansUrl as string}
/> />
{application.hasAccount() && {application.hasAccount() && (
<Button <Button
className="min-w-20 mt-3" className="min-w-20 mt-3"
type="primary" type="primary"
label="Subscribe" label="Subscribe"
onClick={onPurchaseClick} onClick={onPurchaseClick}
/> />
} )}
</div> </div>
</> </>
); );

View File

@@ -16,11 +16,11 @@ export const getPurchaseFlowUrl = async (
const currentUrl = window.location.origin; const currentUrl = window.location.origin;
const successUrl = isDesktopApplication() ? `standardnotes://` : currentUrl; const successUrl = isDesktopApplication() ? `standardnotes://` : currentUrl;
if (application.noAccount()) { if (application.noAccount()) {
return `${window._purchase_url}/offline?&success_url=${successUrl}`; return `${window.purchaseUrl}/offline?&success_url=${successUrl}`;
} }
const token = await application.getNewSubscriptionToken(); const token = await application.getNewSubscriptionToken();
if (token) { if (token) {
return `${window._purchase_url}?subscription_token=${token}&success_url=${successUrl}`; return `${window.purchaseUrl}?subscription_token=${token}&success_url=${successUrl}`;
} }
return undefined; return undefined;
}; };

View File

@@ -25,7 +25,7 @@ export function startErrorReporting(): void {
*/ */
isNullOrUndefined(disableErrorReporting) || isNullOrUndefined(disableErrorReporting) ||
disableErrorReporting || disableErrorReporting ||
!window._bugsnag_api_key !window.bugsnagApiKey
) { ) {
SNLog.onError = console.error; SNLog.onError = console.error;
return; return;
@@ -41,7 +41,7 @@ export function startErrorReporting(): void {
} }
Bugsnag.start({ Bugsnag.start({
apiKey: window._bugsnag_api_key, apiKey: window.bugsnagApiKey,
appType: isDesktopApplication() ? 'desktop' : 'web', appType: isDesktopApplication() ? 'desktop' : 'web',
appVersion: getDesktopVersion() || WebAppVersion, appVersion: getDesktopVersion() || WebAppVersion,
collectUserIp: false, collectUserIp: false,

View File

@@ -1,8 +1,9 @@
import { Bridge } from "./services/bridge"; import { Bridge } from './services/bridge';
export type StartApplication = ( export type StartApplication = (
defaultSyncServerHost: string, defaultSyncServerHost: string,
defaultFilesHostHost: string,
bridge: Bridge, bridge: Bridge,
enableUnfinishedFeatures: boolean, enableUnfinishedFeatures: boolean,
webSocketUrl: string, webSocketUrl: string
) => Promise<void>; ) => Promise<void>;

View File

@@ -75,9 +75,9 @@ export class AccountMenuState {
this.appEventListeners.push( this.appEventListeners.push(
this.application.addEventObserver(async () => { this.application.addEventObserver(async () => {
runInAction(() => { runInAction(() => {
if (isDev && window._devAccountServer) { if (isDev && window.devAccountServer) {
this.setServer(window._devAccountServer); this.setServer(window.devAccountServer);
this.application.setCustomHost(window._devAccountServer); this.application.setCustomHost(window.devAccountServer);
} else { } else {
this.setServer(this.application.getHost()); this.setServer(this.application.getHost());
} }

View File

@@ -62,7 +62,7 @@ type ObserverCallback = (event: AppStateEvent, data?: any) => Promise<void>;
export class AppState { export class AppState {
readonly enableUnfinishedFeatures: boolean = readonly enableUnfinishedFeatures: boolean =
window?._enable_unfinished_features; window?.enabledUnfinishedFeatures;
application: WebApplication; application: WebApplication;
observers: ObserverCallback[] = []; observers: ObserverCallback[] = [];

View File

@@ -25,7 +25,7 @@ export const SMART_TAGS_FEATURE_NAME = 'Smart Tags';
*/ */
export class FeaturesState { export class FeaturesState {
readonly enableUnfinishedFeatures: boolean = readonly enableUnfinishedFeatures: boolean =
window?._enable_unfinished_features; window?.enabledUnfinishedFeatures;
_hasFolders = false; _hasFolders = false;
_hasSmartTags = false; _hasSmartTags = false;

View File

@@ -48,23 +48,24 @@ export class WebApplication extends SNApplication {
platform: Platform, platform: Platform,
identifier: string, identifier: string,
defaultSyncServerHost: string, defaultSyncServerHost: string,
defaultFilesHostHost: string,
public bridge: Bridge, public bridge: Bridge,
webSocketUrl: string, webSocketUrl: string,
runtime: Runtime runtime: Runtime
) { ) {
super( super({
bridge.environment, environment: bridge.environment,
platform, platform: platform,
deviceInterface, deviceInterface: deviceInterface,
WebCrypto, crypto: WebCrypto,
new AlertService(), alertService: new AlertService(),
identifier, identifier,
[], defaultHost: defaultSyncServerHost,
defaultSyncServerHost, defaultFilesHost: defaultFilesHostHost,
bridge.appVersion, appVersion: bridge.appVersion,
webSocketUrl, webSocketUrl: webSocketUrl,
runtime runtime,
); });
deviceInterface.setApplication(this); deviceInterface.setApplication(this);
this.noteControllerGroup = new NoteGroupController(this); this.noteControllerGroup = new NoteGroupController(this);
this.iconsController = new IconsController(); this.iconsController = new IconsController();

View File

@@ -20,6 +20,7 @@ import { ThemeManager } from '@/services/themeManager';
export class ApplicationGroup extends SNApplicationGroup { export class ApplicationGroup extends SNApplicationGroup {
constructor( constructor(
private defaultSyncServerHost: string, private defaultSyncServerHost: string,
private defaultFilesHostHost: string,
private bridge: Bridge, private bridge: Bridge,
private runtime: Runtime, private runtime: Runtime,
private webSocketUrl: string private webSocketUrl: string
@@ -50,6 +51,7 @@ export class ApplicationGroup extends SNApplicationGroup {
platform, platform,
descriptor.identifier, descriptor.identifier,
this.defaultSyncServerHost, this.defaultSyncServerHost,
this.defaultFilesHostHost,
this.bridge, this.bridge,
this.webSocketUrl, this.webSocketUrl,
this.runtime this.runtime

View File

@@ -31,13 +31,14 @@
<meta name="og:description" content="Standard Notes is an easy-to-use encrypted note-taking app for digitalists and professionals. Capture your notes, documents, and life's work all in one place."/> <meta name="og:description" content="Standard Notes is an easy-to-use encrypted note-taking app for digitalists and professionals. Capture your notes, documents, and life's work all in one place."/>
<script> <script>
window._default_sync_server = "<%= ENV['DEFAULT_SYNC_SERVER'] %>"; window.defaultSyncServer = "<%= ENV['DEFAULT_SYNC_SERVER'] %>";
window._bugsnag_api_key = "<%= ENV['BUGSNAG_API_KEY'] %>"; window.defaultFilesHost = "<%= ENV['DEFAULT_FILES_HOST'] %>";
window._enable_unfinished_features = "<%= ENV['ENABLE_UNFINISHED_FEATURES'] %>" === 'true'; window.bugsnagApiKey = "<%= ENV['BUGSNAG_API_KEY'] %>";
window._websocket_url = "<%= ENV['WEBSOCKET_URL'] %>"; window.enabledUnfinishedFeatures = "<%= ENV['ENABLE_UNFINISHED_FEATURES'] %>" === 'true';
window._purchase_url = "<%= ENV['PURCHASE_URL'] %>"; window.websocketUrl = "<%= ENV['WEBSOCKET_URL'] %>";
window._plans_url = "<%= ENV['PLANS_URL'] %>"; window.purchaseUrl = "<%= ENV['PURCHASE_URL'] %>";
window._dashboard_url = "<%= ENV['DASHBOARD_URL'] %>"; window.plansUrl = "<%= ENV['PLANS_URL'] %>";
window.dashboardUrl = "<%= ENV['DASHBOARD_URL'] %>";
</script> </script>
<% if Rails.env.development? %> <% if Rails.env.development? %>

View File

@@ -29,10 +29,11 @@
</head> </head>
<body <body
data-default-sync-server="<%= env.DEV_DEFAULT_SYNC_SERVER %>" data-default-sync-server="<%= env.DEFAULT_SYNC_SERVER %>"
data-bugsnag-api-key="<%= env.DEV_BUGSNAG_API_KEY %>" data-default-files-host="<%= env.DEFAULT_FILES_HOST %>"
data-bugsnag-api-key="<%= env.BUGSNAG_API_KEY %>"
data-enable-unfinished-features="<%= env.ENABLE_UNFINISHED_FEATURES %>" data-enable-unfinished-features="<%= env.ENABLE_UNFINISHED_FEATURES %>"
data-web-socket-url="<%= env.DEV_WEBSOCKET_URL %>" data-web-socket-url="<%= env.WEBSOCKET_URL %>"
data-purchase-url="<%= env.PURCHASE_URL %>" data-purchase-url="<%= env.PURCHASE_URL %>"
data-plans-url="<%= env.PLANS_URL %>" data-plans-url="<%= env.PLANS_URL %>"
data-dashboard-url="<%= env.DASHBOARD_URL %>" data-dashboard-url="<%= env.DASHBOARD_URL %>"
@@ -41,16 +42,17 @@
data-dev-account-server="<%= env.DEV_ACCOUNT_SERVER %>" data-dev-account-server="<%= env.DEV_ACCOUNT_SERVER %>"
> >
<script> <script>
window._default_sync_server = document.body.dataset.defaultSyncServer || "https://api.standardnotes.com"; window.defaultSyncServer = document.body.dataset.defaultSyncServer || "https://api.standardnotes.com";
window._bugsnag_api_key = document.body.dataset.bugsnagApiKey; window.defaultFilesHost = document.body.dataset.defaultFilesHost;
window._enable_unfinished_features = document.body.dataset.enableUnfinishedFeatures === 'true'; window.bugsnagApiKey = document.body.dataset.bugsnagApiKey;
window._websocket_url = document.body.dataset.webSocketUrl; window.enabledUnfinishedFeatures = document.body.dataset.enableUnfinishedFeatures === 'true';
window._purchase_url = document.body.dataset.purchaseUrl; window.websocketUrl = document.body.dataset.webSocketUrl;
window._plans_url = document.body.dataset.plansUrl; window.purchaseUrl = document.body.dataset.purchaseUrl;
window._dashboard_url = document.body.dataset.dashboardUrl; window.plansUrl = document.body.dataset.plansUrl;
window._devAccountEmail = document.body.dataset.devAccountEmail; window.dashboardUrl = document.body.dataset.dashboardUrl;
window._devAccountPassword = document.body.dataset.devAccountPassword; window.devAccountEmail = document.body.dataset.devAccountEmail;
window._devAccountServer = document.body.dataset.devAccountServer; window.devAccountPassword = document.body.dataset.devAccountPassword;
window.devAccountServer = document.body.dataset.devAccountServer;
</script> </script>
</body> </body>

View File

@@ -28,7 +28,7 @@
"@reach/disclosure": "^0.16.2", "@reach/disclosure": "^0.16.2",
"@reach/visually-hidden": "^0.16.0", "@reach/visually-hidden": "^0.16.0",
"@svgr/webpack": "^6.2.1", "@svgr/webpack": "^6.2.1",
"@types/jest": "^27.4.0", "@types/jest": "^27.4.1",
"@types/lodash": "^4.14.178", "@types/lodash": "^4.14.178",
"@types/react": "^17.0.39", "@types/react": "^17.0.39",
"@typescript-eslint/eslint-plugin": "^5.12.1", "@typescript-eslint/eslint-plugin": "^5.12.1",
@@ -76,11 +76,11 @@
"@reach/dialog": "^0.16.2", "@reach/dialog": "^0.16.2",
"@reach/listbox": "^0.16.2", "@reach/listbox": "^0.16.2",
"@reach/tooltip": "^0.16.2", "@reach/tooltip": "^0.16.2",
"@standardnotes/components": "1.7.5", "@standardnotes/components": "1.7.6",
"@standardnotes/features": "1.32.11", "@standardnotes/features": "1.32.12",
"@standardnotes/snjs": "2.63.1", "@standardnotes/snjs": "2.63.5",
"@standardnotes/settings": "^1.11.3", "@standardnotes/settings": "^1.11.3",
"@standardnotes/sncrypto-web": "1.7.0", "@standardnotes/sncrypto-web": "1.7.1",
"mobx": "^6.4.1", "mobx": "^6.4.1",
"mobx-react-lite": "^3.3.0", "mobx-react-lite": "^3.3.0",
"preact": "^10.6.6", "preact": "^10.6.6",

146
yarn.lock
View File

@@ -2366,80 +2366,80 @@
dependencies: dependencies:
"@sinonjs/commons" "^1.7.0" "@sinonjs/commons" "^1.7.0"
"@standardnotes/auth@^3.16.4": "@standardnotes/auth@^3.16.5":
version "3.16.4" version "3.16.5"
resolved "https://registry.yarnpkg.com/@standardnotes/auth/-/auth-3.16.4.tgz#6293bd67cdc4055229f1d520b6f44b39c6053a7a" resolved "https://registry.yarnpkg.com/@standardnotes/auth/-/auth-3.16.5.tgz#54e0ea92bdc124c22f1d064d7a209504108e28e0"
integrity sha512-2tHsDnwQgGD3pOzKuSjo4yj8hLjATb70jzFnEWoEpyCdHTuGys9qSBElfi672hU4vg+/nXaHpdVUuD5DPzLaXg== integrity sha512-lEKPs6n3Jor79fOia/88SiEST67FFmCBTLthE1dJtl+Vo8URRjh9VLO5HYfbjEqH3bgffhR6m8EGJGPdzz+NQQ==
dependencies: dependencies:
"@standardnotes/common" "^1.14.0" "@standardnotes/common" "^1.14.1"
jsonwebtoken "^8.5.1" jsonwebtoken "^8.5.1"
"@standardnotes/common@^1.14.0": "@standardnotes/common@^1.14.1":
version "1.14.0" version "1.14.1"
resolved "https://registry.yarnpkg.com/@standardnotes/common/-/common-1.14.0.tgz#c3b8e06fb8120524da8d135f2dc594998e5a5c3a" resolved "https://registry.yarnpkg.com/@standardnotes/common/-/common-1.14.1.tgz#4322001eea59a7bb427007902bfdec5b57cfc64d"
integrity sha512-QA8JhWty7y/N62jdLyWuXzsVvDDeFwcQAH/DB/g5Mmaqlz9VlKcsbRmVl4wHLG3ur6n5Qj68aOhzCQd0p7f/WA== integrity sha512-nRzLVMBk1L8aft6tVhK/ieDWa/rsRUzZzuclv94Mn1g0AJcqEqM0weziNIAfemdMIWpoZyhseJELD6pkWqQQeg==
"@standardnotes/components@1.7.5": "@standardnotes/components@1.7.6":
version "1.7.5" version "1.7.6"
resolved "https://registry.yarnpkg.com/@standardnotes/components/-/components-1.7.5.tgz#2f199350779a8f99e9e536223d318b822bdf369f" resolved "https://registry.yarnpkg.com/@standardnotes/components/-/components-1.7.6.tgz#6dcce572b32580a6df9091422d96c9c0b6917174"
integrity sha512-7nyrrcgPAkCf6pjbAIO8qOM+22KQU0jMCIDX3b4GAS1jXM7DJDy5Frnk3oMHd9NeFhnbf0TQH4Nz4uEeid6/HA== integrity sha512-5lSYNKpO1tQRD6PMOs0IVTmPhfUh33+h6HQZdbWyCmjUk99QE86cI6IC8LnPh5rjHKG+jkfwgVzBKrR3QS/eQw==
"@standardnotes/domain-events@^2.23.14": "@standardnotes/domain-events@^2.23.15":
version "2.23.14" version "2.23.15"
resolved "https://registry.yarnpkg.com/@standardnotes/domain-events/-/domain-events-2.23.14.tgz#733e340c6d42935c90858380d7721150d1804574" resolved "https://registry.yarnpkg.com/@standardnotes/domain-events/-/domain-events-2.23.15.tgz#ce568fb5d30b220d49a70878efbc9bbee769bdf5"
integrity sha512-DRPD0lGdVn/tbVyl97QGyyAcdUZd4qsETICCO882mG33HBN8Yc7st176U+izu3T5W3dlnTqE+MJUASj3UxVCvw== integrity sha512-wJAoad9oXmAz39KZwYowiYny1dnHX/AJXdCdLwKxpJErh0h+VQhEhT2bPnqdIxJ90MTvn9jALhKM9AGlMEl+Aw==
dependencies: dependencies:
"@standardnotes/auth" "^3.16.4" "@standardnotes/auth" "^3.16.5"
"@standardnotes/features" "^1.32.11" "@standardnotes/features" "^1.32.12"
"@standardnotes/features@1.32.11", "@standardnotes/features@^1.32.11": "@standardnotes/features@1.32.12", "@standardnotes/features@^1.32.12":
version "1.32.11" version "1.32.12"
resolved "https://registry.yarnpkg.com/@standardnotes/features/-/features-1.32.11.tgz#43417e541bdf0ce8a10dfd68e8073fc1338f1888" resolved "https://registry.yarnpkg.com/@standardnotes/features/-/features-1.32.12.tgz#20b52fa5b0c7c29feea9d9ebb12a10f87cb7ec75"
integrity sha512-ZheQibMz4t2A6LKWcTDDGc5760AnPLFnHFwsSp0O8YydI3yz+qjm3pFF8XNeAEwgSvOX1W1nlX3E/X5tCp5LgQ== integrity sha512-Xs5Ss8DWNLFWIMibFMO5GKGv/je7SAYr3lR6NvyQgKl4+bBxAVKqLgccWLodAXrNuOFoGAXBbG9R8PsFfYKlYw==
dependencies: dependencies:
"@standardnotes/auth" "^3.16.4" "@standardnotes/auth" "^3.16.5"
"@standardnotes/common" "^1.14.0" "@standardnotes/common" "^1.14.1"
"@standardnotes/services@^1.1.0": "@standardnotes/services@^1.1.1":
version "1.1.0" version "1.1.1"
resolved "https://registry.yarnpkg.com/@standardnotes/services/-/services-1.1.0.tgz#42f743f58fb4ab85627368ae6bcdf513079ef708" resolved "https://registry.yarnpkg.com/@standardnotes/services/-/services-1.1.1.tgz#96065a8144c6f0d7695d7aedb0e10b8a9341a1b0"
integrity sha512-r4lqUO30iHmjWodUTv+2D8xeCgpYFvJrNzR/pBIlZsAKMSjskxPyIUvBdQvHWs0o4vjf7ZedhpEwi68XwUqO3w== integrity sha512-wM15yy3fjzlyVQWi0t9l0CZCSTMzBYQMrZBaBItSnN7P76zDa1MvQ9g7yWyC91nYGCgihI+nmDdArle88/4gWw==
dependencies: dependencies:
"@standardnotes/common" "^1.14.0" "@standardnotes/common" "^1.14.1"
"@standardnotes/utils" "^1.1.1" "@standardnotes/utils" "^1.1.2"
"@standardnotes/settings@^1.11.3": "@standardnotes/settings@^1.11.3":
version "1.11.3" version "1.11.3"
resolved "https://registry.yarnpkg.com/@standardnotes/settings/-/settings-1.11.3.tgz#f7735da40807dab6eaf81cc82d8d30f5461d26d5" resolved "https://registry.yarnpkg.com/@standardnotes/settings/-/settings-1.11.3.tgz#f7735da40807dab6eaf81cc82d8d30f5461d26d5"
integrity sha512-95nqPYIZt57HMrymf4FTMDHOibM13AmV/8JEj7mPbIqcNKvVD486BURsaqpoBgkqB4Q43LbT8dfTrBPDgmIdxg== integrity sha512-95nqPYIZt57HMrymf4FTMDHOibM13AmV/8JEj7mPbIqcNKvVD486BURsaqpoBgkqB4Q43LbT8dfTrBPDgmIdxg==
"@standardnotes/sncrypto-common@^1.7.0": "@standardnotes/sncrypto-common@^1.7.1":
version "1.7.0" version "1.7.1"
resolved "https://registry.yarnpkg.com/@standardnotes/sncrypto-common/-/sncrypto-common-1.7.0.tgz#6ad96afeaa031c26e45cbaf527bb511b803f998d" resolved "https://registry.yarnpkg.com/@standardnotes/sncrypto-common/-/sncrypto-common-1.7.1.tgz#2feead118e83b605696b2bc46a0986cbf577f855"
integrity sha512-Dke13reJMLQFXa7y9EqZYEeZG5Ouy+32qWEsQISLjLRPrTuNwyNXee2mdPh6c9uNZxOQwrdHxVGfqzJ2iy3RpQ== integrity sha512-KAT/bZdbgLzDG8gOeuV07ObnYVE3kBoIK3dtRwlRfal3+BuiXE6JxaSblsophjTLG4i38/sBZ0Ex+UTZoebkug==
"@standardnotes/sncrypto-web@1.7.0": "@standardnotes/sncrypto-web@1.7.1":
version "1.7.0" version "1.7.1"
resolved "https://registry.yarnpkg.com/@standardnotes/sncrypto-web/-/sncrypto-web-1.7.0.tgz#e3a6e69019210f375ccf8b9abb789c7dd7147cf6" resolved "https://registry.yarnpkg.com/@standardnotes/sncrypto-web/-/sncrypto-web-1.7.1.tgz#8ccbd212a0afd4036d6048bd423b11f68fdafa38"
integrity sha512-7NM1QJjtdvmUlBeQLjZukg5LovKKhoM8oX/FLOnBgl04TqDSGtvx+HDncm+laCnHZkAJ6VCSmUUxgfs1sQzyPw== integrity sha512-oDAS8l6tWiCQNPxnI9i9P/5fud9jFIDz8/6MKeg+xsQ+HD+OUPES4c9a/5oz4ItY5gnYmYrEFLowv22gYFeKYg==
dependencies: dependencies:
"@standardnotes/sncrypto-common" "^1.7.0" "@standardnotes/sncrypto-common" "^1.7.1"
buffer "^6.0.3" buffer "^6.0.3"
libsodium-wrappers "^0.7.9" libsodium-wrappers "^0.7.9"
"@standardnotes/snjs@2.63.1": "@standardnotes/snjs@2.63.5":
version "2.63.1" version "2.63.5"
resolved "https://registry.yarnpkg.com/@standardnotes/snjs/-/snjs-2.63.1.tgz#0759be39e77304fcca11ea902aa9be7bb737e756" resolved "https://registry.yarnpkg.com/@standardnotes/snjs/-/snjs-2.63.5.tgz#eb5fab274bc576a610033d894a3853f116a5e584"
integrity sha512-d32CE7/yS+qEGlOfHTDc0NPzCFXPaK2zxlCi/j68R9lT/3LuV/uc1o9eNK9a5Fgcbtbk55vbW0rUYjQQVwUF8A== integrity sha512-vhmqsRJn6UXJW1DK6jF0awTXEI/EYt1jzk7t5xpwLSThVM12LgPi/5u2KGPg1Ke7HHq2pejU/3AWNx7cbzXujw==
dependencies: dependencies:
"@standardnotes/auth" "^3.16.4" "@standardnotes/auth" "^3.16.5"
"@standardnotes/common" "^1.14.0" "@standardnotes/common" "^1.14.1"
"@standardnotes/domain-events" "^2.23.14" "@standardnotes/domain-events" "^2.23.15"
"@standardnotes/features" "^1.32.11" "@standardnotes/features" "^1.32.12"
"@standardnotes/services" "^1.1.0" "@standardnotes/services" "^1.1.1"
"@standardnotes/settings" "^1.11.3" "@standardnotes/settings" "^1.11.3"
"@standardnotes/sncrypto-common" "^1.7.0" "@standardnotes/sncrypto-common" "^1.7.1"
"@standardnotes/utils" "^1.1.1" "@standardnotes/utils" "^1.1.2"
"@standardnotes/stylekit@5.9.0": "@standardnotes/stylekit@5.9.0":
version "5.9.0" version "5.9.0"
@@ -2451,12 +2451,12 @@
"@svgr/webpack" "^6.2.1" "@svgr/webpack" "^6.2.1"
prop-types "^15.7.2" prop-types "^15.7.2"
"@standardnotes/utils@^1.1.1": "@standardnotes/utils@^1.1.2":
version "1.1.1" version "1.1.2"
resolved "https://registry.yarnpkg.com/@standardnotes/utils/-/utils-1.1.1.tgz#a936edd328b4e10b43b11ffc8b1626a499fa6659" resolved "https://registry.yarnpkg.com/@standardnotes/utils/-/utils-1.1.2.tgz#5bc1919a3a90c61a34354275d9129f71a23ee34d"
integrity sha512-LaB1Y4arvwuABT0fybJ9At6pPEAwsDooaldYPuvqyfQAWdeqRCBMHxRDCX6yunrrwBwk7UoTie9MRw6DF1igwg== integrity sha512-D39U3S1XJIeLCRYnI98sBVWx0VcVYTfBNZTLU2K0ICRg2fvszQvyLRlFA4U7wf9x0QXsqVjORxAVcIiC5UoQPA==
dependencies: dependencies:
"@standardnotes/common" "^1.14.0" "@standardnotes/common" "^1.14.1"
dompurify "^2.3.4" dompurify "^2.3.4"
lodash "^4.17.19" lodash "^4.17.19"
@@ -2720,12 +2720,12 @@
dependencies: dependencies:
"@types/istanbul-lib-report" "*" "@types/istanbul-lib-report" "*"
"@types/jest@^27.4.0": "@types/jest@^27.4.1":
version "27.4.0" version "27.4.1"
resolved "https://registry.yarnpkg.com/@types/jest/-/jest-27.4.0.tgz#037ab8b872067cae842a320841693080f9cb84ed" resolved "https://registry.yarnpkg.com/@types/jest/-/jest-27.4.1.tgz#185cbe2926eaaf9662d340cc02e548ce9e11ab6d"
integrity sha512-gHl8XuC1RZ8H2j5sHv/JqsaxXkDDM9iDOgu0Wp8sjs4u/snb2PVehyWXJPr+ORA0RPpgw231mnutWI1+0hgjIQ== integrity sha512-23iPJADSmicDVrWk+HT58LMJtzLAnB2AgIzplQuq/bSrGaxCrlvRFjGbXmamnnk/mAmCdLStiGqggu28ocUyiw==
dependencies: dependencies:
jest-diff "^27.0.0" jest-matcher-utils "^27.0.0"
pretty-format "^27.0.0" pretty-format "^27.0.0"
"@types/json-schema@*", "@types/json-schema@^7.0.8", "@types/json-schema@^7.0.9": "@types/json-schema@*", "@types/json-schema@^7.0.8", "@types/json-schema@^7.0.9":
@@ -4395,11 +4395,6 @@ detect-node@^2.0.4:
resolved "https://registry.yarnpkg.com/detect-node/-/detect-node-2.0.4.tgz#014ee8f8f669c5c58023da64b8179c083a28c46c" resolved "https://registry.yarnpkg.com/detect-node/-/detect-node-2.0.4.tgz#014ee8f8f669c5c58023da64b8179c083a28c46c"
integrity sha512-ZIzRpLJrOj7jjP2miAtgqIfmzbxa4ZOr5jJc601zklsfEx9oTzmmj2nVpIPRpNlRTIh8lc1kyViIY7BWSGNmKw== integrity sha512-ZIzRpLJrOj7jjP2miAtgqIfmzbxa4ZOr5jJc601zklsfEx9oTzmmj2nVpIPRpNlRTIh8lc1kyViIY7BWSGNmKw==
diff-sequences@^27.4.0:
version "27.4.0"
resolved "https://registry.yarnpkg.com/diff-sequences/-/diff-sequences-27.4.0.tgz#d783920ad8d06ec718a060d00196dfef25b132a5"
integrity sha512-YqiQzkrsmHMH5uuh8OdQFU9/ZpADnwzml8z0O5HvRNda+5UZsaX/xN+AAxfR2hWq1Y7HZnAzO9J5lJXOuDz2Ww==
diff-sequences@^27.5.1: diff-sequences@^27.5.1:
version "27.5.1" version "27.5.1"
resolved "https://registry.yarnpkg.com/diff-sequences/-/diff-sequences-27.5.1.tgz#eaecc0d327fd68c8d9672a1e64ab8dccb2ef5327" resolved "https://registry.yarnpkg.com/diff-sequences/-/diff-sequences-27.5.1.tgz#eaecc0d327fd68c8d9672a1e64ab8dccb2ef5327"
@@ -6279,16 +6274,6 @@ jest-config@^27.5.1:
slash "^3.0.0" slash "^3.0.0"
strip-json-comments "^3.1.1" strip-json-comments "^3.1.1"
jest-diff@^27.0.0:
version "27.4.2"
resolved "https://registry.yarnpkg.com/jest-diff/-/jest-diff-27.4.2.tgz#786b2a5211d854f848e2dcc1e324448e9481f36f"
integrity sha512-ujc9ToyUZDh9KcqvQDkk/gkbf6zSaeEg9AiBxtttXW59H/AcqEYp1ciXAtJp+jXWva5nAf/ePtSsgWwE5mqp4Q==
dependencies:
chalk "^4.0.0"
diff-sequences "^27.4.0"
jest-get-type "^27.4.0"
pretty-format "^27.4.2"
jest-diff@^27.5.1: jest-diff@^27.5.1:
version "27.5.1" version "27.5.1"
resolved "https://registry.yarnpkg.com/jest-diff/-/jest-diff-27.5.1.tgz#a07f5011ac9e6643cf8a95a462b7b1ecf6680def" resolved "https://registry.yarnpkg.com/jest-diff/-/jest-diff-27.5.1.tgz#a07f5011ac9e6643cf8a95a462b7b1ecf6680def"
@@ -6342,11 +6327,6 @@ jest-environment-node@^27.5.1:
jest-mock "^27.5.1" jest-mock "^27.5.1"
jest-util "^27.5.1" jest-util "^27.5.1"
jest-get-type@^27.4.0:
version "27.4.0"
resolved "https://registry.yarnpkg.com/jest-get-type/-/jest-get-type-27.4.0.tgz#7503d2663fffa431638337b3998d39c5e928e9b5"
integrity sha512-tk9o+ld5TWq41DkK14L4wox4s2D9MtTpKaAVzXfr5CUKm5ZK2ExcaFE0qls2W71zE/6R2TxxrK9w2r6svAFDBQ==
jest-get-type@^27.5.1: jest-get-type@^27.5.1:
version "27.5.1" version "27.5.1"
resolved "https://registry.yarnpkg.com/jest-get-type/-/jest-get-type-27.5.1.tgz#3cd613c507b0f7ace013df407a1c1cd578bcb4f1" resolved "https://registry.yarnpkg.com/jest-get-type/-/jest-get-type-27.5.1.tgz#3cd613c507b0f7ace013df407a1c1cd578bcb4f1"
@@ -6403,7 +6383,7 @@ jest-leak-detector@^27.5.1:
jest-get-type "^27.5.1" jest-get-type "^27.5.1"
pretty-format "^27.5.1" pretty-format "^27.5.1"
jest-matcher-utils@^27.5.1: jest-matcher-utils@^27.0.0, jest-matcher-utils@^27.5.1:
version "27.5.1" version "27.5.1"
resolved "https://registry.yarnpkg.com/jest-matcher-utils/-/jest-matcher-utils-27.5.1.tgz#9c0cdbda8245bc22d2331729d1091308b40cf8ab" resolved "https://registry.yarnpkg.com/jest-matcher-utils/-/jest-matcher-utils-27.5.1.tgz#9c0cdbda8245bc22d2331729d1091308b40cf8ab"
integrity sha512-z2uTx/T6LBaCoNWNFWwChLBKYxTMcGBRjAt+2SbP929/Fflb9aa5LGma654Rz8z9HLxsrUaYzxE9T/EFIL/PAw== integrity sha512-z2uTx/T6LBaCoNWNFWwChLBKYxTMcGBRjAt+2SbP929/Fflb9aa5LGma654Rz8z9HLxsrUaYzxE9T/EFIL/PAw==
@@ -7922,7 +7902,7 @@ pretty-error@^4.0.0:
lodash "^4.17.20" lodash "^4.17.20"
renderkid "^3.0.0" renderkid "^3.0.0"
pretty-format@^27.0.0, pretty-format@^27.4.2: pretty-format@^27.0.0:
version "27.4.2" version "27.4.2"
resolved "https://registry.yarnpkg.com/pretty-format/-/pretty-format-27.4.2.tgz#e4ce92ad66c3888423d332b40477c87d1dac1fb8" resolved "https://registry.yarnpkg.com/pretty-format/-/pretty-format-27.4.2.tgz#e4ce92ad66c3888423d332b40477c87d1dac1fb8"
integrity sha512-p0wNtJ9oLuvgOQDEIZ9zQjZffK7KtyR6Si0jnXULIDwrlNF8Cuir3AZP0hHv0jmKuNN/edOnbMjnzd4uTcmWiw== integrity sha512-p0wNtJ9oLuvgOQDEIZ9zQjZffK7KtyR6Si0jnXULIDwrlNF8Cuir3AZP0hHv0jmKuNN/edOnbMjnzd4uTcmWiw==