FIX lockfile && safety check for window

This commit is contained in:
Norbert de Langen 2020-05-26 16:00:01 +02:00
parent 05e2cf0ba8
commit 8b4a7e237b
No known key found for this signature in database
GPG Key ID: 976651DA156C2825
2 changed files with 5 additions and 7 deletions

View File

@ -14,8 +14,10 @@ if (LOGLEVEL) {
console.setLevel(LOGLEVEL); console.setLevel(LOGLEVEL);
} }
// eslint-disable-next-line no-underscore-dangle if (window) {
window.__STORYBOOK_LOGGER = console; // eslint-disable-next-line no-underscore-dangle
window.__STORYBOOK_LOGGER = console;
}
export const pretty = (type: 'trace' | 'debug' | 'info' | 'warn' | 'error') => ( export const pretty = (type: 'trace' | 'debug' | 'info' | 'warn' | 'error') => (
...args: string[] ...args: string[]

View File

@ -21656,11 +21656,7 @@ loglevel-plugin-prefix@^0.8.4:
resolved "https://registry.yarnpkg.com/loglevel-plugin-prefix/-/loglevel-plugin-prefix-0.8.4.tgz#2fe0e05f1a820317d98d8c123e634c1bd84ff644" resolved "https://registry.yarnpkg.com/loglevel-plugin-prefix/-/loglevel-plugin-prefix-0.8.4.tgz#2fe0e05f1a820317d98d8c123e634c1bd84ff644"
integrity sha512-WpG9CcFAOjz/FtNht+QJeGpvVl/cdR6P0z6OcXSkr8wFJOsV2GRj2j10JLfjuA4aYkcKCNIEqRGCyTife9R8/g== integrity sha512-WpG9CcFAOjz/FtNht+QJeGpvVl/cdR6P0z6OcXSkr8wFJOsV2GRj2j10JLfjuA4aYkcKCNIEqRGCyTife9R8/g==
<<<<<<< HEAD loglevel@^1.4.1, loglevel@^1.6.4, loglevel@^1.6.6, loglevel@^1.6.7, loglevel@^1.6.8:
loglevel@^1.4.1, loglevel@^1.6.4, loglevel@^1.6.6, loglevel@^1.6.7:
=======
loglevel@^1.4.1, loglevel@^1.6.4, loglevel@^1.6.6, loglevel@^1.6.8:
>>>>>>> next
version "1.6.8" version "1.6.8"
resolved "https://registry.yarnpkg.com/loglevel/-/loglevel-1.6.8.tgz#8a25fb75d092230ecd4457270d80b54e28011171" resolved "https://registry.yarnpkg.com/loglevel/-/loglevel-1.6.8.tgz#8a25fb75d092230ecd4457270d80b54e28011171"
integrity sha512-bsU7+gc9AJ2SqpzxwU3+1fedl8zAntbtC5XYlt3s2j1hJcn2PsXSmgN8TaLG/J1/2mod4+cE/3vNL70/c1RNCA== integrity sha512-bsU7+gc9AJ2SqpzxwU3+1fedl8zAntbtC5XYlt3s2j1hJcn2PsXSmgN8TaLG/J1/2mod4+cE/3vNL70/c1RNCA==