mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 17:28:26 -04:00
Upgrade loader-utils
dependency (1.1.3
→ 2.0.3
). (#144879)
## Summary Upgrade `loader-utils` dependency (`1.1.3` → `2.0.3`). Change log (`loader-utils`): https://github.com/webpack/loader-utils/blob/master/CHANGELOG.md#200-2020-03-17 __Note to reviewers:__ Change log isn't really helpful, and not all versions are covered. The only important part is the list of the breaking changes in `2.0.0`: * 🟢 minimum required Node.js version is 8.9.0 (sounds good) * 🟡 the `getOptions` method returns empty object on empty query (would be great if code owners validate if it's okay, it looks like theme_loader is the only place where _we_ directly use this method) * 🟡 Use md4 by default (would be great if code owners validate if it's okay) cc @elastic/kibana-security
This commit is contained in:
parent
a9162f7481
commit
1213fa0bcd
3 changed files with 16 additions and 16 deletions
|
@ -869,7 +869,7 @@
|
|||
"@types/jsonwebtoken": "^8.5.6",
|
||||
"@types/license-checker": "15.0.0",
|
||||
"@types/listr": "^0.14.0",
|
||||
"@types/loader-utils": "^1.1.3",
|
||||
"@types/loader-utils": "^2.0.3",
|
||||
"@types/lodash": "^4.14.159",
|
||||
"@types/lru-cache": "^5.1.0",
|
||||
"@types/lz-string": "^1.3.34",
|
||||
|
@ -1061,7 +1061,7 @@
|
|||
"license-checker": "^25.0.1",
|
||||
"listr": "^0.14.1",
|
||||
"lmdb-store": "^1.6.11",
|
||||
"loader-utils": "^1.2.3",
|
||||
"loader-utils": "^2.0.3",
|
||||
"marge": "^1.0.1",
|
||||
"micromatch": "^4.0.5",
|
||||
"mini-css-extract-plugin": "1.1.0",
|
||||
|
|
|
@ -20,7 +20,7 @@ export default function (this: webpack.loader.LoaderContext) {
|
|||
this.cacheable(true);
|
||||
|
||||
const options = getOptions(this);
|
||||
const bundleId: string = options.bundleId!;
|
||||
const bundleId = options.bundleId as string;
|
||||
const themeTags = parseThemeTags(options.themeTags);
|
||||
|
||||
const cases = ALL_THEMES.map((tag) => {
|
||||
|
|
26
yarn.lock
26
yarn.lock
|
@ -6881,13 +6881,13 @@
|
|||
"@types/node" "*"
|
||||
rxjs "^6.5.1"
|
||||
|
||||
"@types/loader-utils@^1.1.3":
|
||||
version "1.1.3"
|
||||
resolved "https://registry.yarnpkg.com/@types/loader-utils/-/loader-utils-1.1.3.tgz#82b9163f2ead596c68a8c03e450fbd6e089df401"
|
||||
integrity sha512-euKGFr2oCB3ASBwG39CYJMR3N9T0nanVqXdiH7Zu/Nqddt6SmFRxytq/i2w9LQYNQekEtGBz+pE3qG6fQTNvRg==
|
||||
"@types/loader-utils@^2.0.3":
|
||||
version "2.0.3"
|
||||
resolved "https://registry.yarnpkg.com/@types/loader-utils/-/loader-utils-2.0.3.tgz#fbc2337358f8f4a7dc532ac0a3646c74275edf2d"
|
||||
integrity sha512-sDXXzZnTLXgdso54/iOpAFSDgqhVXabCvwGAt77Agadh/Xk0QYgOk520r3tpOouI098gyqGIFywx8Op1voc3vQ==
|
||||
dependencies:
|
||||
"@types/node" "*"
|
||||
"@types/webpack" "*"
|
||||
"@types/webpack" "^4"
|
||||
|
||||
"@types/lodash@^4.14.159":
|
||||
version "4.14.159"
|
||||
|
@ -7684,7 +7684,7 @@
|
|||
"@types/source-list-map" "*"
|
||||
source-map "^0.6.1"
|
||||
|
||||
"@types/webpack@*", "@types/webpack@^4.4.31", "@types/webpack@^4.41.26", "@types/webpack@^4.41.3", "@types/webpack@^4.41.8":
|
||||
"@types/webpack@*", "@types/webpack@^4", "@types/webpack@^4.4.31", "@types/webpack@^4.41.26", "@types/webpack@^4.41.3", "@types/webpack@^4.41.8":
|
||||
version "4.41.32"
|
||||
resolved "https://registry.yarnpkg.com/@types/webpack/-/webpack-4.41.32.tgz#a7bab03b72904070162b2f169415492209e94212"
|
||||
integrity sha512-cb+0ioil/7oz5//7tZUSwbrSAN/NWHrQylz5cW8G0dWTcF/g+/dSdMlKVZspBYuMAN1+WnwHrkxiRrLcwd0Heg==
|
||||
|
@ -18320,18 +18320,18 @@ loader-runner@^4.2.0:
|
|||
integrity sha512-3R/1M+yS3j5ou80Me59j7F9IMs4PXs3VqRrm0TU3AbKPxlmpoY1TNscJV/oGJXo8qCatFGTfDbY6W6ipGOYXfg==
|
||||
|
||||
loader-utils@^1.0.0, loader-utils@^1.0.2, loader-utils@^1.1.0, loader-utils@^1.2.3:
|
||||
version "1.4.0"
|
||||
resolved "https://registry.yarnpkg.com/loader-utils/-/loader-utils-1.4.0.tgz#c579b5e34cb34b1a74edc6c1fb36bfa371d5a613"
|
||||
integrity sha512-qH0WSMBtn/oHuwjy/NucEgbx5dbxxnxup9s4PVXJUDHZBQY+s0NWA9rJf53RBnQZxfch7euUui7hpoAPvALZdA==
|
||||
version "1.4.1"
|
||||
resolved "https://registry.yarnpkg.com/loader-utils/-/loader-utils-1.4.1.tgz#278ad7006660bccc4d2c0c1578e17c5c78d5c0e0"
|
||||
integrity sha512-1Qo97Y2oKaU+Ro2xnDMR26g1BwMT29jNbem1EvcujW2jqt+j5COXyscjM7bLQkM9HaxI7pkWeW7gnI072yMI9Q==
|
||||
dependencies:
|
||||
big.js "^5.2.2"
|
||||
emojis-list "^3.0.0"
|
||||
json5 "^1.0.1"
|
||||
|
||||
loader-utils@^2.0.0:
|
||||
version "2.0.0"
|
||||
resolved "https://registry.yarnpkg.com/loader-utils/-/loader-utils-2.0.0.tgz#e4cace5b816d425a166b5f097e10cd12b36064b0"
|
||||
integrity sha512-rP4F0h2RaWSvPEkD7BLDFQnvSf+nK+wr3ESUjNTyAGobqrijmW92zc+SO6d4p4B1wh7+B/Jg1mkQe5NYUEHtHQ==
|
||||
loader-utils@^2.0.0, loader-utils@^2.0.3:
|
||||
version "2.0.3"
|
||||
resolved "https://registry.yarnpkg.com/loader-utils/-/loader-utils-2.0.3.tgz#d4b15b8504c63d1fc3f2ade52d41bc8459d6ede1"
|
||||
integrity sha512-THWqIsn8QRnvLl0shHYVBN9syumU8pYWEHPTmkiVGd+7K5eFNVSY6AJhRvgGF70gg1Dz+l/k8WicvFCxdEs60A==
|
||||
dependencies:
|
||||
big.js "^5.2.2"
|
||||
emojis-list "^3.0.0"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue