Skip to content

TagSpaces is an offline, open source, document manager with tagging support

Tsn295 create .ts folders only when needed (#998)

Stanimirf5e69589dc50
diff --git a/app/components/TagsSelect.js b/app/components/TagsSelect.js
index 5f7d67735..03ee068a1 100644
--- a/app/components/TagsSelect.js
+++ b/app/components/TagsSelect.js
@@ -24,7 +24,7 @@ import Typography from '@material-ui/core/Typography';
import Paper from '@material-ui/core/Paper';
import CloseIcon from '@material-ui/icons/Close';
import MenuItem from '@material-ui/core/MenuItem';
-import CreatableSelect from 'react-select/lib/Creatable';
+import CreatableSelect from 'react-select/creatable';
import NoSsr from '@material-ui/core/NoSsr';
import TextField from '@material-ui/core/TextField';
import i18n from '../services/i18n';
diff --git a/app/components/dialogs/ObjectStoreForm.js b/app/components/dialogs/ObjectStoreForm.js
index 27eb21119..fefc0c923 100644
--- a/app/components/dialogs/ObjectStoreForm.js
+++ b/app/components/dialogs/ObjectStoreForm.js
@@ -18,7 +18,7 @@
*/
import React from 'react';
-import CreatableSelect from 'react-select/lib/Creatable';
+import CreatableSelect from 'react-select/creatable';
import { withStyles } from '@material-ui/core/styles';
import Typography from '@material-ui/core/Typography';
import NoSsr from '@material-ui/core/NoSsr';
diff --git a/app/reducers/app.js b/app/reducers/app.js
index d010fa744..19a9b7c7a 100644
--- a/app/reducers/app.js
+++ b/app/reducers/app.js
@@ -518,81 +518,12 @@ export const actions = {
dispatch(actions.showNotification(i18n.t('core:loading'), 'info', false));
PlatformIO.listDirectoryPromise(directoryPath, false)
.then(results => {
- const metaDirectory = getMetaDirectoryPath(directoryPath);
- // Case where current folder is a .ts folder
- if (normalizePath(directoryPath).endsWith(AppConfig.metaFolder)) {
- prepareDirectoryContent(
- results,
- directoryPath,
- settings,
- dispatch
- );
- return true;
- }
- PlatformIO.getPropertiesPromise(metaDirectory)
- .then(stats => {
- if (stats && !stats.isFile) {
- prepareDirectoryContent(
- results,
- directoryPath,
- settings,
- dispatch
- );
- } else {
- console.log(
- 'Failed getting meta folder, creating it for: ' +
- directoryPath
- );
- PlatformIO.createDirectoryPromise(metaDirectory)
- .then(() => {
- prepareDirectoryContent(
- results,
- directoryPath,
- settings,
- dispatch
- );
- return true;
- })
- .catch(() => {
- console.warn(
- 'Failed creating meta folder for ' + directoryPath
- );
- prepareDirectoryContent(
- results,
- directoryPath,
- settings,
- dispatch
- );
- });
- }
- return true;
- })
- .catch(() => {
- console.log(
- 'Failed getting meta folder, creating it for: ' + directoryPath
- );
- PlatformIO.createDirectoryPromise(metaDirectory)
- .then(() => {
- prepareDirectoryContent(
- results,
- directoryPath,
- settings,
- dispatch
- );
- return true;
- })
- .catch(() => {
- console.warn(
- 'Failed creating meta folder for ' + directoryPath
- );
- prepareDirectoryContent(
- results,
- directoryPath,
- settings,
- dispatch
- );
- });
- });
+ prepareDirectoryContent(
+ results,
+ directoryPath,
+ settings,
+ dispatch
+ );
return true;
})
.catch(error => {
diff --git a/app/services/thumbsgenerator.js b/app/services/thumbsgenerator.js
index 5740e8ddb..3791a30c4 100644
--- a/app/services/thumbsgenerator.js
+++ b/app/services/thumbsgenerator.js
@@ -22,6 +22,7 @@ import {
extractFileExtension,
extractContainingDirectoryPath,
extractFileName,
+ normalizePath,
getMetaDirectoryPath
} from '../utils/paths';
import { base64ToArrayBuffer } from '../utils/misc';
@@ -99,13 +100,13 @@ function saveThumbnailPromise(filePath, dataURL) {
});
}
-function getThumbFileLocation(filePath) {
+function getThumbFileLocation(filePath: string) {
const containingFolder = extractContainingDirectoryPath(filePath);
const metaFolder = getMetaDirectoryPath(containingFolder);
return metaFolder + AppConfig.dirSeparator + extractFileName(filePath) + AppConfig.thumbFileExt;
}
-export function getThumbnailURLPromise(filePath) {
+export function getThumbnailURLPromise(filePath: string): Promise<{ filePath: string }> {
return new Promise((resolve) => {
PlatformIO.getPropertiesPromise(filePath).then((origStats) => {
const thumbFilePath = getThumbFileLocation(filePath);
@@ -139,7 +140,7 @@ export function getThumbnailURLPromise(filePath) {
});
}
-export function replaceThumbnailURLPromise(filePath, thumbFilePath) {
+export function replaceThumbnailURLPromise(filePath: string, thumbFilePath: string): Promise<any> {
return new Promise((resolve) => {
PlatformIO.getPropertiesPromise(filePath).then((origStats) => {
createThumbnailPromise(filePath, origStats.size, thumbFilePath).then((tmbPath) => resolve({ filePath, tmbPath })).catch((err) => {
@@ -158,8 +159,20 @@ export function createThumbnailPromise(
filePath: string,
fileSize: number,
thumbFilePath: string
-) {
- return new Promise((resolve) => {
+): Promise<any> {
+ return new Promise(async (resolve) => {
+ const metaDirectory = extractContainingDirectoryPath(thumbFilePath);
+ const fileDirectory = extractContainingDirectoryPath(filePath);
+ const normalizedFileDirectory = normalizePath(fileDirectory);
+ if (normalizedFileDirectory.endsWith(AppConfig.metaFolder)) {
+ resolve(); // prevent creating thumbs in meta/.ts folder
+ return true;
+ }
+ const stats = await PlatformIO.getPropertiesPromise(metaDirectory);
+ if (!stats || stats.isFile) {
+ await PlatformIO.createDirectoryPromise(metaDirectory);
+ }
+
generateThumbnailPromise(filePath, fileSize).then((dataURL) => {
if (dataURL && dataURL.length) {
saveThumbnailPromise(thumbFilePath, dataURL)
@@ -168,14 +181,15 @@ export function createThumbnailPromise(
console.warn('Thumb saving failed ' + err);
resolve();
});
- } else {
- resolve();
+ return true;
}
+ resolve();
return true;
}).catch((err) => {
console.warn('Thumb generation failed ' + err);
resolve();
});
+ return true;
});
}
@@ -220,11 +234,11 @@ function generateDefaultThumbnail() {
return Promise.resolve('');
}
-function generateImageThumbnail(fileURL) {
+function generateImageThumbnail(fileURL): Promise<string> {
return new Promise((resolve) => {
- let canvas = document.createElement('canvas');
+ let canvas: HTMLCanvasElement = document.createElement('canvas');
const ctx = canvas.getContext('2d');
- let img = new Image();
+ let img: HTMLImageElement = new Image();
const errorHandler = err => {
console.warn(
@@ -298,7 +312,7 @@ function generateImageThumbnail(fileURL) {
});
}
-function generateVideoThumbnail(fileURL) {
+function generateVideoThumbnail(fileURL): Promise<string> {
return new Promise((resolve) => {
let canvas = document.createElement('canvas');
const ctx = canvas.getContext('2d');
diff --git a/app/services/utils-io.js b/app/services/utils-io.js
index c885d65ca..d915f0635 100644
--- a/app/services/utils-io.js
+++ b/app/services/utils-io.js
@@ -27,7 +27,7 @@ import {
cleanTrailingDirSeparator,
getMetaDirectoryPath,
getMetaFileLocationForFile,
- getMetaFileLocationForDir
+ getMetaFileLocationForDir, extractContainingDirectoryPath
} from '../utils/paths';
// import { formatDateTime4Tag } from '../utils/misc';
import versionMeta from '../version.json';
@@ -368,8 +368,12 @@ export async function saveMetaDataPromise(path: string, metaData: Object): Promi
const entryProperties = await PlatformIO.getPropertiesPromise(path);
let metaFilePath;
let newFsEntryMeta;
+
if (entryProperties.isFile) {
metaFilePath = getMetaFileLocationForFile(path);
+ // check and create meta folder if not exist
+ await PlatformIO.createDirectoryPromise(extractContainingDirectoryPath(metaFilePath));
+
newFsEntryMeta = {
...metaData,
appName: versionMeta.name,
@@ -377,11 +381,14 @@ export async function saveMetaDataPromise(path: string, metaData: Object): Promi
lastUpdated: (new Date()).toJSON()
};
} else {
+ // check and create meta folder if not exist
+ // todo not need to check if folder exist first createDirectoryPromise() recursively will skip creation of existing folders https://nodejs.org/api/fs.html#fs_fs_mkdir_path_options_callback
const metaDirectoryPath = getMetaDirectoryPath(path);
const metaDirectoryProperties = await PlatformIO.getPropertiesPromise(metaDirectoryPath);
if (!metaDirectoryProperties) {
await PlatformIO.createDirectoryPromise(metaDirectoryPath);
}
+
metaFilePath = getMetaFileLocationForDir(path);
newFsEntryMeta = {
...metaData,
diff --git a/package.json b/package.json
index 689bf81a2..31cba3298 100644
--- a/package.json
+++ b/package.json
@@ -237,7 +237,7 @@
"react-router": "^4.3.1",
"react-router-dom": "^4.3.1",
"react-router-redux": "^5.0.0-alpha.6",
- "react-select": "^2.1.1",
+ "react-select": "^3.0.4",
"react-split-pane": "^0.1.87",
"react-swipeable-views": "^0.13.0",
"redux": "^3.7.2",
diff --git a/yarn.lock b/yarn.lock
index 97b0890c5..b5b16bd3b 100644
--- a/yarn.lock
+++ b/yarn.lock
@@ -194,6 +194,13 @@
dependencies:
regenerator-runtime "^0.12.0"
+"@babel/runtime@^7.4.3", "@babel/runtime@^7.4.4":
+ version "7.5.4"
+ resolved "https://registry.yarnpkg.com/@babel/runtime/-/runtime-7.5.4.tgz#cb7d1ad7c6d65676e66b47186577930465b5271b"
+ integrity sha512-Na84uwyImZZc3FKf4aUF1tysApzwf3p2yuFBIyBfbzT5glzKTdvYI4KVW4kcgjrzoGUjC7w3YyCHcJKaRxsr2Q==
+ dependencies:
+ regenerator-runtime "^0.13.2"
+
"@babel/runtime@^7.4.5":
version "7.5.0"
resolved "https://registry.yarnpkg.com/@babel/runtime/-/runtime-7.5.0.tgz#49dcbcd637099a55d3a61e590a00d6861393b1b5"
@@ -298,52 +305,82 @@
dependencies:
"@date-io/core" "^1.2.0"
-"@emotion/babel-utils@^0.6.4":
- version "0.6.10"
- resolved "https://registry.yarnpkg.com/@emotion/babel-utils/-/babel-utils-0.6.10.tgz#83dbf3dfa933fae9fc566e54fbb45f14674c6ccc"
- integrity sha512-/fnkM/LTEp3jKe++T0KyTszVGWNKPNOUJfjNKLO17BzQ6QPxgbg3whayom1Qr2oLFH3V92tDymU+dT5q676uow==
- dependencies:
- "@emotion/hash" "^0.6.6"
- "@emotion/memoize" "^0.6.6"
- "@emotion/serialize" "^0.9.1"
- convert-source-map "^1.5.1"
- find-root "^1.1.0"
- source-map "^0.7.2"
-
-"@emotion/hash@^0.6.2", "@emotion/hash@^0.6.6":
- version "0.6.6"
- resolved "https://registry.yarnpkg.com/@emotion/hash/-/hash-0.6.6.tgz#62266c5f0eac6941fece302abad69f2ee7e25e44"
- integrity sha512-ojhgxzUHZ7am3D2jHkMzPpsBAiB005GF5YU4ea+8DNPybMk01JJUM9V9YRlF/GE95tcOm8DxQvWA2jq19bGalQ==
-
-"@emotion/memoize@^0.6.1", "@emotion/memoize@^0.6.6":
- version "0.6.6"
- resolved "https://registry.yarnpkg.com/@emotion/memoize/-/memoize-0.6.6.tgz#004b98298d04c7ca3b4f50ca2035d4f60d2eed1b"
- integrity sha512-h4t4jFjtm1YV7UirAFuSuFGyLa+NNxjdkq6DpFLANNQY5rHueFZHVY+8Cu1HYVP6DrheB0kv4m5xPjo7eKT7yQ==
-
-"@emotion/serialize@^0.9.1":
- version "0.9.1"
- resolved "https://registry.yarnpkg.com/@emotion/serialize/-/serialize-0.9.1.tgz#a494982a6920730dba6303eb018220a2b629c145"
- integrity sha512-zTuAFtyPvCctHBEL8KZ5lJuwBanGSutFEncqLn/m9T1a6a93smBStK+bZzcNPgj4QS8Rkw9VTwJGhRIUVO8zsQ==
- dependencies:
- "@emotion/hash" "^0.6.6"
- "@emotion/memoize" "^0.6.6"
- "@emotion/unitless" "^0.6.7"
- "@emotion/utils" "^0.8.2"
+"@emotion/cache@^10.0.14", "@emotion/cache@^10.0.9":
+ version "10.0.14"
+ resolved "https://registry.yarnpkg.com/@emotion/cache/-/cache-10.0.14.tgz#56093cff025c04b0330bdd92afe8335ed326dd18"
+ integrity sha512-HNGEwWnPlNyy/WPXBXzbjzkzeZFV657Z99/xq2xs5yinJHbMfi3ioCvBJ6Y8Zc8DQzO9F5jDmVXJB41Ytx3QMw==
+ dependencies:
+ "@emotion/sheet" "0.9.3"
+ "@emotion/stylis" "0.8.4"
+ "@emotion/utils" "0.11.2"
+ "@emotion/weak-memoize" "0.2.3"
+
+"@emotion/core@^10.0.9":
+ version "10.0.14"
+ resolved "https://registry.yarnpkg.com/@emotion/core/-/core-10.0.14.tgz#cac5c334b278d5b7688cfff39e460a5b50abb71c"
+ integrity sha512-G9FbyxLm3lSnPfLDcag8fcOQBKui/ueXmWOhV+LuEQg9HrqExuWnWaO6gm6S5rNe+AMcqLXVljf8pYgAdFLNSg==
+ dependencies:
+ "@babel/runtime" "^7.4.3"
+ "@emotion/cache" "^10.0.14"
+ "@emotion/css" "^10.0.14"
+ "@emotion/serialize" "^0.11.8"
+ "@emotion/sheet" "0.9.3"
+ "@emotion/utils" "0.11.2"
+
+"@emotion/css@^10.0.14", "@emotion/css@^10.0.9":
+ version "10.0.14"
+ resolved "https://registry.yarnpkg.com/@emotion/css/-/css-10.0.14.tgz#95dacabdd0e22845d1a1b0b5968d9afa34011139"
+ integrity sha512-MozgPkBEWvorcdpqHZE5x1D/PLEHUitALQCQYt2wayf4UNhpgQs2tN0UwHYS4FMy5ROBH+0ALyCFVYJ/ywmwlg==
+ dependencies:
+ "@emotion/serialize" "^0.11.8"
+ "@emotion/utils" "0.11.2"
+ babel-plugin-emotion "^10.0.14"
+
+"@emotion/[email protected]":
+ version "0.7.2"
+ resolved "https://registry.yarnpkg.com/@emotion/hash/-/hash-0.7.2.tgz#53211e564604beb9befa7a4400ebf8147473eeef"
+ integrity sha512-RMtr1i6E8MXaBWwhXL3yeOU8JXRnz8GNxHvaUfVvwxokvayUY0zoBeWbKw1S9XkufmGEEdQd228pSZXFkAln8Q==
+
+"@emotion/[email protected]":
+ version "0.7.2"
+ resolved "https://registry.yarnpkg.com/@emotion/memoize/-/memoize-0.7.2.tgz#7f4c71b7654068dfcccad29553520f984cc66b30"
+ integrity sha512-hnHhwQzvPCW1QjBWFyBtsETdllOM92BfrKWbUTmh9aeOlcVOiXvlPsK4104xH8NsaKfg86PTFsWkueQeUfMA/w==
+
+"@emotion/serialize@^0.11.8":
+ version "0.11.8"
+ resolved "https://registry.yarnpkg.com/@emotion/serialize/-/serialize-0.11.8.tgz#e41dcf7029e45286a3e0cf922933e670fe05402c"
+ integrity sha512-Qb6Us2Yk1ZW8SOYH6s5z7qzXXb2iHwVeqc6FjXtac0vvxC416ki0eTtHNw4Q5smoyxdyZh3519NKGrQvvvrZ/Q==
+ dependencies:
+ "@emotion/hash" "0.7.2"
+ "@emotion/memoize" "0.7.2"
+ "@emotion/unitless" "0.7.4"
+ "@emotion/utils" "0.11.2"
+ csstype "^2.5.7"
+
+"@emotion/[email protected]":
+ version "0.9.3"
+ resolved "https://registry.yarnpkg.com/@emotion/sheet/-/sheet-0.9.3.tgz#689f135ecf87d3c650ed0c4f5ddcbe579883564a"
+ integrity sha512-c3Q6V7Df7jfwSq5AzQWbXHa5soeE4F5cbqi40xn0CzXxWW9/6Mxq48WJEtqfWzbZtW9odZdnRAkwCQwN12ob4A==
+
+"@emotion/[email protected]":
+ version "0.8.4"
+ resolved "https://registry.yarnpkg.com/@emotion/stylis/-/stylis-0.8.4.tgz#6c51afdf1dd0d73666ba09d2eb6c25c220d6fe4c"
+ integrity sha512-TLmkCVm8f8gH0oLv+HWKiu7e8xmBIaokhxcEKPh1m8pXiV/akCiq50FvYgOwY42rjejck8nsdQxZlXZ7pmyBUQ==
-"@emotion/stylis@^0.7.0":
- version "0.7.1"
- resolved "https://registry.yarnpkg.com/@emotion/stylis/-/stylis-0.7.1.tgz#50f63225e712d99e2b2b39c19c70fff023793ca5"
- integrity sha512-/SLmSIkN13M//53TtNxgxo57mcJk/UJIDFRKwOiLIBEyBHEcipgR6hNMQ/59Sl4VjCJ0Z/3zeAZyvnSLPG/1HQ==
+"@emotion/[email protected]":
+ version "0.7.4"
+ resolved "https://registry.yarnpkg.com/@emotion/unitless/-/unitless-0.7.4.tgz#a87b4b04e5ae14a88d48ebef15015f6b7d1f5677"
+ integrity sha512-kBa+cDHOR9jpRJ+kcGMsysrls0leukrm68DmFQoMIWQcXdr2cZvyvypWuGYT7U+9kAExUE7+T7r6G3C3A6L8MQ==
-"@emotion/unitless@^0.6.2", "@emotion/unitless@^0.6.7":
- version "0.6.7"
- resolved "https://registry.yarnpkg.com/@emotion/unitless/-/unitless-0.6.7.tgz#53e9f1892f725b194d5e6a1684a7b394df592397"
- integrity sha512-Arj1hncvEVqQ2p7Ega08uHLr1JuRYBuO5cIvcA+WWEQ5+VmkOE3ZXzl04NbQxeQpWX78G7u6MqxKuNX3wvYZxg==
+"@emotion/[email protected]":
+ version "0.11.2"
+ resolved "https://registry.yarnpkg.com/@emotion/utils/-/utils-0.11.2.tgz#713056bfdffb396b0a14f1c8f18e7b4d0d200183"
+ integrity sha512-UHX2XklLl3sIaP6oiMmlVzT0J+2ATTVpf0dHQVyPJHTkOITvXfaSqnRk6mdDhV9pR8T/tHc3cex78IKXssmzrA==
-"@emotion/utils@^0.8.2":
- version "0.8.2"
- resolved "https://registry.yarnpkg.com/@emotion/utils/-/utils-0.8.2.tgz#576ff7fb1230185b619a75d258cbc98f0867a8dc"
- integrity sha512-rLu3wcBWH4P5q1CGoSSH/i9hrXs7SlbRLkoq9IGuoPYNGQvDJ3pt/wmOM+XgYjIDRMVIdkUWt0RsfzF50JfnCw==
+"@emotion/[email protected]":
+ version "0.2.3"
+ resolved "https://registry.yarnpkg.com/@emotion/weak-memoize/-/weak-memoize-0.2.3.tgz#dfa0c92efe44a1d1a7974fb49ffeb40ef2da5a27"
+ integrity sha512-zVgvPwGK7c1aVdUVc9Qv7SqepOGRDrqCw7KZPSZziWGxSlbII3gmvGLPzLX4d0n0BMbamBacUrN22zOMyFFEkQ==
"@icons/material@^0.2.4":
version "0.2.4"
@@ -1727,23 +1764,21 @@ babel-plugin-dev-expression@^0.2.1:
resolved "https://registry.yarnpkg.com/babel-plugin-dev-expression/-/babel-plugin-dev-expression-0.2.1.tgz#d4a7beefefbb50e3f2734990a82a2486cf9eb9ee"
integrity sha1-1Ke+7++7UOPyc0mQqCokhs+eue4=
-babel-plugin-emotion@^9.2.11:
- version "9.2.11"
- resolved "https://registry.yarnpkg.com/babel-plugin-emotion/-/babel-plugin-emotion-9.2.11.tgz#319c005a9ee1d15bb447f59fe504c35fd5807728"
- integrity sha512-dgCImifnOPPSeXod2znAmgc64NhaaOjGEHROR/M+lmStb3841yK1sgaDYAYMnlvWNz8GnpwIPN0VmNpbWYZ+VQ==
+babel-plugin-emotion@^10.0.14:
+ version "10.0.14"
+ resolved "https://registry.yarnpkg.com/babel-plugin-emotion/-/babel-plugin-emotion-10.0.14.tgz#c1d0e4621e303507ea7da57daa3cd771939d6df4"
+ integrity sha512-T7hdxJ4xXkKW3OXcizK0pnUJlBeNj/emjQZPDIZvGOuwl2adIgicQWRNkz6BuwKdDTrqaXQn1vayaL6aL8QW5A==
dependencies:
"@babel/helper-module-imports" "^7.0.0"
- "@emotion/babel-utils" "^0.6.4"
- "@emotion/hash" "^0.6.2"
- "@emotion/memoize" "^0.6.1"
- "@emotion/stylis" "^0.7.0"
+ "@emotion/hash" "0.7.2"
+ "@emotion/memoize" "0.7.2"
+ "@emotion/serialize" "^0.11.8"
babel-plugin-macros "^2.0.0"
babel-plugin-syntax-jsx "^6.18.0"
convert-source-map "^1.5.0"
+ escape-string-regexp "^1.0.5"
find-root "^1.1.0"
- mkdirp "^0.5.1"
source-map "^0.5.7"
- touch "^2.0.1"
babel-plugin-flow-runtime@^0.17.0:
version "0.17.0"
@@ -3916,19 +3951,6 @@ create-ecdh@^4.0.0:
bn.js "^4.1.0"
elliptic "^6.0.0"
-create-emotion@^9.2.12:
- version "9.2.12"
- resolved "https://registry.yarnpkg.com/create-emotion/-/create-emotion-9.2.12.tgz#0fc8e7f92c4f8bb924b0fef6781f66b1d07cb26f"
- integrity sha512-P57uOF9NL2y98Xrbl2OuiDQUZ30GVmASsv5fbsjF4Hlraip2kyAvMm+2PoYUvFFw03Fhgtxk3RqZSm2/qHL9hA==
- dependencies:
- "@emotion/hash" "^0.6.2"
- "@emotion/memoize" "^0.6.1"
- "@emotion/stylis" "^0.7.0"
- "@emotion/unitless" "^0.6.2"
- csstype "^2.5.2"
- stylis "^3.5.0"
- stylis-rule-sheet "^0.0.10"
-
create-hash@^1.1.0, create-hash@^1.1.2:
version "1.2.0"
resolved "https://registry.yarnpkg.com/create-hash/-/create-hash-1.2.0.tgz#889078af11a63756bcfb59bd221996be3a9ef196"
@@ -4169,6 +4191,11 @@ csstype@^2.0.0, csstype@^2.2.0, csstype@^2.5.2:
resolved "https://registry.yarnpkg.com/csstype/-/csstype-2.5.8.tgz#4ce5aa16ea0d562ef9105fa3ae2676f199586a35"
integrity sha512-r4DbsyNJ7slwBSKoGesxDubRWJ71ghG8W2+1HcsDlAo12KGca9dDLv0u98tfdFw7ldBdoA7XmCnI6Q8LpAJXaQ==
+csstype@^2.5.7:
+ version "2.6.6"
+ resolved "https://registry.yarnpkg.com/csstype/-/csstype-2.6.6.tgz#c34f8226a94bbb10c32cc0d714afdf942291fc41"
+ integrity sha512-RpFbQGUE74iyPgvr46U9t1xoQBM8T4BL8SxrN66Le2xYAPSaDJJKeztV3awugusb3g3G9iL8StmkBBXhcbbXhg==
+
currently-unhandled@^0.4.1:
version "0.4.1"
resolved "https://registry.yarnpkg.com/currently-unhandled/-/currently-unhandled-0.4.1.tgz#988df33feab191ef799a61369dd76c17adf957ea"
@@ -4901,14 +4928,6 @@ emojis-list@^2.0.0:
resolved "https://registry.yarnpkg.com/emojis-list/-/emojis-list-2.1.0.tgz#4daa4d9db00f9819880c79fa457ae5b09a1fd389"
integrity sha1-TapNnbAPmBmIDHn6RXrlsJof04k=
-emotion@^9.1.2:
- version "9.2.12"
- resolved "https://registry.yarnpkg.com/emotion/-/emotion-9.2.12.tgz#53925aaa005614e65c6e43db8243c843574d1ea9"
- integrity sha512-hcx7jppaI8VoXxIWEhxpDW7I+B4kq9RNzQLmsrF6LY8BGKqe2N+gFAQr0EfuFucFlPs2A9HM4+xNj4NeqEWIOQ==
- dependencies:
- babel-plugin-emotion "^9.2.11"
- create-emotion "^9.2.12"
-
encodeurl@~1.0.2:
version "1.0.2"
resolved "https://registry.yarnpkg.com/encodeurl/-/encodeurl-1.0.2.tgz#ad3ff4c86ec2d029322f5a02c3a9a606c95b3f59"
@@ -8929,11 +8948,6 @@ mem@^4.0.0:
mimic-fn "^1.0.0"
p-is-promise "^1.1.0"
-memoize-one@^4.0.0:
- version "4.0.3"
- resolved "https://registry.yarnpkg.com/memoize-one/-/memoize-one-4.0.3.tgz#cdfdd942853f1a1b4c71c5336b8c49da0bf0273c"
- integrity sha512-QmpUu4KqDmX0plH4u+tf0riMc1KHE1+lw95cMrLlXQAFOx/xnBtwhZ52XJxd9X2O6kwKBqX32kmhbhlobD0cuw==
-
memoize-one@^5.0.0:
version "5.0.0"
resolved "https://registry.yarnpkg.com/memoize-one/-/memoize-one-5.0.0.tgz#d55007dffefb8de7546659a1722a5d42e128286e"
@@ -9530,13 +9544,6 @@ nopt@^4.0.1:
abbrev "1"
osenv "^0.1.4"
-nopt@~1.0.10:
- version "1.0.10"
- resolved "https://registry.yarnpkg.com/nopt/-/nopt-1.0.10.tgz#6ddd21bd2a31417b92727dd585f8a6f37608ebee"
- integrity sha1-bd0hvSoxQXuScn3Vhfim83YI6+4=
- dependencies:
- abbrev "1"
-
normalize-package-data@^2.0.0, normalize-package-data@^2.3.2, normalize-package-data@^2.3.4:
version "2.4.0"
resolved "https://registry.yarnpkg.com/normalize-package-data/-/normalize-package-data-2.4.0.tgz#12f95a307d58352075a04907b84ac8be98ac012f"
@@ -11131,14 +11138,17 @@ react-router@^4.2.0, react-router@^4.3.1:
prop-types "^15.6.1"
warning "^4.0.1"
-react-select@^2.1.1:
- version "2.1.2"
- resolved "https://registry.yarnpkg.com/react-select/-/react-select-2.1.2.tgz#7a3e4c2b9efcd8c44ae7cf6ebb8b060ef69c513c"
- integrity sha512-+ceiz2KwIeEBxT/PgAXBIGohLXfa9YhkfwFSHMlqpTL55JYvjhgkGoBxoasGcMGeQ49J3RhAKZDD+x6ZHKmj6g==
+react-select@^3.0.4:
+ version "3.0.4"
+ resolved "https://registry.yarnpkg.com/react-select/-/react-select-3.0.4.tgz#16bde37c24fd4f6444914d4681e78f15ffbc86d3"
+ integrity sha512-fbVISKa/lSUlLsltuatfUiKcWCNvdLXxFFyrzVQCBUsjxJZH/m7UMPdw/ywmRixAmwXAP++MdbNNZypOsiDEfA==
dependencies:
+ "@babel/runtime" "^7.4.4"
+ "@emotion/cache" "^10.0.9"
+ "@emotion/core" "^10.0.9"
+ "@emotion/css" "^10.0.9"
classnames "^2.2.5"
- emotion "^9.1.2"
- memoize-one "^4.0.0"
+ memoize-one "^5.0.0"
prop-types "^15.6.0"
raf "^3.4.0"
react-input-autosize "^2.2.1"
@@ -12463,7 +12473,7 @@ source-map@^0.6.0, source-map@^0.6.1, source-map@~0.6.0, source-map@~0.6.1:
resolved "https://registry.yarnpkg.com/source-map/-/source-map-0.6.1.tgz#74722af32e9614e9c287a8d0bbde48b5e2f1a263"
integrity sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==
-source-map@^0.7.2, source-map@^0.7.3:
+source-map@^0.7.3:
version "0.7.3"
resolved "https://registry.yarnpkg.com/source-map/-/source-map-0.7.3.tgz#5302f8169031735226544092e64981f751750383"
integrity sha512-CkCj6giN3S+n9qrYiBTX5gystlENnRW5jZeNLHpe6aue+SrHcG5VYwujhW9s4dY31mEGsxBDrHR6oI69fTXsaQ==
@@ -12935,16 +12945,6 @@ stylelint@^7.10.1, stylelint@^7.5.0, stylelint@^7.9.0:
svg-tags "^1.0.0"
table "^4.0.1"
-stylis-rule-sheet@^0.0.10:
- version "0.0.10"
- resolved "https://registry.yarnpkg.com/stylis-rule-sheet/-/stylis-rule-sheet-0.0.10.tgz#44e64a2b076643f4b52e5ff71efc04d8c3c4a430"
- integrity sha512-nTbZoaqoBnmK+ptANthb10ZRZOGC+EmTLLUxeYIuHNkEKcmKgXX1XWKkUBT2Ac4es3NybooPe0SmvKdhKJZAuw==
-
-stylis@^3.5.0:
- version "3.5.4"
- resolved "https://registry.yarnpkg.com/stylis/-/stylis-3.5.4.tgz#f665f25f5e299cf3d64654ab949a57c768b73fbe"
- integrity sha512-8/3pSmthWM7lsPBKv7NXkzn2Uc9W7NotcwGNpJaa3k7WMM1XDCA4MgT5k/8BIexd5ydZdboXtU90XH9Ec4Bv/Q==
-
sugarss@^0.2.0:
version "0.2.0"
resolved "https://registry.yarnpkg.com/sugarss/-/sugarss-0.2.0.tgz#ac34237563327c6ff897b64742bf6aec190ad39e"
@@ -13313,13 +13313,6 @@ toposort@^1.0.0:
resolved "https://registry.yarnpkg.com/toposort/-/toposort-1.0.7.tgz#2e68442d9f64ec720b8cc89e6443ac6caa950029"
integrity sha1-LmhELZ9k7HILjMieZEOsbKqVACk=
-touch@^2.0.1:
- version "2.0.2"
- resolved "https://registry.yarnpkg.com/touch/-/touch-2.0.2.tgz#ca0b2a3ae3211246a61b16ba9e6cbf1596287164"
- integrity sha512-qjNtvsFXTRq7IuMLweVgFxmEuQ6gLbRs2jQxL80TtZ31dEKWYIxRXquij6w6VimyDek5hD3PytljHmEtAs2u0A==
- dependencies:
- nopt "~1.0.10"
-
tough-cookie@>=2.3.3, tough-cookie@^2.3.4:
version "2.5.0"
resolved "https://registry.yarnpkg.com/tough-cookie/-/tough-cookie-2.5.0.tgz#cd9fb2a0aa1d5a12b473bd9fb96fa3dcff65ade2"