Skip to content

Commit

Permalink
Bump immer dependencies (#90267)
Browse files Browse the repository at this point in the history
* Bump immer dependencies

* Update processed_search_response.ts

* Update processed_search_response.ts

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
  • Loading branch information
patrykkopycinski and kibanamachine committed Feb 7, 2021
1 parent 87690a2 commit af40619
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 10 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@
"http-proxy-agent": "^2.1.0",
"https-proxy-agent": "^5.0.0",
"idx": "^2.5.6",
"immer": "^1.5.0",
"immer": "^8.0.1",
"inline-style": "^2.0.0",
"intl": "^1.2.5",
"intl-format-cache": "^2.1.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
*/

import { produce } from 'immer';
import { Index } from '../../../../types';

const shard1 = {
id: ['L22w_FX2SbqlQYOP5QrYDg', '.kibana_1', '0'],
Expand Down Expand Up @@ -336,11 +337,14 @@ const search1Child = {
(searchRoot.treeRoot as any) = search1;
(shard1.searches[0] as any) = searchRoot;

export const processedResponseWithFirstShard = produce<any>(null, () => [
{
shards: [shard1],
time: 0.058419,
name: '.kibana_1',
visible: false,
},
]);
export const processedResponseWithFirstShard = produce<Index[]>(
[
{
shards: [shard1],
time: 0.058419,
name: '.kibana_1',
visible: false,
},
],
() => undefined
);
7 changes: 6 additions & 1 deletion yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -17000,11 +17000,16 @@ immediate@~3.0.5:
resolved "https://registry.yarnpkg.com/immediate/-/immediate-3.0.6.tgz#9db1dbd0faf8de6fbe0f5dd5e56bb606280de69b"
integrity sha1-nbHb0Pr43m++D13V5Wu2BigN5ps=

immer@1.10.0, immer@^1.5.0:
immer@1.10.0:
version "1.10.0"
resolved "https://registry.yarnpkg.com/immer/-/immer-1.10.0.tgz#bad67605ba9c810275d91e1c2a47d4582e98286d"
integrity sha512-O3sR1/opvCDGLEVcvrGTMtLac8GJ5IwZC4puPrLuRj3l7ICKvkmA0vGuU9OW8mV9WIBRnaxp5GJh9IEAaNOoYg==

immer@^8.0.1:
version "8.0.1"
resolved "https://registry.yarnpkg.com/immer/-/immer-8.0.1.tgz#9c73db683e2b3975c424fb0572af5889877ae656"
integrity sha512-aqXhGP7//Gui2+UrEtvxZxSquQVXTpZ7KDxfCcKAF3Vysvw0CViVaW9RZ1j1xlIYqaaaipBoqdqeibkc18PNvA==

import-cwd@^2.0.0:
version "2.1.0"
resolved "https://registry.yarnpkg.com/import-cwd/-/import-cwd-2.1.0.tgz#aa6cf36e722761285cb371ec6519f53e2435b0a9"
Expand Down

0 comments on commit af40619

Please sign in to comment.