Skip to content

Commit

Permalink
fix @electron v9 "Failed to serialize arguments" error
Browse files Browse the repository at this point in the history
* Breaking API Changes (@electron 9.0): Sending non-JS objects over IPC now throws an exception
  • Loading branch information
vladimiry committed Mar 10, 2020
1 parent 04e1b46 commit 60bc13d
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 23 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
"rxjs": "^6.x"
},
"dependencies": {
"pubsub-to-rpc-api": "^5.2.0-beta.2",
"pubsub-to-rpc-api": "^5.2.0-beta.3",
"pure-uuid": "^1.5.8",
"tslib": "^1.11.1"
},
Expand Down
33 changes: 11 additions & 22 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1349,11 +1349,6 @@ des.js@^1.0.0:
inherits "^2.0.1"
minimalistic-assert "^1.0.0"

deserialize-error@^0.0.3:
version "0.0.3"
resolved "https://registry.yarnpkg.com/deserialize-error/-/deserialize-error-0.0.3.tgz#f568633572d7c2cc46a55a5fc254b6dfce7b3fca"
integrity sha1-9WhjNXLXwsxGpVpfwlS23857P8o=

detect-newline@^2.1.0:
version "2.1.0"
resolved "https://registry.yarnpkg.com/detect-newline/-/detect-newline-2.1.0.tgz#f41f1c10be4b00e87b5f13da680759f2c5bfd3e2"
Expand Down Expand Up @@ -3732,11 +3727,6 @@ progress@^2.0.0:
resolved "https://registry.yarnpkg.com/progress/-/progress-2.0.3.tgz#7e8cf8d8f5b8f239c1bc68beb4eb78567d572ef8"
integrity sha512-7PiHtLll5LdnKIMw100I+8xJXR5gW2QwWYkT6iJva0bXitZKa/XMrSbdmg3r2Xnaidz9Qumd0VPaMrZlF9V9sA==

protochain@^1.0.5:
version "1.0.5"
resolved "https://registry.yarnpkg.com/protochain/-/protochain-1.0.5.tgz#991c407e99de264aadf8f81504b5e7faf7bfa260"
integrity sha1-mRxAfpneJkqt+PgVBLXn+ve/omA=

public-encrypt@^4.0.0:
version "4.0.3"
resolved "https://registry.yarnpkg.com/public-encrypt/-/public-encrypt-4.0.3.tgz#4fcc9d77a07e48ba7527e7cbe0de33d0701331e0"
Expand All @@ -3749,15 +3739,14 @@ public-encrypt@^4.0.0:
randombytes "^2.0.1"
safe-buffer "^5.1.2"

pubsub-to-rpc-api@^5.2.0-beta.2:
version "5.2.0-beta.2"
resolved "https://registry.yarnpkg.com/pubsub-to-rpc-api/-/pubsub-to-rpc-api-5.2.0-beta.2.tgz#2884583e502da9f57709810d8a10cea81c8e2915"
integrity sha512-yzV75ZFV4hDBFR+bNiY7JGFADe8pbowpCec84+RawZ4MgKDOYCvyv+ZEOe3DzD5CcgmcWfCjQcXA1yxKqd/Rwg==
pubsub-to-rpc-api@^5.2.0-beta.3:
version "5.2.0-beta.3"
resolved "https://registry.yarnpkg.com/pubsub-to-rpc-api/-/pubsub-to-rpc-api-5.2.0-beta.3.tgz#c5f86985ce875cdf3b553cc1a6bae6723b4ef309"
integrity sha512-CU2GDqNLcNvW4pabgKxgiGblLyBAU178Egz5EW99SnaqzgqPFm7s5m8LcnNAlPVd8mW1r8qAy/4KfvJO4Pjf/w==
dependencies:
deserialize-error "^0.0.3"
jsan "^3.1.13"
pure-uuid "^1.6.0"
serializerr "^1.0.3"
serialize-error "^5.0.0"
tslib "^1.11.0"

pump@^3.0.0:
Expand Down Expand Up @@ -4112,12 +4101,12 @@ serialize-error@^2.1.0:
resolved "https://registry.yarnpkg.com/serialize-error/-/serialize-error-2.1.0.tgz#50b679d5635cdf84667bdc8e59af4e5b81d5f60a"
integrity sha1-ULZ51WNc34Rme9yOWa9OW4HV9go=

serializerr@^1.0.3:
version "1.0.3"
resolved "https://registry.yarnpkg.com/serializerr/-/serializerr-1.0.3.tgz#12d4c5aa1c3ffb8f6d1dc5f395aa9455569c3f91"
integrity sha1-EtTFqhw/+49tHcXzlaqUVVacP5E=
serialize-error@^5.0.0:
version "5.0.0"
resolved "https://registry.yarnpkg.com/serialize-error/-/serialize-error-5.0.0.tgz#a7ebbcdb03a5d71a6ed8461ffe0fc1a1afed62ac"
integrity sha512-/VtpuyzYf82mHYTtI4QKtwHa79vAdU5OQpNPAmE/0UDdlGT0ZxHwC+J6gXkw29wwoVI8fMPsfcVHOwXtUQYYQA==
dependencies:
protochain "^1.0.5"
type-fest "^0.8.0"

set-blocking@^2.0.0:
version "2.0.0"
Expand Down Expand Up @@ -4757,7 +4746,7 @@ type-fest@^0.6.0:
resolved "https://registry.yarnpkg.com/type-fest/-/type-fest-0.6.0.tgz#8d2a2370d3df886eb5c90ada1c5bf6188acf838b"
integrity sha512-q+MB8nYR1KDLrgr4G5yemftpMC7/QLqVndBmEEdqzmNj5dcFOO4Oo8qlwZE3ULT3+Zim1F8Kq4cBnikNhlCMlg==

type-fest@^0.8.1:
type-fest@^0.8.0, type-fest@^0.8.1:
version "0.8.1"
resolved "https://registry.yarnpkg.com/type-fest/-/type-fest-0.8.1.tgz#09e249ebde851d3b1e48d27c105444667f17b83d"
integrity sha512-4dbzIzqvjtgiM5rw1k5rEHtBANKmdudhGyBEajN01fEyhaAIhsoKNy6y7+IN93IfpFtwY9iqi7kD+xwKhQsNJA==
Expand Down

0 comments on commit 60bc13d

Please sign in to comment.