From 5059892bc056a00b8d759b53dda0764299bbd05e Mon Sep 17 00:00:00 2001 From: Nicolas Dextraze Date: Sat, 22 Oct 2022 20:07:01 -0400 Subject: [PATCH] fix docker-compose files to work with 21.10 fixes to match TCP protocol of 21.10 fixes so that we can gossip on SSL --- .gitignore | 1 + README.md | 12 +- certs/ca/ca.crt | 23 + certs/ca/ca.key | 27 + certs/node1/node1.crt | 23 + certs/node1/node1.key | 27 + certs/node2/node2.crt | 23 + certs/node2/node2.key | 27 + certs/node3/node3.crt | 23 + certs/node3/node3.key | 27 + docker-compose-cluster.yaml | 133 +- docker-compose-single.yaml | 11 +- package-lock.json | 2476 +++++-- package.json | 16 +- .../appendToStreamOperation.js | 4 +- .../commitTransactionOperation.js | 4 +- src/clientOperations/deleteStreamOperation.js | 4 +- src/clientOperations/operationBase.js | 8 +- .../readAllEventsBackwardOperation.js | 4 +- .../readAllEventsForwardOperation.js | 4 +- src/clientOperations/readEventOperation.js | 4 +- .../readStreamEventsBackwardOperation.js | 4 +- .../readStreamEventsForwardOperation.js | 4 +- .../startTransactionOperation.js | 4 +- src/clientOperations/subscriptionOperation.js | 8 +- .../transactionalWriteOperation.js | 4 +- src/core/cluster/clusterDiscoverer.js | 4 +- src/core/cluster/clusterInfo.js | 27 +- src/eventStoreConnection.js | 13 +- src/messages/messages.js | 6138 ++++++++++++----- src/messages/messages.proto | 106 +- test/common/base_test.js | 2 +- test/connection_test.js | 15 +- yarn.lock | 4235 ------------ 34 files changed, 6741 insertions(+), 6704 deletions(-) create mode 100644 certs/ca/ca.crt create mode 100644 certs/ca/ca.key create mode 100644 certs/node1/node1.crt create mode 100644 certs/node1/node1.key create mode 100644 certs/node2/node2.crt create mode 100644 certs/node2/node2.key create mode 100644 certs/node3/node3.crt create mode 100644 certs/node3/node3.key delete mode 100644 yarn.lock diff --git a/.gitignore b/.gitignore index 3738e01..cc0f257 100644 --- a/.gitignore +++ b/.gitignore @@ -34,6 +34,7 @@ node_modules # InteliJ .idea/workspace.xml +.idea/shelf .vscode lib/ diff --git a/README.md b/README.md index 77d9c18..08c9a92 100644 --- a/README.md +++ b/README.md @@ -24,14 +24,22 @@ If you want to learn more about EventSourcing/EventModeling, you can join one of Install using `npm install node-eventstore-client` +Versions to install to match EventStore versions: + +- 0.1.x for ES prior to 3.9.4 +- 0.2.x for ES from 3.9.4 to 20.10 +- 21.10.x for ES 21.10 + +*I am working on making version match LTS and latest release of EventStore so that TCP protocol matches* + ### Dependencies -- Node.js >= 4.0 +- Node.js >= 12 - Modules: [long](https://www.npmjs.org/package/long), [protobufjs](https://www.npmjs.org/package/protobufjs), [uuid](https://www.npmjs.org/package/uuid), [strict-event-emitter-types](https://www.npmjs.com/package/strict-event-emitter-types) (installed via `npm install`) ### Install and run an Eventstore on localhost -See https://eventstore.org/docs/introduction/4.1.0/ +See https://eventstore.com *Note: If you are using a version of EventStore prior to 3.9.4, you need to use version 0.1.x of this package `npm install node-eventstore-client@^0.1`.* diff --git a/certs/ca/ca.crt b/certs/ca/ca.crt new file mode 100644 index 0000000..3b9829b --- /dev/null +++ b/certs/ca/ca.crt @@ -0,0 +1,23 @@ +-----BEGIN CERTIFICATE----- +MIIDzTCCArWgAwIBAgIRAJD0c8z8ITssbEkzjx4ZmRowDQYJKoZIhvcNAQELBQAw +YjELMAkGA1UEBhMCVUsxGDAWBgNVBAoTD0V2ZW50IFN0b3JlIEx0ZDE5MDcGA1UE +AxMwRXZlbnRTdG9yZURCIENBIDkwZjQ3M2NjZmMyMTNiMmM2YzQ5MzM4ZjFlMTk5 +OTFhMB4XDTIyMTAyMjEzNTA1N1oXDTI3MTAyMjEzNTA1N1owYjELMAkGA1UEBhMC +VUsxGDAWBgNVBAoTD0V2ZW50IFN0b3JlIEx0ZDE5MDcGA1UEAxMwRXZlbnRTdG9y +ZURCIENBIDkwZjQ3M2NjZmMyMTNiMmM2YzQ5MzM4ZjFlMTk5OTFhMIIBIjANBgkq +hkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA17JM4jAG4fM4dtA6mpatLVkYhS42wwHC +RbG7dQINSE9wMKpoy2u4sDvZQrsudOvdeclPkIL1JgUtk7lDlqRMXZ6HnP7zTCKn +SQCXzvc3IIU0cGlkffuIS/kuAGBePvmmTwFE3ByDneydlHpSUGEvQY1KEAKwpgSO +LX1NtthP3kKT+bq0NdQlgOjm9dEkSYWwfCM7Of9cJdh8bCO4zJ1taGqchxluWlpo +DJL6TTHsZDvDjhfzBxhjuRax4S8B8xLaq6LirTFEFGpqFBhqzGGhRl42ZylKqVo9 +fKhhywwq81ItROmB14OGKa8gyJi7pWGSKRI4M6Ngn89D50Q49K1QdQIDAQABo34w +fDAOBgNVHQ8BAf8EBAMCAQYwEgYDVR0TAQH/BAgwBgEB/wIBAjApBgNVHQ4EIgQg +/3vmZ5JvcSlcqyaNXgrQZ5FOXlZ9HvYr9x+Tbrs3Mx4wKwYDVR0jBCQwIoAg/3vm +Z5JvcSlcqyaNXgrQZ5FOXlZ9HvYr9x+Tbrs3Mx4wDQYJKoZIhvcNAQELBQADggEB +AIMQR/3BHnVYAuG6DSdDPVYkPR9Fvwi9G9U1nybMHY9uSnEOp6yASrRc/cD7pIbP +Ax7cvD5f0829fAUFupXtp2T/yNOA7/eis7l6Y0ZZf+QEk9XhZXHVTFLFDb9Fyc6r ++i/lXnatGsYwOns0RFSG6tzxi2lxUPwlXauacwTBW4jrphtn0vC3q/n85JOEi2ib +aIlXaXUTREJFiFnS22/SX4dSRaeimL34rrd9AjX53Ne6pUiVBGgd2aSUkBh65EYk +VCIZwuWLx0jgcT8NI/EeId7FN4CWq73dze5eY2QU00rXidyYDeC2aZcU5e2RTQqn +5dGqFGAd/xCopGYdWfusqKM= +-----END CERTIFICATE----- diff --git a/certs/ca/ca.key b/certs/ca/ca.key new file mode 100644 index 0000000..98c8bd0 --- /dev/null +++ b/certs/ca/ca.key @@ -0,0 +1,27 @@ +-----BEGIN RSA PRIVATE KEY----- +MIIEpQIBAAKCAQEA17JM4jAG4fM4dtA6mpatLVkYhS42wwHCRbG7dQINSE9wMKpo +y2u4sDvZQrsudOvdeclPkIL1JgUtk7lDlqRMXZ6HnP7zTCKnSQCXzvc3IIU0cGlk +ffuIS/kuAGBePvmmTwFE3ByDneydlHpSUGEvQY1KEAKwpgSOLX1NtthP3kKT+bq0 +NdQlgOjm9dEkSYWwfCM7Of9cJdh8bCO4zJ1taGqchxluWlpoDJL6TTHsZDvDjhfz +BxhjuRax4S8B8xLaq6LirTFEFGpqFBhqzGGhRl42ZylKqVo9fKhhywwq81ItROmB +14OGKa8gyJi7pWGSKRI4M6Ngn89D50Q49K1QdQIDAQABAoIBAQCbeiKBSC0t4avp +uN8FX2clMPvDxDQlDLeElUCSbxAz907fRXaUaumN3xYUS+iIzxuuFbYMbNlYtpLL +0NcvVu7U7NjECeJGFxSOQqcqwHg0MNBD1zRgu1bbrJnEG7LTohCHElsYblVRGKXd +yO5ckjEGB1pDgCzk/pOdppzGF9Y6Vl/6WfZQgdGV6B1Qh9Vxs+1CGbK/6YqMM3av +9AJTEXgXbHOPyqNwixjxihpz79hXx0lOznL/CeosHKj7+ZY/knWZcDBmNq3ZA3Nz +w3p0fDkBtY7zQglh5nTSYoLtpcJvzkAI8uD6eJ4ThwIGUbLlvq0c3yaHZwIqrmEq +py09FA8BAoGBAPnuy+ehTBXV5k8icPZjI50Bjr5Alres01OjHxAA5bZJACwVbjMQ +a2464yb6DMA6NDrUevfHvKn3rw8OoceNrlaEua0qE5IweRpROf+ENqW9Yhcg4O1G +bSUPf5M1JusCSznAJu+gKsqHq0pTtdssh8Xb655xgd3gNMi0lLPlw5+tAoGBANzu +vidC8LRH+4JRrb+7PUZi1AR8vtCpabkLuVe7AZJl1wXFvYJTyFcW/e0WTvETcclf +9dhy1c0lH44571L4kpKRRKF4U3lcESbiLPDwjvfnls1rYzfzjY1YWoERwGYxL54H +2BBYPjKocnHZOnyiBxYn4ysK2O3dYlFxgJy/1GzpAoGBAM4HzW1HqRoC91Va1fY2 +aaA/LXWmdtg5DwhOWwftRXAMI6kzjWFo8rauspxp2uMH2BB7Ildp/xu6A0SNUk3X +fNTzmsCmA/YqIVrRhNcfHZFpWhgo0WKoAMdhTFCEq21lua+EuFQnG79TMaAW+74O +qmovzb8SYPUPo1OkkUTvbmENAoGAODTg2Zo1JJhfiyL+ghW/nAWOjOmzneBLzlEG +QSSJXNZd4tEQynRINqfZyBRx1vEsdJ/eKsfkTsGQCp4AneoxV+pvPGkhS3G5x1up +NU7uAHHBstcMMfLbY0dEFywN97GxvJGgTWA1yquCGia6s3SBOwjAyXWEBNfaqH+o +ybgf8ekCgYEA3/Vx/CZ/VB0Fr47cpZGckJWH6lDWkzBEcaAT22VYlhL4CZ0CRDWj +6+LSiQDuI3+JwEhZlIkTvfZSo5bhNeUHoEL+15yg2RvsWFzorDxBfvZ//29BQg/Q +bN+vlKHpn7V7T9LQg/Tp107mfW6Z/TG4UYIVJyxY/JUjXjQLcFPvTVE= +-----END RSA PRIVATE KEY----- diff --git a/certs/node1/node1.crt b/certs/node1/node1.crt new file mode 100644 index 0000000..62e2ade --- /dev/null +++ b/certs/node1/node1.crt @@ -0,0 +1,23 @@ +-----BEGIN CERTIFICATE----- +MIID0zCCArugAwIBAgIRAICyIvDoMRsOp8HOeD9x6k0wDQYJKoZIhvcNAQELBQAw +YjELMAkGA1UEBhMCVUsxGDAWBgNVBAoTD0V2ZW50IFN0b3JlIEx0ZDE5MDcGA1UE +AxMwRXZlbnRTdG9yZURCIENBIDkwZjQ3M2NjZmMyMTNiMmM2YzQ5MzM4ZjFlMTk5 +OTFhMB4XDTIyMTAyMjEzNTIwMloXDTIzMTAyMjEzNTIwMlowHDEaMBgGA1UEAxMR +ZXZlbnRzdG9yZWRiLW5vZGUwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIB +AQC5EvroAGtYYso6BHH1Ik9IeTV7fQZfpKqolGKtDyw8UBdJiss5OfQYB35I0lbw +QOYU5oC4kto1ku4Y+kEuv/4RHPNEykurjYtGAcBRMT8JB96dW6rrKtGkISJlmtfa +0OoAcPySKHnjrgsT3FYpvD5Sm8aP7YuZlaZbUIyg66h0Nd932bAZN8i7UoiAKxse +3m1a/rJvHCcMma9tJwuzfc7GU8yyRhl9a9doUtwh0uGU7sfiXR0yQB7xYKroXl3R +YBvqoteZ3beTSBM5mAxfRKK3JS3NlK4ys4DXp2YVWTUkoEv9oDqLr7DJSnPA1ZQk +MwZGByQohPDF6vz9ok2rX6W3AgMBAAGjgckwgcYwDgYDVR0PAQH/BAQDAgWgMB0G +A1UdJQQWMBQGCCsGAQUFBwMCBggrBgEFBQcDATAMBgNVHRMBAf8EAjAAMCkGA1Ud +DgQiBCBAtQuI/026tsHlRnIi4NJRD6gZWAb/lf7D2zow/ACgkjArBgNVHSMEJDAi +gCD/e+Znkm9xKVyrJo1eCtBnkU5eVn0e9iv3H5NuuzczHjAvBgNVHREEKDAmgiQq +LnRlc3RzLm5vZGUtZXZlbnRzdG9yZS1jbGllbnQubG9jYWwwDQYJKoZIhvcNAQEL +BQADggEBAMDQE0GqALLeMixp7ZbKepN+BvqLvQYF22U0wr+rBdo4UvEKTAtZ1Jku +vwhPy6fmlq8vwf9YGrwJHwQHRIbg/H0gFV3M+Xk4LNg7anptBQ+K0Q1tSo997uoS +jNKZTD9szy2dLfJK3xaJT5tU2qcTxPFr7/ztDhc1qXX094rqcVJc6GIQXZdvh9FD +kNjRpCVnHNWX8CWRYdod+Lq9IUDwTsWi8BVPIxJUB2qbiK40tX77+NGV6MFmhGFE +aLdso5mwegpqOQXM8m/JRDrJNVAZAbDT4Myy1+UcDu/91jw/xuPmCLZMXEbsFIGu +IKF8Kr6IXObMJpr7M8t/vb1eb6BQufk= +-----END CERTIFICATE----- diff --git a/certs/node1/node1.key b/certs/node1/node1.key new file mode 100644 index 0000000..10429e2 --- /dev/null +++ b/certs/node1/node1.key @@ -0,0 +1,27 @@ +-----BEGIN RSA PRIVATE KEY----- +MIIEpAIBAAKCAQEAuRL66ABrWGLKOgRx9SJPSHk1e30GX6SqqJRirQ8sPFAXSYrL +OTn0GAd+SNJW8EDmFOaAuJLaNZLuGPpBLr/+ERzzRMpLq42LRgHAUTE/CQfenVuq +6yrRpCEiZZrX2tDqAHD8kih5464LE9xWKbw+UpvGj+2LmZWmW1CMoOuodDXfd9mw +GTfIu1KIgCsbHt5tWv6ybxwnDJmvbScLs33OxlPMskYZfWvXaFLcIdLhlO7H4l0d +MkAe8WCq6F5d0WAb6qLXmd23k0gTOZgMX0SityUtzZSuMrOA16dmFVk1JKBL/aA6 +i6+wyUpzwNWUJDMGRgckKITwxer8/aJNq1+ltwIDAQABAoIBADGUkR0YB6ntBUoX +qMPIBj9fIWHMs6lpvsJcxjagivQ5bJOqGBljmi3ZzA4MM3g3mqvcuH058jVKAHk2 +icHRc2n4PH+gRjdWOwptK61UqRNtRUkYpqhLl1AGBGX93nfjYdzuZ+tr5oOFO7h9 +XaPepz+QNdiXBcAGZEOwR4xQtZcz5l5Iioqq7r63Q2MBGhsVwYIWvBCfLwK/ANUz +63LW/g9lRhS9MN9RPkJnIeobfz0s8qwTHoYvU16x4m9yvrjIzq0dPxSa+ZQY5G9y +AXs3bGNVDTKiMjMhOsE/M/0i0qe0yunoSxJlrex36Z7D4ipWYAhjK9TYcUc/JUo3 +5LU75pkCgYEA7ywJp0aCBt+lITz+l2oKg47iBcou+cO2GAkYIQ1x48+izue1Bc8R +Z+Dh3BrPIT0SqLqQbnxcR214fE+IQnrDG/j0Mi53+sGZQQskAHc3HRCNxtsZ4zgP +jGk9NKwMmww8PMrcsvAyy7ec4L1D8IKLPr4Zok4HuYsEWUlUt+f1YiMCgYEAxhiI +RNmv+iVtp0T5jVAEJ0X94H1G4pKCOZ3vJkYvIfF3axdCW/sxoR/dxTQuSzuVnB1v +eLKgQ9o1aoU44GTWMdO72pHYzwtb2M+Y0jD5ZDDUBcTVy7uG++ATLyzr9irFZMOy +Wn9+7nUFdAEzDYBfnL0sxXc3ltt55onmC7yrdV0CgYEAqcZP3+7b8/cjZ7G9Y0wB +xJtTdBquN9umUe96slOx6a2Fe2vdAw+W4m8uxKg/KfAJY75zMgqTEpzxrwRhzBcK +kruo1EpKHrT4jcRTvQTjGX2btnHnMXSlDN3TdaU/mXwY8mpqOZbp59QhxyJyrLJu +F46n8Z+EOkAlSSAVxCoi9JMCgYEAtgundzZiTUyGJ7jwaRgGqRzeQaZ/NQqU2GQ2 +eYL4H4ZrSyQV3LfMlRjW0jqw7Hx2cgBvB4mIVLK8cga6DSU93o6JTUTI7QSwRGAL +Pea52YQx5JdOLqtIUkJK/wiWVCRcQMzDI/2U5YjvGPtdMmQt+bmz4kg78swBi4Zg +vZqGKxUCgYBdBMRd4nxwAk9aphiCB0/OS/WSfc0CqegcwFG9ireb8iD9xvayqsNt +s4NI6cncnZXOTKm2mEd3E4yo8N9LieyNZV6kIhKxDMfgrRxLMBC17ur8R5z3uNzl +F69As0W69+VqyoM/pS9hDJ72DiA4YblWkWiZuZzhqi0Jwh9VEY2Oew== +-----END RSA PRIVATE KEY----- diff --git a/certs/node2/node2.crt b/certs/node2/node2.crt new file mode 100644 index 0000000..4682074 --- /dev/null +++ b/certs/node2/node2.crt @@ -0,0 +1,23 @@ +-----BEGIN CERTIFICATE----- +MIID0jCCArqgAwIBAgIQb+tOqV1PR8uW4adXZE8bMjANBgkqhkiG9w0BAQsFADBi +MQswCQYDVQQGEwJVSzEYMBYGA1UEChMPRXZlbnQgU3RvcmUgTHRkMTkwNwYDVQQD +EzBFdmVudFN0b3JlREIgQ0EgOTBmNDczY2NmYzIxM2IyYzZjNDkzMzhmMWUxOTk5 +MWEwHhcNMjIxMDIyMTM1MjAzWhcNMjMxMDIyMTM1MjAzWjAcMRowGAYDVQQDExFl +dmVudHN0b3JlZGItbm9kZTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEB +ANCHpO7KZQLnelCEa2QW12Eko39w3yCDdq12CINuRVIxZ9hDaXY0QXg2EjsKgnWe +WNbhGT5kwDRZbR9/EFwP0TsujcLmF7JdiJ4oerXdrqp7uTZWZq70BDqhKZo/PnFB +c/OHJwwZdhDd24b6Id13MAa3JM4I5bbc5o4jrwwxqimXaR0Iw7D7IchQ/QReN/jR +JArZIkjHw/M5ljX8LdSMpT2Acy8f3hcfUja0OGgjWNOy37DLDX0GJCzwQa0NvdiG +PfwRny7PQEyaRER2vPhuqKb1+8+C4rSBEixBUHm0rPImCCL8QAkQdfzHLeCAbtez +z+/bvzqjzmRNQJ/A8isSgmECAwEAAaOByTCBxjAOBgNVHQ8BAf8EBAMCBaAwHQYD +VR0lBBYwFAYIKwYBBQUHAwIGCCsGAQUFBwMBMAwGA1UdEwEB/wQCMAAwKQYDVR0O +BCIEIAZeYK8mSU7E3tNmG5Xf4qDwU5i5Cdvm491RSMI0CsU2MCsGA1UdIwQkMCKA +IP975meSb3EpXKsmjV4K0GeRTl5WfR72K/cfk267NzMeMC8GA1UdEQQoMCaCJCou +dGVzdHMubm9kZS1ldmVudHN0b3JlLWNsaWVudC5sb2NhbDANBgkqhkiG9w0BAQsF +AAOCAQEAi8ZoFfa143InqWLYsvPVVKCD++cVLv/kXO735m0kGex1Ri3KJChxLAkQ +v1873PtB0eK6Xe7xhcMp08bg/jKM2CSJ4wyxhgbAybkJTjASvWzbzv7SJL1rslkl +j+ZS3i3EEve48CLOZ8YqoZ5UPUF51SMlr/aXbZehHA8xOeVPL8ImtUZ94y7SgeP8 +VQFvGYQV6ysBahR/x/D6OHhIcl22RrRD44zz/t/5qgFNCwiR4l7Kd33gX3SJtFA1 +x3KCKSQl5j2j0ME9J0ro9QsJxhhAHk/YIW1+VfO4Q6TBmopscXea6uNq5wQBeIcQ +8M4M9MYa3Xy4FUquonpnSYiYtLEdvQ== +-----END CERTIFICATE----- diff --git a/certs/node2/node2.key b/certs/node2/node2.key new file mode 100644 index 0000000..f84e7ff --- /dev/null +++ b/certs/node2/node2.key @@ -0,0 +1,27 @@ +-----BEGIN RSA PRIVATE KEY----- +MIIEpQIBAAKCAQEA0Iek7splAud6UIRrZBbXYSSjf3DfIIN2rXYIg25FUjFn2ENp +djRBeDYSOwqCdZ5Y1uEZPmTANFltH38QXA/ROy6NwuYXsl2Inih6td2uqnu5NlZm +rvQEOqEpmj8+cUFz84cnDBl2EN3bhvoh3XcwBrckzgjlttzmjiOvDDGqKZdpHQjD +sPshyFD9BF43+NEkCtkiSMfD8zmWNfwt1IylPYBzLx/eFx9SNrQ4aCNY07LfsMsN +fQYkLPBBrQ292IY9/BGfLs9ATJpERHa8+G6opvX7z4LitIESLEFQebSs8iYIIvxA +CRB1/Mct4IBu17PP79u/OqPOZE1An8DyKxKCYQIDAQABAoIBAQDPsjrxZ/9B7EJk +je/UqfdtlyuNlGN4o9gBny2NkrhSzEitGz+gbx3CWMDBs48LDWNY6qzU+06BFYzd +sRYfS9XPB2hE9h4mFokrVhAasij1PvPTji0KFptbtgeUzWcpMNMHfNbEc1uoIwEz +KFGwnrTkC2gKGsyJ3O16J0qDb7gXYR4Ws566NGJDbjz14p7CTIoXhp3K/hvrowEx +UHjnFsaSrcbWZ+CHT9fKkQFYUqh0ab0dFo9L293ikRxs+rsvcaKqX7h3XTHlnOEd +89c25UPb8w7rQGWti0bRMMmS1knHEHQz2Bw6zby/JLw+9tmb5+/ooAtAoYKZmfM3 +XK+j2uSRAoGBAOk0Vo6WBIZwhvETa8htXk7Yf7FGmWWvgsZrytTFLPmzLKVQsLPb +NEKHpvz0ysq9qAszpZgayi6ie0jsmMeAQi2ADO5faRiGKx2/axm1T0jWAlEE3BU7 +iF5HkGK9Ohjgy2WJWLk8L/l+jLdNwo+6xTTqZakm08qtUtxyWVTuMC1FAoGBAOTp +2q3wVQgk5qm5sISyF+8hucjqMgMQ/SuxkpT55hjuZntlKtCdXAjClVlQdv1WZT8l +DvoUGiNQsRULNgUCClWEY9b6OiiohuH8V049tF73325KqP7HTJsS63SkZSmeeUeT +if6yM1JlbbJrDlCN1SpE8dtjTUs1whj3aapTsAxtAoGBAKloE9jQscjXxa8q5Ilc +qb2tGFW3a4eqz91EQLv/4IQj3LLawwJkoroRwQTQ7uAIliJNCmZMT8NA1T5MYU/L +pEdZVgtz0+y0ym15uFucklPe4x/n39isvot+gSy5OZMI+bhw5brqNg+QFriyDDxM ++SVPgTo3snLxJdhuWOaRgP3hAoGAeTecpR7u6DEiNB4waxQjuG2Tg+EAOr90UP7n +MBxkzC7x9cXMtkudwMXJcFI7sEtfseBd3e9nJ+xC2XHmWSCLeF1ywRQgWAdl5aVK +VhQ2v1Ni7XR7qO7Akh2isVGcgD1623w1Rrn2k1tCi4hFPELe7lMz/4jGFV2SOsZJ +HfjS8MECgYEAjyl5rJuFtAy7JewI6HgokgMAtmfyV6fRIbEIdb+rfn3uUDPleRFg +WJIN6T6xywGOYJFx0j7hnywQ+d9zXph2KILFQO1vYMwWCMzLA0TfYGNHaoW9J5Ja +3gqhj1DQKWaPTXP9Q9pKQOe8eO4AS1XJlNBY3Q28bZcAhOZq5KUHj1Y= +-----END RSA PRIVATE KEY----- diff --git a/certs/node3/node3.crt b/certs/node3/node3.crt new file mode 100644 index 0000000..c28134a --- /dev/null +++ b/certs/node3/node3.crt @@ -0,0 +1,23 @@ +-----BEGIN CERTIFICATE----- +MIID0zCCArugAwIBAgIRAIrgk9b8CiaOIhKw0UVCnw0wDQYJKoZIhvcNAQELBQAw +YjELMAkGA1UEBhMCVUsxGDAWBgNVBAoTD0V2ZW50IFN0b3JlIEx0ZDE5MDcGA1UE +AxMwRXZlbnRTdG9yZURCIENBIDkwZjQ3M2NjZmMyMTNiMmM2YzQ5MzM4ZjFlMTk5 +OTFhMB4XDTIyMTAyMjEzNTIwM1oXDTIzMTAyMjEzNTIwM1owHDEaMBgGA1UEAxMR +ZXZlbnRzdG9yZWRiLW5vZGUwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIB +AQDmS3u8Mx1OUbXqFlDSU25sthiBI8p5sUq5/VvuKVEAvBuSQydTwbCU3cfaUNCk +wLkIEVJInqtzsUnUWkPRDg3W4bFzEoXzP1/1OffqcgjwDl+hym/k0HWGvt4UzXnw +7MXHxlMUj6E+GK9JvleKIo9C/zWg7o7ZaC4s/cYkkkmHHzHVCcapuKCJEbUKJgzt +JnJ8wZCPvmEHWoTT7255drMMh1cwzZvOqCWpZ0Qk1+KZc6C7QcbGrnPv1PIKT53o +7XDZnAXTGfbah0/e5zIM4/Ms3JauObbcXv/oSb8KeiMrYmM12CfAJ9LAu7sm8uOz +tuVvpaT9lH0v91Aat1G4k19/AgMBAAGjgckwgcYwDgYDVR0PAQH/BAQDAgWgMB0G +A1UdJQQWMBQGCCsGAQUFBwMCBggrBgEFBQcDATAMBgNVHRMBAf8EAjAAMCkGA1Ud +DgQiBCCla0cvcjb+WYGvsdw50JZcKNTFFj4je4cHn8xci9SQqTArBgNVHSMEJDAi +gCD/e+Znkm9xKVyrJo1eCtBnkU5eVn0e9iv3H5NuuzczHjAvBgNVHREEKDAmgiQq +LnRlc3RzLm5vZGUtZXZlbnRzdG9yZS1jbGllbnQubG9jYWwwDQYJKoZIhvcNAQEL +BQADggEBAJtCYINTvOQXOYIhEUZLjyPKqAKc5Ey117WNj1BJ1OAlrddwiMGUZg1L +g3Md2oKJXrsKrNBgePEnfa/gCt1kBUpNfO5ILVJtVzuifQAsePtbjvkRA5suzll3 +FP1QrvC8ZCq9oDW9+/WEGEi2Bjp2RPKlRBKj1wP/4MYKwjoGY2ezrb/rutKVpdIm +3UEoaJG1VpT7IkdcIcLSCyPS5BDd/Jf1428ZZuq6DlbSOIRjCo8w9hazfizeJ+iE +kGDygYYg5RkPsl8ACcXsZDCPr6gS2yFa1v0eQOV3CPeO8i6aiQToZekEoAVGrJ9/ +HpLfDap2pVqf8gSnX59XIsE/WwMVWjc= +-----END CERTIFICATE----- diff --git a/certs/node3/node3.key b/certs/node3/node3.key new file mode 100644 index 0000000..262040e --- /dev/null +++ b/certs/node3/node3.key @@ -0,0 +1,27 @@ +-----BEGIN RSA PRIVATE KEY----- +MIIEpAIBAAKCAQEA5kt7vDMdTlG16hZQ0lNubLYYgSPKebFKuf1b7ilRALwbkkMn +U8GwlN3H2lDQpMC5CBFSSJ6rc7FJ1FpD0Q4N1uGxcxKF8z9f9Tn36nII8A5focpv +5NB1hr7eFM158OzFx8ZTFI+hPhivSb5XiiKPQv81oO6O2WguLP3GJJJJhx8x1QnG +qbigiRG1CiYM7SZyfMGQj75hB1qE0+9ueXazDIdXMM2bzqglqWdEJNfimXOgu0HG +xq5z79TyCk+d6O1w2ZwF0xn22odP3ucyDOPzLNyWrjm23F7/6Em/CnojK2JjNdgn +wCfSwLu7JvLjs7blb6Wk/ZR9L/dQGrdRuJNffwIDAQABAoIBAHmEOO0sd3k9CmVT +kx/4IBtC1plF3m/qCgkr1BdOO8zMdSvvPVAnstpKUEs1O3LDsp68LRPejY+Fa/Se +EIy+ArVw76ZNjtq0hRirltJhi6/HldSUMgilqm4IRrzpUz+6X/4y+uGtjCJs+glK +Y3yjEb8DVTPuzPeQzlS1L5lai2u9HKBBOOY5At6lwDa9ckZd3Xyf3xUPGiK/Vdyd +HscVpr/PBQeMkXODhUCRIyY2nfSncYOv1d+TM2r7PXi4v/zrPnfybz8D7eseo6YR +NS/70rNJSfn2snhTS1iFaAPvG8AU6nLwGlj/8m8J69IFS34znmj+T6bcCSSyV40o +YqOPRzECgYEA6LVYbuZqkeqCtW4cGOJ5AShhl8CCG7BLR61/A2Vd1aQYUchlYi3R +PNoH8F4lD6HT61zL25e4IRlTkYllblRldN3PzMHxyDVKak9UclW70KbP37e7Ta49 +HQAz45ewM3nOnJN8lHgSxP3IVUGXZolhjqis+3/Afr+hhzj7GDaAcicCgYEA/VhL +6DKhacYfXvwnQuQ35n/MNkbBCH8mcytoGDGrJ62Mh8Lu0UEJ5R2HhvMrZsOsuLbR +tAV2AGmeV1ixcdiZZoZb1J0V4BP5T1QP89DSlO9N5xwJTvV8r3rdXJUMbntcXl2F +eUJ0L3Hi4/13wb/ohsfTIce2IWtmstFBwJ529ukCgYAvhwIlvEedv6Csf22bo32F +QAMWpEmucAYgAI5FWkmc3aPd6CjUsXjfjcQ7Um8NT0bh9hTop4cCs5J+0en2a6RB +ByBuuFmyQzgMmGEt7NasGbWxAmxtxB1VM/plDFD/YmxRTEoQZKmotBBbYUcTuRFE +uqyBvSjKekb6QCgAXPlE1wKBgQCSc4Fl2CbhG2u1H/SeQYljEMt/MMWT4NTcTOJe +4g9732JWdMRTaNKMhNZ8l4OmY0UsflqZQ3LkaCnlelsRYdHDp7XcIXas0z8SsZiL +LFMfT3rsN5PV9ik+07q1M2A9WciasFthLp41cxNjEnoxIXwMteUCKQ3LIef7ROZK +sBA7SQKBgQDBxdbUQCpwLs9iJQH+ddPhIGKXLGNw/3f4quKBGz6fO1X4E9STFWoa +diu+C27608WmPEnDLy58yCameZ4sk/Pt269yhHerEuPrSFKrqVQOyyO9utCQHbRY +9wjvymJnXAvJE4CgXvdYLIFvaog86KmhpVX830gnyFdJ+d7EDpUU9w== +-----END RSA PRIVATE KEY----- diff --git a/docker-compose-cluster.yaml b/docker-compose-cluster.yaml index 3e611ae..de3297a 100644 --- a/docker-compose-cluster.yaml +++ b/docker-compose-cluster.yaml @@ -2,124 +2,109 @@ version: '3.4' services: eventstore.db: - image: eventstore/eventstore:release-5.0.8 + image: eventstore/eventstore:21.10.8-buster-slim environment: - - EVENTSTORE_WORKER_THREADS=5 - EVENTSTORE_CLUSTER_SIZE=3 + - EVENTSTORE_CLUSTER_DNS=cluster.tests.node-eventstore-client.local + - EVENTSTORE_ADVERTISE_HOST_TO_CLIENT_AS=node1.tests.node-eventstore-client.local + - EVENTSTORE_ADVERTISE_HTTP_PORT_TO_CLIENT_AS=2113 + - EVENTSTORE_ADVERTISE_TCP_PORT_TO_CLIENT_AS=1113 +# - EVENTSTORE_DISCOVER_VIA_DNS=false +# - EVENTSTORE_GOSSIP_SEED=192.168.33.10:2113,192.168.33.11:2113,192.168.33.12:2113 - EVENTSTORE_RUN_PROJECTIONS=All - - EVENTSTORE_DB=/var/lib/eventstore-data - - EVENTSTORE_INDEX=/var/lib/eventstore-index - - EVENTSTORE_LOG=/var/log/eventstore - - EVENTSTORE_CLUSTER_GOSSIP_PORT=2112 - - EVENTSTORE_INT_TCP_PORT=1112 + - EVENTSTORE_START_STANDARD_PROJECTIONS=True + - EVENTSTORE_ENABLE_EXTERNAL_TCP=true - EVENTSTORE_EXT_TCP_PORT=1113 - - EVENTSTORE_INT_HTTP_PORT=2112 - - EVENTSTORE_EXT_HTTP_PORT=2113 - - EVENTSTORE_DISCOVER_VIA_DNS=true - - EVENTSTORE_CLUSTER_DNS=eventstore.local + - EVENTSTORE_HTTP_PORT=2113 - EVENTSTORE_INT_IP=192.168.33.10 - EVENTSTORE_EXT_IP=192.168.33.10 + - EVENTSTORE_CERTIFICATE_FILE=/etc/eventstore/certs/node1/node1.crt + - EVENTSTORE_CERTIFICATE_PRIVATE_KEY_FILE=/etc/eventstore/certs/node1/node1.key + - EVENTSTORE_TRUSTED_ROOT_CERTIFICATES_PATH=/etc/eventstore/certs/ca ports: - "1112:1112" - "1113:1113" - - "2112:2112" - "2113:2113" networks: app_net: aliases: - - eventstore.local + - cluster.tests.node-eventstore-client.local + - node1.tests.node-eventstore-client.local ipv4_address: 192.168.33.10 volumes: - - type: volume - source: eventstore-volume-data - target: /var/lib/eventstore-data - - type: volume - source: eventstore-volume-index - target: /var/lib/eventstore-index - - type: volume - source: eventstore-volume-logs - target: /var/log/eventstore + - eventstore1-data:/var/lib/eventstore + - ./certs:/etc/eventstore/certs:ro eventstore.db2: - image: eventstore/eventstore:release-5.0.8 + image: eventstore/eventstore:21.10.8-buster-slim environment: - - EVENTSTORE_WORKER_THREADS=5 - EVENTSTORE_CLUSTER_SIZE=3 + - EVENTSTORE_CLUSTER_DNS=cluster.tests.node-eventstore-client.local + - EVENTSTORE_ADVERTISE_HOST_TO_CLIENT_AS=node2.tests.node-eventstore-client.local + - EVENTSTORE_ADVERTISE_HTTP_PORT_TO_CLIENT_AS=2113 + - EVENTSTORE_ADVERTISE_TCP_PORT_TO_CLIENT_AS=1113 +# - EVENTSTORE_DISCOVER_VIA_DNS=false +# - EVENTSTORE_GOSSIP_SEED=192.168.33.10:2113,192.168.33.11:2113,192.168.33.12:2113 - EVENTSTORE_RUN_PROJECTIONS=All - - EVENTSTORE_DB=/var/lib/eventstore-data - - EVENTSTORE_INDEX=/var/lib/eventstore-index - - EVENTSTORE_LOG=/var/log/eventstore - - EVENTSTORE_CLUSTER_GOSSIP_PORT=2112 - - EVENTSTORE_INT_TCP_PORT=1112 + - EVENTSTORE_START_STANDARD_PROJECTIONS=True + - EVENTSTORE_ENABLE_EXTERNAL_TCP=true - EVENTSTORE_EXT_TCP_PORT=1113 - - EVENTSTORE_INT_HTTP_PORT=2112 - - EVENTSTORE_EXT_HTTP_PORT=2113 - - EVENTSTORE_DISCOVER_VIA_DNS=true - - EVENTSTORE_CLUSTER_DNS=eventstore.local + - EVENTSTORE_HTTP_PORT=2113 - EVENTSTORE_INT_IP=192.168.33.11 - EVENTSTORE_EXT_IP=192.168.33.11 + - EVENTSTORE_CERTIFICATE_FILE=/etc/eventstore/certs/node2/node2.crt + - EVENTSTORE_CERTIFICATE_PRIVATE_KEY_FILE=/etc/eventstore/certs/node2/node2.key + - EVENTSTORE_TRUSTED_ROOT_CERTIFICATES_PATH=/etc/eventstore/certs/ca expose: - "1113" - "1112" - - "2112" - "2113" networks: app_net: aliases: - - eventstore.local + - cluster.tests.node-eventstore-client.local + - node2.tests.node-eventstore-client.local ipv4_address: 192.168.33.11 volumes: - - type: volume - source: eventstore-volume-data2 - target: /var/lib/eventstore-data - - type: volume - source: eventstore-volume-index2 - target: /var/lib/eventstore-index - - type: volume - source: eventstore-volume-logs2 - target: /var/log/eventstore + - eventstore2-data:/var/lib/eventstore + - ./certs:/etc/eventstore/certs:ro eventstore.db3: - image: eventstore/eventstore:release-5.0.8 + image: eventstore/eventstore:21.10.8-buster-slim environment: - - EVENTSTORE_WORKER_THREADS=5 - EVENTSTORE_CLUSTER_SIZE=3 + - EVENTSTORE_CLUSTER_DNS=cluster.tests.node-eventstore-client.local + - EVENTSTORE_ADVERTISE_HOST_TO_CLIENT_AS=node3.tests.node-eventstore-client.local + - EVENTSTORE_ADVERTISE_HTTP_PORT_TO_CLIENT_AS=2113 + - EVENTSTORE_ADVERTISE_TCP_PORT_TO_CLIENT_AS=1113 +# - EVENTSTORE_DISCOVER_VIA_DNS=false +# - EVENTSTORE_GOSSIP_SEED=192.168.33.10:2113,192.168.33.11:2113,192.168.33.12:2113 - EVENTSTORE_RUN_PROJECTIONS=All - - EVENTSTORE_DB=/var/lib/eventstore-data - - EVENTSTORE_INDEX=/var/lib/eventstore-index - - EVENTSTORE_LOG=/var/log/eventstore - - EVENTSTORE_CLUSTER_GOSSIP_PORT=2112 - - EVENTSTORE_INT_TCP_PORT=1112 + - EVENTSTORE_START_STANDARD_PROJECTIONS=True + - EVENTSTORE_ENABLE_EXTERNAL_TCP=true - EVENTSTORE_EXT_TCP_PORT=1113 - - EVENTSTORE_INT_HTTP_PORT=2112 - - EVENTSTORE_EXT_HTTP_PORT=2113 - - EVENTSTORE_DISCOVER_VIA_DNS=true - - EVENTSTORE_CLUSTER_DNS=eventstore.local + - EVENTSTORE_HTTP_PORT=2113 - EVENTSTORE_INT_IP=192.168.33.12 - EVENTSTORE_EXT_IP=192.168.33.12 + - EVENTSTORE_CERTIFICATE_FILE=/etc/eventstore/certs/node3/node3.crt + - EVENTSTORE_CERTIFICATE_PRIVATE_KEY_FILE=/etc/eventstore/certs/node3/node3.key + - EVENTSTORE_TRUSTED_ROOT_CERTIFICATES_PATH=/etc/eventstore/certs/ca expose: - "1113" - "1112" - - "2112" - "2113" networks: app_net: aliases: - - eventstore.local + - cluster.tests.node-eventstore-client.local + - node3.tests.node-eventstore-client.local ipv4_address: 192.168.33.12 volumes: - - type: volume - source: eventstore-volume-data3 - target: /var/lib/eventstore-data - - type: volume - source: eventstore-volume-index3 - target: /var/lib/eventstore-index - - type: volume - source: eventstore-volume-logs3 - target: /var/log/eventstore + - eventstore3-data:/var/lib/eventstore-data + - ./certs:/etc/eventstore/certs:ro nodejs: - image: node:14 + image: node:12 working_dir: /var/code volumes: - .:/var/code @@ -129,19 +114,13 @@ services: - app_net volumes: - eventstore-volume-data: - eventstore-volume-index: - eventstore-volume-logs: - eventstore-volume-data2: - eventstore-volume-index2: - eventstore-volume-logs2: - eventstore-volume-data3: - eventstore-volume-index3: - eventstore-volume-logs3: + eventstore1-data: + eventstore2-data: + eventstore3-data: networks: app_net: ipam: driver: default config: - - subnet: "192.168.33.0/24" \ No newline at end of file + - subnet: "192.168.33.0/24" diff --git a/docker-compose-single.yaml b/docker-compose-single.yaml index 7168547..3b5bda0 100644 --- a/docker-compose-single.yaml +++ b/docker-compose-single.yaml @@ -12,22 +12,21 @@ services: - EVENTSTORE_HTTP_PORT=2113 - EVENTSTORE_INT_IP=192.168.33.10 - EVENTSTORE_EXT_IP=192.168.33.10 - - EVENTSTORE_CERTIFICATE_FILE=/eventstore.p12 - - EVENTSTORE_CERTIFICATE_PASSWORD=eventstore - - EVENTSTORE_TRUSTED_ROOT_CERTIFICATES_PATH=/etc/ssl/certs + - EVENTSTORE_CERTIFICATE_FILE=/etc/eventstore/certs/node1/node1.crt + - EVENTSTORE_CERTIFICATE_PRIVATE_KEY_FILE=/etc/eventstore/certs/node1/node1.key + - EVENTSTORE_TRUSTED_ROOT_CERTIFICATES_PATH=/etc/eventstore/certs/ca ports: - "1113:1113" - "2113:2113" volumes: - eventstore-data:/var/lib/eventstore - - ./certs/eventstore.p12:/eventstore.p12:ro - - ./certs/eventstore-local.crt:/etc/ssl/certs/eventstore.crt:ro + - ./certs:/etc/eventstore/certs:ro networks: app_net: ipv4_address: 192.168.33.10 nodejs: - image: node:14 + image: node:12 working_dir: /var/code volumes: - .:/var/code diff --git a/package-lock.json b/package-lock.json index 60b7eac..5f2e6fe 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "node-eventstore-client", - "version": "0.2.14", + "version": "21.10.0", "lockfileVersion": 1, "requires": true, "dependencies": { @@ -95,6 +95,19 @@ "@babel/helper-validator-identifier": "^7.10.4", "chalk": "^2.0.0", "js-tokens": "^4.0.0" + }, + "dependencies": { + "chalk": { + "version": "2.4.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", + "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", + "dev": true, + "requires": { + "ansi-styles": "^3.2.1", + "escape-string-regexp": "^1.0.5", + "supports-color": "^5.3.0" + } + } } }, "@babel/parser": { @@ -142,6 +155,30 @@ "to-fast-properties": "^2.0.0" } }, + "ansi-styles": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", + "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", + "dev": true, + "requires": { + "color-convert": "^1.9.0" + } + }, + "color-convert": { + "version": "1.9.3", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", + "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", + "dev": true, + "requires": { + "color-name": "1.1.3" + } + }, + "color-name": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", + "integrity": "sha512-72fSenhMw2HZMTVHeCA9KCmpEIbzWiQsjN+BHcBbS9vr1mtt+vJjPdksIBNUmKAW8TFUDPJK5SUU3QhE9NEXDw==", + "dev": true + }, "convert-source-map": { "version": "1.7.0", "resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-1.7.0.tgz", @@ -177,39 +214,58 @@ "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==", "dev": true + }, + "source-map": { + "version": "0.5.7", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz", + "integrity": "sha512-LbrmJOMUSdEVxIKvdcJzQC+nQhe8FUZQTXQy6+I75skNgn3OoQ0DZA8YnFa7gp8tqtL3KPf1kmo0R5DoApeSGQ==", + "dev": true + }, + "supports-color": { + "version": "5.5.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", + "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", + "dev": true, + "requires": { + "has-flag": "^3.0.0" + } } } }, "@babel/generator": { - "version": "7.6.4", - "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.6.4.tgz", - "integrity": "sha512-jsBuXkFoZxk0yWLyGI9llT9oiQ2FeTASmRFE32U+aaDTfoE92t78eroO7PTpU/OrYq38hlcDM6vbfLDaOLy+7w==", + "version": "7.19.6", + "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.19.6.tgz", + "integrity": "sha512-oHGRUQeoX1QrKeJIKVe0hwjGqNnVYsM5Nep5zo0uE0m42sLH+Fsd2pStJ5sRM1bNyTUUoz0pe2lTeMJrb/taTA==", "dev": true, "requires": { - "@babel/types": "^7.6.3", - "jsesc": "^2.5.1", - "lodash": "^4.17.13", - "source-map": "^0.5.0" + "@babel/types": "^7.19.4", + "@jridgewell/gen-mapping": "^0.3.2", + "jsesc": "^2.5.1" } }, + "@babel/helper-environment-visitor": { + "version": "7.18.9", + "resolved": "https://registry.npmjs.org/@babel/helper-environment-visitor/-/helper-environment-visitor-7.18.9.tgz", + "integrity": "sha512-3r/aACDJ3fhQ/EVgFy0hpj8oHyHpQc+LPtJoY9SzTThAsStm4Ptegq92vqKoE3vD706ZVFWITnMnxucw+S9Ipg==", + "dev": true + }, "@babel/helper-function-name": { - "version": "7.1.0", - "resolved": "https://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.1.0.tgz", - "integrity": "sha512-A95XEoCpb3TO+KZzJ4S/5uW5fNe26DjBGqf1o9ucyLyCmi1dXq/B3c8iaWTfBk3VvetUxl16e8tIrd5teOCfGw==", + "version": "7.19.0", + "resolved": "https://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.19.0.tgz", + "integrity": "sha512-WAwHBINyrpqywkUH0nTnNgI5ina5TFn85HKS0pbPDfxFfhyR/aNQEn4hGi1P1JyT//I0t4OgXUlofzWILRvS5w==", "dev": true, "requires": { - "@babel/helper-get-function-arity": "^7.0.0", - "@babel/template": "^7.1.0", - "@babel/types": "^7.0.0" + "@babel/template": "^7.18.10", + "@babel/types": "^7.19.0" } }, - "@babel/helper-get-function-arity": { - "version": "7.0.0", - "resolved": "https://registry.npmjs.org/@babel/helper-get-function-arity/-/helper-get-function-arity-7.0.0.tgz", - "integrity": "sha512-r2DbJeg4svYvt3HOS74U4eWKsUAMRH01Z1ds1zx8KNTPtpTL5JAsdFv8BNyOpVqdFhHkkRDIg5B4AsxmkjAlmQ==", + "@babel/helper-hoist-variables": { + "version": "7.18.6", + "resolved": "https://registry.npmjs.org/@babel/helper-hoist-variables/-/helper-hoist-variables-7.18.6.tgz", + "integrity": "sha512-UlJQPkFqFULIcyW5sbzgbkxn2FKRgwWiRexcuaR8RNJRy8+LLveqPjwZV/bwrLZCN0eUHD/x8D0heK1ozuoo6Q==", "dev": true, "requires": { - "@babel/types": "^7.0.0" + "@babel/types": "^7.18.6" } }, "@babel/helper-member-expression-to-functions": { @@ -310,6 +366,19 @@ "@babel/helper-validator-identifier": "^7.10.4", "chalk": "^2.0.0", "js-tokens": "^4.0.0" + }, + "dependencies": { + "chalk": { + "version": "2.4.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", + "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", + "dev": true, + "requires": { + "ansi-styles": "^3.2.1", + "escape-string-regexp": "^1.0.5", + "supports-color": "^5.3.0" + } + } } }, "@babel/parser": { @@ -340,11 +409,44 @@ "to-fast-properties": "^2.0.0" } }, + "ansi-styles": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", + "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", + "dev": true, + "requires": { + "color-convert": "^1.9.0" + } + }, + "color-convert": { + "version": "1.9.3", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", + "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", + "dev": true, + "requires": { + "color-name": "1.1.3" + } + }, + "color-name": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", + "integrity": "sha512-72fSenhMw2HZMTVHeCA9KCmpEIbzWiQsjN+BHcBbS9vr1mtt+vJjPdksIBNUmKAW8TFUDPJK5SUU3QhE9NEXDw==", + "dev": true + }, "lodash": { "version": "4.17.20", "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.20.tgz", "integrity": "sha512-PlhdFcillOINfeV7Ni6oF1TAEayyZBoZ8bcshTHqOYJYlrqzRK5hagpagky5o4HfCzzd1TRkXPMFq6cKk9rGmA==", "dev": true + }, + "supports-color": { + "version": "5.5.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", + "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", + "dev": true, + "requires": { + "has-flag": "^3.0.0" + } } } }, @@ -412,6 +514,14 @@ "@babel/types": "^7.11.5", "jsesc": "^2.5.1", "source-map": "^0.5.0" + }, + "dependencies": { + "source-map": { + "version": "0.5.7", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz", + "integrity": "sha512-LbrmJOMUSdEVxIKvdcJzQC+nQhe8FUZQTXQy6+I75skNgn3OoQ0DZA8YnFa7gp8tqtL3KPf1kmo0R5DoApeSGQ==", + "dev": true + } } }, "@babel/helper-function-name": { @@ -452,6 +562,19 @@ "@babel/helper-validator-identifier": "^7.10.4", "chalk": "^2.0.0", "js-tokens": "^4.0.0" + }, + "dependencies": { + "chalk": { + "version": "2.4.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", + "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", + "dev": true, + "requires": { + "ansi-styles": "^3.2.1", + "escape-string-regexp": "^1.0.5", + "supports-color": "^5.3.0" + } + } } }, "@babel/parser": { @@ -499,11 +622,44 @@ "to-fast-properties": "^2.0.0" } }, + "ansi-styles": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", + "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", + "dev": true, + "requires": { + "color-convert": "^1.9.0" + } + }, + "color-convert": { + "version": "1.9.3", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", + "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", + "dev": true, + "requires": { + "color-name": "1.1.3" + } + }, + "color-name": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", + "integrity": "sha512-72fSenhMw2HZMTVHeCA9KCmpEIbzWiQsjN+BHcBbS9vr1mtt+vJjPdksIBNUmKAW8TFUDPJK5SUU3QhE9NEXDw==", + "dev": true + }, "lodash": { "version": "4.17.20", "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.20.tgz", "integrity": "sha512-PlhdFcillOINfeV7Ni6oF1TAEayyZBoZ8bcshTHqOYJYlrqzRK5hagpagky5o4HfCzzd1TRkXPMFq6cKk9rGmA==", "dev": true + }, + "supports-color": { + "version": "5.5.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", + "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", + "dev": true, + "requires": { + "has-flag": "^3.0.0" + } } } }, @@ -535,6 +691,19 @@ "@babel/helper-validator-identifier": "^7.10.4", "chalk": "^2.0.0", "js-tokens": "^4.0.0" + }, + "dependencies": { + "chalk": { + "version": "2.4.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", + "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", + "dev": true, + "requires": { + "ansi-styles": "^3.2.1", + "escape-string-regexp": "^1.0.5", + "supports-color": "^5.3.0" + } + } } }, "@babel/parser": { @@ -565,23 +734,62 @@ "to-fast-properties": "^2.0.0" } }, + "ansi-styles": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", + "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", + "dev": true, + "requires": { + "color-convert": "^1.9.0" + } + }, + "color-convert": { + "version": "1.9.3", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", + "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", + "dev": true, + "requires": { + "color-name": "1.1.3" + } + }, + "color-name": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", + "integrity": "sha512-72fSenhMw2HZMTVHeCA9KCmpEIbzWiQsjN+BHcBbS9vr1mtt+vJjPdksIBNUmKAW8TFUDPJK5SUU3QhE9NEXDw==", + "dev": true + }, "lodash": { "version": "4.17.20", "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.20.tgz", "integrity": "sha512-PlhdFcillOINfeV7Ni6oF1TAEayyZBoZ8bcshTHqOYJYlrqzRK5hagpagky5o4HfCzzd1TRkXPMFq6cKk9rGmA==", "dev": true + }, + "supports-color": { + "version": "5.5.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", + "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", + "dev": true, + "requires": { + "has-flag": "^3.0.0" + } } } }, "@babel/helper-split-export-declaration": { - "version": "7.4.4", - "resolved": "https://registry.npmjs.org/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.4.4.tgz", - "integrity": "sha512-Ro/XkzLf3JFITkW6b+hNxzZ1n5OQ80NvIUdmHspih1XAhtN3vPTuUFT4eQnela+2MaZ5ulH+iyP513KJrxbN7Q==", + "version": "7.18.6", + "resolved": "https://registry.npmjs.org/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.18.6.tgz", + "integrity": "sha512-bde1etTx6ZyTmobl9LLMMQsaizFVZrquTEHOqKeQESMKo4PlObf+8+JA25ZsIpZhT/WEd39+vOdLXAFG/nELpA==", "dev": true, "requires": { - "@babel/types": "^7.4.4" + "@babel/types": "^7.18.6" } }, + "@babel/helper-string-parser": { + "version": "7.19.4", + "resolved": "https://registry.npmjs.org/@babel/helper-string-parser/-/helper-string-parser-7.19.4.tgz", + "integrity": "sha512-nHtDoQcuqFmwYNYPz3Rah5ph2p8PFeFCsZk9A/48dPc/rGocJ5J3hAAZ7pb76VWX3fZKu+uEr/FhH5jLx7umrw==", + "dev": true + }, "@babel/helper-validator-identifier": { "version": "7.10.4", "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.10.4.tgz", @@ -617,6 +825,14 @@ "@babel/types": "^7.11.5", "jsesc": "^2.5.1", "source-map": "^0.5.0" + }, + "dependencies": { + "source-map": { + "version": "0.5.7", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz", + "integrity": "sha512-LbrmJOMUSdEVxIKvdcJzQC+nQhe8FUZQTXQy6+I75skNgn3OoQ0DZA8YnFa7gp8tqtL3KPf1kmo0R5DoApeSGQ==", + "dev": true + } } }, "@babel/helper-function-name": { @@ -657,6 +873,19 @@ "@babel/helper-validator-identifier": "^7.10.4", "chalk": "^2.0.0", "js-tokens": "^4.0.0" + }, + "dependencies": { + "chalk": { + "version": "2.4.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", + "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", + "dev": true, + "requires": { + "ansi-styles": "^3.2.1", + "escape-string-regexp": "^1.0.5", + "supports-color": "^5.3.0" + } + } } }, "@babel/parser": { @@ -704,11 +933,44 @@ "to-fast-properties": "^2.0.0" } }, + "ansi-styles": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", + "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", + "dev": true, + "requires": { + "color-convert": "^1.9.0" + } + }, + "color-convert": { + "version": "1.9.3", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", + "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", + "dev": true, + "requires": { + "color-name": "1.1.3" + } + }, + "color-name": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", + "integrity": "sha512-72fSenhMw2HZMTVHeCA9KCmpEIbzWiQsjN+BHcBbS9vr1mtt+vJjPdksIBNUmKAW8TFUDPJK5SUU3QhE9NEXDw==", + "dev": true + }, "lodash": { "version": "4.17.20", "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.20.tgz", "integrity": "sha512-PlhdFcillOINfeV7Ni6oF1TAEayyZBoZ8bcshTHqOYJYlrqzRK5hagpagky5o4HfCzzd1TRkXPMFq6cKk9rGmA==", "dev": true + }, + "supports-color": { + "version": "5.5.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", + "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", + "dev": true, + "requires": { + "has-flag": "^3.0.0" + } } } }, @@ -721,13 +983,58 @@ "chalk": "^2.0.0", "esutils": "^2.0.2", "js-tokens": "^4.0.0" + }, + "dependencies": { + "ansi-styles": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", + "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", + "dev": true, + "requires": { + "color-convert": "^1.9.0" + } + }, + "chalk": { + "version": "2.4.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", + "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", + "dev": true, + "requires": { + "ansi-styles": "^3.2.1", + "escape-string-regexp": "^1.0.5", + "supports-color": "^5.3.0" + } + }, + "color-convert": { + "version": "1.9.3", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", + "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", + "dev": true, + "requires": { + "color-name": "1.1.3" + } + }, + "color-name": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", + "integrity": "sha512-72fSenhMw2HZMTVHeCA9KCmpEIbzWiQsjN+BHcBbS9vr1mtt+vJjPdksIBNUmKAW8TFUDPJK5SUU3QhE9NEXDw==", + "dev": true + }, + "supports-color": { + "version": "5.5.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", + "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", + "dev": true, + "requires": { + "has-flag": "^3.0.0" + } + } } }, "@babel/parser": { "version": "7.6.4", "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.6.4.tgz", - "integrity": "sha512-D8RHPW5qd0Vbyo3qb+YjO5nvUVRTXFLQ/FsDxJU2Nqz4uB5EnUN0ZQSEYpvTIbRuttig1XbHWU5oMeQwQSAA+A==", - "dev": true + "integrity": "sha512-D8RHPW5qd0Vbyo3qb+YjO5nvUVRTXFLQ/FsDxJU2Nqz4uB5EnUN0ZQSEYpvTIbRuttig1XbHWU5oMeQwQSAA+A==" }, "@babel/plugin-syntax-async-generators": { "version": "7.8.4", @@ -829,42 +1136,207 @@ } }, "@babel/template": { - "version": "7.6.0", - "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.6.0.tgz", - "integrity": "sha512-5AEH2EXD8euCk446b7edmgFdub/qfH1SN6Nii3+fyXP807QRx9Q73A2N5hNwRRslC2H9sNzaFhsPubkS4L8oNQ==", + "version": "7.18.10", + "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.18.10.tgz", + "integrity": "sha512-TI+rCtooWHr3QJ27kJxfjutghu44DLnasDMwpDqCXVTal9RLp3RSYNh4NdBrRP2cQAoG9A8juOQl6P6oZG4JxA==", "dev": true, "requires": { - "@babel/code-frame": "^7.0.0", - "@babel/parser": "^7.6.0", - "@babel/types": "^7.6.0" + "@babel/code-frame": "^7.18.6", + "@babel/parser": "^7.18.10", + "@babel/types": "^7.18.10" + }, + "dependencies": { + "@babel/code-frame": { + "version": "7.18.6", + "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.18.6.tgz", + "integrity": "sha512-TDCmlK5eOvH+eH7cdAFlNXeVJqWIQ7gW9tY1GJIpUtFb6CmjVyq2VM3u71bOyR8CRihcCgMUYoDNyLXao3+70Q==", + "dev": true, + "requires": { + "@babel/highlight": "^7.18.6" + } + }, + "@babel/helper-validator-identifier": { + "version": "7.19.1", + "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.19.1.tgz", + "integrity": "sha512-awrNfaMtnHUr653GgGEs++LlAvW6w+DcPrOliSMXWCKo597CwL5Acf/wWdNkf/tfEQE3mjkeD1YOVZOUV/od1w==", + "dev": true + }, + "@babel/highlight": { + "version": "7.18.6", + "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.18.6.tgz", + "integrity": "sha512-u7stbOuYjaPezCuLj29hNW1v64M2Md2qupEKP1fHc7WdOA3DgLh37suiSrZYY7haUB7iBeQZ9P1uiRF359do3g==", + "dev": true, + "requires": { + "@babel/helper-validator-identifier": "^7.18.6", + "chalk": "^2.0.0", + "js-tokens": "^4.0.0" + } + }, + "@babel/parser": { + "version": "7.19.6", + "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.19.6.tgz", + "integrity": "sha512-h1IUp81s2JYJ3mRkdxJgs4UvmSsRvDrx5ICSJbPvtWYv5i1nTBGcBpnog+89rAFMwvvru6E5NUHdBe01UeSzYA==", + "dev": true + }, + "ansi-styles": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", + "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", + "dev": true, + "requires": { + "color-convert": "^1.9.0" + } + }, + "chalk": { + "version": "2.4.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", + "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", + "dev": true, + "requires": { + "ansi-styles": "^3.2.1", + "escape-string-regexp": "^1.0.5", + "supports-color": "^5.3.0" + } + }, + "color-convert": { + "version": "1.9.3", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", + "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", + "dev": true, + "requires": { + "color-name": "1.1.3" + } + }, + "color-name": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", + "integrity": "sha512-72fSenhMw2HZMTVHeCA9KCmpEIbzWiQsjN+BHcBbS9vr1mtt+vJjPdksIBNUmKAW8TFUDPJK5SUU3QhE9NEXDw==", + "dev": true + }, + "supports-color": { + "version": "5.5.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", + "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", + "dev": true, + "requires": { + "has-flag": "^3.0.0" + } + } } }, "@babel/traverse": { - "version": "7.6.3", - "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.6.3.tgz", - "integrity": "sha512-unn7P4LGsijIxaAJo/wpoU11zN+2IaClkQAxcJWBNCMS6cmVh802IyLHNkAjQ0iYnRS3nnxk5O3fuXW28IMxTw==", + "version": "7.19.6", + "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.19.6.tgz", + "integrity": "sha512-6l5HrUCzFM04mfbG09AagtYyR2P0B71B1wN7PfSPiksDPz2k5H9CBC1tcZpz2M8OxbKTPccByoOJ22rUKbpmQQ==", "dev": true, "requires": { - "@babel/code-frame": "^7.5.5", - "@babel/generator": "^7.6.3", - "@babel/helper-function-name": "^7.1.0", - "@babel/helper-split-export-declaration": "^7.4.4", - "@babel/parser": "^7.6.3", - "@babel/types": "^7.6.3", + "@babel/code-frame": "^7.18.6", + "@babel/generator": "^7.19.6", + "@babel/helper-environment-visitor": "^7.18.9", + "@babel/helper-function-name": "^7.19.0", + "@babel/helper-hoist-variables": "^7.18.6", + "@babel/helper-split-export-declaration": "^7.18.6", + "@babel/parser": "^7.19.6", + "@babel/types": "^7.19.4", "debug": "^4.1.0", - "globals": "^11.1.0", - "lodash": "^4.17.13" + "globals": "^11.1.0" + }, + "dependencies": { + "@babel/code-frame": { + "version": "7.18.6", + "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.18.6.tgz", + "integrity": "sha512-TDCmlK5eOvH+eH7cdAFlNXeVJqWIQ7gW9tY1GJIpUtFb6CmjVyq2VM3u71bOyR8CRihcCgMUYoDNyLXao3+70Q==", + "dev": true, + "requires": { + "@babel/highlight": "^7.18.6" + } + }, + "@babel/helper-validator-identifier": { + "version": "7.19.1", + "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.19.1.tgz", + "integrity": "sha512-awrNfaMtnHUr653GgGEs++LlAvW6w+DcPrOliSMXWCKo597CwL5Acf/wWdNkf/tfEQE3mjkeD1YOVZOUV/od1w==", + "dev": true + }, + "@babel/highlight": { + "version": "7.18.6", + "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.18.6.tgz", + "integrity": "sha512-u7stbOuYjaPezCuLj29hNW1v64M2Md2qupEKP1fHc7WdOA3DgLh37suiSrZYY7haUB7iBeQZ9P1uiRF359do3g==", + "dev": true, + "requires": { + "@babel/helper-validator-identifier": "^7.18.6", + "chalk": "^2.0.0", + "js-tokens": "^4.0.0" + } + }, + "@babel/parser": { + "version": "7.19.6", + "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.19.6.tgz", + "integrity": "sha512-h1IUp81s2JYJ3mRkdxJgs4UvmSsRvDrx5ICSJbPvtWYv5i1nTBGcBpnog+89rAFMwvvru6E5NUHdBe01UeSzYA==", + "dev": true + }, + "ansi-styles": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", + "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", + "dev": true, + "requires": { + "color-convert": "^1.9.0" + } + }, + "chalk": { + "version": "2.4.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", + "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", + "dev": true, + "requires": { + "ansi-styles": "^3.2.1", + "escape-string-regexp": "^1.0.5", + "supports-color": "^5.3.0" + } + }, + "color-convert": { + "version": "1.9.3", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", + "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", + "dev": true, + "requires": { + "color-name": "1.1.3" + } + }, + "color-name": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", + "integrity": "sha512-72fSenhMw2HZMTVHeCA9KCmpEIbzWiQsjN+BHcBbS9vr1mtt+vJjPdksIBNUmKAW8TFUDPJK5SUU3QhE9NEXDw==", + "dev": true + }, + "supports-color": { + "version": "5.5.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", + "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", + "dev": true, + "requires": { + "has-flag": "^3.0.0" + } + } } }, "@babel/types": { - "version": "7.6.3", - "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.6.3.tgz", - "integrity": "sha512-CqbcpTxMcpuQTMhjI37ZHVgjBkysg5icREQIEZ0eG1yCNwg3oy+5AaLiOKmjsCj6nqOsa6Hf0ObjRVwokb7srA==", + "version": "7.19.4", + "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.19.4.tgz", + "integrity": "sha512-M5LK7nAeS6+9j7hAq+b3fQs+pNfUtTGq+yFFfHnauFA8zQtLRfmuipmsKDKKLuyG+wC8ABW43A153YNawNTEtw==", "dev": true, "requires": { - "esutils": "^2.0.2", - "lodash": "^4.17.13", + "@babel/helper-string-parser": "^7.19.4", + "@babel/helper-validator-identifier": "^7.19.1", "to-fast-properties": "^2.0.0" + }, + "dependencies": { + "@babel/helper-validator-identifier": { + "version": "7.19.1", + "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.19.1.tgz", + "integrity": "sha512-awrNfaMtnHUr653GgGEs++LlAvW6w+DcPrOliSMXWCKo597CwL5Acf/wWdNkf/tfEQE3mjkeD1YOVZOUV/od1w==", + "dev": true + } } }, "@bcoe/v8-coverage": { @@ -1643,10 +2115,49 @@ } } }, + "@jridgewell/gen-mapping": { + "version": "0.3.2", + "resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.3.2.tgz", + "integrity": "sha512-mh65xKQAzI6iBcFzwv28KVWSmCkdRBWoOh+bYQGW3+6OZvbbN3TqMGo5hqYxQniRcH9F2VZIoJCm4pa3BPDK/A==", + "dev": true, + "requires": { + "@jridgewell/set-array": "^1.0.1", + "@jridgewell/sourcemap-codec": "^1.4.10", + "@jridgewell/trace-mapping": "^0.3.9" + } + }, + "@jridgewell/resolve-uri": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/@jridgewell/resolve-uri/-/resolve-uri-3.1.0.tgz", + "integrity": "sha512-F2msla3tad+Mfht5cJq7LSXcdudKTWCVYUgw6pLFOOHSTtZlj6SWNYAp+AhuqLmWdBO2X5hPrLcu8cVP8fy28w==", + "dev": true + }, + "@jridgewell/set-array": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/@jridgewell/set-array/-/set-array-1.1.2.tgz", + "integrity": "sha512-xnkseuNADM0gt2bs+BvhO0p78Mk762YnZdsuzFV018NoG1Sj1SCQvpSqa7XUaTam5vAGasABV9qXASMKnFMwMw==", + "dev": true + }, + "@jridgewell/sourcemap-codec": { + "version": "1.4.14", + "resolved": "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.4.14.tgz", + "integrity": "sha512-XPSJHWmi394fuUuzDnGz1wiKqWfo1yXecHQMRf2l6hztTO+nPru658AyDngaBe7isIxEkRsPR3FZh+s7iVa4Uw==", + "dev": true + }, + "@jridgewell/trace-mapping": { + "version": "0.3.17", + "resolved": "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.17.tgz", + "integrity": "sha512-MCNzAp77qzKca9+W/+I0+sEpaUnZoeasnghNeVc41VZCEKaCH73Vq3BZZ/SzWIgrqE4H4ceI+p+b6C0mHf9T4g==", + "dev": true, + "requires": { + "@jridgewell/resolve-uri": "3.1.0", + "@jridgewell/sourcemap-codec": "1.4.14" + } + }, "@protobufjs/aspromise": { "version": "1.1.2", "resolved": "https://registry.npmjs.org/@protobufjs/aspromise/-/aspromise-1.1.2.tgz", - "integrity": "sha1-m4sMxmPWaafY9vXQiToU00jzD78=" + "integrity": "sha512-j+gKExEuLmKwvz3OgROXtrJ2UG2x8Ch2YZUxahh+s1F2HZ+wAceUNLkvy6zKCPVRkU++ZWQrdxsUeQXmcg4uoQ==" }, "@protobufjs/base64": { "version": "1.1.2", @@ -1661,12 +2172,12 @@ "@protobufjs/eventemitter": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/@protobufjs/eventemitter/-/eventemitter-1.1.0.tgz", - "integrity": "sha1-NVy8mLr61ZePntCV85diHx0Ga3A=" + "integrity": "sha512-j9ednRT81vYJ9OfVuXG6ERSTdEL1xVsNgqpkxMsbIabzSo3goCjDIveeGv5d03om39ML71RdmrGNjG5SReBP/Q==" }, "@protobufjs/fetch": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/@protobufjs/fetch/-/fetch-1.1.0.tgz", - "integrity": "sha1-upn7WYYUr2VwDBYZ/wbUVLDYTEU=", + "integrity": "sha512-lljVXpqXebpsijW71PZaCYeIcE5on1w5DlQy5WH6GLbFryLUrBD4932W/E2BSpfRJWseIL4v/KPgBFxDOIdKpQ==", "requires": { "@protobufjs/aspromise": "^1.1.1", "@protobufjs/inquire": "^1.1.0" @@ -1675,27 +2186,27 @@ "@protobufjs/float": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/@protobufjs/float/-/float-1.0.2.tgz", - "integrity": "sha1-Xp4avctz/Ap8uLKR33jIy9l7h9E=" + "integrity": "sha512-Ddb+kVXlXst9d+R9PfTIxh1EdNkgoRe5tOX6t01f1lYWOvJnSPDBlG241QLzcyPdoNTsblLUdujGSE4RzrTZGQ==" }, "@protobufjs/inquire": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/@protobufjs/inquire/-/inquire-1.1.0.tgz", - "integrity": "sha1-/yAOPnzyQp4tyvwRQIKOjMY48Ik=" + "integrity": "sha512-kdSefcPdruJiFMVSbn801t4vFK7KB/5gd2fYvrxhuJYg8ILrmn9SKSX2tZdV6V+ksulWqS7aXjBcRXl3wHoD9Q==" }, "@protobufjs/path": { "version": "1.1.2", "resolved": "https://registry.npmjs.org/@protobufjs/path/-/path-1.1.2.tgz", - "integrity": "sha1-bMKyDFya1q0NzP0hynZz2Nf79o0=" + "integrity": "sha512-6JOcJ5Tm08dOHAbdR3GrvP+yUUfkjG5ePsHYczMFLq3ZmMkAD98cDgcT2iA1lJ9NVwFd4tH/iSSoe44YWkltEA==" }, "@protobufjs/pool": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/@protobufjs/pool/-/pool-1.1.0.tgz", - "integrity": "sha1-Cf0V8tbTq/qbZbw2ZQbWrXhG/1Q=" + "integrity": "sha512-0kELaGSIDBKvcgS4zkjz1PeddatrjYcmMWOlAuAPwAeccUrPHdUqo/J6LiymHHEiJT5NrF1UVwxY14f+fy4WQw==" }, "@protobufjs/utf8": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/@protobufjs/utf8/-/utf8-1.1.0.tgz", - "integrity": "sha1-p3c2C1s5oaLlEG+OhY8v0tBgxXA=" + "integrity": "sha512-Vvn3zZrhQZkkBE8LSuW3em98c0FwgO4nxzv6OdSxPKJIEKY2bGbHn+mhGIPerzI4twdxaP8/0+06HBpwf345Lw==" }, "@sinonjs/commons": { "version": "1.8.1", @@ -1795,15 +2306,10 @@ "@types/istanbul-lib-report": "*" } }, - "@types/long": { - "version": "3.0.32", - "resolved": "https://registry.npmjs.org/@types/long/-/long-3.0.32.tgz", - "integrity": "sha512-ZXyOOm83p7X8p3s0IYM3VeueNmHpkk/yMlP8CLeOnEcu6hIwPH7YjZBvhQkR0ZFS2DqZAxKtJ/M5fcuv3OU5BA==" - }, "@types/node": { - "version": "12.12.5", - "resolved": "https://registry.npmjs.org/@types/node/-/node-12.12.5.tgz", - "integrity": "sha512-KEjODidV4XYUlJBF3XdjSH5FWoMCtO0utnhtdLf1AgeuZLOrRbvmU/gaRCVg7ZaQDjVf3l84egiY0mRNe5xE4A==" + "version": "18.11.3", + "resolved": "https://registry.npmjs.org/@types/node/-/node-18.11.3.tgz", + "integrity": "sha512-fNjDQzzOsZeKZu5NATgXUPsaFaTxeRgFXoosrHivTl8RGeV733OLawXsGfEk9a8/tySyZUyiZ6E8LcjPFZ2y1A==" }, "@types/normalize-package-data": { "version": "2.4.0", @@ -2032,12 +2538,6 @@ "integrity": "sha512-Eu9ELJWCz/c1e9gTiCY+FceWxcqzjYEbqMgtndnuSqZSUCOL73TWNK2mHfIj4Cw2E/ongOp+JISVNCmovt2KYQ==", "dev": true }, - "acorn": { - "version": "6.3.0", - "resolved": "https://registry.npmjs.org/acorn/-/acorn-6.3.0.tgz", - "integrity": "sha512-/czfa8BwS88b9gWQVhc8eknunSA2DoJpJyTQkhheIf5E48u1N0R4q/YxxsAeqRrmK9TQ/uYfgLDfZo91UlANIA==", - "dev": true - }, "acorn-globals": { "version": "6.0.0", "resolved": "https://registry.npmjs.org/acorn-globals/-/acorn-globals-6.0.0.tgz", @@ -2056,6 +2556,11 @@ } } }, + "acorn-jsx": { + "version": "5.3.2", + "resolved": "https://registry.npmjs.org/acorn-jsx/-/acorn-jsx-5.3.2.tgz", + "integrity": "sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ==" + }, "acorn-walk": { "version": "7.2.0", "resolved": "https://registry.npmjs.org/acorn-walk/-/acorn-walk-7.2.0.tgz", @@ -2103,19 +2608,12 @@ } } }, - "ansi-regex": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-4.1.0.tgz", - "integrity": "sha512-1apePfXM1UOSqw0o9IiFAovVz9M5S1Dg+4TrDwfMewQ6p/rmMueb7tWZjQ1rx4Loy1ArBggoqGpfqqdI4rondg==", - "dev": true - }, "ansi-styles": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", - "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", - "dev": true, + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", "requires": { - "color-convert": "^1.9.0" + "color-convert": "^2.0.1" } }, "anymatch": { @@ -2128,6 +2626,62 @@ "normalize-path": "^2.1.1" }, "dependencies": { + "define-property": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/define-property/-/define-property-2.0.2.tgz", + "integrity": "sha512-jwK2UV4cnPpbcG7+VRARKTZPUWowwXA8bzH5NP6ud0oeAxyYPuGZUAC7hMugpCdz4BeSZl2Dl9k66CHJ/46ZYQ==", + "dev": true, + "requires": { + "is-descriptor": "^1.0.2", + "isobject": "^3.0.1" + } + }, + "extend-shallow": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-3.0.2.tgz", + "integrity": "sha512-BwY5b5Ql4+qZoefgMj2NUmx+tehVTH/Kf4k1ZEtOHNFcm2wSxMRo992l6X3TIgni2eZVTZ85xMOjF31fwZAj6Q==", + "dev": true, + "requires": { + "assign-symbols": "^1.0.0", + "is-extendable": "^1.0.1" + } + }, + "is-extendable": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/is-extendable/-/is-extendable-1.0.1.tgz", + "integrity": "sha512-arnXMxT1hhoKo9k1LZdmlNyJdDDfy2v0fXjFlmok4+i8ul/6WlbVge9bhM74OpNPQPMGUToDtz+KXa1PneJxOA==", + "dev": true, + "requires": { + "is-plain-object": "^2.0.4" + } + }, + "kind-of": { + "version": "6.0.3", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-6.0.3.tgz", + "integrity": "sha512-dcS1ul+9tmeD95T+x28/ehLgd9mENa3LsvDTtzm3vyBEO7RPptvAD+t44WVXaUjTBRcrpFeFlC8WCruUR456hw==", + "dev": true + }, + "micromatch": { + "version": "3.1.10", + "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-3.1.10.tgz", + "integrity": "sha512-MWikgl9n9M3w+bpsY3He8L+w9eF9338xRl8IAO5viDizwSzziFEyUzo2xrrloB64ADbTf8uA8vRqqttDTOmccg==", + "dev": true, + "requires": { + "arr-diff": "^4.0.0", + "array-unique": "^0.3.2", + "braces": "^2.3.1", + "define-property": "^2.0.2", + "extend-shallow": "^3.0.2", + "extglob": "^2.0.4", + "fragment-cache": "^0.2.1", + "kind-of": "^6.0.2", + "nanomatch": "^1.2.9", + "object.pick": "^1.3.0", + "regex-not": "^1.0.0", + "snapdragon": "^0.8.1", + "to-regex": "^3.0.2" + } + }, "normalize-path": { "version": "2.1.1", "resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-2.1.1.tgz", @@ -2170,7 +2724,6 @@ "version": "1.0.10", "resolved": "https://registry.npmjs.org/argparse/-/argparse-1.0.10.tgz", "integrity": "sha512-o5Roy6tNG4SL/FOkCAN6RzjiakZS25RLYFrcMttJqbdd8BWrnA+fGz57iN5Pb06pvBGvl5gQ0B48dJlslXvoTg==", - "dev": true, "requires": { "sprintf-js": "~1.0.2" } @@ -2456,8 +3009,7 @@ "balanced-match": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.0.tgz", - "integrity": "sha1-ibTRmasr7kneFk6gK4nORi1xt2c=", - "dev": true + "integrity": "sha1-ibTRmasr7kneFk6gK4nORi1xt2c=" }, "base": { "version": "0.11.2", @@ -2490,6 +3042,14 @@ "dev": true, "requires": { "kind-of": "^6.0.0" + }, + "dependencies": { + "kind-of": { + "version": "6.0.3", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-6.0.3.tgz", + "integrity": "sha512-dcS1ul+9tmeD95T+x28/ehLgd9mENa3LsvDTtzm3vyBEO7RPptvAD+t44WVXaUjTBRcrpFeFlC8WCruUR456hw==", + "dev": true + } } }, "is-data-descriptor": { @@ -2499,6 +3059,14 @@ "dev": true, "requires": { "kind-of": "^6.0.0" + }, + "dependencies": { + "kind-of": { + "version": "6.0.3", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-6.0.3.tgz", + "integrity": "sha512-dcS1ul+9tmeD95T+x28/ehLgd9mENa3LsvDTtzm3vyBEO7RPptvAD+t44WVXaUjTBRcrpFeFlC8WCruUR456hw==", + "dev": true + } } }, "is-descriptor": { @@ -2510,6 +3078,14 @@ "is-accessor-descriptor": "^1.0.0", "is-data-descriptor": "^1.0.0", "kind-of": "^6.0.2" + }, + "dependencies": { + "kind-of": { + "version": "6.0.3", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-6.0.3.tgz", + "integrity": "sha512-dcS1ul+9tmeD95T+x28/ehLgd9mENa3LsvDTtzm3vyBEO7RPptvAD+t44WVXaUjTBRcrpFeFlC8WCruUR456hw==", + "dev": true + } } } } @@ -2550,8 +3126,7 @@ "bluebird": { "version": "3.7.1", "resolved": "https://registry.npmjs.org/bluebird/-/bluebird-3.7.1.tgz", - "integrity": "sha512-DdmyoGCleJnkbp3nkbxTLJ18rjDsE4yCggEwKNXkeV123sPNfOCYeDoeuOY+F2FrSjO1YXcTU+dsy96KMy+gcg==", - "dev": true + "integrity": "sha512-DdmyoGCleJnkbp3nkbxTLJ18rjDsE4yCggEwKNXkeV123sPNfOCYeDoeuOY+F2FrSjO1YXcTU+dsy96KMy+gcg==" }, "bn.js": { "version": "4.11.8", @@ -2563,7 +3138,6 @@ "version": "1.1.11", "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", - "dev": true, "requires": { "balanced-match": "^1.0.0", "concat-map": "0.0.1" @@ -2825,28 +3399,17 @@ "version": "0.8.11", "resolved": "https://registry.npmjs.org/catharsis/-/catharsis-0.8.11.tgz", "integrity": "sha512-a+xUyMV7hD1BrDQA/3iPV7oc+6W26BgVJO05PGEoatMyIuPScQKsde6i3YorWX1qs+AZjnJ18NqdKoCtKiNh1g==", - "dev": true, "requires": { "lodash": "^4.17.14" } }, "chalk": { - "version": "2.4.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", - "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", - "dev": true, + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", + "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", "requires": { - "ansi-styles": "^3.2.1", - "escape-string-regexp": "^1.0.5", - "supports-color": "^5.3.0" - }, - "dependencies": { - "escape-string-regexp": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz", - "integrity": "sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ=", - "dev": true - } + "ansi-styles": "^4.1.0", + "supports-color": "^7.1.0" } }, "char-regex": { @@ -2925,7 +3488,66 @@ "dev": true, "requires": { "is-descriptor": "^0.1.0" + }, + "dependencies": { + "is-descriptor": { + "version": "0.1.6", + "resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-0.1.6.tgz", + "integrity": "sha512-avDYr0SB3DwO9zsMov0gKCESFYqCnE4hq/4z3TdUlukEy5t9C0YRq7HLrsN52NAcqXKaepeCD0n+B0arnVG3Hg==", + "dev": true, + "requires": { + "is-accessor-descriptor": "^0.1.6", + "is-data-descriptor": "^0.1.4", + "kind-of": "^5.0.0" + } + } } + }, + "is-accessor-descriptor": { + "version": "0.1.6", + "resolved": "https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-0.1.6.tgz", + "integrity": "sha512-e1BM1qnDbMRG3ll2U9dSK0UMHuWOs3pY3AtcFsmvwPtKL3MML/Q86i+GilLfvqEs4GW+ExB91tQ3Ig9noDIZ+A==", + "dev": true, + "requires": { + "kind-of": "^3.0.2" + }, + "dependencies": { + "kind-of": { + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", + "integrity": "sha512-NOW9QQXMoZGg/oqnVNoNTTIFEIid1627WCffUBJEdMxYApq7mNE7CpzucIPc+ZQg25Phej7IJSmX3hO+oblOtQ==", + "dev": true, + "requires": { + "is-buffer": "^1.1.5" + } + } + } + }, + "is-data-descriptor": { + "version": "0.1.4", + "resolved": "https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-0.1.4.tgz", + "integrity": "sha512-+w9D5ulSoBNlmw9OHn3U2v51SyoCd0he+bB3xMl62oijhrspxowjU+AIcDY0N3iEJbUEkB15IlMASQsxYigvXg==", + "dev": true, + "requires": { + "kind-of": "^3.0.2" + }, + "dependencies": { + "kind-of": { + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", + "integrity": "sha512-NOW9QQXMoZGg/oqnVNoNTTIFEIid1627WCffUBJEdMxYApq7mNE7CpzucIPc+ZQg25Phej7IJSmX3hO+oblOtQ==", + "dev": true, + "requires": { + "is-buffer": "^1.1.5" + } + } + } + }, + "kind-of": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-5.1.0.tgz", + "integrity": "sha512-NGEErnH6F2vUuXDh+OlbcKW7/wOcfdRHaZ7VWtqCztfHri/++YKmP51OdWeGPuqCOba6kk2OTe5d02VmTB80Pw==", + "dev": true } } }, @@ -2944,6 +3566,23 @@ "string-width": "^3.1.0", "strip-ansi": "^5.2.0", "wrap-ansi": "^5.1.0" + }, + "dependencies": { + "ansi-regex": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-4.1.1.tgz", + "integrity": "sha512-ILlv4k/3f6vfQ4OoP2AGvirOktlQ98ZEL1k9FaQjxa3L1abBgbuTDAdPOpvbGncC0BTVQrl+OM8xZGK6tWXt7g==", + "dev": true + }, + "strip-ansi": { + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-5.2.0.tgz", + "integrity": "sha512-DuRs1gKbBqsMKIZlrffwlug8MHkcnpjs5VPmL1PAh+mA30U0DTotfDZ0d2UUsXpPmPmMMJ6W773MaA3J+lbiWA==", + "dev": true, + "requires": { + "ansi-regex": "^4.1.0" + } + } } }, "co": { @@ -2969,19 +3608,17 @@ } }, "color-convert": { - "version": "1.9.3", - "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", - "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", - "dev": true, + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", + "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", "requires": { - "color-name": "1.1.3" + "color-name": "~1.1.4" } }, "color-name": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", - "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=", - "dev": true + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", + "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==" }, "color-support": { "version": "1.1.3", @@ -3019,8 +3656,7 @@ "concat-map": { "version": "0.0.1", "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", - "integrity": "sha1-2Klr13/Wjfd5OnMDajug1UBdR3s=", - "dev": true + "integrity": "sha1-2Klr13/Wjfd5OnMDajug1UBdR3s=" }, "concat-stream": { "version": "1.6.2", @@ -3122,6 +3758,14 @@ "nested-error-stacks": "^2.0.0", "pify": "^4.0.1", "safe-buffer": "^5.0.1" + }, + "dependencies": { + "pify": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/pify/-/pify-4.0.1.tgz", + "integrity": "sha512-uB80kBFb/tfd68bVleG9T5GGsGPjJrLAUpR5PZIrhBnIaRTQRjqdJSsIKkOP6OAIFbj7GOrcudc5pNjZ+geV2g==", + "dev": true + } } }, "create-ecdh": { @@ -3161,16 +3805,6 @@ "sha.js": "^2.4.8" } }, - "cross-spawn": { - "version": "4.0.2", - "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-4.0.2.tgz", - "integrity": "sha1-e5JHYhwjrf3ThWAEqCPL45dCTUE=", - "dev": true, - "requires": { - "lru-cache": "^4.0.1", - "which": "^1.2.9" - } - }, "crypto-browserify": { "version": "3.12.0", "resolved": "https://registry.npmjs.org/crypto-browserify/-/crypto-browserify-3.12.0.tgz", @@ -3269,8 +3903,7 @@ "deep-is": { "version": "0.1.3", "resolved": "https://registry.npmjs.org/deep-is/-/deep-is-0.1.3.tgz", - "integrity": "sha1-s2nW+128E+7PUk+RsHD+7cNXzzQ=", - "dev": true + "integrity": "sha1-s2nW+128E+7PUk+RsHD+7cNXzzQ=" }, "deepmerge": { "version": "4.2.2", @@ -3287,47 +3920,6 @@ "strip-bom": "^3.0.0" } }, - "define-property": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/define-property/-/define-property-2.0.2.tgz", - "integrity": "sha512-jwK2UV4cnPpbcG7+VRARKTZPUWowwXA8bzH5NP6ud0oeAxyYPuGZUAC7hMugpCdz4BeSZl2Dl9k66CHJ/46ZYQ==", - "dev": true, - "requires": { - "is-descriptor": "^1.0.2", - "isobject": "^3.0.1" - }, - "dependencies": { - "is-accessor-descriptor": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-1.0.0.tgz", - "integrity": "sha512-m5hnHTkcVsPfqx3AKlyttIPb7J+XykHvJP2B9bZDjlhLIoEq4XoK64Vg7boZlVWYK6LUY94dYPEE7Lh0ZkZKcQ==", - "dev": true, - "requires": { - "kind-of": "^6.0.0" - } - }, - "is-data-descriptor": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-1.0.0.tgz", - "integrity": "sha512-jbRXy1FmtAoCjQkVmIVYwuuqDFUbaOeDjmed1tOGPrsMhtJA4rD9tkgA0F1qJ3gRFRXcHYVkdeaP50Q5rE/jLQ==", - "dev": true, - "requires": { - "kind-of": "^6.0.0" - } - }, - "is-descriptor": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-1.0.2.tgz", - "integrity": "sha512-2eis5WqQGV7peooDyLmNEPUrps9+SXX5c9pL3xEB+4e9HnGuDa7mB7kHxHw4CbqS9k1T2hOH3miL8n8WtiYVtg==", - "dev": true, - "requires": { - "is-accessor-descriptor": "^1.0.0", - "is-data-descriptor": "^1.0.0", - "kind-of": "^6.0.2" - } - } - } - }, "delayed-stream": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz", @@ -3498,8 +4090,7 @@ "entities": { "version": "1.1.2", "resolved": "https://registry.npmjs.org/entities/-/entities-1.1.2.tgz", - "integrity": "sha512-f2LZMYl1Fzu7YSBKg+RoROelpOaNrcGmE9AZubeDfrCEia483oW4MI4VyFd5VNHIgQ/7qm1I0wUHK1eJnn2y2w==", - "dev": true + "integrity": "sha512-f2LZMYl1Fzu7YSBKg+RoROelpOaNrcGmE9AZubeDfrCEia483oW4MI4VyFd5VNHIgQ/7qm1I0wUHK1eJnn2y2w==" }, "errno": { "version": "0.1.7", @@ -3526,16 +4117,15 @@ "dev": true }, "escape-string-regexp": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-2.0.0.tgz", - "integrity": "sha512-UpzcLCXolUWcNu5HtVMHYdXJjArjsF9C0aNnquZYY4uW/Vu0miy5YoWvbV345HauVvcAUnpRuhMMcqTcGOY2+w==", + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz", + "integrity": "sha512-vbRorB5FUQWvla16U8R/qgaFIya2qGzwDrNmCZuYKrbdSUMG6I1ZCGQRefkRVhuOkIGVne7BQ35DSfo1qvJqFg==", "dev": true }, "escodegen": { "version": "1.14.3", "resolved": "https://registry.npmjs.org/escodegen/-/escodegen-1.14.3.tgz", "integrity": "sha512-qFcX0XJkdg+PB3xjZZG/wKSuT1PnQWx57+TVSjIMmILd2yC/6ByYElPwJnslDsuWuSAp4AwJGumarAAmJch5Kw==", - "dev": true, "requires": { "esprima": "^4.0.1", "estraverse": "^4.2.0", @@ -3548,7 +4138,6 @@ "version": "0.6.1", "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", - "dev": true, "optional": true } } @@ -3563,17 +4152,38 @@ "estraverse": "^4.1.1" } }, + "eslint-visitor-keys": { + "version": "3.3.0", + "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-3.3.0.tgz", + "integrity": "sha512-mQ+suqKJVyeuwGYHAdjMFqjCyfl8+Ldnxuyp3ldiMBFKkvytrXUZWaiPCEav8qDHKty44bD+qV1IP4T+w+xXRA==" + }, "esm": { "version": "3.2.25", "resolved": "https://registry.npmjs.org/esm/-/esm-3.2.25.tgz", "integrity": "sha512-U1suiZ2oDVWv4zPO56S0NcR5QriEahGtdN2OR6FiOG4WJvcjBVFB0qI4+eKoWFH483PKGuLuu6V8Z4T5g63UVA==", "dev": true }, + "espree": { + "version": "9.4.0", + "resolved": "https://registry.npmjs.org/espree/-/espree-9.4.0.tgz", + "integrity": "sha512-DQmnRpLj7f6TgN/NYb0MTzJXL+vJF9h3pHy4JhCIs3zwcgez8xmGg3sXHcEO97BrmO2OSvCwMdfdlyl+E9KjOw==", + "requires": { + "acorn": "^8.8.0", + "acorn-jsx": "^5.3.2", + "eslint-visitor-keys": "^3.3.0" + }, + "dependencies": { + "acorn": { + "version": "8.8.0", + "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.8.0.tgz", + "integrity": "sha512-QOxyigPVrpZ2GXT+PFyZTl6TtOFc5egxHIP9IlQ+RbupQuX4RkT/Bee4/kQuC02Xkzg84JcT7oLYtDIQxp+v7w==" + } + } + }, "esprima": { "version": "4.0.1", "resolved": "https://registry.npmjs.org/esprima/-/esprima-4.0.1.tgz", - "integrity": "sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A==", - "dev": true + "integrity": "sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A==" }, "esrecurse": { "version": "4.2.1", @@ -3587,14 +4197,12 @@ "estraverse": { "version": "4.3.0", "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-4.3.0.tgz", - "integrity": "sha512-39nnKffWz8xN1BU/2c79n9nB9HDzo0niYUqx6xyqUnyoAnQyyWpOTdZEeiCch8BBu515t4wp9ZmgVfVhn9EBpw==", - "dev": true + "integrity": "sha512-39nnKffWz8xN1BU/2c79n9nB9HDzo0niYUqx6xyqUnyoAnQyyWpOTdZEeiCch8BBu515t4wp9ZmgVfVhn9EBpw==" }, "esutils": { "version": "2.0.3", "resolved": "https://registry.npmjs.org/esutils/-/esutils-2.0.3.tgz", - "integrity": "sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g==", - "dev": true + "integrity": "sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g==" }, "events": { "version": "3.0.0", @@ -3691,6 +4299,19 @@ "dev": true, "requires": { "is-descriptor": "^0.1.0" + }, + "dependencies": { + "is-descriptor": { + "version": "0.1.6", + "resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-0.1.6.tgz", + "integrity": "sha512-avDYr0SB3DwO9zsMov0gKCESFYqCnE4hq/4z3TdUlukEy5t9C0YRq7HLrsN52NAcqXKaepeCD0n+B0arnVG3Hg==", + "dev": true, + "requires": { + "is-accessor-descriptor": "^0.1.6", + "is-data-descriptor": "^0.1.4", + "kind-of": "^5.0.0" + } + } } }, "extend-shallow": { @@ -3702,6 +4323,52 @@ "is-extendable": "^0.1.0" } }, + "is-accessor-descriptor": { + "version": "0.1.6", + "resolved": "https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-0.1.6.tgz", + "integrity": "sha512-e1BM1qnDbMRG3ll2U9dSK0UMHuWOs3pY3AtcFsmvwPtKL3MML/Q86i+GilLfvqEs4GW+ExB91tQ3Ig9noDIZ+A==", + "dev": true, + "requires": { + "kind-of": "^3.0.2" + }, + "dependencies": { + "kind-of": { + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", + "integrity": "sha512-NOW9QQXMoZGg/oqnVNoNTTIFEIid1627WCffUBJEdMxYApq7mNE7CpzucIPc+ZQg25Phej7IJSmX3hO+oblOtQ==", + "dev": true, + "requires": { + "is-buffer": "^1.1.5" + } + } + } + }, + "is-data-descriptor": { + "version": "0.1.4", + "resolved": "https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-0.1.4.tgz", + "integrity": "sha512-+w9D5ulSoBNlmw9OHn3U2v51SyoCd0he+bB3xMl62oijhrspxowjU+AIcDY0N3iEJbUEkB15IlMASQsxYigvXg==", + "dev": true, + "requires": { + "kind-of": "^3.0.2" + }, + "dependencies": { + "kind-of": { + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", + "integrity": "sha512-NOW9QQXMoZGg/oqnVNoNTTIFEIid1627WCffUBJEdMxYApq7mNE7CpzucIPc+ZQg25Phej7IJSmX3hO+oblOtQ==", + "dev": true, + "requires": { + "is-buffer": "^1.1.5" + } + } + } + }, + "kind-of": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-5.1.0.tgz", + "integrity": "sha512-NGEErnH6F2vUuXDh+OlbcKW7/wOcfdRHaZ7VWtqCztfHri/++YKmP51OdWeGPuqCOba6kk2OTe5d02VmTB80Pw==", + "dev": true + }, "ms": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", @@ -3766,27 +4433,6 @@ "integrity": "sha512-fjquC59cD7CyW6urNXK0FBufkZcoiGG80wTuPujX590cB5Ttln20E2UB4S/WARVqhXffZl2LNgS+gQdPIIim/g==", "dev": true }, - "extend-shallow": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-3.0.2.tgz", - "integrity": "sha1-Jqcarwc7OfshJxcnRhMcJwQCjbg=", - "dev": true, - "requires": { - "assign-symbols": "^1.0.0", - "is-extendable": "^1.0.1" - }, - "dependencies": { - "is-extendable": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/is-extendable/-/is-extendable-1.0.1.tgz", - "integrity": "sha512-arnXMxT1hhoKo9k1LZdmlNyJdDDfy2v0fXjFlmok4+i8ul/6WlbVge9bhM74OpNPQPMGUToDtz+KXa1PneJxOA==", - "dev": true, - "requires": { - "is-plain-object": "^2.0.4" - } - } - } - }, "extglob": { "version": "2.0.4", "resolved": "https://registry.npmjs.org/extglob/-/extglob-2.0.4.tgz", @@ -3828,6 +4474,14 @@ "dev": true, "requires": { "kind-of": "^6.0.0" + }, + "dependencies": { + "kind-of": { + "version": "6.0.3", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-6.0.3.tgz", + "integrity": "sha512-dcS1ul+9tmeD95T+x28/ehLgd9mENa3LsvDTtzm3vyBEO7RPptvAD+t44WVXaUjTBRcrpFeFlC8WCruUR456hw==", + "dev": true + } } }, "is-data-descriptor": { @@ -3837,6 +4491,14 @@ "dev": true, "requires": { "kind-of": "^6.0.0" + }, + "dependencies": { + "kind-of": { + "version": "6.0.3", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-6.0.3.tgz", + "integrity": "sha512-dcS1ul+9tmeD95T+x28/ehLgd9mENa3LsvDTtzm3vyBEO7RPptvAD+t44WVXaUjTBRcrpFeFlC8WCruUR456hw==", + "dev": true + } } }, "is-descriptor": { @@ -3848,6 +4510,14 @@ "is-accessor-descriptor": "^1.0.0", "is-data-descriptor": "^1.0.0", "kind-of": "^6.0.2" + }, + "dependencies": { + "kind-of": { + "version": "6.0.3", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-6.0.3.tgz", + "integrity": "sha512-dcS1ul+9tmeD95T+x28/ehLgd9mENa3LsvDTtzm3vyBEO7RPptvAD+t44WVXaUjTBRcrpFeFlC8WCruUR456hw==", + "dev": true + } } } } @@ -3873,8 +4543,7 @@ "fast-levenshtein": { "version": "2.0.6", "resolved": "https://registry.npmjs.org/fast-levenshtein/-/fast-levenshtein-2.0.6.tgz", - "integrity": "sha1-PYpcZog6FqMMqGQ+hR8Zuqd5eRc=", - "dev": true + "integrity": "sha1-PYpcZog6FqMMqGQ+hR8Zuqd5eRc=" }, "fb-watchman": { "version": "2.0.1", @@ -3944,6 +4613,64 @@ "is-glob": "^4.0.0", "micromatch": "^3.0.4", "resolve-dir": "^1.0.1" + }, + "dependencies": { + "define-property": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/define-property/-/define-property-2.0.2.tgz", + "integrity": "sha512-jwK2UV4cnPpbcG7+VRARKTZPUWowwXA8bzH5NP6ud0oeAxyYPuGZUAC7hMugpCdz4BeSZl2Dl9k66CHJ/46ZYQ==", + "dev": true, + "requires": { + "is-descriptor": "^1.0.2", + "isobject": "^3.0.1" + } + }, + "extend-shallow": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-3.0.2.tgz", + "integrity": "sha512-BwY5b5Ql4+qZoefgMj2NUmx+tehVTH/Kf4k1ZEtOHNFcm2wSxMRo992l6X3TIgni2eZVTZ85xMOjF31fwZAj6Q==", + "dev": true, + "requires": { + "assign-symbols": "^1.0.0", + "is-extendable": "^1.0.1" + } + }, + "is-extendable": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/is-extendable/-/is-extendable-1.0.1.tgz", + "integrity": "sha512-arnXMxT1hhoKo9k1LZdmlNyJdDDfy2v0fXjFlmok4+i8ul/6WlbVge9bhM74OpNPQPMGUToDtz+KXa1PneJxOA==", + "dev": true, + "requires": { + "is-plain-object": "^2.0.4" + } + }, + "kind-of": { + "version": "6.0.3", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-6.0.3.tgz", + "integrity": "sha512-dcS1ul+9tmeD95T+x28/ehLgd9mENa3LsvDTtzm3vyBEO7RPptvAD+t44WVXaUjTBRcrpFeFlC8WCruUR456hw==", + "dev": true + }, + "micromatch": { + "version": "3.1.10", + "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-3.1.10.tgz", + "integrity": "sha512-MWikgl9n9M3w+bpsY3He8L+w9eF9338xRl8IAO5viDizwSzziFEyUzo2xrrloB64ADbTf8uA8vRqqttDTOmccg==", + "dev": true, + "requires": { + "arr-diff": "^4.0.0", + "array-unique": "^0.3.2", + "braces": "^2.3.1", + "define-property": "^2.0.2", + "extend-shallow": "^3.0.2", + "extglob": "^2.0.4", + "fragment-cache": "^0.2.1", + "kind-of": "^6.0.2", + "nanomatch": "^1.2.9", + "object.pick": "^1.3.0", + "regex-not": "^1.0.0", + "snapdragon": "^0.8.1", + "to-regex": "^3.0.2" + } + } } }, "flush-write-stream": { @@ -3970,6 +4697,34 @@ "requires": { "cross-spawn": "^4", "signal-exit": "^3.0.0" + }, + "dependencies": { + "cross-spawn": { + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-4.0.2.tgz", + "integrity": "sha512-yAXz/pA1tD8Gtg2S98Ekf/sewp3Lcp3YoFKJ4Hkp5h5yLWnKVTDU0kwjKJ8NDCYcfTLfyGkzTikst+jWypT1iA==", + "dev": true, + "requires": { + "lru-cache": "^4.0.1", + "which": "^1.2.9" + } + }, + "lru-cache": { + "version": "4.1.5", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-4.1.5.tgz", + "integrity": "sha512-sWZlbEP2OsHNkXrMl5GYk/jKk70MBng6UU4YI/qGDYbgf6YbP4EvmqISbXCoJiRKs+1bSpFHVgQxvJ17F2li5g==", + "dev": true, + "requires": { + "pseudomap": "^1.0.2", + "yallist": "^2.1.2" + } + }, + "yallist": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/yallist/-/yallist-2.1.2.tgz", + "integrity": "sha512-ncTzHV7NvsQZkYe1DW7cbDLm0YpzHmZF5r/iyP3ZnQtMiJ+pjzisCiMNI+Sj+xQF5pXhSHxSB3uDbsBTzY/c2A==", + "dev": true + } } }, "forever-agent": { @@ -4029,8 +4784,7 @@ "fs.realpath": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz", - "integrity": "sha1-FQStJSMVjKpA20onh8sBQRmU6k8=", - "dev": true + "integrity": "sha1-FQStJSMVjKpA20onh8sBQRmU6k8=" }, "fsevents": { "version": "1.2.9", @@ -4632,7 +5386,6 @@ "version": "7.1.5", "resolved": "https://registry.npmjs.org/glob/-/glob-7.1.5.tgz", "integrity": "sha512-J9dlskqUXK1OeTOYBEn5s8aMukWMwWfs+rPTn/jn50Ux4MNXVhubL1wu/j2t+H4NVI+cXEcCaYellqaPVGXNqQ==", - "dev": true, "requires": { "fs.realpath": "^1.0.0", "inflight": "^1.0.4", @@ -4681,23 +5434,18 @@ "ini": "^1.3.5", "kind-of": "^6.0.2", "which": "^1.3.1" + }, + "dependencies": { + "kind-of": { + "version": "6.0.3", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-6.0.3.tgz", + "integrity": "sha512-dcS1ul+9tmeD95T+x28/ehLgd9mENa3LsvDTtzm3vyBEO7RPptvAD+t44WVXaUjTBRcrpFeFlC8WCruUR456hw==", + "dev": true + } } } } }, - "global-prefix": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/global-prefix/-/global-prefix-1.0.2.tgz", - "integrity": "sha1-2/dDxsFJklk8ZVVoy2btMsASLr4=", - "dev": true, - "requires": { - "expand-tilde": "^2.0.2", - "homedir-polyfill": "^1.0.1", - "ini": "^1.3.4", - "is-windows": "^1.0.1", - "which": "^1.2.14" - } - }, "globals": { "version": "11.12.0", "resolved": "https://registry.npmjs.org/globals/-/globals-11.12.0.tgz", @@ -4705,10 +5453,9 @@ "dev": true }, "graceful-fs": { - "version": "4.2.3", - "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.3.tgz", - "integrity": "sha512-a30VEBm4PEdx1dRB7MFK7BejejvCvBronbLjht+sHuGYj8PHs7M/5Z+rt5lw551vZ7yfTCj4Vuyy3mSJytDWRQ==", - "dev": true + "version": "4.2.10", + "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.10.tgz", + "integrity": "sha512-9ByhssR2fPVsNZj478qUUbKfmL0+t5BDVyjShtyZZLiK7ZDAArFFfopyOTj0M05wE2tJPisA4iTnnXl2YoPvOA==" }, "growl": { "version": "1.10.5", @@ -4911,16 +5658,6 @@ "integrity": "sha1-xg7taebY/bazEEofy8ocGS3FtQE=", "dev": true }, - "import-local": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/import-local/-/import-local-2.0.0.tgz", - "integrity": "sha512-b6s04m3O+s3CGSbqDIyP4R6aAwAeYlVq9+WUWep6iHa8ETRf9yei1U48C5MmfJmV9AiLYYBKPMq/W+/WRpQmCQ==", - "dev": true, - "requires": { - "pkg-dir": "^3.0.0", - "resolve-cwd": "^2.0.0" - } - }, "imurmurhash": { "version": "0.1.4", "resolved": "https://registry.npmjs.org/imurmurhash/-/imurmurhash-0.1.4.tgz", @@ -4937,7 +5674,6 @@ "version": "1.0.6", "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz", "integrity": "sha1-Sb1jMdfQLQwJvJEKEHW6gWW1bfk=", - "dev": true, "requires": { "once": "^1.3.0", "wrappy": "1" @@ -4946,8 +5682,7 @@ "inherits": { "version": "2.0.4", "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", - "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==", - "dev": true + "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==" }, "ini": { "version": "1.3.5", @@ -4974,22 +5709,19 @@ "dev": true }, "is-accessor-descriptor": { - "version": "0.1.6", - "resolved": "https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-0.1.6.tgz", - "integrity": "sha1-qeEss66Nh2cn7u84Q/igiXtcmNY=", + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-1.0.0.tgz", + "integrity": "sha512-m5hnHTkcVsPfqx3AKlyttIPb7J+XykHvJP2B9bZDjlhLIoEq4XoK64Vg7boZlVWYK6LUY94dYPEE7Lh0ZkZKcQ==", "dev": true, "requires": { - "kind-of": "^3.0.2" + "kind-of": "^6.0.0" }, "dependencies": { "kind-of": { - "version": "3.2.2", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", - "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", - "dev": true, - "requires": { - "is-buffer": "^1.1.5" - } + "version": "6.0.3", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-6.0.3.tgz", + "integrity": "sha512-dcS1ul+9tmeD95T+x28/ehLgd9mENa3LsvDTtzm3vyBEO7RPptvAD+t44WVXaUjTBRcrpFeFlC8WCruUR456hw==", + "dev": true } } }, @@ -5024,40 +5756,37 @@ } }, "is-data-descriptor": { - "version": "0.1.4", - "resolved": "https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-0.1.4.tgz", - "integrity": "sha1-C17mSDiOLIYCgueT8YVv7D8wG1Y=", + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-1.0.0.tgz", + "integrity": "sha512-jbRXy1FmtAoCjQkVmIVYwuuqDFUbaOeDjmed1tOGPrsMhtJA4rD9tkgA0F1qJ3gRFRXcHYVkdeaP50Q5rE/jLQ==", "dev": true, "requires": { - "kind-of": "^3.0.2" + "kind-of": "^6.0.0" }, "dependencies": { "kind-of": { - "version": "3.2.2", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", - "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", - "dev": true, - "requires": { - "is-buffer": "^1.1.5" - } + "version": "6.0.3", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-6.0.3.tgz", + "integrity": "sha512-dcS1ul+9tmeD95T+x28/ehLgd9mENa3LsvDTtzm3vyBEO7RPptvAD+t44WVXaUjTBRcrpFeFlC8WCruUR456hw==", + "dev": true } } }, "is-descriptor": { - "version": "0.1.6", - "resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-0.1.6.tgz", - "integrity": "sha512-avDYr0SB3DwO9zsMov0gKCESFYqCnE4hq/4z3TdUlukEy5t9C0YRq7HLrsN52NAcqXKaepeCD0n+B0arnVG3Hg==", + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-1.0.2.tgz", + "integrity": "sha512-2eis5WqQGV7peooDyLmNEPUrps9+SXX5c9pL3xEB+4e9HnGuDa7mB7kHxHw4CbqS9k1T2hOH3miL8n8WtiYVtg==", "dev": true, "requires": { - "is-accessor-descriptor": "^0.1.6", - "is-data-descriptor": "^0.1.4", - "kind-of": "^5.0.0" + "is-accessor-descriptor": "^1.0.0", + "is-data-descriptor": "^1.0.0", + "kind-of": "^6.0.2" }, "dependencies": { "kind-of": { - "version": "5.1.0", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-5.1.0.tgz", - "integrity": "sha512-NGEErnH6F2vUuXDh+OlbcKW7/wOcfdRHaZ7VWtqCztfHri/++YKmP51OdWeGPuqCOba6kk2OTe5d02VmTB80Pw==", + "version": "6.0.3", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-6.0.3.tgz", + "integrity": "sha512-dcS1ul+9tmeD95T+x28/ehLgd9mENa3LsvDTtzm3vyBEO7RPptvAD+t44WVXaUjTBRcrpFeFlC8WCruUR456hw==", "dev": true } } @@ -5200,51 +5929,6 @@ "append-transform": "^1.0.0" } }, - "istanbul-lib-instrument": { - "version": "3.3.0", - "resolved": "https://registry.npmjs.org/istanbul-lib-instrument/-/istanbul-lib-instrument-3.3.0.tgz", - "integrity": "sha512-5nnIN4vo5xQZHdXno/YDXJ0G+I3dAm4XgzfSVTPLQpj/zAV2dV6Juy0yaf10/zrJOJeHoN3fraFe+XRq2bFVZA==", - "dev": true, - "requires": { - "@babel/generator": "^7.4.0", - "@babel/parser": "^7.4.3", - "@babel/template": "^7.4.0", - "@babel/traverse": "^7.4.3", - "@babel/types": "^7.4.0", - "istanbul-lib-coverage": "^2.0.5", - "semver": "^6.0.0" - }, - "dependencies": { - "semver": { - "version": "6.3.0", - "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz", - "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==", - "dev": true - } - } - }, - "istanbul-lib-report": { - "version": "2.0.8", - "resolved": "https://registry.npmjs.org/istanbul-lib-report/-/istanbul-lib-report-2.0.8.tgz", - "integrity": "sha512-fHBeG573EIihhAblwgxrSenp0Dby6tJMFR/HvlerBsrCTD5bkUuoNtn3gVh29ZCS824cGGBPn7Sg7cNk+2xUsQ==", - "dev": true, - "requires": { - "istanbul-lib-coverage": "^2.0.5", - "make-dir": "^2.1.0", - "supports-color": "^6.1.0" - }, - "dependencies": { - "supports-color": { - "version": "6.1.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-6.1.0.tgz", - "integrity": "sha512-qe1jfm1Mg7Nq/NSh6XE24gPXROEVsWHxC1LIx//XNlD9iw7YZQGjZNjYN7xGaEG6iKdA8EtNFW6R0gjnVXp+wQ==", - "dev": true, - "requires": { - "has-flag": "^3.0.0" - } - } - } - }, "istanbul-lib-source-maps": { "version": "3.0.6", "resolved": "https://registry.npmjs.org/istanbul-lib-source-maps/-/istanbul-lib-source-maps-3.0.6.tgz", @@ -6263,6 +6947,14 @@ "dev": true, "requires": { "escape-string-regexp": "^2.0.0" + }, + "dependencies": { + "escape-string-regexp": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-2.0.0.tgz", + "integrity": "sha512-UpzcLCXolUWcNu5HtVMHYdXJjArjsF9C0aNnquZYY4uW/Vu0miy5YoWvbV345HauVvcAUnpRuhMMcqTcGOY2+w==", + "dev": true + } } }, "supports-color": { @@ -6445,6 +7137,14 @@ "find-up": "^4.1.0", "read-pkg": "^5.2.0", "type-fest": "^0.8.1" + }, + "dependencies": { + "type-fest": { + "version": "0.8.1", + "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.8.1.tgz", + "integrity": "sha512-4dbzIzqvjtgiM5rw1k5rEHtBANKmdudhGyBEajN01fEyhaAIhsoKNy6y7+IN93IfpFtwY9iqi7kD+xwKhQsNJA==", + "dev": true + } } }, "resolve": { @@ -7192,7 +7892,6 @@ "version": "4.0.0", "resolved": "https://registry.npmjs.org/js2xmlparser/-/js2xmlparser-4.0.0.tgz", "integrity": "sha512-WuNgdZOXVmBk5kUPMcTcVUpbGRzLfNkv7+7APq7WiDihpXVKrgxo6wwRpRl9OQeEBgKCVk9mR7RbzrnNWC8oBw==", - "dev": true, "requires": { "xmlcreate": "^2.0.0" } @@ -7207,7 +7906,6 @@ "version": "3.6.3", "resolved": "https://registry.npmjs.org/jsdoc/-/jsdoc-3.6.3.tgz", "integrity": "sha512-Yf1ZKA3r9nvtMWHO1kEuMZTlHOF8uoQ0vyo5eH7SQy5YeIiHM+B0DgKnn+X6y6KDYZcF7G2SPkKF+JORCXWE/A==", - "dev": true, "requires": { "@babel/parser": "^7.4.4", "bluebird": "^3.5.4", @@ -7223,6 +7921,13 @@ "strip-json-comments": "^3.0.1", "taffydb": "2.6.2", "underscore": "~1.9.1" + }, + "dependencies": { + "escape-string-regexp": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-2.0.0.tgz", + "integrity": "sha512-UpzcLCXolUWcNu5HtVMHYdXJjArjsF9C0aNnquZYY4uW/Vu0miy5YoWvbV345HauVvcAUnpRuhMMcqTcGOY2+w==" + } } }, "jsdom": { @@ -7315,6 +8020,12 @@ "psl": "^1.1.28", "punycode": "^2.1.1" } + }, + "uuid": { + "version": "3.4.0", + "resolved": "https://registry.npmjs.org/uuid/-/uuid-3.4.0.tgz", + "integrity": "sha512-HjSDRw6gZE5JMggctHBcjVak08+KEVhSIiDzFnT9S9aegmp85S/bReBVTb4QTFaRNptJ9kuYaNhnbNEOkbKb/A==", + "dev": true } } }, @@ -7383,17 +8094,10 @@ "verror": "1.10.0" } }, - "kind-of": { - "version": "6.0.2", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-6.0.2.tgz", - "integrity": "sha512-s5kLOcnH0XqDO+FvuaLX8DDjZ18CGFk7VygH40QoKPUQhW4e2rvM0rwUq0t8IQDOwYSeLK01U90OjzBTme2QqA==", - "dev": true - }, "klaw": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/klaw/-/klaw-3.0.0.tgz", "integrity": "sha512-0Fo5oir+O9jnXu5EefYbVK+mHMBeEVEy2cmctR1O1NECcCkPRreJKrS6Qt/j3KC2C148Dfo9i3pCmCMsdqGr0g==", - "dev": true, "requires": { "graceful-fs": "^4.1.9" } @@ -7429,7 +8133,6 @@ "version": "0.3.0", "resolved": "https://registry.npmjs.org/levn/-/levn-0.3.0.tgz", "integrity": "sha1-OwmSTt+fCDwEkP3UwLxEIeBHZO4=", - "dev": true, "requires": { "prelude-ls": "~1.1.2", "type-check": "~0.3.2" @@ -7445,7 +8148,6 @@ "version": "2.2.0", "resolved": "https://registry.npmjs.org/linkify-it/-/linkify-it-2.2.0.tgz", "integrity": "sha512-GnAl/knGn+i1U/wjBz3akz2stz+HrHLsxMwHQGofCDfPvlf+gDKN58UtfmUquTY4/MXeE2x7k19KQmeoZi94Iw==", - "dev": true, "requires": { "uc.micro": "^1.0.1" } @@ -7462,6 +8164,16 @@ "strip-bom": "^3.0.0" }, "dependencies": { + "parse-json": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-4.0.0.tgz", + "integrity": "sha512-aOIos8bujGN93/8Ox/jPLh7RwVnPEysynVFE+fQZyg6jKELEHwzgKdLRFHUgXJL6kylijVSBC4BvN9OmsB48Rw==", + "dev": true, + "requires": { + "error-ex": "^1.3.1", + "json-parse-better-errors": "^1.0.1" + } + }, "pify": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/pify/-/pify-3.0.0.tgz", @@ -7500,8 +8212,7 @@ "lodash": { "version": "4.17.15", "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.15.tgz", - "integrity": "sha512-8xOcRHvCjnocdS5cpwXQXVzmmh5e5+saE2QGoeQmbKmRS6J3VQppPOIt0MnmE+4xlZoumy0GPG0D0MVIQbNA1A==", - "dev": true + "integrity": "sha512-8xOcRHvCjnocdS5cpwXQXVzmmh5e5+saE2QGoeQmbKmRS6J3VQppPOIt0MnmE+4xlZoumy0GPG0D0MVIQbNA1A==" }, "lodash.flattendeep": { "version": "4.4.0", @@ -7522,18 +8233,23 @@ "dev": true }, "long": { - "version": "3.2.0", - "resolved": "https://registry.npmjs.org/long/-/long-3.2.0.tgz", - "integrity": "sha1-2CG3E4yhy1gcFymQ7xTbIAtcR0s=" + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/long/-/long-5.2.0.tgz", + "integrity": "sha512-9RTUNjK60eJbx3uz+TEGF7fUr29ZDxR5QzXcyDpeSfeH28S9ycINflOgOlppit5U+4kNTe83KQnMEerw7GmE8w==" }, "lru-cache": { - "version": "4.1.5", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-4.1.5.tgz", - "integrity": "sha512-sWZlbEP2OsHNkXrMl5GYk/jKk70MBng6UU4YI/qGDYbgf6YbP4EvmqISbXCoJiRKs+1bSpFHVgQxvJ17F2li5g==", - "dev": true, + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", + "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==", "requires": { - "pseudomap": "^1.0.2", - "yallist": "^2.1.2" + "yallist": "^4.0.0" + }, + "dependencies": { + "yallist": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", + "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==" + } } }, "make-dir": { @@ -7544,6 +8260,14 @@ "requires": { "pify": "^4.0.1", "semver": "^5.6.0" + }, + "dependencies": { + "pify": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/pify/-/pify-4.0.1.tgz", + "integrity": "sha512-uB80kBFb/tfd68bVleG9T5GGsGPjJrLAUpR5PZIrhBnIaRTQRjqdJSsIKkOP6OAIFbj7GOrcudc5pNjZ+geV2g==", + "dev": true + } } }, "make-error": { @@ -7595,7 +8319,6 @@ "version": "8.4.2", "resolved": "https://registry.npmjs.org/markdown-it/-/markdown-it-8.4.2.tgz", "integrity": "sha512-GcRz3AWTqSUphY3vsUqQSFMbgR38a4Lh3GWlHRh/7MRwz8mcu9n2IO7HOh+bXHrR9kOPDl5RNCaEsrneb+xhHQ==", - "dev": true, "requires": { "argparse": "^1.0.7", "entities": "~1.1.1", @@ -7607,14 +8330,12 @@ "markdown-it-anchor": { "version": "5.2.5", "resolved": "https://registry.npmjs.org/markdown-it-anchor/-/markdown-it-anchor-5.2.5.tgz", - "integrity": "sha512-xLIjLQmtym3QpoY9llBgApknl7pxAcN3WDRc2d3rwpl+/YvDZHPmKscGs+L6E05xf2KrCXPBvosWt7MZukwSpQ==", - "dev": true + "integrity": "sha512-xLIjLQmtym3QpoY9llBgApknl7pxAcN3WDRc2d3rwpl+/YvDZHPmKscGs+L6E05xf2KrCXPBvosWt7MZukwSpQ==" }, "marked": { "version": "0.7.0", "resolved": "https://registry.npmjs.org/marked/-/marked-0.7.0.tgz", - "integrity": "sha512-c+yYdCZJQrsRjTPhUx7VKkApw9bwDkNbHUKo1ovgcfDjb2kc8rLuRbIFyXL5WOEUwzSSKo3IXpph2K6DqB/KZg==", - "dev": true + "integrity": "sha512-c+yYdCZJQrsRjTPhUx7VKkApw9bwDkNbHUKo1ovgcfDjb2kc8rLuRbIFyXL5WOEUwzSSKo3IXpph2K6DqB/KZg==" }, "md5.js": { "version": "1.3.5", @@ -7630,8 +8351,7 @@ "mdurl": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/mdurl/-/mdurl-1.0.1.tgz", - "integrity": "sha1-/oWy7HWlkDfyrf7BAP1sYBdhFS4=", - "dev": true + "integrity": "sha1-/oWy7HWlkDfyrf7BAP1sYBdhFS4=" }, "mem": { "version": "4.3.0", @@ -7677,27 +8397,6 @@ "integrity": "sha512-abv/qOcuPfk3URPfDzmZU1LKmuw8kT+0nIHvKrKgFrwifol/doWcdA4ZqsWQ8ENrFKkd67Mfpo/LovbIUsbt3w==", "dev": true }, - "micromatch": { - "version": "3.1.10", - "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-3.1.10.tgz", - "integrity": "sha512-MWikgl9n9M3w+bpsY3He8L+w9eF9338xRl8IAO5viDizwSzziFEyUzo2xrrloB64ADbTf8uA8vRqqttDTOmccg==", - "dev": true, - "requires": { - "arr-diff": "^4.0.0", - "array-unique": "^0.3.2", - "braces": "^2.3.1", - "define-property": "^2.0.2", - "extend-shallow": "^3.0.2", - "extglob": "^2.0.4", - "fragment-cache": "^0.2.1", - "kind-of": "^6.0.2", - "nanomatch": "^1.2.9", - "object.pick": "^1.3.0", - "regex-not": "^1.0.0", - "snapdragon": "^0.8.1", - "to-regex": "^3.0.2" - } - }, "miller-rabin": { "version": "4.0.1", "resolved": "https://registry.npmjs.org/miller-rabin/-/miller-rabin-4.0.1.tgz", @@ -7745,16 +8444,14 @@ "version": "3.0.4", "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.0.4.tgz", "integrity": "sha512-yJHVQEhyqPLUTgt9B83PXu6W3rx4MvvHvSUvToogpwoGDOUQ+yDrR0HRot+yOCdCO7u4hX3pWft6kWBBcqh0UA==", - "dev": true, "requires": { "brace-expansion": "^1.1.7" } }, "minimist": { - "version": "0.0.8", - "resolved": "https://registry.npmjs.org/minimist/-/minimist-0.0.8.tgz", - "integrity": "sha1-hX/Kv8M5fSYluCKCYuhqp6ARsF0=", - "dev": true + "version": "1.2.7", + "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.7.tgz", + "integrity": "sha512-bzfL1YUZsP41gmu/qjrEk0Q6i2ix/cVeAhbCbqH9u3zYutS1cLg00qhrD0M2MVdCcx4Sc0UpP2eBWo9rotpq6g==" }, "minipass": { "version": "2.9.0", @@ -7817,9 +8514,15 @@ "version": "0.5.1", "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.1.tgz", "integrity": "sha1-MAV0OOrGz3+MR2fzhkjWaX11yQM=", - "dev": true, "requires": { "minimist": "0.0.8" + }, + "dependencies": { + "minimist": { + "version": "0.0.8", + "resolved": "https://registry.npmjs.org/minimist/-/minimist-0.0.8.tgz", + "integrity": "sha512-miQKw5Hv4NS1Psg2517mV4e4dYNaO3++hjAvLOAzKqZ61rH8NS1SK+vbfBWZ5PY/Me/bEWhUwqMghEW5Fb9T7Q==" + } } }, "move-concurrently": { @@ -7866,6 +8569,43 @@ "regex-not": "^1.0.0", "snapdragon": "^0.8.1", "to-regex": "^3.0.1" + }, + "dependencies": { + "define-property": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/define-property/-/define-property-2.0.2.tgz", + "integrity": "sha512-jwK2UV4cnPpbcG7+VRARKTZPUWowwXA8bzH5NP6ud0oeAxyYPuGZUAC7hMugpCdz4BeSZl2Dl9k66CHJ/46ZYQ==", + "dev": true, + "requires": { + "is-descriptor": "^1.0.2", + "isobject": "^3.0.1" + } + }, + "extend-shallow": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-3.0.2.tgz", + "integrity": "sha512-BwY5b5Ql4+qZoefgMj2NUmx+tehVTH/Kf4k1ZEtOHNFcm2wSxMRo992l6X3TIgni2eZVTZ85xMOjF31fwZAj6Q==", + "dev": true, + "requires": { + "assign-symbols": "^1.0.0", + "is-extendable": "^1.0.1" + } + }, + "is-extendable": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/is-extendable/-/is-extendable-1.0.1.tgz", + "integrity": "sha512-arnXMxT1hhoKo9k1LZdmlNyJdDDfy2v0fXjFlmok4+i8ul/6WlbVge9bhM74OpNPQPMGUToDtz+KXa1PneJxOA==", + "dev": true, + "requires": { + "is-plain-object": "^2.0.4" + } + }, + "kind-of": { + "version": "6.0.3", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-6.0.3.tgz", + "integrity": "sha512-dcS1ul+9tmeD95T+x28/ehLgd9mENa3LsvDTtzm3vyBEO7RPptvAD+t44WVXaUjTBRcrpFeFlC8WCruUR456hw==", + "dev": true + } } }, "natural-compare": { @@ -8068,6 +8808,91 @@ "uuid": "^3.3.2", "yargs": "^13.2.2", "yargs-parser": "^13.0.0" + }, + "dependencies": { + "istanbul-lib-instrument": { + "version": "3.3.0", + "resolved": "https://registry.npmjs.org/istanbul-lib-instrument/-/istanbul-lib-instrument-3.3.0.tgz", + "integrity": "sha512-5nnIN4vo5xQZHdXno/YDXJ0G+I3dAm4XgzfSVTPLQpj/zAV2dV6Juy0yaf10/zrJOJeHoN3fraFe+XRq2bFVZA==", + "dev": true, + "requires": { + "@babel/generator": "^7.4.0", + "@babel/parser": "^7.4.3", + "@babel/template": "^7.4.0", + "@babel/traverse": "^7.4.3", + "@babel/types": "^7.4.0", + "istanbul-lib-coverage": "^2.0.5", + "semver": "^6.0.0" + } + }, + "istanbul-lib-report": { + "version": "2.0.8", + "resolved": "https://registry.npmjs.org/istanbul-lib-report/-/istanbul-lib-report-2.0.8.tgz", + "integrity": "sha512-fHBeG573EIihhAblwgxrSenp0Dby6tJMFR/HvlerBsrCTD5bkUuoNtn3gVh29ZCS824cGGBPn7Sg7cNk+2xUsQ==", + "dev": true, + "requires": { + "istanbul-lib-coverage": "^2.0.5", + "make-dir": "^2.1.0", + "supports-color": "^6.1.0" + } + }, + "resolve-from": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-4.0.0.tgz", + "integrity": "sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g==", + "dev": true + }, + "semver": { + "version": "6.3.0", + "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz", + "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==", + "dev": true + }, + "supports-color": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-6.1.0.tgz", + "integrity": "sha512-qe1jfm1Mg7Nq/NSh6XE24gPXROEVsWHxC1LIx//XNlD9iw7YZQGjZNjYN7xGaEG6iKdA8EtNFW6R0gjnVXp+wQ==", + "dev": true, + "requires": { + "has-flag": "^3.0.0" + } + }, + "uuid": { + "version": "3.4.0", + "resolved": "https://registry.npmjs.org/uuid/-/uuid-3.4.0.tgz", + "integrity": "sha512-HjSDRw6gZE5JMggctHBcjVak08+KEVhSIiDzFnT9S9aegmp85S/bReBVTb4QTFaRNptJ9kuYaNhnbNEOkbKb/A==", + "dev": true + }, + "yargs": { + "version": "13.3.2", + "resolved": "https://registry.npmjs.org/yargs/-/yargs-13.3.2.tgz", + "integrity": "sha512-AX3Zw5iPruN5ie6xGRIDgqkT+ZhnRlZMLMHAs8tg7nRruy2Nb+i5o9bwghAogtM08q1dpr2LVoS8KSTMYpWXUw==", + "dev": true, + "requires": { + "cliui": "^5.0.0", + "find-up": "^3.0.0", + "get-caller-file": "^2.0.1", + "require-directory": "^2.1.1", + "require-main-filename": "^2.0.0", + "set-blocking": "^2.0.0", + "string-width": "^3.0.0", + "which-module": "^2.0.0", + "y18n": "^4.0.0", + "yargs-parser": "^13.1.2" + }, + "dependencies": { + "yargs-parser": { + "version": "13.1.2", + "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-13.1.2.tgz", + "integrity": "sha512-3lbsNRf/j+A4QuSZfDRA7HRSfWrzO0YjqTJd5kjAq37Zep1CEgaYmrH9Q3GwPiB9cHyd1Y1UwggGhJGoxipbzg==", + "dev": true, + "requires": { + "camelcase": "^5.0.0", + "decamelize": "^1.2.0" + } + } + } + } } }, "oauth-sign": { @@ -8100,6 +8925,43 @@ "dev": true, "requires": { "is-descriptor": "^0.1.0" + }, + "dependencies": { + "is-descriptor": { + "version": "0.1.6", + "resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-0.1.6.tgz", + "integrity": "sha512-avDYr0SB3DwO9zsMov0gKCESFYqCnE4hq/4z3TdUlukEy5t9C0YRq7HLrsN52NAcqXKaepeCD0n+B0arnVG3Hg==", + "dev": true, + "requires": { + "is-accessor-descriptor": "^0.1.6", + "is-data-descriptor": "^0.1.4", + "kind-of": "^5.0.0" + } + }, + "kind-of": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-5.1.0.tgz", + "integrity": "sha512-NGEErnH6F2vUuXDh+OlbcKW7/wOcfdRHaZ7VWtqCztfHri/++YKmP51OdWeGPuqCOba6kk2OTe5d02VmTB80Pw==", + "dev": true + } + } + }, + "is-accessor-descriptor": { + "version": "0.1.6", + "resolved": "https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-0.1.6.tgz", + "integrity": "sha512-e1BM1qnDbMRG3ll2U9dSK0UMHuWOs3pY3AtcFsmvwPtKL3MML/Q86i+GilLfvqEs4GW+ExB91tQ3Ig9noDIZ+A==", + "dev": true, + "requires": { + "kind-of": "^3.0.2" + } + }, + "is-data-descriptor": { + "version": "0.1.4", + "resolved": "https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-0.1.4.tgz", + "integrity": "sha512-+w9D5ulSoBNlmw9OHn3U2v51SyoCd0he+bB3xMl62oijhrspxowjU+AIcDY0N3iEJbUEkB15IlMASQsxYigvXg==", + "dev": true, + "requires": { + "kind-of": "^3.0.2" } }, "kind-of": { @@ -8135,7 +8997,6 @@ "version": "1.4.0", "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", "integrity": "sha1-WDsap3WWHUsROsF9nFC6753Xa9E=", - "dev": true, "requires": { "wrappy": "1" } @@ -8163,13 +9024,20 @@ "requires": { "minimist": "~0.0.1", "wordwrap": "~0.0.2" + }, + "dependencies": { + "minimist": { + "version": "0.0.10", + "resolved": "https://registry.npmjs.org/minimist/-/minimist-0.0.10.tgz", + "integrity": "sha512-iotkTvxc+TwOm5Ieim8VnSNvCDjCK9S8G3scJ50ZthspSxa7jx50jkhYduuAtAjvfDUwSgOwf8+If99AlOEhyw==", + "dev": true + } } }, "optionator": { "version": "0.8.3", "resolved": "https://registry.npmjs.org/optionator/-/optionator-0.8.3.tgz", "integrity": "sha512-+IW9pACdk3XWmmTXG8m3upGUJst5XRGzxMRjXzAuJ1XnIFNvfhjjIuYkDvysnPQ7qzqVzLt78BCruntqRhWQbA==", - "dev": true, "requires": { "deep-is": "~0.1.3", "fast-levenshtein": "~2.0.6", @@ -8308,16 +9176,6 @@ "safe-buffer": "^5.1.1" } }, - "parse-json": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-4.0.0.tgz", - "integrity": "sha1-vjX1Qlvh9/bHRxhPmKeIy5lHfuA=", - "dev": true, - "requires": { - "error-ex": "^1.3.1", - "json-parse-better-errors": "^1.0.1" - } - }, "parse-passwd": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/parse-passwd/-/parse-passwd-1.0.0.tgz", @@ -8357,8 +9215,7 @@ "path-is-absolute": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz", - "integrity": "sha1-F0uSaHNVNP+8es5r9TpanhtcX18=", - "dev": true + "integrity": "sha1-F0uSaHNVNP+8es5r9TpanhtcX18=" }, "path-key": { "version": "2.0.1", @@ -8414,12 +9271,6 @@ "integrity": "sha512-q0M/9eZHzmr0AulXyPwNfZjtwZ/RBZlbN3K3CErVrk50T2ASYI7Bye0EvekFY3IP1Nt2DHu0re+V2ZHIpMkuWg==", "dev": true }, - "pify": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/pify/-/pify-4.0.1.tgz", - "integrity": "sha512-uB80kBFb/tfd68bVleG9T5GGsGPjJrLAUpR5PZIrhBnIaRTQRjqdJSsIKkOP6OAIFbj7GOrcudc5pNjZ+geV2g==", - "dev": true - }, "pirates": { "version": "4.0.1", "resolved": "https://registry.npmjs.org/pirates/-/pirates-4.0.1.tgz", @@ -8447,8 +9298,7 @@ "prelude-ls": { "version": "1.1.2", "resolved": "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.1.2.tgz", - "integrity": "sha1-IZMqVJ9eUv/ZqCf1cOBL5iqX2lQ=", - "dev": true + "integrity": "sha1-IZMqVJ9eUv/ZqCf1cOBL5iqX2lQ=" }, "pretty-format": { "version": "26.4.2", @@ -8524,9 +9374,9 @@ } }, "protobufjs": { - "version": "6.8.8", - "resolved": "https://registry.npmjs.org/protobufjs/-/protobufjs-6.8.8.tgz", - "integrity": "sha512-AAmHtD5pXgZfi7GMpllpO3q1Xw1OYldr+dMUlAnffGTAhqkg72WdmSY71uKBF/JuyiKs8psYbtKrhi0ASCD8qw==", + "version": "7.1.2", + "resolved": "https://registry.npmjs.org/protobufjs/-/protobufjs-7.1.2.tgz", + "integrity": "sha512-4ZPTPkXCdel3+L81yw3dG6+Kq3umdWKh7Dc7GW/CpNk4SX3hK58iPCWeCyhVTDrbkNeKrYNZ7EojM5WDaEWTLQ==", "requires": { "@protobufjs/aspromise": "^1.1.2", "@protobufjs/base64": "^1.1.2", @@ -8538,25 +9388,67 @@ "@protobufjs/path": "^1.1.2", "@protobufjs/pool": "^1.1.0", "@protobufjs/utf8": "^1.1.0", - "@types/long": "^4.0.0", - "@types/node": "^10.1.0", - "long": "^4.0.0" + "@types/node": ">=13.7.0", + "long": "^5.0.0" + } + }, + "protobufjs-cli": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/protobufjs-cli/-/protobufjs-cli-1.0.2.tgz", + "integrity": "sha512-cz9Pq9p/Zs7okc6avH20W7QuyjTclwJPgqXG11jNaulfS3nbVisID8rC+prfgq0gbZE0w9LBFd1OKFF03kgFzg==", + "requires": { + "chalk": "^4.0.0", + "escodegen": "^1.13.0", + "espree": "^9.0.0", + "estraverse": "^5.1.0", + "glob": "^8.0.0", + "jsdoc": "^3.6.3", + "minimist": "^1.2.0", + "semver": "^7.1.2", + "tmp": "^0.2.1", + "uglify-js": "^3.7.7" }, "dependencies": { - "@types/long": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/@types/long/-/long-4.0.0.tgz", - "integrity": "sha512-1w52Nyx4Gq47uuu0EVcsHBxZFJgurQ+rTKS3qMHxR1GY2T8c2AJYd6vZoZ9q1rupaDjU0yT+Jc2XTyXkjeMA+Q==" + "brace-expansion": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz", + "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==", + "requires": { + "balanced-match": "^1.0.0" + } }, - "@types/node": { - "version": "10.17.3", - "resolved": "https://registry.npmjs.org/@types/node/-/node-10.17.3.tgz", - "integrity": "sha512-QZ9CjUB3QoA3f2afw3utKlfRPhpmufB7jC2+oDhLWnXqoyx333fhKSQDLQu2EK7OE0a15X67eYiRAaJsHXrpMA==" + "estraverse": { + "version": "5.3.0", + "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.3.0.tgz", + "integrity": "sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==" }, - "long": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/long/-/long-4.0.0.tgz", - "integrity": "sha512-XsP+KhQif4bjX1kbuSiySJFNAehNxgLb6hPRGJ9QsUr8ajHkuXGdrHmFUTUUXhDwVX2R5bY4JNZEwbUiMhV+MA==" + "glob": { + "version": "8.0.3", + "resolved": "https://registry.npmjs.org/glob/-/glob-8.0.3.tgz", + "integrity": "sha512-ull455NHSHI/Y1FqGaaYFaLGkNMMJbavMrEGFXG/PGrg6y7sutWHUHrz6gy6WEBH6akM1M414dWKCNs+IhKdiQ==", + "requires": { + "fs.realpath": "^1.0.0", + "inflight": "^1.0.4", + "inherits": "2", + "minimatch": "^5.0.1", + "once": "^1.3.0" + } + }, + "minimatch": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-5.1.0.tgz", + "integrity": "sha512-9TPBGGak4nHfGZsPBohm9AWg6NoT7QTCehS3BIJABslyZbzxfV78QM2Y6+i741OPZIafFAaiiEMh5OyIrJPgtg==", + "requires": { + "brace-expansion": "^2.0.1" + } + }, + "semver": { + "version": "7.3.8", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.8.tgz", + "integrity": "sha512-NB1ctGL5rlHrPJtFDVIVzTyQylMLu9N9VICA6HSFJo8MCGVTMW6gfpicwKmmK/dAjTOrqu5l63JJOpDSrAis3A==", + "requires": { + "lru-cache": "^6.0.0" + } } } }, @@ -8674,27 +9566,6 @@ "integrity": "sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ==", "dev": true }, - "read-pkg": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/read-pkg/-/read-pkg-3.0.0.tgz", - "integrity": "sha1-nLxoaXj+5l0WwA4rGcI3/Pbjg4k=", - "dev": true, - "requires": { - "load-json-file": "^4.0.0", - "normalize-package-data": "^2.3.2", - "path-type": "^3.0.0" - } - }, - "read-pkg-up": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/read-pkg-up/-/read-pkg-up-4.0.0.tgz", - "integrity": "sha512-6etQSH7nJGsK0RbG/2TeDzZFa8shjQ1um+SwQQ5cwKy0dhSXdOncEhb1CPpvQG4h7FyOV6EB6YlV0yJvZQNAkA==", - "dev": true, - "requires": { - "find-up": "^3.0.0", - "read-pkg": "^3.0.0" - } - }, "readable-stream": { "version": "2.3.6", "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.6.tgz", @@ -8727,6 +9598,64 @@ "graceful-fs": "^4.1.11", "micromatch": "^3.1.10", "readable-stream": "^2.0.2" + }, + "dependencies": { + "define-property": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/define-property/-/define-property-2.0.2.tgz", + "integrity": "sha512-jwK2UV4cnPpbcG7+VRARKTZPUWowwXA8bzH5NP6ud0oeAxyYPuGZUAC7hMugpCdz4BeSZl2Dl9k66CHJ/46ZYQ==", + "dev": true, + "requires": { + "is-descriptor": "^1.0.2", + "isobject": "^3.0.1" + } + }, + "extend-shallow": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-3.0.2.tgz", + "integrity": "sha512-BwY5b5Ql4+qZoefgMj2NUmx+tehVTH/Kf4k1ZEtOHNFcm2wSxMRo992l6X3TIgni2eZVTZ85xMOjF31fwZAj6Q==", + "dev": true, + "requires": { + "assign-symbols": "^1.0.0", + "is-extendable": "^1.0.1" + } + }, + "is-extendable": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/is-extendable/-/is-extendable-1.0.1.tgz", + "integrity": "sha512-arnXMxT1hhoKo9k1LZdmlNyJdDDfy2v0fXjFlmok4+i8ul/6WlbVge9bhM74OpNPQPMGUToDtz+KXa1PneJxOA==", + "dev": true, + "requires": { + "is-plain-object": "^2.0.4" + } + }, + "kind-of": { + "version": "6.0.3", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-6.0.3.tgz", + "integrity": "sha512-dcS1ul+9tmeD95T+x28/ehLgd9mENa3LsvDTtzm3vyBEO7RPptvAD+t44WVXaUjTBRcrpFeFlC8WCruUR456hw==", + "dev": true + }, + "micromatch": { + "version": "3.1.10", + "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-3.1.10.tgz", + "integrity": "sha512-MWikgl9n9M3w+bpsY3He8L+w9eF9338xRl8IAO5viDizwSzziFEyUzo2xrrloB64ADbTf8uA8vRqqttDTOmccg==", + "dev": true, + "requires": { + "arr-diff": "^4.0.0", + "array-unique": "^0.3.2", + "braces": "^2.3.1", + "define-property": "^2.0.2", + "extend-shallow": "^3.0.2", + "extglob": "^2.0.4", + "fragment-cache": "^0.2.1", + "kind-of": "^6.0.2", + "nanomatch": "^1.2.9", + "object.pick": "^1.3.0", + "regex-not": "^1.0.0", + "snapdragon": "^0.8.1", + "to-regex": "^3.0.2" + } + } } }, "regex-not": { @@ -8737,6 +9666,27 @@ "requires": { "extend-shallow": "^3.0.2", "safe-regex": "^1.1.0" + }, + "dependencies": { + "extend-shallow": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-3.0.2.tgz", + "integrity": "sha512-BwY5b5Ql4+qZoefgMj2NUmx+tehVTH/Kf4k1ZEtOHNFcm2wSxMRo992l6X3TIgni2eZVTZ85xMOjF31fwZAj6Q==", + "dev": true, + "requires": { + "assign-symbols": "^1.0.0", + "is-extendable": "^1.0.1" + } + }, + "is-extendable": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/is-extendable/-/is-extendable-1.0.1.tgz", + "integrity": "sha512-arnXMxT1hhoKo9k1LZdmlNyJdDDfy2v0fXjFlmok4+i8ul/6WlbVge9bhM74OpNPQPMGUToDtz+KXa1PneJxOA==", + "dev": true, + "requires": { + "is-plain-object": "^2.0.4" + } + } } }, "release-zalgo": { @@ -8767,9 +9717,9 @@ "dev": true }, "request": { - "version": "2.88.0", - "resolved": "https://registry.npmjs.org/request/-/request-2.88.0.tgz", - "integrity": "sha512-NAqBSrijGLZdM0WZNsInLJpkJokL72XYjUpnB0iwsRgxh7dB6COrHnTBNwN0E+lHDAJzu7kLAkDeY08z2/A0hg==", + "version": "2.88.2", + "resolved": "https://registry.npmjs.org/request/-/request-2.88.2.tgz", + "integrity": "sha512-MsvtOrfG9ZcrOwAW+Qi+F6HbD0CWXEh9ou77uOb7FM2WPhwT7smM833PzanhJLsgXjN89Ir6V2PczXNnMpwKhw==", "dev": true, "requires": { "aws-sign2": "~0.7.0", @@ -8779,7 +9729,7 @@ "extend": "~3.0.2", "forever-agent": "~0.6.1", "form-data": "~2.3.2", - "har-validator": "~5.1.0", + "har-validator": "~5.1.3", "http-signature": "~1.2.0", "is-typedarray": "~1.0.0", "isstream": "~0.1.2", @@ -8789,9 +9739,27 @@ "performance-now": "^2.1.0", "qs": "~6.5.2", "safe-buffer": "^5.1.2", - "tough-cookie": "~2.4.3", + "tough-cookie": "~2.5.0", "tunnel-agent": "^0.6.0", "uuid": "^3.3.2" + }, + "dependencies": { + "tough-cookie": { + "version": "2.5.0", + "resolved": "https://registry.npmjs.org/tough-cookie/-/tough-cookie-2.5.0.tgz", + "integrity": "sha512-nlLsUzgm1kfLXSXfRZMc1KLAugd4hqJHDTvc2hDIwS3mZAfMEuMbc03SujMF+GEcpaX/qboeycw6iO8JwVv2+g==", + "dev": true, + "requires": { + "psl": "^1.1.28", + "punycode": "^2.1.1" + } + }, + "uuid": { + "version": "3.4.0", + "resolved": "https://registry.npmjs.org/uuid/-/uuid-3.4.0.tgz", + "integrity": "sha512-HjSDRw6gZE5JMggctHBcjVak08+KEVhSIiDzFnT9S9aegmp85S/bReBVTb4QTFaRNptJ9kuYaNhnbNEOkbKb/A==", + "dev": true + } } }, "request-promise-core": { @@ -8838,7 +9806,6 @@ "version": "0.2.3", "resolved": "https://registry.npmjs.org/requizzle/-/requizzle-0.2.3.tgz", "integrity": "sha512-YanoyJjykPxGHii0fZP0uUPEXpvqfBDxWV7s6GKAiiOsiqhX6vHNyW3Qzdmqp/iq/ExbhaGbVrjB4ruEVSM4GQ==", - "dev": true, "requires": { "lodash": "^4.17.14" } @@ -8852,23 +9819,6 @@ "path-parse": "^1.0.6" } }, - "resolve-cwd": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/resolve-cwd/-/resolve-cwd-2.0.0.tgz", - "integrity": "sha1-AKn3OHVW4nA46uIyyqNypqWbZlo=", - "dev": true, - "requires": { - "resolve-from": "^3.0.0" - }, - "dependencies": { - "resolve-from": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-3.0.0.tgz", - "integrity": "sha1-six699nWiBvItuZTM17rywoYh0g=", - "dev": true - } - } - }, "resolve-dir": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/resolve-dir/-/resolve-dir-1.0.1.tgz", @@ -8888,16 +9838,25 @@ "global-prefix": "^1.0.1", "is-windows": "^1.0.1", "resolve-dir": "^1.0.0" + }, + "dependencies": { + "global-prefix": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/global-prefix/-/global-prefix-1.0.2.tgz", + "integrity": "sha512-5lsx1NUDHtSjfg0eHlmYvZKv8/nVqX4ckFbM+FrGcQ+04KWcWFo9P5MxPZYSzUvyzmdTbI7Eix8Q4IbELDqzKg==", + "dev": true, + "requires": { + "expand-tilde": "^2.0.2", + "homedir-polyfill": "^1.0.1", + "ini": "^1.3.4", + "is-windows": "^1.0.1", + "which": "^1.2.14" + } + } } } } }, - "resolve-from": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-4.0.0.tgz", - "integrity": "sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g==", - "dev": true - }, "resolve-url": { "version": "0.2.1", "resolved": "https://registry.npmjs.org/resolve-url/-/resolve-url-0.2.1.tgz", @@ -8982,6 +9941,62 @@ "walker": "~1.0.5" }, "dependencies": { + "define-property": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/define-property/-/define-property-2.0.2.tgz", + "integrity": "sha512-jwK2UV4cnPpbcG7+VRARKTZPUWowwXA8bzH5NP6ud0oeAxyYPuGZUAC7hMugpCdz4BeSZl2Dl9k66CHJ/46ZYQ==", + "dev": true, + "requires": { + "is-descriptor": "^1.0.2", + "isobject": "^3.0.1" + } + }, + "extend-shallow": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-3.0.2.tgz", + "integrity": "sha512-BwY5b5Ql4+qZoefgMj2NUmx+tehVTH/Kf4k1ZEtOHNFcm2wSxMRo992l6X3TIgni2eZVTZ85xMOjF31fwZAj6Q==", + "dev": true, + "requires": { + "assign-symbols": "^1.0.0", + "is-extendable": "^1.0.1" + } + }, + "is-extendable": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/is-extendable/-/is-extendable-1.0.1.tgz", + "integrity": "sha512-arnXMxT1hhoKo9k1LZdmlNyJdDDfy2v0fXjFlmok4+i8ul/6WlbVge9bhM74OpNPQPMGUToDtz+KXa1PneJxOA==", + "dev": true, + "requires": { + "is-plain-object": "^2.0.4" + } + }, + "kind-of": { + "version": "6.0.3", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-6.0.3.tgz", + "integrity": "sha512-dcS1ul+9tmeD95T+x28/ehLgd9mENa3LsvDTtzm3vyBEO7RPptvAD+t44WVXaUjTBRcrpFeFlC8WCruUR456hw==", + "dev": true + }, + "micromatch": { + "version": "3.1.10", + "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-3.1.10.tgz", + "integrity": "sha512-MWikgl9n9M3w+bpsY3He8L+w9eF9338xRl8IAO5viDizwSzziFEyUzo2xrrloB64ADbTf8uA8vRqqttDTOmccg==", + "dev": true, + "requires": { + "arr-diff": "^4.0.0", + "array-unique": "^0.3.2", + "braces": "^2.3.1", + "define-property": "^2.0.2", + "extend-shallow": "^3.0.2", + "extglob": "^2.0.4", + "fragment-cache": "^0.2.1", + "kind-of": "^6.0.2", + "nanomatch": "^1.2.9", + "object.pick": "^1.3.0", + "regex-not": "^1.0.0", + "snapdragon": "^0.8.1", + "to-regex": "^3.0.2" + } + }, "minimist": { "version": "1.2.5", "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.5.tgz", @@ -9139,6 +10154,19 @@ "dev": true, "requires": { "is-descriptor": "^0.1.0" + }, + "dependencies": { + "is-descriptor": { + "version": "0.1.6", + "resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-0.1.6.tgz", + "integrity": "sha512-avDYr0SB3DwO9zsMov0gKCESFYqCnE4hq/4z3TdUlukEy5t9C0YRq7HLrsN52NAcqXKaepeCD0n+B0arnVG3Hg==", + "dev": true, + "requires": { + "is-accessor-descriptor": "^0.1.6", + "is-data-descriptor": "^0.1.4", + "kind-of": "^5.0.0" + } + } } }, "extend-shallow": { @@ -9150,11 +10178,63 @@ "is-extendable": "^0.1.0" } }, + "is-accessor-descriptor": { + "version": "0.1.6", + "resolved": "https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-0.1.6.tgz", + "integrity": "sha512-e1BM1qnDbMRG3ll2U9dSK0UMHuWOs3pY3AtcFsmvwPtKL3MML/Q86i+GilLfvqEs4GW+ExB91tQ3Ig9noDIZ+A==", + "dev": true, + "requires": { + "kind-of": "^3.0.2" + }, + "dependencies": { + "kind-of": { + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", + "integrity": "sha512-NOW9QQXMoZGg/oqnVNoNTTIFEIid1627WCffUBJEdMxYApq7mNE7CpzucIPc+ZQg25Phej7IJSmX3hO+oblOtQ==", + "dev": true, + "requires": { + "is-buffer": "^1.1.5" + } + } + } + }, + "is-data-descriptor": { + "version": "0.1.4", + "resolved": "https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-0.1.4.tgz", + "integrity": "sha512-+w9D5ulSoBNlmw9OHn3U2v51SyoCd0he+bB3xMl62oijhrspxowjU+AIcDY0N3iEJbUEkB15IlMASQsxYigvXg==", + "dev": true, + "requires": { + "kind-of": "^3.0.2" + }, + "dependencies": { + "kind-of": { + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", + "integrity": "sha512-NOW9QQXMoZGg/oqnVNoNTTIFEIid1627WCffUBJEdMxYApq7mNE7CpzucIPc+ZQg25Phej7IJSmX3hO+oblOtQ==", + "dev": true, + "requires": { + "is-buffer": "^1.1.5" + } + } + } + }, + "kind-of": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-5.1.0.tgz", + "integrity": "sha512-NGEErnH6F2vUuXDh+OlbcKW7/wOcfdRHaZ7VWtqCztfHri/++YKmP51OdWeGPuqCOba6kk2OTe5d02VmTB80Pw==", + "dev": true + }, "ms": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=", "dev": true + }, + "source-map": { + "version": "0.5.7", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz", + "integrity": "sha512-LbrmJOMUSdEVxIKvdcJzQC+nQhe8FUZQTXQy6+I75skNgn3OoQ0DZA8YnFa7gp8tqtL3KPf1kmo0R5DoApeSGQ==", + "dev": true } } }, @@ -9185,6 +10265,14 @@ "dev": true, "requires": { "kind-of": "^6.0.0" + }, + "dependencies": { + "kind-of": { + "version": "6.0.3", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-6.0.3.tgz", + "integrity": "sha512-dcS1ul+9tmeD95T+x28/ehLgd9mENa3LsvDTtzm3vyBEO7RPptvAD+t44WVXaUjTBRcrpFeFlC8WCruUR456hw==", + "dev": true + } } }, "is-data-descriptor": { @@ -9194,6 +10282,14 @@ "dev": true, "requires": { "kind-of": "^6.0.0" + }, + "dependencies": { + "kind-of": { + "version": "6.0.3", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-6.0.3.tgz", + "integrity": "sha512-dcS1ul+9tmeD95T+x28/ehLgd9mENa3LsvDTtzm3vyBEO7RPptvAD+t44WVXaUjTBRcrpFeFlC8WCruUR456hw==", + "dev": true + } } }, "is-descriptor": { @@ -9205,6 +10301,14 @@ "is-accessor-descriptor": "^1.0.0", "is-data-descriptor": "^1.0.0", "kind-of": "^6.0.2" + }, + "dependencies": { + "kind-of": { + "version": "6.0.3", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-6.0.3.tgz", + "integrity": "sha512-dcS1ul+9tmeD95T+x28/ehLgd9mENa3LsvDTtzm3vyBEO7RPptvAD+t44WVXaUjTBRcrpFeFlC8WCruUR456hw==", + "dev": true + } } } } @@ -9235,12 +10339,6 @@ "integrity": "sha512-qnQ7gVMxGNxsiL4lEuJwe/To8UnK7fAnmbGEEH8RpLouuKbeEm0lhbQVFIrNSuB+G7tVrAlVsZgETT5nljf+Iw==", "dev": true }, - "source-map": { - "version": "0.5.7", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz", - "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=", - "dev": true - }, "source-map-resolve": { "version": "0.5.2", "resolved": "https://registry.npmjs.org/source-map-resolve/-/source-map-resolve-0.5.2.tgz", @@ -9331,13 +10429,33 @@ "dev": true, "requires": { "extend-shallow": "^3.0.0" + }, + "dependencies": { + "extend-shallow": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-3.0.2.tgz", + "integrity": "sha512-BwY5b5Ql4+qZoefgMj2NUmx+tehVTH/Kf4k1ZEtOHNFcm2wSxMRo992l6X3TIgni2eZVTZ85xMOjF31fwZAj6Q==", + "dev": true, + "requires": { + "assign-symbols": "^1.0.0", + "is-extendable": "^1.0.1" + } + }, + "is-extendable": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/is-extendable/-/is-extendable-1.0.1.tgz", + "integrity": "sha512-arnXMxT1hhoKo9k1LZdmlNyJdDDfy2v0fXjFlmok4+i8ul/6WlbVge9bhM74OpNPQPMGUToDtz+KXa1PneJxOA==", + "dev": true, + "requires": { + "is-plain-object": "^2.0.4" + } + } } }, "sprintf-js": { "version": "1.0.3", "resolved": "https://registry.npmjs.org/sprintf-js/-/sprintf-js-1.0.3.tgz", - "integrity": "sha1-BOaSb2YolTVPPdAVIDYzuFcpfiw=", - "dev": true + "integrity": "sha1-BOaSb2YolTVPPdAVIDYzuFcpfiw=" }, "sshpk": { "version": "1.16.1", @@ -9388,7 +10506,66 @@ "dev": true, "requires": { "is-descriptor": "^0.1.0" + }, + "dependencies": { + "is-descriptor": { + "version": "0.1.6", + "resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-0.1.6.tgz", + "integrity": "sha512-avDYr0SB3DwO9zsMov0gKCESFYqCnE4hq/4z3TdUlukEy5t9C0YRq7HLrsN52NAcqXKaepeCD0n+B0arnVG3Hg==", + "dev": true, + "requires": { + "is-accessor-descriptor": "^0.1.6", + "is-data-descriptor": "^0.1.4", + "kind-of": "^5.0.0" + } + } } + }, + "is-accessor-descriptor": { + "version": "0.1.6", + "resolved": "https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-0.1.6.tgz", + "integrity": "sha512-e1BM1qnDbMRG3ll2U9dSK0UMHuWOs3pY3AtcFsmvwPtKL3MML/Q86i+GilLfvqEs4GW+ExB91tQ3Ig9noDIZ+A==", + "dev": true, + "requires": { + "kind-of": "^3.0.2" + }, + "dependencies": { + "kind-of": { + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", + "integrity": "sha512-NOW9QQXMoZGg/oqnVNoNTTIFEIid1627WCffUBJEdMxYApq7mNE7CpzucIPc+ZQg25Phej7IJSmX3hO+oblOtQ==", + "dev": true, + "requires": { + "is-buffer": "^1.1.5" + } + } + } + }, + "is-data-descriptor": { + "version": "0.1.4", + "resolved": "https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-0.1.4.tgz", + "integrity": "sha512-+w9D5ulSoBNlmw9OHn3U2v51SyoCd0he+bB3xMl62oijhrspxowjU+AIcDY0N3iEJbUEkB15IlMASQsxYigvXg==", + "dev": true, + "requires": { + "kind-of": "^3.0.2" + }, + "dependencies": { + "kind-of": { + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", + "integrity": "sha512-NOW9QQXMoZGg/oqnVNoNTTIFEIid1627WCffUBJEdMxYApq7mNE7CpzucIPc+ZQg25Phej7IJSmX3hO+oblOtQ==", + "dev": true, + "requires": { + "is-buffer": "^1.1.5" + } + } + } + }, + "kind-of": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-5.1.0.tgz", + "integrity": "sha512-NGEErnH6F2vUuXDh+OlbcKW7/wOcfdRHaZ7VWtqCztfHri/++YKmP51OdWeGPuqCOba6kk2OTe5d02VmTB80Pw==", + "dev": true } } }, @@ -9478,6 +10655,23 @@ "emoji-regex": "^7.0.1", "is-fullwidth-code-point": "^2.0.0", "strip-ansi": "^5.1.0" + }, + "dependencies": { + "ansi-regex": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-4.1.1.tgz", + "integrity": "sha512-ILlv4k/3f6vfQ4OoP2AGvirOktlQ98ZEL1k9FaQjxa3L1abBgbuTDAdPOpvbGncC0BTVQrl+OM8xZGK6tWXt7g==", + "dev": true + }, + "strip-ansi": { + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-5.2.0.tgz", + "integrity": "sha512-DuRs1gKbBqsMKIZlrffwlug8MHkcnpjs5VPmL1PAh+mA30U0DTotfDZ0d2UUsXpPmPmMMJ6W773MaA3J+lbiWA==", + "dev": true, + "requires": { + "ansi-regex": "^4.1.0" + } + } } }, "string_decoder": { @@ -9497,15 +10691,6 @@ } } }, - "strip-ansi": { - "version": "5.2.0", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-5.2.0.tgz", - "integrity": "sha512-DuRs1gKbBqsMKIZlrffwlug8MHkcnpjs5VPmL1PAh+mA30U0DTotfDZ0d2UUsXpPmPmMMJ6W773MaA3J+lbiWA==", - "dev": true, - "requires": { - "ansi-regex": "^4.1.0" - } - }, "strip-bom": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/strip-bom/-/strip-bom-3.0.0.tgz", @@ -9527,16 +10712,21 @@ "strip-json-comments": { "version": "3.0.1", "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-3.0.1.tgz", - "integrity": "sha512-VTyMAUfdm047mwKl+u79WIdrZxtFtn+nBxHeb844XBQ9uMNTuTHdx2hc5RiAJYqwTj3wc/xe5HLSdJSkJ+WfZw==", - "dev": true + "integrity": "sha512-VTyMAUfdm047mwKl+u79WIdrZxtFtn+nBxHeb844XBQ9uMNTuTHdx2hc5RiAJYqwTj3wc/xe5HLSdJSkJ+WfZw==" }, "supports-color": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", - "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", - "dev": true, + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", + "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", "requires": { - "has-flag": "^3.0.0" + "has-flag": "^4.0.0" + }, + "dependencies": { + "has-flag": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", + "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==" + } } }, "supports-hyperlinks": { @@ -9575,8 +10765,7 @@ "taffydb": { "version": "2.6.2", "resolved": "https://registry.npmjs.org/taffydb/-/taffydb-2.6.2.tgz", - "integrity": "sha1-fLy2S1oUG2ou/CxdLGe04VCyomg=", - "dev": true + "integrity": "sha1-fLy2S1oUG2ou/CxdLGe04VCyomg=" }, "tap": { "version": "12.7.0", @@ -9752,6 +10941,29 @@ "minimatch": "^3.0.4", "read-pkg-up": "^4.0.0", "require-main-filename": "^2.0.0" + }, + "dependencies": { + "read-pkg": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/read-pkg/-/read-pkg-3.0.0.tgz", + "integrity": "sha512-BLq/cCO9two+lBgiTYNqD6GdtK8s4NpaWrl6/rCO9w0TUS8oJl7cmToOZfRYllKTISY6nt1U7jQ53brmKqY6BA==", + "dev": true, + "requires": { + "load-json-file": "^4.0.0", + "normalize-package-data": "^2.3.2", + "path-type": "^3.0.0" + } + }, + "read-pkg-up": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/read-pkg-up/-/read-pkg-up-4.0.0.tgz", + "integrity": "sha512-6etQSH7nJGsK0RbG/2TeDzZFa8shjQ1um+SwQQ5cwKy0dhSXdOncEhb1CPpvQG4h7FyOV6EB6YlV0yJvZQNAkA==", + "dev": true, + "requires": { + "find-up": "^3.0.0", + "read-pkg": "^3.0.0" + } + } } }, "throat": { @@ -9785,6 +10997,24 @@ "integrity": "sha512-Ynn2Gsp+oCvYScQXeV+cCs7citRDilq0qDXA6tuvFwDgiYyyaq7D5vKUlAPezzZR5NDobc/QMeN6e5guOYmvxg==", "dev": true }, + "tmp": { + "version": "0.2.1", + "resolved": "https://registry.npmjs.org/tmp/-/tmp-0.2.1.tgz", + "integrity": "sha512-76SUhtfqR2Ijn+xllcI5P1oyannHNHByD80W1q447gU3mp9G9PSpGdWmjUOHRDPiHYacIk66W7ubDTuPF3BEtQ==", + "requires": { + "rimraf": "^3.0.0" + }, + "dependencies": { + "rimraf": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-3.0.2.tgz", + "integrity": "sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==", + "requires": { + "glob": "^7.1.3" + } + } + } + }, "tmpl": { "version": "1.0.4", "resolved": "https://registry.npmjs.org/tmpl/-/tmpl-1.0.4.tgz", @@ -9833,6 +11063,37 @@ "extend-shallow": "^3.0.2", "regex-not": "^1.0.2", "safe-regex": "^1.1.0" + }, + "dependencies": { + "define-property": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/define-property/-/define-property-2.0.2.tgz", + "integrity": "sha512-jwK2UV4cnPpbcG7+VRARKTZPUWowwXA8bzH5NP6ud0oeAxyYPuGZUAC7hMugpCdz4BeSZl2Dl9k66CHJ/46ZYQ==", + "dev": true, + "requires": { + "is-descriptor": "^1.0.2", + "isobject": "^3.0.1" + } + }, + "extend-shallow": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-3.0.2.tgz", + "integrity": "sha512-BwY5b5Ql4+qZoefgMj2NUmx+tehVTH/Kf4k1ZEtOHNFcm2wSxMRo992l6X3TIgni2eZVTZ85xMOjF31fwZAj6Q==", + "dev": true, + "requires": { + "assign-symbols": "^1.0.0", + "is-extendable": "^1.0.1" + } + }, + "is-extendable": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/is-extendable/-/is-extendable-1.0.1.tgz", + "integrity": "sha512-arnXMxT1hhoKo9k1LZdmlNyJdDDfy2v0fXjFlmok4+i8ul/6WlbVge9bhM74OpNPQPMGUToDtz+KXa1PneJxOA==", + "dev": true, + "requires": { + "is-plain-object": "^2.0.4" + } + } } }, "to-regex-range": { @@ -9936,7 +11197,6 @@ "version": "0.3.2", "resolved": "https://registry.npmjs.org/type-check/-/type-check-0.3.2.tgz", "integrity": "sha1-WITKtRLPHTVeP7eE8wgEsrUg23I=", - "dev": true, "requires": { "prelude-ls": "~1.1.2" } @@ -9947,12 +11207,6 @@ "integrity": "sha512-0fr/mIH1dlO+x7TlcMy+bIDqKPsw/70tVyeHW787goQjhmqaZe10uwLujubK9q9Lg6Fiho1KUKDYz0Z7k7g5/g==", "dev": true }, - "type-fest": { - "version": "0.8.1", - "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.8.1.tgz", - "integrity": "sha512-4dbzIzqvjtgiM5rw1k5rEHtBANKmdudhGyBEajN01fEyhaAIhsoKNy6y7+IN93IfpFtwY9iqi7kD+xwKhQsNJA==", - "dev": true - }, "typedarray": { "version": "0.0.6", "resolved": "https://registry.npmjs.org/typedarray/-/typedarray-0.0.6.tgz", @@ -9977,34 +11231,17 @@ "uc.micro": { "version": "1.0.6", "resolved": "https://registry.npmjs.org/uc.micro/-/uc.micro-1.0.6.tgz", - "integrity": "sha512-8Y75pvTYkLJW2hWQHXxoqRgV7qb9B+9vFEtidML+7koHUFapnVJAZ6cKs+Qjz5Aw3aZWHMC6u0wJE3At+nSGwA==", - "dev": true + "integrity": "sha512-8Y75pvTYkLJW2hWQHXxoqRgV7qb9B+9vFEtidML+7koHUFapnVJAZ6cKs+Qjz5Aw3aZWHMC6u0wJE3At+nSGwA==" }, "uglify-js": { - "version": "3.6.6", - "resolved": "https://registry.npmjs.org/uglify-js/-/uglify-js-3.6.6.tgz", - "integrity": "sha512-q3Zusqd028P8MdbarqL0I1snTZ7+IbIWiKUXVZyXMVdOSxOG2FFqLXyGlgYSqYu46SR7tR3Sk0xqN1VtvxGWnQ==", - "dev": true, - "optional": true, - "requires": { - "commander": "~2.20.3", - "source-map": "~0.6.1" - }, - "dependencies": { - "source-map": { - "version": "0.6.1", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", - "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", - "dev": true, - "optional": true - } - } + "version": "3.17.3", + "resolved": "https://registry.npmjs.org/uglify-js/-/uglify-js-3.17.3.tgz", + "integrity": "sha512-JmMFDME3iufZnBpyKL+uS78LRiC+mK55zWfM5f/pWBJfpOttXAqYfdDGRukYhJuyRinvPVAtUhvy7rlDybNtFg==" }, "underscore": { "version": "1.9.1", "resolved": "https://registry.npmjs.org/underscore/-/underscore-1.9.1.tgz", - "integrity": "sha512-5/4etnCkd9c8gwgowi5/om/mYO5ajCaOgdzj/oW+0eQV9WxKBDZw5+ycmKmeaTXjInS/W0BzpGLo2xR2aBwZdg==", - "dev": true + "integrity": "sha512-5/4etnCkd9c8gwgowi5/om/mYO5ajCaOgdzj/oW+0eQV9WxKBDZw5+ycmKmeaTXjInS/W0BzpGLo2xR2aBwZdg==" }, "unicode-length": { "version": "1.0.3", @@ -10178,9 +11415,9 @@ "dev": true }, "uuid": { - "version": "3.3.3", - "resolved": "https://registry.npmjs.org/uuid/-/uuid-3.3.3.tgz", - "integrity": "sha512-pW0No1RGHgzlpHJO1nsVrHKpOEIxkGg1xB+v0ZmdNH5OAeAwzAVrCnI2/6Mtx+Uys6iaylxa+D3g4j63IKKjSQ==" + "version": "9.0.0", + "resolved": "https://registry.npmjs.org/uuid/-/uuid-9.0.0.tgz", + "integrity": "sha512-MXcSTerfPa4uqyzStbRoTgt5XIe3x5+42+q1sDuy3R5MDk66URdLMOZe5aPX/SQd+kuYAh0FdP/pO28IkQyTeg==" }, "v8-compile-cache": { "version": "2.0.3", @@ -10307,6 +11544,70 @@ "terser-webpack-plugin": "^1.4.1", "watchpack": "^1.6.0", "webpack-sources": "^1.4.1" + }, + "dependencies": { + "acorn": { + "version": "6.4.2", + "resolved": "https://registry.npmjs.org/acorn/-/acorn-6.4.2.tgz", + "integrity": "sha512-XtGIhXwF8YM8bJhGxG5kXgjkEuNGLTkoYqVE+KMR+aspr4KGYmKYg7yUe3KghyQ9yheNwLnjmzh/7+gfDBmHCQ==", + "dev": true + }, + "define-property": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/define-property/-/define-property-2.0.2.tgz", + "integrity": "sha512-jwK2UV4cnPpbcG7+VRARKTZPUWowwXA8bzH5NP6ud0oeAxyYPuGZUAC7hMugpCdz4BeSZl2Dl9k66CHJ/46ZYQ==", + "dev": true, + "requires": { + "is-descriptor": "^1.0.2", + "isobject": "^3.0.1" + } + }, + "extend-shallow": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-3.0.2.tgz", + "integrity": "sha512-BwY5b5Ql4+qZoefgMj2NUmx+tehVTH/Kf4k1ZEtOHNFcm2wSxMRo992l6X3TIgni2eZVTZ85xMOjF31fwZAj6Q==", + "dev": true, + "requires": { + "assign-symbols": "^1.0.0", + "is-extendable": "^1.0.1" + } + }, + "is-extendable": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/is-extendable/-/is-extendable-1.0.1.tgz", + "integrity": "sha512-arnXMxT1hhoKo9k1LZdmlNyJdDDfy2v0fXjFlmok4+i8ul/6WlbVge9bhM74OpNPQPMGUToDtz+KXa1PneJxOA==", + "dev": true, + "requires": { + "is-plain-object": "^2.0.4" + } + }, + "kind-of": { + "version": "6.0.3", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-6.0.3.tgz", + "integrity": "sha512-dcS1ul+9tmeD95T+x28/ehLgd9mENa3LsvDTtzm3vyBEO7RPptvAD+t44WVXaUjTBRcrpFeFlC8WCruUR456hw==", + "dev": true + }, + "micromatch": { + "version": "3.1.10", + "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-3.1.10.tgz", + "integrity": "sha512-MWikgl9n9M3w+bpsY3He8L+w9eF9338xRl8IAO5viDizwSzziFEyUzo2xrrloB64ADbTf8uA8vRqqttDTOmccg==", + "dev": true, + "requires": { + "arr-diff": "^4.0.0", + "array-unique": "^0.3.2", + "braces": "^2.3.1", + "define-property": "^2.0.2", + "extend-shallow": "^3.0.2", + "extglob": "^2.0.4", + "fragment-cache": "^0.2.1", + "kind-of": "^6.0.2", + "nanomatch": "^1.2.9", + "object.pick": "^1.3.0", + "regex-not": "^1.0.0", + "snapdragon": "^0.8.1", + "to-regex": "^3.0.2" + } + } } }, "webpack-cli": { @@ -10328,6 +11629,52 @@ "yargs": "13.2.4" }, "dependencies": { + "ansi-styles": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", + "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", + "dev": true, + "requires": { + "color-convert": "^1.9.0" + } + }, + "chalk": { + "version": "2.4.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", + "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", + "dev": true, + "requires": { + "ansi-styles": "^3.2.1", + "escape-string-regexp": "^1.0.5", + "supports-color": "^5.3.0" + }, + "dependencies": { + "supports-color": { + "version": "5.5.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", + "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", + "dev": true, + "requires": { + "has-flag": "^3.0.0" + } + } + } + }, + "color-convert": { + "version": "1.9.3", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", + "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", + "dev": true, + "requires": { + "color-name": "1.1.3" + } + }, + "color-name": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", + "integrity": "sha512-72fSenhMw2HZMTVHeCA9KCmpEIbzWiQsjN+BHcBbS9vr1mtt+vJjPdksIBNUmKAW8TFUDPJK5SUU3QhE9NEXDw==", + "dev": true + }, "cross-spawn": { "version": "6.0.5", "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-6.0.5.tgz", @@ -10352,6 +11699,31 @@ "tapable": "^1.0.0" } }, + "import-local": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/import-local/-/import-local-2.0.0.tgz", + "integrity": "sha512-b6s04m3O+s3CGSbqDIyP4R6aAwAeYlVq9+WUWep6iHa8ETRf9yei1U48C5MmfJmV9AiLYYBKPMq/W+/WRpQmCQ==", + "dev": true, + "requires": { + "pkg-dir": "^3.0.0", + "resolve-cwd": "^2.0.0" + } + }, + "resolve-cwd": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/resolve-cwd/-/resolve-cwd-2.0.0.tgz", + "integrity": "sha512-ccu8zQTrzVr954472aUVPLEcB3YpKSYR3cg/3lo1okzobPBM+1INXBbBZlDbnI/hbEocnf8j0QVo43hQKrbchg==", + "dev": true, + "requires": { + "resolve-from": "^3.0.0" + } + }, + "resolve-from": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-3.0.0.tgz", + "integrity": "sha512-GnlH6vxLymXJNMBo7XP1fJIzBFbdYt49CuTwmB/6N53t+kMPRMFKz783LlQ4tv28XoQfMWinAJX6WCGf2IlaIw==", + "dev": true + }, "supports-color": { "version": "6.1.0", "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-6.1.0.tgz", @@ -10444,8 +11816,7 @@ "word-wrap": { "version": "1.2.3", "resolved": "https://registry.npmjs.org/word-wrap/-/word-wrap-1.2.3.tgz", - "integrity": "sha512-Hz/mrNwitNRh/HUAtM/VT/5VH+ygD6DV7mYKZAtHOrbs8U7lvPS6xf7EJKMF0uW1KJCl0H701g3ZGus+muE5vQ==", - "dev": true + "integrity": "sha512-Hz/mrNwitNRh/HUAtM/VT/5VH+ygD6DV7mYKZAtHOrbs8U7lvPS6xf7EJKMF0uW1KJCl0H701g3ZGus+muE5vQ==" }, "wordwrap": { "version": "0.0.3", @@ -10471,13 +11842,53 @@ "ansi-styles": "^3.2.0", "string-width": "^3.0.0", "strip-ansi": "^5.0.0" + }, + "dependencies": { + "ansi-regex": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-4.1.1.tgz", + "integrity": "sha512-ILlv4k/3f6vfQ4OoP2AGvirOktlQ98ZEL1k9FaQjxa3L1abBgbuTDAdPOpvbGncC0BTVQrl+OM8xZGK6tWXt7g==", + "dev": true + }, + "ansi-styles": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", + "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", + "dev": true, + "requires": { + "color-convert": "^1.9.0" + } + }, + "color-convert": { + "version": "1.9.3", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", + "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", + "dev": true, + "requires": { + "color-name": "1.1.3" + } + }, + "color-name": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", + "integrity": "sha512-72fSenhMw2HZMTVHeCA9KCmpEIbzWiQsjN+BHcBbS9vr1mtt+vJjPdksIBNUmKAW8TFUDPJK5SUU3QhE9NEXDw==", + "dev": true + }, + "strip-ansi": { + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-5.2.0.tgz", + "integrity": "sha512-DuRs1gKbBqsMKIZlrffwlug8MHkcnpjs5VPmL1PAh+mA30U0DTotfDZ0d2UUsXpPmPmMMJ6W773MaA3J+lbiWA==", + "dev": true, + "requires": { + "ansi-regex": "^4.1.0" + } + } } }, "wrappy": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", - "integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8=", - "dev": true + "integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8=" }, "write-file-atomic": { "version": "2.4.3", @@ -10511,8 +11922,7 @@ "xmlcreate": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/xmlcreate/-/xmlcreate-2.0.1.tgz", - "integrity": "sha512-MjGsXhKG8YjTKrDCXseFo3ClbMGvUD4en29H2Cev1dv4P/chlpw6KdYmlCWDkhosBVKRDjM836+3e3pm1cBNJA==", - "dev": true + "integrity": "sha512-MjGsXhKG8YjTKrDCXseFo3ClbMGvUD4en29H2Cev1dv4P/chlpw6KdYmlCWDkhosBVKRDjM836+3e3pm1cBNJA==" }, "xtend": { "version": "4.0.2", @@ -10526,36 +11936,12 @@ "integrity": "sha512-r9S/ZyXu/Xu9q1tYlpsLIsa3EeLXXk0VwlxqTcFRfg9EhMW+17kbt9G0NrgCmhGb5vT2hyhJZLfDGx+7+5Uj/w==", "dev": true }, - "yallist": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/yallist/-/yallist-2.1.2.tgz", - "integrity": "sha1-HBH5IY8HYImkfdUS+TxmmaaoHVI=", - "dev": true - }, "yapool": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/yapool/-/yapool-1.0.0.tgz", "integrity": "sha1-9pPymjFbUNmp2iZGp6ZkXJaYW2o=", "dev": true }, - "yargs": { - "version": "13.3.0", - "resolved": "https://registry.npmjs.org/yargs/-/yargs-13.3.0.tgz", - "integrity": "sha512-2eehun/8ALW8TLoIl7MVaRUrg+yCnenu8B4kBlRxj3GJGDKU1Og7sMXPNm1BYyM1DOJmTZ4YeN/Nwxv+8XJsUA==", - "dev": true, - "requires": { - "cliui": "^5.0.0", - "find-up": "^3.0.0", - "get-caller-file": "^2.0.1", - "require-directory": "^2.1.1", - "require-main-filename": "^2.0.0", - "set-blocking": "^2.0.0", - "string-width": "^3.0.0", - "which-module": "^2.0.0", - "y18n": "^4.0.0", - "yargs-parser": "^13.1.1" - } - }, "yargs-parser": { "version": "13.1.1", "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-13.1.1.tgz", diff --git a/package.json b/package.json index 3ee85c1..65376eb 100644 --- a/package.json +++ b/package.json @@ -1,11 +1,11 @@ { "name": "node-eventstore-client", - "version": "0.2.17", + "version": "21.10.0", "description": "A port of the EventStore .Net ClientAPI to Node.js", "main": "index.js", "types": "index.d.ts", "engines": { - "node": ">=5.10" + "node": ">=12" }, "engineStrict": true, "scripts": { @@ -23,7 +23,7 @@ "compose:cluster:start": "docker-compose -f docker-compose-cluster.yaml up --build -d", "compose:single:stop": "docker-compose -f docker-compose-single.yaml down -v --remove-orphans", "compose:cluster:stop": "docker-compose -f docker-compose-cluster.yaml down -v --remove-orphans", - "compose:wait": "while [[ \"$(curl -s -o /dev/null -w ''%{http_code}'' localhost:2113/ping)\" != \"200\" ]]; do sleep 5; done", + "compose:wait": "while [ \"$(curl -s -o /dev/null -w ''%{http_code}'' -k https://localhost:2113/ping)\" != \"200\" ]; do sleep 5; done", "compose:single:test": "docker-compose -f docker-compose-single.yaml exec nodejs bash -c \"npm i && npm run build && EVENTSTORE_CONNECTION_TYPE=tcp EVENTSTORE_HOST=192.168.33.10 npm run test-debug\"", "compose:cluster:test": "docker-compose -f docker-compose-cluster.yaml exec nodejs bash -c \"npm i && npm run build && EVENTSTORE_CONNECTION_TYPE=gossip EVENTSTORE_HOST=192.168.33.10 EVENTSTORE_HOST_1=192.168.33.10 EVENTSTORE_HOST_2=192.168.33.11 EVENTSTORE_HOST_3=192.168.33.12 npm run test-debug\"", "compose:gossip:test": "docker-compose -f docker-compose-cluster.yaml exec nodejs bash -c \"npm i && npm run build && EVENTSTORE_CONNECTION_TYPE=dns EVENTSTORE_HOST=192.168.33.10 npm run test-debug\"", @@ -58,12 +58,12 @@ }, "homepage": "https://github.com/nicdex/node-eventstore-client#readme", "dependencies": { - "@types/long": "^3.0.32", - "@types/node": ">=5.10", - "long": "^3.2.0", - "protobufjs": "^6.8.8", + "@types/node": ">=12", + "long": "^5.2.0", + "protobufjs": "^7.1.2", + "protobufjs-cli": "^1.0.2", "strict-event-emitter-types": "^1.2.0", - "uuid": "^3.0.1" + "uuid": "^9.0.0" }, "devDependencies": { "jest": "^26.4.2", diff --git a/src/clientOperations/appendToStreamOperation.js b/src/clientOperations/appendToStreamOperation.js index 3e556b4..6ea0b62 100644 --- a/src/clientOperations/appendToStreamOperation.js +++ b/src/clientOperations/appendToStreamOperation.js @@ -37,7 +37,7 @@ AppendToStreamOperation.prototype._createRequestDto = function() { eventStreamId: this._stream, expectedVersion: this._expectedVersion, events: dtos, - requireMaster: this._requireMaster}); + requireLeader: this._requireMaster}); }; AppendToStreamOperation.prototype._inspectResponse = function(response) { @@ -79,4 +79,4 @@ AppendToStreamOperation.prototype.toString = function() { return util.format("Stream: %s, ExpectedVersion: %d", this._stream, this._expectedVersion); }; -module.exports = AppendToStreamOperation; \ No newline at end of file +module.exports = AppendToStreamOperation; diff --git a/src/clientOperations/commitTransactionOperation.js b/src/clientOperations/commitTransactionOperation.js index 56f0d06..b3fc59e 100644 --- a/src/clientOperations/commitTransactionOperation.js +++ b/src/clientOperations/commitTransactionOperation.js @@ -24,7 +24,7 @@ util.inherits(CommitTransactionOperation, OperationBase); CommitTransactionOperation.prototype._createRequestDto = function() { return new ClientMessage.TransactionCommit({ transactionId: this._transactionId, - requireMaster: this._requireMaster + requireLeader: this._requireMaster }); }; @@ -66,4 +66,4 @@ CommitTransactionOperation.prototype.toString = function() { return util.format("TransactionId: %s", this._transactionId); }; -module.exports = CommitTransactionOperation; \ No newline at end of file +module.exports = CommitTransactionOperation; diff --git a/src/clientOperations/deleteStreamOperation.js b/src/clientOperations/deleteStreamOperation.js index b499f07..7a2bc26 100644 --- a/src/clientOperations/deleteStreamOperation.js +++ b/src/clientOperations/deleteStreamOperation.js @@ -27,7 +27,7 @@ DeleteStreamOperation.prototype._createRequestDto = function() { return new ClientMessage.DeleteStream({ eventStreamId: this._stream, expectedVersion: this._expectedVersion, - requireMaster: this._requireMaster, + requireLeader: this._requireMaster, hardDelete: this._hardDelete }); }; @@ -69,4 +69,4 @@ DeleteStreamOperation.prototype.toString = function() { return util.format("Stream: %s, ExpectedVersion: %s.", this._stream, this._expectedVersion); }; -module.exports = DeleteStreamOperation; \ No newline at end of file +module.exports = DeleteStreamOperation; diff --git a/src/clientOperations/operationBase.js b/src/clientOperations/operationBase.js index bdbfccc..8e6b86d 100644 --- a/src/clientOperations/operationBase.js +++ b/src/clientOperations/operationBase.js @@ -117,9 +117,9 @@ OperationBase.prototype._inspectNotHandled = function(pkg) case ClientMessage.NotHandled.NotHandledReason.TooBusy: return new InspectionResult(InspectionDecision.Retry, "NotHandled - TooBusy"); - case ClientMessage.NotHandled.NotHandledReason.NotMaster: - var masterInfo = ClientMessage.NotHandled.MasterInfo.decode(message.additionalInfo); - return new InspectionResult(InspectionDecision.Reconnect, "NotHandled - NotMaster", + case ClientMessage.NotHandled.NotHandledReason.NotLeader: + var masterInfo = ClientMessage.NotHandled.LeaderInfo.decode(message.additionalInfo); + return new InspectionResult(InspectionDecision.Reconnect, "NotHandled - NotLeader", {host: masterInfo.externalTcpAddress, port: masterInfo.externalTcpPort}, {host: masterInfo.externalSecureTcpAddress, port: masterInfo.externalSecureTcpPort}); @@ -145,4 +145,4 @@ OperationBase.prototype._inspectUnexpectedCommand = function(pkg, expectedComman }; -module.exports = OperationBase; \ No newline at end of file +module.exports = OperationBase; diff --git a/src/clientOperations/readAllEventsBackwardOperation.js b/src/clientOperations/readAllEventsBackwardOperation.js index 6a1620a..709b21a 100644 --- a/src/clientOperations/readAllEventsBackwardOperation.js +++ b/src/clientOperations/readAllEventsBackwardOperation.js @@ -29,7 +29,7 @@ ReadAllEventsBackwardOperation.prototype._createRequestDto = function() { preparePosition: this._position.preparePosition, maxCount: this._maxCount, resolveLinkTos: this._resolveLinkTos, - requireMaster: this._requireMaster + requireLeader: this._requireMaster }); }; @@ -64,4 +64,4 @@ ReadAllEventsBackwardOperation.prototype.toString = function() { this._position, this._maxCount, this._resolveLinkTos, this._requireMaster); }; -module.exports = ReadAllEventsBackwardOperation; \ No newline at end of file +module.exports = ReadAllEventsBackwardOperation; diff --git a/src/clientOperations/readAllEventsForwardOperation.js b/src/clientOperations/readAllEventsForwardOperation.js index f95854a..d46bdf8 100644 --- a/src/clientOperations/readAllEventsForwardOperation.js +++ b/src/clientOperations/readAllEventsForwardOperation.js @@ -29,7 +29,7 @@ ReadAllEventsForwardOperation.prototype._createRequestDto = function() { preparePosition: this._position.preparePosition, maxCount: this._maxCount, resolveLinkTos: this._resolveLinkTos, - requireMaster: this._requireMaster + requireLeader: this._requireMaster }); }; @@ -64,4 +64,4 @@ ReadAllEventsForwardOperation.prototype.toString = function() { this._position, this._maxCount, this._resolveLinkTos, this._requireMaster); }; -module.exports = ReadAllEventsForwardOperation; \ No newline at end of file +module.exports = ReadAllEventsForwardOperation; diff --git a/src/clientOperations/readEventOperation.js b/src/clientOperations/readEventOperation.js index f4f2776..dfaa097 100644 --- a/src/clientOperations/readEventOperation.js +++ b/src/clientOperations/readEventOperation.js @@ -25,7 +25,7 @@ ReadEventOperation.prototype._createRequestDto = function() { eventStreamId: this._stream, eventNumber: this._eventNumber, resolveLinkTos: this._resolveLinkTos, - requireMaster: this._requireMaster + requireLeader: this._requireMaster }); }; @@ -81,4 +81,4 @@ ReadEventOperation.prototype.toString = function() { this._stream, this._eventNumber, this._resolveLinkTos, this._requireMaster); }; -module.exports = ReadEventOperation; \ No newline at end of file +module.exports = ReadEventOperation; diff --git a/src/clientOperations/readStreamEventsBackwardOperation.js b/src/clientOperations/readStreamEventsBackwardOperation.js index 2d75808..3aa9d63 100644 --- a/src/clientOperations/readStreamEventsBackwardOperation.js +++ b/src/clientOperations/readStreamEventsBackwardOperation.js @@ -31,7 +31,7 @@ ReadStreamEventsBackwardOperation.prototype._createRequestDto = function() { fromEventNumber: this._fromEventNumber, maxCount: this._maxCount, resolveLinkTos: this._resolveLinkTos, - requireMaster: this._requireMaster + requireLeader: this._requireMaster }); }; @@ -76,4 +76,4 @@ ReadStreamEventsBackwardOperation.prototype.toString = function() { this._stream, this._fromEventNumber, this._maxCount, this._resolveLinkTos, this._requireMaster); }; -module.exports = ReadStreamEventsBackwardOperation; \ No newline at end of file +module.exports = ReadStreamEventsBackwardOperation; diff --git a/src/clientOperations/readStreamEventsForwardOperation.js b/src/clientOperations/readStreamEventsForwardOperation.js index 364c9a2..f4cd925 100644 --- a/src/clientOperations/readStreamEventsForwardOperation.js +++ b/src/clientOperations/readStreamEventsForwardOperation.js @@ -31,7 +31,7 @@ ReadStreamEventsForwardOperation.prototype._createRequestDto = function() { fromEventNumber: this._fromEventNumber, maxCount: this._maxCount, resolveLinkTos: this._resolveLinkTos, - requireMaster: this._requireMaster + requireLeader: this._requireMaster }); }; @@ -76,4 +76,4 @@ ReadStreamEventsForwardOperation.prototype.toString = function() { this._stream, this._fromEventNumber, this._maxCount, this._resolveLinkTos, this._requireMaster); }; -module.exports = ReadStreamEventsForwardOperation; \ No newline at end of file +module.exports = ReadStreamEventsForwardOperation; diff --git a/src/clientOperations/startTransactionOperation.js b/src/clientOperations/startTransactionOperation.js index e86e7f7..389941c 100644 --- a/src/clientOperations/startTransactionOperation.js +++ b/src/clientOperations/startTransactionOperation.js @@ -25,7 +25,7 @@ StartTransactionOperation.prototype._createRequestDto = function() { return new ClientMessage.TransactionStart({ eventStreamId: this._stream, expectedVersion: this._expectedVersion, - requireMaster: this._requireMaster + requireLeader: this._requireMaster }); }; @@ -66,4 +66,4 @@ StartTransactionOperation.prototype.toString = function() { return util.format("Stream: %s, ExpectedVersion: %d", this._stream, this._expectedVersion); }; -module.exports = StartTransactionOperation; \ No newline at end of file +module.exports = StartTransactionOperation; diff --git a/src/clientOperations/subscriptionOperation.js b/src/clientOperations/subscriptionOperation.js index ebb8023..07e5c84 100644 --- a/src/clientOperations/subscriptionOperation.js +++ b/src/clientOperations/subscriptionOperation.js @@ -137,9 +137,9 @@ SubscriptionOperation.prototype.inspectPackage = function(pkg) { case ClientMessage.NotHandled.NotHandledReason.TooBusy: return new InspectionResult(InspectionDecision.Retry, "NotHandled - TooBusy"); - case ClientMessage.NotHandled.NotHandledReason.NotMaster: - var masterInfo = ClientMessage.NotHandled.MasterInfo.decode(message.additionalInfo); - return new InspectionResult(InspectionDecision.Reconnect, "NotHandled - NotMaster", + case ClientMessage.NotHandled.NotHandledReason.NotLeader: + var masterInfo = ClientMessage.NotHandled.LeaderInfo.decode(message.additionalInfo); + return new InspectionResult(InspectionDecision.Reconnect, "NotHandled - NotLeader", {host: masterInfo.externalTcpAddress, port: masterInfo.externalTcpPort}, {host: masterInfo.externalSecureTcpAddress, port: masterInfo.externalSecureTcpPort}); @@ -279,4 +279,4 @@ SubscriptionOperation.prototype.toString = function() { }; -module.exports = SubscriptionOperation; \ No newline at end of file +module.exports = SubscriptionOperation; diff --git a/src/clientOperations/transactionalWriteOperation.js b/src/clientOperations/transactionalWriteOperation.js index 952e0dc..d81cf84 100644 --- a/src/clientOperations/transactionalWriteOperation.js +++ b/src/clientOperations/transactionalWriteOperation.js @@ -32,7 +32,7 @@ TransactionalWriteOperation.prototype._createRequestDto = function() { return new ClientMessage.TransactionWrite({ transactionId: this._transactionId, events: dtos, - requireMaster: this._requireMaster + requireLeader: this._requireMaster }); }; @@ -64,4 +64,4 @@ TransactionalWriteOperation.prototype.toString = function() { return util.format("TransactionId: %s", this._transactionId); }; -module.exports = TransactionalWriteOperation; \ No newline at end of file +module.exports = TransactionalWriteOperation; diff --git a/src/core/cluster/clusterDiscoverer.js b/src/core/cluster/clusterDiscoverer.js index 281f0ae..24f876a 100644 --- a/src/core/cluster/clusterDiscoverer.js +++ b/src/core/cluster/clusterDiscoverer.js @@ -78,7 +78,7 @@ ClusterDiscoverer.prototype._getGossipCandidates = async function (managerExtern this._settings.seeds && this._settings.seeds.length > 0 ? this._settings.seeds : (await this._resolveDns(this._settings.clusterDns)).map( - (address) => new GossipSeed({ host: address, port: managerExternalHttpPort }, undefined) + (address) => new GossipSeed({ host: address, port: managerExternalHttpPort }, address, this._settings.clusterDns) ); return shuffle(gossipSeeds); }; @@ -109,12 +109,14 @@ ClusterDiscoverer.prototype._resolveDns = async function (clusterDns) { * @returns {Promise.} */ ClusterDiscoverer.prototype._clusterInfo = async function (candidate, timeout) { + var self = this; return new Promise((resolve, reject) => { const options = { host: candidate.endPoint.host, port: candidate.endPoint.port, path: '/gossip?format=json', timeout: timeout, + rejectUnauthorized: self._settings.rejectUnauthorized }; if (candidate.hostHeader) { options.headers = { diff --git a/src/core/cluster/clusterInfo.js b/src/core/cluster/clusterInfo.js index 38c8db5..3979acf 100644 --- a/src/core/cluster/clusterInfo.js +++ b/src/core/cluster/clusterInfo.js @@ -2,16 +2,21 @@ const MemberInfo = require('./memberInfo.js'); const VNodeStates = Object.freeze({ Initializing: 0, - Unknown: 1, - PreReplica: 2, - CatchingUp: 3, - Clone: 4, - Slave: 5, - PreMaster: 6, - Master: 7, - Manager: 8, - ShuttingDown: 9, - Shutdown: 10 + DiscoverLeader: 1, + Unknown: 2, + PreReplica: 3, + CatchingUp: 4, + Clone: 5, + Follower: 6, + PreLeader: 7, + Leader: 8, + Manager: 9, + ShuttingDown: 10, + Shutdown: 11, + ReadOnlyLeaderless: 12, + PreReadOnlyReplica: 13, + ReadOnlyReplica: 14, + ResigningLeader: 15, }); function ClusterInfo(members) { @@ -33,4 +38,4 @@ ClusterInfo.prototype._getBestNode = function () { })[0]; } -module.exports = ClusterInfo; \ No newline at end of file +module.exports = ClusterInfo; diff --git a/src/eventStoreConnection.js b/src/eventStoreConnection.js index 7b2abc6..6a2ef18 100644 --- a/src/eventStoreConnection.js +++ b/src/eventStoreConnection.js @@ -6,6 +6,7 @@ var ensure = require('./common/utils/ensure'); const util = require('util'); const http = require('http'); +const https = require('https'); const dns = require('dns'); const dnsService = { @@ -95,13 +96,14 @@ function createFromClusterDns(connectionSettings, clusterDns, externalGossipPort managerExternalHttpPort: externalGossipPort, maxDiscoverAttempts: mergedSettings.maxDiscoverAttempts, discoverDelay: mergedSettings.discoverDelay, - gossipTimeout: mergedSettings.gossipTimeout + gossipTimeout: mergedSettings.gossipTimeout, + rejectUnauthorized: connectionSettings.useSslConnection ? connectionSettings.validateServer : undefined }; var endPointDiscoverer = new ClusterDiscoverer( mergedSettings.log, clusterSettings, dnsService, - http + connectionSettings.useSslConnection ? https : http ); return new EventStoreNodeConnection(mergedSettings, clusterSettings, endPointDiscoverer, connectionName); } @@ -116,13 +118,14 @@ function createFromGossipSeeds(connectionSettings, gossipSeeds, connectionName) externalGossipPort: 0, maxDiscoverAttempts: mergedSettings.maxDiscoverAttempts, discoverDelay: mergedSettings.discoverDelay, - gossipTimeout: mergedSettings.gossipTimeout + gossipTimeout: mergedSettings.gossipTimeout, + rejectUnauthorized: connectionSettings.useSslConnection ? connectionSettings.validateServer : undefined }; var endPointDiscoverer = new ClusterDiscoverer( mergedSettings.log, clusterSettings, dnsService, - http + connectionSettings.useSslConnection ? https : http ); return new EventStoreNodeConnection(mergedSettings, clusterSettings, endPointDiscoverer, connectionName); } @@ -162,4 +165,4 @@ module.exports.create = function(settings, endPointOrGossipSeeds, connectionName if (typeof endPointOrGossipSeeds === 'object') return createFromTcpEndpoint(settings, endPointOrGossipSeeds, connectionName); if (typeof endPointOrGossipSeeds === 'string') return createFromStringEndpoint(settings, endPointOrGossipSeeds, connectionName); throw new TypeError('endPointOrGossipSeeds must be an object, a string or an array.'); -}; \ No newline at end of file +}; diff --git a/src/messages/messages.js b/src/messages/messages.js index b19fea6..f386ff8 100644 --- a/src/messages/messages.js +++ b/src/messages/messages.js @@ -1,60 +1,57 @@ /*eslint-disable block-scoped-var, id-length, no-control-regex, no-magic-numbers, no-prototype-builtins, no-redeclare, no-shadow, no-var, sort-vars*/ (function(global, factory) { /* global define, require, module */ - /* CommonJS */if (typeof require === 'function' && typeof module === 'object' && module && module.exports) - module.exports = factory(require("../utils/modules")); + /* AMD */ if (typeof define === 'function' && define.amd) + define(["protobufjs/minimal"], factory); -})(this, function($moduleUtil) { + /* CommonJS */ else if (typeof require === 'function' && typeof module === 'object' && module && module.exports) + module.exports = factory(require("protobufjs/minimal"), require("../utils/modules")); + +})(this, function($protobuf, $moduleUtil) { "use strict"; // This fixes bug #91 by giving us an isolate copy of protobufjs library so any tampering with it doesn't affect us - var $moduleName = 'protobufjs/minimal'; - var $id = require.resolve($moduleName); - var $uncached = $moduleUtil.uncache($id); - var $protobuf = require($moduleName); - if ($uncached) { - $moduleUtil.recache($uncached); - } else { - $moduleUtil.uncache($id); - } + var old = $moduleUtil.uncache(require.resolve('protobufjs/minimal')); + $protobuf = require('protobufjs/minimal'); + $moduleUtil.recache(old); // Common aliases var $Reader = $protobuf.Reader, $Writer = $protobuf.Writer, $util = $protobuf.util; - + // Exported root namespace var $root = $protobuf.roots["default"] || ($protobuf.roots["default"] = {}); - + $root.EventStore = (function() { - + /** * Namespace EventStore. * @exports EventStore * @namespace */ var EventStore = {}; - + EventStore.Client = (function() { - + /** * Namespace Client. * @memberof EventStore * @namespace */ var Client = {}; - + Client.Messages = (function() { - + /** * Namespace Messages. * @memberof EventStore.Client * @namespace */ var Messages = {}; - + /** * OperationResult enum. * @name EventStore.Client.Messages.OperationResult - * @enum {string} + * @enum {number} * @property {number} Success=0 Success value * @property {number} PrepareTimeout=1 PrepareTimeout value * @property {number} CommitTimeout=2 CommitTimeout value @@ -76,9 +73,9 @@ values[valuesById[7] = "AccessDenied"] = 7; return values; })(); - + Messages.NewEvent = (function() { - + /** * Properties of a NewEvent. * @memberof EventStore.Client.Messages @@ -90,7 +87,7 @@ * @property {Uint8Array} data NewEvent data * @property {Uint8Array|null} [metadata] NewEvent metadata */ - + /** * Constructs a new NewEvent. * @memberof EventStore.Client.Messages @@ -105,7 +102,7 @@ if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; } - + /** * NewEvent eventId. * @member {Uint8Array} eventId @@ -113,7 +110,7 @@ * @instance */ NewEvent.prototype.eventId = $util.newBuffer([]); - + /** * NewEvent eventType. * @member {string} eventType @@ -121,7 +118,7 @@ * @instance */ NewEvent.prototype.eventType = ""; - + /** * NewEvent dataContentType. * @member {number} dataContentType @@ -129,7 +126,7 @@ * @instance */ NewEvent.prototype.dataContentType = 0; - + /** * NewEvent metadataContentType. * @member {number} metadataContentType @@ -137,7 +134,7 @@ * @instance */ NewEvent.prototype.metadataContentType = 0; - + /** * NewEvent data. * @member {Uint8Array} data @@ -145,7 +142,7 @@ * @instance */ NewEvent.prototype.data = $util.newBuffer([]); - + /** * NewEvent metadata. * @member {Uint8Array} metadata @@ -153,7 +150,7 @@ * @instance */ NewEvent.prototype.metadata = $util.newBuffer([]); - + /** * Creates a new NewEvent instance using the specified properties. * @function create @@ -165,7 +162,7 @@ NewEvent.create = function create(properties) { return new NewEvent(properties); }; - + /** * Encodes the specified NewEvent message. Does not implicitly {@link EventStore.Client.Messages.NewEvent.verify|verify} messages. * @function encode @@ -183,11 +180,11 @@ writer.uint32(/* id 3, wireType 0 =*/24).int32(message.dataContentType); writer.uint32(/* id 4, wireType 0 =*/32).int32(message.metadataContentType); writer.uint32(/* id 5, wireType 2 =*/42).bytes(message.data); - if (message.metadata != null && message.hasOwnProperty("metadata")) + if (message.metadata != null && Object.hasOwnProperty.call(message, "metadata")) writer.uint32(/* id 6, wireType 2 =*/50).bytes(message.metadata); return writer; }; - + /** * Encodes the specified NewEvent message, length delimited. Does not implicitly {@link EventStore.Client.Messages.NewEvent.verify|verify} messages. * @function encodeDelimited @@ -200,7 +197,7 @@ NewEvent.encodeDelimited = function encodeDelimited(message, writer) { return this.encode(message, writer).ldelim(); }; - + /** * Decodes a NewEvent message from the specified reader or buffer. * @function decode @@ -219,24 +216,30 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.eventId = reader.bytes(); - break; - case 2: - message.eventType = reader.string(); - break; - case 3: - message.dataContentType = reader.int32(); - break; - case 4: - message.metadataContentType = reader.int32(); - break; - case 5: - message.data = reader.bytes(); - break; - case 6: - message.metadata = reader.bytes(); - break; + case 1: { + message.eventId = reader.bytes(); + break; + } + case 2: { + message.eventType = reader.string(); + break; + } + case 3: { + message.dataContentType = reader.int32(); + break; + } + case 4: { + message.metadataContentType = reader.int32(); + break; + } + case 5: { + message.data = reader.bytes(); + break; + } + case 6: { + message.metadata = reader.bytes(); + break; + } default: reader.skipType(tag & 7); break; @@ -254,7 +257,7 @@ throw $util.ProtocolError("missing required 'data'", { instance: message }); return message; }; - + /** * Decodes a NewEvent message from the specified reader or buffer, length delimited. * @function decodeDelimited @@ -270,7 +273,7 @@ reader = new $Reader(reader); return this.decode(reader, reader.uint32()); }; - + /** * Verifies a NewEvent message. * @function verify @@ -297,7 +300,7 @@ return "metadata: buffer expected"; return null; }; - + /** * Creates a NewEvent message from a plain object. Also converts values to their respective internal types. * @function fromObject @@ -313,7 +316,7 @@ if (object.eventId != null) if (typeof object.eventId === "string") $util.base64.decode(object.eventId, message.eventId = $util.newBuffer($util.base64.length(object.eventId)), 0); - else if (object.eventId.length) + else if (object.eventId.length >= 0) message.eventId = object.eventId; if (object.eventType != null) message.eventType = String(object.eventType); @@ -324,16 +327,16 @@ if (object.data != null) if (typeof object.data === "string") $util.base64.decode(object.data, message.data = $util.newBuffer($util.base64.length(object.data)), 0); - else if (object.data.length) + else if (object.data.length >= 0) message.data = object.data; if (object.metadata != null) if (typeof object.metadata === "string") $util.base64.decode(object.metadata, message.metadata = $util.newBuffer($util.base64.length(object.metadata)), 0); - else if (object.metadata.length) + else if (object.metadata.length >= 0) message.metadata = object.metadata; return message; }; - + /** * Creates a plain object from a NewEvent message. Also converts values to other types if specified. * @function toObject @@ -387,7 +390,7 @@ object.metadata = options.bytes === String ? $util.base64.encode(message.metadata, 0, message.metadata.length) : options.bytes === Array ? Array.prototype.slice.call(message.metadata) : message.metadata; return object; }; - + /** * Converts this NewEvent to JSON. * @function toJSON @@ -398,28 +401,43 @@ NewEvent.prototype.toJSON = function toJSON() { return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; - + + /** + * Gets the default type url for NewEvent + * @function getTypeUrl + * @memberof EventStore.Client.Messages.NewEvent + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + NewEvent.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/EventStore.Client.Messages.NewEvent"; + }; + return NewEvent; })(); - + Messages.EventRecord = (function() { - + /** * Properties of an EventRecord. * @memberof EventStore.Client.Messages * @interface IEventRecord * @property {string} eventStreamId EventRecord eventStreamId - * @property {number|Long} eventNumber EventRecord eventNumber + * @property {Long} eventNumber EventRecord eventNumber * @property {Uint8Array} eventId EventRecord eventId * @property {string} eventType EventRecord eventType * @property {number} dataContentType EventRecord dataContentType * @property {number} metadataContentType EventRecord metadataContentType * @property {Uint8Array} data EventRecord data * @property {Uint8Array|null} [metadata] EventRecord metadata - * @property {number|Long|null} [created] EventRecord created - * @property {number|Long|null} [createdEpoch] EventRecord createdEpoch + * @property {Long|null} [created] EventRecord created + * @property {Long|null} [createdEpoch] EventRecord createdEpoch */ - + /** * Constructs a new EventRecord. * @memberof EventStore.Client.Messages @@ -434,7 +452,7 @@ if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; } - + /** * EventRecord eventStreamId. * @member {string} eventStreamId @@ -442,15 +460,15 @@ * @instance */ EventRecord.prototype.eventStreamId = ""; - + /** * EventRecord eventNumber. - * @member {number|Long} eventNumber + * @member {Long} eventNumber * @memberof EventStore.Client.Messages.EventRecord * @instance */ EventRecord.prototype.eventNumber = $util.Long ? $util.Long.fromBits(0,0,false) : 0; - + /** * EventRecord eventId. * @member {Uint8Array} eventId @@ -458,7 +476,7 @@ * @instance */ EventRecord.prototype.eventId = $util.newBuffer([]); - + /** * EventRecord eventType. * @member {string} eventType @@ -466,7 +484,7 @@ * @instance */ EventRecord.prototype.eventType = ""; - + /** * EventRecord dataContentType. * @member {number} dataContentType @@ -474,7 +492,7 @@ * @instance */ EventRecord.prototype.dataContentType = 0; - + /** * EventRecord metadataContentType. * @member {number} metadataContentType @@ -482,7 +500,7 @@ * @instance */ EventRecord.prototype.metadataContentType = 0; - + /** * EventRecord data. * @member {Uint8Array} data @@ -490,7 +508,7 @@ * @instance */ EventRecord.prototype.data = $util.newBuffer([]); - + /** * EventRecord metadata. * @member {Uint8Array} metadata @@ -498,23 +516,23 @@ * @instance */ EventRecord.prototype.metadata = $util.newBuffer([]); - + /** * EventRecord created. - * @member {number|Long} created + * @member {Long} created * @memberof EventStore.Client.Messages.EventRecord * @instance */ EventRecord.prototype.created = $util.Long ? $util.Long.fromBits(0,0,false) : 0; - + /** * EventRecord createdEpoch. - * @member {number|Long} createdEpoch + * @member {Long} createdEpoch * @memberof EventStore.Client.Messages.EventRecord * @instance */ EventRecord.prototype.createdEpoch = $util.Long ? $util.Long.fromBits(0,0,false) : 0; - + /** * Creates a new EventRecord instance using the specified properties. * @function create @@ -526,7 +544,7 @@ EventRecord.create = function create(properties) { return new EventRecord(properties); }; - + /** * Encodes the specified EventRecord message. Does not implicitly {@link EventStore.Client.Messages.EventRecord.verify|verify} messages. * @function encode @@ -546,15 +564,15 @@ writer.uint32(/* id 5, wireType 0 =*/40).int32(message.dataContentType); writer.uint32(/* id 6, wireType 0 =*/48).int32(message.metadataContentType); writer.uint32(/* id 7, wireType 2 =*/58).bytes(message.data); - if (message.metadata != null && message.hasOwnProperty("metadata")) + if (message.metadata != null && Object.hasOwnProperty.call(message, "metadata")) writer.uint32(/* id 8, wireType 2 =*/66).bytes(message.metadata); - if (message.created != null && message.hasOwnProperty("created")) + if (message.created != null && Object.hasOwnProperty.call(message, "created")) writer.uint32(/* id 9, wireType 0 =*/72).int64(message.created); - if (message.createdEpoch != null && message.hasOwnProperty("createdEpoch")) + if (message.createdEpoch != null && Object.hasOwnProperty.call(message, "createdEpoch")) writer.uint32(/* id 10, wireType 0 =*/80).int64(message.createdEpoch); return writer; }; - + /** * Encodes the specified EventRecord message, length delimited. Does not implicitly {@link EventStore.Client.Messages.EventRecord.verify|verify} messages. * @function encodeDelimited @@ -567,7 +585,7 @@ EventRecord.encodeDelimited = function encodeDelimited(message, writer) { return this.encode(message, writer).ldelim(); }; - + /** * Decodes an EventRecord message from the specified reader or buffer. * @function decode @@ -586,36 +604,46 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.eventStreamId = reader.string(); - break; - case 2: - message.eventNumber = reader.int64(); - break; - case 3: - message.eventId = reader.bytes(); - break; - case 4: - message.eventType = reader.string(); - break; - case 5: - message.dataContentType = reader.int32(); - break; - case 6: - message.metadataContentType = reader.int32(); - break; - case 7: - message.data = reader.bytes(); - break; - case 8: - message.metadata = reader.bytes(); - break; - case 9: - message.created = reader.int64(); - break; - case 10: - message.createdEpoch = reader.int64(); - break; + case 1: { + message.eventStreamId = reader.string(); + break; + } + case 2: { + message.eventNumber = reader.int64(); + break; + } + case 3: { + message.eventId = reader.bytes(); + break; + } + case 4: { + message.eventType = reader.string(); + break; + } + case 5: { + message.dataContentType = reader.int32(); + break; + } + case 6: { + message.metadataContentType = reader.int32(); + break; + } + case 7: { + message.data = reader.bytes(); + break; + } + case 8: { + message.metadata = reader.bytes(); + break; + } + case 9: { + message.created = reader.int64(); + break; + } + case 10: { + message.createdEpoch = reader.int64(); + break; + } default: reader.skipType(tag & 7); break; @@ -637,7 +665,7 @@ throw $util.ProtocolError("missing required 'data'", { instance: message }); return message; }; - + /** * Decodes an EventRecord message from the specified reader or buffer, length delimited. * @function decodeDelimited @@ -653,7 +681,7 @@ reader = new $Reader(reader); return this.decode(reader, reader.uint32()); }; - + /** * Verifies an EventRecord message. * @function verify @@ -690,7 +718,7 @@ return "createdEpoch: integer|Long expected"; return null; }; - + /** * Creates an EventRecord message from a plain object. Also converts values to their respective internal types. * @function fromObject @@ -717,7 +745,7 @@ if (object.eventId != null) if (typeof object.eventId === "string") $util.base64.decode(object.eventId, message.eventId = $util.newBuffer($util.base64.length(object.eventId)), 0); - else if (object.eventId.length) + else if (object.eventId.length >= 0) message.eventId = object.eventId; if (object.eventType != null) message.eventType = String(object.eventType); @@ -728,12 +756,12 @@ if (object.data != null) if (typeof object.data === "string") $util.base64.decode(object.data, message.data = $util.newBuffer($util.base64.length(object.data)), 0); - else if (object.data.length) + else if (object.data.length >= 0) message.data = object.data; if (object.metadata != null) if (typeof object.metadata === "string") $util.base64.decode(object.metadata, message.metadata = $util.newBuffer($util.base64.length(object.metadata)), 0); - else if (object.metadata.length) + else if (object.metadata.length >= 0) message.metadata = object.metadata; if (object.created != null) if ($util.Long) @@ -755,7 +783,7 @@ message.createdEpoch = new $util.LongBits(object.createdEpoch.low >>> 0, object.createdEpoch.high >>> 0).toNumber(); return message; }; - + /** * Creates a plain object from an EventRecord message. Also converts values to other types if specified. * @function toObject @@ -842,7 +870,7 @@ object.createdEpoch = options.longs === String ? $util.Long.prototype.toString.call(message.createdEpoch) : options.longs === Number ? new $util.LongBits(message.createdEpoch.low >>> 0, message.createdEpoch.high >>> 0).toNumber() : message.createdEpoch; return object; }; - + /** * Converts this EventRecord to JSON. * @function toJSON @@ -853,12 +881,27 @@ EventRecord.prototype.toJSON = function toJSON() { return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; - + + /** + * Gets the default type url for EventRecord + * @function getTypeUrl + * @memberof EventStore.Client.Messages.EventRecord + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + EventRecord.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/EventStore.Client.Messages.EventRecord"; + }; + return EventRecord; })(); - + Messages.ResolvedIndexedEvent = (function() { - + /** * Properties of a ResolvedIndexedEvent. * @memberof EventStore.Client.Messages @@ -866,7 +909,7 @@ * @property {EventStore.Client.Messages.IEventRecord|null} [event] ResolvedIndexedEvent event * @property {EventStore.Client.Messages.IEventRecord|null} [link] ResolvedIndexedEvent link */ - + /** * Constructs a new ResolvedIndexedEvent. * @memberof EventStore.Client.Messages @@ -881,7 +924,7 @@ if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; } - + /** * ResolvedIndexedEvent event. * @member {EventStore.Client.Messages.IEventRecord|null|undefined} event @@ -889,7 +932,7 @@ * @instance */ ResolvedIndexedEvent.prototype.event = null; - + /** * ResolvedIndexedEvent link. * @member {EventStore.Client.Messages.IEventRecord|null|undefined} link @@ -897,7 +940,7 @@ * @instance */ ResolvedIndexedEvent.prototype.link = null; - + /** * Creates a new ResolvedIndexedEvent instance using the specified properties. * @function create @@ -909,7 +952,7 @@ ResolvedIndexedEvent.create = function create(properties) { return new ResolvedIndexedEvent(properties); }; - + /** * Encodes the specified ResolvedIndexedEvent message. Does not implicitly {@link EventStore.Client.Messages.ResolvedIndexedEvent.verify|verify} messages. * @function encode @@ -922,13 +965,13 @@ ResolvedIndexedEvent.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.event != null && message.hasOwnProperty("event")) + if (message.event != null && Object.hasOwnProperty.call(message, "event")) $root.EventStore.Client.Messages.EventRecord.encode(message.event, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); - if (message.link != null && message.hasOwnProperty("link")) + if (message.link != null && Object.hasOwnProperty.call(message, "link")) $root.EventStore.Client.Messages.EventRecord.encode(message.link, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); return writer; }; - + /** * Encodes the specified ResolvedIndexedEvent message, length delimited. Does not implicitly {@link EventStore.Client.Messages.ResolvedIndexedEvent.verify|verify} messages. * @function encodeDelimited @@ -941,7 +984,7 @@ ResolvedIndexedEvent.encodeDelimited = function encodeDelimited(message, writer) { return this.encode(message, writer).ldelim(); }; - + /** * Decodes a ResolvedIndexedEvent message from the specified reader or buffer. * @function decode @@ -960,12 +1003,14 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.event = $root.EventStore.Client.Messages.EventRecord.decode(reader, reader.uint32()); - break; - case 2: - message.link = $root.EventStore.Client.Messages.EventRecord.decode(reader, reader.uint32()); - break; + case 1: { + message.event = $root.EventStore.Client.Messages.EventRecord.decode(reader, reader.uint32()); + break; + } + case 2: { + message.link = $root.EventStore.Client.Messages.EventRecord.decode(reader, reader.uint32()); + break; + } default: reader.skipType(tag & 7); break; @@ -973,7 +1018,7 @@ } return message; }; - + /** * Decodes a ResolvedIndexedEvent message from the specified reader or buffer, length delimited. * @function decodeDelimited @@ -989,7 +1034,7 @@ reader = new $Reader(reader); return this.decode(reader, reader.uint32()); }; - + /** * Verifies a ResolvedIndexedEvent message. * @function verify @@ -1013,7 +1058,7 @@ } return null; }; - + /** * Creates a ResolvedIndexedEvent message from a plain object. Also converts values to their respective internal types. * @function fromObject @@ -1038,7 +1083,7 @@ } return message; }; - + /** * Creates a plain object from a ResolvedIndexedEvent message. Also converts values to other types if specified. * @function toObject @@ -1062,7 +1107,7 @@ object.link = $root.EventStore.Client.Messages.EventRecord.toObject(message.link, options); return object; }; - + /** * Converts this ResolvedIndexedEvent to JSON. * @function toJSON @@ -1073,22 +1118,37 @@ ResolvedIndexedEvent.prototype.toJSON = function toJSON() { return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; - + + /** + * Gets the default type url for ResolvedIndexedEvent + * @function getTypeUrl + * @memberof EventStore.Client.Messages.ResolvedIndexedEvent + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ResolvedIndexedEvent.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/EventStore.Client.Messages.ResolvedIndexedEvent"; + }; + return ResolvedIndexedEvent; })(); - + Messages.ResolvedEvent = (function() { - + /** * Properties of a ResolvedEvent. * @memberof EventStore.Client.Messages * @interface IResolvedEvent * @property {EventStore.Client.Messages.IEventRecord|null} [event] ResolvedEvent event * @property {EventStore.Client.Messages.IEventRecord|null} [link] ResolvedEvent link - * @property {number|Long} commitPosition ResolvedEvent commitPosition - * @property {number|Long} preparePosition ResolvedEvent preparePosition + * @property {Long} commitPosition ResolvedEvent commitPosition + * @property {Long} preparePosition ResolvedEvent preparePosition */ - + /** * Constructs a new ResolvedEvent. * @memberof EventStore.Client.Messages @@ -1103,7 +1163,7 @@ if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; } - + /** * ResolvedEvent event. * @member {EventStore.Client.Messages.IEventRecord|null|undefined} event @@ -1111,7 +1171,7 @@ * @instance */ ResolvedEvent.prototype.event = null; - + /** * ResolvedEvent link. * @member {EventStore.Client.Messages.IEventRecord|null|undefined} link @@ -1119,23 +1179,23 @@ * @instance */ ResolvedEvent.prototype.link = null; - + /** * ResolvedEvent commitPosition. - * @member {number|Long} commitPosition + * @member {Long} commitPosition * @memberof EventStore.Client.Messages.ResolvedEvent * @instance */ ResolvedEvent.prototype.commitPosition = $util.Long ? $util.Long.fromBits(0,0,false) : 0; - + /** * ResolvedEvent preparePosition. - * @member {number|Long} preparePosition + * @member {Long} preparePosition * @memberof EventStore.Client.Messages.ResolvedEvent * @instance */ ResolvedEvent.prototype.preparePosition = $util.Long ? $util.Long.fromBits(0,0,false) : 0; - + /** * Creates a new ResolvedEvent instance using the specified properties. * @function create @@ -1147,7 +1207,7 @@ ResolvedEvent.create = function create(properties) { return new ResolvedEvent(properties); }; - + /** * Encodes the specified ResolvedEvent message. Does not implicitly {@link EventStore.Client.Messages.ResolvedEvent.verify|verify} messages. * @function encode @@ -1160,15 +1220,15 @@ ResolvedEvent.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.event != null && message.hasOwnProperty("event")) + if (message.event != null && Object.hasOwnProperty.call(message, "event")) $root.EventStore.Client.Messages.EventRecord.encode(message.event, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); - if (message.link != null && message.hasOwnProperty("link")) + if (message.link != null && Object.hasOwnProperty.call(message, "link")) $root.EventStore.Client.Messages.EventRecord.encode(message.link, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); writer.uint32(/* id 3, wireType 0 =*/24).int64(message.commitPosition); writer.uint32(/* id 4, wireType 0 =*/32).int64(message.preparePosition); return writer; }; - + /** * Encodes the specified ResolvedEvent message, length delimited. Does not implicitly {@link EventStore.Client.Messages.ResolvedEvent.verify|verify} messages. * @function encodeDelimited @@ -1181,7 +1241,7 @@ ResolvedEvent.encodeDelimited = function encodeDelimited(message, writer) { return this.encode(message, writer).ldelim(); }; - + /** * Decodes a ResolvedEvent message from the specified reader or buffer. * @function decode @@ -1200,18 +1260,22 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.event = $root.EventStore.Client.Messages.EventRecord.decode(reader, reader.uint32()); - break; - case 2: - message.link = $root.EventStore.Client.Messages.EventRecord.decode(reader, reader.uint32()); - break; - case 3: - message.commitPosition = reader.int64(); - break; - case 4: - message.preparePosition = reader.int64(); - break; + case 1: { + message.event = $root.EventStore.Client.Messages.EventRecord.decode(reader, reader.uint32()); + break; + } + case 2: { + message.link = $root.EventStore.Client.Messages.EventRecord.decode(reader, reader.uint32()); + break; + } + case 3: { + message.commitPosition = reader.int64(); + break; + } + case 4: { + message.preparePosition = reader.int64(); + break; + } default: reader.skipType(tag & 7); break; @@ -1223,7 +1287,7 @@ throw $util.ProtocolError("missing required 'preparePosition'", { instance: message }); return message; }; - + /** * Decodes a ResolvedEvent message from the specified reader or buffer, length delimited. * @function decodeDelimited @@ -1239,7 +1303,7 @@ reader = new $Reader(reader); return this.decode(reader, reader.uint32()); }; - + /** * Verifies a ResolvedEvent message. * @function verify @@ -1267,7 +1331,7 @@ return "preparePosition: integer|Long expected"; return null; }; - + /** * Creates a ResolvedEvent message from a plain object. Also converts values to their respective internal types. * @function fromObject @@ -1310,7 +1374,7 @@ message.preparePosition = new $util.LongBits(object.preparePosition.low >>> 0, object.preparePosition.high >>> 0).toNumber(); return message; }; - + /** * Creates a plain object from a ResolvedEvent message. Also converts values to other types if specified. * @function toObject @@ -1354,7 +1418,7 @@ object.preparePosition = options.longs === String ? $util.Long.prototype.toString.call(message.preparePosition) : options.longs === Number ? new $util.LongBits(message.preparePosition.low >>> 0, message.preparePosition.high >>> 0).toNumber() : message.preparePosition; return object; }; - + /** * Converts this ResolvedEvent to JSON. * @function toJSON @@ -1365,22 +1429,37 @@ ResolvedEvent.prototype.toJSON = function toJSON() { return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; - + + /** + * Gets the default type url for ResolvedEvent + * @function getTypeUrl + * @memberof EventStore.Client.Messages.ResolvedEvent + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ResolvedEvent.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/EventStore.Client.Messages.ResolvedEvent"; + }; + return ResolvedEvent; })(); - + Messages.WriteEvents = (function() { - + /** * Properties of a WriteEvents. * @memberof EventStore.Client.Messages * @interface IWriteEvents * @property {string} eventStreamId WriteEvents eventStreamId - * @property {number|Long} expectedVersion WriteEvents expectedVersion + * @property {Long} expectedVersion WriteEvents expectedVersion * @property {Array.|null} [events] WriteEvents events - * @property {boolean} requireMaster WriteEvents requireMaster + * @property {boolean} requireLeader WriteEvents requireLeader */ - + /** * Constructs a new WriteEvents. * @memberof EventStore.Client.Messages @@ -1396,7 +1475,7 @@ if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; } - + /** * WriteEvents eventStreamId. * @member {string} eventStreamId @@ -1404,15 +1483,15 @@ * @instance */ WriteEvents.prototype.eventStreamId = ""; - + /** * WriteEvents expectedVersion. - * @member {number|Long} expectedVersion + * @member {Long} expectedVersion * @memberof EventStore.Client.Messages.WriteEvents * @instance */ WriteEvents.prototype.expectedVersion = $util.Long ? $util.Long.fromBits(0,0,false) : 0; - + /** * WriteEvents events. * @member {Array.} events @@ -1420,15 +1499,15 @@ * @instance */ WriteEvents.prototype.events = $util.emptyArray; - + /** - * WriteEvents requireMaster. - * @member {boolean} requireMaster + * WriteEvents requireLeader. + * @member {boolean} requireLeader * @memberof EventStore.Client.Messages.WriteEvents * @instance */ - WriteEvents.prototype.requireMaster = false; - + WriteEvents.prototype.requireLeader = false; + /** * Creates a new WriteEvents instance using the specified properties. * @function create @@ -1440,7 +1519,7 @@ WriteEvents.create = function create(properties) { return new WriteEvents(properties); }; - + /** * Encodes the specified WriteEvents message. Does not implicitly {@link EventStore.Client.Messages.WriteEvents.verify|verify} messages. * @function encode @@ -1458,10 +1537,10 @@ if (message.events != null && message.events.length) for (var i = 0; i < message.events.length; ++i) $root.EventStore.Client.Messages.NewEvent.encode(message.events[i], writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim(); - writer.uint32(/* id 4, wireType 0 =*/32).bool(message.requireMaster); + writer.uint32(/* id 4, wireType 0 =*/32).bool(message.requireLeader); return writer; }; - + /** * Encodes the specified WriteEvents message, length delimited. Does not implicitly {@link EventStore.Client.Messages.WriteEvents.verify|verify} messages. * @function encodeDelimited @@ -1474,7 +1553,7 @@ WriteEvents.encodeDelimited = function encodeDelimited(message, writer) { return this.encode(message, writer).ldelim(); }; - + /** * Decodes a WriteEvents message from the specified reader or buffer. * @function decode @@ -1493,20 +1572,24 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.eventStreamId = reader.string(); - break; - case 2: - message.expectedVersion = reader.int64(); - break; - case 3: - if (!(message.events && message.events.length)) - message.events = []; - message.events.push($root.EventStore.Client.Messages.NewEvent.decode(reader, reader.uint32())); - break; - case 4: - message.requireMaster = reader.bool(); - break; + case 1: { + message.eventStreamId = reader.string(); + break; + } + case 2: { + message.expectedVersion = reader.int64(); + break; + } + case 3: { + if (!(message.events && message.events.length)) + message.events = []; + message.events.push($root.EventStore.Client.Messages.NewEvent.decode(reader, reader.uint32())); + break; + } + case 4: { + message.requireLeader = reader.bool(); + break; + } default: reader.skipType(tag & 7); break; @@ -1516,11 +1599,11 @@ throw $util.ProtocolError("missing required 'eventStreamId'", { instance: message }); if (!message.hasOwnProperty("expectedVersion")) throw $util.ProtocolError("missing required 'expectedVersion'", { instance: message }); - if (!message.hasOwnProperty("requireMaster")) - throw $util.ProtocolError("missing required 'requireMaster'", { instance: message }); + if (!message.hasOwnProperty("requireLeader")) + throw $util.ProtocolError("missing required 'requireLeader'", { instance: message }); return message; }; - + /** * Decodes a WriteEvents message from the specified reader or buffer, length delimited. * @function decodeDelimited @@ -1536,7 +1619,7 @@ reader = new $Reader(reader); return this.decode(reader, reader.uint32()); }; - + /** * Verifies a WriteEvents message. * @function verify @@ -1561,11 +1644,11 @@ return "events." + error; } } - if (typeof message.requireMaster !== "boolean") - return "requireMaster: boolean expected"; + if (typeof message.requireLeader !== "boolean") + return "requireLeader: boolean expected"; return null; }; - + /** * Creates a WriteEvents message from a plain object. Also converts values to their respective internal types. * @function fromObject @@ -1599,11 +1682,11 @@ message.events[i] = $root.EventStore.Client.Messages.NewEvent.fromObject(object.events[i]); } } - if (object.requireMaster != null) - message.requireMaster = Boolean(object.requireMaster); + if (object.requireLeader != null) + message.requireLeader = Boolean(object.requireLeader); return message; }; - + /** * Creates a plain object from a WriteEvents message. Also converts values to other types if specified. * @function toObject @@ -1626,7 +1709,7 @@ object.expectedVersion = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long; } else object.expectedVersion = options.longs === String ? "0" : 0; - object.requireMaster = false; + object.requireLeader = false; } if (message.eventStreamId != null && message.hasOwnProperty("eventStreamId")) object.eventStreamId = message.eventStreamId; @@ -1640,11 +1723,11 @@ for (var j = 0; j < message.events.length; ++j) object.events[j] = $root.EventStore.Client.Messages.NewEvent.toObject(message.events[j], options); } - if (message.requireMaster != null && message.hasOwnProperty("requireMaster")) - object.requireMaster = message.requireMaster; + if (message.requireLeader != null && message.hasOwnProperty("requireLeader")) + object.requireLeader = message.requireLeader; return object; }; - + /** * Converts this WriteEvents to JSON. * @function toJSON @@ -1655,25 +1738,40 @@ WriteEvents.prototype.toJSON = function toJSON() { return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; - + + /** + * Gets the default type url for WriteEvents + * @function getTypeUrl + * @memberof EventStore.Client.Messages.WriteEvents + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + WriteEvents.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/EventStore.Client.Messages.WriteEvents"; + }; + return WriteEvents; })(); - + Messages.WriteEventsCompleted = (function() { - + /** * Properties of a WriteEventsCompleted. * @memberof EventStore.Client.Messages * @interface IWriteEventsCompleted * @property {EventStore.Client.Messages.OperationResult} result WriteEventsCompleted result * @property {string|null} [message] WriteEventsCompleted message - * @property {number|Long} firstEventNumber WriteEventsCompleted firstEventNumber - * @property {number|Long} lastEventNumber WriteEventsCompleted lastEventNumber - * @property {number|Long|null} [preparePosition] WriteEventsCompleted preparePosition - * @property {number|Long|null} [commitPosition] WriteEventsCompleted commitPosition - * @property {number|Long|null} [currentVersion] WriteEventsCompleted currentVersion + * @property {Long} firstEventNumber WriteEventsCompleted firstEventNumber + * @property {Long} lastEventNumber WriteEventsCompleted lastEventNumber + * @property {Long|null} [preparePosition] WriteEventsCompleted preparePosition + * @property {Long|null} [commitPosition] WriteEventsCompleted commitPosition + * @property {Long|null} [currentVersion] WriteEventsCompleted currentVersion */ - + /** * Constructs a new WriteEventsCompleted. * @memberof EventStore.Client.Messages @@ -1688,7 +1786,7 @@ if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; } - + /** * WriteEventsCompleted result. * @member {EventStore.Client.Messages.OperationResult} result @@ -1696,7 +1794,7 @@ * @instance */ WriteEventsCompleted.prototype.result = 0; - + /** * WriteEventsCompleted message. * @member {string} message @@ -1704,47 +1802,47 @@ * @instance */ WriteEventsCompleted.prototype.message = ""; - + /** * WriteEventsCompleted firstEventNumber. - * @member {number|Long} firstEventNumber + * @member {Long} firstEventNumber * @memberof EventStore.Client.Messages.WriteEventsCompleted * @instance */ WriteEventsCompleted.prototype.firstEventNumber = $util.Long ? $util.Long.fromBits(0,0,false) : 0; - + /** * WriteEventsCompleted lastEventNumber. - * @member {number|Long} lastEventNumber + * @member {Long} lastEventNumber * @memberof EventStore.Client.Messages.WriteEventsCompleted * @instance */ WriteEventsCompleted.prototype.lastEventNumber = $util.Long ? $util.Long.fromBits(0,0,false) : 0; - + /** * WriteEventsCompleted preparePosition. - * @member {number|Long} preparePosition + * @member {Long} preparePosition * @memberof EventStore.Client.Messages.WriteEventsCompleted * @instance */ WriteEventsCompleted.prototype.preparePosition = $util.Long ? $util.Long.fromBits(0,0,false) : 0; - + /** * WriteEventsCompleted commitPosition. - * @member {number|Long} commitPosition + * @member {Long} commitPosition * @memberof EventStore.Client.Messages.WriteEventsCompleted * @instance */ WriteEventsCompleted.prototype.commitPosition = $util.Long ? $util.Long.fromBits(0,0,false) : 0; - + /** * WriteEventsCompleted currentVersion. - * @member {number|Long} currentVersion + * @member {Long} currentVersion * @memberof EventStore.Client.Messages.WriteEventsCompleted * @instance */ WriteEventsCompleted.prototype.currentVersion = $util.Long ? $util.Long.fromBits(0,0,false) : 0; - + /** * Creates a new WriteEventsCompleted instance using the specified properties. * @function create @@ -1756,7 +1854,7 @@ WriteEventsCompleted.create = function create(properties) { return new WriteEventsCompleted(properties); }; - + /** * Encodes the specified WriteEventsCompleted message. Does not implicitly {@link EventStore.Client.Messages.WriteEventsCompleted.verify|verify} messages. * @function encode @@ -1770,19 +1868,19 @@ if (!writer) writer = $Writer.create(); writer.uint32(/* id 1, wireType 0 =*/8).int32(message.result); - if (message.message != null && message.hasOwnProperty("message")) + if (message.message != null && Object.hasOwnProperty.call(message, "message")) writer.uint32(/* id 2, wireType 2 =*/18).string(message.message); writer.uint32(/* id 3, wireType 0 =*/24).int64(message.firstEventNumber); writer.uint32(/* id 4, wireType 0 =*/32).int64(message.lastEventNumber); - if (message.preparePosition != null && message.hasOwnProperty("preparePosition")) + if (message.preparePosition != null && Object.hasOwnProperty.call(message, "preparePosition")) writer.uint32(/* id 5, wireType 0 =*/40).int64(message.preparePosition); - if (message.commitPosition != null && message.hasOwnProperty("commitPosition")) + if (message.commitPosition != null && Object.hasOwnProperty.call(message, "commitPosition")) writer.uint32(/* id 6, wireType 0 =*/48).int64(message.commitPosition); - if (message.currentVersion != null && message.hasOwnProperty("currentVersion")) + if (message.currentVersion != null && Object.hasOwnProperty.call(message, "currentVersion")) writer.uint32(/* id 7, wireType 0 =*/56).int64(message.currentVersion); return writer; }; - + /** * Encodes the specified WriteEventsCompleted message, length delimited. Does not implicitly {@link EventStore.Client.Messages.WriteEventsCompleted.verify|verify} messages. * @function encodeDelimited @@ -1795,7 +1893,7 @@ WriteEventsCompleted.encodeDelimited = function encodeDelimited(message, writer) { return this.encode(message, writer).ldelim(); }; - + /** * Decodes a WriteEventsCompleted message from the specified reader or buffer. * @function decode @@ -1814,27 +1912,34 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.result = reader.int32(); - break; - case 2: - message.message = reader.string(); - break; - case 3: - message.firstEventNumber = reader.int64(); - break; - case 4: - message.lastEventNumber = reader.int64(); - break; - case 5: - message.preparePosition = reader.int64(); - break; - case 6: - message.commitPosition = reader.int64(); - break; - case 7: - message.currentVersion = reader.int64(); - break; + case 1: { + message.result = reader.int32(); + break; + } + case 2: { + message.message = reader.string(); + break; + } + case 3: { + message.firstEventNumber = reader.int64(); + break; + } + case 4: { + message.lastEventNumber = reader.int64(); + break; + } + case 5: { + message.preparePosition = reader.int64(); + break; + } + case 6: { + message.commitPosition = reader.int64(); + break; + } + case 7: { + message.currentVersion = reader.int64(); + break; + } default: reader.skipType(tag & 7); break; @@ -1848,7 +1953,7 @@ throw $util.ProtocolError("missing required 'lastEventNumber'", { instance: message }); return message; }; - + /** * Decodes a WriteEventsCompleted message from the specified reader or buffer, length delimited. * @function decodeDelimited @@ -1864,7 +1969,7 @@ reader = new $Reader(reader); return this.decode(reader, reader.uint32()); }; - + /** * Verifies a WriteEventsCompleted message. * @function verify @@ -1907,7 +2012,7 @@ return "currentVersion: integer|Long expected"; return null; }; - + /** * Creates a WriteEventsCompleted message from a plain object. Also converts values to their respective internal types. * @function fromObject @@ -1921,6 +2026,12 @@ return object; var message = new $root.EventStore.Client.Messages.WriteEventsCompleted(); switch (object.result) { + default: + if (typeof object.result === "number") { + message.result = object.result; + break; + } + break; case "Success": case 0: message.result = 0; @@ -2003,7 +2114,7 @@ message.currentVersion = new $util.LongBits(object.currentVersion.low >>> 0, object.currentVersion.high >>> 0).toNumber(); return message; }; - + /** * Creates a plain object from a WriteEventsCompleted message. Also converts values to other types if specified. * @function toObject @@ -2047,7 +2158,7 @@ object.currentVersion = options.longs === String ? "0" : 0; } if (message.result != null && message.hasOwnProperty("result")) - object.result = options.enums === String ? $root.EventStore.Client.Messages.OperationResult[message.result] : message.result; + object.result = options.enums === String ? $root.EventStore.Client.Messages.OperationResult[message.result] === undefined ? message.result : $root.EventStore.Client.Messages.OperationResult[message.result] : message.result; if (message.message != null && message.hasOwnProperty("message")) object.message = message.message; if (message.firstEventNumber != null && message.hasOwnProperty("firstEventNumber")) @@ -2077,7 +2188,7 @@ object.currentVersion = options.longs === String ? $util.Long.prototype.toString.call(message.currentVersion) : options.longs === Number ? new $util.LongBits(message.currentVersion.low >>> 0, message.currentVersion.high >>> 0).toNumber() : message.currentVersion; return object; }; - + /** * Converts this WriteEventsCompleted to JSON. * @function toJSON @@ -2088,22 +2199,37 @@ WriteEventsCompleted.prototype.toJSON = function toJSON() { return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; - + + /** + * Gets the default type url for WriteEventsCompleted + * @function getTypeUrl + * @memberof EventStore.Client.Messages.WriteEventsCompleted + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + WriteEventsCompleted.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/EventStore.Client.Messages.WriteEventsCompleted"; + }; + return WriteEventsCompleted; })(); - + Messages.DeleteStream = (function() { - + /** * Properties of a DeleteStream. * @memberof EventStore.Client.Messages * @interface IDeleteStream * @property {string} eventStreamId DeleteStream eventStreamId - * @property {number|Long} expectedVersion DeleteStream expectedVersion - * @property {boolean} requireMaster DeleteStream requireMaster + * @property {Long} expectedVersion DeleteStream expectedVersion + * @property {boolean} requireLeader DeleteStream requireLeader * @property {boolean|null} [hardDelete] DeleteStream hardDelete */ - + /** * Constructs a new DeleteStream. * @memberof EventStore.Client.Messages @@ -2118,7 +2244,7 @@ if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; } - + /** * DeleteStream eventStreamId. * @member {string} eventStreamId @@ -2126,23 +2252,23 @@ * @instance */ DeleteStream.prototype.eventStreamId = ""; - + /** * DeleteStream expectedVersion. - * @member {number|Long} expectedVersion + * @member {Long} expectedVersion * @memberof EventStore.Client.Messages.DeleteStream * @instance */ DeleteStream.prototype.expectedVersion = $util.Long ? $util.Long.fromBits(0,0,false) : 0; - + /** - * DeleteStream requireMaster. - * @member {boolean} requireMaster + * DeleteStream requireLeader. + * @member {boolean} requireLeader * @memberof EventStore.Client.Messages.DeleteStream * @instance */ - DeleteStream.prototype.requireMaster = false; - + DeleteStream.prototype.requireLeader = false; + /** * DeleteStream hardDelete. * @member {boolean} hardDelete @@ -2150,7 +2276,7 @@ * @instance */ DeleteStream.prototype.hardDelete = false; - + /** * Creates a new DeleteStream instance using the specified properties. * @function create @@ -2162,7 +2288,7 @@ DeleteStream.create = function create(properties) { return new DeleteStream(properties); }; - + /** * Encodes the specified DeleteStream message. Does not implicitly {@link EventStore.Client.Messages.DeleteStream.verify|verify} messages. * @function encode @@ -2177,12 +2303,12 @@ writer = $Writer.create(); writer.uint32(/* id 1, wireType 2 =*/10).string(message.eventStreamId); writer.uint32(/* id 2, wireType 0 =*/16).int64(message.expectedVersion); - writer.uint32(/* id 3, wireType 0 =*/24).bool(message.requireMaster); - if (message.hardDelete != null && message.hasOwnProperty("hardDelete")) + writer.uint32(/* id 3, wireType 0 =*/24).bool(message.requireLeader); + if (message.hardDelete != null && Object.hasOwnProperty.call(message, "hardDelete")) writer.uint32(/* id 4, wireType 0 =*/32).bool(message.hardDelete); return writer; }; - + /** * Encodes the specified DeleteStream message, length delimited. Does not implicitly {@link EventStore.Client.Messages.DeleteStream.verify|verify} messages. * @function encodeDelimited @@ -2195,7 +2321,7 @@ DeleteStream.encodeDelimited = function encodeDelimited(message, writer) { return this.encode(message, writer).ldelim(); }; - + /** * Decodes a DeleteStream message from the specified reader or buffer. * @function decode @@ -2214,18 +2340,22 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.eventStreamId = reader.string(); - break; - case 2: - message.expectedVersion = reader.int64(); - break; - case 3: - message.requireMaster = reader.bool(); - break; - case 4: - message.hardDelete = reader.bool(); - break; + case 1: { + message.eventStreamId = reader.string(); + break; + } + case 2: { + message.expectedVersion = reader.int64(); + break; + } + case 3: { + message.requireLeader = reader.bool(); + break; + } + case 4: { + message.hardDelete = reader.bool(); + break; + } default: reader.skipType(tag & 7); break; @@ -2235,11 +2365,11 @@ throw $util.ProtocolError("missing required 'eventStreamId'", { instance: message }); if (!message.hasOwnProperty("expectedVersion")) throw $util.ProtocolError("missing required 'expectedVersion'", { instance: message }); - if (!message.hasOwnProperty("requireMaster")) - throw $util.ProtocolError("missing required 'requireMaster'", { instance: message }); + if (!message.hasOwnProperty("requireLeader")) + throw $util.ProtocolError("missing required 'requireLeader'", { instance: message }); return message; }; - + /** * Decodes a DeleteStream message from the specified reader or buffer, length delimited. * @function decodeDelimited @@ -2255,7 +2385,7 @@ reader = new $Reader(reader); return this.decode(reader, reader.uint32()); }; - + /** * Verifies a DeleteStream message. * @function verify @@ -2271,14 +2401,14 @@ return "eventStreamId: string expected"; if (!$util.isInteger(message.expectedVersion) && !(message.expectedVersion && $util.isInteger(message.expectedVersion.low) && $util.isInteger(message.expectedVersion.high))) return "expectedVersion: integer|Long expected"; - if (typeof message.requireMaster !== "boolean") - return "requireMaster: boolean expected"; + if (typeof message.requireLeader !== "boolean") + return "requireLeader: boolean expected"; if (message.hardDelete != null && message.hasOwnProperty("hardDelete")) if (typeof message.hardDelete !== "boolean") return "hardDelete: boolean expected"; return null; }; - + /** * Creates a DeleteStream message from a plain object. Also converts values to their respective internal types. * @function fromObject @@ -2302,13 +2432,13 @@ message.expectedVersion = object.expectedVersion; else if (typeof object.expectedVersion === "object") message.expectedVersion = new $util.LongBits(object.expectedVersion.low >>> 0, object.expectedVersion.high >>> 0).toNumber(); - if (object.requireMaster != null) - message.requireMaster = Boolean(object.requireMaster); + if (object.requireLeader != null) + message.requireLeader = Boolean(object.requireLeader); if (object.hardDelete != null) message.hardDelete = Boolean(object.hardDelete); return message; }; - + /** * Creates a plain object from a DeleteStream message. Also converts values to other types if specified. * @function toObject @@ -2329,7 +2459,7 @@ object.expectedVersion = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long; } else object.expectedVersion = options.longs === String ? "0" : 0; - object.requireMaster = false; + object.requireLeader = false; object.hardDelete = false; } if (message.eventStreamId != null && message.hasOwnProperty("eventStreamId")) @@ -2339,13 +2469,13 @@ object.expectedVersion = options.longs === String ? String(message.expectedVersion) : message.expectedVersion; else object.expectedVersion = options.longs === String ? $util.Long.prototype.toString.call(message.expectedVersion) : options.longs === Number ? new $util.LongBits(message.expectedVersion.low >>> 0, message.expectedVersion.high >>> 0).toNumber() : message.expectedVersion; - if (message.requireMaster != null && message.hasOwnProperty("requireMaster")) - object.requireMaster = message.requireMaster; + if (message.requireLeader != null && message.hasOwnProperty("requireLeader")) + object.requireLeader = message.requireLeader; if (message.hardDelete != null && message.hasOwnProperty("hardDelete")) object.hardDelete = message.hardDelete; return object; }; - + /** * Converts this DeleteStream to JSON. * @function toJSON @@ -2356,22 +2486,38 @@ DeleteStream.prototype.toJSON = function toJSON() { return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; - + + /** + * Gets the default type url for DeleteStream + * @function getTypeUrl + * @memberof EventStore.Client.Messages.DeleteStream + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + DeleteStream.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/EventStore.Client.Messages.DeleteStream"; + }; + return DeleteStream; })(); - + Messages.DeleteStreamCompleted = (function() { - + /** * Properties of a DeleteStreamCompleted. * @memberof EventStore.Client.Messages * @interface IDeleteStreamCompleted * @property {EventStore.Client.Messages.OperationResult} result DeleteStreamCompleted result * @property {string|null} [message] DeleteStreamCompleted message - * @property {number|Long|null} [preparePosition] DeleteStreamCompleted preparePosition - * @property {number|Long|null} [commitPosition] DeleteStreamCompleted commitPosition + * @property {Long|null} [preparePosition] DeleteStreamCompleted preparePosition + * @property {Long|null} [commitPosition] DeleteStreamCompleted commitPosition + * @property {Long|null} [currentVersion] DeleteStreamCompleted currentVersion */ - + /** * Constructs a new DeleteStreamCompleted. * @memberof EventStore.Client.Messages @@ -2386,7 +2532,7 @@ if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; } - + /** * DeleteStreamCompleted result. * @member {EventStore.Client.Messages.OperationResult} result @@ -2394,7 +2540,7 @@ * @instance */ DeleteStreamCompleted.prototype.result = 0; - + /** * DeleteStreamCompleted message. * @member {string} message @@ -2402,23 +2548,31 @@ * @instance */ DeleteStreamCompleted.prototype.message = ""; - + /** * DeleteStreamCompleted preparePosition. - * @member {number|Long} preparePosition + * @member {Long} preparePosition * @memberof EventStore.Client.Messages.DeleteStreamCompleted * @instance */ DeleteStreamCompleted.prototype.preparePosition = $util.Long ? $util.Long.fromBits(0,0,false) : 0; - + /** * DeleteStreamCompleted commitPosition. - * @member {number|Long} commitPosition + * @member {Long} commitPosition * @memberof EventStore.Client.Messages.DeleteStreamCompleted * @instance */ DeleteStreamCompleted.prototype.commitPosition = $util.Long ? $util.Long.fromBits(0,0,false) : 0; - + + /** + * DeleteStreamCompleted currentVersion. + * @member {Long} currentVersion + * @memberof EventStore.Client.Messages.DeleteStreamCompleted + * @instance + */ + DeleteStreamCompleted.prototype.currentVersion = $util.Long ? $util.Long.fromBits(0,0,false) : 0; + /** * Creates a new DeleteStreamCompleted instance using the specified properties. * @function create @@ -2430,7 +2584,7 @@ DeleteStreamCompleted.create = function create(properties) { return new DeleteStreamCompleted(properties); }; - + /** * Encodes the specified DeleteStreamCompleted message. Does not implicitly {@link EventStore.Client.Messages.DeleteStreamCompleted.verify|verify} messages. * @function encode @@ -2444,15 +2598,17 @@ if (!writer) writer = $Writer.create(); writer.uint32(/* id 1, wireType 0 =*/8).int32(message.result); - if (message.message != null && message.hasOwnProperty("message")) + if (message.message != null && Object.hasOwnProperty.call(message, "message")) writer.uint32(/* id 2, wireType 2 =*/18).string(message.message); - if (message.preparePosition != null && message.hasOwnProperty("preparePosition")) + if (message.preparePosition != null && Object.hasOwnProperty.call(message, "preparePosition")) writer.uint32(/* id 3, wireType 0 =*/24).int64(message.preparePosition); - if (message.commitPosition != null && message.hasOwnProperty("commitPosition")) + if (message.commitPosition != null && Object.hasOwnProperty.call(message, "commitPosition")) writer.uint32(/* id 4, wireType 0 =*/32).int64(message.commitPosition); + if (message.currentVersion != null && Object.hasOwnProperty.call(message, "currentVersion")) + writer.uint32(/* id 5, wireType 0 =*/40).int64(message.currentVersion); return writer; }; - + /** * Encodes the specified DeleteStreamCompleted message, length delimited. Does not implicitly {@link EventStore.Client.Messages.DeleteStreamCompleted.verify|verify} messages. * @function encodeDelimited @@ -2465,7 +2621,7 @@ DeleteStreamCompleted.encodeDelimited = function encodeDelimited(message, writer) { return this.encode(message, writer).ldelim(); }; - + /** * Decodes a DeleteStreamCompleted message from the specified reader or buffer. * @function decode @@ -2484,18 +2640,26 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.result = reader.int32(); - break; - case 2: - message.message = reader.string(); - break; - case 3: - message.preparePosition = reader.int64(); - break; - case 4: - message.commitPosition = reader.int64(); - break; + case 1: { + message.result = reader.int32(); + break; + } + case 2: { + message.message = reader.string(); + break; + } + case 3: { + message.preparePosition = reader.int64(); + break; + } + case 4: { + message.commitPosition = reader.int64(); + break; + } + case 5: { + message.currentVersion = reader.int64(); + break; + } default: reader.skipType(tag & 7); break; @@ -2505,7 +2669,7 @@ throw $util.ProtocolError("missing required 'result'", { instance: message }); return message; }; - + /** * Decodes a DeleteStreamCompleted message from the specified reader or buffer, length delimited. * @function decodeDelimited @@ -2521,7 +2685,7 @@ reader = new $Reader(reader); return this.decode(reader, reader.uint32()); }; - + /** * Verifies a DeleteStreamCompleted message. * @function verify @@ -2555,9 +2719,12 @@ if (message.commitPosition != null && message.hasOwnProperty("commitPosition")) if (!$util.isInteger(message.commitPosition) && !(message.commitPosition && $util.isInteger(message.commitPosition.low) && $util.isInteger(message.commitPosition.high))) return "commitPosition: integer|Long expected"; + if (message.currentVersion != null && message.hasOwnProperty("currentVersion")) + if (!$util.isInteger(message.currentVersion) && !(message.currentVersion && $util.isInteger(message.currentVersion.low) && $util.isInteger(message.currentVersion.high))) + return "currentVersion: integer|Long expected"; return null; }; - + /** * Creates a DeleteStreamCompleted message from a plain object. Also converts values to their respective internal types. * @function fromObject @@ -2571,6 +2738,12 @@ return object; var message = new $root.EventStore.Client.Messages.DeleteStreamCompleted(); switch (object.result) { + default: + if (typeof object.result === "number") { + message.result = object.result; + break; + } + break; case "Success": case 0: message.result = 0; @@ -2624,9 +2797,18 @@ message.commitPosition = object.commitPosition; else if (typeof object.commitPosition === "object") message.commitPosition = new $util.LongBits(object.commitPosition.low >>> 0, object.commitPosition.high >>> 0).toNumber(); + if (object.currentVersion != null) + if ($util.Long) + (message.currentVersion = $util.Long.fromValue(object.currentVersion)).unsigned = false; + else if (typeof object.currentVersion === "string") + message.currentVersion = parseInt(object.currentVersion, 10); + else if (typeof object.currentVersion === "number") + message.currentVersion = object.currentVersion; + else if (typeof object.currentVersion === "object") + message.currentVersion = new $util.LongBits(object.currentVersion.low >>> 0, object.currentVersion.high >>> 0).toNumber(); return message; }; - + /** * Creates a plain object from a DeleteStreamCompleted message. Also converts values to other types if specified. * @function toObject @@ -2653,9 +2835,14 @@ object.commitPosition = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long; } else object.commitPosition = options.longs === String ? "0" : 0; + if ($util.Long) { + var long = new $util.Long(0, 0, false); + object.currentVersion = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long; + } else + object.currentVersion = options.longs === String ? "0" : 0; } if (message.result != null && message.hasOwnProperty("result")) - object.result = options.enums === String ? $root.EventStore.Client.Messages.OperationResult[message.result] : message.result; + object.result = options.enums === String ? $root.EventStore.Client.Messages.OperationResult[message.result] === undefined ? message.result : $root.EventStore.Client.Messages.OperationResult[message.result] : message.result; if (message.message != null && message.hasOwnProperty("message")) object.message = message.message; if (message.preparePosition != null && message.hasOwnProperty("preparePosition")) @@ -2668,9 +2855,14 @@ object.commitPosition = options.longs === String ? String(message.commitPosition) : message.commitPosition; else object.commitPosition = options.longs === String ? $util.Long.prototype.toString.call(message.commitPosition) : options.longs === Number ? new $util.LongBits(message.commitPosition.low >>> 0, message.commitPosition.high >>> 0).toNumber() : message.commitPosition; + if (message.currentVersion != null && message.hasOwnProperty("currentVersion")) + if (typeof message.currentVersion === "number") + object.currentVersion = options.longs === String ? String(message.currentVersion) : message.currentVersion; + else + object.currentVersion = options.longs === String ? $util.Long.prototype.toString.call(message.currentVersion) : options.longs === Number ? new $util.LongBits(message.currentVersion.low >>> 0, message.currentVersion.high >>> 0).toNumber() : message.currentVersion; return object; }; - + /** * Converts this DeleteStreamCompleted to JSON. * @function toJSON @@ -2681,21 +2873,36 @@ DeleteStreamCompleted.prototype.toJSON = function toJSON() { return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; - + + /** + * Gets the default type url for DeleteStreamCompleted + * @function getTypeUrl + * @memberof EventStore.Client.Messages.DeleteStreamCompleted + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + DeleteStreamCompleted.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/EventStore.Client.Messages.DeleteStreamCompleted"; + }; + return DeleteStreamCompleted; })(); - + Messages.TransactionStart = (function() { - + /** * Properties of a TransactionStart. * @memberof EventStore.Client.Messages * @interface ITransactionStart * @property {string} eventStreamId TransactionStart eventStreamId - * @property {number|Long} expectedVersion TransactionStart expectedVersion - * @property {boolean} requireMaster TransactionStart requireMaster + * @property {Long} expectedVersion TransactionStart expectedVersion + * @property {boolean} requireLeader TransactionStart requireLeader */ - + /** * Constructs a new TransactionStart. * @memberof EventStore.Client.Messages @@ -2710,7 +2917,7 @@ if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; } - + /** * TransactionStart eventStreamId. * @member {string} eventStreamId @@ -2718,23 +2925,23 @@ * @instance */ TransactionStart.prototype.eventStreamId = ""; - + /** * TransactionStart expectedVersion. - * @member {number|Long} expectedVersion + * @member {Long} expectedVersion * @memberof EventStore.Client.Messages.TransactionStart * @instance */ TransactionStart.prototype.expectedVersion = $util.Long ? $util.Long.fromBits(0,0,false) : 0; - + /** - * TransactionStart requireMaster. - * @member {boolean} requireMaster + * TransactionStart requireLeader. + * @member {boolean} requireLeader * @memberof EventStore.Client.Messages.TransactionStart * @instance */ - TransactionStart.prototype.requireMaster = false; - + TransactionStart.prototype.requireLeader = false; + /** * Creates a new TransactionStart instance using the specified properties. * @function create @@ -2746,7 +2953,7 @@ TransactionStart.create = function create(properties) { return new TransactionStart(properties); }; - + /** * Encodes the specified TransactionStart message. Does not implicitly {@link EventStore.Client.Messages.TransactionStart.verify|verify} messages. * @function encode @@ -2761,10 +2968,10 @@ writer = $Writer.create(); writer.uint32(/* id 1, wireType 2 =*/10).string(message.eventStreamId); writer.uint32(/* id 2, wireType 0 =*/16).int64(message.expectedVersion); - writer.uint32(/* id 3, wireType 0 =*/24).bool(message.requireMaster); + writer.uint32(/* id 3, wireType 0 =*/24).bool(message.requireLeader); return writer; }; - + /** * Encodes the specified TransactionStart message, length delimited. Does not implicitly {@link EventStore.Client.Messages.TransactionStart.verify|verify} messages. * @function encodeDelimited @@ -2777,7 +2984,7 @@ TransactionStart.encodeDelimited = function encodeDelimited(message, writer) { return this.encode(message, writer).ldelim(); }; - + /** * Decodes a TransactionStart message from the specified reader or buffer. * @function decode @@ -2796,15 +3003,18 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.eventStreamId = reader.string(); - break; - case 2: - message.expectedVersion = reader.int64(); - break; - case 3: - message.requireMaster = reader.bool(); - break; + case 1: { + message.eventStreamId = reader.string(); + break; + } + case 2: { + message.expectedVersion = reader.int64(); + break; + } + case 3: { + message.requireLeader = reader.bool(); + break; + } default: reader.skipType(tag & 7); break; @@ -2814,11 +3024,11 @@ throw $util.ProtocolError("missing required 'eventStreamId'", { instance: message }); if (!message.hasOwnProperty("expectedVersion")) throw $util.ProtocolError("missing required 'expectedVersion'", { instance: message }); - if (!message.hasOwnProperty("requireMaster")) - throw $util.ProtocolError("missing required 'requireMaster'", { instance: message }); + if (!message.hasOwnProperty("requireLeader")) + throw $util.ProtocolError("missing required 'requireLeader'", { instance: message }); return message; }; - + /** * Decodes a TransactionStart message from the specified reader or buffer, length delimited. * @function decodeDelimited @@ -2834,7 +3044,7 @@ reader = new $Reader(reader); return this.decode(reader, reader.uint32()); }; - + /** * Verifies a TransactionStart message. * @function verify @@ -2850,11 +3060,11 @@ return "eventStreamId: string expected"; if (!$util.isInteger(message.expectedVersion) && !(message.expectedVersion && $util.isInteger(message.expectedVersion.low) && $util.isInteger(message.expectedVersion.high))) return "expectedVersion: integer|Long expected"; - if (typeof message.requireMaster !== "boolean") - return "requireMaster: boolean expected"; + if (typeof message.requireLeader !== "boolean") + return "requireLeader: boolean expected"; return null; }; - + /** * Creates a TransactionStart message from a plain object. Also converts values to their respective internal types. * @function fromObject @@ -2878,11 +3088,11 @@ message.expectedVersion = object.expectedVersion; else if (typeof object.expectedVersion === "object") message.expectedVersion = new $util.LongBits(object.expectedVersion.low >>> 0, object.expectedVersion.high >>> 0).toNumber(); - if (object.requireMaster != null) - message.requireMaster = Boolean(object.requireMaster); + if (object.requireLeader != null) + message.requireLeader = Boolean(object.requireLeader); return message; }; - + /** * Creates a plain object from a TransactionStart message. Also converts values to other types if specified. * @function toObject @@ -2903,7 +3113,7 @@ object.expectedVersion = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long; } else object.expectedVersion = options.longs === String ? "0" : 0; - object.requireMaster = false; + object.requireLeader = false; } if (message.eventStreamId != null && message.hasOwnProperty("eventStreamId")) object.eventStreamId = message.eventStreamId; @@ -2912,11 +3122,11 @@ object.expectedVersion = options.longs === String ? String(message.expectedVersion) : message.expectedVersion; else object.expectedVersion = options.longs === String ? $util.Long.prototype.toString.call(message.expectedVersion) : options.longs === Number ? new $util.LongBits(message.expectedVersion.low >>> 0, message.expectedVersion.high >>> 0).toNumber() : message.expectedVersion; - if (message.requireMaster != null && message.hasOwnProperty("requireMaster")) - object.requireMaster = message.requireMaster; + if (message.requireLeader != null && message.hasOwnProperty("requireLeader")) + object.requireLeader = message.requireLeader; return object; }; - + /** * Converts this TransactionStart to JSON. * @function toJSON @@ -2927,21 +3137,36 @@ TransactionStart.prototype.toJSON = function toJSON() { return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; - + + /** + * Gets the default type url for TransactionStart + * @function getTypeUrl + * @memberof EventStore.Client.Messages.TransactionStart + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + TransactionStart.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/EventStore.Client.Messages.TransactionStart"; + }; + return TransactionStart; })(); - + Messages.TransactionStartCompleted = (function() { - + /** * Properties of a TransactionStartCompleted. * @memberof EventStore.Client.Messages * @interface ITransactionStartCompleted - * @property {number|Long} transactionId TransactionStartCompleted transactionId + * @property {Long} transactionId TransactionStartCompleted transactionId * @property {EventStore.Client.Messages.OperationResult} result TransactionStartCompleted result * @property {string|null} [message] TransactionStartCompleted message */ - + /** * Constructs a new TransactionStartCompleted. * @memberof EventStore.Client.Messages @@ -2956,15 +3181,15 @@ if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; } - + /** * TransactionStartCompleted transactionId. - * @member {number|Long} transactionId + * @member {Long} transactionId * @memberof EventStore.Client.Messages.TransactionStartCompleted * @instance */ TransactionStartCompleted.prototype.transactionId = $util.Long ? $util.Long.fromBits(0,0,false) : 0; - + /** * TransactionStartCompleted result. * @member {EventStore.Client.Messages.OperationResult} result @@ -2972,7 +3197,7 @@ * @instance */ TransactionStartCompleted.prototype.result = 0; - + /** * TransactionStartCompleted message. * @member {string} message @@ -2980,7 +3205,7 @@ * @instance */ TransactionStartCompleted.prototype.message = ""; - + /** * Creates a new TransactionStartCompleted instance using the specified properties. * @function create @@ -2992,7 +3217,7 @@ TransactionStartCompleted.create = function create(properties) { return new TransactionStartCompleted(properties); }; - + /** * Encodes the specified TransactionStartCompleted message. Does not implicitly {@link EventStore.Client.Messages.TransactionStartCompleted.verify|verify} messages. * @function encode @@ -3007,11 +3232,11 @@ writer = $Writer.create(); writer.uint32(/* id 1, wireType 0 =*/8).int64(message.transactionId); writer.uint32(/* id 2, wireType 0 =*/16).int32(message.result); - if (message.message != null && message.hasOwnProperty("message")) + if (message.message != null && Object.hasOwnProperty.call(message, "message")) writer.uint32(/* id 3, wireType 2 =*/26).string(message.message); return writer; }; - + /** * Encodes the specified TransactionStartCompleted message, length delimited. Does not implicitly {@link EventStore.Client.Messages.TransactionStartCompleted.verify|verify} messages. * @function encodeDelimited @@ -3024,7 +3249,7 @@ TransactionStartCompleted.encodeDelimited = function encodeDelimited(message, writer) { return this.encode(message, writer).ldelim(); }; - + /** * Decodes a TransactionStartCompleted message from the specified reader or buffer. * @function decode @@ -3043,15 +3268,18 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.transactionId = reader.int64(); - break; - case 2: - message.result = reader.int32(); - break; - case 3: - message.message = reader.string(); - break; + case 1: { + message.transactionId = reader.int64(); + break; + } + case 2: { + message.result = reader.int32(); + break; + } + case 3: { + message.message = reader.string(); + break; + } default: reader.skipType(tag & 7); break; @@ -3063,7 +3291,7 @@ throw $util.ProtocolError("missing required 'result'", { instance: message }); return message; }; - + /** * Decodes a TransactionStartCompleted message from the specified reader or buffer, length delimited. * @function decodeDelimited @@ -3079,7 +3307,7 @@ reader = new $Reader(reader); return this.decode(reader, reader.uint32()); }; - + /** * Verifies a TransactionStartCompleted message. * @function verify @@ -3111,7 +3339,7 @@ return "message: string expected"; return null; }; - + /** * Creates a TransactionStartCompleted message from a plain object. Also converts values to their respective internal types. * @function fromObject @@ -3134,6 +3362,12 @@ else if (typeof object.transactionId === "object") message.transactionId = new $util.LongBits(object.transactionId.low >>> 0, object.transactionId.high >>> 0).toNumber(); switch (object.result) { + default: + if (typeof object.result === "number") { + message.result = object.result; + break; + } + break; case "Success": case 0: message.result = 0; @@ -3171,7 +3405,7 @@ message.message = String(object.message); return message; }; - + /** * Creates a plain object from a TransactionStartCompleted message. Also converts values to other types if specified. * @function toObject @@ -3200,12 +3434,12 @@ else object.transactionId = options.longs === String ? $util.Long.prototype.toString.call(message.transactionId) : options.longs === Number ? new $util.LongBits(message.transactionId.low >>> 0, message.transactionId.high >>> 0).toNumber() : message.transactionId; if (message.result != null && message.hasOwnProperty("result")) - object.result = options.enums === String ? $root.EventStore.Client.Messages.OperationResult[message.result] : message.result; + object.result = options.enums === String ? $root.EventStore.Client.Messages.OperationResult[message.result] === undefined ? message.result : $root.EventStore.Client.Messages.OperationResult[message.result] : message.result; if (message.message != null && message.hasOwnProperty("message")) object.message = message.message; return object; }; - + /** * Converts this TransactionStartCompleted to JSON. * @function toJSON @@ -3216,21 +3450,36 @@ TransactionStartCompleted.prototype.toJSON = function toJSON() { return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; - + + /** + * Gets the default type url for TransactionStartCompleted + * @function getTypeUrl + * @memberof EventStore.Client.Messages.TransactionStartCompleted + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + TransactionStartCompleted.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/EventStore.Client.Messages.TransactionStartCompleted"; + }; + return TransactionStartCompleted; })(); - + Messages.TransactionWrite = (function() { - + /** * Properties of a TransactionWrite. * @memberof EventStore.Client.Messages * @interface ITransactionWrite - * @property {number|Long} transactionId TransactionWrite transactionId + * @property {Long} transactionId TransactionWrite transactionId * @property {Array.|null} [events] TransactionWrite events - * @property {boolean} requireMaster TransactionWrite requireMaster + * @property {boolean} requireLeader TransactionWrite requireLeader */ - + /** * Constructs a new TransactionWrite. * @memberof EventStore.Client.Messages @@ -3246,15 +3495,15 @@ if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; } - + /** * TransactionWrite transactionId. - * @member {number|Long} transactionId + * @member {Long} transactionId * @memberof EventStore.Client.Messages.TransactionWrite * @instance */ TransactionWrite.prototype.transactionId = $util.Long ? $util.Long.fromBits(0,0,false) : 0; - + /** * TransactionWrite events. * @member {Array.} events @@ -3262,15 +3511,15 @@ * @instance */ TransactionWrite.prototype.events = $util.emptyArray; - + /** - * TransactionWrite requireMaster. - * @member {boolean} requireMaster + * TransactionWrite requireLeader. + * @member {boolean} requireLeader * @memberof EventStore.Client.Messages.TransactionWrite * @instance */ - TransactionWrite.prototype.requireMaster = false; - + TransactionWrite.prototype.requireLeader = false; + /** * Creates a new TransactionWrite instance using the specified properties. * @function create @@ -3282,7 +3531,7 @@ TransactionWrite.create = function create(properties) { return new TransactionWrite(properties); }; - + /** * Encodes the specified TransactionWrite message. Does not implicitly {@link EventStore.Client.Messages.TransactionWrite.verify|verify} messages. * @function encode @@ -3299,10 +3548,10 @@ if (message.events != null && message.events.length) for (var i = 0; i < message.events.length; ++i) $root.EventStore.Client.Messages.NewEvent.encode(message.events[i], writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); - writer.uint32(/* id 3, wireType 0 =*/24).bool(message.requireMaster); + writer.uint32(/* id 3, wireType 0 =*/24).bool(message.requireLeader); return writer; }; - + /** * Encodes the specified TransactionWrite message, length delimited. Does not implicitly {@link EventStore.Client.Messages.TransactionWrite.verify|verify} messages. * @function encodeDelimited @@ -3315,7 +3564,7 @@ TransactionWrite.encodeDelimited = function encodeDelimited(message, writer) { return this.encode(message, writer).ldelim(); }; - + /** * Decodes a TransactionWrite message from the specified reader or buffer. * @function decode @@ -3334,17 +3583,20 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.transactionId = reader.int64(); - break; - case 2: - if (!(message.events && message.events.length)) - message.events = []; - message.events.push($root.EventStore.Client.Messages.NewEvent.decode(reader, reader.uint32())); - break; - case 3: - message.requireMaster = reader.bool(); - break; + case 1: { + message.transactionId = reader.int64(); + break; + } + case 2: { + if (!(message.events && message.events.length)) + message.events = []; + message.events.push($root.EventStore.Client.Messages.NewEvent.decode(reader, reader.uint32())); + break; + } + case 3: { + message.requireLeader = reader.bool(); + break; + } default: reader.skipType(tag & 7); break; @@ -3352,11 +3604,11 @@ } if (!message.hasOwnProperty("transactionId")) throw $util.ProtocolError("missing required 'transactionId'", { instance: message }); - if (!message.hasOwnProperty("requireMaster")) - throw $util.ProtocolError("missing required 'requireMaster'", { instance: message }); + if (!message.hasOwnProperty("requireLeader")) + throw $util.ProtocolError("missing required 'requireLeader'", { instance: message }); return message; }; - + /** * Decodes a TransactionWrite message from the specified reader or buffer, length delimited. * @function decodeDelimited @@ -3372,7 +3624,7 @@ reader = new $Reader(reader); return this.decode(reader, reader.uint32()); }; - + /** * Verifies a TransactionWrite message. * @function verify @@ -3395,11 +3647,11 @@ return "events." + error; } } - if (typeof message.requireMaster !== "boolean") - return "requireMaster: boolean expected"; + if (typeof message.requireLeader !== "boolean") + return "requireLeader: boolean expected"; return null; }; - + /** * Creates a TransactionWrite message from a plain object. Also converts values to their respective internal types. * @function fromObject @@ -3431,11 +3683,11 @@ message.events[i] = $root.EventStore.Client.Messages.NewEvent.fromObject(object.events[i]); } } - if (object.requireMaster != null) - message.requireMaster = Boolean(object.requireMaster); + if (object.requireLeader != null) + message.requireLeader = Boolean(object.requireLeader); return message; }; - + /** * Creates a plain object from a TransactionWrite message. Also converts values to other types if specified. * @function toObject @@ -3457,7 +3709,7 @@ object.transactionId = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long; } else object.transactionId = options.longs === String ? "0" : 0; - object.requireMaster = false; + object.requireLeader = false; } if (message.transactionId != null && message.hasOwnProperty("transactionId")) if (typeof message.transactionId === "number") @@ -3469,11 +3721,11 @@ for (var j = 0; j < message.events.length; ++j) object.events[j] = $root.EventStore.Client.Messages.NewEvent.toObject(message.events[j], options); } - if (message.requireMaster != null && message.hasOwnProperty("requireMaster")) - object.requireMaster = message.requireMaster; + if (message.requireLeader != null && message.hasOwnProperty("requireLeader")) + object.requireLeader = message.requireLeader; return object; }; - + /** * Converts this TransactionWrite to JSON. * @function toJSON @@ -3484,21 +3736,36 @@ TransactionWrite.prototype.toJSON = function toJSON() { return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; - + + /** + * Gets the default type url for TransactionWrite + * @function getTypeUrl + * @memberof EventStore.Client.Messages.TransactionWrite + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + TransactionWrite.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/EventStore.Client.Messages.TransactionWrite"; + }; + return TransactionWrite; })(); - + Messages.TransactionWriteCompleted = (function() { - + /** * Properties of a TransactionWriteCompleted. * @memberof EventStore.Client.Messages * @interface ITransactionWriteCompleted - * @property {number|Long} transactionId TransactionWriteCompleted transactionId + * @property {Long} transactionId TransactionWriteCompleted transactionId * @property {EventStore.Client.Messages.OperationResult} result TransactionWriteCompleted result * @property {string|null} [message] TransactionWriteCompleted message */ - + /** * Constructs a new TransactionWriteCompleted. * @memberof EventStore.Client.Messages @@ -3513,15 +3780,15 @@ if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; } - + /** * TransactionWriteCompleted transactionId. - * @member {number|Long} transactionId + * @member {Long} transactionId * @memberof EventStore.Client.Messages.TransactionWriteCompleted * @instance */ TransactionWriteCompleted.prototype.transactionId = $util.Long ? $util.Long.fromBits(0,0,false) : 0; - + /** * TransactionWriteCompleted result. * @member {EventStore.Client.Messages.OperationResult} result @@ -3529,7 +3796,7 @@ * @instance */ TransactionWriteCompleted.prototype.result = 0; - + /** * TransactionWriteCompleted message. * @member {string} message @@ -3537,7 +3804,7 @@ * @instance */ TransactionWriteCompleted.prototype.message = ""; - + /** * Creates a new TransactionWriteCompleted instance using the specified properties. * @function create @@ -3549,7 +3816,7 @@ TransactionWriteCompleted.create = function create(properties) { return new TransactionWriteCompleted(properties); }; - + /** * Encodes the specified TransactionWriteCompleted message. Does not implicitly {@link EventStore.Client.Messages.TransactionWriteCompleted.verify|verify} messages. * @function encode @@ -3564,11 +3831,11 @@ writer = $Writer.create(); writer.uint32(/* id 1, wireType 0 =*/8).int64(message.transactionId); writer.uint32(/* id 2, wireType 0 =*/16).int32(message.result); - if (message.message != null && message.hasOwnProperty("message")) + if (message.message != null && Object.hasOwnProperty.call(message, "message")) writer.uint32(/* id 3, wireType 2 =*/26).string(message.message); return writer; }; - + /** * Encodes the specified TransactionWriteCompleted message, length delimited. Does not implicitly {@link EventStore.Client.Messages.TransactionWriteCompleted.verify|verify} messages. * @function encodeDelimited @@ -3581,7 +3848,7 @@ TransactionWriteCompleted.encodeDelimited = function encodeDelimited(message, writer) { return this.encode(message, writer).ldelim(); }; - + /** * Decodes a TransactionWriteCompleted message from the specified reader or buffer. * @function decode @@ -3600,15 +3867,18 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.transactionId = reader.int64(); - break; - case 2: - message.result = reader.int32(); - break; - case 3: - message.message = reader.string(); - break; + case 1: { + message.transactionId = reader.int64(); + break; + } + case 2: { + message.result = reader.int32(); + break; + } + case 3: { + message.message = reader.string(); + break; + } default: reader.skipType(tag & 7); break; @@ -3620,7 +3890,7 @@ throw $util.ProtocolError("missing required 'result'", { instance: message }); return message; }; - + /** * Decodes a TransactionWriteCompleted message from the specified reader or buffer, length delimited. * @function decodeDelimited @@ -3636,7 +3906,7 @@ reader = new $Reader(reader); return this.decode(reader, reader.uint32()); }; - + /** * Verifies a TransactionWriteCompleted message. * @function verify @@ -3668,7 +3938,7 @@ return "message: string expected"; return null; }; - + /** * Creates a TransactionWriteCompleted message from a plain object. Also converts values to their respective internal types. * @function fromObject @@ -3691,6 +3961,12 @@ else if (typeof object.transactionId === "object") message.transactionId = new $util.LongBits(object.transactionId.low >>> 0, object.transactionId.high >>> 0).toNumber(); switch (object.result) { + default: + if (typeof object.result === "number") { + message.result = object.result; + break; + } + break; case "Success": case 0: message.result = 0; @@ -3728,7 +4004,7 @@ message.message = String(object.message); return message; }; - + /** * Creates a plain object from a TransactionWriteCompleted message. Also converts values to other types if specified. * @function toObject @@ -3757,12 +4033,12 @@ else object.transactionId = options.longs === String ? $util.Long.prototype.toString.call(message.transactionId) : options.longs === Number ? new $util.LongBits(message.transactionId.low >>> 0, message.transactionId.high >>> 0).toNumber() : message.transactionId; if (message.result != null && message.hasOwnProperty("result")) - object.result = options.enums === String ? $root.EventStore.Client.Messages.OperationResult[message.result] : message.result; + object.result = options.enums === String ? $root.EventStore.Client.Messages.OperationResult[message.result] === undefined ? message.result : $root.EventStore.Client.Messages.OperationResult[message.result] : message.result; if (message.message != null && message.hasOwnProperty("message")) object.message = message.message; return object; }; - + /** * Converts this TransactionWriteCompleted to JSON. * @function toJSON @@ -3773,20 +4049,35 @@ TransactionWriteCompleted.prototype.toJSON = function toJSON() { return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; - + + /** + * Gets the default type url for TransactionWriteCompleted + * @function getTypeUrl + * @memberof EventStore.Client.Messages.TransactionWriteCompleted + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + TransactionWriteCompleted.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/EventStore.Client.Messages.TransactionWriteCompleted"; + }; + return TransactionWriteCompleted; })(); - + Messages.TransactionCommit = (function() { - + /** * Properties of a TransactionCommit. * @memberof EventStore.Client.Messages * @interface ITransactionCommit - * @property {number|Long} transactionId TransactionCommit transactionId - * @property {boolean} requireMaster TransactionCommit requireMaster + * @property {Long} transactionId TransactionCommit transactionId + * @property {boolean} requireLeader TransactionCommit requireLeader */ - + /** * Constructs a new TransactionCommit. * @memberof EventStore.Client.Messages @@ -3801,23 +4092,23 @@ if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; } - + /** * TransactionCommit transactionId. - * @member {number|Long} transactionId + * @member {Long} transactionId * @memberof EventStore.Client.Messages.TransactionCommit * @instance */ TransactionCommit.prototype.transactionId = $util.Long ? $util.Long.fromBits(0,0,false) : 0; - + /** - * TransactionCommit requireMaster. - * @member {boolean} requireMaster + * TransactionCommit requireLeader. + * @member {boolean} requireLeader * @memberof EventStore.Client.Messages.TransactionCommit * @instance */ - TransactionCommit.prototype.requireMaster = false; - + TransactionCommit.prototype.requireLeader = false; + /** * Creates a new TransactionCommit instance using the specified properties. * @function create @@ -3829,7 +4120,7 @@ TransactionCommit.create = function create(properties) { return new TransactionCommit(properties); }; - + /** * Encodes the specified TransactionCommit message. Does not implicitly {@link EventStore.Client.Messages.TransactionCommit.verify|verify} messages. * @function encode @@ -3843,10 +4134,10 @@ if (!writer) writer = $Writer.create(); writer.uint32(/* id 1, wireType 0 =*/8).int64(message.transactionId); - writer.uint32(/* id 2, wireType 0 =*/16).bool(message.requireMaster); + writer.uint32(/* id 2, wireType 0 =*/16).bool(message.requireLeader); return writer; }; - + /** * Encodes the specified TransactionCommit message, length delimited. Does not implicitly {@link EventStore.Client.Messages.TransactionCommit.verify|verify} messages. * @function encodeDelimited @@ -3859,7 +4150,7 @@ TransactionCommit.encodeDelimited = function encodeDelimited(message, writer) { return this.encode(message, writer).ldelim(); }; - + /** * Decodes a TransactionCommit message from the specified reader or buffer. * @function decode @@ -3878,12 +4169,14 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.transactionId = reader.int64(); - break; - case 2: - message.requireMaster = reader.bool(); - break; + case 1: { + message.transactionId = reader.int64(); + break; + } + case 2: { + message.requireLeader = reader.bool(); + break; + } default: reader.skipType(tag & 7); break; @@ -3891,11 +4184,11 @@ } if (!message.hasOwnProperty("transactionId")) throw $util.ProtocolError("missing required 'transactionId'", { instance: message }); - if (!message.hasOwnProperty("requireMaster")) - throw $util.ProtocolError("missing required 'requireMaster'", { instance: message }); + if (!message.hasOwnProperty("requireLeader")) + throw $util.ProtocolError("missing required 'requireLeader'", { instance: message }); return message; }; - + /** * Decodes a TransactionCommit message from the specified reader or buffer, length delimited. * @function decodeDelimited @@ -3911,7 +4204,7 @@ reader = new $Reader(reader); return this.decode(reader, reader.uint32()); }; - + /** * Verifies a TransactionCommit message. * @function verify @@ -3925,11 +4218,11 @@ return "object expected"; if (!$util.isInteger(message.transactionId) && !(message.transactionId && $util.isInteger(message.transactionId.low) && $util.isInteger(message.transactionId.high))) return "transactionId: integer|Long expected"; - if (typeof message.requireMaster !== "boolean") - return "requireMaster: boolean expected"; + if (typeof message.requireLeader !== "boolean") + return "requireLeader: boolean expected"; return null; }; - + /** * Creates a TransactionCommit message from a plain object. Also converts values to their respective internal types. * @function fromObject @@ -3951,11 +4244,11 @@ message.transactionId = object.transactionId; else if (typeof object.transactionId === "object") message.transactionId = new $util.LongBits(object.transactionId.low >>> 0, object.transactionId.high >>> 0).toNumber(); - if (object.requireMaster != null) - message.requireMaster = Boolean(object.requireMaster); + if (object.requireLeader != null) + message.requireLeader = Boolean(object.requireLeader); return message; }; - + /** * Creates a plain object from a TransactionCommit message. Also converts values to other types if specified. * @function toObject @@ -3975,18 +4268,18 @@ object.transactionId = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long; } else object.transactionId = options.longs === String ? "0" : 0; - object.requireMaster = false; + object.requireLeader = false; } if (message.transactionId != null && message.hasOwnProperty("transactionId")) if (typeof message.transactionId === "number") object.transactionId = options.longs === String ? String(message.transactionId) : message.transactionId; else object.transactionId = options.longs === String ? $util.Long.prototype.toString.call(message.transactionId) : options.longs === Number ? new $util.LongBits(message.transactionId.low >>> 0, message.transactionId.high >>> 0).toNumber() : message.transactionId; - if (message.requireMaster != null && message.hasOwnProperty("requireMaster")) - object.requireMaster = message.requireMaster; + if (message.requireLeader != null && message.hasOwnProperty("requireLeader")) + object.requireLeader = message.requireLeader; return object; }; - + /** * Converts this TransactionCommit to JSON. * @function toJSON @@ -3997,25 +4290,40 @@ TransactionCommit.prototype.toJSON = function toJSON() { return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; - + + /** + * Gets the default type url for TransactionCommit + * @function getTypeUrl + * @memberof EventStore.Client.Messages.TransactionCommit + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + TransactionCommit.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/EventStore.Client.Messages.TransactionCommit"; + }; + return TransactionCommit; })(); - + Messages.TransactionCommitCompleted = (function() { - + /** * Properties of a TransactionCommitCompleted. * @memberof EventStore.Client.Messages * @interface ITransactionCommitCompleted - * @property {number|Long} transactionId TransactionCommitCompleted transactionId + * @property {Long} transactionId TransactionCommitCompleted transactionId * @property {EventStore.Client.Messages.OperationResult} result TransactionCommitCompleted result * @property {string|null} [message] TransactionCommitCompleted message - * @property {number|Long} firstEventNumber TransactionCommitCompleted firstEventNumber - * @property {number|Long} lastEventNumber TransactionCommitCompleted lastEventNumber - * @property {number|Long|null} [preparePosition] TransactionCommitCompleted preparePosition - * @property {number|Long|null} [commitPosition] TransactionCommitCompleted commitPosition + * @property {Long} firstEventNumber TransactionCommitCompleted firstEventNumber + * @property {Long} lastEventNumber TransactionCommitCompleted lastEventNumber + * @property {Long|null} [preparePosition] TransactionCommitCompleted preparePosition + * @property {Long|null} [commitPosition] TransactionCommitCompleted commitPosition */ - + /** * Constructs a new TransactionCommitCompleted. * @memberof EventStore.Client.Messages @@ -4030,15 +4338,15 @@ if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; } - + /** * TransactionCommitCompleted transactionId. - * @member {number|Long} transactionId + * @member {Long} transactionId * @memberof EventStore.Client.Messages.TransactionCommitCompleted * @instance */ TransactionCommitCompleted.prototype.transactionId = $util.Long ? $util.Long.fromBits(0,0,false) : 0; - + /** * TransactionCommitCompleted result. * @member {EventStore.Client.Messages.OperationResult} result @@ -4046,7 +4354,7 @@ * @instance */ TransactionCommitCompleted.prototype.result = 0; - + /** * TransactionCommitCompleted message. * @member {string} message @@ -4054,39 +4362,39 @@ * @instance */ TransactionCommitCompleted.prototype.message = ""; - + /** * TransactionCommitCompleted firstEventNumber. - * @member {number|Long} firstEventNumber + * @member {Long} firstEventNumber * @memberof EventStore.Client.Messages.TransactionCommitCompleted * @instance */ TransactionCommitCompleted.prototype.firstEventNumber = $util.Long ? $util.Long.fromBits(0,0,false) : 0; - + /** * TransactionCommitCompleted lastEventNumber. - * @member {number|Long} lastEventNumber + * @member {Long} lastEventNumber * @memberof EventStore.Client.Messages.TransactionCommitCompleted * @instance */ TransactionCommitCompleted.prototype.lastEventNumber = $util.Long ? $util.Long.fromBits(0,0,false) : 0; - + /** * TransactionCommitCompleted preparePosition. - * @member {number|Long} preparePosition + * @member {Long} preparePosition * @memberof EventStore.Client.Messages.TransactionCommitCompleted * @instance */ TransactionCommitCompleted.prototype.preparePosition = $util.Long ? $util.Long.fromBits(0,0,false) : 0; - + /** * TransactionCommitCompleted commitPosition. - * @member {number|Long} commitPosition + * @member {Long} commitPosition * @memberof EventStore.Client.Messages.TransactionCommitCompleted * @instance */ TransactionCommitCompleted.prototype.commitPosition = $util.Long ? $util.Long.fromBits(0,0,false) : 0; - + /** * Creates a new TransactionCommitCompleted instance using the specified properties. * @function create @@ -4098,7 +4406,7 @@ TransactionCommitCompleted.create = function create(properties) { return new TransactionCommitCompleted(properties); }; - + /** * Encodes the specified TransactionCommitCompleted message. Does not implicitly {@link EventStore.Client.Messages.TransactionCommitCompleted.verify|verify} messages. * @function encode @@ -4113,17 +4421,17 @@ writer = $Writer.create(); writer.uint32(/* id 1, wireType 0 =*/8).int64(message.transactionId); writer.uint32(/* id 2, wireType 0 =*/16).int32(message.result); - if (message.message != null && message.hasOwnProperty("message")) + if (message.message != null && Object.hasOwnProperty.call(message, "message")) writer.uint32(/* id 3, wireType 2 =*/26).string(message.message); writer.uint32(/* id 4, wireType 0 =*/32).int64(message.firstEventNumber); writer.uint32(/* id 5, wireType 0 =*/40).int64(message.lastEventNumber); - if (message.preparePosition != null && message.hasOwnProperty("preparePosition")) + if (message.preparePosition != null && Object.hasOwnProperty.call(message, "preparePosition")) writer.uint32(/* id 6, wireType 0 =*/48).int64(message.preparePosition); - if (message.commitPosition != null && message.hasOwnProperty("commitPosition")) + if (message.commitPosition != null && Object.hasOwnProperty.call(message, "commitPosition")) writer.uint32(/* id 7, wireType 0 =*/56).int64(message.commitPosition); return writer; }; - + /** * Encodes the specified TransactionCommitCompleted message, length delimited. Does not implicitly {@link EventStore.Client.Messages.TransactionCommitCompleted.verify|verify} messages. * @function encodeDelimited @@ -4136,7 +4444,7 @@ TransactionCommitCompleted.encodeDelimited = function encodeDelimited(message, writer) { return this.encode(message, writer).ldelim(); }; - + /** * Decodes a TransactionCommitCompleted message from the specified reader or buffer. * @function decode @@ -4155,27 +4463,34 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.transactionId = reader.int64(); - break; - case 2: - message.result = reader.int32(); - break; - case 3: - message.message = reader.string(); - break; - case 4: - message.firstEventNumber = reader.int64(); - break; - case 5: - message.lastEventNumber = reader.int64(); - break; - case 6: - message.preparePosition = reader.int64(); - break; - case 7: - message.commitPosition = reader.int64(); - break; + case 1: { + message.transactionId = reader.int64(); + break; + } + case 2: { + message.result = reader.int32(); + break; + } + case 3: { + message.message = reader.string(); + break; + } + case 4: { + message.firstEventNumber = reader.int64(); + break; + } + case 5: { + message.lastEventNumber = reader.int64(); + break; + } + case 6: { + message.preparePosition = reader.int64(); + break; + } + case 7: { + message.commitPosition = reader.int64(); + break; + } default: reader.skipType(tag & 7); break; @@ -4191,7 +4506,7 @@ throw $util.ProtocolError("missing required 'lastEventNumber'", { instance: message }); return message; }; - + /** * Decodes a TransactionCommitCompleted message from the specified reader or buffer, length delimited. * @function decodeDelimited @@ -4207,7 +4522,7 @@ reader = new $Reader(reader); return this.decode(reader, reader.uint32()); }; - + /** * Verifies a TransactionCommitCompleted message. * @function verify @@ -4249,7 +4564,7 @@ return "commitPosition: integer|Long expected"; return null; }; - + /** * Creates a TransactionCommitCompleted message from a plain object. Also converts values to their respective internal types. * @function fromObject @@ -4272,6 +4587,12 @@ else if (typeof object.transactionId === "object") message.transactionId = new $util.LongBits(object.transactionId.low >>> 0, object.transactionId.high >>> 0).toNumber(); switch (object.result) { + default: + if (typeof object.result === "number") { + message.result = object.result; + break; + } + break; case "Success": case 0: message.result = 0; @@ -4345,7 +4666,7 @@ message.commitPosition = new $util.LongBits(object.commitPosition.low >>> 0, object.commitPosition.high >>> 0).toNumber(); return message; }; - + /** * Creates a plain object from a TransactionCommitCompleted message. Also converts values to other types if specified. * @function toObject @@ -4394,7 +4715,7 @@ else object.transactionId = options.longs === String ? $util.Long.prototype.toString.call(message.transactionId) : options.longs === Number ? new $util.LongBits(message.transactionId.low >>> 0, message.transactionId.high >>> 0).toNumber() : message.transactionId; if (message.result != null && message.hasOwnProperty("result")) - object.result = options.enums === String ? $root.EventStore.Client.Messages.OperationResult[message.result] : message.result; + object.result = options.enums === String ? $root.EventStore.Client.Messages.OperationResult[message.result] === undefined ? message.result : $root.EventStore.Client.Messages.OperationResult[message.result] : message.result; if (message.message != null && message.hasOwnProperty("message")) object.message = message.message; if (message.firstEventNumber != null && message.hasOwnProperty("firstEventNumber")) @@ -4419,7 +4740,7 @@ object.commitPosition = options.longs === String ? $util.Long.prototype.toString.call(message.commitPosition) : options.longs === Number ? new $util.LongBits(message.commitPosition.low >>> 0, message.commitPosition.high >>> 0).toNumber() : message.commitPosition; return object; }; - + /** * Converts this TransactionCommitCompleted to JSON. * @function toJSON @@ -4430,22 +4751,37 @@ TransactionCommitCompleted.prototype.toJSON = function toJSON() { return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; - + + /** + * Gets the default type url for TransactionCommitCompleted + * @function getTypeUrl + * @memberof EventStore.Client.Messages.TransactionCommitCompleted + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + TransactionCommitCompleted.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/EventStore.Client.Messages.TransactionCommitCompleted"; + }; + return TransactionCommitCompleted; })(); - + Messages.ReadEvent = (function() { - + /** * Properties of a ReadEvent. * @memberof EventStore.Client.Messages * @interface IReadEvent * @property {string} eventStreamId ReadEvent eventStreamId - * @property {number|Long} eventNumber ReadEvent eventNumber + * @property {Long} eventNumber ReadEvent eventNumber * @property {boolean} resolveLinkTos ReadEvent resolveLinkTos - * @property {boolean} requireMaster ReadEvent requireMaster + * @property {boolean} requireLeader ReadEvent requireLeader */ - + /** * Constructs a new ReadEvent. * @memberof EventStore.Client.Messages @@ -4460,7 +4796,7 @@ if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; } - + /** * ReadEvent eventStreamId. * @member {string} eventStreamId @@ -4468,15 +4804,15 @@ * @instance */ ReadEvent.prototype.eventStreamId = ""; - + /** * ReadEvent eventNumber. - * @member {number|Long} eventNumber + * @member {Long} eventNumber * @memberof EventStore.Client.Messages.ReadEvent * @instance */ ReadEvent.prototype.eventNumber = $util.Long ? $util.Long.fromBits(0,0,false) : 0; - + /** * ReadEvent resolveLinkTos. * @member {boolean} resolveLinkTos @@ -4484,15 +4820,15 @@ * @instance */ ReadEvent.prototype.resolveLinkTos = false; - + /** - * ReadEvent requireMaster. - * @member {boolean} requireMaster + * ReadEvent requireLeader. + * @member {boolean} requireLeader * @memberof EventStore.Client.Messages.ReadEvent * @instance */ - ReadEvent.prototype.requireMaster = false; - + ReadEvent.prototype.requireLeader = false; + /** * Creates a new ReadEvent instance using the specified properties. * @function create @@ -4504,7 +4840,7 @@ ReadEvent.create = function create(properties) { return new ReadEvent(properties); }; - + /** * Encodes the specified ReadEvent message. Does not implicitly {@link EventStore.Client.Messages.ReadEvent.verify|verify} messages. * @function encode @@ -4520,10 +4856,10 @@ writer.uint32(/* id 1, wireType 2 =*/10).string(message.eventStreamId); writer.uint32(/* id 2, wireType 0 =*/16).int64(message.eventNumber); writer.uint32(/* id 3, wireType 0 =*/24).bool(message.resolveLinkTos); - writer.uint32(/* id 4, wireType 0 =*/32).bool(message.requireMaster); + writer.uint32(/* id 4, wireType 0 =*/32).bool(message.requireLeader); return writer; }; - + /** * Encodes the specified ReadEvent message, length delimited. Does not implicitly {@link EventStore.Client.Messages.ReadEvent.verify|verify} messages. * @function encodeDelimited @@ -4536,7 +4872,7 @@ ReadEvent.encodeDelimited = function encodeDelimited(message, writer) { return this.encode(message, writer).ldelim(); }; - + /** * Decodes a ReadEvent message from the specified reader or buffer. * @function decode @@ -4555,18 +4891,22 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.eventStreamId = reader.string(); - break; - case 2: - message.eventNumber = reader.int64(); - break; - case 3: - message.resolveLinkTos = reader.bool(); - break; - case 4: - message.requireMaster = reader.bool(); - break; + case 1: { + message.eventStreamId = reader.string(); + break; + } + case 2: { + message.eventNumber = reader.int64(); + break; + } + case 3: { + message.resolveLinkTos = reader.bool(); + break; + } + case 4: { + message.requireLeader = reader.bool(); + break; + } default: reader.skipType(tag & 7); break; @@ -4578,11 +4918,11 @@ throw $util.ProtocolError("missing required 'eventNumber'", { instance: message }); if (!message.hasOwnProperty("resolveLinkTos")) throw $util.ProtocolError("missing required 'resolveLinkTos'", { instance: message }); - if (!message.hasOwnProperty("requireMaster")) - throw $util.ProtocolError("missing required 'requireMaster'", { instance: message }); + if (!message.hasOwnProperty("requireLeader")) + throw $util.ProtocolError("missing required 'requireLeader'", { instance: message }); return message; }; - + /** * Decodes a ReadEvent message from the specified reader or buffer, length delimited. * @function decodeDelimited @@ -4598,7 +4938,7 @@ reader = new $Reader(reader); return this.decode(reader, reader.uint32()); }; - + /** * Verifies a ReadEvent message. * @function verify @@ -4616,11 +4956,11 @@ return "eventNumber: integer|Long expected"; if (typeof message.resolveLinkTos !== "boolean") return "resolveLinkTos: boolean expected"; - if (typeof message.requireMaster !== "boolean") - return "requireMaster: boolean expected"; + if (typeof message.requireLeader !== "boolean") + return "requireLeader: boolean expected"; return null; }; - + /** * Creates a ReadEvent message from a plain object. Also converts values to their respective internal types. * @function fromObject @@ -4646,11 +4986,11 @@ message.eventNumber = new $util.LongBits(object.eventNumber.low >>> 0, object.eventNumber.high >>> 0).toNumber(); if (object.resolveLinkTos != null) message.resolveLinkTos = Boolean(object.resolveLinkTos); - if (object.requireMaster != null) - message.requireMaster = Boolean(object.requireMaster); + if (object.requireLeader != null) + message.requireLeader = Boolean(object.requireLeader); return message; }; - + /** * Creates a plain object from a ReadEvent message. Also converts values to other types if specified. * @function toObject @@ -4672,7 +5012,7 @@ } else object.eventNumber = options.longs === String ? "0" : 0; object.resolveLinkTos = false; - object.requireMaster = false; + object.requireLeader = false; } if (message.eventStreamId != null && message.hasOwnProperty("eventStreamId")) object.eventStreamId = message.eventStreamId; @@ -4683,11 +5023,11 @@ object.eventNumber = options.longs === String ? $util.Long.prototype.toString.call(message.eventNumber) : options.longs === Number ? new $util.LongBits(message.eventNumber.low >>> 0, message.eventNumber.high >>> 0).toNumber() : message.eventNumber; if (message.resolveLinkTos != null && message.hasOwnProperty("resolveLinkTos")) object.resolveLinkTos = message.resolveLinkTos; - if (message.requireMaster != null && message.hasOwnProperty("requireMaster")) - object.requireMaster = message.requireMaster; + if (message.requireLeader != null && message.hasOwnProperty("requireLeader")) + object.requireLeader = message.requireLeader; return object; }; - + /** * Converts this ReadEvent to JSON. * @function toJSON @@ -4698,12 +5038,27 @@ ReadEvent.prototype.toJSON = function toJSON() { return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; - + + /** + * Gets the default type url for ReadEvent + * @function getTypeUrl + * @memberof EventStore.Client.Messages.ReadEvent + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReadEvent.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/EventStore.Client.Messages.ReadEvent"; + }; + return ReadEvent; })(); - + Messages.ReadEventCompleted = (function() { - + /** * Properties of a ReadEventCompleted. * @memberof EventStore.Client.Messages @@ -4712,7 +5067,7 @@ * @property {EventStore.Client.Messages.IResolvedIndexedEvent} event ReadEventCompleted event * @property {string|null} [error] ReadEventCompleted error */ - + /** * Constructs a new ReadEventCompleted. * @memberof EventStore.Client.Messages @@ -4727,7 +5082,7 @@ if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; } - + /** * ReadEventCompleted result. * @member {EventStore.Client.Messages.ReadEventCompleted.ReadEventResult} result @@ -4735,7 +5090,7 @@ * @instance */ ReadEventCompleted.prototype.result = 0; - + /** * ReadEventCompleted event. * @member {EventStore.Client.Messages.IResolvedIndexedEvent} event @@ -4743,7 +5098,7 @@ * @instance */ ReadEventCompleted.prototype.event = null; - + /** * ReadEventCompleted error. * @member {string} error @@ -4751,7 +5106,7 @@ * @instance */ ReadEventCompleted.prototype.error = ""; - + /** * Creates a new ReadEventCompleted instance using the specified properties. * @function create @@ -4763,7 +5118,7 @@ ReadEventCompleted.create = function create(properties) { return new ReadEventCompleted(properties); }; - + /** * Encodes the specified ReadEventCompleted message. Does not implicitly {@link EventStore.Client.Messages.ReadEventCompleted.verify|verify} messages. * @function encode @@ -4778,11 +5133,11 @@ writer = $Writer.create(); writer.uint32(/* id 1, wireType 0 =*/8).int32(message.result); $root.EventStore.Client.Messages.ResolvedIndexedEvent.encode(message.event, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); - if (message.error != null && message.hasOwnProperty("error")) + if (message.error != null && Object.hasOwnProperty.call(message, "error")) writer.uint32(/* id 3, wireType 2 =*/26).string(message.error); return writer; }; - + /** * Encodes the specified ReadEventCompleted message, length delimited. Does not implicitly {@link EventStore.Client.Messages.ReadEventCompleted.verify|verify} messages. * @function encodeDelimited @@ -4795,7 +5150,7 @@ ReadEventCompleted.encodeDelimited = function encodeDelimited(message, writer) { return this.encode(message, writer).ldelim(); }; - + /** * Decodes a ReadEventCompleted message from the specified reader or buffer. * @function decode @@ -4814,15 +5169,18 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.result = reader.int32(); - break; - case 2: - message.event = $root.EventStore.Client.Messages.ResolvedIndexedEvent.decode(reader, reader.uint32()); - break; - case 3: - message.error = reader.string(); - break; + case 1: { + message.result = reader.int32(); + break; + } + case 2: { + message.event = $root.EventStore.Client.Messages.ResolvedIndexedEvent.decode(reader, reader.uint32()); + break; + } + case 3: { + message.error = reader.string(); + break; + } default: reader.skipType(tag & 7); break; @@ -4834,7 +5192,7 @@ throw $util.ProtocolError("missing required 'event'", { instance: message }); return message; }; - + /** * Decodes a ReadEventCompleted message from the specified reader or buffer, length delimited. * @function decodeDelimited @@ -4850,7 +5208,7 @@ reader = new $Reader(reader); return this.decode(reader, reader.uint32()); }; - + /** * Verifies a ReadEventCompleted message. * @function verify @@ -4883,7 +5241,7 @@ return "error: string expected"; return null; }; - + /** * Creates a ReadEventCompleted message from a plain object. Also converts values to their respective internal types. * @function fromObject @@ -4897,6 +5255,12 @@ return object; var message = new $root.EventStore.Client.Messages.ReadEventCompleted(); switch (object.result) { + default: + if (typeof object.result === "number") { + message.result = object.result; + break; + } + break; case "Success": case 0: message.result = 0; @@ -4931,7 +5295,7 @@ message.error = String(object.error); return message; }; - + /** * Creates a plain object from a ReadEventCompleted message. Also converts values to other types if specified. * @function toObject @@ -4951,14 +5315,14 @@ object.error = ""; } if (message.result != null && message.hasOwnProperty("result")) - object.result = options.enums === String ? $root.EventStore.Client.Messages.ReadEventCompleted.ReadEventResult[message.result] : message.result; + object.result = options.enums === String ? $root.EventStore.Client.Messages.ReadEventCompleted.ReadEventResult[message.result] === undefined ? message.result : $root.EventStore.Client.Messages.ReadEventCompleted.ReadEventResult[message.result] : message.result; if (message.event != null && message.hasOwnProperty("event")) object.event = $root.EventStore.Client.Messages.ResolvedIndexedEvent.toObject(message.event, options); if (message.error != null && message.hasOwnProperty("error")) object.error = message.error; return object; }; - + /** * Converts this ReadEventCompleted to JSON. * @function toJSON @@ -4969,11 +5333,26 @@ ReadEventCompleted.prototype.toJSON = function toJSON() { return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; - + + /** + * Gets the default type url for ReadEventCompleted + * @function getTypeUrl + * @memberof EventStore.Client.Messages.ReadEventCompleted + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReadEventCompleted.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/EventStore.Client.Messages.ReadEventCompleted"; + }; + /** * ReadEventResult enum. * @name EventStore.Client.Messages.ReadEventCompleted.ReadEventResult - * @enum {string} + * @enum {number} * @property {number} Success=0 Success value * @property {number} NotFound=1 NotFound value * @property {number} NoStream=2 NoStream value @@ -4991,23 +5370,23 @@ values[valuesById[5] = "AccessDenied"] = 5; return values; })(); - + return ReadEventCompleted; })(); - + Messages.ReadStreamEvents = (function() { - + /** * Properties of a ReadStreamEvents. * @memberof EventStore.Client.Messages * @interface IReadStreamEvents * @property {string} eventStreamId ReadStreamEvents eventStreamId - * @property {number|Long} fromEventNumber ReadStreamEvents fromEventNumber + * @property {Long} fromEventNumber ReadStreamEvents fromEventNumber * @property {number} maxCount ReadStreamEvents maxCount * @property {boolean} resolveLinkTos ReadStreamEvents resolveLinkTos - * @property {boolean} requireMaster ReadStreamEvents requireMaster + * @property {boolean} requireLeader ReadStreamEvents requireLeader */ - + /** * Constructs a new ReadStreamEvents. * @memberof EventStore.Client.Messages @@ -5022,7 +5401,7 @@ if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; } - + /** * ReadStreamEvents eventStreamId. * @member {string} eventStreamId @@ -5030,15 +5409,15 @@ * @instance */ ReadStreamEvents.prototype.eventStreamId = ""; - + /** * ReadStreamEvents fromEventNumber. - * @member {number|Long} fromEventNumber + * @member {Long} fromEventNumber * @memberof EventStore.Client.Messages.ReadStreamEvents * @instance */ ReadStreamEvents.prototype.fromEventNumber = $util.Long ? $util.Long.fromBits(0,0,false) : 0; - + /** * ReadStreamEvents maxCount. * @member {number} maxCount @@ -5046,7 +5425,7 @@ * @instance */ ReadStreamEvents.prototype.maxCount = 0; - + /** * ReadStreamEvents resolveLinkTos. * @member {boolean} resolveLinkTos @@ -5054,15 +5433,15 @@ * @instance */ ReadStreamEvents.prototype.resolveLinkTos = false; - + /** - * ReadStreamEvents requireMaster. - * @member {boolean} requireMaster + * ReadStreamEvents requireLeader. + * @member {boolean} requireLeader * @memberof EventStore.Client.Messages.ReadStreamEvents * @instance */ - ReadStreamEvents.prototype.requireMaster = false; - + ReadStreamEvents.prototype.requireLeader = false; + /** * Creates a new ReadStreamEvents instance using the specified properties. * @function create @@ -5074,7 +5453,7 @@ ReadStreamEvents.create = function create(properties) { return new ReadStreamEvents(properties); }; - + /** * Encodes the specified ReadStreamEvents message. Does not implicitly {@link EventStore.Client.Messages.ReadStreamEvents.verify|verify} messages. * @function encode @@ -5091,10 +5470,10 @@ writer.uint32(/* id 2, wireType 0 =*/16).int64(message.fromEventNumber); writer.uint32(/* id 3, wireType 0 =*/24).int32(message.maxCount); writer.uint32(/* id 4, wireType 0 =*/32).bool(message.resolveLinkTos); - writer.uint32(/* id 5, wireType 0 =*/40).bool(message.requireMaster); + writer.uint32(/* id 5, wireType 0 =*/40).bool(message.requireLeader); return writer; }; - + /** * Encodes the specified ReadStreamEvents message, length delimited. Does not implicitly {@link EventStore.Client.Messages.ReadStreamEvents.verify|verify} messages. * @function encodeDelimited @@ -5107,7 +5486,7 @@ ReadStreamEvents.encodeDelimited = function encodeDelimited(message, writer) { return this.encode(message, writer).ldelim(); }; - + /** * Decodes a ReadStreamEvents message from the specified reader or buffer. * @function decode @@ -5126,21 +5505,26 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.eventStreamId = reader.string(); - break; - case 2: - message.fromEventNumber = reader.int64(); - break; - case 3: - message.maxCount = reader.int32(); - break; - case 4: - message.resolveLinkTos = reader.bool(); - break; - case 5: - message.requireMaster = reader.bool(); - break; + case 1: { + message.eventStreamId = reader.string(); + break; + } + case 2: { + message.fromEventNumber = reader.int64(); + break; + } + case 3: { + message.maxCount = reader.int32(); + break; + } + case 4: { + message.resolveLinkTos = reader.bool(); + break; + } + case 5: { + message.requireLeader = reader.bool(); + break; + } default: reader.skipType(tag & 7); break; @@ -5154,11 +5538,11 @@ throw $util.ProtocolError("missing required 'maxCount'", { instance: message }); if (!message.hasOwnProperty("resolveLinkTos")) throw $util.ProtocolError("missing required 'resolveLinkTos'", { instance: message }); - if (!message.hasOwnProperty("requireMaster")) - throw $util.ProtocolError("missing required 'requireMaster'", { instance: message }); + if (!message.hasOwnProperty("requireLeader")) + throw $util.ProtocolError("missing required 'requireLeader'", { instance: message }); return message; }; - + /** * Decodes a ReadStreamEvents message from the specified reader or buffer, length delimited. * @function decodeDelimited @@ -5174,7 +5558,7 @@ reader = new $Reader(reader); return this.decode(reader, reader.uint32()); }; - + /** * Verifies a ReadStreamEvents message. * @function verify @@ -5194,11 +5578,11 @@ return "maxCount: integer expected"; if (typeof message.resolveLinkTos !== "boolean") return "resolveLinkTos: boolean expected"; - if (typeof message.requireMaster !== "boolean") - return "requireMaster: boolean expected"; + if (typeof message.requireLeader !== "boolean") + return "requireLeader: boolean expected"; return null; }; - + /** * Creates a ReadStreamEvents message from a plain object. Also converts values to their respective internal types. * @function fromObject @@ -5226,11 +5610,11 @@ message.maxCount = object.maxCount | 0; if (object.resolveLinkTos != null) message.resolveLinkTos = Boolean(object.resolveLinkTos); - if (object.requireMaster != null) - message.requireMaster = Boolean(object.requireMaster); + if (object.requireLeader != null) + message.requireLeader = Boolean(object.requireLeader); return message; }; - + /** * Creates a plain object from a ReadStreamEvents message. Also converts values to other types if specified. * @function toObject @@ -5253,7 +5637,7 @@ object.fromEventNumber = options.longs === String ? "0" : 0; object.maxCount = 0; object.resolveLinkTos = false; - object.requireMaster = false; + object.requireLeader = false; } if (message.eventStreamId != null && message.hasOwnProperty("eventStreamId")) object.eventStreamId = message.eventStreamId; @@ -5266,11 +5650,11 @@ object.maxCount = message.maxCount; if (message.resolveLinkTos != null && message.hasOwnProperty("resolveLinkTos")) object.resolveLinkTos = message.resolveLinkTos; - if (message.requireMaster != null && message.hasOwnProperty("requireMaster")) - object.requireMaster = message.requireMaster; + if (message.requireLeader != null && message.hasOwnProperty("requireLeader")) + object.requireLeader = message.requireLeader; return object; }; - + /** * Converts this ReadStreamEvents to JSON. * @function toJSON @@ -5281,25 +5665,40 @@ ReadStreamEvents.prototype.toJSON = function toJSON() { return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; - + + /** + * Gets the default type url for ReadStreamEvents + * @function getTypeUrl + * @memberof EventStore.Client.Messages.ReadStreamEvents + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReadStreamEvents.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/EventStore.Client.Messages.ReadStreamEvents"; + }; + return ReadStreamEvents; })(); - + Messages.ReadStreamEventsCompleted = (function() { - + /** * Properties of a ReadStreamEventsCompleted. * @memberof EventStore.Client.Messages * @interface IReadStreamEventsCompleted * @property {Array.|null} [events] ReadStreamEventsCompleted events * @property {EventStore.Client.Messages.ReadStreamEventsCompleted.ReadStreamResult} result ReadStreamEventsCompleted result - * @property {number|Long} nextEventNumber ReadStreamEventsCompleted nextEventNumber - * @property {number|Long} lastEventNumber ReadStreamEventsCompleted lastEventNumber + * @property {Long} nextEventNumber ReadStreamEventsCompleted nextEventNumber + * @property {Long} lastEventNumber ReadStreamEventsCompleted lastEventNumber * @property {boolean} isEndOfStream ReadStreamEventsCompleted isEndOfStream - * @property {number|Long} lastCommitPosition ReadStreamEventsCompleted lastCommitPosition + * @property {Long} lastCommitPosition ReadStreamEventsCompleted lastCommitPosition * @property {string|null} [error] ReadStreamEventsCompleted error */ - + /** * Constructs a new ReadStreamEventsCompleted. * @memberof EventStore.Client.Messages @@ -5315,7 +5714,7 @@ if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; } - + /** * ReadStreamEventsCompleted events. * @member {Array.} events @@ -5323,7 +5722,7 @@ * @instance */ ReadStreamEventsCompleted.prototype.events = $util.emptyArray; - + /** * ReadStreamEventsCompleted result. * @member {EventStore.Client.Messages.ReadStreamEventsCompleted.ReadStreamResult} result @@ -5331,23 +5730,23 @@ * @instance */ ReadStreamEventsCompleted.prototype.result = 0; - + /** * ReadStreamEventsCompleted nextEventNumber. - * @member {number|Long} nextEventNumber + * @member {Long} nextEventNumber * @memberof EventStore.Client.Messages.ReadStreamEventsCompleted * @instance */ ReadStreamEventsCompleted.prototype.nextEventNumber = $util.Long ? $util.Long.fromBits(0,0,false) : 0; - + /** * ReadStreamEventsCompleted lastEventNumber. - * @member {number|Long} lastEventNumber + * @member {Long} lastEventNumber * @memberof EventStore.Client.Messages.ReadStreamEventsCompleted * @instance */ ReadStreamEventsCompleted.prototype.lastEventNumber = $util.Long ? $util.Long.fromBits(0,0,false) : 0; - + /** * ReadStreamEventsCompleted isEndOfStream. * @member {boolean} isEndOfStream @@ -5355,15 +5754,15 @@ * @instance */ ReadStreamEventsCompleted.prototype.isEndOfStream = false; - + /** * ReadStreamEventsCompleted lastCommitPosition. - * @member {number|Long} lastCommitPosition + * @member {Long} lastCommitPosition * @memberof EventStore.Client.Messages.ReadStreamEventsCompleted * @instance */ ReadStreamEventsCompleted.prototype.lastCommitPosition = $util.Long ? $util.Long.fromBits(0,0,false) : 0; - + /** * ReadStreamEventsCompleted error. * @member {string} error @@ -5371,7 +5770,7 @@ * @instance */ ReadStreamEventsCompleted.prototype.error = ""; - + /** * Creates a new ReadStreamEventsCompleted instance using the specified properties. * @function create @@ -5383,7 +5782,7 @@ ReadStreamEventsCompleted.create = function create(properties) { return new ReadStreamEventsCompleted(properties); }; - + /** * Encodes the specified ReadStreamEventsCompleted message. Does not implicitly {@link EventStore.Client.Messages.ReadStreamEventsCompleted.verify|verify} messages. * @function encode @@ -5404,11 +5803,11 @@ writer.uint32(/* id 4, wireType 0 =*/32).int64(message.lastEventNumber); writer.uint32(/* id 5, wireType 0 =*/40).bool(message.isEndOfStream); writer.uint32(/* id 6, wireType 0 =*/48).int64(message.lastCommitPosition); - if (message.error != null && message.hasOwnProperty("error")) + if (message.error != null && Object.hasOwnProperty.call(message, "error")) writer.uint32(/* id 7, wireType 2 =*/58).string(message.error); return writer; }; - + /** * Encodes the specified ReadStreamEventsCompleted message, length delimited. Does not implicitly {@link EventStore.Client.Messages.ReadStreamEventsCompleted.verify|verify} messages. * @function encodeDelimited @@ -5421,7 +5820,7 @@ ReadStreamEventsCompleted.encodeDelimited = function encodeDelimited(message, writer) { return this.encode(message, writer).ldelim(); }; - + /** * Decodes a ReadStreamEventsCompleted message from the specified reader or buffer. * @function decode @@ -5440,29 +5839,36 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - if (!(message.events && message.events.length)) - message.events = []; - message.events.push($root.EventStore.Client.Messages.ResolvedIndexedEvent.decode(reader, reader.uint32())); - break; - case 2: - message.result = reader.int32(); - break; - case 3: - message.nextEventNumber = reader.int64(); - break; - case 4: - message.lastEventNumber = reader.int64(); - break; - case 5: - message.isEndOfStream = reader.bool(); - break; - case 6: - message.lastCommitPosition = reader.int64(); - break; - case 7: - message.error = reader.string(); - break; + case 1: { + if (!(message.events && message.events.length)) + message.events = []; + message.events.push($root.EventStore.Client.Messages.ResolvedIndexedEvent.decode(reader, reader.uint32())); + break; + } + case 2: { + message.result = reader.int32(); + break; + } + case 3: { + message.nextEventNumber = reader.int64(); + break; + } + case 4: { + message.lastEventNumber = reader.int64(); + break; + } + case 5: { + message.isEndOfStream = reader.bool(); + break; + } + case 6: { + message.lastCommitPosition = reader.int64(); + break; + } + case 7: { + message.error = reader.string(); + break; + } default: reader.skipType(tag & 7); break; @@ -5480,7 +5886,7 @@ throw $util.ProtocolError("missing required 'lastCommitPosition'", { instance: message }); return message; }; - + /** * Decodes a ReadStreamEventsCompleted message from the specified reader or buffer, length delimited. * @function decodeDelimited @@ -5496,7 +5902,7 @@ reader = new $Reader(reader); return this.decode(reader, reader.uint32()); }; - + /** * Verifies a ReadStreamEventsCompleted message. * @function verify @@ -5541,7 +5947,7 @@ return "error: string expected"; return null; }; - + /** * Creates a ReadStreamEventsCompleted message from a plain object. Also converts values to their respective internal types. * @function fromObject @@ -5565,6 +5971,12 @@ } } switch (object.result) { + default: + if (typeof object.result === "number") { + message.result = object.result; + break; + } + break; case "Success": case 0: message.result = 0; @@ -5623,7 +6035,7 @@ message.error = String(object.error); return message; }; - + /** * Creates a plain object from a ReadStreamEventsCompleted message. Also converts values to other types if specified. * @function toObject @@ -5665,7 +6077,7 @@ object.events[j] = $root.EventStore.Client.Messages.ResolvedIndexedEvent.toObject(message.events[j], options); } if (message.result != null && message.hasOwnProperty("result")) - object.result = options.enums === String ? $root.EventStore.Client.Messages.ReadStreamEventsCompleted.ReadStreamResult[message.result] : message.result; + object.result = options.enums === String ? $root.EventStore.Client.Messages.ReadStreamEventsCompleted.ReadStreamResult[message.result] === undefined ? message.result : $root.EventStore.Client.Messages.ReadStreamEventsCompleted.ReadStreamResult[message.result] : message.result; if (message.nextEventNumber != null && message.hasOwnProperty("nextEventNumber")) if (typeof message.nextEventNumber === "number") object.nextEventNumber = options.longs === String ? String(message.nextEventNumber) : message.nextEventNumber; @@ -5687,7 +6099,7 @@ object.error = message.error; return object; }; - + /** * Converts this ReadStreamEventsCompleted to JSON. * @function toJSON @@ -5698,11 +6110,26 @@ ReadStreamEventsCompleted.prototype.toJSON = function toJSON() { return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; - + + /** + * Gets the default type url for ReadStreamEventsCompleted + * @function getTypeUrl + * @memberof EventStore.Client.Messages.ReadStreamEventsCompleted + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReadStreamEventsCompleted.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/EventStore.Client.Messages.ReadStreamEventsCompleted"; + }; + /** * ReadStreamResult enum. * @name EventStore.Client.Messages.ReadStreamEventsCompleted.ReadStreamResult - * @enum {string} + * @enum {number} * @property {number} Success=0 Success value * @property {number} NoStream=1 NoStream value * @property {number} StreamDeleted=2 StreamDeleted value @@ -5720,23 +6147,23 @@ values[valuesById[5] = "AccessDenied"] = 5; return values; })(); - + return ReadStreamEventsCompleted; })(); - + Messages.ReadAllEvents = (function() { - + /** * Properties of a ReadAllEvents. * @memberof EventStore.Client.Messages * @interface IReadAllEvents - * @property {number|Long} commitPosition ReadAllEvents commitPosition - * @property {number|Long} preparePosition ReadAllEvents preparePosition + * @property {Long} commitPosition ReadAllEvents commitPosition + * @property {Long} preparePosition ReadAllEvents preparePosition * @property {number} maxCount ReadAllEvents maxCount * @property {boolean} resolveLinkTos ReadAllEvents resolveLinkTos - * @property {boolean} requireMaster ReadAllEvents requireMaster + * @property {boolean} requireLeader ReadAllEvents requireLeader */ - + /** * Constructs a new ReadAllEvents. * @memberof EventStore.Client.Messages @@ -5751,23 +6178,23 @@ if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; } - + /** * ReadAllEvents commitPosition. - * @member {number|Long} commitPosition + * @member {Long} commitPosition * @memberof EventStore.Client.Messages.ReadAllEvents * @instance */ ReadAllEvents.prototype.commitPosition = $util.Long ? $util.Long.fromBits(0,0,false) : 0; - + /** * ReadAllEvents preparePosition. - * @member {number|Long} preparePosition + * @member {Long} preparePosition * @memberof EventStore.Client.Messages.ReadAllEvents * @instance */ ReadAllEvents.prototype.preparePosition = $util.Long ? $util.Long.fromBits(0,0,false) : 0; - + /** * ReadAllEvents maxCount. * @member {number} maxCount @@ -5775,7 +6202,7 @@ * @instance */ ReadAllEvents.prototype.maxCount = 0; - + /** * ReadAllEvents resolveLinkTos. * @member {boolean} resolveLinkTos @@ -5783,15 +6210,15 @@ * @instance */ ReadAllEvents.prototype.resolveLinkTos = false; - + /** - * ReadAllEvents requireMaster. - * @member {boolean} requireMaster + * ReadAllEvents requireLeader. + * @member {boolean} requireLeader * @memberof EventStore.Client.Messages.ReadAllEvents * @instance */ - ReadAllEvents.prototype.requireMaster = false; - + ReadAllEvents.prototype.requireLeader = false; + /** * Creates a new ReadAllEvents instance using the specified properties. * @function create @@ -5803,7 +6230,7 @@ ReadAllEvents.create = function create(properties) { return new ReadAllEvents(properties); }; - + /** * Encodes the specified ReadAllEvents message. Does not implicitly {@link EventStore.Client.Messages.ReadAllEvents.verify|verify} messages. * @function encode @@ -5820,10 +6247,10 @@ writer.uint32(/* id 2, wireType 0 =*/16).int64(message.preparePosition); writer.uint32(/* id 3, wireType 0 =*/24).int32(message.maxCount); writer.uint32(/* id 4, wireType 0 =*/32).bool(message.resolveLinkTos); - writer.uint32(/* id 5, wireType 0 =*/40).bool(message.requireMaster); + writer.uint32(/* id 5, wireType 0 =*/40).bool(message.requireLeader); return writer; }; - + /** * Encodes the specified ReadAllEvents message, length delimited. Does not implicitly {@link EventStore.Client.Messages.ReadAllEvents.verify|verify} messages. * @function encodeDelimited @@ -5836,7 +6263,7 @@ ReadAllEvents.encodeDelimited = function encodeDelimited(message, writer) { return this.encode(message, writer).ldelim(); }; - + /** * Decodes a ReadAllEvents message from the specified reader or buffer. * @function decode @@ -5855,21 +6282,26 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.commitPosition = reader.int64(); - break; - case 2: - message.preparePosition = reader.int64(); - break; - case 3: - message.maxCount = reader.int32(); - break; - case 4: - message.resolveLinkTos = reader.bool(); - break; - case 5: - message.requireMaster = reader.bool(); - break; + case 1: { + message.commitPosition = reader.int64(); + break; + } + case 2: { + message.preparePosition = reader.int64(); + break; + } + case 3: { + message.maxCount = reader.int32(); + break; + } + case 4: { + message.resolveLinkTos = reader.bool(); + break; + } + case 5: { + message.requireLeader = reader.bool(); + break; + } default: reader.skipType(tag & 7); break; @@ -5883,11 +6315,11 @@ throw $util.ProtocolError("missing required 'maxCount'", { instance: message }); if (!message.hasOwnProperty("resolveLinkTos")) throw $util.ProtocolError("missing required 'resolveLinkTos'", { instance: message }); - if (!message.hasOwnProperty("requireMaster")) - throw $util.ProtocolError("missing required 'requireMaster'", { instance: message }); + if (!message.hasOwnProperty("requireLeader")) + throw $util.ProtocolError("missing required 'requireLeader'", { instance: message }); return message; }; - + /** * Decodes a ReadAllEvents message from the specified reader or buffer, length delimited. * @function decodeDelimited @@ -5903,7 +6335,7 @@ reader = new $Reader(reader); return this.decode(reader, reader.uint32()); }; - + /** * Verifies a ReadAllEvents message. * @function verify @@ -5923,11 +6355,11 @@ return "maxCount: integer expected"; if (typeof message.resolveLinkTos !== "boolean") return "resolveLinkTos: boolean expected"; - if (typeof message.requireMaster !== "boolean") - return "requireMaster: boolean expected"; + if (typeof message.requireLeader !== "boolean") + return "requireLeader: boolean expected"; return null; }; - + /** * Creates a ReadAllEvents message from a plain object. Also converts values to their respective internal types. * @function fromObject @@ -5962,11 +6394,11 @@ message.maxCount = object.maxCount | 0; if (object.resolveLinkTos != null) message.resolveLinkTos = Boolean(object.resolveLinkTos); - if (object.requireMaster != null) - message.requireMaster = Boolean(object.requireMaster); + if (object.requireLeader != null) + message.requireLeader = Boolean(object.requireLeader); return message; }; - + /** * Creates a plain object from a ReadAllEvents message. Also converts values to other types if specified. * @function toObject @@ -5993,7 +6425,7 @@ object.preparePosition = options.longs === String ? "0" : 0; object.maxCount = 0; object.resolveLinkTos = false; - object.requireMaster = false; + object.requireLeader = false; } if (message.commitPosition != null && message.hasOwnProperty("commitPosition")) if (typeof message.commitPosition === "number") @@ -6009,11 +6441,11 @@ object.maxCount = message.maxCount; if (message.resolveLinkTos != null && message.hasOwnProperty("resolveLinkTos")) object.resolveLinkTos = message.resolveLinkTos; - if (message.requireMaster != null && message.hasOwnProperty("requireMaster")) - object.requireMaster = message.requireMaster; + if (message.requireLeader != null && message.hasOwnProperty("requireLeader")) + object.requireLeader = message.requireLeader; return object; }; - + /** * Converts this ReadAllEvents to JSON. * @function toJSON @@ -6024,25 +6456,40 @@ ReadAllEvents.prototype.toJSON = function toJSON() { return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; - + + /** + * Gets the default type url for ReadAllEvents + * @function getTypeUrl + * @memberof EventStore.Client.Messages.ReadAllEvents + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReadAllEvents.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/EventStore.Client.Messages.ReadAllEvents"; + }; + return ReadAllEvents; })(); - + Messages.ReadAllEventsCompleted = (function() { - + /** * Properties of a ReadAllEventsCompleted. * @memberof EventStore.Client.Messages * @interface IReadAllEventsCompleted - * @property {number|Long} commitPosition ReadAllEventsCompleted commitPosition - * @property {number|Long} preparePosition ReadAllEventsCompleted preparePosition + * @property {Long} commitPosition ReadAllEventsCompleted commitPosition + * @property {Long} preparePosition ReadAllEventsCompleted preparePosition * @property {Array.|null} [events] ReadAllEventsCompleted events - * @property {number|Long} nextCommitPosition ReadAllEventsCompleted nextCommitPosition - * @property {number|Long} nextPreparePosition ReadAllEventsCompleted nextPreparePosition + * @property {Long} nextCommitPosition ReadAllEventsCompleted nextCommitPosition + * @property {Long} nextPreparePosition ReadAllEventsCompleted nextPreparePosition * @property {EventStore.Client.Messages.ReadAllEventsCompleted.ReadAllResult|null} [result] ReadAllEventsCompleted result * @property {string|null} [error] ReadAllEventsCompleted error */ - + /** * Constructs a new ReadAllEventsCompleted. * @memberof EventStore.Client.Messages @@ -6058,23 +6505,23 @@ if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; } - + /** * ReadAllEventsCompleted commitPosition. - * @member {number|Long} commitPosition + * @member {Long} commitPosition * @memberof EventStore.Client.Messages.ReadAllEventsCompleted * @instance */ ReadAllEventsCompleted.prototype.commitPosition = $util.Long ? $util.Long.fromBits(0,0,false) : 0; - + /** * ReadAllEventsCompleted preparePosition. - * @member {number|Long} preparePosition + * @member {Long} preparePosition * @memberof EventStore.Client.Messages.ReadAllEventsCompleted * @instance */ ReadAllEventsCompleted.prototype.preparePosition = $util.Long ? $util.Long.fromBits(0,0,false) : 0; - + /** * ReadAllEventsCompleted events. * @member {Array.} events @@ -6082,23 +6529,23 @@ * @instance */ ReadAllEventsCompleted.prototype.events = $util.emptyArray; - + /** * ReadAllEventsCompleted nextCommitPosition. - * @member {number|Long} nextCommitPosition + * @member {Long} nextCommitPosition * @memberof EventStore.Client.Messages.ReadAllEventsCompleted * @instance */ ReadAllEventsCompleted.prototype.nextCommitPosition = $util.Long ? $util.Long.fromBits(0,0,false) : 0; - + /** * ReadAllEventsCompleted nextPreparePosition. - * @member {number|Long} nextPreparePosition + * @member {Long} nextPreparePosition * @memberof EventStore.Client.Messages.ReadAllEventsCompleted * @instance */ ReadAllEventsCompleted.prototype.nextPreparePosition = $util.Long ? $util.Long.fromBits(0,0,false) : 0; - + /** * ReadAllEventsCompleted result. * @member {EventStore.Client.Messages.ReadAllEventsCompleted.ReadAllResult} result @@ -6106,7 +6553,7 @@ * @instance */ ReadAllEventsCompleted.prototype.result = 0; - + /** * ReadAllEventsCompleted error. * @member {string} error @@ -6114,7 +6561,7 @@ * @instance */ ReadAllEventsCompleted.prototype.error = ""; - + /** * Creates a new ReadAllEventsCompleted instance using the specified properties. * @function create @@ -6126,7 +6573,7 @@ ReadAllEventsCompleted.create = function create(properties) { return new ReadAllEventsCompleted(properties); }; - + /** * Encodes the specified ReadAllEventsCompleted message. Does not implicitly {@link EventStore.Client.Messages.ReadAllEventsCompleted.verify|verify} messages. * @function encode @@ -6146,13 +6593,13 @@ $root.EventStore.Client.Messages.ResolvedEvent.encode(message.events[i], writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim(); writer.uint32(/* id 4, wireType 0 =*/32).int64(message.nextCommitPosition); writer.uint32(/* id 5, wireType 0 =*/40).int64(message.nextPreparePosition); - if (message.result != null && message.hasOwnProperty("result")) + if (message.result != null && Object.hasOwnProperty.call(message, "result")) writer.uint32(/* id 6, wireType 0 =*/48).int32(message.result); - if (message.error != null && message.hasOwnProperty("error")) + if (message.error != null && Object.hasOwnProperty.call(message, "error")) writer.uint32(/* id 7, wireType 2 =*/58).string(message.error); return writer; }; - + /** * Encodes the specified ReadAllEventsCompleted message, length delimited. Does not implicitly {@link EventStore.Client.Messages.ReadAllEventsCompleted.verify|verify} messages. * @function encodeDelimited @@ -6165,7 +6612,7 @@ ReadAllEventsCompleted.encodeDelimited = function encodeDelimited(message, writer) { return this.encode(message, writer).ldelim(); }; - + /** * Decodes a ReadAllEventsCompleted message from the specified reader or buffer. * @function decode @@ -6184,29 +6631,36 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.commitPosition = reader.int64(); - break; - case 2: - message.preparePosition = reader.int64(); - break; - case 3: - if (!(message.events && message.events.length)) - message.events = []; - message.events.push($root.EventStore.Client.Messages.ResolvedEvent.decode(reader, reader.uint32())); - break; - case 4: - message.nextCommitPosition = reader.int64(); - break; - case 5: - message.nextPreparePosition = reader.int64(); - break; - case 6: - message.result = reader.int32(); - break; - case 7: - message.error = reader.string(); - break; + case 1: { + message.commitPosition = reader.int64(); + break; + } + case 2: { + message.preparePosition = reader.int64(); + break; + } + case 3: { + if (!(message.events && message.events.length)) + message.events = []; + message.events.push($root.EventStore.Client.Messages.ResolvedEvent.decode(reader, reader.uint32())); + break; + } + case 4: { + message.nextCommitPosition = reader.int64(); + break; + } + case 5: { + message.nextPreparePosition = reader.int64(); + break; + } + case 6: { + message.result = reader.int32(); + break; + } + case 7: { + message.error = reader.string(); + break; + } default: reader.skipType(tag & 7); break; @@ -6222,7 +6676,7 @@ throw $util.ProtocolError("missing required 'nextPreparePosition'", { instance: message }); return message; }; - + /** * Decodes a ReadAllEventsCompleted message from the specified reader or buffer, length delimited. * @function decodeDelimited @@ -6238,7 +6692,7 @@ reader = new $Reader(reader); return this.decode(reader, reader.uint32()); }; - + /** * Verifies a ReadAllEventsCompleted message. * @function verify @@ -6282,7 +6736,7 @@ return "error: string expected"; return null; }; - + /** * Creates a ReadAllEventsCompleted message from a plain object. Also converts values to their respective internal types. * @function fromObject @@ -6342,6 +6796,12 @@ else if (typeof object.nextPreparePosition === "object") message.nextPreparePosition = new $util.LongBits(object.nextPreparePosition.low >>> 0, object.nextPreparePosition.high >>> 0).toNumber(); switch (object.result) { + default: + if (typeof object.result === "number") { + message.result = object.result; + break; + } + break; case "Success": case 0: message.result = 0; @@ -6363,7 +6823,7 @@ message.error = String(object.error); return message; }; - + /** * Creates a plain object from a ReadAllEventsCompleted message. Also converts values to other types if specified. * @function toObject @@ -6429,12 +6889,12 @@ else object.nextPreparePosition = options.longs === String ? $util.Long.prototype.toString.call(message.nextPreparePosition) : options.longs === Number ? new $util.LongBits(message.nextPreparePosition.low >>> 0, message.nextPreparePosition.high >>> 0).toNumber() : message.nextPreparePosition; if (message.result != null && message.hasOwnProperty("result")) - object.result = options.enums === String ? $root.EventStore.Client.Messages.ReadAllEventsCompleted.ReadAllResult[message.result] : message.result; + object.result = options.enums === String ? $root.EventStore.Client.Messages.ReadAllEventsCompleted.ReadAllResult[message.result] === undefined ? message.result : $root.EventStore.Client.Messages.ReadAllEventsCompleted.ReadAllResult[message.result] : message.result; if (message.error != null && message.hasOwnProperty("error")) object.error = message.error; return object; }; - + /** * Converts this ReadAllEventsCompleted to JSON. * @function toJSON @@ -6445,11 +6905,26 @@ ReadAllEventsCompleted.prototype.toJSON = function toJSON() { return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; - + + /** + * Gets the default type url for ReadAllEventsCompleted + * @function getTypeUrl + * @memberof EventStore.Client.Messages.ReadAllEventsCompleted + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReadAllEventsCompleted.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/EventStore.Client.Messages.ReadAllEventsCompleted"; + }; + /** * ReadAllResult enum. * @name EventStore.Client.Messages.ReadAllEventsCompleted.ReadAllResult - * @enum {string} + * @enum {number} * @property {number} Success=0 Success value * @property {number} NotModified=1 NotModified value * @property {number} Error=2 Error value @@ -6463,12 +6938,1211 @@ values[valuesById[3] = "AccessDenied"] = 3; return values; })(); - + return ReadAllEventsCompleted; })(); - + + Messages.Filter = (function() { + + /** + * Properties of a Filter. + * @memberof EventStore.Client.Messages + * @interface IFilter + * @property {EventStore.Client.Messages.Filter.FilterContext} context Filter context + * @property {EventStore.Client.Messages.Filter.FilterType} type Filter type + * @property {Array.|null} [data] Filter data + */ + + /** + * Constructs a new Filter. + * @memberof EventStore.Client.Messages + * @classdesc Represents a Filter. + * @implements IFilter + * @constructor + * @param {EventStore.Client.Messages.IFilter=} [properties] Properties to set + */ + function Filter(properties) { + this.data = []; + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + + /** + * Filter context. + * @member {EventStore.Client.Messages.Filter.FilterContext} context + * @memberof EventStore.Client.Messages.Filter + * @instance + */ + Filter.prototype.context = 0; + + /** + * Filter type. + * @member {EventStore.Client.Messages.Filter.FilterType} type + * @memberof EventStore.Client.Messages.Filter + * @instance + */ + Filter.prototype.type = 0; + + /** + * Filter data. + * @member {Array.} data + * @memberof EventStore.Client.Messages.Filter + * @instance + */ + Filter.prototype.data = $util.emptyArray; + + /** + * Creates a new Filter instance using the specified properties. + * @function create + * @memberof EventStore.Client.Messages.Filter + * @static + * @param {EventStore.Client.Messages.IFilter=} [properties] Properties to set + * @returns {EventStore.Client.Messages.Filter} Filter instance + */ + Filter.create = function create(properties) { + return new Filter(properties); + }; + + /** + * Encodes the specified Filter message. Does not implicitly {@link EventStore.Client.Messages.Filter.verify|verify} messages. + * @function encode + * @memberof EventStore.Client.Messages.Filter + * @static + * @param {EventStore.Client.Messages.IFilter} message Filter message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + Filter.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + writer.uint32(/* id 1, wireType 0 =*/8).int32(message.context); + writer.uint32(/* id 2, wireType 0 =*/16).int32(message.type); + if (message.data != null && message.data.length) + for (var i = 0; i < message.data.length; ++i) + writer.uint32(/* id 3, wireType 2 =*/26).string(message.data[i]); + return writer; + }; + + /** + * Encodes the specified Filter message, length delimited. Does not implicitly {@link EventStore.Client.Messages.Filter.verify|verify} messages. + * @function encodeDelimited + * @memberof EventStore.Client.Messages.Filter + * @static + * @param {EventStore.Client.Messages.IFilter} message Filter message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + Filter.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a Filter message from the specified reader or buffer. + * @function decode + * @memberof EventStore.Client.Messages.Filter + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {EventStore.Client.Messages.Filter} Filter + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + Filter.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.EventStore.Client.Messages.Filter(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.context = reader.int32(); + break; + } + case 2: { + message.type = reader.int32(); + break; + } + case 3: { + if (!(message.data && message.data.length)) + message.data = []; + message.data.push(reader.string()); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + if (!message.hasOwnProperty("context")) + throw $util.ProtocolError("missing required 'context'", { instance: message }); + if (!message.hasOwnProperty("type")) + throw $util.ProtocolError("missing required 'type'", { instance: message }); + return message; + }; + + /** + * Decodes a Filter message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof EventStore.Client.Messages.Filter + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {EventStore.Client.Messages.Filter} Filter + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + Filter.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a Filter message. + * @function verify + * @memberof EventStore.Client.Messages.Filter + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + Filter.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + switch (message.context) { + default: + return "context: enum value expected"; + case 0: + case 1: + break; + } + switch (message.type) { + default: + return "type: enum value expected"; + case 0: + case 1: + break; + } + if (message.data != null && message.hasOwnProperty("data")) { + if (!Array.isArray(message.data)) + return "data: array expected"; + for (var i = 0; i < message.data.length; ++i) + if (!$util.isString(message.data[i])) + return "data: string[] expected"; + } + return null; + }; + + /** + * Creates a Filter message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof EventStore.Client.Messages.Filter + * @static + * @param {Object.} object Plain object + * @returns {EventStore.Client.Messages.Filter} Filter + */ + Filter.fromObject = function fromObject(object) { + if (object instanceof $root.EventStore.Client.Messages.Filter) + return object; + var message = new $root.EventStore.Client.Messages.Filter(); + switch (object.context) { + default: + if (typeof object.context === "number") { + message.context = object.context; + break; + } + break; + case "StreamId": + case 0: + message.context = 0; + break; + case "EventType": + case 1: + message.context = 1; + break; + } + switch (object.type) { + default: + if (typeof object.type === "number") { + message.type = object.type; + break; + } + break; + case "Regex": + case 0: + message.type = 0; + break; + case "Prefix": + case 1: + message.type = 1; + break; + } + if (object.data) { + if (!Array.isArray(object.data)) + throw TypeError(".EventStore.Client.Messages.Filter.data: array expected"); + message.data = []; + for (var i = 0; i < object.data.length; ++i) + message.data[i] = String(object.data[i]); + } + return message; + }; + + /** + * Creates a plain object from a Filter message. Also converts values to other types if specified. + * @function toObject + * @memberof EventStore.Client.Messages.Filter + * @static + * @param {EventStore.Client.Messages.Filter} message Filter + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + Filter.toObject = function toObject(message, options) { + if (!options) + options = {}; + var object = {}; + if (options.arrays || options.defaults) + object.data = []; + if (options.defaults) { + object.context = options.enums === String ? "StreamId" : 0; + object.type = options.enums === String ? "Regex" : 0; + } + if (message.context != null && message.hasOwnProperty("context")) + object.context = options.enums === String ? $root.EventStore.Client.Messages.Filter.FilterContext[message.context] === undefined ? message.context : $root.EventStore.Client.Messages.Filter.FilterContext[message.context] : message.context; + if (message.type != null && message.hasOwnProperty("type")) + object.type = options.enums === String ? $root.EventStore.Client.Messages.Filter.FilterType[message.type] === undefined ? message.type : $root.EventStore.Client.Messages.Filter.FilterType[message.type] : message.type; + if (message.data && message.data.length) { + object.data = []; + for (var j = 0; j < message.data.length; ++j) + object.data[j] = message.data[j]; + } + return object; + }; + + /** + * Converts this Filter to JSON. + * @function toJSON + * @memberof EventStore.Client.Messages.Filter + * @instance + * @returns {Object.} JSON object + */ + Filter.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for Filter + * @function getTypeUrl + * @memberof EventStore.Client.Messages.Filter + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + Filter.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/EventStore.Client.Messages.Filter"; + }; + + /** + * FilterContext enum. + * @name EventStore.Client.Messages.Filter.FilterContext + * @enum {number} + * @property {number} StreamId=0 StreamId value + * @property {number} EventType=1 EventType value + */ + Filter.FilterContext = (function() { + var valuesById = {}, values = Object.create(valuesById); + values[valuesById[0] = "StreamId"] = 0; + values[valuesById[1] = "EventType"] = 1; + return values; + })(); + + /** + * FilterType enum. + * @name EventStore.Client.Messages.Filter.FilterType + * @enum {number} + * @property {number} Regex=0 Regex value + * @property {number} Prefix=1 Prefix value + */ + Filter.FilterType = (function() { + var valuesById = {}, values = Object.create(valuesById); + values[valuesById[0] = "Regex"] = 0; + values[valuesById[1] = "Prefix"] = 1; + return values; + })(); + + return Filter; + })(); + + Messages.FilteredReadAllEvents = (function() { + + /** + * Properties of a FilteredReadAllEvents. + * @memberof EventStore.Client.Messages + * @interface IFilteredReadAllEvents + * @property {Long} commitPosition FilteredReadAllEvents commitPosition + * @property {Long} preparePosition FilteredReadAllEvents preparePosition + * @property {number} maxCount FilteredReadAllEvents maxCount + * @property {number|null} [maxSearchWindow] FilteredReadAllEvents maxSearchWindow + * @property {boolean} resolveLinkTos FilteredReadAllEvents resolveLinkTos + * @property {boolean} requireLeader FilteredReadAllEvents requireLeader + * @property {EventStore.Client.Messages.IFilter} filter FilteredReadAllEvents filter + */ + + /** + * Constructs a new FilteredReadAllEvents. + * @memberof EventStore.Client.Messages + * @classdesc Represents a FilteredReadAllEvents. + * @implements IFilteredReadAllEvents + * @constructor + * @param {EventStore.Client.Messages.IFilteredReadAllEvents=} [properties] Properties to set + */ + function FilteredReadAllEvents(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + + /** + * FilteredReadAllEvents commitPosition. + * @member {Long} commitPosition + * @memberof EventStore.Client.Messages.FilteredReadAllEvents + * @instance + */ + FilteredReadAllEvents.prototype.commitPosition = $util.Long ? $util.Long.fromBits(0,0,false) : 0; + + /** + * FilteredReadAllEvents preparePosition. + * @member {Long} preparePosition + * @memberof EventStore.Client.Messages.FilteredReadAllEvents + * @instance + */ + FilteredReadAllEvents.prototype.preparePosition = $util.Long ? $util.Long.fromBits(0,0,false) : 0; + + /** + * FilteredReadAllEvents maxCount. + * @member {number} maxCount + * @memberof EventStore.Client.Messages.FilteredReadAllEvents + * @instance + */ + FilteredReadAllEvents.prototype.maxCount = 0; + + /** + * FilteredReadAllEvents maxSearchWindow. + * @member {number} maxSearchWindow + * @memberof EventStore.Client.Messages.FilteredReadAllEvents + * @instance + */ + FilteredReadAllEvents.prototype.maxSearchWindow = 0; + + /** + * FilteredReadAllEvents resolveLinkTos. + * @member {boolean} resolveLinkTos + * @memberof EventStore.Client.Messages.FilteredReadAllEvents + * @instance + */ + FilteredReadAllEvents.prototype.resolveLinkTos = false; + + /** + * FilteredReadAllEvents requireLeader. + * @member {boolean} requireLeader + * @memberof EventStore.Client.Messages.FilteredReadAllEvents + * @instance + */ + FilteredReadAllEvents.prototype.requireLeader = false; + + /** + * FilteredReadAllEvents filter. + * @member {EventStore.Client.Messages.IFilter} filter + * @memberof EventStore.Client.Messages.FilteredReadAllEvents + * @instance + */ + FilteredReadAllEvents.prototype.filter = null; + + /** + * Creates a new FilteredReadAllEvents instance using the specified properties. + * @function create + * @memberof EventStore.Client.Messages.FilteredReadAllEvents + * @static + * @param {EventStore.Client.Messages.IFilteredReadAllEvents=} [properties] Properties to set + * @returns {EventStore.Client.Messages.FilteredReadAllEvents} FilteredReadAllEvents instance + */ + FilteredReadAllEvents.create = function create(properties) { + return new FilteredReadAllEvents(properties); + }; + + /** + * Encodes the specified FilteredReadAllEvents message. Does not implicitly {@link EventStore.Client.Messages.FilteredReadAllEvents.verify|verify} messages. + * @function encode + * @memberof EventStore.Client.Messages.FilteredReadAllEvents + * @static + * @param {EventStore.Client.Messages.IFilteredReadAllEvents} message FilteredReadAllEvents message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + FilteredReadAllEvents.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + writer.uint32(/* id 1, wireType 0 =*/8).int64(message.commitPosition); + writer.uint32(/* id 2, wireType 0 =*/16).int64(message.preparePosition); + writer.uint32(/* id 3, wireType 0 =*/24).int32(message.maxCount); + if (message.maxSearchWindow != null && Object.hasOwnProperty.call(message, "maxSearchWindow")) + writer.uint32(/* id 4, wireType 0 =*/32).int32(message.maxSearchWindow); + writer.uint32(/* id 5, wireType 0 =*/40).bool(message.resolveLinkTos); + writer.uint32(/* id 6, wireType 0 =*/48).bool(message.requireLeader); + $root.EventStore.Client.Messages.Filter.encode(message.filter, writer.uint32(/* id 7, wireType 2 =*/58).fork()).ldelim(); + return writer; + }; + + /** + * Encodes the specified FilteredReadAllEvents message, length delimited. Does not implicitly {@link EventStore.Client.Messages.FilteredReadAllEvents.verify|verify} messages. + * @function encodeDelimited + * @memberof EventStore.Client.Messages.FilteredReadAllEvents + * @static + * @param {EventStore.Client.Messages.IFilteredReadAllEvents} message FilteredReadAllEvents message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + FilteredReadAllEvents.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a FilteredReadAllEvents message from the specified reader or buffer. + * @function decode + * @memberof EventStore.Client.Messages.FilteredReadAllEvents + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {EventStore.Client.Messages.FilteredReadAllEvents} FilteredReadAllEvents + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + FilteredReadAllEvents.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.EventStore.Client.Messages.FilteredReadAllEvents(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.commitPosition = reader.int64(); + break; + } + case 2: { + message.preparePosition = reader.int64(); + break; + } + case 3: { + message.maxCount = reader.int32(); + break; + } + case 4: { + message.maxSearchWindow = reader.int32(); + break; + } + case 5: { + message.resolveLinkTos = reader.bool(); + break; + } + case 6: { + message.requireLeader = reader.bool(); + break; + } + case 7: { + message.filter = $root.EventStore.Client.Messages.Filter.decode(reader, reader.uint32()); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + if (!message.hasOwnProperty("commitPosition")) + throw $util.ProtocolError("missing required 'commitPosition'", { instance: message }); + if (!message.hasOwnProperty("preparePosition")) + throw $util.ProtocolError("missing required 'preparePosition'", { instance: message }); + if (!message.hasOwnProperty("maxCount")) + throw $util.ProtocolError("missing required 'maxCount'", { instance: message }); + if (!message.hasOwnProperty("resolveLinkTos")) + throw $util.ProtocolError("missing required 'resolveLinkTos'", { instance: message }); + if (!message.hasOwnProperty("requireLeader")) + throw $util.ProtocolError("missing required 'requireLeader'", { instance: message }); + if (!message.hasOwnProperty("filter")) + throw $util.ProtocolError("missing required 'filter'", { instance: message }); + return message; + }; + + /** + * Decodes a FilteredReadAllEvents message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof EventStore.Client.Messages.FilteredReadAllEvents + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {EventStore.Client.Messages.FilteredReadAllEvents} FilteredReadAllEvents + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + FilteredReadAllEvents.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a FilteredReadAllEvents message. + * @function verify + * @memberof EventStore.Client.Messages.FilteredReadAllEvents + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + FilteredReadAllEvents.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (!$util.isInteger(message.commitPosition) && !(message.commitPosition && $util.isInteger(message.commitPosition.low) && $util.isInteger(message.commitPosition.high))) + return "commitPosition: integer|Long expected"; + if (!$util.isInteger(message.preparePosition) && !(message.preparePosition && $util.isInteger(message.preparePosition.low) && $util.isInteger(message.preparePosition.high))) + return "preparePosition: integer|Long expected"; + if (!$util.isInteger(message.maxCount)) + return "maxCount: integer expected"; + if (message.maxSearchWindow != null && message.hasOwnProperty("maxSearchWindow")) + if (!$util.isInteger(message.maxSearchWindow)) + return "maxSearchWindow: integer expected"; + if (typeof message.resolveLinkTos !== "boolean") + return "resolveLinkTos: boolean expected"; + if (typeof message.requireLeader !== "boolean") + return "requireLeader: boolean expected"; + { + var error = $root.EventStore.Client.Messages.Filter.verify(message.filter); + if (error) + return "filter." + error; + } + return null; + }; + + /** + * Creates a FilteredReadAllEvents message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof EventStore.Client.Messages.FilteredReadAllEvents + * @static + * @param {Object.} object Plain object + * @returns {EventStore.Client.Messages.FilteredReadAllEvents} FilteredReadAllEvents + */ + FilteredReadAllEvents.fromObject = function fromObject(object) { + if (object instanceof $root.EventStore.Client.Messages.FilteredReadAllEvents) + return object; + var message = new $root.EventStore.Client.Messages.FilteredReadAllEvents(); + if (object.commitPosition != null) + if ($util.Long) + (message.commitPosition = $util.Long.fromValue(object.commitPosition)).unsigned = false; + else if (typeof object.commitPosition === "string") + message.commitPosition = parseInt(object.commitPosition, 10); + else if (typeof object.commitPosition === "number") + message.commitPosition = object.commitPosition; + else if (typeof object.commitPosition === "object") + message.commitPosition = new $util.LongBits(object.commitPosition.low >>> 0, object.commitPosition.high >>> 0).toNumber(); + if (object.preparePosition != null) + if ($util.Long) + (message.preparePosition = $util.Long.fromValue(object.preparePosition)).unsigned = false; + else if (typeof object.preparePosition === "string") + message.preparePosition = parseInt(object.preparePosition, 10); + else if (typeof object.preparePosition === "number") + message.preparePosition = object.preparePosition; + else if (typeof object.preparePosition === "object") + message.preparePosition = new $util.LongBits(object.preparePosition.low >>> 0, object.preparePosition.high >>> 0).toNumber(); + if (object.maxCount != null) + message.maxCount = object.maxCount | 0; + if (object.maxSearchWindow != null) + message.maxSearchWindow = object.maxSearchWindow | 0; + if (object.resolveLinkTos != null) + message.resolveLinkTos = Boolean(object.resolveLinkTos); + if (object.requireLeader != null) + message.requireLeader = Boolean(object.requireLeader); + if (object.filter != null) { + if (typeof object.filter !== "object") + throw TypeError(".EventStore.Client.Messages.FilteredReadAllEvents.filter: object expected"); + message.filter = $root.EventStore.Client.Messages.Filter.fromObject(object.filter); + } + return message; + }; + + /** + * Creates a plain object from a FilteredReadAllEvents message. Also converts values to other types if specified. + * @function toObject + * @memberof EventStore.Client.Messages.FilteredReadAllEvents + * @static + * @param {EventStore.Client.Messages.FilteredReadAllEvents} message FilteredReadAllEvents + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + FilteredReadAllEvents.toObject = function toObject(message, options) { + if (!options) + options = {}; + var object = {}; + if (options.defaults) { + if ($util.Long) { + var long = new $util.Long(0, 0, false); + object.commitPosition = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long; + } else + object.commitPosition = options.longs === String ? "0" : 0; + if ($util.Long) { + var long = new $util.Long(0, 0, false); + object.preparePosition = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long; + } else + object.preparePosition = options.longs === String ? "0" : 0; + object.maxCount = 0; + object.maxSearchWindow = 0; + object.resolveLinkTos = false; + object.requireLeader = false; + object.filter = null; + } + if (message.commitPosition != null && message.hasOwnProperty("commitPosition")) + if (typeof message.commitPosition === "number") + object.commitPosition = options.longs === String ? String(message.commitPosition) : message.commitPosition; + else + object.commitPosition = options.longs === String ? $util.Long.prototype.toString.call(message.commitPosition) : options.longs === Number ? new $util.LongBits(message.commitPosition.low >>> 0, message.commitPosition.high >>> 0).toNumber() : message.commitPosition; + if (message.preparePosition != null && message.hasOwnProperty("preparePosition")) + if (typeof message.preparePosition === "number") + object.preparePosition = options.longs === String ? String(message.preparePosition) : message.preparePosition; + else + object.preparePosition = options.longs === String ? $util.Long.prototype.toString.call(message.preparePosition) : options.longs === Number ? new $util.LongBits(message.preparePosition.low >>> 0, message.preparePosition.high >>> 0).toNumber() : message.preparePosition; + if (message.maxCount != null && message.hasOwnProperty("maxCount")) + object.maxCount = message.maxCount; + if (message.maxSearchWindow != null && message.hasOwnProperty("maxSearchWindow")) + object.maxSearchWindow = message.maxSearchWindow; + if (message.resolveLinkTos != null && message.hasOwnProperty("resolveLinkTos")) + object.resolveLinkTos = message.resolveLinkTos; + if (message.requireLeader != null && message.hasOwnProperty("requireLeader")) + object.requireLeader = message.requireLeader; + if (message.filter != null && message.hasOwnProperty("filter")) + object.filter = $root.EventStore.Client.Messages.Filter.toObject(message.filter, options); + return object; + }; + + /** + * Converts this FilteredReadAllEvents to JSON. + * @function toJSON + * @memberof EventStore.Client.Messages.FilteredReadAllEvents + * @instance + * @returns {Object.} JSON object + */ + FilteredReadAllEvents.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for FilteredReadAllEvents + * @function getTypeUrl + * @memberof EventStore.Client.Messages.FilteredReadAllEvents + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + FilteredReadAllEvents.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/EventStore.Client.Messages.FilteredReadAllEvents"; + }; + + return FilteredReadAllEvents; + })(); + + Messages.FilteredReadAllEventsCompleted = (function() { + + /** + * Properties of a FilteredReadAllEventsCompleted. + * @memberof EventStore.Client.Messages + * @interface IFilteredReadAllEventsCompleted + * @property {Long} commitPosition FilteredReadAllEventsCompleted commitPosition + * @property {Long} preparePosition FilteredReadAllEventsCompleted preparePosition + * @property {Array.|null} [events] FilteredReadAllEventsCompleted events + * @property {Long} nextCommitPosition FilteredReadAllEventsCompleted nextCommitPosition + * @property {Long} nextPreparePosition FilteredReadAllEventsCompleted nextPreparePosition + * @property {boolean} isEndOfStream FilteredReadAllEventsCompleted isEndOfStream + * @property {EventStore.Client.Messages.FilteredReadAllEventsCompleted.FilteredReadAllResult|null} [result] FilteredReadAllEventsCompleted result + * @property {string|null} [error] FilteredReadAllEventsCompleted error + */ + + /** + * Constructs a new FilteredReadAllEventsCompleted. + * @memberof EventStore.Client.Messages + * @classdesc Represents a FilteredReadAllEventsCompleted. + * @implements IFilteredReadAllEventsCompleted + * @constructor + * @param {EventStore.Client.Messages.IFilteredReadAllEventsCompleted=} [properties] Properties to set + */ + function FilteredReadAllEventsCompleted(properties) { + this.events = []; + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + + /** + * FilteredReadAllEventsCompleted commitPosition. + * @member {Long} commitPosition + * @memberof EventStore.Client.Messages.FilteredReadAllEventsCompleted + * @instance + */ + FilteredReadAllEventsCompleted.prototype.commitPosition = $util.Long ? $util.Long.fromBits(0,0,false) : 0; + + /** + * FilteredReadAllEventsCompleted preparePosition. + * @member {Long} preparePosition + * @memberof EventStore.Client.Messages.FilteredReadAllEventsCompleted + * @instance + */ + FilteredReadAllEventsCompleted.prototype.preparePosition = $util.Long ? $util.Long.fromBits(0,0,false) : 0; + + /** + * FilteredReadAllEventsCompleted events. + * @member {Array.} events + * @memberof EventStore.Client.Messages.FilteredReadAllEventsCompleted + * @instance + */ + FilteredReadAllEventsCompleted.prototype.events = $util.emptyArray; + + /** + * FilteredReadAllEventsCompleted nextCommitPosition. + * @member {Long} nextCommitPosition + * @memberof EventStore.Client.Messages.FilteredReadAllEventsCompleted + * @instance + */ + FilteredReadAllEventsCompleted.prototype.nextCommitPosition = $util.Long ? $util.Long.fromBits(0,0,false) : 0; + + /** + * FilteredReadAllEventsCompleted nextPreparePosition. + * @member {Long} nextPreparePosition + * @memberof EventStore.Client.Messages.FilteredReadAllEventsCompleted + * @instance + */ + FilteredReadAllEventsCompleted.prototype.nextPreparePosition = $util.Long ? $util.Long.fromBits(0,0,false) : 0; + + /** + * FilteredReadAllEventsCompleted isEndOfStream. + * @member {boolean} isEndOfStream + * @memberof EventStore.Client.Messages.FilteredReadAllEventsCompleted + * @instance + */ + FilteredReadAllEventsCompleted.prototype.isEndOfStream = false; + + /** + * FilteredReadAllEventsCompleted result. + * @member {EventStore.Client.Messages.FilteredReadAllEventsCompleted.FilteredReadAllResult} result + * @memberof EventStore.Client.Messages.FilteredReadAllEventsCompleted + * @instance + */ + FilteredReadAllEventsCompleted.prototype.result = 0; + + /** + * FilteredReadAllEventsCompleted error. + * @member {string} error + * @memberof EventStore.Client.Messages.FilteredReadAllEventsCompleted + * @instance + */ + FilteredReadAllEventsCompleted.prototype.error = ""; + + /** + * Creates a new FilteredReadAllEventsCompleted instance using the specified properties. + * @function create + * @memberof EventStore.Client.Messages.FilteredReadAllEventsCompleted + * @static + * @param {EventStore.Client.Messages.IFilteredReadAllEventsCompleted=} [properties] Properties to set + * @returns {EventStore.Client.Messages.FilteredReadAllEventsCompleted} FilteredReadAllEventsCompleted instance + */ + FilteredReadAllEventsCompleted.create = function create(properties) { + return new FilteredReadAllEventsCompleted(properties); + }; + + /** + * Encodes the specified FilteredReadAllEventsCompleted message. Does not implicitly {@link EventStore.Client.Messages.FilteredReadAllEventsCompleted.verify|verify} messages. + * @function encode + * @memberof EventStore.Client.Messages.FilteredReadAllEventsCompleted + * @static + * @param {EventStore.Client.Messages.IFilteredReadAllEventsCompleted} message FilteredReadAllEventsCompleted message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + FilteredReadAllEventsCompleted.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + writer.uint32(/* id 1, wireType 0 =*/8).int64(message.commitPosition); + writer.uint32(/* id 2, wireType 0 =*/16).int64(message.preparePosition); + if (message.events != null && message.events.length) + for (var i = 0; i < message.events.length; ++i) + $root.EventStore.Client.Messages.ResolvedEvent.encode(message.events[i], writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim(); + writer.uint32(/* id 4, wireType 0 =*/32).int64(message.nextCommitPosition); + writer.uint32(/* id 5, wireType 0 =*/40).int64(message.nextPreparePosition); + writer.uint32(/* id 6, wireType 0 =*/48).bool(message.isEndOfStream); + if (message.result != null && Object.hasOwnProperty.call(message, "result")) + writer.uint32(/* id 7, wireType 0 =*/56).int32(message.result); + if (message.error != null && Object.hasOwnProperty.call(message, "error")) + writer.uint32(/* id 8, wireType 2 =*/66).string(message.error); + return writer; + }; + + /** + * Encodes the specified FilteredReadAllEventsCompleted message, length delimited. Does not implicitly {@link EventStore.Client.Messages.FilteredReadAllEventsCompleted.verify|verify} messages. + * @function encodeDelimited + * @memberof EventStore.Client.Messages.FilteredReadAllEventsCompleted + * @static + * @param {EventStore.Client.Messages.IFilteredReadAllEventsCompleted} message FilteredReadAllEventsCompleted message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + FilteredReadAllEventsCompleted.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a FilteredReadAllEventsCompleted message from the specified reader or buffer. + * @function decode + * @memberof EventStore.Client.Messages.FilteredReadAllEventsCompleted + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {EventStore.Client.Messages.FilteredReadAllEventsCompleted} FilteredReadAllEventsCompleted + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + FilteredReadAllEventsCompleted.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.EventStore.Client.Messages.FilteredReadAllEventsCompleted(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.commitPosition = reader.int64(); + break; + } + case 2: { + message.preparePosition = reader.int64(); + break; + } + case 3: { + if (!(message.events && message.events.length)) + message.events = []; + message.events.push($root.EventStore.Client.Messages.ResolvedEvent.decode(reader, reader.uint32())); + break; + } + case 4: { + message.nextCommitPosition = reader.int64(); + break; + } + case 5: { + message.nextPreparePosition = reader.int64(); + break; + } + case 6: { + message.isEndOfStream = reader.bool(); + break; + } + case 7: { + message.result = reader.int32(); + break; + } + case 8: { + message.error = reader.string(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + if (!message.hasOwnProperty("commitPosition")) + throw $util.ProtocolError("missing required 'commitPosition'", { instance: message }); + if (!message.hasOwnProperty("preparePosition")) + throw $util.ProtocolError("missing required 'preparePosition'", { instance: message }); + if (!message.hasOwnProperty("nextCommitPosition")) + throw $util.ProtocolError("missing required 'nextCommitPosition'", { instance: message }); + if (!message.hasOwnProperty("nextPreparePosition")) + throw $util.ProtocolError("missing required 'nextPreparePosition'", { instance: message }); + if (!message.hasOwnProperty("isEndOfStream")) + throw $util.ProtocolError("missing required 'isEndOfStream'", { instance: message }); + return message; + }; + + /** + * Decodes a FilteredReadAllEventsCompleted message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof EventStore.Client.Messages.FilteredReadAllEventsCompleted + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {EventStore.Client.Messages.FilteredReadAllEventsCompleted} FilteredReadAllEventsCompleted + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + FilteredReadAllEventsCompleted.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a FilteredReadAllEventsCompleted message. + * @function verify + * @memberof EventStore.Client.Messages.FilteredReadAllEventsCompleted + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + FilteredReadAllEventsCompleted.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (!$util.isInteger(message.commitPosition) && !(message.commitPosition && $util.isInteger(message.commitPosition.low) && $util.isInteger(message.commitPosition.high))) + return "commitPosition: integer|Long expected"; + if (!$util.isInteger(message.preparePosition) && !(message.preparePosition && $util.isInteger(message.preparePosition.low) && $util.isInteger(message.preparePosition.high))) + return "preparePosition: integer|Long expected"; + if (message.events != null && message.hasOwnProperty("events")) { + if (!Array.isArray(message.events)) + return "events: array expected"; + for (var i = 0; i < message.events.length; ++i) { + var error = $root.EventStore.Client.Messages.ResolvedEvent.verify(message.events[i]); + if (error) + return "events." + error; + } + } + if (!$util.isInteger(message.nextCommitPosition) && !(message.nextCommitPosition && $util.isInteger(message.nextCommitPosition.low) && $util.isInteger(message.nextCommitPosition.high))) + return "nextCommitPosition: integer|Long expected"; + if (!$util.isInteger(message.nextPreparePosition) && !(message.nextPreparePosition && $util.isInteger(message.nextPreparePosition.low) && $util.isInteger(message.nextPreparePosition.high))) + return "nextPreparePosition: integer|Long expected"; + if (typeof message.isEndOfStream !== "boolean") + return "isEndOfStream: boolean expected"; + if (message.result != null && message.hasOwnProperty("result")) + switch (message.result) { + default: + return "result: enum value expected"; + case 0: + case 1: + case 2: + case 3: + break; + } + if (message.error != null && message.hasOwnProperty("error")) + if (!$util.isString(message.error)) + return "error: string expected"; + return null; + }; + + /** + * Creates a FilteredReadAllEventsCompleted message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof EventStore.Client.Messages.FilteredReadAllEventsCompleted + * @static + * @param {Object.} object Plain object + * @returns {EventStore.Client.Messages.FilteredReadAllEventsCompleted} FilteredReadAllEventsCompleted + */ + FilteredReadAllEventsCompleted.fromObject = function fromObject(object) { + if (object instanceof $root.EventStore.Client.Messages.FilteredReadAllEventsCompleted) + return object; + var message = new $root.EventStore.Client.Messages.FilteredReadAllEventsCompleted(); + if (object.commitPosition != null) + if ($util.Long) + (message.commitPosition = $util.Long.fromValue(object.commitPosition)).unsigned = false; + else if (typeof object.commitPosition === "string") + message.commitPosition = parseInt(object.commitPosition, 10); + else if (typeof object.commitPosition === "number") + message.commitPosition = object.commitPosition; + else if (typeof object.commitPosition === "object") + message.commitPosition = new $util.LongBits(object.commitPosition.low >>> 0, object.commitPosition.high >>> 0).toNumber(); + if (object.preparePosition != null) + if ($util.Long) + (message.preparePosition = $util.Long.fromValue(object.preparePosition)).unsigned = false; + else if (typeof object.preparePosition === "string") + message.preparePosition = parseInt(object.preparePosition, 10); + else if (typeof object.preparePosition === "number") + message.preparePosition = object.preparePosition; + else if (typeof object.preparePosition === "object") + message.preparePosition = new $util.LongBits(object.preparePosition.low >>> 0, object.preparePosition.high >>> 0).toNumber(); + if (object.events) { + if (!Array.isArray(object.events)) + throw TypeError(".EventStore.Client.Messages.FilteredReadAllEventsCompleted.events: array expected"); + message.events = []; + for (var i = 0; i < object.events.length; ++i) { + if (typeof object.events[i] !== "object") + throw TypeError(".EventStore.Client.Messages.FilteredReadAllEventsCompleted.events: object expected"); + message.events[i] = $root.EventStore.Client.Messages.ResolvedEvent.fromObject(object.events[i]); + } + } + if (object.nextCommitPosition != null) + if ($util.Long) + (message.nextCommitPosition = $util.Long.fromValue(object.nextCommitPosition)).unsigned = false; + else if (typeof object.nextCommitPosition === "string") + message.nextCommitPosition = parseInt(object.nextCommitPosition, 10); + else if (typeof object.nextCommitPosition === "number") + message.nextCommitPosition = object.nextCommitPosition; + else if (typeof object.nextCommitPosition === "object") + message.nextCommitPosition = new $util.LongBits(object.nextCommitPosition.low >>> 0, object.nextCommitPosition.high >>> 0).toNumber(); + if (object.nextPreparePosition != null) + if ($util.Long) + (message.nextPreparePosition = $util.Long.fromValue(object.nextPreparePosition)).unsigned = false; + else if (typeof object.nextPreparePosition === "string") + message.nextPreparePosition = parseInt(object.nextPreparePosition, 10); + else if (typeof object.nextPreparePosition === "number") + message.nextPreparePosition = object.nextPreparePosition; + else if (typeof object.nextPreparePosition === "object") + message.nextPreparePosition = new $util.LongBits(object.nextPreparePosition.low >>> 0, object.nextPreparePosition.high >>> 0).toNumber(); + if (object.isEndOfStream != null) + message.isEndOfStream = Boolean(object.isEndOfStream); + switch (object.result) { + default: + if (typeof object.result === "number") { + message.result = object.result; + break; + } + break; + case "Success": + case 0: + message.result = 0; + break; + case "NotModified": + case 1: + message.result = 1; + break; + case "Error": + case 2: + message.result = 2; + break; + case "AccessDenied": + case 3: + message.result = 3; + break; + } + if (object.error != null) + message.error = String(object.error); + return message; + }; + + /** + * Creates a plain object from a FilteredReadAllEventsCompleted message. Also converts values to other types if specified. + * @function toObject + * @memberof EventStore.Client.Messages.FilteredReadAllEventsCompleted + * @static + * @param {EventStore.Client.Messages.FilteredReadAllEventsCompleted} message FilteredReadAllEventsCompleted + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + FilteredReadAllEventsCompleted.toObject = function toObject(message, options) { + if (!options) + options = {}; + var object = {}; + if (options.arrays || options.defaults) + object.events = []; + if (options.defaults) { + if ($util.Long) { + var long = new $util.Long(0, 0, false); + object.commitPosition = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long; + } else + object.commitPosition = options.longs === String ? "0" : 0; + if ($util.Long) { + var long = new $util.Long(0, 0, false); + object.preparePosition = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long; + } else + object.preparePosition = options.longs === String ? "0" : 0; + if ($util.Long) { + var long = new $util.Long(0, 0, false); + object.nextCommitPosition = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long; + } else + object.nextCommitPosition = options.longs === String ? "0" : 0; + if ($util.Long) { + var long = new $util.Long(0, 0, false); + object.nextPreparePosition = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long; + } else + object.nextPreparePosition = options.longs === String ? "0" : 0; + object.isEndOfStream = false; + object.result = options.enums === String ? "Success" : 0; + object.error = ""; + } + if (message.commitPosition != null && message.hasOwnProperty("commitPosition")) + if (typeof message.commitPosition === "number") + object.commitPosition = options.longs === String ? String(message.commitPosition) : message.commitPosition; + else + object.commitPosition = options.longs === String ? $util.Long.prototype.toString.call(message.commitPosition) : options.longs === Number ? new $util.LongBits(message.commitPosition.low >>> 0, message.commitPosition.high >>> 0).toNumber() : message.commitPosition; + if (message.preparePosition != null && message.hasOwnProperty("preparePosition")) + if (typeof message.preparePosition === "number") + object.preparePosition = options.longs === String ? String(message.preparePosition) : message.preparePosition; + else + object.preparePosition = options.longs === String ? $util.Long.prototype.toString.call(message.preparePosition) : options.longs === Number ? new $util.LongBits(message.preparePosition.low >>> 0, message.preparePosition.high >>> 0).toNumber() : message.preparePosition; + if (message.events && message.events.length) { + object.events = []; + for (var j = 0; j < message.events.length; ++j) + object.events[j] = $root.EventStore.Client.Messages.ResolvedEvent.toObject(message.events[j], options); + } + if (message.nextCommitPosition != null && message.hasOwnProperty("nextCommitPosition")) + if (typeof message.nextCommitPosition === "number") + object.nextCommitPosition = options.longs === String ? String(message.nextCommitPosition) : message.nextCommitPosition; + else + object.nextCommitPosition = options.longs === String ? $util.Long.prototype.toString.call(message.nextCommitPosition) : options.longs === Number ? new $util.LongBits(message.nextCommitPosition.low >>> 0, message.nextCommitPosition.high >>> 0).toNumber() : message.nextCommitPosition; + if (message.nextPreparePosition != null && message.hasOwnProperty("nextPreparePosition")) + if (typeof message.nextPreparePosition === "number") + object.nextPreparePosition = options.longs === String ? String(message.nextPreparePosition) : message.nextPreparePosition; + else + object.nextPreparePosition = options.longs === String ? $util.Long.prototype.toString.call(message.nextPreparePosition) : options.longs === Number ? new $util.LongBits(message.nextPreparePosition.low >>> 0, message.nextPreparePosition.high >>> 0).toNumber() : message.nextPreparePosition; + if (message.isEndOfStream != null && message.hasOwnProperty("isEndOfStream")) + object.isEndOfStream = message.isEndOfStream; + if (message.result != null && message.hasOwnProperty("result")) + object.result = options.enums === String ? $root.EventStore.Client.Messages.FilteredReadAllEventsCompleted.FilteredReadAllResult[message.result] === undefined ? message.result : $root.EventStore.Client.Messages.FilteredReadAllEventsCompleted.FilteredReadAllResult[message.result] : message.result; + if (message.error != null && message.hasOwnProperty("error")) + object.error = message.error; + return object; + }; + + /** + * Converts this FilteredReadAllEventsCompleted to JSON. + * @function toJSON + * @memberof EventStore.Client.Messages.FilteredReadAllEventsCompleted + * @instance + * @returns {Object.} JSON object + */ + FilteredReadAllEventsCompleted.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for FilteredReadAllEventsCompleted + * @function getTypeUrl + * @memberof EventStore.Client.Messages.FilteredReadAllEventsCompleted + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + FilteredReadAllEventsCompleted.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/EventStore.Client.Messages.FilteredReadAllEventsCompleted"; + }; + + /** + * FilteredReadAllResult enum. + * @name EventStore.Client.Messages.FilteredReadAllEventsCompleted.FilteredReadAllResult + * @enum {number} + * @property {number} Success=0 Success value + * @property {number} NotModified=1 NotModified value + * @property {number} Error=2 Error value + * @property {number} AccessDenied=3 AccessDenied value + */ + FilteredReadAllEventsCompleted.FilteredReadAllResult = (function() { + var valuesById = {}, values = Object.create(valuesById); + values[valuesById[0] = "Success"] = 0; + values[valuesById[1] = "NotModified"] = 1; + values[valuesById[2] = "Error"] = 2; + values[valuesById[3] = "AccessDenied"] = 3; + return values; + })(); + + return FilteredReadAllEventsCompleted; + })(); + Messages.CreatePersistentSubscription = (function() { - + /** * Properties of a CreatePersistentSubscription. * @memberof EventStore.Client.Messages @@ -6476,7 +8150,7 @@ * @property {string} subscriptionGroupName CreatePersistentSubscription subscriptionGroupName * @property {string} eventStreamId CreatePersistentSubscription eventStreamId * @property {boolean} resolveLinkTos CreatePersistentSubscription resolveLinkTos - * @property {number|Long} startFrom CreatePersistentSubscription startFrom + * @property {Long} startFrom CreatePersistentSubscription startFrom * @property {number} messageTimeoutMilliseconds CreatePersistentSubscription messageTimeoutMilliseconds * @property {boolean} recordStatistics CreatePersistentSubscription recordStatistics * @property {number} liveBufferSize CreatePersistentSubscription liveBufferSize @@ -6490,7 +8164,7 @@ * @property {number} subscriberMaxCount CreatePersistentSubscription subscriberMaxCount * @property {string|null} [namedConsumerStrategy] CreatePersistentSubscription namedConsumerStrategy */ - + /** * Constructs a new CreatePersistentSubscription. * @memberof EventStore.Client.Messages @@ -6505,7 +8179,7 @@ if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; } - + /** * CreatePersistentSubscription subscriptionGroupName. * @member {string} subscriptionGroupName @@ -6513,7 +8187,7 @@ * @instance */ CreatePersistentSubscription.prototype.subscriptionGroupName = ""; - + /** * CreatePersistentSubscription eventStreamId. * @member {string} eventStreamId @@ -6521,7 +8195,7 @@ * @instance */ CreatePersistentSubscription.prototype.eventStreamId = ""; - + /** * CreatePersistentSubscription resolveLinkTos. * @member {boolean} resolveLinkTos @@ -6529,15 +8203,15 @@ * @instance */ CreatePersistentSubscription.prototype.resolveLinkTos = false; - + /** * CreatePersistentSubscription startFrom. - * @member {number|Long} startFrom + * @member {Long} startFrom * @memberof EventStore.Client.Messages.CreatePersistentSubscription * @instance */ CreatePersistentSubscription.prototype.startFrom = $util.Long ? $util.Long.fromBits(0,0,false) : 0; - + /** * CreatePersistentSubscription messageTimeoutMilliseconds. * @member {number} messageTimeoutMilliseconds @@ -6545,7 +8219,7 @@ * @instance */ CreatePersistentSubscription.prototype.messageTimeoutMilliseconds = 0; - + /** * CreatePersistentSubscription recordStatistics. * @member {boolean} recordStatistics @@ -6553,7 +8227,7 @@ * @instance */ CreatePersistentSubscription.prototype.recordStatistics = false; - + /** * CreatePersistentSubscription liveBufferSize. * @member {number} liveBufferSize @@ -6561,7 +8235,7 @@ * @instance */ CreatePersistentSubscription.prototype.liveBufferSize = 0; - + /** * CreatePersistentSubscription readBatchSize. * @member {number} readBatchSize @@ -6569,7 +8243,7 @@ * @instance */ CreatePersistentSubscription.prototype.readBatchSize = 0; - + /** * CreatePersistentSubscription bufferSize. * @member {number} bufferSize @@ -6577,7 +8251,7 @@ * @instance */ CreatePersistentSubscription.prototype.bufferSize = 0; - + /** * CreatePersistentSubscription maxRetryCount. * @member {number} maxRetryCount @@ -6585,7 +8259,7 @@ * @instance */ CreatePersistentSubscription.prototype.maxRetryCount = 0; - + /** * CreatePersistentSubscription preferRoundRobin. * @member {boolean} preferRoundRobin @@ -6593,7 +8267,7 @@ * @instance */ CreatePersistentSubscription.prototype.preferRoundRobin = false; - + /** * CreatePersistentSubscription checkpointAfterTime. * @member {number} checkpointAfterTime @@ -6601,7 +8275,7 @@ * @instance */ CreatePersistentSubscription.prototype.checkpointAfterTime = 0; - + /** * CreatePersistentSubscription checkpointMaxCount. * @member {number} checkpointMaxCount @@ -6609,7 +8283,7 @@ * @instance */ CreatePersistentSubscription.prototype.checkpointMaxCount = 0; - + /** * CreatePersistentSubscription checkpointMinCount. * @member {number} checkpointMinCount @@ -6617,7 +8291,7 @@ * @instance */ CreatePersistentSubscription.prototype.checkpointMinCount = 0; - + /** * CreatePersistentSubscription subscriberMaxCount. * @member {number} subscriberMaxCount @@ -6625,7 +8299,7 @@ * @instance */ CreatePersistentSubscription.prototype.subscriberMaxCount = 0; - + /** * CreatePersistentSubscription namedConsumerStrategy. * @member {string} namedConsumerStrategy @@ -6633,7 +8307,7 @@ * @instance */ CreatePersistentSubscription.prototype.namedConsumerStrategy = ""; - + /** * Creates a new CreatePersistentSubscription instance using the specified properties. * @function create @@ -6645,7 +8319,7 @@ CreatePersistentSubscription.create = function create(properties) { return new CreatePersistentSubscription(properties); }; - + /** * Encodes the specified CreatePersistentSubscription message. Does not implicitly {@link EventStore.Client.Messages.CreatePersistentSubscription.verify|verify} messages. * @function encode @@ -6673,11 +8347,11 @@ writer.uint32(/* id 13, wireType 0 =*/104).int32(message.checkpointMaxCount); writer.uint32(/* id 14, wireType 0 =*/112).int32(message.checkpointMinCount); writer.uint32(/* id 15, wireType 0 =*/120).int32(message.subscriberMaxCount); - if (message.namedConsumerStrategy != null && message.hasOwnProperty("namedConsumerStrategy")) + if (message.namedConsumerStrategy != null && Object.hasOwnProperty.call(message, "namedConsumerStrategy")) writer.uint32(/* id 16, wireType 2 =*/130).string(message.namedConsumerStrategy); return writer; }; - + /** * Encodes the specified CreatePersistentSubscription message, length delimited. Does not implicitly {@link EventStore.Client.Messages.CreatePersistentSubscription.verify|verify} messages. * @function encodeDelimited @@ -6690,7 +8364,7 @@ CreatePersistentSubscription.encodeDelimited = function encodeDelimited(message, writer) { return this.encode(message, writer).ldelim(); }; - + /** * Decodes a CreatePersistentSubscription message from the specified reader or buffer. * @function decode @@ -6709,54 +8383,70 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.subscriptionGroupName = reader.string(); - break; - case 2: - message.eventStreamId = reader.string(); - break; - case 3: - message.resolveLinkTos = reader.bool(); - break; - case 4: - message.startFrom = reader.int64(); - break; - case 5: - message.messageTimeoutMilliseconds = reader.int32(); - break; - case 6: - message.recordStatistics = reader.bool(); - break; - case 7: - message.liveBufferSize = reader.int32(); - break; - case 8: - message.readBatchSize = reader.int32(); - break; - case 9: - message.bufferSize = reader.int32(); - break; - case 10: - message.maxRetryCount = reader.int32(); - break; - case 11: - message.preferRoundRobin = reader.bool(); - break; - case 12: - message.checkpointAfterTime = reader.int32(); - break; - case 13: - message.checkpointMaxCount = reader.int32(); - break; - case 14: - message.checkpointMinCount = reader.int32(); - break; - case 15: - message.subscriberMaxCount = reader.int32(); - break; - case 16: - message.namedConsumerStrategy = reader.string(); - break; + case 1: { + message.subscriptionGroupName = reader.string(); + break; + } + case 2: { + message.eventStreamId = reader.string(); + break; + } + case 3: { + message.resolveLinkTos = reader.bool(); + break; + } + case 4: { + message.startFrom = reader.int64(); + break; + } + case 5: { + message.messageTimeoutMilliseconds = reader.int32(); + break; + } + case 6: { + message.recordStatistics = reader.bool(); + break; + } + case 7: { + message.liveBufferSize = reader.int32(); + break; + } + case 8: { + message.readBatchSize = reader.int32(); + break; + } + case 9: { + message.bufferSize = reader.int32(); + break; + } + case 10: { + message.maxRetryCount = reader.int32(); + break; + } + case 11: { + message.preferRoundRobin = reader.bool(); + break; + } + case 12: { + message.checkpointAfterTime = reader.int32(); + break; + } + case 13: { + message.checkpointMaxCount = reader.int32(); + break; + } + case 14: { + message.checkpointMinCount = reader.int32(); + break; + } + case 15: { + message.subscriberMaxCount = reader.int32(); + break; + } + case 16: { + message.namedConsumerStrategy = reader.string(); + break; + } default: reader.skipType(tag & 7); break; @@ -6794,7 +8484,7 @@ throw $util.ProtocolError("missing required 'subscriberMaxCount'", { instance: message }); return message; }; - + /** * Decodes a CreatePersistentSubscription message from the specified reader or buffer, length delimited. * @function decodeDelimited @@ -6810,7 +8500,7 @@ reader = new $Reader(reader); return this.decode(reader, reader.uint32()); }; - + /** * Verifies a CreatePersistentSubscription message. * @function verify @@ -6857,7 +8547,7 @@ return "namedConsumerStrategy: string expected"; return null; }; - + /** * Creates a CreatePersistentSubscription message from a plain object. Also converts values to their respective internal types. * @function fromObject @@ -6911,7 +8601,7 @@ message.namedConsumerStrategy = String(object.namedConsumerStrategy); return message; }; - + /** * Creates a plain object from a CreatePersistentSubscription message. Also converts values to other types if specified. * @function toObject @@ -6984,7 +8674,7 @@ object.namedConsumerStrategy = message.namedConsumerStrategy; return object; }; - + /** * Converts this CreatePersistentSubscription to JSON. * @function toJSON @@ -6995,12 +8685,27 @@ CreatePersistentSubscription.prototype.toJSON = function toJSON() { return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; - + + /** + * Gets the default type url for CreatePersistentSubscription + * @function getTypeUrl + * @memberof EventStore.Client.Messages.CreatePersistentSubscription + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + CreatePersistentSubscription.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/EventStore.Client.Messages.CreatePersistentSubscription"; + }; + return CreatePersistentSubscription; })(); - + Messages.DeletePersistentSubscription = (function() { - + /** * Properties of a DeletePersistentSubscription. * @memberof EventStore.Client.Messages @@ -7008,7 +8713,7 @@ * @property {string} subscriptionGroupName DeletePersistentSubscription subscriptionGroupName * @property {string} eventStreamId DeletePersistentSubscription eventStreamId */ - + /** * Constructs a new DeletePersistentSubscription. * @memberof EventStore.Client.Messages @@ -7023,7 +8728,7 @@ if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; } - + /** * DeletePersistentSubscription subscriptionGroupName. * @member {string} subscriptionGroupName @@ -7031,7 +8736,7 @@ * @instance */ DeletePersistentSubscription.prototype.subscriptionGroupName = ""; - + /** * DeletePersistentSubscription eventStreamId. * @member {string} eventStreamId @@ -7039,7 +8744,7 @@ * @instance */ DeletePersistentSubscription.prototype.eventStreamId = ""; - + /** * Creates a new DeletePersistentSubscription instance using the specified properties. * @function create @@ -7051,7 +8756,7 @@ DeletePersistentSubscription.create = function create(properties) { return new DeletePersistentSubscription(properties); }; - + /** * Encodes the specified DeletePersistentSubscription message. Does not implicitly {@link EventStore.Client.Messages.DeletePersistentSubscription.verify|verify} messages. * @function encode @@ -7068,7 +8773,7 @@ writer.uint32(/* id 2, wireType 2 =*/18).string(message.eventStreamId); return writer; }; - + /** * Encodes the specified DeletePersistentSubscription message, length delimited. Does not implicitly {@link EventStore.Client.Messages.DeletePersistentSubscription.verify|verify} messages. * @function encodeDelimited @@ -7081,7 +8786,7 @@ DeletePersistentSubscription.encodeDelimited = function encodeDelimited(message, writer) { return this.encode(message, writer).ldelim(); }; - + /** * Decodes a DeletePersistentSubscription message from the specified reader or buffer. * @function decode @@ -7100,12 +8805,14 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.subscriptionGroupName = reader.string(); - break; - case 2: - message.eventStreamId = reader.string(); - break; + case 1: { + message.subscriptionGroupName = reader.string(); + break; + } + case 2: { + message.eventStreamId = reader.string(); + break; + } default: reader.skipType(tag & 7); break; @@ -7117,7 +8824,7 @@ throw $util.ProtocolError("missing required 'eventStreamId'", { instance: message }); return message; }; - + /** * Decodes a DeletePersistentSubscription message from the specified reader or buffer, length delimited. * @function decodeDelimited @@ -7133,7 +8840,7 @@ reader = new $Reader(reader); return this.decode(reader, reader.uint32()); }; - + /** * Verifies a DeletePersistentSubscription message. * @function verify @@ -7151,7 +8858,7 @@ return "eventStreamId: string expected"; return null; }; - + /** * Creates a DeletePersistentSubscription message from a plain object. Also converts values to their respective internal types. * @function fromObject @@ -7170,7 +8877,7 @@ message.eventStreamId = String(object.eventStreamId); return message; }; - + /** * Creates a plain object from a DeletePersistentSubscription message. Also converts values to other types if specified. * @function toObject @@ -7194,7 +8901,7 @@ object.eventStreamId = message.eventStreamId; return object; }; - + /** * Converts this DeletePersistentSubscription to JSON. * @function toJSON @@ -7205,12 +8912,27 @@ DeletePersistentSubscription.prototype.toJSON = function toJSON() { return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; - + + /** + * Gets the default type url for DeletePersistentSubscription + * @function getTypeUrl + * @memberof EventStore.Client.Messages.DeletePersistentSubscription + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + DeletePersistentSubscription.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/EventStore.Client.Messages.DeletePersistentSubscription"; + }; + return DeletePersistentSubscription; })(); - + Messages.UpdatePersistentSubscription = (function() { - + /** * Properties of an UpdatePersistentSubscription. * @memberof EventStore.Client.Messages @@ -7218,7 +8940,7 @@ * @property {string} subscriptionGroupName UpdatePersistentSubscription subscriptionGroupName * @property {string} eventStreamId UpdatePersistentSubscription eventStreamId * @property {boolean} resolveLinkTos UpdatePersistentSubscription resolveLinkTos - * @property {number|Long} startFrom UpdatePersistentSubscription startFrom + * @property {Long} startFrom UpdatePersistentSubscription startFrom * @property {number} messageTimeoutMilliseconds UpdatePersistentSubscription messageTimeoutMilliseconds * @property {boolean} recordStatistics UpdatePersistentSubscription recordStatistics * @property {number} liveBufferSize UpdatePersistentSubscription liveBufferSize @@ -7232,7 +8954,7 @@ * @property {number} subscriberMaxCount UpdatePersistentSubscription subscriberMaxCount * @property {string|null} [namedConsumerStrategy] UpdatePersistentSubscription namedConsumerStrategy */ - + /** * Constructs a new UpdatePersistentSubscription. * @memberof EventStore.Client.Messages @@ -7247,7 +8969,7 @@ if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; } - + /** * UpdatePersistentSubscription subscriptionGroupName. * @member {string} subscriptionGroupName @@ -7255,7 +8977,7 @@ * @instance */ UpdatePersistentSubscription.prototype.subscriptionGroupName = ""; - + /** * UpdatePersistentSubscription eventStreamId. * @member {string} eventStreamId @@ -7263,7 +8985,7 @@ * @instance */ UpdatePersistentSubscription.prototype.eventStreamId = ""; - + /** * UpdatePersistentSubscription resolveLinkTos. * @member {boolean} resolveLinkTos @@ -7271,15 +8993,15 @@ * @instance */ UpdatePersistentSubscription.prototype.resolveLinkTos = false; - + /** * UpdatePersistentSubscription startFrom. - * @member {number|Long} startFrom + * @member {Long} startFrom * @memberof EventStore.Client.Messages.UpdatePersistentSubscription * @instance */ UpdatePersistentSubscription.prototype.startFrom = $util.Long ? $util.Long.fromBits(0,0,false) : 0; - + /** * UpdatePersistentSubscription messageTimeoutMilliseconds. * @member {number} messageTimeoutMilliseconds @@ -7287,7 +9009,7 @@ * @instance */ UpdatePersistentSubscription.prototype.messageTimeoutMilliseconds = 0; - + /** * UpdatePersistentSubscription recordStatistics. * @member {boolean} recordStatistics @@ -7295,7 +9017,7 @@ * @instance */ UpdatePersistentSubscription.prototype.recordStatistics = false; - + /** * UpdatePersistentSubscription liveBufferSize. * @member {number} liveBufferSize @@ -7303,7 +9025,7 @@ * @instance */ UpdatePersistentSubscription.prototype.liveBufferSize = 0; - + /** * UpdatePersistentSubscription readBatchSize. * @member {number} readBatchSize @@ -7311,7 +9033,7 @@ * @instance */ UpdatePersistentSubscription.prototype.readBatchSize = 0; - + /** * UpdatePersistentSubscription bufferSize. * @member {number} bufferSize @@ -7319,7 +9041,7 @@ * @instance */ UpdatePersistentSubscription.prototype.bufferSize = 0; - + /** * UpdatePersistentSubscription maxRetryCount. * @member {number} maxRetryCount @@ -7327,7 +9049,7 @@ * @instance */ UpdatePersistentSubscription.prototype.maxRetryCount = 0; - + /** * UpdatePersistentSubscription preferRoundRobin. * @member {boolean} preferRoundRobin @@ -7335,7 +9057,7 @@ * @instance */ UpdatePersistentSubscription.prototype.preferRoundRobin = false; - + /** * UpdatePersistentSubscription checkpointAfterTime. * @member {number} checkpointAfterTime @@ -7343,7 +9065,7 @@ * @instance */ UpdatePersistentSubscription.prototype.checkpointAfterTime = 0; - + /** * UpdatePersistentSubscription checkpointMaxCount. * @member {number} checkpointMaxCount @@ -7351,7 +9073,7 @@ * @instance */ UpdatePersistentSubscription.prototype.checkpointMaxCount = 0; - + /** * UpdatePersistentSubscription checkpointMinCount. * @member {number} checkpointMinCount @@ -7359,7 +9081,7 @@ * @instance */ UpdatePersistentSubscription.prototype.checkpointMinCount = 0; - + /** * UpdatePersistentSubscription subscriberMaxCount. * @member {number} subscriberMaxCount @@ -7367,7 +9089,7 @@ * @instance */ UpdatePersistentSubscription.prototype.subscriberMaxCount = 0; - + /** * UpdatePersistentSubscription namedConsumerStrategy. * @member {string} namedConsumerStrategy @@ -7375,7 +9097,7 @@ * @instance */ UpdatePersistentSubscription.prototype.namedConsumerStrategy = ""; - + /** * Creates a new UpdatePersistentSubscription instance using the specified properties. * @function create @@ -7387,7 +9109,7 @@ UpdatePersistentSubscription.create = function create(properties) { return new UpdatePersistentSubscription(properties); }; - + /** * Encodes the specified UpdatePersistentSubscription message. Does not implicitly {@link EventStore.Client.Messages.UpdatePersistentSubscription.verify|verify} messages. * @function encode @@ -7415,11 +9137,11 @@ writer.uint32(/* id 13, wireType 0 =*/104).int32(message.checkpointMaxCount); writer.uint32(/* id 14, wireType 0 =*/112).int32(message.checkpointMinCount); writer.uint32(/* id 15, wireType 0 =*/120).int32(message.subscriberMaxCount); - if (message.namedConsumerStrategy != null && message.hasOwnProperty("namedConsumerStrategy")) + if (message.namedConsumerStrategy != null && Object.hasOwnProperty.call(message, "namedConsumerStrategy")) writer.uint32(/* id 16, wireType 2 =*/130).string(message.namedConsumerStrategy); return writer; }; - + /** * Encodes the specified UpdatePersistentSubscription message, length delimited. Does not implicitly {@link EventStore.Client.Messages.UpdatePersistentSubscription.verify|verify} messages. * @function encodeDelimited @@ -7432,7 +9154,7 @@ UpdatePersistentSubscription.encodeDelimited = function encodeDelimited(message, writer) { return this.encode(message, writer).ldelim(); }; - + /** * Decodes an UpdatePersistentSubscription message from the specified reader or buffer. * @function decode @@ -7451,54 +9173,70 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.subscriptionGroupName = reader.string(); - break; - case 2: - message.eventStreamId = reader.string(); - break; - case 3: - message.resolveLinkTos = reader.bool(); - break; - case 4: - message.startFrom = reader.int64(); - break; - case 5: - message.messageTimeoutMilliseconds = reader.int32(); - break; - case 6: - message.recordStatistics = reader.bool(); - break; - case 7: - message.liveBufferSize = reader.int32(); - break; - case 8: - message.readBatchSize = reader.int32(); - break; - case 9: - message.bufferSize = reader.int32(); - break; - case 10: - message.maxRetryCount = reader.int32(); - break; - case 11: - message.preferRoundRobin = reader.bool(); - break; - case 12: - message.checkpointAfterTime = reader.int32(); - break; - case 13: - message.checkpointMaxCount = reader.int32(); - break; - case 14: - message.checkpointMinCount = reader.int32(); - break; - case 15: - message.subscriberMaxCount = reader.int32(); - break; - case 16: - message.namedConsumerStrategy = reader.string(); - break; + case 1: { + message.subscriptionGroupName = reader.string(); + break; + } + case 2: { + message.eventStreamId = reader.string(); + break; + } + case 3: { + message.resolveLinkTos = reader.bool(); + break; + } + case 4: { + message.startFrom = reader.int64(); + break; + } + case 5: { + message.messageTimeoutMilliseconds = reader.int32(); + break; + } + case 6: { + message.recordStatistics = reader.bool(); + break; + } + case 7: { + message.liveBufferSize = reader.int32(); + break; + } + case 8: { + message.readBatchSize = reader.int32(); + break; + } + case 9: { + message.bufferSize = reader.int32(); + break; + } + case 10: { + message.maxRetryCount = reader.int32(); + break; + } + case 11: { + message.preferRoundRobin = reader.bool(); + break; + } + case 12: { + message.checkpointAfterTime = reader.int32(); + break; + } + case 13: { + message.checkpointMaxCount = reader.int32(); + break; + } + case 14: { + message.checkpointMinCount = reader.int32(); + break; + } + case 15: { + message.subscriberMaxCount = reader.int32(); + break; + } + case 16: { + message.namedConsumerStrategy = reader.string(); + break; + } default: reader.skipType(tag & 7); break; @@ -7536,7 +9274,7 @@ throw $util.ProtocolError("missing required 'subscriberMaxCount'", { instance: message }); return message; }; - + /** * Decodes an UpdatePersistentSubscription message from the specified reader or buffer, length delimited. * @function decodeDelimited @@ -7552,7 +9290,7 @@ reader = new $Reader(reader); return this.decode(reader, reader.uint32()); }; - + /** * Verifies an UpdatePersistentSubscription message. * @function verify @@ -7599,7 +9337,7 @@ return "namedConsumerStrategy: string expected"; return null; }; - + /** * Creates an UpdatePersistentSubscription message from a plain object. Also converts values to their respective internal types. * @function fromObject @@ -7653,7 +9391,7 @@ message.namedConsumerStrategy = String(object.namedConsumerStrategy); return message; }; - + /** * Creates a plain object from an UpdatePersistentSubscription message. Also converts values to other types if specified. * @function toObject @@ -7726,7 +9464,7 @@ object.namedConsumerStrategy = message.namedConsumerStrategy; return object; }; - + /** * Converts this UpdatePersistentSubscription to JSON. * @function toJSON @@ -7737,12 +9475,27 @@ UpdatePersistentSubscription.prototype.toJSON = function toJSON() { return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; - + + /** + * Gets the default type url for UpdatePersistentSubscription + * @function getTypeUrl + * @memberof EventStore.Client.Messages.UpdatePersistentSubscription + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + UpdatePersistentSubscription.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/EventStore.Client.Messages.UpdatePersistentSubscription"; + }; + return UpdatePersistentSubscription; })(); - + Messages.UpdatePersistentSubscriptionCompleted = (function() { - + /** * Properties of an UpdatePersistentSubscriptionCompleted. * @memberof EventStore.Client.Messages @@ -7750,7 +9503,7 @@ * @property {EventStore.Client.Messages.UpdatePersistentSubscriptionCompleted.UpdatePersistentSubscriptionResult} result UpdatePersistentSubscriptionCompleted result * @property {string|null} [reason] UpdatePersistentSubscriptionCompleted reason */ - + /** * Constructs a new UpdatePersistentSubscriptionCompleted. * @memberof EventStore.Client.Messages @@ -7765,7 +9518,7 @@ if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; } - + /** * UpdatePersistentSubscriptionCompleted result. * @member {EventStore.Client.Messages.UpdatePersistentSubscriptionCompleted.UpdatePersistentSubscriptionResult} result @@ -7773,7 +9526,7 @@ * @instance */ UpdatePersistentSubscriptionCompleted.prototype.result = 0; - + /** * UpdatePersistentSubscriptionCompleted reason. * @member {string} reason @@ -7781,7 +9534,7 @@ * @instance */ UpdatePersistentSubscriptionCompleted.prototype.reason = ""; - + /** * Creates a new UpdatePersistentSubscriptionCompleted instance using the specified properties. * @function create @@ -7793,7 +9546,7 @@ UpdatePersistentSubscriptionCompleted.create = function create(properties) { return new UpdatePersistentSubscriptionCompleted(properties); }; - + /** * Encodes the specified UpdatePersistentSubscriptionCompleted message. Does not implicitly {@link EventStore.Client.Messages.UpdatePersistentSubscriptionCompleted.verify|verify} messages. * @function encode @@ -7807,11 +9560,11 @@ if (!writer) writer = $Writer.create(); writer.uint32(/* id 1, wireType 0 =*/8).int32(message.result); - if (message.reason != null && message.hasOwnProperty("reason")) + if (message.reason != null && Object.hasOwnProperty.call(message, "reason")) writer.uint32(/* id 2, wireType 2 =*/18).string(message.reason); return writer; }; - + /** * Encodes the specified UpdatePersistentSubscriptionCompleted message, length delimited. Does not implicitly {@link EventStore.Client.Messages.UpdatePersistentSubscriptionCompleted.verify|verify} messages. * @function encodeDelimited @@ -7824,7 +9577,7 @@ UpdatePersistentSubscriptionCompleted.encodeDelimited = function encodeDelimited(message, writer) { return this.encode(message, writer).ldelim(); }; - + /** * Decodes an UpdatePersistentSubscriptionCompleted message from the specified reader or buffer. * @function decode @@ -7843,12 +9596,14 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.result = reader.int32(); - break; - case 2: - message.reason = reader.string(); - break; + case 1: { + message.result = reader.int32(); + break; + } + case 2: { + message.reason = reader.string(); + break; + } default: reader.skipType(tag & 7); break; @@ -7858,7 +9613,7 @@ throw $util.ProtocolError("missing required 'result'", { instance: message }); return message; }; - + /** * Decodes an UpdatePersistentSubscriptionCompleted message from the specified reader or buffer, length delimited. * @function decodeDelimited @@ -7874,7 +9629,7 @@ reader = new $Reader(reader); return this.decode(reader, reader.uint32()); }; - + /** * Verifies an UpdatePersistentSubscriptionCompleted message. * @function verify @@ -7900,7 +9655,7 @@ return "reason: string expected"; return null; }; - + /** * Creates an UpdatePersistentSubscriptionCompleted message from a plain object. Also converts values to their respective internal types. * @function fromObject @@ -7914,6 +9669,12 @@ return object; var message = new $root.EventStore.Client.Messages.UpdatePersistentSubscriptionCompleted(); switch (object.result) { + default: + if (typeof object.result === "number") { + message.result = object.result; + break; + } + break; case "Success": case 0: message.result = 0; @@ -7935,7 +9696,7 @@ message.reason = String(object.reason); return message; }; - + /** * Creates a plain object from an UpdatePersistentSubscriptionCompleted message. Also converts values to other types if specified. * @function toObject @@ -7954,12 +9715,12 @@ object.reason = ""; } if (message.result != null && message.hasOwnProperty("result")) - object.result = options.enums === String ? $root.EventStore.Client.Messages.UpdatePersistentSubscriptionCompleted.UpdatePersistentSubscriptionResult[message.result] : message.result; + object.result = options.enums === String ? $root.EventStore.Client.Messages.UpdatePersistentSubscriptionCompleted.UpdatePersistentSubscriptionResult[message.result] === undefined ? message.result : $root.EventStore.Client.Messages.UpdatePersistentSubscriptionCompleted.UpdatePersistentSubscriptionResult[message.result] : message.result; if (message.reason != null && message.hasOwnProperty("reason")) object.reason = message.reason; return object; }; - + /** * Converts this UpdatePersistentSubscriptionCompleted to JSON. * @function toJSON @@ -7970,11 +9731,26 @@ UpdatePersistentSubscriptionCompleted.prototype.toJSON = function toJSON() { return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; - + + /** + * Gets the default type url for UpdatePersistentSubscriptionCompleted + * @function getTypeUrl + * @memberof EventStore.Client.Messages.UpdatePersistentSubscriptionCompleted + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + UpdatePersistentSubscriptionCompleted.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/EventStore.Client.Messages.UpdatePersistentSubscriptionCompleted"; + }; + /** * UpdatePersistentSubscriptionResult enum. * @name EventStore.Client.Messages.UpdatePersistentSubscriptionCompleted.UpdatePersistentSubscriptionResult - * @enum {string} + * @enum {number} * @property {number} Success=0 Success value * @property {number} DoesNotExist=1 DoesNotExist value * @property {number} Fail=2 Fail value @@ -7988,12 +9764,12 @@ values[valuesById[3] = "AccessDenied"] = 3; return values; })(); - + return UpdatePersistentSubscriptionCompleted; })(); - + Messages.CreatePersistentSubscriptionCompleted = (function() { - + /** * Properties of a CreatePersistentSubscriptionCompleted. * @memberof EventStore.Client.Messages @@ -8001,7 +9777,7 @@ * @property {EventStore.Client.Messages.CreatePersistentSubscriptionCompleted.CreatePersistentSubscriptionResult} result CreatePersistentSubscriptionCompleted result * @property {string|null} [reason] CreatePersistentSubscriptionCompleted reason */ - + /** * Constructs a new CreatePersistentSubscriptionCompleted. * @memberof EventStore.Client.Messages @@ -8016,7 +9792,7 @@ if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; } - + /** * CreatePersistentSubscriptionCompleted result. * @member {EventStore.Client.Messages.CreatePersistentSubscriptionCompleted.CreatePersistentSubscriptionResult} result @@ -8024,7 +9800,7 @@ * @instance */ CreatePersistentSubscriptionCompleted.prototype.result = 0; - + /** * CreatePersistentSubscriptionCompleted reason. * @member {string} reason @@ -8032,7 +9808,7 @@ * @instance */ CreatePersistentSubscriptionCompleted.prototype.reason = ""; - + /** * Creates a new CreatePersistentSubscriptionCompleted instance using the specified properties. * @function create @@ -8044,7 +9820,7 @@ CreatePersistentSubscriptionCompleted.create = function create(properties) { return new CreatePersistentSubscriptionCompleted(properties); }; - + /** * Encodes the specified CreatePersistentSubscriptionCompleted message. Does not implicitly {@link EventStore.Client.Messages.CreatePersistentSubscriptionCompleted.verify|verify} messages. * @function encode @@ -8058,11 +9834,11 @@ if (!writer) writer = $Writer.create(); writer.uint32(/* id 1, wireType 0 =*/8).int32(message.result); - if (message.reason != null && message.hasOwnProperty("reason")) + if (message.reason != null && Object.hasOwnProperty.call(message, "reason")) writer.uint32(/* id 2, wireType 2 =*/18).string(message.reason); return writer; }; - + /** * Encodes the specified CreatePersistentSubscriptionCompleted message, length delimited. Does not implicitly {@link EventStore.Client.Messages.CreatePersistentSubscriptionCompleted.verify|verify} messages. * @function encodeDelimited @@ -8075,7 +9851,7 @@ CreatePersistentSubscriptionCompleted.encodeDelimited = function encodeDelimited(message, writer) { return this.encode(message, writer).ldelim(); }; - + /** * Decodes a CreatePersistentSubscriptionCompleted message from the specified reader or buffer. * @function decode @@ -8094,12 +9870,14 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.result = reader.int32(); - break; - case 2: - message.reason = reader.string(); - break; + case 1: { + message.result = reader.int32(); + break; + } + case 2: { + message.reason = reader.string(); + break; + } default: reader.skipType(tag & 7); break; @@ -8109,7 +9887,7 @@ throw $util.ProtocolError("missing required 'result'", { instance: message }); return message; }; - + /** * Decodes a CreatePersistentSubscriptionCompleted message from the specified reader or buffer, length delimited. * @function decodeDelimited @@ -8125,7 +9903,7 @@ reader = new $Reader(reader); return this.decode(reader, reader.uint32()); }; - + /** * Verifies a CreatePersistentSubscriptionCompleted message. * @function verify @@ -8151,7 +9929,7 @@ return "reason: string expected"; return null; }; - + /** * Creates a CreatePersistentSubscriptionCompleted message from a plain object. Also converts values to their respective internal types. * @function fromObject @@ -8165,6 +9943,12 @@ return object; var message = new $root.EventStore.Client.Messages.CreatePersistentSubscriptionCompleted(); switch (object.result) { + default: + if (typeof object.result === "number") { + message.result = object.result; + break; + } + break; case "Success": case 0: message.result = 0; @@ -8186,7 +9970,7 @@ message.reason = String(object.reason); return message; }; - + /** * Creates a plain object from a CreatePersistentSubscriptionCompleted message. Also converts values to other types if specified. * @function toObject @@ -8205,12 +9989,12 @@ object.reason = ""; } if (message.result != null && message.hasOwnProperty("result")) - object.result = options.enums === String ? $root.EventStore.Client.Messages.CreatePersistentSubscriptionCompleted.CreatePersistentSubscriptionResult[message.result] : message.result; + object.result = options.enums === String ? $root.EventStore.Client.Messages.CreatePersistentSubscriptionCompleted.CreatePersistentSubscriptionResult[message.result] === undefined ? message.result : $root.EventStore.Client.Messages.CreatePersistentSubscriptionCompleted.CreatePersistentSubscriptionResult[message.result] : message.result; if (message.reason != null && message.hasOwnProperty("reason")) object.reason = message.reason; return object; }; - + /** * Converts this CreatePersistentSubscriptionCompleted to JSON. * @function toJSON @@ -8221,11 +10005,26 @@ CreatePersistentSubscriptionCompleted.prototype.toJSON = function toJSON() { return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; - + + /** + * Gets the default type url for CreatePersistentSubscriptionCompleted + * @function getTypeUrl + * @memberof EventStore.Client.Messages.CreatePersistentSubscriptionCompleted + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + CreatePersistentSubscriptionCompleted.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/EventStore.Client.Messages.CreatePersistentSubscriptionCompleted"; + }; + /** * CreatePersistentSubscriptionResult enum. * @name EventStore.Client.Messages.CreatePersistentSubscriptionCompleted.CreatePersistentSubscriptionResult - * @enum {string} + * @enum {number} * @property {number} Success=0 Success value * @property {number} AlreadyExists=1 AlreadyExists value * @property {number} Fail=2 Fail value @@ -8239,12 +10038,12 @@ values[valuesById[3] = "AccessDenied"] = 3; return values; })(); - + return CreatePersistentSubscriptionCompleted; })(); - + Messages.DeletePersistentSubscriptionCompleted = (function() { - + /** * Properties of a DeletePersistentSubscriptionCompleted. * @memberof EventStore.Client.Messages @@ -8252,7 +10051,7 @@ * @property {EventStore.Client.Messages.DeletePersistentSubscriptionCompleted.DeletePersistentSubscriptionResult} result DeletePersistentSubscriptionCompleted result * @property {string|null} [reason] DeletePersistentSubscriptionCompleted reason */ - + /** * Constructs a new DeletePersistentSubscriptionCompleted. * @memberof EventStore.Client.Messages @@ -8267,7 +10066,7 @@ if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; } - + /** * DeletePersistentSubscriptionCompleted result. * @member {EventStore.Client.Messages.DeletePersistentSubscriptionCompleted.DeletePersistentSubscriptionResult} result @@ -8275,7 +10074,7 @@ * @instance */ DeletePersistentSubscriptionCompleted.prototype.result = 0; - + /** * DeletePersistentSubscriptionCompleted reason. * @member {string} reason @@ -8283,7 +10082,7 @@ * @instance */ DeletePersistentSubscriptionCompleted.prototype.reason = ""; - + /** * Creates a new DeletePersistentSubscriptionCompleted instance using the specified properties. * @function create @@ -8295,7 +10094,7 @@ DeletePersistentSubscriptionCompleted.create = function create(properties) { return new DeletePersistentSubscriptionCompleted(properties); }; - + /** * Encodes the specified DeletePersistentSubscriptionCompleted message. Does not implicitly {@link EventStore.Client.Messages.DeletePersistentSubscriptionCompleted.verify|verify} messages. * @function encode @@ -8309,11 +10108,11 @@ if (!writer) writer = $Writer.create(); writer.uint32(/* id 1, wireType 0 =*/8).int32(message.result); - if (message.reason != null && message.hasOwnProperty("reason")) + if (message.reason != null && Object.hasOwnProperty.call(message, "reason")) writer.uint32(/* id 2, wireType 2 =*/18).string(message.reason); return writer; }; - + /** * Encodes the specified DeletePersistentSubscriptionCompleted message, length delimited. Does not implicitly {@link EventStore.Client.Messages.DeletePersistentSubscriptionCompleted.verify|verify} messages. * @function encodeDelimited @@ -8326,7 +10125,7 @@ DeletePersistentSubscriptionCompleted.encodeDelimited = function encodeDelimited(message, writer) { return this.encode(message, writer).ldelim(); }; - + /** * Decodes a DeletePersistentSubscriptionCompleted message from the specified reader or buffer. * @function decode @@ -8345,12 +10144,14 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.result = reader.int32(); - break; - case 2: - message.reason = reader.string(); - break; + case 1: { + message.result = reader.int32(); + break; + } + case 2: { + message.reason = reader.string(); + break; + } default: reader.skipType(tag & 7); break; @@ -8360,7 +10161,7 @@ throw $util.ProtocolError("missing required 'result'", { instance: message }); return message; }; - + /** * Decodes a DeletePersistentSubscriptionCompleted message from the specified reader or buffer, length delimited. * @function decodeDelimited @@ -8376,7 +10177,7 @@ reader = new $Reader(reader); return this.decode(reader, reader.uint32()); }; - + /** * Verifies a DeletePersistentSubscriptionCompleted message. * @function verify @@ -8402,7 +10203,7 @@ return "reason: string expected"; return null; }; - + /** * Creates a DeletePersistentSubscriptionCompleted message from a plain object. Also converts values to their respective internal types. * @function fromObject @@ -8416,6 +10217,12 @@ return object; var message = new $root.EventStore.Client.Messages.DeletePersistentSubscriptionCompleted(); switch (object.result) { + default: + if (typeof object.result === "number") { + message.result = object.result; + break; + } + break; case "Success": case 0: message.result = 0; @@ -8437,7 +10244,7 @@ message.reason = String(object.reason); return message; }; - + /** * Creates a plain object from a DeletePersistentSubscriptionCompleted message. Also converts values to other types if specified. * @function toObject @@ -8456,12 +10263,12 @@ object.reason = ""; } if (message.result != null && message.hasOwnProperty("result")) - object.result = options.enums === String ? $root.EventStore.Client.Messages.DeletePersistentSubscriptionCompleted.DeletePersistentSubscriptionResult[message.result] : message.result; + object.result = options.enums === String ? $root.EventStore.Client.Messages.DeletePersistentSubscriptionCompleted.DeletePersistentSubscriptionResult[message.result] === undefined ? message.result : $root.EventStore.Client.Messages.DeletePersistentSubscriptionCompleted.DeletePersistentSubscriptionResult[message.result] : message.result; if (message.reason != null && message.hasOwnProperty("reason")) object.reason = message.reason; return object; }; - + /** * Converts this DeletePersistentSubscriptionCompleted to JSON. * @function toJSON @@ -8472,11 +10279,26 @@ DeletePersistentSubscriptionCompleted.prototype.toJSON = function toJSON() { return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; - + + /** + * Gets the default type url for DeletePersistentSubscriptionCompleted + * @function getTypeUrl + * @memberof EventStore.Client.Messages.DeletePersistentSubscriptionCompleted + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + DeletePersistentSubscriptionCompleted.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/EventStore.Client.Messages.DeletePersistentSubscriptionCompleted"; + }; + /** * DeletePersistentSubscriptionResult enum. * @name EventStore.Client.Messages.DeletePersistentSubscriptionCompleted.DeletePersistentSubscriptionResult - * @enum {string} + * @enum {number} * @property {number} Success=0 Success value * @property {number} DoesNotExist=1 DoesNotExist value * @property {number} Fail=2 Fail value @@ -8490,12 +10312,12 @@ values[valuesById[3] = "AccessDenied"] = 3; return values; })(); - + return DeletePersistentSubscriptionCompleted; })(); - + Messages.ConnectToPersistentSubscription = (function() { - + /** * Properties of a ConnectToPersistentSubscription. * @memberof EventStore.Client.Messages @@ -8504,7 +10326,7 @@ * @property {string} eventStreamId ConnectToPersistentSubscription eventStreamId * @property {number} allowedInFlightMessages ConnectToPersistentSubscription allowedInFlightMessages */ - + /** * Constructs a new ConnectToPersistentSubscription. * @memberof EventStore.Client.Messages @@ -8519,7 +10341,7 @@ if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; } - + /** * ConnectToPersistentSubscription subscriptionId. * @member {string} subscriptionId @@ -8527,7 +10349,7 @@ * @instance */ ConnectToPersistentSubscription.prototype.subscriptionId = ""; - + /** * ConnectToPersistentSubscription eventStreamId. * @member {string} eventStreamId @@ -8535,7 +10357,7 @@ * @instance */ ConnectToPersistentSubscription.prototype.eventStreamId = ""; - + /** * ConnectToPersistentSubscription allowedInFlightMessages. * @member {number} allowedInFlightMessages @@ -8543,7 +10365,7 @@ * @instance */ ConnectToPersistentSubscription.prototype.allowedInFlightMessages = 0; - + /** * Creates a new ConnectToPersistentSubscription instance using the specified properties. * @function create @@ -8555,7 +10377,7 @@ ConnectToPersistentSubscription.create = function create(properties) { return new ConnectToPersistentSubscription(properties); }; - + /** * Encodes the specified ConnectToPersistentSubscription message. Does not implicitly {@link EventStore.Client.Messages.ConnectToPersistentSubscription.verify|verify} messages. * @function encode @@ -8573,7 +10395,7 @@ writer.uint32(/* id 3, wireType 0 =*/24).int32(message.allowedInFlightMessages); return writer; }; - + /** * Encodes the specified ConnectToPersistentSubscription message, length delimited. Does not implicitly {@link EventStore.Client.Messages.ConnectToPersistentSubscription.verify|verify} messages. * @function encodeDelimited @@ -8586,7 +10408,7 @@ ConnectToPersistentSubscription.encodeDelimited = function encodeDelimited(message, writer) { return this.encode(message, writer).ldelim(); }; - + /** * Decodes a ConnectToPersistentSubscription message from the specified reader or buffer. * @function decode @@ -8605,15 +10427,18 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.subscriptionId = reader.string(); - break; - case 2: - message.eventStreamId = reader.string(); - break; - case 3: - message.allowedInFlightMessages = reader.int32(); - break; + case 1: { + message.subscriptionId = reader.string(); + break; + } + case 2: { + message.eventStreamId = reader.string(); + break; + } + case 3: { + message.allowedInFlightMessages = reader.int32(); + break; + } default: reader.skipType(tag & 7); break; @@ -8627,7 +10452,7 @@ throw $util.ProtocolError("missing required 'allowedInFlightMessages'", { instance: message }); return message; }; - + /** * Decodes a ConnectToPersistentSubscription message from the specified reader or buffer, length delimited. * @function decodeDelimited @@ -8643,7 +10468,7 @@ reader = new $Reader(reader); return this.decode(reader, reader.uint32()); }; - + /** * Verifies a ConnectToPersistentSubscription message. * @function verify @@ -8663,7 +10488,7 @@ return "allowedInFlightMessages: integer expected"; return null; }; - + /** * Creates a ConnectToPersistentSubscription message from a plain object. Also converts values to their respective internal types. * @function fromObject @@ -8684,7 +10509,7 @@ message.allowedInFlightMessages = object.allowedInFlightMessages | 0; return message; }; - + /** * Creates a plain object from a ConnectToPersistentSubscription message. Also converts values to other types if specified. * @function toObject @@ -8711,7 +10536,7 @@ object.allowedInFlightMessages = message.allowedInFlightMessages; return object; }; - + /** * Converts this ConnectToPersistentSubscription to JSON. * @function toJSON @@ -8722,12 +10547,27 @@ ConnectToPersistentSubscription.prototype.toJSON = function toJSON() { return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; - + + /** + * Gets the default type url for ConnectToPersistentSubscription + * @function getTypeUrl + * @memberof EventStore.Client.Messages.ConnectToPersistentSubscription + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ConnectToPersistentSubscription.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/EventStore.Client.Messages.ConnectToPersistentSubscription"; + }; + return ConnectToPersistentSubscription; })(); - + Messages.PersistentSubscriptionAckEvents = (function() { - + /** * Properties of a PersistentSubscriptionAckEvents. * @memberof EventStore.Client.Messages @@ -8735,7 +10575,7 @@ * @property {string} subscriptionId PersistentSubscriptionAckEvents subscriptionId * @property {Array.|null} [processedEventIds] PersistentSubscriptionAckEvents processedEventIds */ - + /** * Constructs a new PersistentSubscriptionAckEvents. * @memberof EventStore.Client.Messages @@ -8751,7 +10591,7 @@ if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; } - + /** * PersistentSubscriptionAckEvents subscriptionId. * @member {string} subscriptionId @@ -8759,7 +10599,7 @@ * @instance */ PersistentSubscriptionAckEvents.prototype.subscriptionId = ""; - + /** * PersistentSubscriptionAckEvents processedEventIds. * @member {Array.} processedEventIds @@ -8767,7 +10607,7 @@ * @instance */ PersistentSubscriptionAckEvents.prototype.processedEventIds = $util.emptyArray; - + /** * Creates a new PersistentSubscriptionAckEvents instance using the specified properties. * @function create @@ -8779,7 +10619,7 @@ PersistentSubscriptionAckEvents.create = function create(properties) { return new PersistentSubscriptionAckEvents(properties); }; - + /** * Encodes the specified PersistentSubscriptionAckEvents message. Does not implicitly {@link EventStore.Client.Messages.PersistentSubscriptionAckEvents.verify|verify} messages. * @function encode @@ -8798,7 +10638,7 @@ writer.uint32(/* id 2, wireType 2 =*/18).bytes(message.processedEventIds[i]); return writer; }; - + /** * Encodes the specified PersistentSubscriptionAckEvents message, length delimited. Does not implicitly {@link EventStore.Client.Messages.PersistentSubscriptionAckEvents.verify|verify} messages. * @function encodeDelimited @@ -8811,7 +10651,7 @@ PersistentSubscriptionAckEvents.encodeDelimited = function encodeDelimited(message, writer) { return this.encode(message, writer).ldelim(); }; - + /** * Decodes a PersistentSubscriptionAckEvents message from the specified reader or buffer. * @function decode @@ -8830,14 +10670,16 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.subscriptionId = reader.string(); - break; - case 2: - if (!(message.processedEventIds && message.processedEventIds.length)) - message.processedEventIds = []; - message.processedEventIds.push(reader.bytes()); - break; + case 1: { + message.subscriptionId = reader.string(); + break; + } + case 2: { + if (!(message.processedEventIds && message.processedEventIds.length)) + message.processedEventIds = []; + message.processedEventIds.push(reader.bytes()); + break; + } default: reader.skipType(tag & 7); break; @@ -8847,7 +10689,7 @@ throw $util.ProtocolError("missing required 'subscriptionId'", { instance: message }); return message; }; - + /** * Decodes a PersistentSubscriptionAckEvents message from the specified reader or buffer, length delimited. * @function decodeDelimited @@ -8863,7 +10705,7 @@ reader = new $Reader(reader); return this.decode(reader, reader.uint32()); }; - + /** * Verifies a PersistentSubscriptionAckEvents message. * @function verify @@ -8886,7 +10728,7 @@ } return null; }; - + /** * Creates a PersistentSubscriptionAckEvents message from a plain object. Also converts values to their respective internal types. * @function fromObject @@ -8908,12 +10750,12 @@ for (var i = 0; i < object.processedEventIds.length; ++i) if (typeof object.processedEventIds[i] === "string") $util.base64.decode(object.processedEventIds[i], message.processedEventIds[i] = $util.newBuffer($util.base64.length(object.processedEventIds[i])), 0); - else if (object.processedEventIds[i].length) + else if (object.processedEventIds[i].length >= 0) message.processedEventIds[i] = object.processedEventIds[i]; } return message; }; - + /** * Creates a plain object from a PersistentSubscriptionAckEvents message. Also converts values to other types if specified. * @function toObject @@ -8940,7 +10782,7 @@ } return object; }; - + /** * Converts this PersistentSubscriptionAckEvents to JSON. * @function toJSON @@ -8951,12 +10793,27 @@ PersistentSubscriptionAckEvents.prototype.toJSON = function toJSON() { return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; - + + /** + * Gets the default type url for PersistentSubscriptionAckEvents + * @function getTypeUrl + * @memberof EventStore.Client.Messages.PersistentSubscriptionAckEvents + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + PersistentSubscriptionAckEvents.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/EventStore.Client.Messages.PersistentSubscriptionAckEvents"; + }; + return PersistentSubscriptionAckEvents; })(); - + Messages.PersistentSubscriptionNakEvents = (function() { - + /** * Properties of a PersistentSubscriptionNakEvents. * @memberof EventStore.Client.Messages @@ -8966,7 +10823,7 @@ * @property {string|null} [message] PersistentSubscriptionNakEvents message * @property {EventStore.Client.Messages.PersistentSubscriptionNakEvents.NakAction} action PersistentSubscriptionNakEvents action */ - + /** * Constructs a new PersistentSubscriptionNakEvents. * @memberof EventStore.Client.Messages @@ -8982,7 +10839,7 @@ if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; } - + /** * PersistentSubscriptionNakEvents subscriptionId. * @member {string} subscriptionId @@ -8990,7 +10847,7 @@ * @instance */ PersistentSubscriptionNakEvents.prototype.subscriptionId = ""; - + /** * PersistentSubscriptionNakEvents processedEventIds. * @member {Array.} processedEventIds @@ -8998,7 +10855,7 @@ * @instance */ PersistentSubscriptionNakEvents.prototype.processedEventIds = $util.emptyArray; - + /** * PersistentSubscriptionNakEvents message. * @member {string} message @@ -9006,7 +10863,7 @@ * @instance */ PersistentSubscriptionNakEvents.prototype.message = ""; - + /** * PersistentSubscriptionNakEvents action. * @member {EventStore.Client.Messages.PersistentSubscriptionNakEvents.NakAction} action @@ -9014,7 +10871,7 @@ * @instance */ PersistentSubscriptionNakEvents.prototype.action = 0; - + /** * Creates a new PersistentSubscriptionNakEvents instance using the specified properties. * @function create @@ -9026,7 +10883,7 @@ PersistentSubscriptionNakEvents.create = function create(properties) { return new PersistentSubscriptionNakEvents(properties); }; - + /** * Encodes the specified PersistentSubscriptionNakEvents message. Does not implicitly {@link EventStore.Client.Messages.PersistentSubscriptionNakEvents.verify|verify} messages. * @function encode @@ -9043,12 +10900,12 @@ if (message.processedEventIds != null && message.processedEventIds.length) for (var i = 0; i < message.processedEventIds.length; ++i) writer.uint32(/* id 2, wireType 2 =*/18).bytes(message.processedEventIds[i]); - if (message.message != null && message.hasOwnProperty("message")) + if (message.message != null && Object.hasOwnProperty.call(message, "message")) writer.uint32(/* id 3, wireType 2 =*/26).string(message.message); writer.uint32(/* id 4, wireType 0 =*/32).int32(message.action); return writer; }; - + /** * Encodes the specified PersistentSubscriptionNakEvents message, length delimited. Does not implicitly {@link EventStore.Client.Messages.PersistentSubscriptionNakEvents.verify|verify} messages. * @function encodeDelimited @@ -9061,7 +10918,7 @@ PersistentSubscriptionNakEvents.encodeDelimited = function encodeDelimited(message, writer) { return this.encode(message, writer).ldelim(); }; - + /** * Decodes a PersistentSubscriptionNakEvents message from the specified reader or buffer. * @function decode @@ -9080,20 +10937,24 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.subscriptionId = reader.string(); - break; - case 2: - if (!(message.processedEventIds && message.processedEventIds.length)) - message.processedEventIds = []; - message.processedEventIds.push(reader.bytes()); - break; - case 3: - message.message = reader.string(); - break; - case 4: - message.action = reader.int32(); - break; + case 1: { + message.subscriptionId = reader.string(); + break; + } + case 2: { + if (!(message.processedEventIds && message.processedEventIds.length)) + message.processedEventIds = []; + message.processedEventIds.push(reader.bytes()); + break; + } + case 3: { + message.message = reader.string(); + break; + } + case 4: { + message.action = reader.int32(); + break; + } default: reader.skipType(tag & 7); break; @@ -9105,7 +10966,7 @@ throw $util.ProtocolError("missing required 'action'", { instance: message }); return message; }; - + /** * Decodes a PersistentSubscriptionNakEvents message from the specified reader or buffer, length delimited. * @function decodeDelimited @@ -9121,7 +10982,7 @@ reader = new $Reader(reader); return this.decode(reader, reader.uint32()); }; - + /** * Verifies a PersistentSubscriptionNakEvents message. * @function verify @@ -9157,7 +11018,7 @@ } return null; }; - + /** * Creates a PersistentSubscriptionNakEvents message from a plain object. Also converts values to their respective internal types. * @function fromObject @@ -9179,12 +11040,18 @@ for (var i = 0; i < object.processedEventIds.length; ++i) if (typeof object.processedEventIds[i] === "string") $util.base64.decode(object.processedEventIds[i], message.processedEventIds[i] = $util.newBuffer($util.base64.length(object.processedEventIds[i])), 0); - else if (object.processedEventIds[i].length) + else if (object.processedEventIds[i].length >= 0) message.processedEventIds[i] = object.processedEventIds[i]; } if (object.message != null) message.message = String(object.message); switch (object.action) { + default: + if (typeof object.action === "number") { + message.action = object.action; + break; + } + break; case "Unknown": case 0: message.action = 0; @@ -9208,7 +11075,7 @@ } return message; }; - + /** * Creates a plain object from a PersistentSubscriptionNakEvents message. Also converts values to other types if specified. * @function toObject @@ -9239,10 +11106,10 @@ if (message.message != null && message.hasOwnProperty("message")) object.message = message.message; if (message.action != null && message.hasOwnProperty("action")) - object.action = options.enums === String ? $root.EventStore.Client.Messages.PersistentSubscriptionNakEvents.NakAction[message.action] : message.action; + object.action = options.enums === String ? $root.EventStore.Client.Messages.PersistentSubscriptionNakEvents.NakAction[message.action] === undefined ? message.action : $root.EventStore.Client.Messages.PersistentSubscriptionNakEvents.NakAction[message.action] : message.action; return object; }; - + /** * Converts this PersistentSubscriptionNakEvents to JSON. * @function toJSON @@ -9253,11 +11120,26 @@ PersistentSubscriptionNakEvents.prototype.toJSON = function toJSON() { return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; - + + /** + * Gets the default type url for PersistentSubscriptionNakEvents + * @function getTypeUrl + * @memberof EventStore.Client.Messages.PersistentSubscriptionNakEvents + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + PersistentSubscriptionNakEvents.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/EventStore.Client.Messages.PersistentSubscriptionNakEvents"; + }; + /** * NakAction enum. * @name EventStore.Client.Messages.PersistentSubscriptionNakEvents.NakAction - * @enum {string} + * @enum {number} * @property {number} Unknown=0 Unknown value * @property {number} Park=1 Park value * @property {number} Retry=2 Retry value @@ -9273,21 +11155,21 @@ values[valuesById[4] = "Stop"] = 4; return values; })(); - + return PersistentSubscriptionNakEvents; })(); - + Messages.PersistentSubscriptionConfirmation = (function() { - + /** * Properties of a PersistentSubscriptionConfirmation. * @memberof EventStore.Client.Messages * @interface IPersistentSubscriptionConfirmation - * @property {number|Long} lastCommitPosition PersistentSubscriptionConfirmation lastCommitPosition + * @property {Long} lastCommitPosition PersistentSubscriptionConfirmation lastCommitPosition * @property {string} subscriptionId PersistentSubscriptionConfirmation subscriptionId - * @property {number|Long|null} [lastEventNumber] PersistentSubscriptionConfirmation lastEventNumber + * @property {Long|null} [lastEventNumber] PersistentSubscriptionConfirmation lastEventNumber */ - + /** * Constructs a new PersistentSubscriptionConfirmation. * @memberof EventStore.Client.Messages @@ -9302,15 +11184,15 @@ if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; } - + /** * PersistentSubscriptionConfirmation lastCommitPosition. - * @member {number|Long} lastCommitPosition + * @member {Long} lastCommitPosition * @memberof EventStore.Client.Messages.PersistentSubscriptionConfirmation * @instance */ PersistentSubscriptionConfirmation.prototype.lastCommitPosition = $util.Long ? $util.Long.fromBits(0,0,false) : 0; - + /** * PersistentSubscriptionConfirmation subscriptionId. * @member {string} subscriptionId @@ -9318,15 +11200,15 @@ * @instance */ PersistentSubscriptionConfirmation.prototype.subscriptionId = ""; - + /** * PersistentSubscriptionConfirmation lastEventNumber. - * @member {number|Long} lastEventNumber + * @member {Long} lastEventNumber * @memberof EventStore.Client.Messages.PersistentSubscriptionConfirmation * @instance */ PersistentSubscriptionConfirmation.prototype.lastEventNumber = $util.Long ? $util.Long.fromBits(0,0,false) : 0; - + /** * Creates a new PersistentSubscriptionConfirmation instance using the specified properties. * @function create @@ -9338,7 +11220,7 @@ PersistentSubscriptionConfirmation.create = function create(properties) { return new PersistentSubscriptionConfirmation(properties); }; - + /** * Encodes the specified PersistentSubscriptionConfirmation message. Does not implicitly {@link EventStore.Client.Messages.PersistentSubscriptionConfirmation.verify|verify} messages. * @function encode @@ -9353,11 +11235,11 @@ writer = $Writer.create(); writer.uint32(/* id 1, wireType 0 =*/8).int64(message.lastCommitPosition); writer.uint32(/* id 2, wireType 2 =*/18).string(message.subscriptionId); - if (message.lastEventNumber != null && message.hasOwnProperty("lastEventNumber")) + if (message.lastEventNumber != null && Object.hasOwnProperty.call(message, "lastEventNumber")) writer.uint32(/* id 3, wireType 0 =*/24).int64(message.lastEventNumber); return writer; }; - + /** * Encodes the specified PersistentSubscriptionConfirmation message, length delimited. Does not implicitly {@link EventStore.Client.Messages.PersistentSubscriptionConfirmation.verify|verify} messages. * @function encodeDelimited @@ -9370,7 +11252,7 @@ PersistentSubscriptionConfirmation.encodeDelimited = function encodeDelimited(message, writer) { return this.encode(message, writer).ldelim(); }; - + /** * Decodes a PersistentSubscriptionConfirmation message from the specified reader or buffer. * @function decode @@ -9389,15 +11271,18 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.lastCommitPosition = reader.int64(); - break; - case 2: - message.subscriptionId = reader.string(); - break; - case 3: - message.lastEventNumber = reader.int64(); - break; + case 1: { + message.lastCommitPosition = reader.int64(); + break; + } + case 2: { + message.subscriptionId = reader.string(); + break; + } + case 3: { + message.lastEventNumber = reader.int64(); + break; + } default: reader.skipType(tag & 7); break; @@ -9409,7 +11294,7 @@ throw $util.ProtocolError("missing required 'subscriptionId'", { instance: message }); return message; }; - + /** * Decodes a PersistentSubscriptionConfirmation message from the specified reader or buffer, length delimited. * @function decodeDelimited @@ -9425,7 +11310,7 @@ reader = new $Reader(reader); return this.decode(reader, reader.uint32()); }; - + /** * Verifies a PersistentSubscriptionConfirmation message. * @function verify @@ -9446,7 +11331,7 @@ return "lastEventNumber: integer|Long expected"; return null; }; - + /** * Creates a PersistentSubscriptionConfirmation message from a plain object. Also converts values to their respective internal types. * @function fromObject @@ -9481,7 +11366,7 @@ message.lastEventNumber = new $util.LongBits(object.lastEventNumber.low >>> 0, object.lastEventNumber.high >>> 0).toNumber(); return message; }; - + /** * Creates a plain object from a PersistentSubscriptionConfirmation message. Also converts values to other types if specified. * @function toObject @@ -9522,7 +11407,7 @@ object.lastEventNumber = options.longs === String ? $util.Long.prototype.toString.call(message.lastEventNumber) : options.longs === Number ? new $util.LongBits(message.lastEventNumber.low >>> 0, message.lastEventNumber.high >>> 0).toNumber() : message.lastEventNumber; return object; }; - + /** * Converts this PersistentSubscriptionConfirmation to JSON. * @function toJSON @@ -9533,19 +11418,35 @@ PersistentSubscriptionConfirmation.prototype.toJSON = function toJSON() { return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; - + + /** + * Gets the default type url for PersistentSubscriptionConfirmation + * @function getTypeUrl + * @memberof EventStore.Client.Messages.PersistentSubscriptionConfirmation + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + PersistentSubscriptionConfirmation.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/EventStore.Client.Messages.PersistentSubscriptionConfirmation"; + }; + return PersistentSubscriptionConfirmation; })(); - + Messages.PersistentSubscriptionStreamEventAppeared = (function() { - + /** * Properties of a PersistentSubscriptionStreamEventAppeared. * @memberof EventStore.Client.Messages * @interface IPersistentSubscriptionStreamEventAppeared * @property {EventStore.Client.Messages.IResolvedIndexedEvent} event PersistentSubscriptionStreamEventAppeared event + * @property {number|null} [retryCount] PersistentSubscriptionStreamEventAppeared retryCount */ - + /** * Constructs a new PersistentSubscriptionStreamEventAppeared. * @memberof EventStore.Client.Messages @@ -9560,7 +11461,7 @@ if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; } - + /** * PersistentSubscriptionStreamEventAppeared event. * @member {EventStore.Client.Messages.IResolvedIndexedEvent} event @@ -9568,7 +11469,15 @@ * @instance */ PersistentSubscriptionStreamEventAppeared.prototype.event = null; - + + /** + * PersistentSubscriptionStreamEventAppeared retryCount. + * @member {number} retryCount + * @memberof EventStore.Client.Messages.PersistentSubscriptionStreamEventAppeared + * @instance + */ + PersistentSubscriptionStreamEventAppeared.prototype.retryCount = 0; + /** * Creates a new PersistentSubscriptionStreamEventAppeared instance using the specified properties. * @function create @@ -9580,7 +11489,7 @@ PersistentSubscriptionStreamEventAppeared.create = function create(properties) { return new PersistentSubscriptionStreamEventAppeared(properties); }; - + /** * Encodes the specified PersistentSubscriptionStreamEventAppeared message. Does not implicitly {@link EventStore.Client.Messages.PersistentSubscriptionStreamEventAppeared.verify|verify} messages. * @function encode @@ -9594,9 +11503,11 @@ if (!writer) writer = $Writer.create(); $root.EventStore.Client.Messages.ResolvedIndexedEvent.encode(message.event, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); + if (message.retryCount != null && Object.hasOwnProperty.call(message, "retryCount")) + writer.uint32(/* id 2, wireType 0 =*/16).int32(message.retryCount); return writer; }; - + /** * Encodes the specified PersistentSubscriptionStreamEventAppeared message, length delimited. Does not implicitly {@link EventStore.Client.Messages.PersistentSubscriptionStreamEventAppeared.verify|verify} messages. * @function encodeDelimited @@ -9609,7 +11520,7 @@ PersistentSubscriptionStreamEventAppeared.encodeDelimited = function encodeDelimited(message, writer) { return this.encode(message, writer).ldelim(); }; - + /** * Decodes a PersistentSubscriptionStreamEventAppeared message from the specified reader or buffer. * @function decode @@ -9628,9 +11539,14 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.event = $root.EventStore.Client.Messages.ResolvedIndexedEvent.decode(reader, reader.uint32()); - break; + case 1: { + message.event = $root.EventStore.Client.Messages.ResolvedIndexedEvent.decode(reader, reader.uint32()); + break; + } + case 2: { + message.retryCount = reader.int32(); + break; + } default: reader.skipType(tag & 7); break; @@ -9640,7 +11556,7 @@ throw $util.ProtocolError("missing required 'event'", { instance: message }); return message; }; - + /** * Decodes a PersistentSubscriptionStreamEventAppeared message from the specified reader or buffer, length delimited. * @function decodeDelimited @@ -9656,7 +11572,7 @@ reader = new $Reader(reader); return this.decode(reader, reader.uint32()); }; - + /** * Verifies a PersistentSubscriptionStreamEventAppeared message. * @function verify @@ -9673,9 +11589,12 @@ if (error) return "event." + error; } + if (message.retryCount != null && message.hasOwnProperty("retryCount")) + if (!$util.isInteger(message.retryCount)) + return "retryCount: integer expected"; return null; }; - + /** * Creates a PersistentSubscriptionStreamEventAppeared message from a plain object. Also converts values to their respective internal types. * @function fromObject @@ -9693,9 +11612,11 @@ throw TypeError(".EventStore.Client.Messages.PersistentSubscriptionStreamEventAppeared.event: object expected"); message.event = $root.EventStore.Client.Messages.ResolvedIndexedEvent.fromObject(object.event); } + if (object.retryCount != null) + message.retryCount = object.retryCount | 0; return message; }; - + /** * Creates a plain object from a PersistentSubscriptionStreamEventAppeared message. Also converts values to other types if specified. * @function toObject @@ -9709,13 +11630,17 @@ if (!options) options = {}; var object = {}; - if (options.defaults) + if (options.defaults) { object.event = null; + object.retryCount = 0; + } if (message.event != null && message.hasOwnProperty("event")) object.event = $root.EventStore.Client.Messages.ResolvedIndexedEvent.toObject(message.event, options); + if (message.retryCount != null && message.hasOwnProperty("retryCount")) + object.retryCount = message.retryCount; return object; }; - + /** * Converts this PersistentSubscriptionStreamEventAppeared to JSON. * @function toJSON @@ -9726,12 +11651,27 @@ PersistentSubscriptionStreamEventAppeared.prototype.toJSON = function toJSON() { return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; - + + /** + * Gets the default type url for PersistentSubscriptionStreamEventAppeared + * @function getTypeUrl + * @memberof EventStore.Client.Messages.PersistentSubscriptionStreamEventAppeared + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + PersistentSubscriptionStreamEventAppeared.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/EventStore.Client.Messages.PersistentSubscriptionStreamEventAppeared"; + }; + return PersistentSubscriptionStreamEventAppeared; })(); - + Messages.SubscribeToStream = (function() { - + /** * Properties of a SubscribeToStream. * @memberof EventStore.Client.Messages @@ -9739,7 +11679,7 @@ * @property {string} eventStreamId SubscribeToStream eventStreamId * @property {boolean} resolveLinkTos SubscribeToStream resolveLinkTos */ - + /** * Constructs a new SubscribeToStream. * @memberof EventStore.Client.Messages @@ -9754,7 +11694,7 @@ if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; } - + /** * SubscribeToStream eventStreamId. * @member {string} eventStreamId @@ -9762,7 +11702,7 @@ * @instance */ SubscribeToStream.prototype.eventStreamId = ""; - + /** * SubscribeToStream resolveLinkTos. * @member {boolean} resolveLinkTos @@ -9770,7 +11710,7 @@ * @instance */ SubscribeToStream.prototype.resolveLinkTos = false; - + /** * Creates a new SubscribeToStream instance using the specified properties. * @function create @@ -9782,7 +11722,7 @@ SubscribeToStream.create = function create(properties) { return new SubscribeToStream(properties); }; - + /** * Encodes the specified SubscribeToStream message. Does not implicitly {@link EventStore.Client.Messages.SubscribeToStream.verify|verify} messages. * @function encode @@ -9799,7 +11739,7 @@ writer.uint32(/* id 2, wireType 0 =*/16).bool(message.resolveLinkTos); return writer; }; - + /** * Encodes the specified SubscribeToStream message, length delimited. Does not implicitly {@link EventStore.Client.Messages.SubscribeToStream.verify|verify} messages. * @function encodeDelimited @@ -9812,7 +11752,7 @@ SubscribeToStream.encodeDelimited = function encodeDelimited(message, writer) { return this.encode(message, writer).ldelim(); }; - + /** * Decodes a SubscribeToStream message from the specified reader or buffer. * @function decode @@ -9831,12 +11771,14 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.eventStreamId = reader.string(); - break; - case 2: - message.resolveLinkTos = reader.bool(); - break; + case 1: { + message.eventStreamId = reader.string(); + break; + } + case 2: { + message.resolveLinkTos = reader.bool(); + break; + } default: reader.skipType(tag & 7); break; @@ -9848,7 +11790,7 @@ throw $util.ProtocolError("missing required 'resolveLinkTos'", { instance: message }); return message; }; - + /** * Decodes a SubscribeToStream message from the specified reader or buffer, length delimited. * @function decodeDelimited @@ -9864,7 +11806,7 @@ reader = new $Reader(reader); return this.decode(reader, reader.uint32()); }; - + /** * Verifies a SubscribeToStream message. * @function verify @@ -9882,7 +11824,7 @@ return "resolveLinkTos: boolean expected"; return null; }; - + /** * Creates a SubscribeToStream message from a plain object. Also converts values to their respective internal types. * @function fromObject @@ -9901,7 +11843,7 @@ message.resolveLinkTos = Boolean(object.resolveLinkTos); return message; }; - + /** * Creates a plain object from a SubscribeToStream message. Also converts values to other types if specified. * @function toObject @@ -9925,7 +11867,7 @@ object.resolveLinkTos = message.resolveLinkTos; return object; }; - + /** * Converts this SubscribeToStream to JSON. * @function toJSON @@ -9936,20 +11878,569 @@ SubscribeToStream.prototype.toJSON = function toJSON() { return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; - + + /** + * Gets the default type url for SubscribeToStream + * @function getTypeUrl + * @memberof EventStore.Client.Messages.SubscribeToStream + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + SubscribeToStream.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/EventStore.Client.Messages.SubscribeToStream"; + }; + return SubscribeToStream; })(); - + + Messages.FilteredSubscribeToStream = (function() { + + /** + * Properties of a FilteredSubscribeToStream. + * @memberof EventStore.Client.Messages + * @interface IFilteredSubscribeToStream + * @property {string} eventStreamId FilteredSubscribeToStream eventStreamId + * @property {boolean} resolveLinkTos FilteredSubscribeToStream resolveLinkTos + * @property {EventStore.Client.Messages.IFilter} filter FilteredSubscribeToStream filter + * @property {number} checkpointInterval FilteredSubscribeToStream checkpointInterval + */ + + /** + * Constructs a new FilteredSubscribeToStream. + * @memberof EventStore.Client.Messages + * @classdesc Represents a FilteredSubscribeToStream. + * @implements IFilteredSubscribeToStream + * @constructor + * @param {EventStore.Client.Messages.IFilteredSubscribeToStream=} [properties] Properties to set + */ + function FilteredSubscribeToStream(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + + /** + * FilteredSubscribeToStream eventStreamId. + * @member {string} eventStreamId + * @memberof EventStore.Client.Messages.FilteredSubscribeToStream + * @instance + */ + FilteredSubscribeToStream.prototype.eventStreamId = ""; + + /** + * FilteredSubscribeToStream resolveLinkTos. + * @member {boolean} resolveLinkTos + * @memberof EventStore.Client.Messages.FilteredSubscribeToStream + * @instance + */ + FilteredSubscribeToStream.prototype.resolveLinkTos = false; + + /** + * FilteredSubscribeToStream filter. + * @member {EventStore.Client.Messages.IFilter} filter + * @memberof EventStore.Client.Messages.FilteredSubscribeToStream + * @instance + */ + FilteredSubscribeToStream.prototype.filter = null; + + /** + * FilteredSubscribeToStream checkpointInterval. + * @member {number} checkpointInterval + * @memberof EventStore.Client.Messages.FilteredSubscribeToStream + * @instance + */ + FilteredSubscribeToStream.prototype.checkpointInterval = 0; + + /** + * Creates a new FilteredSubscribeToStream instance using the specified properties. + * @function create + * @memberof EventStore.Client.Messages.FilteredSubscribeToStream + * @static + * @param {EventStore.Client.Messages.IFilteredSubscribeToStream=} [properties] Properties to set + * @returns {EventStore.Client.Messages.FilteredSubscribeToStream} FilteredSubscribeToStream instance + */ + FilteredSubscribeToStream.create = function create(properties) { + return new FilteredSubscribeToStream(properties); + }; + + /** + * Encodes the specified FilteredSubscribeToStream message. Does not implicitly {@link EventStore.Client.Messages.FilteredSubscribeToStream.verify|verify} messages. + * @function encode + * @memberof EventStore.Client.Messages.FilteredSubscribeToStream + * @static + * @param {EventStore.Client.Messages.IFilteredSubscribeToStream} message FilteredSubscribeToStream message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + FilteredSubscribeToStream.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + writer.uint32(/* id 1, wireType 2 =*/10).string(message.eventStreamId); + writer.uint32(/* id 2, wireType 0 =*/16).bool(message.resolveLinkTos); + $root.EventStore.Client.Messages.Filter.encode(message.filter, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim(); + writer.uint32(/* id 4, wireType 0 =*/32).int32(message.checkpointInterval); + return writer; + }; + + /** + * Encodes the specified FilteredSubscribeToStream message, length delimited. Does not implicitly {@link EventStore.Client.Messages.FilteredSubscribeToStream.verify|verify} messages. + * @function encodeDelimited + * @memberof EventStore.Client.Messages.FilteredSubscribeToStream + * @static + * @param {EventStore.Client.Messages.IFilteredSubscribeToStream} message FilteredSubscribeToStream message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + FilteredSubscribeToStream.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a FilteredSubscribeToStream message from the specified reader or buffer. + * @function decode + * @memberof EventStore.Client.Messages.FilteredSubscribeToStream + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {EventStore.Client.Messages.FilteredSubscribeToStream} FilteredSubscribeToStream + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + FilteredSubscribeToStream.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.EventStore.Client.Messages.FilteredSubscribeToStream(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.eventStreamId = reader.string(); + break; + } + case 2: { + message.resolveLinkTos = reader.bool(); + break; + } + case 3: { + message.filter = $root.EventStore.Client.Messages.Filter.decode(reader, reader.uint32()); + break; + } + case 4: { + message.checkpointInterval = reader.int32(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + if (!message.hasOwnProperty("eventStreamId")) + throw $util.ProtocolError("missing required 'eventStreamId'", { instance: message }); + if (!message.hasOwnProperty("resolveLinkTos")) + throw $util.ProtocolError("missing required 'resolveLinkTos'", { instance: message }); + if (!message.hasOwnProperty("filter")) + throw $util.ProtocolError("missing required 'filter'", { instance: message }); + if (!message.hasOwnProperty("checkpointInterval")) + throw $util.ProtocolError("missing required 'checkpointInterval'", { instance: message }); + return message; + }; + + /** + * Decodes a FilteredSubscribeToStream message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof EventStore.Client.Messages.FilteredSubscribeToStream + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {EventStore.Client.Messages.FilteredSubscribeToStream} FilteredSubscribeToStream + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + FilteredSubscribeToStream.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a FilteredSubscribeToStream message. + * @function verify + * @memberof EventStore.Client.Messages.FilteredSubscribeToStream + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + FilteredSubscribeToStream.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (!$util.isString(message.eventStreamId)) + return "eventStreamId: string expected"; + if (typeof message.resolveLinkTos !== "boolean") + return "resolveLinkTos: boolean expected"; + { + var error = $root.EventStore.Client.Messages.Filter.verify(message.filter); + if (error) + return "filter." + error; + } + if (!$util.isInteger(message.checkpointInterval)) + return "checkpointInterval: integer expected"; + return null; + }; + + /** + * Creates a FilteredSubscribeToStream message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof EventStore.Client.Messages.FilteredSubscribeToStream + * @static + * @param {Object.} object Plain object + * @returns {EventStore.Client.Messages.FilteredSubscribeToStream} FilteredSubscribeToStream + */ + FilteredSubscribeToStream.fromObject = function fromObject(object) { + if (object instanceof $root.EventStore.Client.Messages.FilteredSubscribeToStream) + return object; + var message = new $root.EventStore.Client.Messages.FilteredSubscribeToStream(); + if (object.eventStreamId != null) + message.eventStreamId = String(object.eventStreamId); + if (object.resolveLinkTos != null) + message.resolveLinkTos = Boolean(object.resolveLinkTos); + if (object.filter != null) { + if (typeof object.filter !== "object") + throw TypeError(".EventStore.Client.Messages.FilteredSubscribeToStream.filter: object expected"); + message.filter = $root.EventStore.Client.Messages.Filter.fromObject(object.filter); + } + if (object.checkpointInterval != null) + message.checkpointInterval = object.checkpointInterval | 0; + return message; + }; + + /** + * Creates a plain object from a FilteredSubscribeToStream message. Also converts values to other types if specified. + * @function toObject + * @memberof EventStore.Client.Messages.FilteredSubscribeToStream + * @static + * @param {EventStore.Client.Messages.FilteredSubscribeToStream} message FilteredSubscribeToStream + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + FilteredSubscribeToStream.toObject = function toObject(message, options) { + if (!options) + options = {}; + var object = {}; + if (options.defaults) { + object.eventStreamId = ""; + object.resolveLinkTos = false; + object.filter = null; + object.checkpointInterval = 0; + } + if (message.eventStreamId != null && message.hasOwnProperty("eventStreamId")) + object.eventStreamId = message.eventStreamId; + if (message.resolveLinkTos != null && message.hasOwnProperty("resolveLinkTos")) + object.resolveLinkTos = message.resolveLinkTos; + if (message.filter != null && message.hasOwnProperty("filter")) + object.filter = $root.EventStore.Client.Messages.Filter.toObject(message.filter, options); + if (message.checkpointInterval != null && message.hasOwnProperty("checkpointInterval")) + object.checkpointInterval = message.checkpointInterval; + return object; + }; + + /** + * Converts this FilteredSubscribeToStream to JSON. + * @function toJSON + * @memberof EventStore.Client.Messages.FilteredSubscribeToStream + * @instance + * @returns {Object.} JSON object + */ + FilteredSubscribeToStream.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for FilteredSubscribeToStream + * @function getTypeUrl + * @memberof EventStore.Client.Messages.FilteredSubscribeToStream + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + FilteredSubscribeToStream.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/EventStore.Client.Messages.FilteredSubscribeToStream"; + }; + + return FilteredSubscribeToStream; + })(); + + Messages.CheckpointReached = (function() { + + /** + * Properties of a CheckpointReached. + * @memberof EventStore.Client.Messages + * @interface ICheckpointReached + * @property {Long} commitPosition CheckpointReached commitPosition + * @property {Long} preparePosition CheckpointReached preparePosition + */ + + /** + * Constructs a new CheckpointReached. + * @memberof EventStore.Client.Messages + * @classdesc Represents a CheckpointReached. + * @implements ICheckpointReached + * @constructor + * @param {EventStore.Client.Messages.ICheckpointReached=} [properties] Properties to set + */ + function CheckpointReached(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + + /** + * CheckpointReached commitPosition. + * @member {Long} commitPosition + * @memberof EventStore.Client.Messages.CheckpointReached + * @instance + */ + CheckpointReached.prototype.commitPosition = $util.Long ? $util.Long.fromBits(0,0,false) : 0; + + /** + * CheckpointReached preparePosition. + * @member {Long} preparePosition + * @memberof EventStore.Client.Messages.CheckpointReached + * @instance + */ + CheckpointReached.prototype.preparePosition = $util.Long ? $util.Long.fromBits(0,0,false) : 0; + + /** + * Creates a new CheckpointReached instance using the specified properties. + * @function create + * @memberof EventStore.Client.Messages.CheckpointReached + * @static + * @param {EventStore.Client.Messages.ICheckpointReached=} [properties] Properties to set + * @returns {EventStore.Client.Messages.CheckpointReached} CheckpointReached instance + */ + CheckpointReached.create = function create(properties) { + return new CheckpointReached(properties); + }; + + /** + * Encodes the specified CheckpointReached message. Does not implicitly {@link EventStore.Client.Messages.CheckpointReached.verify|verify} messages. + * @function encode + * @memberof EventStore.Client.Messages.CheckpointReached + * @static + * @param {EventStore.Client.Messages.ICheckpointReached} message CheckpointReached message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + CheckpointReached.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + writer.uint32(/* id 1, wireType 0 =*/8).int64(message.commitPosition); + writer.uint32(/* id 2, wireType 0 =*/16).int64(message.preparePosition); + return writer; + }; + + /** + * Encodes the specified CheckpointReached message, length delimited. Does not implicitly {@link EventStore.Client.Messages.CheckpointReached.verify|verify} messages. + * @function encodeDelimited + * @memberof EventStore.Client.Messages.CheckpointReached + * @static + * @param {EventStore.Client.Messages.ICheckpointReached} message CheckpointReached message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + CheckpointReached.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a CheckpointReached message from the specified reader or buffer. + * @function decode + * @memberof EventStore.Client.Messages.CheckpointReached + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {EventStore.Client.Messages.CheckpointReached} CheckpointReached + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + CheckpointReached.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.EventStore.Client.Messages.CheckpointReached(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: { + message.commitPosition = reader.int64(); + break; + } + case 2: { + message.preparePosition = reader.int64(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + if (!message.hasOwnProperty("commitPosition")) + throw $util.ProtocolError("missing required 'commitPosition'", { instance: message }); + if (!message.hasOwnProperty("preparePosition")) + throw $util.ProtocolError("missing required 'preparePosition'", { instance: message }); + return message; + }; + + /** + * Decodes a CheckpointReached message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof EventStore.Client.Messages.CheckpointReached + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {EventStore.Client.Messages.CheckpointReached} CheckpointReached + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + CheckpointReached.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a CheckpointReached message. + * @function verify + * @memberof EventStore.Client.Messages.CheckpointReached + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + CheckpointReached.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (!$util.isInteger(message.commitPosition) && !(message.commitPosition && $util.isInteger(message.commitPosition.low) && $util.isInteger(message.commitPosition.high))) + return "commitPosition: integer|Long expected"; + if (!$util.isInteger(message.preparePosition) && !(message.preparePosition && $util.isInteger(message.preparePosition.low) && $util.isInteger(message.preparePosition.high))) + return "preparePosition: integer|Long expected"; + return null; + }; + + /** + * Creates a CheckpointReached message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof EventStore.Client.Messages.CheckpointReached + * @static + * @param {Object.} object Plain object + * @returns {EventStore.Client.Messages.CheckpointReached} CheckpointReached + */ + CheckpointReached.fromObject = function fromObject(object) { + if (object instanceof $root.EventStore.Client.Messages.CheckpointReached) + return object; + var message = new $root.EventStore.Client.Messages.CheckpointReached(); + if (object.commitPosition != null) + if ($util.Long) + (message.commitPosition = $util.Long.fromValue(object.commitPosition)).unsigned = false; + else if (typeof object.commitPosition === "string") + message.commitPosition = parseInt(object.commitPosition, 10); + else if (typeof object.commitPosition === "number") + message.commitPosition = object.commitPosition; + else if (typeof object.commitPosition === "object") + message.commitPosition = new $util.LongBits(object.commitPosition.low >>> 0, object.commitPosition.high >>> 0).toNumber(); + if (object.preparePosition != null) + if ($util.Long) + (message.preparePosition = $util.Long.fromValue(object.preparePosition)).unsigned = false; + else if (typeof object.preparePosition === "string") + message.preparePosition = parseInt(object.preparePosition, 10); + else if (typeof object.preparePosition === "number") + message.preparePosition = object.preparePosition; + else if (typeof object.preparePosition === "object") + message.preparePosition = new $util.LongBits(object.preparePosition.low >>> 0, object.preparePosition.high >>> 0).toNumber(); + return message; + }; + + /** + * Creates a plain object from a CheckpointReached message. Also converts values to other types if specified. + * @function toObject + * @memberof EventStore.Client.Messages.CheckpointReached + * @static + * @param {EventStore.Client.Messages.CheckpointReached} message CheckpointReached + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + CheckpointReached.toObject = function toObject(message, options) { + if (!options) + options = {}; + var object = {}; + if (options.defaults) { + if ($util.Long) { + var long = new $util.Long(0, 0, false); + object.commitPosition = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long; + } else + object.commitPosition = options.longs === String ? "0" : 0; + if ($util.Long) { + var long = new $util.Long(0, 0, false); + object.preparePosition = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long; + } else + object.preparePosition = options.longs === String ? "0" : 0; + } + if (message.commitPosition != null && message.hasOwnProperty("commitPosition")) + if (typeof message.commitPosition === "number") + object.commitPosition = options.longs === String ? String(message.commitPosition) : message.commitPosition; + else + object.commitPosition = options.longs === String ? $util.Long.prototype.toString.call(message.commitPosition) : options.longs === Number ? new $util.LongBits(message.commitPosition.low >>> 0, message.commitPosition.high >>> 0).toNumber() : message.commitPosition; + if (message.preparePosition != null && message.hasOwnProperty("preparePosition")) + if (typeof message.preparePosition === "number") + object.preparePosition = options.longs === String ? String(message.preparePosition) : message.preparePosition; + else + object.preparePosition = options.longs === String ? $util.Long.prototype.toString.call(message.preparePosition) : options.longs === Number ? new $util.LongBits(message.preparePosition.low >>> 0, message.preparePosition.high >>> 0).toNumber() : message.preparePosition; + return object; + }; + + /** + * Converts this CheckpointReached to JSON. + * @function toJSON + * @memberof EventStore.Client.Messages.CheckpointReached + * @instance + * @returns {Object.} JSON object + */ + CheckpointReached.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for CheckpointReached + * @function getTypeUrl + * @memberof EventStore.Client.Messages.CheckpointReached + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + CheckpointReached.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/EventStore.Client.Messages.CheckpointReached"; + }; + + return CheckpointReached; + })(); + Messages.SubscriptionConfirmation = (function() { - + /** * Properties of a SubscriptionConfirmation. * @memberof EventStore.Client.Messages * @interface ISubscriptionConfirmation - * @property {number|Long} lastCommitPosition SubscriptionConfirmation lastCommitPosition - * @property {number|Long|null} [lastEventNumber] SubscriptionConfirmation lastEventNumber + * @property {Long} lastCommitPosition SubscriptionConfirmation lastCommitPosition + * @property {Long|null} [lastEventNumber] SubscriptionConfirmation lastEventNumber */ - + /** * Constructs a new SubscriptionConfirmation. * @memberof EventStore.Client.Messages @@ -9964,23 +12455,23 @@ if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; } - + /** * SubscriptionConfirmation lastCommitPosition. - * @member {number|Long} lastCommitPosition + * @member {Long} lastCommitPosition * @memberof EventStore.Client.Messages.SubscriptionConfirmation * @instance */ SubscriptionConfirmation.prototype.lastCommitPosition = $util.Long ? $util.Long.fromBits(0,0,false) : 0; - + /** * SubscriptionConfirmation lastEventNumber. - * @member {number|Long} lastEventNumber + * @member {Long} lastEventNumber * @memberof EventStore.Client.Messages.SubscriptionConfirmation * @instance */ SubscriptionConfirmation.prototype.lastEventNumber = $util.Long ? $util.Long.fromBits(0,0,false) : 0; - + /** * Creates a new SubscriptionConfirmation instance using the specified properties. * @function create @@ -9992,7 +12483,7 @@ SubscriptionConfirmation.create = function create(properties) { return new SubscriptionConfirmation(properties); }; - + /** * Encodes the specified SubscriptionConfirmation message. Does not implicitly {@link EventStore.Client.Messages.SubscriptionConfirmation.verify|verify} messages. * @function encode @@ -10006,11 +12497,11 @@ if (!writer) writer = $Writer.create(); writer.uint32(/* id 1, wireType 0 =*/8).int64(message.lastCommitPosition); - if (message.lastEventNumber != null && message.hasOwnProperty("lastEventNumber")) + if (message.lastEventNumber != null && Object.hasOwnProperty.call(message, "lastEventNumber")) writer.uint32(/* id 2, wireType 0 =*/16).int64(message.lastEventNumber); return writer; }; - + /** * Encodes the specified SubscriptionConfirmation message, length delimited. Does not implicitly {@link EventStore.Client.Messages.SubscriptionConfirmation.verify|verify} messages. * @function encodeDelimited @@ -10023,7 +12514,7 @@ SubscriptionConfirmation.encodeDelimited = function encodeDelimited(message, writer) { return this.encode(message, writer).ldelim(); }; - + /** * Decodes a SubscriptionConfirmation message from the specified reader or buffer. * @function decode @@ -10042,12 +12533,14 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.lastCommitPosition = reader.int64(); - break; - case 2: - message.lastEventNumber = reader.int64(); - break; + case 1: { + message.lastCommitPosition = reader.int64(); + break; + } + case 2: { + message.lastEventNumber = reader.int64(); + break; + } default: reader.skipType(tag & 7); break; @@ -10057,7 +12550,7 @@ throw $util.ProtocolError("missing required 'lastCommitPosition'", { instance: message }); return message; }; - + /** * Decodes a SubscriptionConfirmation message from the specified reader or buffer, length delimited. * @function decodeDelimited @@ -10073,7 +12566,7 @@ reader = new $Reader(reader); return this.decode(reader, reader.uint32()); }; - + /** * Verifies a SubscriptionConfirmation message. * @function verify @@ -10092,7 +12585,7 @@ return "lastEventNumber: integer|Long expected"; return null; }; - + /** * Creates a SubscriptionConfirmation message from a plain object. Also converts values to their respective internal types. * @function fromObject @@ -10125,7 +12618,7 @@ message.lastEventNumber = new $util.LongBits(object.lastEventNumber.low >>> 0, object.lastEventNumber.high >>> 0).toNumber(); return message; }; - + /** * Creates a plain object from a SubscriptionConfirmation message. Also converts values to other types if specified. * @function toObject @@ -10163,7 +12656,7 @@ object.lastEventNumber = options.longs === String ? $util.Long.prototype.toString.call(message.lastEventNumber) : options.longs === Number ? new $util.LongBits(message.lastEventNumber.low >>> 0, message.lastEventNumber.high >>> 0).toNumber() : message.lastEventNumber; return object; }; - + /** * Converts this SubscriptionConfirmation to JSON. * @function toJSON @@ -10174,19 +12667,34 @@ SubscriptionConfirmation.prototype.toJSON = function toJSON() { return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; - + + /** + * Gets the default type url for SubscriptionConfirmation + * @function getTypeUrl + * @memberof EventStore.Client.Messages.SubscriptionConfirmation + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + SubscriptionConfirmation.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/EventStore.Client.Messages.SubscriptionConfirmation"; + }; + return SubscriptionConfirmation; })(); - + Messages.StreamEventAppeared = (function() { - + /** * Properties of a StreamEventAppeared. * @memberof EventStore.Client.Messages * @interface IStreamEventAppeared * @property {EventStore.Client.Messages.IResolvedEvent} event StreamEventAppeared event */ - + /** * Constructs a new StreamEventAppeared. * @memberof EventStore.Client.Messages @@ -10201,7 +12709,7 @@ if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; } - + /** * StreamEventAppeared event. * @member {EventStore.Client.Messages.IResolvedEvent} event @@ -10209,7 +12717,7 @@ * @instance */ StreamEventAppeared.prototype.event = null; - + /** * Creates a new StreamEventAppeared instance using the specified properties. * @function create @@ -10221,7 +12729,7 @@ StreamEventAppeared.create = function create(properties) { return new StreamEventAppeared(properties); }; - + /** * Encodes the specified StreamEventAppeared message. Does not implicitly {@link EventStore.Client.Messages.StreamEventAppeared.verify|verify} messages. * @function encode @@ -10237,7 +12745,7 @@ $root.EventStore.Client.Messages.ResolvedEvent.encode(message.event, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); return writer; }; - + /** * Encodes the specified StreamEventAppeared message, length delimited. Does not implicitly {@link EventStore.Client.Messages.StreamEventAppeared.verify|verify} messages. * @function encodeDelimited @@ -10250,7 +12758,7 @@ StreamEventAppeared.encodeDelimited = function encodeDelimited(message, writer) { return this.encode(message, writer).ldelim(); }; - + /** * Decodes a StreamEventAppeared message from the specified reader or buffer. * @function decode @@ -10269,9 +12777,10 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.event = $root.EventStore.Client.Messages.ResolvedEvent.decode(reader, reader.uint32()); - break; + case 1: { + message.event = $root.EventStore.Client.Messages.ResolvedEvent.decode(reader, reader.uint32()); + break; + } default: reader.skipType(tag & 7); break; @@ -10281,7 +12790,7 @@ throw $util.ProtocolError("missing required 'event'", { instance: message }); return message; }; - + /** * Decodes a StreamEventAppeared message from the specified reader or buffer, length delimited. * @function decodeDelimited @@ -10297,7 +12806,7 @@ reader = new $Reader(reader); return this.decode(reader, reader.uint32()); }; - + /** * Verifies a StreamEventAppeared message. * @function verify @@ -10316,7 +12825,7 @@ } return null; }; - + /** * Creates a StreamEventAppeared message from a plain object. Also converts values to their respective internal types. * @function fromObject @@ -10336,7 +12845,7 @@ } return message; }; - + /** * Creates a plain object from a StreamEventAppeared message. Also converts values to other types if specified. * @function toObject @@ -10356,7 +12865,7 @@ object.event = $root.EventStore.Client.Messages.ResolvedEvent.toObject(message.event, options); return object; }; - + /** * Converts this StreamEventAppeared to JSON. * @function toJSON @@ -10367,18 +12876,33 @@ StreamEventAppeared.prototype.toJSON = function toJSON() { return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; - + + /** + * Gets the default type url for StreamEventAppeared + * @function getTypeUrl + * @memberof EventStore.Client.Messages.StreamEventAppeared + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + StreamEventAppeared.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/EventStore.Client.Messages.StreamEventAppeared"; + }; + return StreamEventAppeared; })(); - + Messages.UnsubscribeFromStream = (function() { - + /** * Properties of an UnsubscribeFromStream. * @memberof EventStore.Client.Messages * @interface IUnsubscribeFromStream */ - + /** * Constructs a new UnsubscribeFromStream. * @memberof EventStore.Client.Messages @@ -10393,7 +12917,7 @@ if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; } - + /** * Creates a new UnsubscribeFromStream instance using the specified properties. * @function create @@ -10405,7 +12929,7 @@ UnsubscribeFromStream.create = function create(properties) { return new UnsubscribeFromStream(properties); }; - + /** * Encodes the specified UnsubscribeFromStream message. Does not implicitly {@link EventStore.Client.Messages.UnsubscribeFromStream.verify|verify} messages. * @function encode @@ -10420,7 +12944,7 @@ writer = $Writer.create(); return writer; }; - + /** * Encodes the specified UnsubscribeFromStream message, length delimited. Does not implicitly {@link EventStore.Client.Messages.UnsubscribeFromStream.verify|verify} messages. * @function encodeDelimited @@ -10433,7 +12957,7 @@ UnsubscribeFromStream.encodeDelimited = function encodeDelimited(message, writer) { return this.encode(message, writer).ldelim(); }; - + /** * Decodes an UnsubscribeFromStream message from the specified reader or buffer. * @function decode @@ -10459,7 +12983,7 @@ } return message; }; - + /** * Decodes an UnsubscribeFromStream message from the specified reader or buffer, length delimited. * @function decodeDelimited @@ -10475,7 +12999,7 @@ reader = new $Reader(reader); return this.decode(reader, reader.uint32()); }; - + /** * Verifies an UnsubscribeFromStream message. * @function verify @@ -10489,7 +13013,7 @@ return "object expected"; return null; }; - + /** * Creates an UnsubscribeFromStream message from a plain object. Also converts values to their respective internal types. * @function fromObject @@ -10503,7 +13027,7 @@ return object; return new $root.EventStore.Client.Messages.UnsubscribeFromStream(); }; - + /** * Creates a plain object from an UnsubscribeFromStream message. Also converts values to other types if specified. * @function toObject @@ -10516,7 +13040,7 @@ UnsubscribeFromStream.toObject = function toObject() { return {}; }; - + /** * Converts this UnsubscribeFromStream to JSON. * @function toJSON @@ -10527,19 +13051,34 @@ UnsubscribeFromStream.prototype.toJSON = function toJSON() { return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; - + + /** + * Gets the default type url for UnsubscribeFromStream + * @function getTypeUrl + * @memberof EventStore.Client.Messages.UnsubscribeFromStream + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + UnsubscribeFromStream.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/EventStore.Client.Messages.UnsubscribeFromStream"; + }; + return UnsubscribeFromStream; })(); - + Messages.SubscriptionDropped = (function() { - + /** * Properties of a SubscriptionDropped. * @memberof EventStore.Client.Messages * @interface ISubscriptionDropped * @property {EventStore.Client.Messages.SubscriptionDropped.SubscriptionDropReason|null} [reason] SubscriptionDropped reason */ - + /** * Constructs a new SubscriptionDropped. * @memberof EventStore.Client.Messages @@ -10554,7 +13093,7 @@ if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; } - + /** * SubscriptionDropped reason. * @member {EventStore.Client.Messages.SubscriptionDropped.SubscriptionDropReason} reason @@ -10562,7 +13101,7 @@ * @instance */ SubscriptionDropped.prototype.reason = 0; - + /** * Creates a new SubscriptionDropped instance using the specified properties. * @function create @@ -10574,7 +13113,7 @@ SubscriptionDropped.create = function create(properties) { return new SubscriptionDropped(properties); }; - + /** * Encodes the specified SubscriptionDropped message. Does not implicitly {@link EventStore.Client.Messages.SubscriptionDropped.verify|verify} messages. * @function encode @@ -10587,11 +13126,11 @@ SubscriptionDropped.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.reason != null && message.hasOwnProperty("reason")) + if (message.reason != null && Object.hasOwnProperty.call(message, "reason")) writer.uint32(/* id 1, wireType 0 =*/8).int32(message.reason); return writer; }; - + /** * Encodes the specified SubscriptionDropped message, length delimited. Does not implicitly {@link EventStore.Client.Messages.SubscriptionDropped.verify|verify} messages. * @function encodeDelimited @@ -10604,7 +13143,7 @@ SubscriptionDropped.encodeDelimited = function encodeDelimited(message, writer) { return this.encode(message, writer).ldelim(); }; - + /** * Decodes a SubscriptionDropped message from the specified reader or buffer. * @function decode @@ -10623,9 +13162,10 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.reason = reader.int32(); - break; + case 1: { + message.reason = reader.int32(); + break; + } default: reader.skipType(tag & 7); break; @@ -10633,7 +13173,7 @@ } return message; }; - + /** * Decodes a SubscriptionDropped message from the specified reader or buffer, length delimited. * @function decodeDelimited @@ -10649,7 +13189,7 @@ reader = new $Reader(reader); return this.decode(reader, reader.uint32()); }; - + /** * Verifies a SubscriptionDropped message. * @function verify @@ -10674,7 +13214,7 @@ } return null; }; - + /** * Creates a SubscriptionDropped message from a plain object. Also converts values to their respective internal types. * @function fromObject @@ -10688,6 +13228,12 @@ return object; var message = new $root.EventStore.Client.Messages.SubscriptionDropped(); switch (object.reason) { + default: + if (typeof object.reason === "number") { + message.reason = object.reason; + break; + } + break; case "Unsubscribed": case 0: message.reason = 0; @@ -10711,7 +13257,7 @@ } return message; }; - + /** * Creates a plain object from a SubscriptionDropped message. Also converts values to other types if specified. * @function toObject @@ -10728,10 +13274,10 @@ if (options.defaults) object.reason = options.enums === String ? "Unsubscribed" : 0; if (message.reason != null && message.hasOwnProperty("reason")) - object.reason = options.enums === String ? $root.EventStore.Client.Messages.SubscriptionDropped.SubscriptionDropReason[message.reason] : message.reason; + object.reason = options.enums === String ? $root.EventStore.Client.Messages.SubscriptionDropped.SubscriptionDropReason[message.reason] === undefined ? message.reason : $root.EventStore.Client.Messages.SubscriptionDropped.SubscriptionDropReason[message.reason] : message.reason; return object; }; - + /** * Converts this SubscriptionDropped to JSON. * @function toJSON @@ -10742,11 +13288,26 @@ SubscriptionDropped.prototype.toJSON = function toJSON() { return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; - + + /** + * Gets the default type url for SubscriptionDropped + * @function getTypeUrl + * @memberof EventStore.Client.Messages.SubscriptionDropped + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + SubscriptionDropped.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/EventStore.Client.Messages.SubscriptionDropped"; + }; + /** * SubscriptionDropReason enum. * @name EventStore.Client.Messages.SubscriptionDropped.SubscriptionDropReason - * @enum {string} + * @enum {number} * @property {number} Unsubscribed=0 Unsubscribed value * @property {number} AccessDenied=1 AccessDenied value * @property {number} NotFound=2 NotFound value @@ -10762,12 +13323,12 @@ values[valuesById[4] = "SubscriberMaxCountReached"] = 4; return values; })(); - + return SubscriptionDropped; })(); - + Messages.NotHandled = (function() { - + /** * Properties of a NotHandled. * @memberof EventStore.Client.Messages @@ -10775,7 +13336,7 @@ * @property {EventStore.Client.Messages.NotHandled.NotHandledReason} reason NotHandled reason * @property {Uint8Array|null} [additionalInfo] NotHandled additionalInfo */ - + /** * Constructs a new NotHandled. * @memberof EventStore.Client.Messages @@ -10790,7 +13351,7 @@ if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; } - + /** * NotHandled reason. * @member {EventStore.Client.Messages.NotHandled.NotHandledReason} reason @@ -10798,7 +13359,7 @@ * @instance */ NotHandled.prototype.reason = 0; - + /** * NotHandled additionalInfo. * @member {Uint8Array} additionalInfo @@ -10806,7 +13367,7 @@ * @instance */ NotHandled.prototype.additionalInfo = $util.newBuffer([]); - + /** * Creates a new NotHandled instance using the specified properties. * @function create @@ -10818,7 +13379,7 @@ NotHandled.create = function create(properties) { return new NotHandled(properties); }; - + /** * Encodes the specified NotHandled message. Does not implicitly {@link EventStore.Client.Messages.NotHandled.verify|verify} messages. * @function encode @@ -10832,11 +13393,11 @@ if (!writer) writer = $Writer.create(); writer.uint32(/* id 1, wireType 0 =*/8).int32(message.reason); - if (message.additionalInfo != null && message.hasOwnProperty("additionalInfo")) + if (message.additionalInfo != null && Object.hasOwnProperty.call(message, "additionalInfo")) writer.uint32(/* id 2, wireType 2 =*/18).bytes(message.additionalInfo); return writer; }; - + /** * Encodes the specified NotHandled message, length delimited. Does not implicitly {@link EventStore.Client.Messages.NotHandled.verify|verify} messages. * @function encodeDelimited @@ -10849,7 +13410,7 @@ NotHandled.encodeDelimited = function encodeDelimited(message, writer) { return this.encode(message, writer).ldelim(); }; - + /** * Decodes a NotHandled message from the specified reader or buffer. * @function decode @@ -10868,12 +13429,14 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.reason = reader.int32(); - break; - case 2: - message.additionalInfo = reader.bytes(); - break; + case 1: { + message.reason = reader.int32(); + break; + } + case 2: { + message.additionalInfo = reader.bytes(); + break; + } default: reader.skipType(tag & 7); break; @@ -10883,7 +13446,7 @@ throw $util.ProtocolError("missing required 'reason'", { instance: message }); return message; }; - + /** * Decodes a NotHandled message from the specified reader or buffer, length delimited. * @function decodeDelimited @@ -10899,7 +13462,7 @@ reader = new $Reader(reader); return this.decode(reader, reader.uint32()); }; - + /** * Verifies a NotHandled message. * @function verify @@ -10917,6 +13480,7 @@ case 0: case 1: case 2: + case 3: break; } if (message.additionalInfo != null && message.hasOwnProperty("additionalInfo")) @@ -10924,7 +13488,7 @@ return "additionalInfo: buffer expected"; return null; }; - + /** * Creates a NotHandled message from a plain object. Also converts values to their respective internal types. * @function fromObject @@ -10938,6 +13502,12 @@ return object; var message = new $root.EventStore.Client.Messages.NotHandled(); switch (object.reason) { + default: + if (typeof object.reason === "number") { + message.reason = object.reason; + break; + } + break; case "NotReady": case 0: message.reason = 0; @@ -10946,19 +13516,23 @@ case 1: message.reason = 1; break; - case "NotMaster": + case "NotLeader": case 2: message.reason = 2; break; + case "IsReadOnly": + case 3: + message.reason = 3; + break; } if (object.additionalInfo != null) if (typeof object.additionalInfo === "string") $util.base64.decode(object.additionalInfo, message.additionalInfo = $util.newBuffer($util.base64.length(object.additionalInfo)), 0); - else if (object.additionalInfo.length) + else if (object.additionalInfo.length >= 0) message.additionalInfo = object.additionalInfo; return message; }; - + /** * Creates a plain object from a NotHandled message. Also converts values to other types if specified. * @function toObject @@ -10983,12 +13557,12 @@ } } if (message.reason != null && message.hasOwnProperty("reason")) - object.reason = options.enums === String ? $root.EventStore.Client.Messages.NotHandled.NotHandledReason[message.reason] : message.reason; + object.reason = options.enums === String ? $root.EventStore.Client.Messages.NotHandled.NotHandledReason[message.reason] === undefined ? message.reason : $root.EventStore.Client.Messages.NotHandled.NotHandledReason[message.reason] : message.reason; if (message.additionalInfo != null && message.hasOwnProperty("additionalInfo")) object.additionalInfo = options.bytes === String ? $util.base64.encode(message.additionalInfo, 0, message.additionalInfo.length) : options.bytes === Array ? Array.prototype.slice.call(message.additionalInfo) : message.additionalInfo; return object; }; - + /** * Converts this NotHandled to JSON. * @function toJSON @@ -10999,235 +13573,258 @@ NotHandled.prototype.toJSON = function toJSON() { return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; - + + /** + * Gets the default type url for NotHandled + * @function getTypeUrl + * @memberof EventStore.Client.Messages.NotHandled + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + NotHandled.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/EventStore.Client.Messages.NotHandled"; + }; + /** * NotHandledReason enum. * @name EventStore.Client.Messages.NotHandled.NotHandledReason - * @enum {string} + * @enum {number} * @property {number} NotReady=0 NotReady value * @property {number} TooBusy=1 TooBusy value - * @property {number} NotMaster=2 NotMaster value + * @property {number} NotLeader=2 NotLeader value + * @property {number} IsReadOnly=3 IsReadOnly value */ NotHandled.NotHandledReason = (function() { var valuesById = {}, values = Object.create(valuesById); values[valuesById[0] = "NotReady"] = 0; values[valuesById[1] = "TooBusy"] = 1; - values[valuesById[2] = "NotMaster"] = 2; + values[valuesById[2] = "NotLeader"] = 2; + values[valuesById[3] = "IsReadOnly"] = 3; return values; })(); - - NotHandled.MasterInfo = (function() { - + + NotHandled.LeaderInfo = (function() { + /** - * Properties of a MasterInfo. + * Properties of a LeaderInfo. * @memberof EventStore.Client.Messages.NotHandled - * @interface IMasterInfo - * @property {string} externalTcpAddress MasterInfo externalTcpAddress - * @property {number} externalTcpPort MasterInfo externalTcpPort - * @property {string} externalHttpAddress MasterInfo externalHttpAddress - * @property {number} externalHttpPort MasterInfo externalHttpPort - * @property {string|null} [externalSecureTcpAddress] MasterInfo externalSecureTcpAddress - * @property {number|null} [externalSecureTcpPort] MasterInfo externalSecureTcpPort + * @interface ILeaderInfo + * @property {string|null} [externalTcpAddress] LeaderInfo externalTcpAddress + * @property {number|null} [externalTcpPort] LeaderInfo externalTcpPort + * @property {string} httpAddress LeaderInfo httpAddress + * @property {number} httpPort LeaderInfo httpPort + * @property {string|null} [externalSecureTcpAddress] LeaderInfo externalSecureTcpAddress + * @property {number|null} [externalSecureTcpPort] LeaderInfo externalSecureTcpPort */ - + /** - * Constructs a new MasterInfo. + * Constructs a new LeaderInfo. * @memberof EventStore.Client.Messages.NotHandled - * @classdesc Represents a MasterInfo. - * @implements IMasterInfo + * @classdesc Represents a LeaderInfo. + * @implements ILeaderInfo * @constructor - * @param {EventStore.Client.Messages.NotHandled.IMasterInfo=} [properties] Properties to set + * @param {EventStore.Client.Messages.NotHandled.ILeaderInfo=} [properties] Properties to set */ - function MasterInfo(properties) { + function LeaderInfo(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; } - + /** - * MasterInfo externalTcpAddress. + * LeaderInfo externalTcpAddress. * @member {string} externalTcpAddress - * @memberof EventStore.Client.Messages.NotHandled.MasterInfo + * @memberof EventStore.Client.Messages.NotHandled.LeaderInfo * @instance */ - MasterInfo.prototype.externalTcpAddress = ""; - + LeaderInfo.prototype.externalTcpAddress = ""; + /** - * MasterInfo externalTcpPort. + * LeaderInfo externalTcpPort. * @member {number} externalTcpPort - * @memberof EventStore.Client.Messages.NotHandled.MasterInfo + * @memberof EventStore.Client.Messages.NotHandled.LeaderInfo * @instance */ - MasterInfo.prototype.externalTcpPort = 0; - + LeaderInfo.prototype.externalTcpPort = 0; + /** - * MasterInfo externalHttpAddress. - * @member {string} externalHttpAddress - * @memberof EventStore.Client.Messages.NotHandled.MasterInfo + * LeaderInfo httpAddress. + * @member {string} httpAddress + * @memberof EventStore.Client.Messages.NotHandled.LeaderInfo * @instance */ - MasterInfo.prototype.externalHttpAddress = ""; - + LeaderInfo.prototype.httpAddress = ""; + /** - * MasterInfo externalHttpPort. - * @member {number} externalHttpPort - * @memberof EventStore.Client.Messages.NotHandled.MasterInfo + * LeaderInfo httpPort. + * @member {number} httpPort + * @memberof EventStore.Client.Messages.NotHandled.LeaderInfo * @instance */ - MasterInfo.prototype.externalHttpPort = 0; - + LeaderInfo.prototype.httpPort = 0; + /** - * MasterInfo externalSecureTcpAddress. + * LeaderInfo externalSecureTcpAddress. * @member {string} externalSecureTcpAddress - * @memberof EventStore.Client.Messages.NotHandled.MasterInfo + * @memberof EventStore.Client.Messages.NotHandled.LeaderInfo * @instance */ - MasterInfo.prototype.externalSecureTcpAddress = ""; - + LeaderInfo.prototype.externalSecureTcpAddress = ""; + /** - * MasterInfo externalSecureTcpPort. + * LeaderInfo externalSecureTcpPort. * @member {number} externalSecureTcpPort - * @memberof EventStore.Client.Messages.NotHandled.MasterInfo + * @memberof EventStore.Client.Messages.NotHandled.LeaderInfo * @instance */ - MasterInfo.prototype.externalSecureTcpPort = 0; - + LeaderInfo.prototype.externalSecureTcpPort = 0; + /** - * Creates a new MasterInfo instance using the specified properties. + * Creates a new LeaderInfo instance using the specified properties. * @function create - * @memberof EventStore.Client.Messages.NotHandled.MasterInfo + * @memberof EventStore.Client.Messages.NotHandled.LeaderInfo * @static - * @param {EventStore.Client.Messages.NotHandled.IMasterInfo=} [properties] Properties to set - * @returns {EventStore.Client.Messages.NotHandled.MasterInfo} MasterInfo instance + * @param {EventStore.Client.Messages.NotHandled.ILeaderInfo=} [properties] Properties to set + * @returns {EventStore.Client.Messages.NotHandled.LeaderInfo} LeaderInfo instance */ - MasterInfo.create = function create(properties) { - return new MasterInfo(properties); + LeaderInfo.create = function create(properties) { + return new LeaderInfo(properties); }; - + /** - * Encodes the specified MasterInfo message. Does not implicitly {@link EventStore.Client.Messages.NotHandled.MasterInfo.verify|verify} messages. + * Encodes the specified LeaderInfo message. Does not implicitly {@link EventStore.Client.Messages.NotHandled.LeaderInfo.verify|verify} messages. * @function encode - * @memberof EventStore.Client.Messages.NotHandled.MasterInfo + * @memberof EventStore.Client.Messages.NotHandled.LeaderInfo * @static - * @param {EventStore.Client.Messages.NotHandled.IMasterInfo} message MasterInfo message or plain object to encode + * @param {EventStore.Client.Messages.NotHandled.ILeaderInfo} message LeaderInfo message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - MasterInfo.encode = function encode(message, writer) { + LeaderInfo.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - writer.uint32(/* id 1, wireType 2 =*/10).string(message.externalTcpAddress); - writer.uint32(/* id 2, wireType 0 =*/16).int32(message.externalTcpPort); - writer.uint32(/* id 3, wireType 2 =*/26).string(message.externalHttpAddress); - writer.uint32(/* id 4, wireType 0 =*/32).int32(message.externalHttpPort); - if (message.externalSecureTcpAddress != null && message.hasOwnProperty("externalSecureTcpAddress")) + if (message.externalTcpAddress != null && Object.hasOwnProperty.call(message, "externalTcpAddress")) + writer.uint32(/* id 1, wireType 2 =*/10).string(message.externalTcpAddress); + if (message.externalTcpPort != null && Object.hasOwnProperty.call(message, "externalTcpPort")) + writer.uint32(/* id 2, wireType 0 =*/16).int32(message.externalTcpPort); + writer.uint32(/* id 3, wireType 2 =*/26).string(message.httpAddress); + writer.uint32(/* id 4, wireType 0 =*/32).int32(message.httpPort); + if (message.externalSecureTcpAddress != null && Object.hasOwnProperty.call(message, "externalSecureTcpAddress")) writer.uint32(/* id 5, wireType 2 =*/42).string(message.externalSecureTcpAddress); - if (message.externalSecureTcpPort != null && message.hasOwnProperty("externalSecureTcpPort")) + if (message.externalSecureTcpPort != null && Object.hasOwnProperty.call(message, "externalSecureTcpPort")) writer.uint32(/* id 6, wireType 0 =*/48).int32(message.externalSecureTcpPort); return writer; }; - + /** - * Encodes the specified MasterInfo message, length delimited. Does not implicitly {@link EventStore.Client.Messages.NotHandled.MasterInfo.verify|verify} messages. + * Encodes the specified LeaderInfo message, length delimited. Does not implicitly {@link EventStore.Client.Messages.NotHandled.LeaderInfo.verify|verify} messages. * @function encodeDelimited - * @memberof EventStore.Client.Messages.NotHandled.MasterInfo + * @memberof EventStore.Client.Messages.NotHandled.LeaderInfo * @static - * @param {EventStore.Client.Messages.NotHandled.IMasterInfo} message MasterInfo message or plain object to encode + * @param {EventStore.Client.Messages.NotHandled.ILeaderInfo} message LeaderInfo message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - MasterInfo.encodeDelimited = function encodeDelimited(message, writer) { + LeaderInfo.encodeDelimited = function encodeDelimited(message, writer) { return this.encode(message, writer).ldelim(); }; - + /** - * Decodes a MasterInfo message from the specified reader or buffer. + * Decodes a LeaderInfo message from the specified reader or buffer. * @function decode - * @memberof EventStore.Client.Messages.NotHandled.MasterInfo + * @memberof EventStore.Client.Messages.NotHandled.LeaderInfo * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {EventStore.Client.Messages.NotHandled.MasterInfo} MasterInfo + * @returns {EventStore.Client.Messages.NotHandled.LeaderInfo} LeaderInfo * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - MasterInfo.decode = function decode(reader, length) { + LeaderInfo.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.EventStore.Client.Messages.NotHandled.MasterInfo(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.EventStore.Client.Messages.NotHandled.LeaderInfo(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.externalTcpAddress = reader.string(); - break; - case 2: - message.externalTcpPort = reader.int32(); - break; - case 3: - message.externalHttpAddress = reader.string(); - break; - case 4: - message.externalHttpPort = reader.int32(); - break; - case 5: - message.externalSecureTcpAddress = reader.string(); - break; - case 6: - message.externalSecureTcpPort = reader.int32(); - break; + case 1: { + message.externalTcpAddress = reader.string(); + break; + } + case 2: { + message.externalTcpPort = reader.int32(); + break; + } + case 3: { + message.httpAddress = reader.string(); + break; + } + case 4: { + message.httpPort = reader.int32(); + break; + } + case 5: { + message.externalSecureTcpAddress = reader.string(); + break; + } + case 6: { + message.externalSecureTcpPort = reader.int32(); + break; + } default: reader.skipType(tag & 7); break; } } - if (!message.hasOwnProperty("externalTcpAddress")) - throw $util.ProtocolError("missing required 'externalTcpAddress'", { instance: message }); - if (!message.hasOwnProperty("externalTcpPort")) - throw $util.ProtocolError("missing required 'externalTcpPort'", { instance: message }); - if (!message.hasOwnProperty("externalHttpAddress")) - throw $util.ProtocolError("missing required 'externalHttpAddress'", { instance: message }); - if (!message.hasOwnProperty("externalHttpPort")) - throw $util.ProtocolError("missing required 'externalHttpPort'", { instance: message }); + if (!message.hasOwnProperty("httpAddress")) + throw $util.ProtocolError("missing required 'httpAddress'", { instance: message }); + if (!message.hasOwnProperty("httpPort")) + throw $util.ProtocolError("missing required 'httpPort'", { instance: message }); return message; }; - + /** - * Decodes a MasterInfo message from the specified reader or buffer, length delimited. + * Decodes a LeaderInfo message from the specified reader or buffer, length delimited. * @function decodeDelimited - * @memberof EventStore.Client.Messages.NotHandled.MasterInfo + * @memberof EventStore.Client.Messages.NotHandled.LeaderInfo * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {EventStore.Client.Messages.NotHandled.MasterInfo} MasterInfo + * @returns {EventStore.Client.Messages.NotHandled.LeaderInfo} LeaderInfo * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - MasterInfo.decodeDelimited = function decodeDelimited(reader) { + LeaderInfo.decodeDelimited = function decodeDelimited(reader) { if (!(reader instanceof $Reader)) reader = new $Reader(reader); return this.decode(reader, reader.uint32()); }; - + /** - * Verifies a MasterInfo message. + * Verifies a LeaderInfo message. * @function verify - * @memberof EventStore.Client.Messages.NotHandled.MasterInfo + * @memberof EventStore.Client.Messages.NotHandled.LeaderInfo * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - MasterInfo.verify = function verify(message) { + LeaderInfo.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (!$util.isString(message.externalTcpAddress)) - return "externalTcpAddress: string expected"; - if (!$util.isInteger(message.externalTcpPort)) - return "externalTcpPort: integer expected"; - if (!$util.isString(message.externalHttpAddress)) - return "externalHttpAddress: string expected"; - if (!$util.isInteger(message.externalHttpPort)) - return "externalHttpPort: integer expected"; + if (message.externalTcpAddress != null && message.hasOwnProperty("externalTcpAddress")) + if (!$util.isString(message.externalTcpAddress)) + return "externalTcpAddress: string expected"; + if (message.externalTcpPort != null && message.hasOwnProperty("externalTcpPort")) + if (!$util.isInteger(message.externalTcpPort)) + return "externalTcpPort: integer expected"; + if (!$util.isString(message.httpAddress)) + return "httpAddress: string expected"; + if (!$util.isInteger(message.httpPort)) + return "httpPort: integer expected"; if (message.externalSecureTcpAddress != null && message.hasOwnProperty("externalSecureTcpAddress")) if (!$util.isString(message.externalSecureTcpAddress)) return "externalSecureTcpAddress: string expected"; @@ -11236,52 +13833,52 @@ return "externalSecureTcpPort: integer expected"; return null; }; - + /** - * Creates a MasterInfo message from a plain object. Also converts values to their respective internal types. + * Creates a LeaderInfo message from a plain object. Also converts values to their respective internal types. * @function fromObject - * @memberof EventStore.Client.Messages.NotHandled.MasterInfo + * @memberof EventStore.Client.Messages.NotHandled.LeaderInfo * @static * @param {Object.} object Plain object - * @returns {EventStore.Client.Messages.NotHandled.MasterInfo} MasterInfo + * @returns {EventStore.Client.Messages.NotHandled.LeaderInfo} LeaderInfo */ - MasterInfo.fromObject = function fromObject(object) { - if (object instanceof $root.EventStore.Client.Messages.NotHandled.MasterInfo) + LeaderInfo.fromObject = function fromObject(object) { + if (object instanceof $root.EventStore.Client.Messages.NotHandled.LeaderInfo) return object; - var message = new $root.EventStore.Client.Messages.NotHandled.MasterInfo(); + var message = new $root.EventStore.Client.Messages.NotHandled.LeaderInfo(); if (object.externalTcpAddress != null) message.externalTcpAddress = String(object.externalTcpAddress); if (object.externalTcpPort != null) message.externalTcpPort = object.externalTcpPort | 0; - if (object.externalHttpAddress != null) - message.externalHttpAddress = String(object.externalHttpAddress); - if (object.externalHttpPort != null) - message.externalHttpPort = object.externalHttpPort | 0; + if (object.httpAddress != null) + message.httpAddress = String(object.httpAddress); + if (object.httpPort != null) + message.httpPort = object.httpPort | 0; if (object.externalSecureTcpAddress != null) message.externalSecureTcpAddress = String(object.externalSecureTcpAddress); if (object.externalSecureTcpPort != null) message.externalSecureTcpPort = object.externalSecureTcpPort | 0; return message; }; - + /** - * Creates a plain object from a MasterInfo message. Also converts values to other types if specified. + * Creates a plain object from a LeaderInfo message. Also converts values to other types if specified. * @function toObject - * @memberof EventStore.Client.Messages.NotHandled.MasterInfo + * @memberof EventStore.Client.Messages.NotHandled.LeaderInfo * @static - * @param {EventStore.Client.Messages.NotHandled.MasterInfo} message MasterInfo + * @param {EventStore.Client.Messages.NotHandled.LeaderInfo} message LeaderInfo * @param {$protobuf.IConversionOptions} [options] Conversion options * @returns {Object.} Plain object */ - MasterInfo.toObject = function toObject(message, options) { + LeaderInfo.toObject = function toObject(message, options) { if (!options) options = {}; var object = {}; if (options.defaults) { object.externalTcpAddress = ""; object.externalTcpPort = 0; - object.externalHttpAddress = ""; - object.externalHttpPort = 0; + object.httpAddress = ""; + object.httpPort = 0; object.externalSecureTcpAddress = ""; object.externalSecureTcpPort = 0; } @@ -11289,42 +13886,57 @@ object.externalTcpAddress = message.externalTcpAddress; if (message.externalTcpPort != null && message.hasOwnProperty("externalTcpPort")) object.externalTcpPort = message.externalTcpPort; - if (message.externalHttpAddress != null && message.hasOwnProperty("externalHttpAddress")) - object.externalHttpAddress = message.externalHttpAddress; - if (message.externalHttpPort != null && message.hasOwnProperty("externalHttpPort")) - object.externalHttpPort = message.externalHttpPort; + if (message.httpAddress != null && message.hasOwnProperty("httpAddress")) + object.httpAddress = message.httpAddress; + if (message.httpPort != null && message.hasOwnProperty("httpPort")) + object.httpPort = message.httpPort; if (message.externalSecureTcpAddress != null && message.hasOwnProperty("externalSecureTcpAddress")) object.externalSecureTcpAddress = message.externalSecureTcpAddress; if (message.externalSecureTcpPort != null && message.hasOwnProperty("externalSecureTcpPort")) object.externalSecureTcpPort = message.externalSecureTcpPort; return object; }; - + /** - * Converts this MasterInfo to JSON. + * Converts this LeaderInfo to JSON. * @function toJSON - * @memberof EventStore.Client.Messages.NotHandled.MasterInfo + * @memberof EventStore.Client.Messages.NotHandled.LeaderInfo * @instance * @returns {Object.} JSON object */ - MasterInfo.prototype.toJSON = function toJSON() { + LeaderInfo.prototype.toJSON = function toJSON() { return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; - - return MasterInfo; + + /** + * Gets the default type url for LeaderInfo + * @function getTypeUrl + * @memberof EventStore.Client.Messages.NotHandled.LeaderInfo + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + LeaderInfo.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/EventStore.Client.Messages.NotHandled.LeaderInfo"; + }; + + return LeaderInfo; })(); - + return NotHandled; })(); - + Messages.ScavengeDatabase = (function() { - + /** * Properties of a ScavengeDatabase. * @memberof EventStore.Client.Messages * @interface IScavengeDatabase */ - + /** * Constructs a new ScavengeDatabase. * @memberof EventStore.Client.Messages @@ -11339,7 +13951,7 @@ if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; } - + /** * Creates a new ScavengeDatabase instance using the specified properties. * @function create @@ -11351,7 +13963,7 @@ ScavengeDatabase.create = function create(properties) { return new ScavengeDatabase(properties); }; - + /** * Encodes the specified ScavengeDatabase message. Does not implicitly {@link EventStore.Client.Messages.ScavengeDatabase.verify|verify} messages. * @function encode @@ -11366,7 +13978,7 @@ writer = $Writer.create(); return writer; }; - + /** * Encodes the specified ScavengeDatabase message, length delimited. Does not implicitly {@link EventStore.Client.Messages.ScavengeDatabase.verify|verify} messages. * @function encodeDelimited @@ -11379,7 +13991,7 @@ ScavengeDatabase.encodeDelimited = function encodeDelimited(message, writer) { return this.encode(message, writer).ldelim(); }; - + /** * Decodes a ScavengeDatabase message from the specified reader or buffer. * @function decode @@ -11405,7 +14017,7 @@ } return message; }; - + /** * Decodes a ScavengeDatabase message from the specified reader or buffer, length delimited. * @function decodeDelimited @@ -11421,7 +14033,7 @@ reader = new $Reader(reader); return this.decode(reader, reader.uint32()); }; - + /** * Verifies a ScavengeDatabase message. * @function verify @@ -11435,7 +14047,7 @@ return "object expected"; return null; }; - + /** * Creates a ScavengeDatabase message from a plain object. Also converts values to their respective internal types. * @function fromObject @@ -11449,7 +14061,7 @@ return object; return new $root.EventStore.Client.Messages.ScavengeDatabase(); }; - + /** * Creates a plain object from a ScavengeDatabase message. Also converts values to other types if specified. * @function toObject @@ -11462,7 +14074,7 @@ ScavengeDatabase.toObject = function toObject() { return {}; }; - + /** * Converts this ScavengeDatabase to JSON. * @function toJSON @@ -11473,144 +14085,135 @@ ScavengeDatabase.prototype.toJSON = function toJSON() { return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; - + + /** + * Gets the default type url for ScavengeDatabase + * @function getTypeUrl + * @memberof EventStore.Client.Messages.ScavengeDatabase + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ScavengeDatabase.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/EventStore.Client.Messages.ScavengeDatabase"; + }; + return ScavengeDatabase; })(); - - Messages.ScavengeDatabaseCompleted = (function() { - + + Messages.ScavengeDatabaseResponse = (function() { + /** - * Properties of a ScavengeDatabaseCompleted. + * Properties of a ScavengeDatabaseResponse. * @memberof EventStore.Client.Messages - * @interface IScavengeDatabaseCompleted - * @property {EventStore.Client.Messages.ScavengeDatabaseCompleted.ScavengeResult} result ScavengeDatabaseCompleted result - * @property {string|null} [error] ScavengeDatabaseCompleted error - * @property {number} totalTimeMs ScavengeDatabaseCompleted totalTimeMs - * @property {number|Long} totalSpaceSaved ScavengeDatabaseCompleted totalSpaceSaved + * @interface IScavengeDatabaseResponse + * @property {EventStore.Client.Messages.ScavengeDatabaseResponse.ScavengeResult} result ScavengeDatabaseResponse result + * @property {string|null} [scavengeId] ScavengeDatabaseResponse scavengeId */ - + /** - * Constructs a new ScavengeDatabaseCompleted. + * Constructs a new ScavengeDatabaseResponse. * @memberof EventStore.Client.Messages - * @classdesc Represents a ScavengeDatabaseCompleted. - * @implements IScavengeDatabaseCompleted + * @classdesc Represents a ScavengeDatabaseResponse. + * @implements IScavengeDatabaseResponse * @constructor - * @param {EventStore.Client.Messages.IScavengeDatabaseCompleted=} [properties] Properties to set + * @param {EventStore.Client.Messages.IScavengeDatabaseResponse=} [properties] Properties to set */ - function ScavengeDatabaseCompleted(properties) { + function ScavengeDatabaseResponse(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; } - + /** - * ScavengeDatabaseCompleted result. - * @member {EventStore.Client.Messages.ScavengeDatabaseCompleted.ScavengeResult} result - * @memberof EventStore.Client.Messages.ScavengeDatabaseCompleted + * ScavengeDatabaseResponse result. + * @member {EventStore.Client.Messages.ScavengeDatabaseResponse.ScavengeResult} result + * @memberof EventStore.Client.Messages.ScavengeDatabaseResponse * @instance */ - ScavengeDatabaseCompleted.prototype.result = 0; - + ScavengeDatabaseResponse.prototype.result = 0; + /** - * ScavengeDatabaseCompleted error. - * @member {string} error - * @memberof EventStore.Client.Messages.ScavengeDatabaseCompleted + * ScavengeDatabaseResponse scavengeId. + * @member {string} scavengeId + * @memberof EventStore.Client.Messages.ScavengeDatabaseResponse * @instance */ - ScavengeDatabaseCompleted.prototype.error = ""; - + ScavengeDatabaseResponse.prototype.scavengeId = ""; + /** - * ScavengeDatabaseCompleted totalTimeMs. - * @member {number} totalTimeMs - * @memberof EventStore.Client.Messages.ScavengeDatabaseCompleted - * @instance - */ - ScavengeDatabaseCompleted.prototype.totalTimeMs = 0; - - /** - * ScavengeDatabaseCompleted totalSpaceSaved. - * @member {number|Long} totalSpaceSaved - * @memberof EventStore.Client.Messages.ScavengeDatabaseCompleted - * @instance - */ - ScavengeDatabaseCompleted.prototype.totalSpaceSaved = $util.Long ? $util.Long.fromBits(0,0,false) : 0; - - /** - * Creates a new ScavengeDatabaseCompleted instance using the specified properties. + * Creates a new ScavengeDatabaseResponse instance using the specified properties. * @function create - * @memberof EventStore.Client.Messages.ScavengeDatabaseCompleted + * @memberof EventStore.Client.Messages.ScavengeDatabaseResponse * @static - * @param {EventStore.Client.Messages.IScavengeDatabaseCompleted=} [properties] Properties to set - * @returns {EventStore.Client.Messages.ScavengeDatabaseCompleted} ScavengeDatabaseCompleted instance + * @param {EventStore.Client.Messages.IScavengeDatabaseResponse=} [properties] Properties to set + * @returns {EventStore.Client.Messages.ScavengeDatabaseResponse} ScavengeDatabaseResponse instance */ - ScavengeDatabaseCompleted.create = function create(properties) { - return new ScavengeDatabaseCompleted(properties); + ScavengeDatabaseResponse.create = function create(properties) { + return new ScavengeDatabaseResponse(properties); }; - + /** - * Encodes the specified ScavengeDatabaseCompleted message. Does not implicitly {@link EventStore.Client.Messages.ScavengeDatabaseCompleted.verify|verify} messages. + * Encodes the specified ScavengeDatabaseResponse message. Does not implicitly {@link EventStore.Client.Messages.ScavengeDatabaseResponse.verify|verify} messages. * @function encode - * @memberof EventStore.Client.Messages.ScavengeDatabaseCompleted + * @memberof EventStore.Client.Messages.ScavengeDatabaseResponse * @static - * @param {EventStore.Client.Messages.IScavengeDatabaseCompleted} message ScavengeDatabaseCompleted message or plain object to encode + * @param {EventStore.Client.Messages.IScavengeDatabaseResponse} message ScavengeDatabaseResponse message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - ScavengeDatabaseCompleted.encode = function encode(message, writer) { + ScavengeDatabaseResponse.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); writer.uint32(/* id 1, wireType 0 =*/8).int32(message.result); - if (message.error != null && message.hasOwnProperty("error")) - writer.uint32(/* id 2, wireType 2 =*/18).string(message.error); - writer.uint32(/* id 3, wireType 0 =*/24).int32(message.totalTimeMs); - writer.uint32(/* id 4, wireType 0 =*/32).int64(message.totalSpaceSaved); + if (message.scavengeId != null && Object.hasOwnProperty.call(message, "scavengeId")) + writer.uint32(/* id 2, wireType 2 =*/18).string(message.scavengeId); return writer; }; - + /** - * Encodes the specified ScavengeDatabaseCompleted message, length delimited. Does not implicitly {@link EventStore.Client.Messages.ScavengeDatabaseCompleted.verify|verify} messages. + * Encodes the specified ScavengeDatabaseResponse message, length delimited. Does not implicitly {@link EventStore.Client.Messages.ScavengeDatabaseResponse.verify|verify} messages. * @function encodeDelimited - * @memberof EventStore.Client.Messages.ScavengeDatabaseCompleted + * @memberof EventStore.Client.Messages.ScavengeDatabaseResponse * @static - * @param {EventStore.Client.Messages.IScavengeDatabaseCompleted} message ScavengeDatabaseCompleted message or plain object to encode + * @param {EventStore.Client.Messages.IScavengeDatabaseResponse} message ScavengeDatabaseResponse message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - ScavengeDatabaseCompleted.encodeDelimited = function encodeDelimited(message, writer) { + ScavengeDatabaseResponse.encodeDelimited = function encodeDelimited(message, writer) { return this.encode(message, writer).ldelim(); }; - + /** - * Decodes a ScavengeDatabaseCompleted message from the specified reader or buffer. + * Decodes a ScavengeDatabaseResponse message from the specified reader or buffer. * @function decode - * @memberof EventStore.Client.Messages.ScavengeDatabaseCompleted + * @memberof EventStore.Client.Messages.ScavengeDatabaseResponse * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {EventStore.Client.Messages.ScavengeDatabaseCompleted} ScavengeDatabaseCompleted + * @returns {EventStore.Client.Messages.ScavengeDatabaseResponse} ScavengeDatabaseResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - ScavengeDatabaseCompleted.decode = function decode(reader, length) { + ScavengeDatabaseResponse.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.EventStore.Client.Messages.ScavengeDatabaseCompleted(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.EventStore.Client.Messages.ScavengeDatabaseResponse(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.result = reader.int32(); - break; - case 2: - message.error = reader.string(); - break; - case 3: - message.totalTimeMs = reader.int32(); - break; - case 4: - message.totalSpaceSaved = reader.int64(); - break; + case 1: { + message.result = reader.int32(); + break; + } + case 2: { + message.scavengeId = reader.string(); + break; + } default: reader.skipType(tag & 7); break; @@ -11618,38 +14221,34 @@ } if (!message.hasOwnProperty("result")) throw $util.ProtocolError("missing required 'result'", { instance: message }); - if (!message.hasOwnProperty("totalTimeMs")) - throw $util.ProtocolError("missing required 'totalTimeMs'", { instance: message }); - if (!message.hasOwnProperty("totalSpaceSaved")) - throw $util.ProtocolError("missing required 'totalSpaceSaved'", { instance: message }); return message; }; - + /** - * Decodes a ScavengeDatabaseCompleted message from the specified reader or buffer, length delimited. + * Decodes a ScavengeDatabaseResponse message from the specified reader or buffer, length delimited. * @function decodeDelimited - * @memberof EventStore.Client.Messages.ScavengeDatabaseCompleted + * @memberof EventStore.Client.Messages.ScavengeDatabaseResponse * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {EventStore.Client.Messages.ScavengeDatabaseCompleted} ScavengeDatabaseCompleted + * @returns {EventStore.Client.Messages.ScavengeDatabaseResponse} ScavengeDatabaseResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - ScavengeDatabaseCompleted.decodeDelimited = function decodeDelimited(reader) { + ScavengeDatabaseResponse.decodeDelimited = function decodeDelimited(reader) { if (!(reader instanceof $Reader)) reader = new $Reader(reader); return this.decode(reader, reader.uint32()); }; - + /** - * Verifies a ScavengeDatabaseCompleted message. + * Verifies a ScavengeDatabaseResponse message. * @function verify - * @memberof EventStore.Client.Messages.ScavengeDatabaseCompleted + * @memberof EventStore.Client.Messages.ScavengeDatabaseResponse * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - ScavengeDatabaseCompleted.verify = function verify(message) { + ScavengeDatabaseResponse.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; switch (message.result) { @@ -11660,30 +14259,32 @@ case 2: break; } - if (message.error != null && message.hasOwnProperty("error")) - if (!$util.isString(message.error)) - return "error: string expected"; - if (!$util.isInteger(message.totalTimeMs)) - return "totalTimeMs: integer expected"; - if (!$util.isInteger(message.totalSpaceSaved) && !(message.totalSpaceSaved && $util.isInteger(message.totalSpaceSaved.low) && $util.isInteger(message.totalSpaceSaved.high))) - return "totalSpaceSaved: integer|Long expected"; + if (message.scavengeId != null && message.hasOwnProperty("scavengeId")) + if (!$util.isString(message.scavengeId)) + return "scavengeId: string expected"; return null; }; - + /** - * Creates a ScavengeDatabaseCompleted message from a plain object. Also converts values to their respective internal types. + * Creates a ScavengeDatabaseResponse message from a plain object. Also converts values to their respective internal types. * @function fromObject - * @memberof EventStore.Client.Messages.ScavengeDatabaseCompleted + * @memberof EventStore.Client.Messages.ScavengeDatabaseResponse * @static * @param {Object.} object Plain object - * @returns {EventStore.Client.Messages.ScavengeDatabaseCompleted} ScavengeDatabaseCompleted + * @returns {EventStore.Client.Messages.ScavengeDatabaseResponse} ScavengeDatabaseResponse */ - ScavengeDatabaseCompleted.fromObject = function fromObject(object) { - if (object instanceof $root.EventStore.Client.Messages.ScavengeDatabaseCompleted) + ScavengeDatabaseResponse.fromObject = function fromObject(object) { + if (object instanceof $root.EventStore.Client.Messages.ScavengeDatabaseResponse) return object; - var message = new $root.EventStore.Client.Messages.ScavengeDatabaseCompleted(); + var message = new $root.EventStore.Client.Messages.ScavengeDatabaseResponse(); switch (object.result) { - case "Success": + default: + if (typeof object.result === "number") { + message.result = object.result; + break; + } + break; + case "Started": case 0: message.result = 0; break; @@ -11691,96 +14292,87 @@ case 1: message.result = 1; break; - case "Failed": + case "Unauthorized": case 2: message.result = 2; break; } - if (object.error != null) - message.error = String(object.error); - if (object.totalTimeMs != null) - message.totalTimeMs = object.totalTimeMs | 0; - if (object.totalSpaceSaved != null) - if ($util.Long) - (message.totalSpaceSaved = $util.Long.fromValue(object.totalSpaceSaved)).unsigned = false; - else if (typeof object.totalSpaceSaved === "string") - message.totalSpaceSaved = parseInt(object.totalSpaceSaved, 10); - else if (typeof object.totalSpaceSaved === "number") - message.totalSpaceSaved = object.totalSpaceSaved; - else if (typeof object.totalSpaceSaved === "object") - message.totalSpaceSaved = new $util.LongBits(object.totalSpaceSaved.low >>> 0, object.totalSpaceSaved.high >>> 0).toNumber(); + if (object.scavengeId != null) + message.scavengeId = String(object.scavengeId); return message; }; - + /** - * Creates a plain object from a ScavengeDatabaseCompleted message. Also converts values to other types if specified. + * Creates a plain object from a ScavengeDatabaseResponse message. Also converts values to other types if specified. * @function toObject - * @memberof EventStore.Client.Messages.ScavengeDatabaseCompleted + * @memberof EventStore.Client.Messages.ScavengeDatabaseResponse * @static - * @param {EventStore.Client.Messages.ScavengeDatabaseCompleted} message ScavengeDatabaseCompleted + * @param {EventStore.Client.Messages.ScavengeDatabaseResponse} message ScavengeDatabaseResponse * @param {$protobuf.IConversionOptions} [options] Conversion options * @returns {Object.} Plain object */ - ScavengeDatabaseCompleted.toObject = function toObject(message, options) { + ScavengeDatabaseResponse.toObject = function toObject(message, options) { if (!options) options = {}; var object = {}; if (options.defaults) { - object.result = options.enums === String ? "Success" : 0; - object.error = ""; - object.totalTimeMs = 0; - if ($util.Long) { - var long = new $util.Long(0, 0, false); - object.totalSpaceSaved = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long; - } else - object.totalSpaceSaved = options.longs === String ? "0" : 0; + object.result = options.enums === String ? "Started" : 0; + object.scavengeId = ""; } if (message.result != null && message.hasOwnProperty("result")) - object.result = options.enums === String ? $root.EventStore.Client.Messages.ScavengeDatabaseCompleted.ScavengeResult[message.result] : message.result; - if (message.error != null && message.hasOwnProperty("error")) - object.error = message.error; - if (message.totalTimeMs != null && message.hasOwnProperty("totalTimeMs")) - object.totalTimeMs = message.totalTimeMs; - if (message.totalSpaceSaved != null && message.hasOwnProperty("totalSpaceSaved")) - if (typeof message.totalSpaceSaved === "number") - object.totalSpaceSaved = options.longs === String ? String(message.totalSpaceSaved) : message.totalSpaceSaved; - else - object.totalSpaceSaved = options.longs === String ? $util.Long.prototype.toString.call(message.totalSpaceSaved) : options.longs === Number ? new $util.LongBits(message.totalSpaceSaved.low >>> 0, message.totalSpaceSaved.high >>> 0).toNumber() : message.totalSpaceSaved; + object.result = options.enums === String ? $root.EventStore.Client.Messages.ScavengeDatabaseResponse.ScavengeResult[message.result] === undefined ? message.result : $root.EventStore.Client.Messages.ScavengeDatabaseResponse.ScavengeResult[message.result] : message.result; + if (message.scavengeId != null && message.hasOwnProperty("scavengeId")) + object.scavengeId = message.scavengeId; return object; }; - + /** - * Converts this ScavengeDatabaseCompleted to JSON. + * Converts this ScavengeDatabaseResponse to JSON. * @function toJSON - * @memberof EventStore.Client.Messages.ScavengeDatabaseCompleted + * @memberof EventStore.Client.Messages.ScavengeDatabaseResponse * @instance * @returns {Object.} JSON object */ - ScavengeDatabaseCompleted.prototype.toJSON = function toJSON() { + ScavengeDatabaseResponse.prototype.toJSON = function toJSON() { return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; - + + /** + * Gets the default type url for ScavengeDatabaseResponse + * @function getTypeUrl + * @memberof EventStore.Client.Messages.ScavengeDatabaseResponse + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ScavengeDatabaseResponse.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/EventStore.Client.Messages.ScavengeDatabaseResponse"; + }; + /** * ScavengeResult enum. - * @name EventStore.Client.Messages.ScavengeDatabaseCompleted.ScavengeResult - * @enum {string} - * @property {number} Success=0 Success value + * @name EventStore.Client.Messages.ScavengeDatabaseResponse.ScavengeResult + * @enum {number} + * @property {number} Started=0 Started value * @property {number} InProgress=1 InProgress value - * @property {number} Failed=2 Failed value + * @property {number} Unauthorized=2 Unauthorized value */ - ScavengeDatabaseCompleted.ScavengeResult = (function() { + ScavengeDatabaseResponse.ScavengeResult = (function() { var valuesById = {}, values = Object.create(valuesById); - values[valuesById[0] = "Success"] = 0; + values[valuesById[0] = "Started"] = 0; values[valuesById[1] = "InProgress"] = 1; - values[valuesById[2] = "Failed"] = 2; + values[valuesById[2] = "Unauthorized"] = 2; return values; })(); - - return ScavengeDatabaseCompleted; + + return ScavengeDatabaseResponse; })(); - + Messages.IdentifyClient = (function() { - + /** * Properties of an IdentifyClient. * @memberof EventStore.Client.Messages @@ -11788,7 +14380,7 @@ * @property {number} version IdentifyClient version * @property {string|null} [connectionName] IdentifyClient connectionName */ - + /** * Constructs a new IdentifyClient. * @memberof EventStore.Client.Messages @@ -11803,7 +14395,7 @@ if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; } - + /** * IdentifyClient version. * @member {number} version @@ -11811,7 +14403,7 @@ * @instance */ IdentifyClient.prototype.version = 0; - + /** * IdentifyClient connectionName. * @member {string} connectionName @@ -11819,7 +14411,7 @@ * @instance */ IdentifyClient.prototype.connectionName = ""; - + /** * Creates a new IdentifyClient instance using the specified properties. * @function create @@ -11831,7 +14423,7 @@ IdentifyClient.create = function create(properties) { return new IdentifyClient(properties); }; - + /** * Encodes the specified IdentifyClient message. Does not implicitly {@link EventStore.Client.Messages.IdentifyClient.verify|verify} messages. * @function encode @@ -11845,11 +14437,11 @@ if (!writer) writer = $Writer.create(); writer.uint32(/* id 1, wireType 0 =*/8).int32(message.version); - if (message.connectionName != null && message.hasOwnProperty("connectionName")) + if (message.connectionName != null && Object.hasOwnProperty.call(message, "connectionName")) writer.uint32(/* id 2, wireType 2 =*/18).string(message.connectionName); return writer; }; - + /** * Encodes the specified IdentifyClient message, length delimited. Does not implicitly {@link EventStore.Client.Messages.IdentifyClient.verify|verify} messages. * @function encodeDelimited @@ -11862,7 +14454,7 @@ IdentifyClient.encodeDelimited = function encodeDelimited(message, writer) { return this.encode(message, writer).ldelim(); }; - + /** * Decodes an IdentifyClient message from the specified reader or buffer. * @function decode @@ -11881,12 +14473,14 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.version = reader.int32(); - break; - case 2: - message.connectionName = reader.string(); - break; + case 1: { + message.version = reader.int32(); + break; + } + case 2: { + message.connectionName = reader.string(); + break; + } default: reader.skipType(tag & 7); break; @@ -11896,7 +14490,7 @@ throw $util.ProtocolError("missing required 'version'", { instance: message }); return message; }; - + /** * Decodes an IdentifyClient message from the specified reader or buffer, length delimited. * @function decodeDelimited @@ -11912,7 +14506,7 @@ reader = new $Reader(reader); return this.decode(reader, reader.uint32()); }; - + /** * Verifies an IdentifyClient message. * @function verify @@ -11931,7 +14525,7 @@ return "connectionName: string expected"; return null; }; - + /** * Creates an IdentifyClient message from a plain object. Also converts values to their respective internal types. * @function fromObject @@ -11950,7 +14544,7 @@ message.connectionName = String(object.connectionName); return message; }; - + /** * Creates a plain object from an IdentifyClient message. Also converts values to other types if specified. * @function toObject @@ -11974,7 +14568,7 @@ object.connectionName = message.connectionName; return object; }; - + /** * Converts this IdentifyClient to JSON. * @function toJSON @@ -11985,18 +14579,33 @@ IdentifyClient.prototype.toJSON = function toJSON() { return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; - + + /** + * Gets the default type url for IdentifyClient + * @function getTypeUrl + * @memberof EventStore.Client.Messages.IdentifyClient + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + IdentifyClient.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/EventStore.Client.Messages.IdentifyClient"; + }; + return IdentifyClient; })(); - + Messages.ClientIdentified = (function() { - + /** * Properties of a ClientIdentified. * @memberof EventStore.Client.Messages * @interface IClientIdentified */ - + /** * Constructs a new ClientIdentified. * @memberof EventStore.Client.Messages @@ -12011,7 +14620,7 @@ if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; } - + /** * Creates a new ClientIdentified instance using the specified properties. * @function create @@ -12023,7 +14632,7 @@ ClientIdentified.create = function create(properties) { return new ClientIdentified(properties); }; - + /** * Encodes the specified ClientIdentified message. Does not implicitly {@link EventStore.Client.Messages.ClientIdentified.verify|verify} messages. * @function encode @@ -12038,7 +14647,7 @@ writer = $Writer.create(); return writer; }; - + /** * Encodes the specified ClientIdentified message, length delimited. Does not implicitly {@link EventStore.Client.Messages.ClientIdentified.verify|verify} messages. * @function encodeDelimited @@ -12051,7 +14660,7 @@ ClientIdentified.encodeDelimited = function encodeDelimited(message, writer) { return this.encode(message, writer).ldelim(); }; - + /** * Decodes a ClientIdentified message from the specified reader or buffer. * @function decode @@ -12077,7 +14686,7 @@ } return message; }; - + /** * Decodes a ClientIdentified message from the specified reader or buffer, length delimited. * @function decodeDelimited @@ -12093,7 +14702,7 @@ reader = new $Reader(reader); return this.decode(reader, reader.uint32()); }; - + /** * Verifies a ClientIdentified message. * @function verify @@ -12107,7 +14716,7 @@ return "object expected"; return null; }; - + /** * Creates a ClientIdentified message from a plain object. Also converts values to their respective internal types. * @function fromObject @@ -12121,7 +14730,7 @@ return object; return new $root.EventStore.Client.Messages.ClientIdentified(); }; - + /** * Creates a plain object from a ClientIdentified message. Also converts values to other types if specified. * @function toObject @@ -12134,7 +14743,7 @@ ClientIdentified.toObject = function toObject() { return {}; }; - + /** * Converts this ClientIdentified to JSON. * @function toJSON @@ -12145,16 +14754,31 @@ ClientIdentified.prototype.toJSON = function toJSON() { return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; - + + /** + * Gets the default type url for ClientIdentified + * @function getTypeUrl + * @memberof EventStore.Client.Messages.ClientIdentified + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ClientIdentified.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/EventStore.Client.Messages.ClientIdentified"; + }; + return ClientIdentified; })(); - + return Messages; })(); - + return Client; })(); - + return EventStore; })(); diff --git a/src/messages/messages.proto b/src/messages/messages.proto index 30314c4..7c95448 100644 --- a/src/messages/messages.proto +++ b/src/messages/messages.proto @@ -1,3 +1,5 @@ +syntax = "proto2"; + package EventStore.Client.Messages; enum OperationResult @@ -50,7 +52,7 @@ message WriteEvents { required string event_stream_id = 1; required int64 expected_version = 2; repeated NewEvent events = 3; - required bool require_master = 4; + required bool require_leader = 4; } message WriteEventsCompleted { @@ -66,7 +68,7 @@ message WriteEventsCompleted { message DeleteStream { required string event_stream_id = 1; required int64 expected_version = 2; - required bool require_master = 3; + required bool require_leader = 3; optional bool hard_delete = 4; } @@ -75,12 +77,13 @@ message DeleteStreamCompleted { optional string message = 2; optional int64 prepare_position = 3; optional int64 commit_position = 4; + optional int64 current_version = 5; } message TransactionStart { required string event_stream_id = 1; required int64 expected_version = 2; - required bool require_master = 3; + required bool require_leader = 3; } message TransactionStartCompleted { @@ -92,7 +95,7 @@ message TransactionStartCompleted { message TransactionWrite { required int64 transaction_id = 1; repeated NewEvent events = 2; - required bool require_master = 3; + required bool require_leader = 3; } message TransactionWriteCompleted { @@ -103,7 +106,7 @@ message TransactionWriteCompleted { message TransactionCommit { required int64 transaction_id = 1; - required bool require_master = 2; + required bool require_leader = 2; } message TransactionCommitCompleted { @@ -120,7 +123,7 @@ message ReadEvent { required string event_stream_id = 1; required int64 event_number = 2; required bool resolve_link_tos = 3; - required bool require_master = 4; + required bool require_leader = 4; } message ReadEventCompleted { @@ -145,7 +148,7 @@ message ReadStreamEvents { required int64 from_event_number = 2; required int32 max_count = 3; required bool resolve_link_tos = 4; - required bool require_master = 5; + required bool require_leader = 5; } message ReadStreamEventsCompleted { @@ -174,7 +177,7 @@ message ReadAllEvents { required int64 prepare_position = 2; required int32 max_count = 3; required bool resolve_link_tos = 4; - required bool require_master = 5; + required bool require_leader = 5; } message ReadAllEventsCompleted { @@ -196,6 +199,54 @@ message ReadAllEventsCompleted { optional string error = 7; } +message Filter{ + + enum FilterContext { + StreamId = 0; + EventType = 1; + + } + + enum FilterType { + Regex = 0; + Prefix = 1; + } + + required FilterContext context = 1; + required FilterType type = 2; + repeated string data = 3; +} + +message FilteredReadAllEvents { + required int64 commit_position = 1; + required int64 prepare_position = 2; + required int32 max_count = 3; + optional int32 max_search_window = 4; + required bool resolve_link_tos = 5; + required bool require_leader = 6; + required Filter filter = 7; +} + +message FilteredReadAllEventsCompleted { + + enum FilteredReadAllResult { + Success = 0; + NotModified = 1; + Error = 2; + AccessDenied = 3; + } + + required int64 commit_position = 1; + required int64 prepare_position = 2; + repeated ResolvedEvent events = 3; + required int64 next_commit_position = 4; + required int64 next_prepare_position = 5; + required bool is_end_of_stream = 6; + + optional FilteredReadAllResult result = 7 [default = Success]; + optional string error = 8; +} + message CreatePersistentSubscription { required string subscription_group_name = 1; required string event_stream_id = 2; @@ -307,6 +358,7 @@ message PersistentSubscriptionConfirmation { message PersistentSubscriptionStreamEventAppeared { required ResolvedIndexedEvent event = 1; + optional int32 retryCount = 2; } message SubscribeToStream { @@ -314,6 +366,18 @@ message SubscribeToStream { required bool resolve_link_tos = 2; } +message FilteredSubscribeToStream { + required string event_stream_id = 1; + required bool resolve_link_tos = 2; + required Filter filter = 3; + required int32 checkpoint_interval = 4; +} + +message CheckpointReached { + required int64 commit_position = 1; + required int64 prepare_position = 2; +} + message SubscriptionConfirmation { required int64 last_commit_position = 1; optional int64 last_event_number = 2; @@ -344,17 +408,18 @@ message NotHandled { enum NotHandledReason { NotReady = 0; TooBusy = 1; - NotMaster = 2; + NotLeader = 2; + IsReadOnly = 3; } required NotHandledReason reason = 1; optional bytes additional_info = 2; - message MasterInfo { - required string external_tcp_address = 1; - required int32 external_tcp_port = 2; - required string external_http_address = 3; - required int32 external_http_port = 4; + message LeaderInfo { + optional string external_tcp_address = 1; + optional int32 external_tcp_port = 2; + required string http_address = 3; + required int32 http_port = 4; optional string external_secure_tcp_address = 5; optional int32 external_secure_tcp_port = 6; } @@ -363,18 +428,17 @@ message NotHandled { message ScavengeDatabase { } -message ScavengeDatabaseCompleted { +message ScavengeDatabaseResponse { enum ScavengeResult { - Success = 0; + Started = 0; InProgress = 1; - Failed = 2; + Unauthorized = 2; } required ScavengeResult result = 1; - optional string error = 2; - required int32 total_time_ms = 3; - required int64 total_space_saved = 4; + optional string scavengeId = 2; + } message IdentifyClient { @@ -383,4 +447,4 @@ message IdentifyClient { } message ClientIdentified { -} \ No newline at end of file +} diff --git a/test/common/base_test.js b/test/common/base_test.js index 60e14b8..5bce42c 100644 --- a/test/common/base_test.js +++ b/test/common/base_test.js @@ -55,7 +55,7 @@ function setUpWithGossipSeeds(cb) { } function setUpWithDns(cb) { - var clusterDns = 'discover://eventstore.local:2113'; + var clusterDns = 'discover://' + process.env.EVENTSTORE_HOST + ':2113'; this.log = settings.log; this.testStreamName = 'test-' + uuid.v4(); var connected = false; diff --git a/test/connection_test.js b/test/connection_test.js index a2d94e9..5923576 100644 --- a/test/connection_test.js +++ b/test/connection_test.js @@ -27,7 +27,7 @@ switch(evenstStoreType){ done(); }); conn.on('error', done); - + function done(err) { conn.close(); if (err) return test.done(err); @@ -41,7 +41,7 @@ switch(evenstStoreType){ new GossipSeed({host: '1.2.3.4', port: 1113}), new GossipSeed({host: '2.3.4.5', port: 2113}), new GossipSeed({host: '3.4.5.6', port: 3113}) - ]; + ]; var conn = client.EventStoreConnection.create(testBase.settings({maxDiscoverAttempts: 1}), gossipSeeds); conn.connect() .catch(function (err) { @@ -62,7 +62,7 @@ switch(evenstStoreType){ case 'dns': module.exports['Connect to Cluster using dns discover'] = function (test) { test.expect(1); - var clusterDns = 'discover://eventstore.local:2113'; + var clusterDns = 'discover://' + process.env.EVENTSTORE_HOST + ':2113'; var conn = client.EventStoreConnection.create(testBase.settings(), clusterDns); conn.connect() .catch(function(err) { @@ -73,7 +73,7 @@ switch(evenstStoreType){ done(); }); conn.on('error', done); - + function done(err) { conn.close(); if (err) return test.done(err); @@ -83,7 +83,7 @@ switch(evenstStoreType){ module.exports['Connect To Cluster with bad dns discover'] = function (test) { test.expect(3); - var clusterDns = 'discover://eventstore-bad.local:2113'; + var clusterDns = 'discover://abc.def.com:2113'; var conn = client.EventStoreConnection.create(testBase.settings({maxDiscoverAttempts: 1}), clusterDns); conn.connect() .catch(function (err) { @@ -91,6 +91,7 @@ switch(evenstStoreType){ }); conn.on('connected', function () { test.ok(false, 'Should not be able to connect.'); + conn.close(); }); conn.on('error', function (err) { test.ok(err.message.indexOf('Failed to discover candidate in 1 attempts') === 0, 'Wrong expected reason.'); @@ -116,7 +117,7 @@ switch(evenstStoreType){ done(); }); conn.on('error', done); - + function done(err) { conn.close(); if (err) return test.done(err); @@ -144,7 +145,7 @@ switch(evenstStoreType){ test.done(); }); }; - + module.exports['Create a connection with tcp://host:port string'] = function (test) { var conn = client.createConnection({}, `tcp://${process.env.EVENTSTORE_HOST || 'localhost'}:1113`); conn.close(); diff --git a/yarn.lock b/yarn.lock deleted file mode 100644 index cb53c0b..0000000 --- a/yarn.lock +++ /dev/null @@ -1,4235 +0,0 @@ -# THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. -# yarn lockfile v1 - - -"@babel/code-frame@^7.0.0", "@babel/code-frame@^7.5.5": - version "7.5.5" - resolved "https://registry.yarnpkg.com/@babel/code-frame/-/code-frame-7.5.5.tgz#bc0782f6d69f7b7d49531219699b988f669a8f9d" - integrity sha512-27d4lZoomVyo51VegxI20xZPuSHusqbQag/ztrBC7wegWoQ1nLREPVSKSW8byhTlzTKyNE4ifaTA6lCp7JjpFw== - dependencies: - "@babel/highlight" "^7.0.0" - -"@babel/generator@^7.4.0", "@babel/generator@^7.6.3": - version "7.6.4" - resolved "https://registry.yarnpkg.com/@babel/generator/-/generator-7.6.4.tgz#a4f8437287bf9671b07f483b76e3bb731bc97671" - integrity sha512-jsBuXkFoZxk0yWLyGI9llT9oiQ2FeTASmRFE32U+aaDTfoE92t78eroO7PTpU/OrYq38hlcDM6vbfLDaOLy+7w== - dependencies: - "@babel/types" "^7.6.3" - jsesc "^2.5.1" - lodash "^4.17.13" - source-map "^0.5.0" - -"@babel/helper-function-name@^7.1.0": - version "7.1.0" - resolved "https://registry.yarnpkg.com/@babel/helper-function-name/-/helper-function-name-7.1.0.tgz#a0ceb01685f73355d4360c1247f582bfafc8ff53" - integrity sha512-A95XEoCpb3TO+KZzJ4S/5uW5fNe26DjBGqf1o9ucyLyCmi1dXq/B3c8iaWTfBk3VvetUxl16e8tIrd5teOCfGw== - dependencies: - "@babel/helper-get-function-arity" "^7.0.0" - "@babel/template" "^7.1.0" - "@babel/types" "^7.0.0" - -"@babel/helper-get-function-arity@^7.0.0": - version "7.0.0" - resolved "https://registry.yarnpkg.com/@babel/helper-get-function-arity/-/helper-get-function-arity-7.0.0.tgz#83572d4320e2a4657263734113c42868b64e49c3" - integrity sha512-r2DbJeg4svYvt3HOS74U4eWKsUAMRH01Z1ds1zx8KNTPtpTL5JAsdFv8BNyOpVqdFhHkkRDIg5B4AsxmkjAlmQ== - dependencies: - "@babel/types" "^7.0.0" - -"@babel/helper-split-export-declaration@^7.4.4": - version "7.4.4" - resolved "https://registry.yarnpkg.com/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.4.4.tgz#ff94894a340be78f53f06af038b205c49d993677" - integrity sha512-Ro/XkzLf3JFITkW6b+hNxzZ1n5OQ80NvIUdmHspih1XAhtN3vPTuUFT4eQnela+2MaZ5ulH+iyP513KJrxbN7Q== - dependencies: - "@babel/types" "^7.4.4" - -"@babel/highlight@^7.0.0": - version "7.5.0" - resolved "https://registry.yarnpkg.com/@babel/highlight/-/highlight-7.5.0.tgz#56d11312bd9248fa619591d02472be6e8cb32540" - integrity sha512-7dV4eu9gBxoM0dAnj/BCFDW9LFU0zvTrkq0ugM7pnHEgguOEeOz1so2ZghEdzviYzQEED0r4EAgpsBChKy1TRQ== - dependencies: - chalk "^2.0.0" - esutils "^2.0.2" - js-tokens "^4.0.0" - -"@babel/parser@^7.4.3", "@babel/parser@^7.4.4", "@babel/parser@^7.6.0", "@babel/parser@^7.6.3": - version "7.6.4" - resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.6.4.tgz#cb9b36a7482110282d5cb6dd424ec9262b473d81" - integrity sha512-D8RHPW5qd0Vbyo3qb+YjO5nvUVRTXFLQ/FsDxJU2Nqz4uB5EnUN0ZQSEYpvTIbRuttig1XbHWU5oMeQwQSAA+A== - -"@babel/template@^7.1.0", "@babel/template@^7.4.0": - version "7.6.0" - resolved "https://registry.yarnpkg.com/@babel/template/-/template-7.6.0.tgz#7f0159c7f5012230dad64cca42ec9bdb5c9536e6" - integrity sha512-5AEH2EXD8euCk446b7edmgFdub/qfH1SN6Nii3+fyXP807QRx9Q73A2N5hNwRRslC2H9sNzaFhsPubkS4L8oNQ== - dependencies: - "@babel/code-frame" "^7.0.0" - "@babel/parser" "^7.6.0" - "@babel/types" "^7.6.0" - -"@babel/traverse@^7.4.3": - version "7.6.3" - resolved "https://registry.yarnpkg.com/@babel/traverse/-/traverse-7.6.3.tgz#66d7dba146b086703c0fb10dd588b7364cec47f9" - integrity sha512-unn7P4LGsijIxaAJo/wpoU11zN+2IaClkQAxcJWBNCMS6cmVh802IyLHNkAjQ0iYnRS3nnxk5O3fuXW28IMxTw== - dependencies: - "@babel/code-frame" "^7.5.5" - "@babel/generator" "^7.6.3" - "@babel/helper-function-name" "^7.1.0" - "@babel/helper-split-export-declaration" "^7.4.4" - "@babel/parser" "^7.6.3" - "@babel/types" "^7.6.3" - debug "^4.1.0" - globals "^11.1.0" - lodash "^4.17.13" - -"@babel/types@^7.0.0", "@babel/types@^7.4.0", "@babel/types@^7.4.4", "@babel/types@^7.6.0", "@babel/types@^7.6.3": - version "7.6.3" - resolved "https://registry.yarnpkg.com/@babel/types/-/types-7.6.3.tgz#3f07d96f854f98e2fbd45c64b0cb942d11e8ba09" - integrity sha512-CqbcpTxMcpuQTMhjI37ZHVgjBkysg5icREQIEZ0eG1yCNwg3oy+5AaLiOKmjsCj6nqOsa6Hf0ObjRVwokb7srA== - dependencies: - esutils "^2.0.2" - lodash "^4.17.13" - to-fast-properties "^2.0.0" - -"@protobufjs/aspromise@^1.1.1", "@protobufjs/aspromise@^1.1.2": - version "1.1.2" - resolved "https://registry.yarnpkg.com/@protobufjs/aspromise/-/aspromise-1.1.2.tgz#9b8b0cc663d669a7d8f6f5d0893a14d348f30fbf" - integrity sha1-m4sMxmPWaafY9vXQiToU00jzD78= - -"@protobufjs/base64@^1.1.2": - version "1.1.2" - resolved "https://registry.yarnpkg.com/@protobufjs/base64/-/base64-1.1.2.tgz#4c85730e59b9a1f1f349047dbf24296034bb2735" - integrity sha512-AZkcAA5vnN/v4PDqKyMR5lx7hZttPDgClv83E//FMNhR2TMcLUhfRUBHCmSl0oi9zMgDDqRUJkSxO3wm85+XLg== - -"@protobufjs/codegen@^2.0.4": - version "2.0.4" - resolved "https://registry.yarnpkg.com/@protobufjs/codegen/-/codegen-2.0.4.tgz#7ef37f0d010fb028ad1ad59722e506d9262815cb" - integrity sha512-YyFaikqM5sH0ziFZCN3xDC7zeGaB/d0IUb9CATugHWbd1FRFwWwt4ld4OYMPWu5a3Xe01mGAULCdqhMlPl29Jg== - -"@protobufjs/eventemitter@^1.1.0": - version "1.1.0" - resolved "https://registry.yarnpkg.com/@protobufjs/eventemitter/-/eventemitter-1.1.0.tgz#355cbc98bafad5978f9ed095f397621f1d066b70" - integrity sha1-NVy8mLr61ZePntCV85diHx0Ga3A= - -"@protobufjs/fetch@^1.1.0": - version "1.1.0" - resolved "https://registry.yarnpkg.com/@protobufjs/fetch/-/fetch-1.1.0.tgz#ba99fb598614af65700c1619ff06d454b0d84c45" - integrity sha1-upn7WYYUr2VwDBYZ/wbUVLDYTEU= - dependencies: - "@protobufjs/aspromise" "^1.1.1" - "@protobufjs/inquire" "^1.1.0" - -"@protobufjs/float@^1.0.2": - version "1.0.2" - resolved "https://registry.yarnpkg.com/@protobufjs/float/-/float-1.0.2.tgz#5e9e1abdcb73fc0a7cb8b291df78c8cbd97b87d1" - integrity sha1-Xp4avctz/Ap8uLKR33jIy9l7h9E= - -"@protobufjs/inquire@^1.1.0": - version "1.1.0" - resolved "https://registry.yarnpkg.com/@protobufjs/inquire/-/inquire-1.1.0.tgz#ff200e3e7cf2429e2dcafc1140828e8cc638f089" - integrity sha1-/yAOPnzyQp4tyvwRQIKOjMY48Ik= - -"@protobufjs/path@^1.1.2": - version "1.1.2" - resolved "https://registry.yarnpkg.com/@protobufjs/path/-/path-1.1.2.tgz#6cc2b20c5c9ad6ad0dccfd21ca7673d8d7fbf68d" - integrity sha1-bMKyDFya1q0NzP0hynZz2Nf79o0= - -"@protobufjs/pool@^1.1.0": - version "1.1.0" - resolved "https://registry.yarnpkg.com/@protobufjs/pool/-/pool-1.1.0.tgz#09fd15f2d6d3abfa9b65bc366506d6ad7846ff54" - integrity sha1-Cf0V8tbTq/qbZbw2ZQbWrXhG/1Q= - -"@protobufjs/utf8@^1.1.0": - version "1.1.0" - resolved "https://registry.yarnpkg.com/@protobufjs/utf8/-/utf8-1.1.0.tgz#a777360b5b39a1a2e5106f8e858f2fd2d060c570" - integrity sha1-p3c2C1s5oaLlEG+OhY8v0tBgxXA= - -"@types/long@^3.0.32": - version "3.0.32" - resolved "https://registry.yarnpkg.com/@types/long/-/long-3.0.32.tgz#f4e5af31e9e9b196d8e5fca8a5e2e20aa3d60b69" - integrity sha512-ZXyOOm83p7X8p3s0IYM3VeueNmHpkk/yMlP8CLeOnEcu6hIwPH7YjZBvhQkR0ZFS2DqZAxKtJ/M5fcuv3OU5BA== - -"@types/long@^4.0.0": - version "4.0.0" - resolved "https://registry.yarnpkg.com/@types/long/-/long-4.0.0.tgz#719551d2352d301ac8b81db732acb6bdc28dbdef" - integrity sha512-1w52Nyx4Gq47uuu0EVcsHBxZFJgurQ+rTKS3qMHxR1GY2T8c2AJYd6vZoZ9q1rupaDjU0yT+Jc2XTyXkjeMA+Q== - -"@types/node@>=5.10": - version "12.12.5" - resolved "https://registry.yarnpkg.com/@types/node/-/node-12.12.5.tgz#66103d2eddc543d44a04394abb7be52506d7f290" - integrity sha512-KEjODidV4XYUlJBF3XdjSH5FWoMCtO0utnhtdLf1AgeuZLOrRbvmU/gaRCVg7ZaQDjVf3l84egiY0mRNe5xE4A== - -"@types/node@^10.1.0": - version "10.17.3" - resolved "https://registry.yarnpkg.com/@types/node/-/node-10.17.3.tgz#65a8d9a6a0f6af55595a2d0020617959130d6495" - integrity sha512-QZ9CjUB3QoA3f2afw3utKlfRPhpmufB7jC2+oDhLWnXqoyx333fhKSQDLQu2EK7OE0a15X67eYiRAaJsHXrpMA== - -"@webassemblyjs/ast@1.8.5": - version "1.8.5" - resolved "https://registry.yarnpkg.com/@webassemblyjs/ast/-/ast-1.8.5.tgz#51b1c5fe6576a34953bf4b253df9f0d490d9e359" - integrity sha512-aJMfngIZ65+t71C3y2nBBg5FFG0Okt9m0XEgWZ7Ywgn1oMAT8cNwx00Uv1cQyHtidq0Xn94R4TAywO+LCQ+ZAQ== - dependencies: - "@webassemblyjs/helper-module-context" "1.8.5" - "@webassemblyjs/helper-wasm-bytecode" "1.8.5" - "@webassemblyjs/wast-parser" "1.8.5" - -"@webassemblyjs/floating-point-hex-parser@1.8.5": - version "1.8.5" - resolved "https://registry.yarnpkg.com/@webassemblyjs/floating-point-hex-parser/-/floating-point-hex-parser-1.8.5.tgz#1ba926a2923613edce496fd5b02e8ce8a5f49721" - integrity sha512-9p+79WHru1oqBh9ewP9zW95E3XAo+90oth7S5Re3eQnECGq59ly1Ri5tsIipKGpiStHsUYmY3zMLqtk3gTcOtQ== - -"@webassemblyjs/helper-api-error@1.8.5": - version "1.8.5" - resolved "https://registry.yarnpkg.com/@webassemblyjs/helper-api-error/-/helper-api-error-1.8.5.tgz#c49dad22f645227c5edb610bdb9697f1aab721f7" - integrity sha512-Za/tnzsvnqdaSPOUXHyKJ2XI7PDX64kWtURyGiJJZKVEdFOsdKUCPTNEVFZq3zJ2R0G5wc2PZ5gvdTRFgm81zA== - -"@webassemblyjs/helper-buffer@1.8.5": - version "1.8.5" - resolved "https://registry.yarnpkg.com/@webassemblyjs/helper-buffer/-/helper-buffer-1.8.5.tgz#fea93e429863dd5e4338555f42292385a653f204" - integrity sha512-Ri2R8nOS0U6G49Q86goFIPNgjyl6+oE1abW1pS84BuhP1Qcr5JqMwRFT3Ah3ADDDYGEgGs1iyb1DGX+kAi/c/Q== - -"@webassemblyjs/helper-code-frame@1.8.5": - version "1.8.5" - resolved "https://registry.yarnpkg.com/@webassemblyjs/helper-code-frame/-/helper-code-frame-1.8.5.tgz#9a740ff48e3faa3022b1dff54423df9aa293c25e" - integrity sha512-VQAadSubZIhNpH46IR3yWO4kZZjMxN1opDrzePLdVKAZ+DFjkGD/rf4v1jap744uPVU6yjL/smZbRIIJTOUnKQ== - dependencies: - "@webassemblyjs/wast-printer" "1.8.5" - -"@webassemblyjs/helper-fsm@1.8.5": - version "1.8.5" - resolved "https://registry.yarnpkg.com/@webassemblyjs/helper-fsm/-/helper-fsm-1.8.5.tgz#ba0b7d3b3f7e4733da6059c9332275d860702452" - integrity sha512-kRuX/saORcg8se/ft6Q2UbRpZwP4y7YrWsLXPbbmtepKr22i8Z4O3V5QE9DbZK908dh5Xya4Un57SDIKwB9eow== - -"@webassemblyjs/helper-module-context@1.8.5": - version "1.8.5" - resolved "https://registry.yarnpkg.com/@webassemblyjs/helper-module-context/-/helper-module-context-1.8.5.tgz#def4b9927b0101dc8cbbd8d1edb5b7b9c82eb245" - integrity sha512-/O1B236mN7UNEU4t9X7Pj38i4VoU8CcMHyy3l2cV/kIF4U5KoHXDVqcDuOs1ltkac90IM4vZdHc52t1x8Yfs3g== - dependencies: - "@webassemblyjs/ast" "1.8.5" - mamacro "^0.0.3" - -"@webassemblyjs/helper-wasm-bytecode@1.8.5": - version "1.8.5" - resolved "https://registry.yarnpkg.com/@webassemblyjs/helper-wasm-bytecode/-/helper-wasm-bytecode-1.8.5.tgz#537a750eddf5c1e932f3744206551c91c1b93e61" - integrity sha512-Cu4YMYG3Ddl72CbmpjU/wbP6SACcOPVbHN1dI4VJNJVgFwaKf1ppeFJrwydOG3NDHxVGuCfPlLZNyEdIYlQ6QQ== - -"@webassemblyjs/helper-wasm-section@1.8.5": - version "1.8.5" - resolved "https://registry.yarnpkg.com/@webassemblyjs/helper-wasm-section/-/helper-wasm-section-1.8.5.tgz#74ca6a6bcbe19e50a3b6b462847e69503e6bfcbf" - integrity sha512-VV083zwR+VTrIWWtgIUpqfvVdK4ff38loRmrdDBgBT8ADXYsEZ5mPQ4Nde90N3UYatHdYoDIFb7oHzMncI02tA== - dependencies: - "@webassemblyjs/ast" "1.8.5" - "@webassemblyjs/helper-buffer" "1.8.5" - "@webassemblyjs/helper-wasm-bytecode" "1.8.5" - "@webassemblyjs/wasm-gen" "1.8.5" - -"@webassemblyjs/ieee754@1.8.5": - version "1.8.5" - resolved "https://registry.yarnpkg.com/@webassemblyjs/ieee754/-/ieee754-1.8.5.tgz#712329dbef240f36bf57bd2f7b8fb9bf4154421e" - integrity sha512-aaCvQYrvKbY/n6wKHb/ylAJr27GglahUO89CcGXMItrOBqRarUMxWLJgxm9PJNuKULwN5n1csT9bYoMeZOGF3g== - dependencies: - "@xtuc/ieee754" "^1.2.0" - -"@webassemblyjs/leb128@1.8.5": - version "1.8.5" - resolved "https://registry.yarnpkg.com/@webassemblyjs/leb128/-/leb128-1.8.5.tgz#044edeb34ea679f3e04cd4fd9824d5e35767ae10" - integrity sha512-plYUuUwleLIziknvlP8VpTgO4kqNaH57Y3JnNa6DLpu/sGcP6hbVdfdX5aHAV716pQBKrfuU26BJK29qY37J7A== - dependencies: - "@xtuc/long" "4.2.2" - -"@webassemblyjs/utf8@1.8.5": - version "1.8.5" - resolved "https://registry.yarnpkg.com/@webassemblyjs/utf8/-/utf8-1.8.5.tgz#a8bf3b5d8ffe986c7c1e373ccbdc2a0915f0cedc" - integrity sha512-U7zgftmQriw37tfD934UNInokz6yTmn29inT2cAetAsaU9YeVCveWEwhKL1Mg4yS7q//NGdzy79nlXh3bT8Kjw== - -"@webassemblyjs/wasm-edit@1.8.5": - version "1.8.5" - resolved "https://registry.yarnpkg.com/@webassemblyjs/wasm-edit/-/wasm-edit-1.8.5.tgz#962da12aa5acc1c131c81c4232991c82ce56e01a" - integrity sha512-A41EMy8MWw5yvqj7MQzkDjU29K7UJq1VrX2vWLzfpRHt3ISftOXqrtojn7nlPsZ9Ijhp5NwuODuycSvfAO/26Q== - dependencies: - "@webassemblyjs/ast" "1.8.5" - "@webassemblyjs/helper-buffer" "1.8.5" - "@webassemblyjs/helper-wasm-bytecode" "1.8.5" - "@webassemblyjs/helper-wasm-section" "1.8.5" - "@webassemblyjs/wasm-gen" "1.8.5" - "@webassemblyjs/wasm-opt" "1.8.5" - "@webassemblyjs/wasm-parser" "1.8.5" - "@webassemblyjs/wast-printer" "1.8.5" - -"@webassemblyjs/wasm-gen@1.8.5": - version "1.8.5" - resolved "https://registry.yarnpkg.com/@webassemblyjs/wasm-gen/-/wasm-gen-1.8.5.tgz#54840766c2c1002eb64ed1abe720aded714f98bc" - integrity sha512-BCZBT0LURC0CXDzj5FXSc2FPTsxwp3nWcqXQdOZE4U7h7i8FqtFK5Egia6f9raQLpEKT1VL7zr4r3+QX6zArWg== - dependencies: - "@webassemblyjs/ast" "1.8.5" - "@webassemblyjs/helper-wasm-bytecode" "1.8.5" - "@webassemblyjs/ieee754" "1.8.5" - "@webassemblyjs/leb128" "1.8.5" - "@webassemblyjs/utf8" "1.8.5" - -"@webassemblyjs/wasm-opt@1.8.5": - version "1.8.5" - resolved "https://registry.yarnpkg.com/@webassemblyjs/wasm-opt/-/wasm-opt-1.8.5.tgz#b24d9f6ba50394af1349f510afa8ffcb8a63d264" - integrity sha512-HKo2mO/Uh9A6ojzu7cjslGaHaUU14LdLbGEKqTR7PBKwT6LdPtLLh9fPY33rmr5wcOMrsWDbbdCHq4hQUdd37Q== - dependencies: - "@webassemblyjs/ast" "1.8.5" - "@webassemblyjs/helper-buffer" "1.8.5" - "@webassemblyjs/wasm-gen" "1.8.5" - "@webassemblyjs/wasm-parser" "1.8.5" - -"@webassemblyjs/wasm-parser@1.8.5": - version "1.8.5" - resolved "https://registry.yarnpkg.com/@webassemblyjs/wasm-parser/-/wasm-parser-1.8.5.tgz#21576f0ec88b91427357b8536383668ef7c66b8d" - integrity sha512-pi0SYE9T6tfcMkthwcgCpL0cM9nRYr6/6fjgDtL6q/ZqKHdMWvxitRi5JcZ7RI4SNJJYnYNaWy5UUrHQy998lw== - dependencies: - "@webassemblyjs/ast" "1.8.5" - "@webassemblyjs/helper-api-error" "1.8.5" - "@webassemblyjs/helper-wasm-bytecode" "1.8.5" - "@webassemblyjs/ieee754" "1.8.5" - "@webassemblyjs/leb128" "1.8.5" - "@webassemblyjs/utf8" "1.8.5" - -"@webassemblyjs/wast-parser@1.8.5": - version "1.8.5" - resolved "https://registry.yarnpkg.com/@webassemblyjs/wast-parser/-/wast-parser-1.8.5.tgz#e10eecd542d0e7bd394f6827c49f3df6d4eefb8c" - integrity sha512-daXC1FyKWHF1i11obK086QRlsMsY4+tIOKgBqI1lxAnkp9xe9YMcgOxm9kLe+ttjs5aWV2KKE1TWJCN57/Btsg== - dependencies: - "@webassemblyjs/ast" "1.8.5" - "@webassemblyjs/floating-point-hex-parser" "1.8.5" - "@webassemblyjs/helper-api-error" "1.8.5" - "@webassemblyjs/helper-code-frame" "1.8.5" - "@webassemblyjs/helper-fsm" "1.8.5" - "@xtuc/long" "4.2.2" - -"@webassemblyjs/wast-printer@1.8.5": - version "1.8.5" - resolved "https://registry.yarnpkg.com/@webassemblyjs/wast-printer/-/wast-printer-1.8.5.tgz#114bbc481fd10ca0e23b3560fa812748b0bae5bc" - integrity sha512-w0U0pD4EhlnvRyeJzBqaVSJAo9w/ce7/WPogeXLzGkO6hzhr4GnQIZ4W4uUt5b9ooAaXPtnXlj0gzsXEOUNYMg== - dependencies: - "@webassemblyjs/ast" "1.8.5" - "@webassemblyjs/wast-parser" "1.8.5" - "@xtuc/long" "4.2.2" - -"@xtuc/ieee754@^1.2.0": - version "1.2.0" - resolved "https://registry.yarnpkg.com/@xtuc/ieee754/-/ieee754-1.2.0.tgz#eef014a3145ae477a1cbc00cd1e552336dceb790" - integrity sha512-DX8nKgqcGwsc0eJSqYt5lwP4DH5FlHnmuWWBRy7X0NcaGR0ZtuyeESgMwTYVEtxmsNGY+qit4QYT/MIYTOTPeA== - -"@xtuc/long@4.2.2": - version "4.2.2" - resolved "https://registry.yarnpkg.com/@xtuc/long/-/long-4.2.2.tgz#d291c6a4e97989b5c61d9acf396ae4fe133a718d" - integrity sha512-NuHqBY1PB/D8xU6s/thBgOAiAP7HOYDQ32+BFZILJ8ivkUkAHQnWfn6WhL79Owj1qmUnoN/YPhktdIoucipkAQ== - -abbrev@1: - version "1.1.1" - resolved "https://registry.yarnpkg.com/abbrev/-/abbrev-1.1.1.tgz#f8f2c887ad10bf67f634f005b6987fed3179aac8" - integrity sha512-nne9/IiQ/hzIhY6pdDnbBtz7DjPTKrY00P/zvPSm5pOFkl6xuGrGnXn/VtTNNfNtAfZ9/1RtehkszU9qcTii0Q== - -acorn@^6.2.1: - version "6.3.0" - resolved "https://registry.yarnpkg.com/acorn/-/acorn-6.3.0.tgz#0087509119ffa4fc0a0041d1e93a417e68cb856e" - integrity sha512-/czfa8BwS88b9gWQVhc8eknunSA2DoJpJyTQkhheIf5E48u1N0R4q/YxxsAeqRrmK9TQ/uYfgLDfZo91UlANIA== - -ajv-errors@^1.0.0: - version "1.0.1" - resolved "https://registry.yarnpkg.com/ajv-errors/-/ajv-errors-1.0.1.tgz#f35986aceb91afadec4102fbd85014950cefa64d" - integrity sha512-DCRfO/4nQ+89p/RK43i8Ezd41EqdGIU4ld7nGF8OQ14oc/we5rEntLCUa7+jrn3nn83BosfwZA0wb4pon2o8iQ== - -ajv-keywords@^3.1.0, ajv-keywords@^3.4.1: - version "3.4.1" - resolved "https://registry.yarnpkg.com/ajv-keywords/-/ajv-keywords-3.4.1.tgz#ef916e271c64ac12171fd8384eaae6b2345854da" - integrity sha512-RO1ibKvd27e6FEShVFfPALuHI3WjSVNeK5FIsmme/LYRNxjKuNj+Dt7bucLa6NdSv3JcVTyMlm9kGR84z1XpaQ== - -ajv@^6.1.0, ajv@^6.10.2, ajv@^6.5.5: - version "6.10.2" - resolved "https://registry.yarnpkg.com/ajv/-/ajv-6.10.2.tgz#d3cea04d6b017b2894ad69040fec8b623eb4bd52" - integrity sha512-TXtUUEYHuaTEbLZWIKUr5pmBuhDLy+8KYtPYdcV8qC+pOZL+NKqYwvWSRrVXHn+ZmRRAu8vJTAznH7Oag6RVRw== - dependencies: - fast-deep-equal "^2.0.1" - fast-json-stable-stringify "^2.0.0" - json-schema-traverse "^0.4.1" - uri-js "^4.2.2" - -ansi-regex@^2.0.0: - version "2.1.1" - resolved "https://registry.yarnpkg.com/ansi-regex/-/ansi-regex-2.1.1.tgz#c3b33ab5ee360d86e0e628f0468ae7ef27d654df" - integrity sha1-w7M6te42DYbg5ijwRorn7yfWVN8= - -ansi-regex@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/ansi-regex/-/ansi-regex-3.0.0.tgz#ed0317c322064f79466c02966bddb605ab37d998" - integrity sha1-7QMXwyIGT3lGbAKWa922Bas32Zg= - -ansi-regex@^4.1.0: - version "4.1.0" - resolved "https://registry.yarnpkg.com/ansi-regex/-/ansi-regex-4.1.0.tgz#8b9f8f08cf1acb843756a839ca8c7e3168c51997" - integrity sha512-1apePfXM1UOSqw0o9IiFAovVz9M5S1Dg+4TrDwfMewQ6p/rmMueb7tWZjQ1rx4Loy1ArBggoqGpfqqdI4rondg== - -ansi-styles@^3.2.0, ansi-styles@^3.2.1: - version "3.2.1" - resolved "https://registry.yarnpkg.com/ansi-styles/-/ansi-styles-3.2.1.tgz#41fbb20243e50b12be0f04b8dedbf07520ce841d" - integrity sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA== - dependencies: - color-convert "^1.9.0" - -anymatch@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/anymatch/-/anymatch-2.0.0.tgz#bcb24b4f37934d9aa7ac17b4adaf89e7c76ef2eb" - integrity sha512-5teOsQWABXHHBFP9y3skS5P3d/WfWXpv3FUpy+LorMrNYaT9pI4oLMQX7jzQ2KklNpGpWHzdCXTDT2Y3XGlZBw== - dependencies: - micromatch "^3.1.4" - normalize-path "^2.1.1" - -append-transform@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/append-transform/-/append-transform-1.0.0.tgz#046a52ae582a228bd72f58acfbe2967c678759ab" - integrity sha512-P009oYkeHyU742iSZJzZZywj4QRJdnTWffaKuJQLablCZ1uz6/cW4yaRgcDaoQ+uwOxxnt0gRUcwfsNP2ri0gw== - dependencies: - default-require-extensions "^2.0.0" - -aproba@^1.0.3, aproba@^1.1.1: - version "1.2.0" - resolved "https://registry.yarnpkg.com/aproba/-/aproba-1.2.0.tgz#6802e6264efd18c790a1b0d517f0f2627bf2c94a" - integrity sha512-Y9J6ZjXtoYh8RnXVCMOU/ttDmk1aBjunq9vO0ta5x85WDQiQfUF9sIPBITdbiiIVcBo03Hi3jMxigBtsddlXRw== - -archy@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/archy/-/archy-1.0.0.tgz#f9c8c13757cc1dd7bc379ac77b2c62a5c2868c40" - integrity sha1-+cjBN1fMHde8N5rHeyxipcKGjEA= - -are-we-there-yet@~1.1.2: - version "1.1.5" - resolved "https://registry.yarnpkg.com/are-we-there-yet/-/are-we-there-yet-1.1.5.tgz#4b35c2944f062a8bfcda66410760350fe9ddfc21" - integrity sha512-5hYdAkZlcG8tOLujVDTgCT+uPX0VnpAH28gWsLfzpXYm7wP6mp5Q/gYyR7YQ0cKVJcXJnl3j2kpBan13PtQf6w== - dependencies: - delegates "^1.0.0" - readable-stream "^2.0.6" - -arg@^4.1.0: - version "4.1.1" - resolved "https://registry.yarnpkg.com/arg/-/arg-4.1.1.tgz#485f8e7c390ce4c5f78257dbea80d4be11feda4c" - integrity sha512-SlmP3fEA88MBv0PypnXZ8ZfJhwmDeIE3SP71j37AiXQBXYosPV0x6uISAaHYSlSVhmHOVkomen0tbGk6Anlebw== - -argparse@^1.0.7: - version "1.0.10" - resolved "https://registry.yarnpkg.com/argparse/-/argparse-1.0.10.tgz#bcd6791ea5ae09725e17e5ad988134cd40b3d911" - integrity sha512-o5Roy6tNG4SL/FOkCAN6RzjiakZS25RLYFrcMttJqbdd8BWrnA+fGz57iN5Pb06pvBGvl5gQ0B48dJlslXvoTg== - dependencies: - sprintf-js "~1.0.2" - -arr-diff@^4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/arr-diff/-/arr-diff-4.0.0.tgz#d6461074febfec71e7e15235761a329a5dc7c520" - integrity sha1-1kYQdP6/7HHn4VI1dhoyml3HxSA= - -arr-flatten@^1.1.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/arr-flatten/-/arr-flatten-1.1.0.tgz#36048bbff4e7b47e136644316c99669ea5ae91f1" - integrity sha512-L3hKV5R/p5o81R7O02IGnwpDmkp6E982XhtbuwSe3O4qOtMMMtodicASA1Cny2U+aCXcNpml+m4dPsvsJ3jatg== - -arr-union@^3.1.0: - version "3.1.0" - resolved "https://registry.yarnpkg.com/arr-union/-/arr-union-3.1.0.tgz#e39b09aea9def866a8f206e288af63919bae39c4" - integrity sha1-45sJrqne+Gao8gbiiK9jkZuuOcQ= - -array-unique@^0.3.2: - version "0.3.2" - resolved "https://registry.yarnpkg.com/array-unique/-/array-unique-0.3.2.tgz#a894b75d4bc4f6cd679ef3244a9fd8f46ae2d428" - integrity sha1-qJS3XUvE9s1nnvMkSp/Y9Gri1Cg= - -asn1.js@^4.0.0: - version "4.10.1" - resolved "https://registry.yarnpkg.com/asn1.js/-/asn1.js-4.10.1.tgz#b9c2bf5805f1e64aadeed6df3a2bfafb5a73f5a0" - integrity sha512-p32cOF5q0Zqs9uBiONKYLm6BClCoBCM5O9JfeUSlnQLBTxYdTK+pW+nXflm8UkKd2UYlEbYz5qEi0JuZR9ckSw== - dependencies: - bn.js "^4.0.0" - inherits "^2.0.1" - minimalistic-assert "^1.0.0" - -asn1@~0.2.3: - version "0.2.4" - resolved "https://registry.yarnpkg.com/asn1/-/asn1-0.2.4.tgz#8d2475dfab553bb33e77b54e59e880bb8ce23136" - integrity sha512-jxwzQpLQjSmWXgwaCZE9Nz+glAG01yF1QnWgbhGwHI5A6FRIEY6IVqtHhIepHqI7/kyEyQEagBC5mBEFlIYvdg== - dependencies: - safer-buffer "~2.1.0" - -assert-plus@1.0.0, assert-plus@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/assert-plus/-/assert-plus-1.0.0.tgz#f12e0f3c5d77b0b1cdd9146942e4e96c1e4dd525" - integrity sha1-8S4PPF13sLHN2RRpQuTpbB5N1SU= - -assert@^1.1.1: - version "1.5.0" - resolved "https://registry.yarnpkg.com/assert/-/assert-1.5.0.tgz#55c109aaf6e0aefdb3dc4b71240c70bf574b18eb" - integrity sha512-EDsgawzwoun2CZkCgtxJbv392v4nbk9XDD06zI+kQYoBM/3RBWLlEyJARDOmhAAosBjWACEkKL6S+lIZtcAubA== - dependencies: - object-assign "^4.1.1" - util "0.10.3" - -assign-symbols@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/assign-symbols/-/assign-symbols-1.0.0.tgz#59667f41fadd4f20ccbc2bb96b8d4f7f78ec0367" - integrity sha1-WWZ/QfrdTyDMvCu5a41Pf3jsA2c= - -async-each@^1.0.1: - version "1.0.3" - resolved "https://registry.yarnpkg.com/async-each/-/async-each-1.0.3.tgz#b727dbf87d7651602f06f4d4ac387f47d91b0cbf" - integrity sha512-z/WhQ5FPySLdvREByI2vZiTWwCnF0moMJ1hK9YQwDTHKh6I7/uSckMetoRGb5UBZPC1z0jlw+n/XCgjeH7y1AQ== - -asynckit@^0.4.0: - version "0.4.0" - resolved "https://registry.yarnpkg.com/asynckit/-/asynckit-0.4.0.tgz#c79ed97f7f34cb8f2ba1bc9790bcc366474b4b79" - integrity sha1-x57Zf380y48robyXkLzDZkdLS3k= - -atob@^2.1.1: - version "2.1.2" - resolved "https://registry.yarnpkg.com/atob/-/atob-2.1.2.tgz#6d9517eb9e030d2436666651e86bd9f6f13533c9" - integrity sha512-Wm6ukoaOGJi/73p/cl2GvLjTI5JM1k/O14isD73YML8StrH/7/lRFgmg8nICZgD3bZZvjwCGxtMOD3wWNAu8cg== - -aws-sign2@~0.7.0: - version "0.7.0" - resolved "https://registry.yarnpkg.com/aws-sign2/-/aws-sign2-0.7.0.tgz#b46e890934a9591f2d2f6f86d7e6a9f1b3fe76a8" - integrity sha1-tG6JCTSpWR8tL2+G1+ap8bP+dqg= - -aws4@^1.8.0: - version "1.8.0" - resolved "https://registry.yarnpkg.com/aws4/-/aws4-1.8.0.tgz#f0e003d9ca9e7f59c7a508945d7b2ef9a04a542f" - integrity sha512-ReZxvNHIOv88FlT7rxcXIIC0fPt4KZqZbOlivyWtXLt8ESx84zd3kMC6iK5jVeS2qt+g7ftS7ye4fi06X5rtRQ== - -balanced-match@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/balanced-match/-/balanced-match-1.0.0.tgz#89b4d199ab2bee49de164ea02b89ce462d71b767" - integrity sha1-ibTRmasr7kneFk6gK4nORi1xt2c= - -base64-js@^1.0.2: - version "1.3.1" - resolved "https://registry.yarnpkg.com/base64-js/-/base64-js-1.3.1.tgz#58ece8cb75dd07e71ed08c736abc5fac4dbf8df1" - integrity sha512-mLQ4i2QO1ytvGWFWmcngKO//JXAQueZvwEKtjgQFM4jIK0kU+ytMfplL8j+n5mspOfjHwoAg+9yhb7BwAHm36g== - -base@^0.11.1: - version "0.11.2" - resolved "https://registry.yarnpkg.com/base/-/base-0.11.2.tgz#7bde5ced145b6d551a90db87f83c558b4eb48a8f" - integrity sha512-5T6P4xPgpp0YDFvSWwEZ4NoE3aM4QBQXDzmVbraCkFj8zHM+mba8SyqB5DbZWyR7mYHo6Y7BdQo3MoA4m0TeQg== - dependencies: - cache-base "^1.0.1" - class-utils "^0.3.5" - component-emitter "^1.2.1" - define-property "^1.0.0" - isobject "^3.0.1" - mixin-deep "^1.2.0" - pascalcase "^0.1.1" - -bcrypt-pbkdf@^1.0.0: - version "1.0.2" - resolved "https://registry.yarnpkg.com/bcrypt-pbkdf/-/bcrypt-pbkdf-1.0.2.tgz#a4301d389b6a43f9b67ff3ca11a3f6637e360e9e" - integrity sha1-pDAdOJtqQ/m2f/PKEaP2Y342Dp4= - dependencies: - tweetnacl "^0.14.3" - -big.js@^5.2.2: - version "5.2.2" - resolved "https://registry.yarnpkg.com/big.js/-/big.js-5.2.2.tgz#65f0af382f578bcdc742bd9c281e9cb2d7768328" - integrity sha512-vyL2OymJxmarO8gxMr0mhChsO9QGwhynfuu4+MHTAW6czfq9humCB7rKpUjDd9YUiDPU4mzpyupFSvOClAwbmQ== - -binary-extensions@^1.0.0: - version "1.13.1" - resolved "https://registry.yarnpkg.com/binary-extensions/-/binary-extensions-1.13.1.tgz#598afe54755b2868a5330d2aff9d4ebb53209b65" - integrity sha512-Un7MIEDdUC5gNpcGDV97op1Ywk748MpHcFTHoYs6qnj1Z3j7I53VG3nwZhKzoBZmbdRNnb6WRdFlwl7tSDuZGw== - -bind-obj-methods@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/bind-obj-methods/-/bind-obj-methods-2.0.0.tgz#0178140dbe7b7bb67dc74892ace59bc0247f06f0" - integrity sha512-3/qRXczDi2Cdbz6jE+W3IflJOutRVica8frpBn14de1mBOkzDo+6tY33kNhvkw54Kn3PzRRD2VnGbGPcTAk4sw== - -bluebird@^3.5.4, bluebird@^3.5.5: - version "3.7.1" - resolved "https://registry.yarnpkg.com/bluebird/-/bluebird-3.7.1.tgz#df70e302b471d7473489acf26a93d63b53f874de" - integrity sha512-DdmyoGCleJnkbp3nkbxTLJ18rjDsE4yCggEwKNXkeV123sPNfOCYeDoeuOY+F2FrSjO1YXcTU+dsy96KMy+gcg== - -bn.js@^4.0.0, bn.js@^4.1.0, bn.js@^4.1.1, bn.js@^4.4.0: - version "4.11.8" - resolved "https://registry.yarnpkg.com/bn.js/-/bn.js-4.11.8.tgz#2cde09eb5ee341f484746bb0309b3253b1b1442f" - integrity sha512-ItfYfPLkWHUjckQCk8xC+LwxgK8NYcXywGigJgSwOP8Y2iyWT4f2vsZnoOXTTbo+o5yXmIUJ4gn5538SO5S3gA== - -brace-expansion@^1.1.7: - version "1.1.11" - resolved "https://registry.yarnpkg.com/brace-expansion/-/brace-expansion-1.1.11.tgz#3c7fcbf529d87226f3d2f52b966ff5271eb441dd" - integrity sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA== - dependencies: - balanced-match "^1.0.0" - concat-map "0.0.1" - -braces@^2.3.1, braces@^2.3.2: - version "2.3.2" - resolved "https://registry.yarnpkg.com/braces/-/braces-2.3.2.tgz#5979fd3f14cd531565e5fa2df1abfff1dfaee729" - integrity sha512-aNdbnj9P8PjdXU4ybaWLK2IF3jc/EoDYbC7AazW6to3TRsfXxscC9UXOB5iDiEQrkyIbWp2SLQda4+QAa7nc3w== - dependencies: - arr-flatten "^1.1.0" - array-unique "^0.3.2" - extend-shallow "^2.0.1" - fill-range "^4.0.0" - isobject "^3.0.1" - repeat-element "^1.1.2" - snapdragon "^0.8.1" - snapdragon-node "^2.0.1" - split-string "^3.0.2" - to-regex "^3.0.1" - -brorand@^1.0.1: - version "1.1.0" - resolved "https://registry.yarnpkg.com/brorand/-/brorand-1.1.0.tgz#12c25efe40a45e3c323eb8675a0a0ce57b22371f" - integrity sha1-EsJe/kCkXjwyPrhnWgoM5XsiNx8= - -browser-process-hrtime@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/browser-process-hrtime/-/browser-process-hrtime-1.0.0.tgz#3c9b4b7d782c8121e56f10106d84c0d0ffc94626" - integrity sha512-9o5UecI3GhkpM6DrXr69PblIuWxPKk9Y0jHBRhdocZ2y7YECBFCsHm79Pr3OyR2AvjhDkabFJaDJMYRazHgsow== - -browserify-aes@^1.0.0, browserify-aes@^1.0.4: - version "1.2.0" - resolved "https://registry.yarnpkg.com/browserify-aes/-/browserify-aes-1.2.0.tgz#326734642f403dabc3003209853bb70ad428ef48" - integrity sha512-+7CHXqGuspUn/Sl5aO7Ea0xWGAtETPXNSAjHo48JfLdPWcMng33Xe4znFvQweqc/uzk5zSOI3H52CYnjCfb5hA== - dependencies: - buffer-xor "^1.0.3" - cipher-base "^1.0.0" - create-hash "^1.1.0" - evp_bytestokey "^1.0.3" - inherits "^2.0.1" - safe-buffer "^5.0.1" - -browserify-cipher@^1.0.0: - version "1.0.1" - resolved "https://registry.yarnpkg.com/browserify-cipher/-/browserify-cipher-1.0.1.tgz#8d6474c1b870bfdabcd3bcfcc1934a10e94f15f0" - integrity sha512-sPhkz0ARKbf4rRQt2hTpAHqn47X3llLkUGn+xEJzLjwY8LRs2p0v7ljvI5EyoRO/mexrNunNECisZs+gw2zz1w== - dependencies: - browserify-aes "^1.0.4" - browserify-des "^1.0.0" - evp_bytestokey "^1.0.0" - -browserify-des@^1.0.0: - version "1.0.2" - resolved "https://registry.yarnpkg.com/browserify-des/-/browserify-des-1.0.2.tgz#3af4f1f59839403572f1c66204375f7a7f703e9c" - integrity sha512-BioO1xf3hFwz4kc6iBhI3ieDFompMhrMlnDFC4/0/vd5MokpuAc3R+LYbwTA9A5Yc9pq9UYPqffKpW2ObuwX5A== - dependencies: - cipher-base "^1.0.1" - des.js "^1.0.0" - inherits "^2.0.1" - safe-buffer "^5.1.2" - -browserify-rsa@^4.0.0: - version "4.0.1" - resolved "https://registry.yarnpkg.com/browserify-rsa/-/browserify-rsa-4.0.1.tgz#21e0abfaf6f2029cf2fafb133567a701d4135524" - integrity sha1-IeCr+vbyApzy+vsTNWenAdQTVSQ= - dependencies: - bn.js "^4.1.0" - randombytes "^2.0.1" - -browserify-sign@^4.0.0: - version "4.0.4" - resolved "https://registry.yarnpkg.com/browserify-sign/-/browserify-sign-4.0.4.tgz#aa4eb68e5d7b658baa6bf6a57e630cbd7a93d298" - integrity sha1-qk62jl17ZYuqa/alfmMMvXqT0pg= - dependencies: - bn.js "^4.1.1" - browserify-rsa "^4.0.0" - create-hash "^1.1.0" - create-hmac "^1.1.2" - elliptic "^6.0.0" - inherits "^2.0.1" - parse-asn1 "^5.0.0" - -browserify-zlib@^0.2.0: - version "0.2.0" - resolved "https://registry.yarnpkg.com/browserify-zlib/-/browserify-zlib-0.2.0.tgz#2869459d9aa3be245fe8fe2ca1f46e2e7f54d73f" - integrity sha512-Z942RysHXmJrhqk88FmKBVq/v5tqmSkDz7p54G/MGyjMnCFFnC79XWNbg+Vta8W6Wb2qtSZTSxIGkJrRpCFEiA== - dependencies: - pako "~1.0.5" - -buffer-from@^1.0.0: - version "1.1.1" - resolved "https://registry.yarnpkg.com/buffer-from/-/buffer-from-1.1.1.tgz#32713bc028f75c02fdb710d7c7bcec1f2c6070ef" - integrity sha512-MQcXEUbCKtEo7bhqEs6560Hyd4XaovZlO/k9V3hjVUF/zwW7KBVdSK4gIt/bzwS9MbR5qob+F5jusZsb0YQK2A== - -buffer-xor@^1.0.3: - version "1.0.3" - resolved "https://registry.yarnpkg.com/buffer-xor/-/buffer-xor-1.0.3.tgz#26e61ed1422fb70dd42e6e36729ed51d855fe8d9" - integrity sha1-JuYe0UIvtw3ULm42cp7VHYVf6Nk= - -buffer@^4.3.0: - version "4.9.1" - resolved "https://registry.yarnpkg.com/buffer/-/buffer-4.9.1.tgz#6d1bb601b07a4efced97094132093027c95bc298" - integrity sha1-bRu2AbB6TvztlwlBMgkwJ8lbwpg= - dependencies: - base64-js "^1.0.2" - ieee754 "^1.1.4" - isarray "^1.0.0" - -builtin-status-codes@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/builtin-status-codes/-/builtin-status-codes-3.0.0.tgz#85982878e21b98e1c66425e03d0174788f569ee8" - integrity sha1-hZgoeOIbmOHGZCXgPQF0eI9Wnug= - -cacache@^12.0.2: - version "12.0.3" - resolved "https://registry.yarnpkg.com/cacache/-/cacache-12.0.3.tgz#be99abba4e1bf5df461cd5a2c1071fc432573390" - integrity sha512-kqdmfXEGFepesTuROHMs3MpFLWrPkSSpRqOw80RCflZXy/khxaArvFrQ7uJxSUduzAufc6G0g1VUCOZXxWavPw== - dependencies: - bluebird "^3.5.5" - chownr "^1.1.1" - figgy-pudding "^3.5.1" - glob "^7.1.4" - graceful-fs "^4.1.15" - infer-owner "^1.0.3" - lru-cache "^5.1.1" - mississippi "^3.0.0" - mkdirp "^0.5.1" - move-concurrently "^1.0.1" - promise-inflight "^1.0.1" - rimraf "^2.6.3" - ssri "^6.0.1" - unique-filename "^1.1.1" - y18n "^4.0.0" - -cache-base@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/cache-base/-/cache-base-1.0.1.tgz#0a7f46416831c8b662ee36fe4e7c59d76f666ab2" - integrity sha512-AKcdTnFSWATd5/GCPRxr2ChwIJ85CeyrEyjRHlKxQ56d4XJMGym0uAiKn0xbLOGOl3+yRpOTi484dVCEc5AUzQ== - dependencies: - collection-visit "^1.0.0" - component-emitter "^1.2.1" - get-value "^2.0.6" - has-value "^1.0.0" - isobject "^3.0.1" - set-value "^2.0.0" - to-object-path "^0.3.0" - union-value "^1.0.0" - unset-value "^1.0.0" - -caching-transform@^3.0.2: - version "3.0.2" - resolved "https://registry.yarnpkg.com/caching-transform/-/caching-transform-3.0.2.tgz#601d46b91eca87687a281e71cef99791b0efca70" - integrity sha512-Mtgcv3lh3U0zRii/6qVgQODdPA4G3zhG+jtbCWj39RXuUFTMzH0vcdMtaJS1jPowd+It2Pqr6y3NJMQqOqCE2w== - dependencies: - hasha "^3.0.0" - make-dir "^2.0.0" - package-hash "^3.0.0" - write-file-atomic "^2.4.2" - -camelcase@^5.0.0: - version "5.3.1" - resolved "https://registry.yarnpkg.com/camelcase/-/camelcase-5.3.1.tgz#e3c9b31569e106811df242f715725a1f4c494320" - integrity sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg== - -capture-stack-trace@^1.0.0: - version "1.0.1" - resolved "https://registry.yarnpkg.com/capture-stack-trace/-/capture-stack-trace-1.0.1.tgz#a6c0bbe1f38f3aa0b92238ecb6ff42c344d4135d" - integrity sha512-mYQLZnx5Qt1JgB1WEiMCf2647plpGeQ2NMR/5L0HNZzGQo4fuSPnK+wjfPnKZV0aiJDgzmWqqkV/g7JD+DW0qw== - -caseless@~0.12.0: - version "0.12.0" - resolved "https://registry.yarnpkg.com/caseless/-/caseless-0.12.0.tgz#1b681c21ff84033c826543090689420d187151dc" - integrity sha1-G2gcIf+EAzyCZUMJBolCDRhxUdw= - -catharsis@^0.8.11: - version "0.8.11" - resolved "https://registry.yarnpkg.com/catharsis/-/catharsis-0.8.11.tgz#d0eb3d2b82b7da7a3ce2efb1a7b00becc6643468" - integrity sha512-a+xUyMV7hD1BrDQA/3iPV7oc+6W26BgVJO05PGEoatMyIuPScQKsde6i3YorWX1qs+AZjnJ18NqdKoCtKiNh1g== - dependencies: - lodash "^4.17.14" - -chalk@2.4.2, chalk@^2.0.0: - version "2.4.2" - resolved "https://registry.yarnpkg.com/chalk/-/chalk-2.4.2.tgz#cd42541677a54333cf541a49108c1432b44c9424" - integrity sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ== - dependencies: - ansi-styles "^3.2.1" - escape-string-regexp "^1.0.5" - supports-color "^5.3.0" - -chokidar@^2.0.2: - version "2.1.8" - resolved "https://registry.yarnpkg.com/chokidar/-/chokidar-2.1.8.tgz#804b3a7b6a99358c3c5c61e71d8728f041cff917" - integrity sha512-ZmZUazfOzf0Nve7duiCKD23PFSCs4JPoYyccjUFF3aQkQadqBhfzhjkwBH2mNOG9cTBwhamM37EIsIkZw3nRgg== - dependencies: - anymatch "^2.0.0" - async-each "^1.0.1" - braces "^2.3.2" - glob-parent "^3.1.0" - inherits "^2.0.3" - is-binary-path "^1.0.0" - is-glob "^4.0.0" - normalize-path "^3.0.0" - path-is-absolute "^1.0.0" - readdirp "^2.2.1" - upath "^1.1.1" - optionalDependencies: - fsevents "^1.2.7" - -chownr@^1.1.1: - version "1.1.3" - resolved "https://registry.yarnpkg.com/chownr/-/chownr-1.1.3.tgz#42d837d5239688d55f303003a508230fa6727142" - integrity sha512-i70fVHhmV3DtTl6nqvZOnIjbY0Pe4kAUjwHj8z0zAdgBtYrJyYwLKCCuRBQ5ppkyL0AkN7HKRnETdmdp1zqNXw== - -chrome-trace-event@^1.0.2: - version "1.0.2" - resolved "https://registry.yarnpkg.com/chrome-trace-event/-/chrome-trace-event-1.0.2.tgz#234090ee97c7d4ad1a2c4beae27505deffc608a4" - integrity sha512-9e/zx1jw7B4CO+c/RXoCsfg/x1AfUBioy4owYH0bJprEYAx5hRFLRhWBqHAG57D0ZM4H7vxbP7bPe0VwhQRYDQ== - dependencies: - tslib "^1.9.0" - -cipher-base@^1.0.0, cipher-base@^1.0.1, cipher-base@^1.0.3: - version "1.0.4" - resolved "https://registry.yarnpkg.com/cipher-base/-/cipher-base-1.0.4.tgz#8760e4ecc272f4c363532f926d874aae2c1397de" - integrity sha512-Kkht5ye6ZGmwv40uUDZztayT2ThLQGfnj/T71N/XzeZeo3nf8foyW7zGTsPYkEya3m5f3cAypH+qe7YOrM1U2Q== - dependencies: - inherits "^2.0.1" - safe-buffer "^5.0.1" - -class-utils@^0.3.5: - version "0.3.6" - resolved "https://registry.yarnpkg.com/class-utils/-/class-utils-0.3.6.tgz#f93369ae8b9a7ce02fd41faad0ca83033190c463" - integrity sha512-qOhPa/Fj7s6TY8H8esGu5QNpMMQxz79h+urzrNYN6mn+9BnxlDGf5QZ+XeCDsxSjPqsSR56XOZOJmpeurnLMeg== - dependencies: - arr-union "^3.1.0" - define-property "^0.2.5" - isobject "^3.0.0" - static-extend "^0.1.1" - -clean-yaml-object@^0.1.0: - version "0.1.0" - resolved "https://registry.yarnpkg.com/clean-yaml-object/-/clean-yaml-object-0.1.0.tgz#63fb110dc2ce1a84dc21f6d9334876d010ae8b68" - integrity sha1-Y/sRDcLOGoTcIfbZM0h20BCui2g= - -cliui@^5.0.0: - version "5.0.0" - resolved "https://registry.yarnpkg.com/cliui/-/cliui-5.0.0.tgz#deefcfdb2e800784aa34f46fa08e06851c7bbbc5" - integrity sha512-PYeGSEmmHM6zvoef2w8TPzlrnNpXIjTipYK780YswmIP9vjxmd6Y2a3CB2Ks6/AU8NHjZugXvo8w3oWM2qnwXA== - dependencies: - string-width "^3.1.0" - strip-ansi "^5.2.0" - wrap-ansi "^5.1.0" - -code-point-at@^1.0.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/code-point-at/-/code-point-at-1.1.0.tgz#0d070b4d043a5bea33a2f1a40e2edb3d9a4ccf77" - integrity sha1-DQcLTQQ6W+ozovGkDi7bPZpMz3c= - -collection-visit@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/collection-visit/-/collection-visit-1.0.0.tgz#4bc0373c164bc3291b4d368c829cf1a80a59dca0" - integrity sha1-S8A3PBZLwykbTTaMgpzxqApZ3KA= - dependencies: - map-visit "^1.0.0" - object-visit "^1.0.0" - -color-convert@^1.9.0: - version "1.9.3" - resolved "https://registry.yarnpkg.com/color-convert/-/color-convert-1.9.3.tgz#bb71850690e1f136567de629d2d5471deda4c1e8" - integrity sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg== - dependencies: - color-name "1.1.3" - -color-name@1.1.3: - version "1.1.3" - resolved "https://registry.yarnpkg.com/color-name/-/color-name-1.1.3.tgz#a7d0558bd89c42f795dd42328f740831ca53bc25" - integrity sha1-p9BVi9icQveV3UIyj3QIMcpTvCU= - -color-support@^1.1.0: - version "1.1.3" - resolved "https://registry.yarnpkg.com/color-support/-/color-support-1.1.3.tgz#93834379a1cc9a0c61f82f52f0d04322251bd5a2" - integrity sha512-qiBjkpbMLO/HL68y+lh4q0/O1MZFj2RX6X/KmMa3+gJD3z+WwI1ZzDHysvqHGS3mP6mznPckpXmw1nI9cJjyRg== - -combined-stream@^1.0.6, combined-stream@~1.0.6: - version "1.0.8" - resolved "https://registry.yarnpkg.com/combined-stream/-/combined-stream-1.0.8.tgz#c3d45a8b34fd730631a110a8a2520682b31d5a7f" - integrity sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg== - dependencies: - delayed-stream "~1.0.0" - -commander@^2.20.0, commander@~2.20.3: - version "2.20.3" - resolved "https://registry.yarnpkg.com/commander/-/commander-2.20.3.tgz#fd485e84c03eb4881c20722ba48035e8531aeb33" - integrity sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ== - -commondir@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/commondir/-/commondir-1.0.1.tgz#ddd800da0c66127393cca5950ea968a3aaf1253b" - integrity sha1-3dgA2gxmEnOTzKWVDqloo6rxJTs= - -component-emitter@^1.2.1: - version "1.3.0" - resolved "https://registry.yarnpkg.com/component-emitter/-/component-emitter-1.3.0.tgz#16e4070fba8ae29b679f2215853ee181ab2eabc0" - integrity sha512-Rd3se6QB+sO1TwqZjscQrurpEPIfO0/yYnSin6Q/rD3mOutHvUrCAhJub3r90uNb+SESBuE0QYoB90YdfatsRg== - -concat-map@0.0.1: - version "0.0.1" - resolved "https://registry.yarnpkg.com/concat-map/-/concat-map-0.0.1.tgz#d8a96bd77fd68df7793a73036a3ba0d5405d477b" - integrity sha1-2Klr13/Wjfd5OnMDajug1UBdR3s= - -concat-stream@^1.5.0: - version "1.6.2" - resolved "https://registry.yarnpkg.com/concat-stream/-/concat-stream-1.6.2.tgz#904bdf194cd3122fc675c77fc4ac3d4ff0fd1a34" - integrity sha512-27HBghJxjiZtIk3Ycvn/4kbJk/1uZuJFfuPEns6LaEvpvG1f0hTea8lilrouyo9mVc2GWdcEZ8OLoGmSADlrCw== - dependencies: - buffer-from "^1.0.0" - inherits "^2.0.3" - readable-stream "^2.2.2" - typedarray "^0.0.6" - -console-browserify@^1.1.0: - version "1.2.0" - resolved "https://registry.yarnpkg.com/console-browserify/-/console-browserify-1.2.0.tgz#67063cef57ceb6cf4993a2ab3a55840ae8c49336" - integrity sha512-ZMkYO/LkF17QvCPqM0gxw8yUzigAOZOSWSHg91FH6orS7vcEj5dVZTidN2fQ14yBSdg97RqhSNwLUXInd52OTA== - -console-control-strings@^1.0.0, console-control-strings@~1.1.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/console-control-strings/-/console-control-strings-1.1.0.tgz#3d7cf4464db6446ea644bf4b39507f9851008e8e" - integrity sha1-PXz0Rk22RG6mRL9LOVB/mFEAjo4= - -constants-browserify@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/constants-browserify/-/constants-browserify-1.0.0.tgz#c20b96d8c617748aaf1c16021760cd27fcb8cb75" - integrity sha1-wguW2MYXdIqvHBYCF2DNJ/y4y3U= - -convert-source-map@^1.6.0: - version "1.6.0" - resolved "https://registry.yarnpkg.com/convert-source-map/-/convert-source-map-1.6.0.tgz#51b537a8c43e0f04dec1993bffcdd504e758ac20" - integrity sha512-eFu7XigvxdZ1ETfbgPBohgyQ/Z++C0eEhTor0qRwBw9unw+L0/6V8wkSuGgzdThkiS5lSpdptOQPD8Ak40a+7A== - dependencies: - safe-buffer "~5.1.1" - -copy-concurrently@^1.0.0: - version "1.0.5" - resolved "https://registry.yarnpkg.com/copy-concurrently/-/copy-concurrently-1.0.5.tgz#92297398cae34937fcafd6ec8139c18051f0b5e0" - integrity sha512-f2domd9fsVDFtaFcbaRZuYXwtdmnzqbADSwhSWYxYB/Q8zsdUUFMXVRwXGDMWmbEzAn1kdRrtI1T/KTFOL4X2A== - dependencies: - aproba "^1.1.1" - fs-write-stream-atomic "^1.0.8" - iferr "^0.1.5" - mkdirp "^0.5.1" - rimraf "^2.5.4" - run-queue "^1.0.0" - -copy-descriptor@^0.1.0: - version "0.1.1" - resolved "https://registry.yarnpkg.com/copy-descriptor/-/copy-descriptor-0.1.1.tgz#676f6eb3c39997c2ee1ac3a924fd6124748f578d" - integrity sha1-Z29us8OZl8LuGsOpJP1hJHSPV40= - -core-util-is@1.0.2, core-util-is@~1.0.0: - version "1.0.2" - resolved "https://registry.yarnpkg.com/core-util-is/-/core-util-is-1.0.2.tgz#b5fd54220aa2bc5ab57aab7140c940754503c1a7" - integrity sha1-tf1UIgqivFq1eqtxQMlAdUUDwac= - -coveralls@^3.0.2: - version "3.0.7" - resolved "https://registry.yarnpkg.com/coveralls/-/coveralls-3.0.7.tgz#1eca48e47976e9573d6a2f18b97c2fea4026f34a" - integrity sha512-mUuH2MFOYB2oBaA4D4Ykqi9LaEYpMMlsiOMJOrv358yAjP6enPIk55fod2fNJ8AvwoYXStWQls37rA+s5e7boA== - dependencies: - growl "~> 1.10.0" - js-yaml "^3.13.1" - lcov-parse "^0.0.10" - log-driver "^1.2.7" - minimist "^1.2.0" - request "^2.86.0" - -cp-file@^6.2.0: - version "6.2.0" - resolved "https://registry.yarnpkg.com/cp-file/-/cp-file-6.2.0.tgz#40d5ea4a1def2a9acdd07ba5c0b0246ef73dc10d" - integrity sha512-fmvV4caBnofhPe8kOcitBwSn2f39QLjnAnGq3gO9dfd75mUytzKNZB1hde6QHunW2Rt+OwuBOMc3i1tNElbszA== - dependencies: - graceful-fs "^4.1.2" - make-dir "^2.0.0" - nested-error-stacks "^2.0.0" - pify "^4.0.1" - safe-buffer "^5.0.1" - -create-ecdh@^4.0.0: - version "4.0.3" - resolved "https://registry.yarnpkg.com/create-ecdh/-/create-ecdh-4.0.3.tgz#c9111b6f33045c4697f144787f9254cdc77c45ff" - integrity sha512-GbEHQPMOswGpKXM9kCWVrremUcBmjteUaQ01T9rkKCPDXfUHX0IoP9LpHYo2NPFampa4e+/pFDc3jQdxrxQLaw== - dependencies: - bn.js "^4.1.0" - elliptic "^6.0.0" - -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" - integrity sha512-z00bCGNHDG8mHAkP7CtT1qVu+bFQUPjYq/4Iv3C3kWjTFV10zIjfSoeqXo9Asws8gwSHDGj/hl2u4OGIjapeCg== - dependencies: - cipher-base "^1.0.1" - inherits "^2.0.1" - md5.js "^1.3.4" - ripemd160 "^2.0.1" - sha.js "^2.4.0" - -create-hmac@^1.1.0, create-hmac@^1.1.2, create-hmac@^1.1.4: - version "1.1.7" - resolved "https://registry.yarnpkg.com/create-hmac/-/create-hmac-1.1.7.tgz#69170c78b3ab957147b2b8b04572e47ead2243ff" - integrity sha512-MJG9liiZ+ogc4TzUwuvbER1JRdgvUFSB5+VR/g5h82fGaIRWMWddtKBHi7/sVhfjQZ6SehlyhvQYrcYkaUIpLg== - dependencies: - cipher-base "^1.0.3" - create-hash "^1.1.0" - inherits "^2.0.1" - ripemd160 "^2.0.0" - safe-buffer "^5.0.1" - sha.js "^2.4.8" - -cross-spawn@6.0.5, cross-spawn@^6.0.0: - version "6.0.5" - resolved "https://registry.yarnpkg.com/cross-spawn/-/cross-spawn-6.0.5.tgz#4a5ec7c64dfae22c3a14124dbacdee846d80cbc4" - integrity sha512-eTVLrBSt7fjbDygz805pMnstIs2VTBNkRm0qxZd+M7A5XDdxVRWO5MxGBXZhjY4cqLYLdtrGqRf8mBPmzwSpWQ== - dependencies: - nice-try "^1.0.4" - path-key "^2.0.1" - semver "^5.5.0" - shebang-command "^1.2.0" - which "^1.2.9" - -cross-spawn@^4: - version "4.0.2" - resolved "https://registry.yarnpkg.com/cross-spawn/-/cross-spawn-4.0.2.tgz#7b9247621c23adfdd3856004a823cbe397424d41" - integrity sha1-e5JHYhwjrf3ThWAEqCPL45dCTUE= - dependencies: - lru-cache "^4.0.1" - which "^1.2.9" - -crypto-browserify@^3.11.0: - version "3.12.0" - resolved "https://registry.yarnpkg.com/crypto-browserify/-/crypto-browserify-3.12.0.tgz#396cf9f3137f03e4b8e532c58f698254e00f80ec" - integrity sha512-fz4spIh+znjO2VjL+IdhEpRJ3YN6sMzITSBijk6FK2UvTqruSQW+/cCZTSNsMiZNvUeq0CqurF+dAbyiGOY6Wg== - dependencies: - browserify-cipher "^1.0.0" - browserify-sign "^4.0.0" - create-ecdh "^4.0.0" - create-hash "^1.1.0" - create-hmac "^1.1.0" - diffie-hellman "^5.0.0" - inherits "^2.0.1" - pbkdf2 "^3.0.3" - public-encrypt "^4.0.0" - randombytes "^2.0.0" - randomfill "^1.0.3" - -cyclist@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/cyclist/-/cyclist-1.0.1.tgz#596e9698fd0c80e12038c2b82d6eb1b35b6224d9" - integrity sha1-WW6WmP0MgOEgOMK4LW6xs1tiJNk= - -dashdash@^1.12.0: - version "1.14.1" - resolved "https://registry.yarnpkg.com/dashdash/-/dashdash-1.14.1.tgz#853cfa0f7cbe2fed5de20326b8dd581035f6e2f0" - integrity sha1-hTz6D3y+L+1d4gMmuN1YEDX24vA= - dependencies: - assert-plus "^1.0.0" - -debug@^2.1.3, debug@^2.2.0, debug@^2.3.3: - version "2.6.9" - resolved "https://registry.yarnpkg.com/debug/-/debug-2.6.9.tgz#5d128515df134ff327e90a4c93f4e077a536341f" - integrity sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA== - dependencies: - ms "2.0.0" - -debug@^3.2.6: - version "3.2.6" - resolved "https://registry.yarnpkg.com/debug/-/debug-3.2.6.tgz#e83d17de16d8a7efb7717edbe5fb10135eee629b" - integrity sha512-mel+jf7nrtEl5Pn1Qx46zARXKDpBbvzezse7p7LqINmdoIk8PYP5SySaxEmYv6TZ0JyEKA1hsCId6DIhgITtWQ== - dependencies: - ms "^2.1.1" - -debug@^4.1.0, debug@^4.1.1: - version "4.1.1" - resolved "https://registry.yarnpkg.com/debug/-/debug-4.1.1.tgz#3b72260255109c6b589cee050f1d516139664791" - integrity sha512-pYAIzeRo8J6KPEaJ0VWOh5Pzkbw/RetuzehGM7QRRX5he4fPHx2rdKMB256ehJCkX+XRQm16eZLqLNS8RSZXZw== - dependencies: - ms "^2.1.1" - -decamelize@^1.2.0: - version "1.2.0" - resolved "https://registry.yarnpkg.com/decamelize/-/decamelize-1.2.0.tgz#f6534d15148269b20352e7bee26f501f9a191290" - integrity sha1-9lNNFRSCabIDUue+4m9QH5oZEpA= - -decode-uri-component@^0.2.0: - version "0.2.0" - resolved "https://registry.yarnpkg.com/decode-uri-component/-/decode-uri-component-0.2.0.tgz#eb3913333458775cb84cd1a1fae062106bb87545" - integrity sha1-6zkTMzRYd1y4TNGh+uBiEGu4dUU= - -deep-extend@^0.6.0: - version "0.6.0" - resolved "https://registry.yarnpkg.com/deep-extend/-/deep-extend-0.6.0.tgz#c4fa7c95404a17a9c3e8ca7e1537312b736330ac" - integrity sha512-LOHxIOaPYdHlJRtCQfDIVZtfw/ufM8+rVj649RIHzcm/vGwQRXFt6OPqIFWsm2XEMrNIEtWR64sY1LEKD2vAOA== - -default-require-extensions@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/default-require-extensions/-/default-require-extensions-2.0.0.tgz#f5f8fbb18a7d6d50b21f641f649ebb522cfe24f7" - integrity sha1-9fj7sYp9bVCyH2QfZJ67Uiz+JPc= - dependencies: - strip-bom "^3.0.0" - -define-property@^0.2.5: - version "0.2.5" - resolved "https://registry.yarnpkg.com/define-property/-/define-property-0.2.5.tgz#c35b1ef918ec3c990f9a5bc57be04aacec5c8116" - integrity sha1-w1se+RjsPJkPmlvFe+BKrOxcgRY= - dependencies: - is-descriptor "^0.1.0" - -define-property@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/define-property/-/define-property-1.0.0.tgz#769ebaaf3f4a63aad3af9e8d304c9bbe79bfb0e6" - integrity sha1-dp66rz9KY6rTr56NMEybvnm/sOY= - dependencies: - is-descriptor "^1.0.0" - -define-property@^2.0.2: - version "2.0.2" - resolved "https://registry.yarnpkg.com/define-property/-/define-property-2.0.2.tgz#d459689e8d654ba77e02a817f8710d702cb16e9d" - integrity sha512-jwK2UV4cnPpbcG7+VRARKTZPUWowwXA8bzH5NP6ud0oeAxyYPuGZUAC7hMugpCdz4BeSZl2Dl9k66CHJ/46ZYQ== - dependencies: - is-descriptor "^1.0.2" - isobject "^3.0.1" - -delayed-stream@~1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/delayed-stream/-/delayed-stream-1.0.0.tgz#df3ae199acadfb7d440aaae0b29e2272b24ec619" - integrity sha1-3zrhmayt+31ECqrgsp4icrJOxhk= - -delegates@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/delegates/-/delegates-1.0.0.tgz#84c6e159b81904fdca59a0ef44cd870d31250f9a" - integrity sha1-hMbhWbgZBP3KWaDvRM2HDTElD5o= - -des.js@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/des.js/-/des.js-1.0.0.tgz#c074d2e2aa6a8a9a07dbd61f9a15c2cd83ec8ecc" - integrity sha1-wHTS4qpqipoH29YfmhXCzYPsjsw= - dependencies: - inherits "^2.0.1" - minimalistic-assert "^1.0.0" - -detect-file@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/detect-file/-/detect-file-1.0.0.tgz#f0d66d03672a825cb1b73bdb3fe62310c8e552b7" - integrity sha1-8NZtA2cqglyxtzvbP+YjEMjlUrc= - -detect-libc@^1.0.2: - version "1.0.3" - resolved "https://registry.yarnpkg.com/detect-libc/-/detect-libc-1.0.3.tgz#fa137c4bd698edf55cd5cd02ac559f91a4c4ba9b" - integrity sha1-+hN8S9aY7fVc1c0CrFWfkaTEups= - -diff@^1.3.2: - version "1.4.0" - resolved "https://registry.yarnpkg.com/diff/-/diff-1.4.0.tgz#7f28d2eb9ee7b15a97efd89ce63dcfdaa3ccbabf" - integrity sha1-fyjS657nsVqX79ic5j3P2qPMur8= - -diff@^4.0.1: - version "4.0.1" - resolved "https://registry.yarnpkg.com/diff/-/diff-4.0.1.tgz#0c667cb467ebbb5cea7f14f135cc2dba7780a8ff" - integrity sha512-s2+XdvhPCOF01LRQBC8hf4vhbVmI2CGS5aZnxLJlT5FtdhPCDFq80q++zK2KlrVorVDdL5BOGZ/VfLrVtYNF+Q== - -diffie-hellman@^5.0.0: - version "5.0.3" - resolved "https://registry.yarnpkg.com/diffie-hellman/-/diffie-hellman-5.0.3.tgz#40e8ee98f55a2149607146921c63e1ae5f3d2875" - integrity sha512-kqag/Nl+f3GwyK25fhUMYj81BUOrZ9IuJsjIcDE5icNM9FJHAVm3VcUDxdLPoQtTuUylWm6ZIknYJwwaPxsUzg== - dependencies: - bn.js "^4.1.0" - miller-rabin "^4.0.0" - randombytes "^2.0.0" - -domain-browser@^1.1.1, domain-browser@^1.2.0: - version "1.2.0" - resolved "https://registry.yarnpkg.com/domain-browser/-/domain-browser-1.2.0.tgz#3d31f50191a6749dd1375a7f522e823d42e54eda" - integrity sha512-jnjyiM6eRyZl2H+W8Q/zLMA481hzi0eszAaBUzIVnmYVDBbnLxVNnfu1HgEBvCbL+71FrxMl3E6lpKH7Ge3OXA== - -duplexify@^3.4.2, duplexify@^3.6.0: - version "3.7.1" - resolved "https://registry.yarnpkg.com/duplexify/-/duplexify-3.7.1.tgz#2a4df5317f6ccfd91f86d6fd25d8d8a103b88309" - integrity sha512-07z8uv2wMyS51kKhD1KsdXJg5WQ6t93RneqRxUHnskXVtlYYkLqM0gqStQZ3pj073g687jPCHrqNfCzawLYh5g== - dependencies: - end-of-stream "^1.0.0" - inherits "^2.0.1" - readable-stream "^2.0.0" - stream-shift "^1.0.0" - -ecc-jsbn@~0.1.1: - version "0.1.2" - resolved "https://registry.yarnpkg.com/ecc-jsbn/-/ecc-jsbn-0.1.2.tgz#3a83a904e54353287874c564b7549386849a98c9" - integrity sha1-OoOpBOVDUyh4dMVkt1SThoSamMk= - dependencies: - jsbn "~0.1.0" - safer-buffer "^2.1.0" - -ejs@^2.5.2: - version "2.7.1" - resolved "https://registry.yarnpkg.com/ejs/-/ejs-2.7.1.tgz#5b5ab57f718b79d4aca9254457afecd36fa80228" - integrity sha512-kS/gEPzZs3Y1rRsbGX4UOSjtP/CeJP0CxSNZHYxGfVM/VgLcv0ZqM7C45YyTj2DI2g7+P9Dd24C+IMIg6D0nYQ== - -elliptic@^6.0.0: - version "6.5.1" - resolved "https://registry.yarnpkg.com/elliptic/-/elliptic-6.5.1.tgz#c380f5f909bf1b9b4428d028cd18d3b0efd6b52b" - integrity sha512-xvJINNLbTeWQjrl6X+7eQCrIy/YPv5XCpKW6kB5mKvtnGILoLDcySuwomfdzt0BMdLNVnuRNTuzKNHj0bva1Cg== - dependencies: - bn.js "^4.4.0" - brorand "^1.0.1" - hash.js "^1.0.0" - hmac-drbg "^1.0.0" - inherits "^2.0.1" - minimalistic-assert "^1.0.0" - minimalistic-crypto-utils "^1.0.0" - -emoji-regex@^7.0.1: - version "7.0.3" - resolved "https://registry.yarnpkg.com/emoji-regex/-/emoji-regex-7.0.3.tgz#933a04052860c85e83c122479c4748a8e4c72156" - integrity sha512-CwBLREIQ7LvYFB0WyRvwhq5N5qPhc6PMjD6bYggFlI5YyDgl+0vxq5VHbMOFqLg7hfWzmu8T5Z1QofhmTIhItA== - -emojis-list@^2.0.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/emojis-list/-/emojis-list-2.1.0.tgz#4daa4d9db00f9819880c79fa457ae5b09a1fd389" - integrity sha1-TapNnbAPmBmIDHn6RXrlsJof04k= - -end-of-stream@^1.0.0, end-of-stream@^1.1.0: - version "1.4.4" - resolved "https://registry.yarnpkg.com/end-of-stream/-/end-of-stream-1.4.4.tgz#5ae64a5f45057baf3626ec14da0ca5e4b2431eb0" - integrity sha512-+uw1inIHVPQoaVuHzRyXd21icM+cnt4CzD5rW+NC1wjOUSTOs+Te7FOv7AhN7vS9x/oIyhLP5PR1H+phQAHu5Q== - dependencies: - once "^1.4.0" - -enhanced-resolve@4.1.0: - version "4.1.0" - resolved "https://registry.yarnpkg.com/enhanced-resolve/-/enhanced-resolve-4.1.0.tgz#41c7e0bfdfe74ac1ffe1e57ad6a5c6c9f3742a7f" - integrity sha512-F/7vkyTtyc/llOIn8oWclcB25KdRaiPBpZYDgJHgh/UHtpgT2p2eldQgtQnLtUvfMKPKxbRaQM/hHkvLHt1Vng== - dependencies: - graceful-fs "^4.1.2" - memory-fs "^0.4.0" - tapable "^1.0.0" - -enhanced-resolve@^4.1.0: - version "4.1.1" - resolved "https://registry.yarnpkg.com/enhanced-resolve/-/enhanced-resolve-4.1.1.tgz#2937e2b8066cd0fe7ce0990a98f0d71a35189f66" - integrity sha512-98p2zE+rL7/g/DzMHMTF4zZlCgeVdJ7yr6xzEpJRYwFYrGi9ANdn5DnJURg6RpBkyk60XYDnWIv51VfIhfNGuA== - dependencies: - graceful-fs "^4.1.2" - memory-fs "^0.5.0" - tapable "^1.0.0" - -entities@~1.1.1: - version "1.1.2" - resolved "https://registry.yarnpkg.com/entities/-/entities-1.1.2.tgz#bdfa735299664dfafd34529ed4f8522a275fea56" - integrity sha512-f2LZMYl1Fzu7YSBKg+RoROelpOaNrcGmE9AZubeDfrCEia483oW4MI4VyFd5VNHIgQ/7qm1I0wUHK1eJnn2y2w== - -errno@^0.1.3, errno@~0.1.7: - version "0.1.7" - resolved "https://registry.yarnpkg.com/errno/-/errno-0.1.7.tgz#4684d71779ad39af177e3f007996f7c67c852618" - integrity sha512-MfrRBDWzIWifgq6tJj60gkAwtLNb6sQPlcFrSOflcP1aFmmruKQ2wRnze/8V6kgyz7H3FF8Npzv78mZ7XLLflg== - dependencies: - prr "~1.0.1" - -error-ex@^1.3.1: - version "1.3.2" - resolved "https://registry.yarnpkg.com/error-ex/-/error-ex-1.3.2.tgz#b4ac40648107fdcdcfae242f428bea8a14d4f1bf" - integrity sha512-7dFHNmqeFSEt2ZBsCriorKnn3Z2pj+fd9kmI6QoWw4//DL+icEBfc0U7qJCisqrTsKTjw4fNFy2pW9OqStD84g== - dependencies: - is-arrayish "^0.2.1" - -es6-error@^4.0.1: - version "4.1.1" - resolved "https://registry.yarnpkg.com/es6-error/-/es6-error-4.1.1.tgz#9e3af407459deed47e9a91f9b885a84eb05c561d" - integrity sha512-Um/+FxMr9CISWh0bi5Zv0iOD+4cFh5qLeks1qhAopKVAJw3drgKbKySikp7wGhDL0HPeaja0P5ULZrxLkniUVg== - -escape-string-regexp@^1.0.3, escape-string-regexp@^1.0.5: - version "1.0.5" - resolved "https://registry.yarnpkg.com/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz#1b61c0562190a8dff6ae3bb2cf0200ca130b86d4" - integrity sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ= - -escape-string-regexp@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/escape-string-regexp/-/escape-string-regexp-2.0.0.tgz#a30304e99daa32e23b2fd20f51babd07cffca344" - integrity sha512-UpzcLCXolUWcNu5HtVMHYdXJjArjsF9C0aNnquZYY4uW/Vu0miy5YoWvbV345HauVvcAUnpRuhMMcqTcGOY2+w== - -eslint-scope@^4.0.3: - version "4.0.3" - resolved "https://registry.yarnpkg.com/eslint-scope/-/eslint-scope-4.0.3.tgz#ca03833310f6889a3264781aa82e63eb9cfe7848" - integrity sha512-p7VutNr1O/QrxysMo3E45FjYDTeXBy0iTltPFNSqKAIfjDSXC+4dj+qfyuD8bfAXrW/y6lW3O76VaYNPKfpKrg== - dependencies: - esrecurse "^4.1.0" - estraverse "^4.1.1" - -esm@^3.2.5: - version "3.2.25" - resolved "https://registry.yarnpkg.com/esm/-/esm-3.2.25.tgz#342c18c29d56157688ba5ce31f8431fbb795cc10" - integrity sha512-U1suiZ2oDVWv4zPO56S0NcR5QriEahGtdN2OR6FiOG4WJvcjBVFB0qI4+eKoWFH483PKGuLuu6V8Z4T5g63UVA== - -esprima@^4.0.0: - version "4.0.1" - resolved "https://registry.yarnpkg.com/esprima/-/esprima-4.0.1.tgz#13b04cdb3e6c5d19df91ab6987a8695619b0aa71" - integrity sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A== - -esrecurse@^4.1.0: - version "4.2.1" - resolved "https://registry.yarnpkg.com/esrecurse/-/esrecurse-4.2.1.tgz#007a3b9fdbc2b3bb87e4879ea19c92fdbd3942cf" - integrity sha512-64RBB++fIOAXPw3P9cy89qfMlvZEXZkqqJkjqqXIvzP5ezRZjW+lPWjw35UX/3EhUPFYbg5ER4JYgDw4007/DQ== - dependencies: - estraverse "^4.1.0" - -estraverse@^4.1.0, estraverse@^4.1.1: - version "4.3.0" - resolved "https://registry.yarnpkg.com/estraverse/-/estraverse-4.3.0.tgz#398ad3f3c5a24948be7725e83d11a7de28cdbd1d" - integrity sha512-39nnKffWz8xN1BU/2c79n9nB9HDzo0niYUqx6xyqUnyoAnQyyWpOTdZEeiCch8BBu515t4wp9ZmgVfVhn9EBpw== - -esutils@^2.0.2: - version "2.0.3" - resolved "https://registry.yarnpkg.com/esutils/-/esutils-2.0.3.tgz#74d2eb4de0b8da1293711910d50775b9b710ef64" - integrity sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g== - -events-to-array@^1.0.1: - version "1.1.2" - resolved "https://registry.yarnpkg.com/events-to-array/-/events-to-array-1.1.2.tgz#2d41f563e1fe400ed4962fe1a4d5c6a7539df7f6" - integrity sha1-LUH1Y+H+QA7Uli/hpNXGp1Od9/Y= - -events@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/events/-/events-3.0.0.tgz#9a0a0dfaf62893d92b875b8f2698ca4114973e88" - integrity sha512-Dc381HFWJzEOhQ+d8pkNon++bk9h6cdAoAj4iE6Q4y6xgTzySWXlKn05/TVNpjnfRqi/X0EpJEJohPjNI3zpVA== - -evp_bytestokey@^1.0.0, evp_bytestokey@^1.0.3: - version "1.0.3" - resolved "https://registry.yarnpkg.com/evp_bytestokey/-/evp_bytestokey-1.0.3.tgz#7fcbdb198dc71959432efe13842684e0525acb02" - integrity sha512-/f2Go4TognH/KvCISP7OUsHn85hT9nUkxxA9BEWxFn+Oj9o8ZNLm/40hdlgSLyuOimsrTKLUMEorQexp/aPQeA== - dependencies: - md5.js "^1.3.4" - safe-buffer "^5.1.1" - -execa@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/execa/-/execa-1.0.0.tgz#c6236a5bb4df6d6f15e88e7f017798216749ddd8" - integrity sha512-adbxcyWV46qiHyvSp50TKt05tB4tK3HcmF7/nxfAdhnox83seTDbwnaqKO4sXRy7roHAIFqJP/Rw/AuEbX61LA== - dependencies: - cross-spawn "^6.0.0" - get-stream "^4.0.0" - is-stream "^1.1.0" - npm-run-path "^2.0.0" - p-finally "^1.0.0" - signal-exit "^3.0.0" - strip-eof "^1.0.0" - -expand-brackets@^2.1.4: - version "2.1.4" - resolved "https://registry.yarnpkg.com/expand-brackets/-/expand-brackets-2.1.4.tgz#b77735e315ce30f6b6eff0f83b04151a22449622" - integrity sha1-t3c14xXOMPa27/D4OwQVGiJEliI= - dependencies: - debug "^2.3.3" - define-property "^0.2.5" - extend-shallow "^2.0.1" - posix-character-classes "^0.1.0" - regex-not "^1.0.0" - snapdragon "^0.8.1" - to-regex "^3.0.1" - -expand-tilde@^2.0.0, expand-tilde@^2.0.2: - version "2.0.2" - resolved "https://registry.yarnpkg.com/expand-tilde/-/expand-tilde-2.0.2.tgz#97e801aa052df02454de46b02bf621642cdc8502" - integrity sha1-l+gBqgUt8CRU3kawK/YhZCzchQI= - dependencies: - homedir-polyfill "^1.0.1" - -extend-shallow@^2.0.1: - version "2.0.1" - resolved "https://registry.yarnpkg.com/extend-shallow/-/extend-shallow-2.0.1.tgz#51af7d614ad9a9f610ea1bafbb989d6b1c56890f" - integrity sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8= - dependencies: - is-extendable "^0.1.0" - -extend-shallow@^3.0.0, extend-shallow@^3.0.2: - version "3.0.2" - resolved "https://registry.yarnpkg.com/extend-shallow/-/extend-shallow-3.0.2.tgz#26a71aaf073b39fb2127172746131c2704028db8" - integrity sha1-Jqcarwc7OfshJxcnRhMcJwQCjbg= - dependencies: - assign-symbols "^1.0.0" - is-extendable "^1.0.1" - -extend@~3.0.2: - version "3.0.2" - resolved "https://registry.yarnpkg.com/extend/-/extend-3.0.2.tgz#f8b1136b4071fbd8eb140aff858b1019ec2915fa" - integrity sha512-fjquC59cD7CyW6urNXK0FBufkZcoiGG80wTuPujX590cB5Ttln20E2UB4S/WARVqhXffZl2LNgS+gQdPIIim/g== - -extglob@^2.0.4: - version "2.0.4" - resolved "https://registry.yarnpkg.com/extglob/-/extglob-2.0.4.tgz#ad00fe4dc612a9232e8718711dc5cb5ab0285543" - integrity sha512-Nmb6QXkELsuBr24CJSkilo6UHHgbekK5UiZgfE6UHD3Eb27YC6oD+bhcT+tJ6cl8dmsgdQxnWlcry8ksBIBLpw== - dependencies: - array-unique "^0.3.2" - define-property "^1.0.0" - expand-brackets "^2.1.4" - extend-shallow "^2.0.1" - fragment-cache "^0.2.1" - regex-not "^1.0.0" - snapdragon "^0.8.1" - to-regex "^3.0.1" - -extsprintf@1.3.0: - version "1.3.0" - resolved "https://registry.yarnpkg.com/extsprintf/-/extsprintf-1.3.0.tgz#96918440e3041a7a414f8c52e3c574eb3c3e1e05" - integrity sha1-lpGEQOMEGnpBT4xS48V06zw+HgU= - -extsprintf@^1.2.0: - version "1.4.0" - resolved "https://registry.yarnpkg.com/extsprintf/-/extsprintf-1.4.0.tgz#e2689f8f356fad62cca65a3a91c5df5f9551692f" - integrity sha1-4mifjzVvrWLMplo6kcXfX5VRaS8= - -fast-deep-equal@^2.0.1: - version "2.0.1" - resolved "https://registry.yarnpkg.com/fast-deep-equal/-/fast-deep-equal-2.0.1.tgz#7b05218ddf9667bf7f370bf7fdb2cb15fdd0aa49" - integrity sha1-ewUhjd+WZ79/Nwv3/bLLFf3Qqkk= - -fast-json-stable-stringify@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/fast-json-stable-stringify/-/fast-json-stable-stringify-2.0.0.tgz#d5142c0caee6b1189f87d3a76111064f86c8bbf2" - integrity sha1-1RQsDK7msRifh9OnYREGT4bIu/I= - -figgy-pudding@^3.5.1: - version "3.5.1" - resolved "https://registry.yarnpkg.com/figgy-pudding/-/figgy-pudding-3.5.1.tgz#862470112901c727a0e495a80744bd5baa1d6790" - integrity sha512-vNKxJHTEKNThjfrdJwHc7brvM6eVevuO5nTj6ez8ZQ1qbXTvGthucRF7S4vf2cr71QVnT70V34v0S1DyQsti0w== - -fill-range@^4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/fill-range/-/fill-range-4.0.0.tgz#d544811d428f98eb06a63dc402d2403c328c38f7" - integrity sha1-1USBHUKPmOsGpj3EAtJAPDKMOPc= - dependencies: - extend-shallow "^2.0.1" - is-number "^3.0.0" - repeat-string "^1.6.1" - to-regex-range "^2.1.0" - -find-cache-dir@^2.1.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/find-cache-dir/-/find-cache-dir-2.1.0.tgz#8d0f94cd13fe43c6c7c261a0d86115ca918c05f7" - integrity sha512-Tq6PixE0w/VMFfCgbONnkiQIVol/JJL7nRMi20fqzA4NRs9AfeqMGeRdPi3wIhYkxjeBaWh2rxwapn5Tu3IqOQ== - dependencies: - commondir "^1.0.1" - make-dir "^2.0.0" - pkg-dir "^3.0.0" - -find-up@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/find-up/-/find-up-3.0.0.tgz#49169f1d7993430646da61ecc5ae355c21c97b73" - integrity sha512-1yD6RmLI1XBfxugvORwlck6f75tYL+iR0jqwsOrOxMZyGYqUuDhJ0l4AXdO1iX/FTs9cBAMEk1gWSEx1kSbylg== - dependencies: - locate-path "^3.0.0" - -findup-sync@3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/findup-sync/-/findup-sync-3.0.0.tgz#17b108f9ee512dfb7a5c7f3c8b27ea9e1a9c08d1" - integrity sha512-YbffarhcicEhOrm4CtrwdKBdCuz576RLdhJDsIfvNtxUuhdRet1qZcsMjqbePtAseKdAnDyM/IyXbu7PRPRLYg== - dependencies: - detect-file "^1.0.0" - is-glob "^4.0.0" - micromatch "^3.0.4" - resolve-dir "^1.0.1" - -flush-write-stream@^1.0.0: - version "1.1.1" - resolved "https://registry.yarnpkg.com/flush-write-stream/-/flush-write-stream-1.1.1.tgz#8dd7d873a1babc207d94ead0c2e0e44276ebf2e8" - integrity sha512-3Z4XhFZ3992uIq0XOqb9AreonueSYphE6oYbpt5+3u06JWklbsPkNv3ZKkP9Bz/r+1MWCaMoSQ28P85+1Yc77w== - dependencies: - inherits "^2.0.3" - readable-stream "^2.3.6" - -for-in@^1.0.2: - version "1.0.2" - resolved "https://registry.yarnpkg.com/for-in/-/for-in-1.0.2.tgz#81068d295a8142ec0ac726c6e2200c30fb6d5e80" - integrity sha1-gQaNKVqBQuwKxybG4iAMMPttXoA= - -foreground-child@^1.3.3, foreground-child@^1.5.6: - version "1.5.6" - resolved "https://registry.yarnpkg.com/foreground-child/-/foreground-child-1.5.6.tgz#4fd71ad2dfde96789b980a5c0a295937cb2f5ce9" - integrity sha1-T9ca0t/elnibmApcCilZN8svXOk= - dependencies: - cross-spawn "^4" - signal-exit "^3.0.0" - -forever-agent@~0.6.1: - version "0.6.1" - resolved "https://registry.yarnpkg.com/forever-agent/-/forever-agent-0.6.1.tgz#fbc71f0c41adeb37f96c577ad1ed42d8fdacca91" - integrity sha1-+8cfDEGt6zf5bFd60e1C2P2sypE= - -form-data@~2.3.2: - version "2.3.3" - resolved "https://registry.yarnpkg.com/form-data/-/form-data-2.3.3.tgz#dcce52c05f644f298c6a7ab936bd724ceffbf3a6" - integrity sha512-1lLKB2Mu3aGP1Q/2eCOx0fNbRMe7XdwktwOruhfqqd0rIJWwN4Dh+E3hrPSlDCXnSR7UtZ1N38rVXm+6+MEhJQ== - dependencies: - asynckit "^0.4.0" - combined-stream "^1.0.6" - mime-types "^2.1.12" - -fragment-cache@^0.2.1: - version "0.2.1" - resolved "https://registry.yarnpkg.com/fragment-cache/-/fragment-cache-0.2.1.tgz#4290fad27f13e89be7f33799c6bc5a0abfff0d19" - integrity sha1-QpD60n8T6Jvn8zeZxrxaCr//DRk= - dependencies: - map-cache "^0.2.2" - -from2@^2.1.0: - version "2.3.0" - resolved "https://registry.yarnpkg.com/from2/-/from2-2.3.0.tgz#8bfb5502bde4a4d36cfdeea007fcca21d7e382af" - integrity sha1-i/tVAr3kpNNs/e6gB/zKIdfjgq8= - dependencies: - inherits "^2.0.1" - readable-stream "^2.0.0" - -fs-exists-cached@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/fs-exists-cached/-/fs-exists-cached-1.0.0.tgz#cf25554ca050dc49ae6656b41de42258989dcbce" - integrity sha1-zyVVTKBQ3EmuZla0HeQiWJidy84= - -fs-minipass@^1.2.5: - version "1.2.7" - resolved "https://registry.yarnpkg.com/fs-minipass/-/fs-minipass-1.2.7.tgz#ccff8570841e7fe4265693da88936c55aed7f7c7" - integrity sha512-GWSSJGFy4e9GUeCcbIkED+bgAoFyj7XF1mV8rma3QW4NIqX9Kyx79N/PF61H5udOV3aY1IaMLs6pGbH71nlCTA== - dependencies: - minipass "^2.6.0" - -fs-write-stream-atomic@^1.0.8: - version "1.0.10" - resolved "https://registry.yarnpkg.com/fs-write-stream-atomic/-/fs-write-stream-atomic-1.0.10.tgz#b47df53493ef911df75731e70a9ded0189db40c9" - integrity sha1-tH31NJPvkR33VzHnCp3tAYnbQMk= - dependencies: - graceful-fs "^4.1.2" - iferr "^0.1.5" - imurmurhash "^0.1.4" - readable-stream "1 || 2" - -fs.realpath@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/fs.realpath/-/fs.realpath-1.0.0.tgz#1504ad2523158caa40db4a2787cb01411994ea4f" - integrity sha1-FQStJSMVjKpA20onh8sBQRmU6k8= - -fsevents@^1.2.7: - version "1.2.9" - resolved "https://registry.yarnpkg.com/fsevents/-/fsevents-1.2.9.tgz#3f5ed66583ccd6f400b5a00db6f7e861363e388f" - integrity sha512-oeyj2H3EjjonWcFjD5NvZNE9Rqe4UW+nQBU2HNeKw0koVLEFIhtyETyAakeAM3de7Z/SW5kcA+fZUait9EApnw== - dependencies: - nan "^2.12.1" - node-pre-gyp "^0.12.0" - -function-loop@^1.0.1: - version "1.0.2" - resolved "https://registry.yarnpkg.com/function-loop/-/function-loop-1.0.2.tgz#16b93dd757845eacfeca1a8061a6a65c106e0cb2" - integrity sha512-Iw4MzMfS3udk/rqxTiDDCllhGwlOrsr50zViTOO/W6lS/9y6B1J0BD2VZzrnWUYBJsl3aeqjgR5v7bWWhZSYbA== - -gauge@~2.7.3: - version "2.7.4" - resolved "https://registry.yarnpkg.com/gauge/-/gauge-2.7.4.tgz#2c03405c7538c39d7eb37b317022e325fb018bf7" - integrity sha1-LANAXHU4w51+s3sxcCLjJfsBi/c= - dependencies: - aproba "^1.0.3" - console-control-strings "^1.0.0" - has-unicode "^2.0.0" - object-assign "^4.1.0" - signal-exit "^3.0.0" - string-width "^1.0.1" - strip-ansi "^3.0.1" - wide-align "^1.1.0" - -get-caller-file@^2.0.1: - version "2.0.5" - resolved "https://registry.yarnpkg.com/get-caller-file/-/get-caller-file-2.0.5.tgz#4f94412a82db32f36e3b0b9741f8a97feb031f7e" - integrity sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg== - -get-stream@^4.0.0: - version "4.1.0" - resolved "https://registry.yarnpkg.com/get-stream/-/get-stream-4.1.0.tgz#c1b255575f3dc21d59bfc79cd3d2b46b1c3a54b5" - integrity sha512-GMat4EJ5161kIy2HevLlr4luNjBgvmj413KaQA7jt4V8B4RDsfpHk7WQ9GVqfYyyx8OS/L66Kox+rJRNklLK7w== - dependencies: - pump "^3.0.0" - -get-value@^2.0.3, get-value@^2.0.6: - version "2.0.6" - resolved "https://registry.yarnpkg.com/get-value/-/get-value-2.0.6.tgz#dc15ca1c672387ca76bd37ac0a395ba2042a2c28" - integrity sha1-3BXKHGcjh8p2vTesCjlbogQqLCg= - -getpass@^0.1.1: - version "0.1.7" - resolved "https://registry.yarnpkg.com/getpass/-/getpass-0.1.7.tgz#5eff8e3e684d569ae4cb2b1282604e8ba62149fa" - integrity sha1-Xv+OPmhNVprkyysSgmBOi6YhSfo= - dependencies: - assert-plus "^1.0.0" - -glob-parent@^3.1.0: - version "3.1.0" - resolved "https://registry.yarnpkg.com/glob-parent/-/glob-parent-3.1.0.tgz#9e6af6299d8d3bd2bd40430832bd113df906c5ae" - integrity sha1-nmr2KZ2NO9K9QEMIMr0RPfkGxa4= - dependencies: - is-glob "^3.1.0" - path-dirname "^1.0.0" - -glob@^7.0.5, glob@^7.1.3, glob@^7.1.4: - version "7.1.5" - resolved "https://registry.yarnpkg.com/glob/-/glob-7.1.5.tgz#6714c69bee20f3c3e64c4dd905553e532b40cdc0" - integrity sha512-J9dlskqUXK1OeTOYBEn5s8aMukWMwWfs+rPTn/jn50Ux4MNXVhubL1wu/j2t+H4NVI+cXEcCaYellqaPVGXNqQ== - dependencies: - fs.realpath "^1.0.0" - inflight "^1.0.4" - inherits "2" - minimatch "^3.0.4" - once "^1.3.0" - path-is-absolute "^1.0.0" - -global-modules@2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/global-modules/-/global-modules-2.0.0.tgz#997605ad2345f27f51539bea26574421215c7780" - integrity sha512-NGbfmJBp9x8IxyJSd1P+otYK8vonoJactOogrVfFRIAEY1ukil8RSKDz2Yo7wh1oihl51l/r6W4epkeKJHqL8A== - dependencies: - global-prefix "^3.0.0" - -global-modules@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/global-modules/-/global-modules-1.0.0.tgz#6d770f0eb523ac78164d72b5e71a8877265cc3ea" - integrity sha512-sKzpEkf11GpOFuw0Zzjzmt4B4UZwjOcG757PPvrfhxcLFbq0wpsgpOqxpxtxFiCG4DtG93M6XRVbF2oGdev7bg== - dependencies: - global-prefix "^1.0.1" - is-windows "^1.0.1" - resolve-dir "^1.0.0" - -global-prefix@^1.0.1: - version "1.0.2" - resolved "https://registry.yarnpkg.com/global-prefix/-/global-prefix-1.0.2.tgz#dbf743c6c14992593c655568cb66ed32c0122ebe" - integrity sha1-2/dDxsFJklk8ZVVoy2btMsASLr4= - dependencies: - expand-tilde "^2.0.2" - homedir-polyfill "^1.0.1" - ini "^1.3.4" - is-windows "^1.0.1" - which "^1.2.14" - -global-prefix@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/global-prefix/-/global-prefix-3.0.0.tgz#fc85f73064df69f50421f47f883fe5b913ba9b97" - integrity sha512-awConJSVCHVGND6x3tmMaKcQvwXLhjdkmomy2W+Goaui8YPgYgXJZewhg3fWC+DlfqqQuWg8AwqjGTD2nAPVWg== - dependencies: - ini "^1.3.5" - kind-of "^6.0.2" - which "^1.3.1" - -globals@^11.1.0: - version "11.12.0" - resolved "https://registry.yarnpkg.com/globals/-/globals-11.12.0.tgz#ab8795338868a0babd8525758018c2a7eb95c42e" - integrity sha512-WOBp/EEGUiIsJSp7wcv/y6MO+lV9UoncWqxuFfm8eBwzWNgyfBd6Gz+IeKQ9jCmyhoH99g15M3T+QaVHFjizVA== - -graceful-fs@^4.1.11, graceful-fs@^4.1.15, graceful-fs@^4.1.2, graceful-fs@^4.1.9: - version "4.2.3" - resolved "https://registry.yarnpkg.com/graceful-fs/-/graceful-fs-4.2.3.tgz#4a12ff1b60376ef09862c2093edd908328be8423" - integrity sha512-a30VEBm4PEdx1dRB7MFK7BejejvCvBronbLjht+sHuGYj8PHs7M/5Z+rt5lw551vZ7yfTCj4Vuyy3mSJytDWRQ== - -"growl@~> 1.10.0": - version "1.10.5" - resolved "https://registry.yarnpkg.com/growl/-/growl-1.10.5.tgz#f2735dc2283674fa67478b10181059355c369e5e" - integrity sha512-qBr4OuELkhPenW6goKVXiv47US3clb3/IbuWF9KNKEijAy9oeHxU9IgzjvJhHkUzhaj7rOUD7+YGWqUjLp5oSA== - -handlebars@^4.1.2: - version "4.5.1" - resolved "https://registry.yarnpkg.com/handlebars/-/handlebars-4.5.1.tgz#8a01c382c180272260d07f2d1aa3ae745715c7ba" - integrity sha512-C29UoFzHe9yM61lOsIlCE5/mQVGrnIOrOq7maQl76L7tYPCgC1og0Ajt6uWnX4ZTxBPnjw+CUvawphwCfJgUnA== - dependencies: - neo-async "^2.6.0" - optimist "^0.6.1" - source-map "^0.6.1" - optionalDependencies: - uglify-js "^3.1.4" - -har-schema@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/har-schema/-/har-schema-2.0.0.tgz#a94c2224ebcac04782a0d9035521f24735b7ec92" - integrity sha1-qUwiJOvKwEeCoNkDVSHyRzW37JI= - -har-validator@~5.1.0: - version "5.1.3" - resolved "https://registry.yarnpkg.com/har-validator/-/har-validator-5.1.3.tgz#1ef89ebd3e4996557675eed9893110dc350fa080" - integrity sha512-sNvOCzEQNr/qrvJgc3UG/kD4QtlHycrzwS+6mfTrrSq97BvaYcPZZI1ZSqGSPR73Cxn4LKTD4PttRwfU7jWq5g== - dependencies: - ajv "^6.5.5" - har-schema "^2.0.0" - -has-flag@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/has-flag/-/has-flag-3.0.0.tgz#b5d454dc2199ae225699f3467e5a07f3b955bafd" - integrity sha1-tdRU3CGZriJWmfNGfloH87lVuv0= - -has-unicode@^2.0.0: - version "2.0.1" - resolved "https://registry.yarnpkg.com/has-unicode/-/has-unicode-2.0.1.tgz#e0e6fe6a28cf51138855e086d1691e771de2a8b9" - integrity sha1-4Ob+aijPUROIVeCG0Wkedx3iqLk= - -has-value@^0.3.1: - version "0.3.1" - resolved "https://registry.yarnpkg.com/has-value/-/has-value-0.3.1.tgz#7b1f58bada62ca827ec0a2078025654845995e1f" - integrity sha1-ex9YutpiyoJ+wKIHgCVlSEWZXh8= - dependencies: - get-value "^2.0.3" - has-values "^0.1.4" - isobject "^2.0.0" - -has-value@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/has-value/-/has-value-1.0.0.tgz#18b281da585b1c5c51def24c930ed29a0be6b177" - integrity sha1-GLKB2lhbHFxR3vJMkw7SmgvmsXc= - dependencies: - get-value "^2.0.6" - has-values "^1.0.0" - isobject "^3.0.0" - -has-values@^0.1.4: - version "0.1.4" - resolved "https://registry.yarnpkg.com/has-values/-/has-values-0.1.4.tgz#6d61de95d91dfca9b9a02089ad384bff8f62b771" - integrity sha1-bWHeldkd/Km5oCCJrThL/49it3E= - -has-values@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/has-values/-/has-values-1.0.0.tgz#95b0b63fec2146619a6fe57fe75628d5a39efe4f" - integrity sha1-lbC2P+whRmGab+V/51Yo1aOe/k8= - dependencies: - is-number "^3.0.0" - kind-of "^4.0.0" - -hash-base@^3.0.0: - version "3.0.4" - resolved "https://registry.yarnpkg.com/hash-base/-/hash-base-3.0.4.tgz#5fc8686847ecd73499403319a6b0a3f3f6ae4918" - integrity sha1-X8hoaEfs1zSZQDMZprCj8/auSRg= - dependencies: - inherits "^2.0.1" - safe-buffer "^5.0.1" - -hash.js@^1.0.0, hash.js@^1.0.3: - version "1.1.7" - resolved "https://registry.yarnpkg.com/hash.js/-/hash.js-1.1.7.tgz#0babca538e8d4ee4a0f8988d68866537a003cf42" - integrity sha512-taOaskGt4z4SOANNseOviYDvjEJinIkRgmp7LbKP2YTTmVxWBl87s/uzK9r+44BclBSp2X7K1hqeNfz9JbBeXA== - dependencies: - inherits "^2.0.3" - minimalistic-assert "^1.0.1" - -hasha@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/hasha/-/hasha-3.0.0.tgz#52a32fab8569d41ca69a61ff1a214f8eb7c8bd39" - integrity sha1-UqMvq4Vp1BymmmH/GiFPjrfIvTk= - dependencies: - is-stream "^1.0.1" - -hmac-drbg@^1.0.0: - version "1.0.1" - resolved "https://registry.yarnpkg.com/hmac-drbg/-/hmac-drbg-1.0.1.tgz#d2745701025a6c775a6c545793ed502fc0c649a1" - integrity sha1-0nRXAQJabHdabFRXk+1QL8DGSaE= - dependencies: - hash.js "^1.0.3" - minimalistic-assert "^1.0.0" - minimalistic-crypto-utils "^1.0.1" - -homedir-polyfill@^1.0.1: - version "1.0.3" - resolved "https://registry.yarnpkg.com/homedir-polyfill/-/homedir-polyfill-1.0.3.tgz#743298cef4e5af3e194161fbadcc2151d3a058e8" - integrity sha512-eSmmWE5bZTK2Nou4g0AI3zZ9rswp7GRKoKXS1BLUkvPviOqs4YTN1djQIqrXy9k5gEtdLPy86JjRwsNM9tnDcA== - dependencies: - parse-passwd "^1.0.0" - -hosted-git-info@^2.1.4: - version "2.8.5" - resolved "https://registry.yarnpkg.com/hosted-git-info/-/hosted-git-info-2.8.5.tgz#759cfcf2c4d156ade59b0b2dfabddc42a6b9c70c" - integrity sha512-kssjab8CvdXfcXMXVcvsXum4Hwdq9XGtRD3TteMEvEbq0LXyiNQr6AprqKqfeaDXze7SxWvRxdpwE6ku7ikLkg== - -http-signature@~1.2.0: - version "1.2.0" - resolved "https://registry.yarnpkg.com/http-signature/-/http-signature-1.2.0.tgz#9aecd925114772f3d95b65a60abb8f7c18fbace1" - integrity sha1-muzZJRFHcvPZW2WmCruPfBj7rOE= - dependencies: - assert-plus "^1.0.0" - jsprim "^1.2.2" - sshpk "^1.7.0" - -https-browserify@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/https-browserify/-/https-browserify-1.0.0.tgz#ec06c10e0a34c0f2faf199f7fd7fc78fffd03c73" - integrity sha1-7AbBDgo0wPL68Zn3/X/Hj//QPHM= - -iconv-lite@^0.4.4: - version "0.4.24" - resolved "https://registry.yarnpkg.com/iconv-lite/-/iconv-lite-0.4.24.tgz#2022b4b25fbddc21d2f524974a474aafe733908b" - integrity sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA== - dependencies: - safer-buffer ">= 2.1.2 < 3" - -ieee754@^1.1.4: - version "1.1.13" - resolved "https://registry.yarnpkg.com/ieee754/-/ieee754-1.1.13.tgz#ec168558e95aa181fd87d37f55c32bbcb6708b84" - integrity sha512-4vf7I2LYV/HaWerSo3XmlMkp5eZ83i+/CDluXi/IGTs/O1sejBNhTtnxzmRZfvOUqj7lZjqHkeTvpgSFDlWZTg== - -iferr@^0.1.5: - version "0.1.5" - resolved "https://registry.yarnpkg.com/iferr/-/iferr-0.1.5.tgz#c60eed69e6d8fdb6b3104a1fcbca1c192dc5b501" - integrity sha1-xg7taebY/bazEEofy8ocGS3FtQE= - -ignore-walk@^3.0.1: - version "3.0.3" - resolved "https://registry.yarnpkg.com/ignore-walk/-/ignore-walk-3.0.3.tgz#017e2447184bfeade7c238e4aefdd1e8f95b1e37" - integrity sha512-m7o6xuOaT1aqheYHKf8W6J5pYH85ZI9w077erOzLje3JsB1gkafkAhHHY19dqjulgIZHFm32Cp5uNZgcQqdJKw== - dependencies: - minimatch "^3.0.4" - -import-local@2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/import-local/-/import-local-2.0.0.tgz#55070be38a5993cf18ef6db7e961f5bee5c5a09d" - integrity sha512-b6s04m3O+s3CGSbqDIyP4R6aAwAeYlVq9+WUWep6iHa8ETRf9yei1U48C5MmfJmV9AiLYYBKPMq/W+/WRpQmCQ== - dependencies: - pkg-dir "^3.0.0" - resolve-cwd "^2.0.0" - -imurmurhash@^0.1.4: - version "0.1.4" - resolved "https://registry.yarnpkg.com/imurmurhash/-/imurmurhash-0.1.4.tgz#9218b9b2b928a238b13dc4fb6b6d576f231453ea" - integrity sha1-khi5srkoojixPcT7a21XbyMUU+o= - -infer-owner@^1.0.3: - version "1.0.4" - resolved "https://registry.yarnpkg.com/infer-owner/-/infer-owner-1.0.4.tgz#c4cefcaa8e51051c2a40ba2ce8a3d27295af9467" - integrity sha512-IClj+Xz94+d7irH5qRyfJonOdfTzuDaifE6ZPWfx0N0+/ATZCbuTPq2prFl526urkQd90WyUKIh1DfBQ2hMz9A== - -inflight@^1.0.4: - version "1.0.6" - resolved "https://registry.yarnpkg.com/inflight/-/inflight-1.0.6.tgz#49bd6331d7d02d0c09bc910a1075ba8165b56df9" - integrity sha1-Sb1jMdfQLQwJvJEKEHW6gWW1bfk= - dependencies: - once "^1.3.0" - wrappy "1" - -inherits@2, inherits@^2.0.1, inherits@^2.0.3, inherits@~2.0.1, inherits@~2.0.3: - version "2.0.4" - resolved "https://registry.yarnpkg.com/inherits/-/inherits-2.0.4.tgz#0fa2c64f932917c3433a0ded55363aae37416b7c" - integrity sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ== - -inherits@2.0.1: - version "2.0.1" - resolved "https://registry.yarnpkg.com/inherits/-/inherits-2.0.1.tgz#b17d08d326b4423e568eff719f91b0b1cbdf69f1" - integrity sha1-sX0I0ya0Qj5Wjv9xn5GwscvfafE= - -inherits@2.0.3: - version "2.0.3" - resolved "https://registry.yarnpkg.com/inherits/-/inherits-2.0.3.tgz#633c2c83e3da42a502f52466022480f4208261de" - integrity sha1-Yzwsg+PaQqUC9SRmAiSA9CCCYd4= - -ini@^1.3.4, ini@^1.3.5, ini@~1.3.0: - version "1.3.5" - resolved "https://registry.yarnpkg.com/ini/-/ini-1.3.5.tgz#eee25f56db1c9ec6085e0c22778083f596abf927" - integrity sha512-RZY5huIKCMRWDUqZlEi72f/lmXKMvuszcMBduliQ3nnWbx9X/ZBQO7DijMEYS9EhHBb2qacRUMtC7svLwe0lcw== - -interpret@1.2.0: - version "1.2.0" - resolved "https://registry.yarnpkg.com/interpret/-/interpret-1.2.0.tgz#d5061a6224be58e8083985f5014d844359576296" - integrity sha512-mT34yGKMNceBQUoVn7iCDKDntA7SC6gycMAWzGx1z/CMCTV7b2AAtXlo3nRyHZ1FelRkQbQjprHSYGwzLtkVbw== - -invert-kv@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/invert-kv/-/invert-kv-2.0.0.tgz#7393f5afa59ec9ff5f67a27620d11c226e3eec02" - integrity sha512-wPVv/y/QQ/Uiirj/vh3oP+1Ww+AWehmi1g5fFWGPF6IpCBCDVrhgHRMvrLfdYcwDh3QJbGXDW4JAuzxElLSqKA== - -is-accessor-descriptor@^0.1.6: - version "0.1.6" - resolved "https://registry.yarnpkg.com/is-accessor-descriptor/-/is-accessor-descriptor-0.1.6.tgz#a9e12cb3ae8d876727eeef3843f8a0897b5c98d6" - integrity sha1-qeEss66Nh2cn7u84Q/igiXtcmNY= - dependencies: - kind-of "^3.0.2" - -is-accessor-descriptor@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/is-accessor-descriptor/-/is-accessor-descriptor-1.0.0.tgz#169c2f6d3df1f992618072365c9b0ea1f6878656" - integrity sha512-m5hnHTkcVsPfqx3AKlyttIPb7J+XykHvJP2B9bZDjlhLIoEq4XoK64Vg7boZlVWYK6LUY94dYPEE7Lh0ZkZKcQ== - dependencies: - kind-of "^6.0.0" - -is-arrayish@^0.2.1: - version "0.2.1" - resolved "https://registry.yarnpkg.com/is-arrayish/-/is-arrayish-0.2.1.tgz#77c99840527aa8ecb1a8ba697b80645a7a926a9d" - integrity sha1-d8mYQFJ6qOyxqLppe4BkWnqSap0= - -is-binary-path@^1.0.0: - version "1.0.1" - resolved "https://registry.yarnpkg.com/is-binary-path/-/is-binary-path-1.0.1.tgz#75f16642b480f187a711c814161fd3a4a7655898" - integrity sha1-dfFmQrSA8YenEcgUFh/TpKdlWJg= - dependencies: - binary-extensions "^1.0.0" - -is-buffer@^1.1.5: - version "1.1.6" - resolved "https://registry.yarnpkg.com/is-buffer/-/is-buffer-1.1.6.tgz#efaa2ea9daa0d7ab2ea13a97b2b8ad51fefbe8be" - integrity sha512-NcdALwpXkTm5Zvvbk7owOUSvVvBKDgKP5/ewfXEznmQFfs4ZRmanOeKBTjRVjka3QFoN6XJ+9F3USqfHqTaU5w== - -is-data-descriptor@^0.1.4: - version "0.1.4" - resolved "https://registry.yarnpkg.com/is-data-descriptor/-/is-data-descriptor-0.1.4.tgz#0b5ee648388e2c860282e793f1856fec3f301b56" - integrity sha1-C17mSDiOLIYCgueT8YVv7D8wG1Y= - dependencies: - kind-of "^3.0.2" - -is-data-descriptor@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/is-data-descriptor/-/is-data-descriptor-1.0.0.tgz#d84876321d0e7add03990406abbbbd36ba9268c7" - integrity sha512-jbRXy1FmtAoCjQkVmIVYwuuqDFUbaOeDjmed1tOGPrsMhtJA4rD9tkgA0F1qJ3gRFRXcHYVkdeaP50Q5rE/jLQ== - dependencies: - kind-of "^6.0.0" - -is-descriptor@^0.1.0: - version "0.1.6" - resolved "https://registry.yarnpkg.com/is-descriptor/-/is-descriptor-0.1.6.tgz#366d8240dde487ca51823b1ab9f07a10a78251ca" - integrity sha512-avDYr0SB3DwO9zsMov0gKCESFYqCnE4hq/4z3TdUlukEy5t9C0YRq7HLrsN52NAcqXKaepeCD0n+B0arnVG3Hg== - dependencies: - is-accessor-descriptor "^0.1.6" - is-data-descriptor "^0.1.4" - kind-of "^5.0.0" - -is-descriptor@^1.0.0, is-descriptor@^1.0.2: - version "1.0.2" - resolved "https://registry.yarnpkg.com/is-descriptor/-/is-descriptor-1.0.2.tgz#3b159746a66604b04f8c81524ba365c5f14d86ec" - integrity sha512-2eis5WqQGV7peooDyLmNEPUrps9+SXX5c9pL3xEB+4e9HnGuDa7mB7kHxHw4CbqS9k1T2hOH3miL8n8WtiYVtg== - dependencies: - is-accessor-descriptor "^1.0.0" - is-data-descriptor "^1.0.0" - kind-of "^6.0.2" - -is-extendable@^0.1.0, is-extendable@^0.1.1: - version "0.1.1" - resolved "https://registry.yarnpkg.com/is-extendable/-/is-extendable-0.1.1.tgz#62b110e289a471418e3ec36a617d472e301dfc89" - integrity sha1-YrEQ4omkcUGOPsNqYX1HLjAd/Ik= - -is-extendable@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/is-extendable/-/is-extendable-1.0.1.tgz#a7470f9e426733d81bd81e1155264e3a3507cab4" - integrity sha512-arnXMxT1hhoKo9k1LZdmlNyJdDDfy2v0fXjFlmok4+i8ul/6WlbVge9bhM74OpNPQPMGUToDtz+KXa1PneJxOA== - dependencies: - is-plain-object "^2.0.4" - -is-extglob@^2.1.0, is-extglob@^2.1.1: - version "2.1.1" - resolved "https://registry.yarnpkg.com/is-extglob/-/is-extglob-2.1.1.tgz#a88c02535791f02ed37c76a1b9ea9773c833f8c2" - integrity sha1-qIwCU1eR8C7TfHahueqXc8gz+MI= - -is-fullwidth-code-point@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/is-fullwidth-code-point/-/is-fullwidth-code-point-1.0.0.tgz#ef9e31386f031a7f0d643af82fde50c457ef00cb" - integrity sha1-754xOG8DGn8NZDr4L95QxFfvAMs= - dependencies: - number-is-nan "^1.0.0" - -is-fullwidth-code-point@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/is-fullwidth-code-point/-/is-fullwidth-code-point-2.0.0.tgz#a3b30a5c4f199183167aaab93beefae3ddfb654f" - integrity sha1-o7MKXE8ZkYMWeqq5O+764937ZU8= - -is-glob@^3.1.0: - version "3.1.0" - resolved "https://registry.yarnpkg.com/is-glob/-/is-glob-3.1.0.tgz#7ba5ae24217804ac70707b96922567486cc3e84a" - integrity sha1-e6WuJCF4BKxwcHuWkiVnSGzD6Eo= - dependencies: - is-extglob "^2.1.0" - -is-glob@^4.0.0: - version "4.0.1" - resolved "https://registry.yarnpkg.com/is-glob/-/is-glob-4.0.1.tgz#7567dbe9f2f5e2467bc77ab83c4a29482407a5dc" - integrity sha512-5G0tKtBTFImOqDnLB2hG6Bp2qcKEFduo4tZu9MT/H6NQv/ghhy30o55ufafxJ/LdH79LLs2Kfrn85TLKyA7BUg== - dependencies: - is-extglob "^2.1.1" - -is-number@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/is-number/-/is-number-3.0.0.tgz#24fd6201a4782cf50561c810276afc7d12d71195" - integrity sha1-JP1iAaR4LPUFYcgQJ2r8fRLXEZU= - dependencies: - kind-of "^3.0.2" - -is-plain-object@^2.0.3, is-plain-object@^2.0.4: - version "2.0.4" - resolved "https://registry.yarnpkg.com/is-plain-object/-/is-plain-object-2.0.4.tgz#2c163b3fafb1b606d9d17928f05c2a1c38e07677" - integrity sha512-h5PpgXkWitc38BBMYawTYMWJHFZJVnBquFE57xFpjB8pJFiF6gZ+bU+WyI/yqXiFR5mdLsgYNaPe8uao6Uv9Og== - dependencies: - isobject "^3.0.1" - -is-stream@^1.0.1, is-stream@^1.1.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/is-stream/-/is-stream-1.1.0.tgz#12d4a3dd4e68e0b79ceb8dbc84173ae80d91ca44" - integrity sha1-EtSj3U5o4Lec6428hBc66A2RykQ= - -is-typedarray@~1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/is-typedarray/-/is-typedarray-1.0.0.tgz#e479c80858df0c1b11ddda6940f96011fcda4a9a" - integrity sha1-5HnICFjfDBsR3dppQPlgEfzaSpo= - -is-windows@^1.0.1, is-windows@^1.0.2: - version "1.0.2" - resolved "https://registry.yarnpkg.com/is-windows/-/is-windows-1.0.2.tgz#d1850eb9791ecd18e6182ce12a30f396634bb19d" - integrity sha512-eXK1UInq2bPmjyX6e3VHIzMLobc4J94i4AWn+Hpq3OU5KkrRC96OAcR3PRJ/pGu6m8TRnBHP9dkXQVsT/COVIA== - -is-wsl@^1.1.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/is-wsl/-/is-wsl-1.1.0.tgz#1f16e4aa22b04d1336b66188a66af3c600c3a66d" - integrity sha1-HxbkqiKwTRM2tmGIpmrzxgDDpm0= - -isarray@1.0.0, isarray@^1.0.0, isarray@~1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/isarray/-/isarray-1.0.0.tgz#bb935d48582cba168c06834957a54a3e07124f11" - integrity sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE= - -isexe@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/isexe/-/isexe-2.0.0.tgz#e8fbf374dc556ff8947a10dcb0572d633f2cfa10" - integrity sha1-6PvzdNxVb/iUehDcsFctYz8s+hA= - -isobject@^2.0.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/isobject/-/isobject-2.1.0.tgz#f065561096a3f1da2ef46272f815c840d87e0c89" - integrity sha1-8GVWEJaj8dou9GJy+BXIQNh+DIk= - dependencies: - isarray "1.0.0" - -isobject@^3.0.0, isobject@^3.0.1: - version "3.0.1" - resolved "https://registry.yarnpkg.com/isobject/-/isobject-3.0.1.tgz#4e431e92b11a9731636aa1f9c8d1ccbcfdab78df" - integrity sha1-TkMekrEalzFjaqH5yNHMvP2reN8= - -isstream@~0.1.2: - version "0.1.2" - resolved "https://registry.yarnpkg.com/isstream/-/isstream-0.1.2.tgz#47e63f7af55afa6f92e1500e690eb8b8529c099a" - integrity sha1-R+Y/evVa+m+S4VAOaQ64uFKcCZo= - -istanbul-lib-coverage@^2.0.5: - version "2.0.5" - resolved "https://registry.yarnpkg.com/istanbul-lib-coverage/-/istanbul-lib-coverage-2.0.5.tgz#675f0ab69503fad4b1d849f736baaca803344f49" - integrity sha512-8aXznuEPCJvGnMSRft4udDRDtb1V3pkQkMMI5LI+6HuQz5oQ4J2UFn1H82raA3qJtyOLkkwVqICBQkjnGtn5mA== - -istanbul-lib-hook@^2.0.7: - version "2.0.7" - resolved "https://registry.yarnpkg.com/istanbul-lib-hook/-/istanbul-lib-hook-2.0.7.tgz#c95695f383d4f8f60df1f04252a9550e15b5b133" - integrity sha512-vrRztU9VRRFDyC+aklfLoeXyNdTfga2EI3udDGn4cZ6fpSXpHLV9X6CHvfoMCPtggg8zvDDmC4b9xfu0z6/llA== - dependencies: - append-transform "^1.0.0" - -istanbul-lib-instrument@^3.3.0: - version "3.3.0" - resolved "https://registry.yarnpkg.com/istanbul-lib-instrument/-/istanbul-lib-instrument-3.3.0.tgz#a5f63d91f0bbc0c3e479ef4c5de027335ec6d630" - integrity sha512-5nnIN4vo5xQZHdXno/YDXJ0G+I3dAm4XgzfSVTPLQpj/zAV2dV6Juy0yaf10/zrJOJeHoN3fraFe+XRq2bFVZA== - dependencies: - "@babel/generator" "^7.4.0" - "@babel/parser" "^7.4.3" - "@babel/template" "^7.4.0" - "@babel/traverse" "^7.4.3" - "@babel/types" "^7.4.0" - istanbul-lib-coverage "^2.0.5" - semver "^6.0.0" - -istanbul-lib-report@^2.0.8: - version "2.0.8" - resolved "https://registry.yarnpkg.com/istanbul-lib-report/-/istanbul-lib-report-2.0.8.tgz#5a8113cd746d43c4889eba36ab10e7d50c9b4f33" - integrity sha512-fHBeG573EIihhAblwgxrSenp0Dby6tJMFR/HvlerBsrCTD5bkUuoNtn3gVh29ZCS824cGGBPn7Sg7cNk+2xUsQ== - dependencies: - istanbul-lib-coverage "^2.0.5" - make-dir "^2.1.0" - supports-color "^6.1.0" - -istanbul-lib-source-maps@^3.0.6: - version "3.0.6" - resolved "https://registry.yarnpkg.com/istanbul-lib-source-maps/-/istanbul-lib-source-maps-3.0.6.tgz#284997c48211752ec486253da97e3879defba8c8" - integrity sha512-R47KzMtDJH6X4/YW9XTx+jrLnZnscW4VpNN+1PViSYTejLVPWv7oov+Duf8YQSPyVRUvueQqz1TcsC6mooZTXw== - dependencies: - debug "^4.1.1" - istanbul-lib-coverage "^2.0.5" - make-dir "^2.1.0" - rimraf "^2.6.3" - source-map "^0.6.1" - -istanbul-reports@^2.2.4: - version "2.2.6" - resolved "https://registry.yarnpkg.com/istanbul-reports/-/istanbul-reports-2.2.6.tgz#7b4f2660d82b29303a8fe6091f8ca4bf058da1af" - integrity sha512-SKi4rnMyLBKe0Jy2uUdx28h8oG7ph2PPuQPvIAh31d+Ci+lSiEu4C+h3oBPuJ9+mPKhOyW0M8gY4U5NM1WLeXA== - dependencies: - handlebars "^4.1.2" - -js-tokens@^4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/js-tokens/-/js-tokens-4.0.0.tgz#19203fb59991df98e3a287050d4647cdeaf32499" - integrity sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ== - -js-yaml@^3.13.1, js-yaml@^3.2.7, js-yaml@^3.3.1: - version "3.13.1" - resolved "https://registry.yarnpkg.com/js-yaml/-/js-yaml-3.13.1.tgz#aff151b30bfdfa8e49e05da22e7415e9dfa37847" - integrity sha512-YfbcO7jXDdyj0DGxYVSlSeQNHbD7XPWvrVWeVUujrQEoZzWJIRrCPoyk6kL6IAjAG2IolMK4T0hNUe0HOUs5Jw== - dependencies: - argparse "^1.0.7" - esprima "^4.0.0" - -js2xmlparser@^4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/js2xmlparser/-/js2xmlparser-4.0.0.tgz#ae14cc711b2892083eed6e219fbc993d858bc3a5" - integrity sha512-WuNgdZOXVmBk5kUPMcTcVUpbGRzLfNkv7+7APq7WiDihpXVKrgxo6wwRpRl9OQeEBgKCVk9mR7RbzrnNWC8oBw== - dependencies: - xmlcreate "^2.0.0" - -jsbn@~0.1.0: - version "0.1.1" - resolved "https://registry.yarnpkg.com/jsbn/-/jsbn-0.1.1.tgz#a5e654c2e5a2deb5f201d96cefbca80c0ef2f513" - integrity sha1-peZUwuWi3rXyAdls77yoDA7y9RM= - -jsdoc@^3.6.3: - version "3.6.3" - resolved "https://registry.yarnpkg.com/jsdoc/-/jsdoc-3.6.3.tgz#dccea97d0e62d63d306b8b3ed1527173b5e2190d" - integrity sha512-Yf1ZKA3r9nvtMWHO1kEuMZTlHOF8uoQ0vyo5eH7SQy5YeIiHM+B0DgKnn+X6y6KDYZcF7G2SPkKF+JORCXWE/A== - dependencies: - "@babel/parser" "^7.4.4" - bluebird "^3.5.4" - catharsis "^0.8.11" - escape-string-regexp "^2.0.0" - js2xmlparser "^4.0.0" - klaw "^3.0.0" - markdown-it "^8.4.2" - markdown-it-anchor "^5.0.2" - marked "^0.7.0" - mkdirp "^0.5.1" - requizzle "^0.2.3" - strip-json-comments "^3.0.1" - taffydb "2.6.2" - underscore "~1.9.1" - -jsesc@^2.5.1: - version "2.5.2" - resolved "https://registry.yarnpkg.com/jsesc/-/jsesc-2.5.2.tgz#80564d2e483dacf6e8ef209650a67df3f0c283a4" - integrity sha512-OYu7XEzjkCQ3C5Ps3QIZsQfNpqoJyZZA99wd9aWd05NCtC5pWOkShK2mkL6HXQR6/Cy2lbNdPlZBpuQHXE63gA== - -json-parse-better-errors@^1.0.1, json-parse-better-errors@^1.0.2: - version "1.0.2" - resolved "https://registry.yarnpkg.com/json-parse-better-errors/-/json-parse-better-errors-1.0.2.tgz#bb867cfb3450e69107c131d1c514bab3dc8bcaa9" - integrity sha512-mrqyZKfX5EhL7hvqcV6WG1yYjnjeuYDzDhhcAAUrq8Po85NBQBJP+ZDUT75qZQ98IkUoBqdkExkukOU7Ts2wrw== - -json-schema-traverse@^0.4.1: - version "0.4.1" - resolved "https://registry.yarnpkg.com/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz#69f6a87d9513ab8bb8fe63bdb0979c448e684660" - integrity sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg== - -json-schema@0.2.3: - version "0.2.3" - resolved "https://registry.yarnpkg.com/json-schema/-/json-schema-0.2.3.tgz#b480c892e59a2f05954ce727bd3f2a4e882f9e13" - integrity sha1-tIDIkuWaLwWVTOcnvT8qTogvnhM= - -json-stringify-safe@~5.0.1: - version "5.0.1" - resolved "https://registry.yarnpkg.com/json-stringify-safe/-/json-stringify-safe-5.0.1.tgz#1296a2d58fd45f19a0f6ce01d65701e2c735b6eb" - integrity sha1-Epai1Y/UXxmg9s4B1lcB4sc1tus= - -json5@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/json5/-/json5-1.0.1.tgz#779fb0018604fa854eacbf6252180d83543e3dbe" - integrity sha512-aKS4WQjPenRxiQsC93MNfjx+nbF4PAdYzmd/1JIj8HYzqfbu86beTuNgXDzPknWk0n0uARlyewZo4s++ES36Ow== - dependencies: - minimist "^1.2.0" - -jsprim@^1.2.2: - version "1.4.1" - resolved "https://registry.yarnpkg.com/jsprim/-/jsprim-1.4.1.tgz#313e66bc1e5cc06e438bc1b7499c2e5c56acb6a2" - integrity sha1-MT5mvB5cwG5Di8G3SZwuXFastqI= - dependencies: - assert-plus "1.0.0" - extsprintf "1.3.0" - json-schema "0.2.3" - verror "1.10.0" - -kind-of@^3.0.2, kind-of@^3.0.3, kind-of@^3.2.0: - version "3.2.2" - resolved "https://registry.yarnpkg.com/kind-of/-/kind-of-3.2.2.tgz#31ea21a734bab9bbb0f32466d893aea51e4a3c64" - integrity sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ= - dependencies: - is-buffer "^1.1.5" - -kind-of@^4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/kind-of/-/kind-of-4.0.0.tgz#20813df3d712928b207378691a45066fae72dd57" - integrity sha1-IIE989cSkosgc3hpGkUGb65y3Vc= - dependencies: - is-buffer "^1.1.5" - -kind-of@^5.0.0: - version "5.1.0" - resolved "https://registry.yarnpkg.com/kind-of/-/kind-of-5.1.0.tgz#729c91e2d857b7a419a1f9aa65685c4c33f5845d" - integrity sha512-NGEErnH6F2vUuXDh+OlbcKW7/wOcfdRHaZ7VWtqCztfHri/++YKmP51OdWeGPuqCOba6kk2OTe5d02VmTB80Pw== - -kind-of@^6.0.0, kind-of@^6.0.2: - version "6.0.2" - resolved "https://registry.yarnpkg.com/kind-of/-/kind-of-6.0.2.tgz#01146b36a6218e64e58f3a8d66de5d7fc6f6d051" - integrity sha512-s5kLOcnH0XqDO+FvuaLX8DDjZ18CGFk7VygH40QoKPUQhW4e2rvM0rwUq0t8IQDOwYSeLK01U90OjzBTme2QqA== - -klaw@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/klaw/-/klaw-3.0.0.tgz#b11bec9cf2492f06756d6e809ab73a2910259146" - integrity sha512-0Fo5oir+O9jnXu5EefYbVK+mHMBeEVEy2cmctR1O1NECcCkPRreJKrS6Qt/j3KC2C148Dfo9i3pCmCMsdqGr0g== - dependencies: - graceful-fs "^4.1.9" - -lcid@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/lcid/-/lcid-2.0.0.tgz#6ef5d2df60e52f82eb228a4c373e8d1f397253cf" - integrity sha512-avPEb8P8EGnwXKClwsNUgryVjllcRqtMYa49NTsbQagYuT1DcXnl1915oxWjoyGrXR6zH/Y0Zc96xWsPcoDKeA== - dependencies: - invert-kv "^2.0.0" - -lcov-parse@^0.0.10: - version "0.0.10" - resolved "https://registry.yarnpkg.com/lcov-parse/-/lcov-parse-0.0.10.tgz#1b0b8ff9ac9c7889250582b70b71315d9da6d9a3" - integrity sha1-GwuP+ayceIklBYK3C3ExXZ2m2aM= - -linkify-it@^2.0.0: - version "2.2.0" - resolved "https://registry.yarnpkg.com/linkify-it/-/linkify-it-2.2.0.tgz#e3b54697e78bf915c70a38acd78fd09e0058b1cf" - integrity sha512-GnAl/knGn+i1U/wjBz3akz2stz+HrHLsxMwHQGofCDfPvlf+gDKN58UtfmUquTY4/MXeE2x7k19KQmeoZi94Iw== - dependencies: - uc.micro "^1.0.1" - -load-json-file@^4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/load-json-file/-/load-json-file-4.0.0.tgz#2f5f45ab91e33216234fd53adab668eb4ec0993b" - integrity sha1-L19Fq5HjMhYjT9U62rZo607AmTs= - dependencies: - graceful-fs "^4.1.2" - parse-json "^4.0.0" - pify "^3.0.0" - strip-bom "^3.0.0" - -loader-runner@^2.4.0: - version "2.4.0" - resolved "https://registry.yarnpkg.com/loader-runner/-/loader-runner-2.4.0.tgz#ed47066bfe534d7e84c4c7b9998c2a75607d9357" - integrity sha512-Jsmr89RcXGIwivFY21FcRrisYZfvLMTWx5kOLc+JTxtpBOG6xML0vzbc6SEQG2FO9/4Fc3wW4LVcB5DmGflaRw== - -loader-utils@1.2.3, loader-utils@^1.2.3: - version "1.2.3" - resolved "https://registry.yarnpkg.com/loader-utils/-/loader-utils-1.2.3.tgz#1ff5dc6911c9f0a062531a4c04b609406108c2c7" - integrity sha512-fkpz8ejdnEMG3s37wGL07iSBDg99O9D5yflE9RGNH3hRdx9SOwYfnGYdZOUIZitN8E+E2vkq3MUMYMvPYl5ZZA== - dependencies: - big.js "^5.2.2" - emojis-list "^2.0.0" - json5 "^1.0.1" - -locate-path@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/locate-path/-/locate-path-3.0.0.tgz#dbec3b3ab759758071b58fe59fc41871af21400e" - integrity sha512-7AO748wWnIhNqAuaty2ZWHkQHRSNfPVIsPIfwEOWO22AmaoVrWavlOcMR5nzTLNYvp36X220/maaRsrec1G65A== - dependencies: - p-locate "^3.0.0" - path-exists "^3.0.0" - -lodash.flattendeep@^4.4.0: - version "4.4.0" - resolved "https://registry.yarnpkg.com/lodash.flattendeep/-/lodash.flattendeep-4.4.0.tgz#fb030917f86a3134e5bc9bec0d69e0013ddfedb2" - integrity sha1-+wMJF/hqMTTlvJvsDWngAT3f7bI= - -lodash@^4.17.13, lodash@^4.17.14: - version "4.17.15" - resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.15.tgz#b447f6670a0455bbfeedd11392eff330ea097548" - integrity sha512-8xOcRHvCjnocdS5cpwXQXVzmmh5e5+saE2QGoeQmbKmRS6J3VQppPOIt0MnmE+4xlZoumy0GPG0D0MVIQbNA1A== - -log-driver@^1.2.7: - version "1.2.7" - resolved "https://registry.yarnpkg.com/log-driver/-/log-driver-1.2.7.tgz#63b95021f0702fedfa2c9bb0a24e7797d71871d8" - integrity sha512-U7KCmLdqsGHBLeWqYlFA0V0Sl6P08EE1ZrmA9cxjUE0WVqT9qnyVDPz1kzpFEP0jdJuFnasWIfSd7fsaNXkpbg== - -long@^3.2.0: - version "3.2.0" - resolved "https://registry.yarnpkg.com/long/-/long-3.2.0.tgz#d821b7138ca1cb581c172990ef14db200b5c474b" - integrity sha1-2CG3E4yhy1gcFymQ7xTbIAtcR0s= - -long@^4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/long/-/long-4.0.0.tgz#9a7b71cfb7d361a194ea555241c92f7468d5bf28" - integrity sha512-XsP+KhQif4bjX1kbuSiySJFNAehNxgLb6hPRGJ9QsUr8ajHkuXGdrHmFUTUUXhDwVX2R5bY4JNZEwbUiMhV+MA== - -lru-cache@^4.0.1: - version "4.1.5" - resolved "https://registry.yarnpkg.com/lru-cache/-/lru-cache-4.1.5.tgz#8bbe50ea85bed59bc9e33dcab8235ee9bcf443cd" - integrity sha512-sWZlbEP2OsHNkXrMl5GYk/jKk70MBng6UU4YI/qGDYbgf6YbP4EvmqISbXCoJiRKs+1bSpFHVgQxvJ17F2li5g== - dependencies: - pseudomap "^1.0.2" - yallist "^2.1.2" - -lru-cache@^5.1.1: - version "5.1.1" - resolved "https://registry.yarnpkg.com/lru-cache/-/lru-cache-5.1.1.tgz#1da27e6710271947695daf6848e847f01d84b920" - integrity sha512-KpNARQA3Iwv+jTA0utUVVbrh+Jlrr1Fv0e56GGzAFOXN7dk/FviaDW8LHmK52DlcH4WP2n6gI8vN1aesBFgo9w== - dependencies: - yallist "^3.0.2" - -make-dir@^2.0.0, make-dir@^2.1.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/make-dir/-/make-dir-2.1.0.tgz#5f0310e18b8be898cc07009295a30ae41e91e6f5" - integrity sha512-LS9X+dc8KLxXCb8dni79fLIIUA5VyZoyjSMCwTluaXA0o27cCK0bhXkpgw+sTXVpPy/lSO57ilRixqk0vDmtRA== - dependencies: - pify "^4.0.1" - semver "^5.6.0" - -make-error@^1.1.1: - version "1.3.5" - resolved "https://registry.yarnpkg.com/make-error/-/make-error-1.3.5.tgz#efe4e81f6db28cadd605c70f29c831b58ef776c8" - integrity sha512-c3sIjNUow0+8swNwVpqoH4YCShKNFkMaw6oH1mNS2haDZQqkeZFlHS3dhoeEbKKmJB4vXpJucU6oH75aDYeE9g== - -mamacro@^0.0.3: - version "0.0.3" - resolved "https://registry.yarnpkg.com/mamacro/-/mamacro-0.0.3.tgz#ad2c9576197c9f1abf308d0787865bd975a3f3e4" - integrity sha512-qMEwh+UujcQ+kbz3T6V+wAmO2U8veoq2w+3wY8MquqwVA3jChfwY+Tk52GZKDfACEPjuZ7r2oJLejwpt8jtwTA== - -map-age-cleaner@^0.1.1: - version "0.1.3" - resolved "https://registry.yarnpkg.com/map-age-cleaner/-/map-age-cleaner-0.1.3.tgz#7d583a7306434c055fe474b0f45078e6e1b4b92a" - integrity sha512-bJzx6nMoP6PDLPBFmg7+xRKeFZvFboMrGlxmNj9ClvX53KrmvM5bXFXEWjbz4cz1AFn+jWJ9z/DJSz7hrs0w3w== - dependencies: - p-defer "^1.0.0" - -map-cache@^0.2.2: - version "0.2.2" - resolved "https://registry.yarnpkg.com/map-cache/-/map-cache-0.2.2.tgz#c32abd0bd6525d9b051645bb4f26ac5dc98a0dbf" - integrity sha1-wyq9C9ZSXZsFFkW7TyasXcmKDb8= - -map-visit@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/map-visit/-/map-visit-1.0.0.tgz#ecdca8f13144e660f1b5bd41f12f3479d98dfb8f" - integrity sha1-7Nyo8TFE5mDxtb1B8S80edmN+48= - dependencies: - object-visit "^1.0.0" - -markdown-it-anchor@^5.0.2: - version "5.2.5" - resolved "https://registry.yarnpkg.com/markdown-it-anchor/-/markdown-it-anchor-5.2.5.tgz#dbf13cfcdbffd16a510984f1263e1d479a47d27a" - integrity sha512-xLIjLQmtym3QpoY9llBgApknl7pxAcN3WDRc2d3rwpl+/YvDZHPmKscGs+L6E05xf2KrCXPBvosWt7MZukwSpQ== - -markdown-it@^8.4.2: - version "8.4.2" - resolved "https://registry.yarnpkg.com/markdown-it/-/markdown-it-8.4.2.tgz#386f98998dc15a37722aa7722084f4020bdd9b54" - integrity sha512-GcRz3AWTqSUphY3vsUqQSFMbgR38a4Lh3GWlHRh/7MRwz8mcu9n2IO7HOh+bXHrR9kOPDl5RNCaEsrneb+xhHQ== - dependencies: - argparse "^1.0.7" - entities "~1.1.1" - linkify-it "^2.0.0" - mdurl "^1.0.1" - uc.micro "^1.0.5" - -marked@^0.7.0: - version "0.7.0" - resolved "https://registry.yarnpkg.com/marked/-/marked-0.7.0.tgz#b64201f051d271b1edc10a04d1ae9b74bb8e5c0e" - integrity sha512-c+yYdCZJQrsRjTPhUx7VKkApw9bwDkNbHUKo1ovgcfDjb2kc8rLuRbIFyXL5WOEUwzSSKo3IXpph2K6DqB/KZg== - -md5.js@^1.3.4: - version "1.3.5" - resolved "https://registry.yarnpkg.com/md5.js/-/md5.js-1.3.5.tgz#b5d07b8e3216e3e27cd728d72f70d1e6a342005f" - integrity sha512-xitP+WxNPcTTOgnTJcrhM0xvdPepipPSf3I8EIpGKeFLjt3PlJLIDG3u8EX53ZIubkb+5U2+3rELYpEhHhzdkg== - dependencies: - hash-base "^3.0.0" - inherits "^2.0.1" - safe-buffer "^5.1.2" - -mdurl@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/mdurl/-/mdurl-1.0.1.tgz#fe85b2ec75a59037f2adfec100fd6c601761152e" - integrity sha1-/oWy7HWlkDfyrf7BAP1sYBdhFS4= - -mem@^4.0.0: - version "4.3.0" - resolved "https://registry.yarnpkg.com/mem/-/mem-4.3.0.tgz#461af497bc4ae09608cdb2e60eefb69bff744178" - integrity sha512-qX2bG48pTqYRVmDB37rn/6PT7LcR8T7oAX3bf99u1Tt1nzxYfxkgqDwUwolPlXweM0XzBOBFzSx4kfp7KP1s/w== - dependencies: - map-age-cleaner "^0.1.1" - mimic-fn "^2.0.0" - p-is-promise "^2.0.0" - -memory-fs@^0.4.0, memory-fs@^0.4.1: - version "0.4.1" - resolved "https://registry.yarnpkg.com/memory-fs/-/memory-fs-0.4.1.tgz#3a9a20b8462523e447cfbc7e8bb80ed667bfc552" - integrity sha1-OpoguEYlI+RHz7x+i7gO1me/xVI= - dependencies: - errno "^0.1.3" - readable-stream "^2.0.1" - -memory-fs@^0.5.0: - version "0.5.0" - resolved "https://registry.yarnpkg.com/memory-fs/-/memory-fs-0.5.0.tgz#324c01288b88652966d161db77838720845a8e3c" - integrity sha512-jA0rdU5KoQMC0e6ppoNRtpp6vjFq6+NY7r8hywnC7V+1Xj/MtHwGIbB1QaK/dunyjWteJzmkpd7ooeWg10T7GA== - dependencies: - errno "^0.1.3" - readable-stream "^2.0.1" - -merge-source-map@^1.1.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/merge-source-map/-/merge-source-map-1.1.0.tgz#2fdde7e6020939f70906a68f2d7ae685e4c8c646" - integrity sha512-Qkcp7P2ygktpMPh2mCQZaf3jhN6D3Z/qVZHSdWvQ+2Ef5HgRAPBO57A77+ENm0CPx2+1Ce/MYKi3ymqdfuqibw== - dependencies: - source-map "^0.6.1" - -micromatch@^3.0.4, micromatch@^3.1.10, micromatch@^3.1.4: - version "3.1.10" - resolved "https://registry.yarnpkg.com/micromatch/-/micromatch-3.1.10.tgz#70859bc95c9840952f359a068a3fc49f9ecfac23" - integrity sha512-MWikgl9n9M3w+bpsY3He8L+w9eF9338xRl8IAO5viDizwSzziFEyUzo2xrrloB64ADbTf8uA8vRqqttDTOmccg== - dependencies: - arr-diff "^4.0.0" - array-unique "^0.3.2" - braces "^2.3.1" - define-property "^2.0.2" - extend-shallow "^3.0.2" - extglob "^2.0.4" - fragment-cache "^0.2.1" - kind-of "^6.0.2" - nanomatch "^1.2.9" - object.pick "^1.3.0" - regex-not "^1.0.0" - snapdragon "^0.8.1" - to-regex "^3.0.2" - -miller-rabin@^4.0.0: - version "4.0.1" - resolved "https://registry.yarnpkg.com/miller-rabin/-/miller-rabin-4.0.1.tgz#f080351c865b0dc562a8462966daa53543c78a4d" - integrity sha512-115fLhvZVqWwHPbClyntxEVfVDfl9DLLTuJvq3g2O/Oxi8AiNouAHvDSzHS0viUJc+V5vm3eq91Xwqn9dp4jRA== - dependencies: - bn.js "^4.0.0" - brorand "^1.0.1" - -mime-db@1.40.0: - version "1.40.0" - resolved "https://registry.yarnpkg.com/mime-db/-/mime-db-1.40.0.tgz#a65057e998db090f732a68f6c276d387d4126c32" - integrity sha512-jYdeOMPy9vnxEqFRRo6ZvTZ8d9oPb+k18PKoYNYUe2stVEBPPwsln/qWzdbmaIvnhZ9v2P+CuecK+fpUfsV2mA== - -mime-types@^2.1.12, mime-types@~2.1.19: - version "2.1.24" - resolved "https://registry.yarnpkg.com/mime-types/-/mime-types-2.1.24.tgz#b6f8d0b3e951efb77dedeca194cff6d16f676f81" - integrity sha512-WaFHS3MCl5fapm3oLxU4eYDw77IQM2ACcxQ9RIxfaC3ooc6PFuBMGZZsYpvoXS5D5QTWPieo1jjLdAm3TBP3cQ== - dependencies: - mime-db "1.40.0" - -mimic-fn@^2.0.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/mimic-fn/-/mimic-fn-2.1.0.tgz#7ed2c2ccccaf84d3ffcb7a69b57711fc2083401b" - integrity sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg== - -minimalistic-assert@^1.0.0, minimalistic-assert@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/minimalistic-assert/-/minimalistic-assert-1.0.1.tgz#2e194de044626d4a10e7f7fbc00ce73e83e4d5c7" - integrity sha512-UtJcAD4yEaGtjPezWuO9wC4nwUnVH/8/Im3yEHQP4b67cXlD/Qr9hdITCU1xDbSEXg2XKNaP8jsReV7vQd00/A== - -minimalistic-crypto-utils@^1.0.0, minimalistic-crypto-utils@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/minimalistic-crypto-utils/-/minimalistic-crypto-utils-1.0.1.tgz#f6c00c1c0b082246e5c4d99dfb8c7c083b2b582a" - integrity sha1-9sAMHAsIIkblxNmd+4x8CDsrWCo= - -minimatch@^3.0.4: - version "3.0.4" - resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-3.0.4.tgz#5166e286457f03306064be5497e8dbb0c3d32083" - integrity sha512-yJHVQEhyqPLUTgt9B83PXu6W3rx4MvvHvSUvToogpwoGDOUQ+yDrR0HRot+yOCdCO7u4hX3pWft6kWBBcqh0UA== - dependencies: - brace-expansion "^1.1.7" - -minimist@0.0.8: - version "0.0.8" - resolved "https://registry.yarnpkg.com/minimist/-/minimist-0.0.8.tgz#857fcabfc3397d2625b8228262e86aa7a011b05d" - integrity sha1-hX/Kv8M5fSYluCKCYuhqp6ARsF0= - -minimist@^1.2.0: - version "1.2.0" - resolved "https://registry.yarnpkg.com/minimist/-/minimist-1.2.0.tgz#a35008b20f41383eec1fb914f4cd5df79a264284" - integrity sha1-o1AIsg9BOD7sH7kU9M1d95omQoQ= - -minimist@~0.0.1: - version "0.0.10" - resolved "https://registry.yarnpkg.com/minimist/-/minimist-0.0.10.tgz#de3f98543dbf96082be48ad1a0c7cda836301dcf" - integrity sha1-3j+YVD2/lggr5IrRoMfNqDYwHc8= - -minipass@^2.2.0, minipass@^2.3.5, minipass@^2.6.0, minipass@^2.8.6, minipass@^2.9.0: - version "2.9.0" - resolved "https://registry.yarnpkg.com/minipass/-/minipass-2.9.0.tgz#e713762e7d3e32fed803115cf93e04bca9fcc9a6" - integrity sha512-wxfUjg9WebH+CUDX/CdbRlh5SmfZiy/hpkxaRI16Y9W56Pa75sWgd/rvFilSgrauD9NyFymP/+JFV3KwzIsJeg== - dependencies: - safe-buffer "^5.1.2" - yallist "^3.0.0" - -minizlib@^1.2.1: - version "1.3.3" - resolved "https://registry.yarnpkg.com/minizlib/-/minizlib-1.3.3.tgz#2290de96818a34c29551c8a8d301216bd65a861d" - integrity sha512-6ZYMOEnmVsdCeTJVE0W9ZD+pVnE8h9Hma/iOwwRDsdQoePpoX56/8B6z3P9VNwppJuBKNRuFDRNRqRWexT9G9Q== - dependencies: - minipass "^2.9.0" - -mississippi@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/mississippi/-/mississippi-3.0.0.tgz#ea0a3291f97e0b5e8776b363d5f0a12d94c67022" - integrity sha512-x471SsVjUtBRtcvd4BzKE9kFC+/2TeWgKCgw0bZcw1b9l2X3QX5vCWgF+KaZaYm87Ss//rHnWryupDrgLvmSkA== - dependencies: - concat-stream "^1.5.0" - duplexify "^3.4.2" - end-of-stream "^1.1.0" - flush-write-stream "^1.0.0" - from2 "^2.1.0" - parallel-transform "^1.1.0" - pump "^3.0.0" - pumpify "^1.3.3" - stream-each "^1.1.0" - through2 "^2.0.0" - -mixin-deep@^1.2.0: - version "1.3.2" - resolved "https://registry.yarnpkg.com/mixin-deep/-/mixin-deep-1.3.2.tgz#1120b43dc359a785dce65b55b82e257ccf479566" - integrity sha512-WRoDn//mXBiJ1H40rqa3vH0toePwSsGb45iInWlTySa+Uu4k3tYUSxa2v1KqAiLtvlrSzaExqS1gtk96A9zvEA== - dependencies: - for-in "^1.0.2" - is-extendable "^1.0.1" - -mkdirp@^0.5.0, mkdirp@^0.5.1: - version "0.5.1" - resolved "https://registry.yarnpkg.com/mkdirp/-/mkdirp-0.5.1.tgz#30057438eac6cf7f8c4767f38648d6697d75c903" - integrity sha1-MAV0OOrGz3+MR2fzhkjWaX11yQM= - dependencies: - minimist "0.0.8" - -move-concurrently@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/move-concurrently/-/move-concurrently-1.0.1.tgz#be2c005fda32e0b29af1f05d7c4b33214c701f92" - integrity sha1-viwAX9oy4LKa8fBdfEszIUxwH5I= - dependencies: - aproba "^1.1.1" - copy-concurrently "^1.0.0" - fs-write-stream-atomic "^1.0.8" - mkdirp "^0.5.1" - rimraf "^2.5.4" - run-queue "^1.0.3" - -ms@2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/ms/-/ms-2.0.0.tgz#5608aeadfc00be6c2901df5f9861788de0d597c8" - integrity sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g= - -ms@^2.1.1: - version "2.1.2" - resolved "https://registry.yarnpkg.com/ms/-/ms-2.1.2.tgz#d09d1f357b443f493382a8eb3ccd183872ae6009" - integrity sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w== - -nan@^2.12.1: - version "2.14.0" - resolved "https://registry.yarnpkg.com/nan/-/nan-2.14.0.tgz#7818f722027b2459a86f0295d434d1fc2336c52c" - integrity sha512-INOFj37C7k3AfaNTtX8RhsTw7qRy7eLET14cROi9+5HAVbbHuIWUHEauBv5qT4Av2tWasiTY1Jw6puUNqRJXQg== - -nanomatch@^1.2.9: - version "1.2.13" - resolved "https://registry.yarnpkg.com/nanomatch/-/nanomatch-1.2.13.tgz#b87a8aa4fc0de8fe6be88895b38983ff265bd119" - integrity sha512-fpoe2T0RbHwBTBUOftAfBPaDEi06ufaUai0mE6Yn1kacc3SnTErfb/h+X94VXzI64rKFHYImXSvdwGGCmwOqCA== - dependencies: - arr-diff "^4.0.0" - array-unique "^0.3.2" - define-property "^2.0.2" - extend-shallow "^3.0.2" - fragment-cache "^0.2.1" - is-windows "^1.0.2" - kind-of "^6.0.2" - object.pick "^1.3.0" - regex-not "^1.0.0" - snapdragon "^0.8.1" - to-regex "^3.0.1" - -needle@^2.2.1: - version "2.4.0" - resolved "https://registry.yarnpkg.com/needle/-/needle-2.4.0.tgz#6833e74975c444642590e15a750288c5f939b57c" - integrity sha512-4Hnwzr3mi5L97hMYeNl8wRW/Onhy4nUKR/lVemJ8gJedxxUyBLm9kkrDColJvoSfwi0jCNhD+xCdOtiGDQiRZg== - dependencies: - debug "^3.2.6" - iconv-lite "^0.4.4" - sax "^1.2.4" - -neo-async@^2.5.0, neo-async@^2.6.0, neo-async@^2.6.1: - version "2.6.1" - resolved "https://registry.yarnpkg.com/neo-async/-/neo-async-2.6.1.tgz#ac27ada66167fa8849a6addd837f6b189ad2081c" - integrity sha512-iyam8fBuCUpWeKPGpaNMetEocMt364qkCsfL9JuhjXX6dRnguRVOfk2GZaDpPjcOKiiXCPINZC1GczQ7iTq3Zw== - -nested-error-stacks@^2.0.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/nested-error-stacks/-/nested-error-stacks-2.1.0.tgz#0fbdcf3e13fe4994781280524f8b96b0cdff9c61" - integrity sha512-AO81vsIO1k1sM4Zrd6Hu7regmJN1NSiAja10gc4bX3F0wd+9rQmcuHQaHVQCYIEC8iFXnE+mavh23GOt7wBgug== - -nice-try@^1.0.4: - version "1.0.5" - resolved "https://registry.yarnpkg.com/nice-try/-/nice-try-1.0.5.tgz#a3378a7696ce7d223e88fc9b764bd7ef1089e366" - integrity sha512-1nh45deeb5olNY7eX82BkPO7SSxR5SSYJiPTrTdFUVYwAl8CKMA5N9PjTYkHiRjisVcxcQ1HXdLhx2qxxJzLNQ== - -node-libs-browser@^2.2.1: - version "2.2.1" - resolved "https://registry.yarnpkg.com/node-libs-browser/-/node-libs-browser-2.2.1.tgz#b64f513d18338625f90346d27b0d235e631f6425" - integrity sha512-h/zcD8H9kaDZ9ALUWwlBUDo6TKF8a7qBSCSEGfjTVIYeqsioSKaAX+BN7NgiMGp6iSIXZ3PxgCu8KS3b71YK5Q== - dependencies: - assert "^1.1.1" - browserify-zlib "^0.2.0" - buffer "^4.3.0" - console-browserify "^1.1.0" - constants-browserify "^1.0.0" - crypto-browserify "^3.11.0" - domain-browser "^1.1.1" - events "^3.0.0" - https-browserify "^1.0.0" - os-browserify "^0.3.0" - path-browserify "0.0.1" - process "^0.11.10" - punycode "^1.2.4" - querystring-es3 "^0.2.0" - readable-stream "^2.3.3" - stream-browserify "^2.0.1" - stream-http "^2.7.2" - string_decoder "^1.0.0" - timers-browserify "^2.0.4" - tty-browserify "0.0.0" - url "^0.11.0" - util "^0.11.0" - vm-browserify "^1.0.1" - -node-pre-gyp@^0.12.0: - version "0.12.0" - resolved "https://registry.yarnpkg.com/node-pre-gyp/-/node-pre-gyp-0.12.0.tgz#39ba4bb1439da030295f899e3b520b7785766149" - integrity sha512-4KghwV8vH5k+g2ylT+sLTjy5wmUOb9vPhnM8NHvRf9dHmnW/CndrFXy2aRPaPST6dugXSdHXfeaHQm77PIz/1A== - dependencies: - detect-libc "^1.0.2" - mkdirp "^0.5.1" - needle "^2.2.1" - nopt "^4.0.1" - npm-packlist "^1.1.6" - npmlog "^4.0.2" - rc "^1.2.7" - rimraf "^2.6.1" - semver "^5.3.0" - tar "^4" - -nodeunit@^0.11.3: - version "0.11.3" - resolved "https://registry.yarnpkg.com/nodeunit/-/nodeunit-0.11.3.tgz#313afae26cd11b407b731ff774b8e35e5d6f9568" - integrity sha512-gDNxrDWpx07BxYNO/jn1UrGI1vNhDQZrIFphbHMcTCDc5mrrqQBWfQMXPHJ5WSgbFwD1D6bv4HOsqtTrPG03AA== - dependencies: - ejs "^2.5.2" - tap "^12.0.1" - -nopt@^4.0.1: - version "4.0.1" - resolved "https://registry.yarnpkg.com/nopt/-/nopt-4.0.1.tgz#d0d4685afd5415193c8c7505602d0d17cd64474d" - integrity sha1-0NRoWv1UFRk8jHUFYC0NF81kR00= - dependencies: - abbrev "1" - osenv "^0.1.4" - -normalize-package-data@^2.3.2: - version "2.5.0" - resolved "https://registry.yarnpkg.com/normalize-package-data/-/normalize-package-data-2.5.0.tgz#e66db1838b200c1dfc233225d12cb36520e234a8" - integrity sha512-/5CMN3T0R4XTj4DcGaexo+roZSdSFW/0AOOTROrjxzCG1wrWXEsGbRKevjlIL+ZDE4sZlJr5ED4YW0yqmkK+eA== - dependencies: - hosted-git-info "^2.1.4" - resolve "^1.10.0" - semver "2 || 3 || 4 || 5" - validate-npm-package-license "^3.0.1" - -normalize-path@^2.1.1: - version "2.1.1" - resolved "https://registry.yarnpkg.com/normalize-path/-/normalize-path-2.1.1.tgz#1ab28b556e198363a8c1a6f7e6fa20137fe6aed9" - integrity sha1-GrKLVW4Zg2Oowab35vogE3/mrtk= - dependencies: - remove-trailing-separator "^1.0.1" - -normalize-path@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/normalize-path/-/normalize-path-3.0.0.tgz#0dcd69ff23a1c9b11fd0978316644a0388216a65" - integrity sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA== - -npm-bundled@^1.0.1: - version "1.0.6" - resolved "https://registry.yarnpkg.com/npm-bundled/-/npm-bundled-1.0.6.tgz#e7ba9aadcef962bb61248f91721cd932b3fe6bdd" - integrity sha512-8/JCaftHwbd//k6y2rEWp6k1wxVfpFzB6t1p825+cUb7Ym2XQfhwIC5KwhrvzZRJu+LtDE585zVaS32+CGtf0g== - -npm-packlist@^1.1.6: - version "1.4.6" - resolved "https://registry.yarnpkg.com/npm-packlist/-/npm-packlist-1.4.6.tgz#53ba3ed11f8523079f1457376dd379ee4ea42ff4" - integrity sha512-u65uQdb+qwtGvEJh/DgQgW1Xg7sqeNbmxYyrvlNznaVTjV3E5P6F/EFjM+BVHXl7JJlsdG8A64M0XI8FI/IOlg== - dependencies: - ignore-walk "^3.0.1" - npm-bundled "^1.0.1" - -npm-run-path@^2.0.0: - version "2.0.2" - resolved "https://registry.yarnpkg.com/npm-run-path/-/npm-run-path-2.0.2.tgz#35a9232dfa35d7067b4cb2ddf2357b1871536c5f" - integrity sha1-NakjLfo11wZ7TLLd8jV7GHFTbF8= - dependencies: - path-key "^2.0.0" - -npmlog@^4.0.2: - version "4.1.2" - resolved "https://registry.yarnpkg.com/npmlog/-/npmlog-4.1.2.tgz#08a7f2a8bf734604779a9efa4ad5cc717abb954b" - integrity sha512-2uUqazuKlTaSI/dC8AzicUck7+IrEaOnN/e0jd3Xtt1KcGpwx30v50mL7oPyr/h9bL3E4aZccVwpwP+5W9Vjkg== - dependencies: - are-we-there-yet "~1.1.2" - console-control-strings "~1.1.0" - gauge "~2.7.3" - set-blocking "~2.0.0" - -number-is-nan@^1.0.0: - version "1.0.1" - resolved "https://registry.yarnpkg.com/number-is-nan/-/number-is-nan-1.0.1.tgz#097b602b53422a522c1afb8790318336941a011d" - integrity sha1-CXtgK1NCKlIsGvuHkDGDNpQaAR0= - -nyc@^14.0.0: - version "14.1.1" - resolved "https://registry.yarnpkg.com/nyc/-/nyc-14.1.1.tgz#151d64a6a9f9f5908a1b73233931e4a0a3075eeb" - integrity sha512-OI0vm6ZGUnoGZv/tLdZ2esSVzDwUC88SNs+6JoSOMVxA+gKMB8Tk7jBwgemLx4O40lhhvZCVw1C+OYLOBOPXWw== - dependencies: - archy "^1.0.0" - caching-transform "^3.0.2" - convert-source-map "^1.6.0" - cp-file "^6.2.0" - find-cache-dir "^2.1.0" - find-up "^3.0.0" - foreground-child "^1.5.6" - glob "^7.1.3" - istanbul-lib-coverage "^2.0.5" - istanbul-lib-hook "^2.0.7" - istanbul-lib-instrument "^3.3.0" - istanbul-lib-report "^2.0.8" - istanbul-lib-source-maps "^3.0.6" - istanbul-reports "^2.2.4" - js-yaml "^3.13.1" - make-dir "^2.1.0" - merge-source-map "^1.1.0" - resolve-from "^4.0.0" - rimraf "^2.6.3" - signal-exit "^3.0.2" - spawn-wrap "^1.4.2" - test-exclude "^5.2.3" - uuid "^3.3.2" - yargs "^13.2.2" - yargs-parser "^13.0.0" - -oauth-sign@~0.9.0: - version "0.9.0" - resolved "https://registry.yarnpkg.com/oauth-sign/-/oauth-sign-0.9.0.tgz#47a7b016baa68b5fa0ecf3dee08a85c679ac6455" - integrity sha512-fexhUFFPTGV8ybAtSIGbV6gOkSv8UtRbDBnAyLQw4QPKkgNlsH2ByPGtMUqdWkos6YCRmAqViwgZrJc/mRDzZQ== - -object-assign@^4.1.0, object-assign@^4.1.1: - version "4.1.1" - resolved "https://registry.yarnpkg.com/object-assign/-/object-assign-4.1.1.tgz#2109adc7965887cfc05cbbd442cac8bfbb360863" - integrity sha1-IQmtx5ZYh8/AXLvUQsrIv7s2CGM= - -object-copy@^0.1.0: - version "0.1.0" - resolved "https://registry.yarnpkg.com/object-copy/-/object-copy-0.1.0.tgz#7e7d858b781bd7c991a41ba975ed3812754e998c" - integrity sha1-fn2Fi3gb18mRpBupde04EnVOmYw= - dependencies: - copy-descriptor "^0.1.0" - define-property "^0.2.5" - kind-of "^3.0.3" - -object-visit@^1.0.0: - version "1.0.1" - resolved "https://registry.yarnpkg.com/object-visit/-/object-visit-1.0.1.tgz#f79c4493af0c5377b59fe39d395e41042dd045bb" - integrity sha1-95xEk68MU3e1n+OdOV5BBC3QRbs= - dependencies: - isobject "^3.0.0" - -object.pick@^1.3.0: - version "1.3.0" - resolved "https://registry.yarnpkg.com/object.pick/-/object.pick-1.3.0.tgz#87a10ac4c1694bd2e1cbf53591a66141fb5dd747" - integrity sha1-h6EKxMFpS9Lhy/U1kaZhQftd10c= - dependencies: - isobject "^3.0.1" - -once@^1.3.0, once@^1.3.1, once@^1.4.0: - version "1.4.0" - resolved "https://registry.yarnpkg.com/once/-/once-1.4.0.tgz#583b1aa775961d4b113ac17d9c50baef9dd76bd1" - integrity sha1-WDsap3WWHUsROsF9nFC6753Xa9E= - dependencies: - wrappy "1" - -opener@^1.5.1: - version "1.5.1" - resolved "https://registry.yarnpkg.com/opener/-/opener-1.5.1.tgz#6d2f0e77f1a0af0032aca716c2c1fbb8e7e8abed" - integrity sha512-goYSy5c2UXE4Ra1xixabeVh1guIX/ZV/YokJksb6q2lubWu6UbvPQ20p542/sFIll1nl8JnCyK9oBaOcCWXwvA== - -optimist@^0.6.1: - version "0.6.1" - resolved "https://registry.yarnpkg.com/optimist/-/optimist-0.6.1.tgz#da3ea74686fa21a19a111c326e90eb15a0196686" - integrity sha1-2j6nRob6IaGaERwybpDrFaAZZoY= - dependencies: - minimist "~0.0.1" - wordwrap "~0.0.2" - -os-browserify@^0.3.0: - version "0.3.0" - resolved "https://registry.yarnpkg.com/os-browserify/-/os-browserify-0.3.0.tgz#854373c7f5c2315914fc9bfc6bd8238fdda1ec27" - integrity sha1-hUNzx/XCMVkU/Jv8a9gjj92h7Cc= - -os-homedir@^1.0.0, os-homedir@^1.0.1, os-homedir@^1.0.2: - version "1.0.2" - resolved "https://registry.yarnpkg.com/os-homedir/-/os-homedir-1.0.2.tgz#ffbc4988336e0e833de0c168c7ef152121aa7fb3" - integrity sha1-/7xJiDNuDoM94MFox+8VISGqf7M= - -os-locale@^3.1.0: - version "3.1.0" - resolved "https://registry.yarnpkg.com/os-locale/-/os-locale-3.1.0.tgz#a802a6ee17f24c10483ab9935719cef4ed16bf1a" - integrity sha512-Z8l3R4wYWM40/52Z+S265okfFj8Kt2cC2MKY+xNi3kFs+XGI7WXu/I309QQQYbRW4ijiZ+yxs9pqEhJh0DqW3Q== - dependencies: - execa "^1.0.0" - lcid "^2.0.0" - mem "^4.0.0" - -os-tmpdir@^1.0.0: - version "1.0.2" - resolved "https://registry.yarnpkg.com/os-tmpdir/-/os-tmpdir-1.0.2.tgz#bbe67406c79aa85c5cfec766fe5734555dfa1274" - integrity sha1-u+Z0BseaqFxc/sdm/lc0VV36EnQ= - -osenv@^0.1.4: - version "0.1.5" - resolved "https://registry.yarnpkg.com/osenv/-/osenv-0.1.5.tgz#85cdfafaeb28e8677f416e287592b5f3f49ea410" - integrity sha512-0CWcCECdMVc2Rw3U5w9ZjqX6ga6ubk1xDVKxtBQPK7wis/0F2r9T6k4ydGYhecl7YUBxBVxhL5oisPsNxAPe2g== - dependencies: - os-homedir "^1.0.0" - os-tmpdir "^1.0.0" - -own-or-env@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/own-or-env/-/own-or-env-1.0.1.tgz#54ce601d3bf78236c5c65633aa1c8ec03f8007e4" - integrity sha512-y8qULRbRAlL6x2+M0vIe7jJbJx/kmUTzYonRAa2ayesR2qWLswninkVyeJe4x3IEXhdgoNodzjQRKAoEs6Fmrw== - dependencies: - own-or "^1.0.0" - -own-or@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/own-or/-/own-or-1.0.0.tgz#4e877fbeda9a2ec8000fbc0bcae39645ee8bf8dc" - integrity sha1-Tod/vtqaLsgAD7wLyuOWRe6L+Nw= - -p-defer@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/p-defer/-/p-defer-1.0.0.tgz#9f6eb182f6c9aa8cd743004a7d4f96b196b0fb0c" - integrity sha1-n26xgvbJqozXQwBKfU+WsZaw+ww= - -p-finally@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/p-finally/-/p-finally-1.0.0.tgz#3fbcfb15b899a44123b34b6dcc18b724336a2cae" - integrity sha1-P7z7FbiZpEEjs0ttzBi3JDNqLK4= - -p-is-promise@^2.0.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/p-is-promise/-/p-is-promise-2.1.0.tgz#918cebaea248a62cf7ffab8e3bca8c5f882fc42e" - integrity sha512-Y3W0wlRPK8ZMRbNq97l4M5otioeA5lm1z7bkNkxCka8HSPjR0xRWmpCmc9utiaLP9Jb1eD8BgeIxTW4AIF45Pg== - -p-limit@^2.0.0: - version "2.2.1" - resolved "https://registry.yarnpkg.com/p-limit/-/p-limit-2.2.1.tgz#aa07a788cc3151c939b5131f63570f0dd2009537" - integrity sha512-85Tk+90UCVWvbDavCLKPOLC9vvY8OwEX/RtKF+/1OADJMVlFfEHOiMTPVyxg7mk/dKa+ipdHm0OUkTvCpMTuwg== - dependencies: - p-try "^2.0.0" - -p-locate@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/p-locate/-/p-locate-3.0.0.tgz#322d69a05c0264b25997d9f40cd8a891ab0064a4" - integrity sha512-x+12w/To+4GFfgJhBEpiDcLozRJGegY+Ei7/z0tSLkMmxGZNybVMSfWj9aJn8Z5Fc7dBUNJOOVgPv2H7IwulSQ== - dependencies: - p-limit "^2.0.0" - -p-try@^2.0.0: - version "2.2.0" - resolved "https://registry.yarnpkg.com/p-try/-/p-try-2.2.0.tgz#cb2868540e313d61de58fafbe35ce9004d5540e6" - integrity sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ== - -package-hash@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/package-hash/-/package-hash-3.0.0.tgz#50183f2d36c9e3e528ea0a8605dff57ce976f88e" - integrity sha512-lOtmukMDVvtkL84rJHI7dpTYq+0rli8N2wlnqUcBuDWCfVhRUfOmnR9SsoHFMLpACvEV60dX7rd0rFaYDZI+FA== - dependencies: - graceful-fs "^4.1.15" - hasha "^3.0.0" - lodash.flattendeep "^4.4.0" - release-zalgo "^1.0.0" - -pako@~1.0.5: - version "1.0.10" - resolved "https://registry.yarnpkg.com/pako/-/pako-1.0.10.tgz#4328badb5086a426aa90f541977d4955da5c9732" - integrity sha512-0DTvPVU3ed8+HNXOu5Bs+o//Mbdj9VNQMUOe9oKCwh8l0GNwpTDMKCWbRjgtD291AWnkAgkqA/LOnQS8AmS1tw== - -parallel-transform@^1.1.0: - version "1.2.0" - resolved "https://registry.yarnpkg.com/parallel-transform/-/parallel-transform-1.2.0.tgz#9049ca37d6cb2182c3b1d2c720be94d14a5814fc" - integrity sha512-P2vSmIu38uIlvdcU7fDkyrxj33gTUy/ABO5ZUbGowxNCopBq/OoD42bP4UmMrJoPyk4Uqf0mu3mtWBhHCZD8yg== - dependencies: - cyclist "^1.0.1" - inherits "^2.0.3" - readable-stream "^2.1.5" - -parse-asn1@^5.0.0: - version "5.1.5" - resolved "https://registry.yarnpkg.com/parse-asn1/-/parse-asn1-5.1.5.tgz#003271343da58dc94cace494faef3d2147ecea0e" - integrity sha512-jkMYn1dcJqF6d5CpU689bq7w/b5ALS9ROVSpQDPrZsqqesUJii9qutvoT5ltGedNXMO2e16YUWIghG9KxaViTQ== - dependencies: - asn1.js "^4.0.0" - browserify-aes "^1.0.0" - create-hash "^1.1.0" - evp_bytestokey "^1.0.0" - pbkdf2 "^3.0.3" - safe-buffer "^5.1.1" - -parse-json@^4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/parse-json/-/parse-json-4.0.0.tgz#be35f5425be1f7f6c747184f98a788cb99477ee0" - integrity sha1-vjX1Qlvh9/bHRxhPmKeIy5lHfuA= - dependencies: - error-ex "^1.3.1" - json-parse-better-errors "^1.0.1" - -parse-passwd@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/parse-passwd/-/parse-passwd-1.0.0.tgz#6d5b934a456993b23d37f40a382d6f1666a8e5c6" - integrity sha1-bVuTSkVpk7I9N/QKOC1vFmao5cY= - -pascalcase@^0.1.1: - version "0.1.1" - resolved "https://registry.yarnpkg.com/pascalcase/-/pascalcase-0.1.1.tgz#b363e55e8006ca6fe21784d2db22bd15d7917f14" - integrity sha1-s2PlXoAGym/iF4TS2yK9FdeRfxQ= - -path-browserify@0.0.1: - version "0.0.1" - resolved "https://registry.yarnpkg.com/path-browserify/-/path-browserify-0.0.1.tgz#e6c4ddd7ed3aa27c68a20cc4e50e1a4ee83bbc4a" - integrity sha512-BapA40NHICOS+USX9SN4tyhq+A2RrN/Ws5F0Z5aMHDp98Fl86lX8Oti8B7uN93L4Ifv4fHOEA+pQw87gmMO/lQ== - -path-dirname@^1.0.0: - version "1.0.2" - resolved "https://registry.yarnpkg.com/path-dirname/-/path-dirname-1.0.2.tgz#cc33d24d525e099a5388c0336c6e32b9160609e0" - integrity sha1-zDPSTVJeCZpTiMAzbG4yuRYGCeA= - -path-exists@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/path-exists/-/path-exists-3.0.0.tgz#ce0ebeaa5f78cb18925ea7d810d7b59b010fd515" - integrity sha1-zg6+ql94yxiSXqfYENe1mwEP1RU= - -path-is-absolute@^1.0.0: - version "1.0.1" - resolved "https://registry.yarnpkg.com/path-is-absolute/-/path-is-absolute-1.0.1.tgz#174b9268735534ffbc7ace6bf53a5a9e1b5c5f5f" - integrity sha1-F0uSaHNVNP+8es5r9TpanhtcX18= - -path-key@^2.0.0, path-key@^2.0.1: - version "2.0.1" - resolved "https://registry.yarnpkg.com/path-key/-/path-key-2.0.1.tgz#411cadb574c5a140d3a4b1910d40d80cc9f40b40" - integrity sha1-QRyttXTFoUDTpLGRDUDYDMn0C0A= - -path-parse@^1.0.6: - version "1.0.6" - resolved "https://registry.yarnpkg.com/path-parse/-/path-parse-1.0.6.tgz#d62dbb5679405d72c4737ec58600e9ddcf06d24c" - integrity sha512-GSmOT2EbHrINBf9SR7CDELwlJ8AENk3Qn7OikK4nFYAu3Ote2+JYNVvkpAEQm3/TLNEJFD/xZJjzyxg3KBWOzw== - -path-type@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/path-type/-/path-type-3.0.0.tgz#cef31dc8e0a1a3bb0d105c0cd97cf3bf47f4e36f" - integrity sha512-T2ZUsdZFHgA3u4e5PfPbjd7HDDpxPnQb5jN0SrDsjNSuVXHJqtwTnWqG0B1jZrgmJ/7lj1EmVIByWt1gxGkWvg== - dependencies: - pify "^3.0.0" - -pbkdf2@^3.0.3: - version "3.0.17" - resolved "https://registry.yarnpkg.com/pbkdf2/-/pbkdf2-3.0.17.tgz#976c206530617b14ebb32114239f7b09336e93a6" - integrity sha512-U/il5MsrZp7mGg3mSQfn742na2T+1/vHDCG5/iTI3X9MKUuYUZVLQhyRsg06mCgDBTd57TxzgZt7P+fYfjRLtA== - dependencies: - create-hash "^1.1.2" - create-hmac "^1.1.4" - ripemd160 "^2.0.1" - safe-buffer "^5.0.1" - sha.js "^2.4.8" - -performance-now@^2.1.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/performance-now/-/performance-now-2.1.0.tgz#6309f4e0e5fa913ec1c69307ae364b4b377c9e7b" - integrity sha1-Ywn04OX6kT7BxpMHrjZLSzd8nns= - -pify@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/pify/-/pify-3.0.0.tgz#e5a4acd2c101fdf3d9a4d07f0dbc4db49dd28176" - integrity sha1-5aSs0sEB/fPZpNB/DbxNtJ3SgXY= - -pify@^4.0.1: - version "4.0.1" - resolved "https://registry.yarnpkg.com/pify/-/pify-4.0.1.tgz#4b2cd25c50d598735c50292224fd8c6df41e3231" - integrity sha512-uB80kBFb/tfd68bVleG9T5GGsGPjJrLAUpR5PZIrhBnIaRTQRjqdJSsIKkOP6OAIFbj7GOrcudc5pNjZ+geV2g== - -pkg-dir@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/pkg-dir/-/pkg-dir-3.0.0.tgz#2749020f239ed990881b1f71210d51eb6523bea3" - integrity sha512-/E57AYkoeQ25qkxMj5PBOVgF8Kiu/h7cYS30Z5+R7WaiCCBfLq58ZI/dSeaEKb9WVJV5n/03QwrN3IeWIFllvw== - dependencies: - find-up "^3.0.0" - -posix-character-classes@^0.1.0: - version "0.1.1" - resolved "https://registry.yarnpkg.com/posix-character-classes/-/posix-character-classes-0.1.1.tgz#01eac0fe3b5af71a2a6c02feabb8c1fef7e00eab" - integrity sha1-AerA/jta9xoqbAL+q7jB/vfgDqs= - -process-nextick-args@~2.0.0: - version "2.0.1" - resolved "https://registry.yarnpkg.com/process-nextick-args/-/process-nextick-args-2.0.1.tgz#7820d9b16120cc55ca9ae7792680ae7dba6d7fe2" - integrity sha512-3ouUOpQhtgrbOa17J7+uxOTpITYWaGP7/AhoR3+A+/1e9skrzelGi/dXzEYyvbxubEF6Wn2ypscTKiKJFFn1ag== - -process@^0.11.10: - version "0.11.10" - resolved "https://registry.yarnpkg.com/process/-/process-0.11.10.tgz#7332300e840161bda3e69a1d1d91a7d4bc16f182" - integrity sha1-czIwDoQBYb2j5podHZGn1LwW8YI= - -promise-inflight@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/promise-inflight/-/promise-inflight-1.0.1.tgz#98472870bf228132fcbdd868129bad12c3c029e3" - integrity sha1-mEcocL8igTL8vdhoEputEsPAKeM= - -protobufjs@^6.8.8: - version "6.8.8" - resolved "https://registry.yarnpkg.com/protobufjs/-/protobufjs-6.8.8.tgz#c8b4f1282fd7a90e6f5b109ed11c84af82908e7c" - integrity sha512-AAmHtD5pXgZfi7GMpllpO3q1Xw1OYldr+dMUlAnffGTAhqkg72WdmSY71uKBF/JuyiKs8psYbtKrhi0ASCD8qw== - dependencies: - "@protobufjs/aspromise" "^1.1.2" - "@protobufjs/base64" "^1.1.2" - "@protobufjs/codegen" "^2.0.4" - "@protobufjs/eventemitter" "^1.1.0" - "@protobufjs/fetch" "^1.1.0" - "@protobufjs/float" "^1.0.2" - "@protobufjs/inquire" "^1.1.0" - "@protobufjs/path" "^1.1.2" - "@protobufjs/pool" "^1.1.0" - "@protobufjs/utf8" "^1.1.0" - "@types/long" "^4.0.0" - "@types/node" "^10.1.0" - long "^4.0.0" - -prr@~1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/prr/-/prr-1.0.1.tgz#d3fc114ba06995a45ec6893f484ceb1d78f5f476" - integrity sha1-0/wRS6BplaRexok/SEzrHXj19HY= - -pseudomap@^1.0.2: - version "1.0.2" - resolved "https://registry.yarnpkg.com/pseudomap/-/pseudomap-1.0.2.tgz#f052a28da70e618917ef0a8ac34c1ae5a68286b3" - integrity sha1-8FKijacOYYkX7wqKw0wa5aaChrM= - -psl@^1.1.24: - version "1.4.0" - resolved "https://registry.yarnpkg.com/psl/-/psl-1.4.0.tgz#5dd26156cdb69fa1fdb8ab1991667d3f80ced7c2" - integrity sha512-HZzqCGPecFLyoRj5HLfuDSKYTJkAfB5thKBIkRHtGjWwY7p1dAyveIbXIq4tO0KYfDF2tHqPUgY9SDnGm00uFw== - -public-encrypt@^4.0.0: - version "4.0.3" - resolved "https://registry.yarnpkg.com/public-encrypt/-/public-encrypt-4.0.3.tgz#4fcc9d77a07e48ba7527e7cbe0de33d0701331e0" - integrity sha512-zVpa8oKZSz5bTMTFClc1fQOnyyEzpl5ozpi1B5YcvBrdohMjH2rfsBtyXcuNuwjsDIXmBYlF2N5FlJYhR29t8Q== - dependencies: - bn.js "^4.1.0" - browserify-rsa "^4.0.0" - create-hash "^1.1.0" - parse-asn1 "^5.0.0" - randombytes "^2.0.1" - safe-buffer "^5.1.2" - -pump@^2.0.0: - version "2.0.1" - resolved "https://registry.yarnpkg.com/pump/-/pump-2.0.1.tgz#12399add6e4cf7526d973cbc8b5ce2e2908b3909" - integrity sha512-ruPMNRkN3MHP1cWJc9OWr+T/xDP0jhXYCLfJcBuX54hhfIBnaQmAUMfDcG4DM5UMWByBbJY69QSphm3jtDKIkA== - dependencies: - end-of-stream "^1.1.0" - once "^1.3.1" - -pump@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/pump/-/pump-3.0.0.tgz#b4a2116815bde2f4e1ea602354e8c75565107a64" - integrity sha512-LwZy+p3SFs1Pytd/jYct4wpv49HiYCqd9Rlc5ZVdk0V+8Yzv6jR5Blk3TRmPL1ft69TxP0IMZGJ+WPFU2BFhww== - dependencies: - end-of-stream "^1.1.0" - once "^1.3.1" - -pumpify@^1.3.3: - version "1.5.1" - resolved "https://registry.yarnpkg.com/pumpify/-/pumpify-1.5.1.tgz#36513be246ab27570b1a374a5ce278bfd74370ce" - integrity sha512-oClZI37HvuUJJxSKKrC17bZ9Cu0ZYhEAGPsPUy9KlMUmv9dKX2o77RUmq7f3XjIxbwyGwYzbzQ1L2Ks8sIradQ== - dependencies: - duplexify "^3.6.0" - inherits "^2.0.3" - pump "^2.0.0" - -punycode@1.3.2: - version "1.3.2" - resolved "https://registry.yarnpkg.com/punycode/-/punycode-1.3.2.tgz#9653a036fb7c1ee42342f2325cceefea3926c48d" - integrity sha1-llOgNvt8HuQjQvIyXM7v6jkmxI0= - -punycode@^1.2.4, punycode@^1.3.2, punycode@^1.4.1: - version "1.4.1" - resolved "https://registry.yarnpkg.com/punycode/-/punycode-1.4.1.tgz#c0d5a63b2718800ad8e1eb0fa5269c84dd41845e" - integrity sha1-wNWmOycYgArY4esPpSachN1BhF4= - -punycode@^2.1.0: - version "2.1.1" - resolved "https://registry.yarnpkg.com/punycode/-/punycode-2.1.1.tgz#b58b010ac40c22c5657616c8d2c2c02c7bf479ec" - integrity sha512-XRsRjdf+j5ml+y/6GKHPZbrF/8p2Yga0JPtdqTIY2Xe5ohJPD9saDJJLPvp9+NSBprVvevdXZybnj2cv8OEd0A== - -qs@~6.5.2: - version "6.5.2" - resolved "https://registry.yarnpkg.com/qs/-/qs-6.5.2.tgz#cb3ae806e8740444584ef154ce8ee98d403f3e36" - integrity sha512-N5ZAX4/LxJmF+7wN74pUD6qAh9/wnvdQcjq9TZjevvXzSUo7bfmw91saqMjzGS2xq91/odN2dW/WOl7qQHNDGA== - -querystring-es3@^0.2.0: - version "0.2.1" - resolved "https://registry.yarnpkg.com/querystring-es3/-/querystring-es3-0.2.1.tgz#9ec61f79049875707d69414596fd907a4d711e73" - integrity sha1-nsYfeQSYdXB9aUFFlv2Qek1xHnM= - -querystring@0.2.0: - version "0.2.0" - resolved "https://registry.yarnpkg.com/querystring/-/querystring-0.2.0.tgz#b209849203bb25df820da756e747005878521620" - integrity sha1-sgmEkgO7Jd+CDadW50cAWHhSFiA= - -randombytes@^2.0.0, randombytes@^2.0.1, randombytes@^2.0.5: - version "2.1.0" - resolved "https://registry.yarnpkg.com/randombytes/-/randombytes-2.1.0.tgz#df6f84372f0270dc65cdf6291349ab7a473d4f2a" - integrity sha512-vYl3iOX+4CKUWuxGi9Ukhie6fsqXqS9FE2Zaic4tNFD2N2QQaXOMFbuKK4QmDHC0JO6B1Zp41J0LpT0oR68amQ== - dependencies: - safe-buffer "^5.1.0" - -randomfill@^1.0.3: - version "1.0.4" - resolved "https://registry.yarnpkg.com/randomfill/-/randomfill-1.0.4.tgz#c92196fc86ab42be983f1bf31778224931d61458" - integrity sha512-87lcbR8+MhcWcUiQ+9e+Rwx8MyR2P7qnt15ynUlbm3TU/fjbgz4GsvfSUDTemtCCtVCqb4ZcEFlyPNTh9bBTLw== - dependencies: - randombytes "^2.0.5" - safe-buffer "^5.1.0" - -rc@^1.2.7: - version "1.2.8" - resolved "https://registry.yarnpkg.com/rc/-/rc-1.2.8.tgz#cd924bf5200a075b83c188cd6b9e211b7fc0d3ed" - integrity sha512-y3bGgqKj3QBdxLbLkomlohkvsA8gdAiUQlSBJnBhfn+BPxg4bc62d8TcBW15wavDfgexCgccckhcZvywyQYPOw== - dependencies: - deep-extend "^0.6.0" - ini "~1.3.0" - minimist "^1.2.0" - strip-json-comments "~2.0.1" - -read-pkg-up@^4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/read-pkg-up/-/read-pkg-up-4.0.0.tgz#1b221c6088ba7799601c808f91161c66e58f8978" - integrity sha512-6etQSH7nJGsK0RbG/2TeDzZFa8shjQ1um+SwQQ5cwKy0dhSXdOncEhb1CPpvQG4h7FyOV6EB6YlV0yJvZQNAkA== - dependencies: - find-up "^3.0.0" - read-pkg "^3.0.0" - -read-pkg@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/read-pkg/-/read-pkg-3.0.0.tgz#9cbc686978fee65d16c00e2b19c237fcf6e38389" - integrity sha1-nLxoaXj+5l0WwA4rGcI3/Pbjg4k= - dependencies: - load-json-file "^4.0.0" - normalize-package-data "^2.3.2" - path-type "^3.0.0" - -"readable-stream@1 || 2", readable-stream@^2, readable-stream@^2.0.0, readable-stream@^2.0.1, readable-stream@^2.0.2, readable-stream@^2.0.6, readable-stream@^2.1.5, readable-stream@^2.2.2, readable-stream@^2.3.3, readable-stream@^2.3.6, readable-stream@~2.3.6: - version "2.3.6" - resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-2.3.6.tgz#b11c27d88b8ff1fbe070643cf94b0c79ae1b0aaf" - integrity sha512-tQtKA9WIAhBF3+VLAseyMqZeBjW0AHJoxOtYqSUZNJxauErmLbVm2FW1y+J/YA9dUrAC39ITejlZWhVIwawkKw== - dependencies: - core-util-is "~1.0.0" - inherits "~2.0.3" - isarray "~1.0.0" - process-nextick-args "~2.0.0" - safe-buffer "~5.1.1" - string_decoder "~1.1.1" - util-deprecate "~1.0.1" - -readdirp@^2.2.1: - version "2.2.1" - resolved "https://registry.yarnpkg.com/readdirp/-/readdirp-2.2.1.tgz#0e87622a3325aa33e892285caf8b4e846529a525" - integrity sha512-1JU/8q+VgFZyxwrJ+SVIOsh+KywWGpds3NTqikiKpDMZWScmAYyKIgqkO+ARvNWJfXeXR1zxz7aHF4u4CyH6vQ== - dependencies: - graceful-fs "^4.1.11" - micromatch "^3.1.10" - readable-stream "^2.0.2" - -regex-not@^1.0.0, regex-not@^1.0.2: - version "1.0.2" - resolved "https://registry.yarnpkg.com/regex-not/-/regex-not-1.0.2.tgz#1f4ece27e00b0b65e0247a6810e6a85d83a5752c" - integrity sha512-J6SDjUgDxQj5NusnOtdFxDwN/+HWykR8GELwctJ7mdqhcyy1xEc4SRFHUXvxTp661YaVKAjfRLZ9cCqS6tn32A== - dependencies: - extend-shallow "^3.0.2" - safe-regex "^1.1.0" - -release-zalgo@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/release-zalgo/-/release-zalgo-1.0.0.tgz#09700b7e5074329739330e535c5a90fb67851730" - integrity sha1-CXALflB0Mpc5Mw5TXFqQ+2eFFzA= - dependencies: - es6-error "^4.0.1" - -remove-trailing-separator@^1.0.1: - version "1.1.0" - resolved "https://registry.yarnpkg.com/remove-trailing-separator/-/remove-trailing-separator-1.1.0.tgz#c24bce2a283adad5bc3f58e0d48249b92379d8ef" - integrity sha1-wkvOKig62tW8P1jg1IJJuSN52O8= - -repeat-element@^1.1.2: - version "1.1.3" - resolved "https://registry.yarnpkg.com/repeat-element/-/repeat-element-1.1.3.tgz#782e0d825c0c5a3bb39731f84efee6b742e6b1ce" - integrity sha512-ahGq0ZnV5m5XtZLMb+vP76kcAM5nkLqk0lpqAuojSKGgQtn4eRi4ZZGm2olo2zKFH+sMsWaqOCW1dqAnOru72g== - -repeat-string@^1.6.1: - version "1.6.1" - resolved "https://registry.yarnpkg.com/repeat-string/-/repeat-string-1.6.1.tgz#8dcae470e1c88abc2d600fff4a776286da75e637" - integrity sha1-jcrkcOHIirwtYA//Sndihtp15jc= - -request@^2.86.0: - version "2.88.0" - resolved "https://registry.yarnpkg.com/request/-/request-2.88.0.tgz#9c2fca4f7d35b592efe57c7f0a55e81052124fef" - integrity sha512-NAqBSrijGLZdM0WZNsInLJpkJokL72XYjUpnB0iwsRgxh7dB6COrHnTBNwN0E+lHDAJzu7kLAkDeY08z2/A0hg== - dependencies: - aws-sign2 "~0.7.0" - aws4 "^1.8.0" - caseless "~0.12.0" - combined-stream "~1.0.6" - extend "~3.0.2" - forever-agent "~0.6.1" - form-data "~2.3.2" - har-validator "~5.1.0" - http-signature "~1.2.0" - is-typedarray "~1.0.0" - isstream "~0.1.2" - json-stringify-safe "~5.0.1" - mime-types "~2.1.19" - oauth-sign "~0.9.0" - performance-now "^2.1.0" - qs "~6.5.2" - safe-buffer "^5.1.2" - tough-cookie "~2.4.3" - tunnel-agent "^0.6.0" - uuid "^3.3.2" - -require-directory@^2.1.1: - version "2.1.1" - resolved "https://registry.yarnpkg.com/require-directory/-/require-directory-2.1.1.tgz#8c64ad5fd30dab1c976e2344ffe7f792a6a6df42" - integrity sha1-jGStX9MNqxyXbiNE/+f3kqam30I= - -require-main-filename@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/require-main-filename/-/require-main-filename-2.0.0.tgz#d0b329ecc7cc0f61649f62215be69af54aa8989b" - integrity sha512-NKN5kMDylKuldxYLSUfrbo5Tuzh4hd+2E8NPPX02mZtn1VuREQToYe/ZdlJy+J3uCpfaiGF05e7B8W0iXbQHmg== - -requizzle@^0.2.3: - version "0.2.3" - resolved "https://registry.yarnpkg.com/requizzle/-/requizzle-0.2.3.tgz#4675c90aacafb2c036bd39ba2daa4a1cb777fded" - integrity sha512-YanoyJjykPxGHii0fZP0uUPEXpvqfBDxWV7s6GKAiiOsiqhX6vHNyW3Qzdmqp/iq/ExbhaGbVrjB4ruEVSM4GQ== - dependencies: - lodash "^4.17.14" - -resolve-cwd@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/resolve-cwd/-/resolve-cwd-2.0.0.tgz#00a9f7387556e27038eae232caa372a6a59b665a" - integrity sha1-AKn3OHVW4nA46uIyyqNypqWbZlo= - dependencies: - resolve-from "^3.0.0" - -resolve-dir@^1.0.0, resolve-dir@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/resolve-dir/-/resolve-dir-1.0.1.tgz#79a40644c362be82f26effe739c9bb5382046f43" - integrity sha1-eaQGRMNivoLybv/nOcm7U4IEb0M= - dependencies: - expand-tilde "^2.0.0" - global-modules "^1.0.0" - -resolve-from@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/resolve-from/-/resolve-from-3.0.0.tgz#b22c7af7d9d6881bc8b6e653335eebcb0a188748" - integrity sha1-six699nWiBvItuZTM17rywoYh0g= - -resolve-from@^4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/resolve-from/-/resolve-from-4.0.0.tgz#4abcd852ad32dd7baabfe9b40e00a36db5f392e6" - integrity sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g== - -resolve-url@^0.2.1: - version "0.2.1" - resolved "https://registry.yarnpkg.com/resolve-url/-/resolve-url-0.2.1.tgz#2c637fe77c893afd2a663fe21aa9080068e2052a" - integrity sha1-LGN/53yJOv0qZj/iGqkIAGjiBSo= - -resolve@^1.10.0: - version "1.12.0" - resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.12.0.tgz#3fc644a35c84a48554609ff26ec52b66fa577df6" - integrity sha512-B/dOmuoAik5bKcD6s6nXDCjzUKnaDvdkRyAk6rsmsKLipWj4797iothd7jmmUhWTfinVMU+wc56rYKsit2Qy4w== - dependencies: - path-parse "^1.0.6" - -ret@~0.1.10: - version "0.1.15" - resolved "https://registry.yarnpkg.com/ret/-/ret-0.1.15.tgz#b8a4825d5bdb1fc3f6f53c2bc33f81388681c7bc" - integrity sha512-TTlYpa+OL+vMMNG24xSlQGEJ3B/RzEfUlLct7b5G/ytav+wPrplCpVMFuwzXbkecJrb6IYo1iFb0S9v37754mg== - -rimraf@^2.5.4, rimraf@^2.6.1, rimraf@^2.6.2, rimraf@^2.6.3: - version "2.7.1" - resolved "https://registry.yarnpkg.com/rimraf/-/rimraf-2.7.1.tgz#35797f13a7fdadc566142c29d4f07ccad483e3ec" - integrity sha512-uWjbaKIK3T1OSVptzX7Nl6PvQ3qAGtKEtVRjRuazjfL3Bx5eI409VZSqgND+4UNnmzLVdPj9FqFJNPqBZFve4w== - dependencies: - glob "^7.1.3" - -ripemd160@^2.0.0, ripemd160@^2.0.1: - version "2.0.2" - resolved "https://registry.yarnpkg.com/ripemd160/-/ripemd160-2.0.2.tgz#a1c1a6f624751577ba5d07914cbc92850585890c" - integrity sha512-ii4iagi25WusVoiC4B4lq7pbXfAp3D9v5CwfkY33vffw2+pkDjY1D8GaN7spsxvCSx8dkPqOZCEZyfxcmJG2IA== - dependencies: - hash-base "^3.0.0" - inherits "^2.0.1" - -run-queue@^1.0.0, run-queue@^1.0.3: - version "1.0.3" - resolved "https://registry.yarnpkg.com/run-queue/-/run-queue-1.0.3.tgz#e848396f057d223f24386924618e25694161ec47" - integrity sha1-6Eg5bwV9Ij8kOGkkYY4laUFh7Ec= - dependencies: - aproba "^1.1.1" - -safe-buffer@^5.0.1, safe-buffer@^5.1.0, safe-buffer@^5.1.1, safe-buffer@^5.1.2, safe-buffer@~5.2.0: - version "5.2.0" - resolved "https://registry.yarnpkg.com/safe-buffer/-/safe-buffer-5.2.0.tgz#b74daec49b1148f88c64b68d49b1e815c1f2f519" - integrity sha512-fZEwUGbVl7kouZs1jCdMLdt95hdIv0ZeHg6L7qPeciMZhZ+/gdesW4wgTARkrFWEpspjEATAzUGPG8N2jJiwbg== - -safe-buffer@~5.1.0, safe-buffer@~5.1.1: - version "5.1.2" - resolved "https://registry.yarnpkg.com/safe-buffer/-/safe-buffer-5.1.2.tgz#991ec69d296e0313747d59bdfd2b745c35f8828d" - integrity sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g== - -safe-regex@^1.1.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/safe-regex/-/safe-regex-1.1.0.tgz#40a3669f3b077d1e943d44629e157dd48023bf2e" - integrity sha1-QKNmnzsHfR6UPURinhV91IAjvy4= - dependencies: - ret "~0.1.10" - -"safer-buffer@>= 2.1.2 < 3", safer-buffer@^2.0.2, safer-buffer@^2.1.0, safer-buffer@~2.1.0: - version "2.1.2" - resolved "https://registry.yarnpkg.com/safer-buffer/-/safer-buffer-2.1.2.tgz#44fa161b0187b9549dd84bb91802f9bd8385cd6a" - integrity sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg== - -sax@^1.2.4: - version "1.2.4" - resolved "https://registry.yarnpkg.com/sax/-/sax-1.2.4.tgz#2816234e2378bddc4e5354fab5caa895df7100d9" - integrity sha512-NqVDv9TpANUjFm0N8uM5GxL36UgKi9/atZw+x7YFnQ8ckwFGKrl4xX4yWtrey3UJm5nP1kUbnYgLopqWNSRhWw== - -schema-utils@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/schema-utils/-/schema-utils-1.0.0.tgz#0b79a93204d7b600d4b2850d1f66c2a34951c770" - integrity sha512-i27Mic4KovM/lnGsy8whRCHhc7VicJajAjTrYg11K9zfZXnYIt4k5F+kZkwjnrhKzLic/HLU4j11mjsz2G/75g== - dependencies: - ajv "^6.1.0" - ajv-errors "^1.0.0" - ajv-keywords "^3.1.0" - -"semver@2 || 3 || 4 || 5", semver@^5.3.0, semver@^5.5.0, semver@^5.6.0: - version "5.7.1" - resolved "https://registry.yarnpkg.com/semver/-/semver-5.7.1.tgz#a954f931aeba508d307bbf069eff0c01c96116f7" - integrity sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ== - -semver@^6.0.0: - version "6.3.0" - resolved "https://registry.yarnpkg.com/semver/-/semver-6.3.0.tgz#ee0a64c8af5e8ceea67687b133761e1becbd1d3d" - integrity sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw== - -serialize-javascript@^1.7.0: - version "1.9.1" - resolved "https://registry.yarnpkg.com/serialize-javascript/-/serialize-javascript-1.9.1.tgz#cfc200aef77b600c47da9bb8149c943e798c2fdb" - integrity sha512-0Vb/54WJ6k5v8sSWN09S0ora+Hnr+cX40r9F170nT+mSkaxltoE/7R3OrIdBSUv1OoiobH1QoWQbCnAO+e8J1A== - -set-blocking@^2.0.0, set-blocking@~2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/set-blocking/-/set-blocking-2.0.0.tgz#045f9782d011ae9a6803ddd382b24392b3d890f7" - integrity sha1-BF+XgtARrppoA93TgrJDkrPYkPc= - -set-value@^2.0.0, set-value@^2.0.1: - version "2.0.1" - resolved "https://registry.yarnpkg.com/set-value/-/set-value-2.0.1.tgz#a18d40530e6f07de4228c7defe4227af8cad005b" - integrity sha512-JxHc1weCN68wRY0fhCoXpyK55m/XPHafOmK4UWD7m2CI14GMcFypt4w/0+NV5f/ZMby2F6S2wwA7fgynh9gWSw== - dependencies: - extend-shallow "^2.0.1" - is-extendable "^0.1.1" - is-plain-object "^2.0.3" - split-string "^3.0.1" - -setimmediate@^1.0.4: - version "1.0.5" - resolved "https://registry.yarnpkg.com/setimmediate/-/setimmediate-1.0.5.tgz#290cbb232e306942d7d7ea9b83732ab7856f8285" - integrity sha1-KQy7Iy4waULX1+qbg3Mqt4VvgoU= - -sha.js@^2.4.0, sha.js@^2.4.8: - version "2.4.11" - resolved "https://registry.yarnpkg.com/sha.js/-/sha.js-2.4.11.tgz#37a5cf0b81ecbc6943de109ba2960d1b26584ae7" - integrity sha512-QMEp5B7cftE7APOjk5Y6xgrbWu+WkLVQwk8JNjZ8nKRciZaByEW6MubieAiToS7+dwvrjGhH8jRXz3MVd0AYqQ== - dependencies: - inherits "^2.0.1" - safe-buffer "^5.0.1" - -shebang-command@^1.2.0: - version "1.2.0" - resolved "https://registry.yarnpkg.com/shebang-command/-/shebang-command-1.2.0.tgz#44aac65b695b03398968c39f363fee5deafdf1ea" - integrity sha1-RKrGW2lbAzmJaMOfNj/uXer98eo= - dependencies: - shebang-regex "^1.0.0" - -shebang-regex@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/shebang-regex/-/shebang-regex-1.0.0.tgz#da42f49740c0b42db2ca9728571cb190c98efea3" - integrity sha1-2kL0l0DAtC2yypcoVxyxkMmO/qM= - -signal-exit@^3.0.0, signal-exit@^3.0.2: - version "3.0.2" - resolved "https://registry.yarnpkg.com/signal-exit/-/signal-exit-3.0.2.tgz#b5fdc08f1287ea1178628e415e25132b73646c6d" - integrity sha1-tf3AjxKH6hF4Yo5BXiUTK3NkbG0= - -snapdragon-node@^2.0.1: - version "2.1.1" - resolved "https://registry.yarnpkg.com/snapdragon-node/-/snapdragon-node-2.1.1.tgz#6c175f86ff14bdb0724563e8f3c1b021a286853b" - integrity sha512-O27l4xaMYt/RSQ5TR3vpWCAB5Kb/czIcqUFOM/C4fYcLnbZUc1PkjTAMjof2pBWaSTwOUd6qUHcFGVGj7aIwnw== - dependencies: - define-property "^1.0.0" - isobject "^3.0.0" - snapdragon-util "^3.0.1" - -snapdragon-util@^3.0.1: - version "3.0.1" - resolved "https://registry.yarnpkg.com/snapdragon-util/-/snapdragon-util-3.0.1.tgz#f956479486f2acd79700693f6f7b805e45ab56e2" - integrity sha512-mbKkMdQKsjX4BAL4bRYTj21edOf8cN7XHdYUJEe+Zn99hVEYcMvKPct1IqNe7+AZPirn8BCDOQBHQZknqmKlZQ== - dependencies: - kind-of "^3.2.0" - -snapdragon@^0.8.1: - version "0.8.2" - resolved "https://registry.yarnpkg.com/snapdragon/-/snapdragon-0.8.2.tgz#64922e7c565b0e14204ba1aa7d6964278d25182d" - integrity sha512-FtyOnWN/wCHTVXOMwvSv26d+ko5vWlIDD6zoUJ7LW8vh+ZBC8QdljveRP+crNrtBwioEUWy/4dMtbBjA4ioNlg== - dependencies: - base "^0.11.1" - debug "^2.2.0" - define-property "^0.2.5" - extend-shallow "^2.0.1" - map-cache "^0.2.2" - source-map "^0.5.6" - source-map-resolve "^0.5.0" - use "^3.1.0" - -source-list-map@^2.0.0: - version "2.0.1" - resolved "https://registry.yarnpkg.com/source-list-map/-/source-list-map-2.0.1.tgz#3993bd873bfc48479cca9ea3a547835c7c154b34" - integrity sha512-qnQ7gVMxGNxsiL4lEuJwe/To8UnK7fAnmbGEEH8RpLouuKbeEm0lhbQVFIrNSuB+G7tVrAlVsZgETT5nljf+Iw== - -source-map-resolve@^0.5.0: - version "0.5.2" - resolved "https://registry.yarnpkg.com/source-map-resolve/-/source-map-resolve-0.5.2.tgz#72e2cc34095543e43b2c62b2c4c10d4a9054f259" - integrity sha512-MjqsvNwyz1s0k81Goz/9vRBe9SZdB09Bdw+/zYyO+3CuPk6fouTaxscHkgtE8jKvf01kVfl8riHzERQ/kefaSA== - dependencies: - atob "^2.1.1" - decode-uri-component "^0.2.0" - resolve-url "^0.2.1" - source-map-url "^0.4.0" - urix "^0.1.0" - -source-map-support@^0.5.10, source-map-support@^0.5.6, source-map-support@~0.5.12: - version "0.5.16" - resolved "https://registry.yarnpkg.com/source-map-support/-/source-map-support-0.5.16.tgz#0ae069e7fe3ba7538c64c98515e35339eac5a042" - integrity sha512-efyLRJDr68D9hBBNIPWFjhpFzURh+KJykQwvMyW5UiZzYwoF6l4YMMDIJJEyFWxWCqfyxLzz6tSfUFR+kXXsVQ== - dependencies: - buffer-from "^1.0.0" - source-map "^0.6.0" - -source-map-url@^0.4.0: - version "0.4.0" - resolved "https://registry.yarnpkg.com/source-map-url/-/source-map-url-0.4.0.tgz#3e935d7ddd73631b97659956d55128e87b5084a3" - integrity sha1-PpNdfd1zYxuXZZlW1VEo6HtQhKM= - -source-map@^0.5.0, source-map@^0.5.6: - version "0.5.7" - resolved "https://registry.yarnpkg.com/source-map/-/source-map-0.5.7.tgz#8a039d2d1021d22d1ea14c80d8ea468ba2ef3fcc" - integrity sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w= - -source-map@^0.6.0, source-map@^0.6.1, source-map@~0.6.1: - version "0.6.1" - resolved "https://registry.yarnpkg.com/source-map/-/source-map-0.6.1.tgz#74722af32e9614e9c287a8d0bbde48b5e2f1a263" - integrity sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g== - -spawn-wrap@^1.4.2: - version "1.4.3" - resolved "https://registry.yarnpkg.com/spawn-wrap/-/spawn-wrap-1.4.3.tgz#81b7670e170cca247d80bf5faf0cfb713bdcf848" - integrity sha512-IgB8md0QW/+tWqcavuFgKYR/qIRvJkRLPJDFaoXtLLUaVcCDK0+HeFTkmQHj3eprcYhc+gOl0aEA1w7qZlYezw== - dependencies: - foreground-child "^1.5.6" - mkdirp "^0.5.0" - os-homedir "^1.0.1" - rimraf "^2.6.2" - signal-exit "^3.0.2" - which "^1.3.0" - -spdx-correct@^3.0.0: - version "3.1.0" - resolved "https://registry.yarnpkg.com/spdx-correct/-/spdx-correct-3.1.0.tgz#fb83e504445268f154b074e218c87c003cd31df4" - integrity sha512-lr2EZCctC2BNR7j7WzJ2FpDznxky1sjfxvvYEyzxNyb6lZXHODmEoJeFu4JupYlkfha1KZpJyoqiJ7pgA1qq8Q== - dependencies: - spdx-expression-parse "^3.0.0" - spdx-license-ids "^3.0.0" - -spdx-exceptions@^2.1.0: - version "2.2.0" - resolved "https://registry.yarnpkg.com/spdx-exceptions/-/spdx-exceptions-2.2.0.tgz#2ea450aee74f2a89bfb94519c07fcd6f41322977" - integrity sha512-2XQACfElKi9SlVb1CYadKDXvoajPgBVPn/gOQLrTvHdElaVhr7ZEbqJaRnJLVNeaI4cMEAgVCeBMKF6MWRDCRA== - -spdx-expression-parse@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/spdx-expression-parse/-/spdx-expression-parse-3.0.0.tgz#99e119b7a5da00e05491c9fa338b7904823b41d0" - integrity sha512-Yg6D3XpRD4kkOmTpdgbUiEJFKghJH03fiC1OPll5h/0sO6neh2jqRDVHOQ4o/LMea0tgCkbMgea5ip/e+MkWyg== - dependencies: - spdx-exceptions "^2.1.0" - spdx-license-ids "^3.0.0" - -spdx-license-ids@^3.0.0: - version "3.0.5" - resolved "https://registry.yarnpkg.com/spdx-license-ids/-/spdx-license-ids-3.0.5.tgz#3694b5804567a458d3c8045842a6358632f62654" - integrity sha512-J+FWzZoynJEXGphVIS+XEh3kFSjZX/1i9gFBaWQcB+/tmpe2qUsSBABpcxqxnAxFdiUFEgAX1bjYGQvIZmoz9Q== - -split-string@^3.0.1, split-string@^3.0.2: - version "3.1.0" - resolved "https://registry.yarnpkg.com/split-string/-/split-string-3.1.0.tgz#7cb09dda3a86585705c64b39a6466038682e8fe2" - integrity sha512-NzNVhJDYpwceVVii8/Hu6DKfD2G+NrQHlS/V/qgv763EYudVwEcMQNxd2lh+0VrUByXN/oJkl5grOhYWvQUYiw== - dependencies: - extend-shallow "^3.0.0" - -sprintf-js@~1.0.2: - version "1.0.3" - resolved "https://registry.yarnpkg.com/sprintf-js/-/sprintf-js-1.0.3.tgz#04e6926f662895354f3dd015203633b857297e2c" - integrity sha1-BOaSb2YolTVPPdAVIDYzuFcpfiw= - -sshpk@^1.7.0: - version "1.16.1" - resolved "https://registry.yarnpkg.com/sshpk/-/sshpk-1.16.1.tgz#fb661c0bef29b39db40769ee39fa70093d6f6877" - integrity sha512-HXXqVUq7+pcKeLqqZj6mHFUMvXtOJt1uoUx09pFW6011inTMxqI8BA8PM95myrIyyKwdnzjdFjLiE6KBPVtJIg== - dependencies: - asn1 "~0.2.3" - assert-plus "^1.0.0" - bcrypt-pbkdf "^1.0.0" - dashdash "^1.12.0" - ecc-jsbn "~0.1.1" - getpass "^0.1.1" - jsbn "~0.1.0" - safer-buffer "^2.0.2" - tweetnacl "~0.14.0" - -ssri@^6.0.1: - version "6.0.1" - resolved "https://registry.yarnpkg.com/ssri/-/ssri-6.0.1.tgz#2a3c41b28dd45b62b63676ecb74001265ae9edd8" - integrity sha512-3Wge10hNcT1Kur4PDFwEieXSCMCJs/7WvSACcrMYrNp+b8kDL1/0wJch5Ni2WrtwEa2IO8OsVfeKIciKCDx/QA== - dependencies: - figgy-pudding "^3.5.1" - -stack-utils@^1.0.2: - version "1.0.2" - resolved "https://registry.yarnpkg.com/stack-utils/-/stack-utils-1.0.2.tgz#33eba3897788558bebfc2db059dc158ec36cebb8" - integrity sha512-MTX+MeG5U994cazkjd/9KNAapsHnibjMLnfXodlkXw76JEea0UiNzrqidzo1emMwk7w5Qhc9jd4Bn9TBb1MFwA== - -static-extend@^0.1.1: - version "0.1.2" - resolved "https://registry.yarnpkg.com/static-extend/-/static-extend-0.1.2.tgz#60809c39cbff55337226fd5e0b520f341f1fb5c6" - integrity sha1-YICcOcv/VTNyJv1eC1IPNB8ftcY= - dependencies: - define-property "^0.2.5" - object-copy "^0.1.0" - -stream-browserify@^2.0.1: - version "2.0.2" - resolved "https://registry.yarnpkg.com/stream-browserify/-/stream-browserify-2.0.2.tgz#87521d38a44aa7ee91ce1cd2a47df0cb49dd660b" - integrity sha512-nX6hmklHs/gr2FuxYDltq8fJA1GDlxKQCz8O/IM4atRqBH8OORmBNgfvW5gG10GT/qQ9u0CzIvr2X5Pkt6ntqg== - dependencies: - inherits "~2.0.1" - readable-stream "^2.0.2" - -stream-each@^1.1.0: - version "1.2.3" - resolved "https://registry.yarnpkg.com/stream-each/-/stream-each-1.2.3.tgz#ebe27a0c389b04fbcc233642952e10731afa9bae" - integrity sha512-vlMC2f8I2u/bZGqkdfLQW/13Zihpej/7PmSiMQsbYddxuTsJp8vRe2x2FvVExZg7FaOds43ROAuFJwPR4MTZLw== - dependencies: - end-of-stream "^1.1.0" - stream-shift "^1.0.0" - -stream-http@^2.7.2: - version "2.8.3" - resolved "https://registry.yarnpkg.com/stream-http/-/stream-http-2.8.3.tgz#b2d242469288a5a27ec4fe8933acf623de6514fc" - integrity sha512-+TSkfINHDo4J+ZobQLWiMouQYB+UVYFttRA94FpEzzJ7ZdqcL4uUUQ7WkdkI4DSozGmgBUE/a47L+38PenXhUw== - dependencies: - builtin-status-codes "^3.0.0" - inherits "^2.0.1" - readable-stream "^2.3.6" - to-arraybuffer "^1.0.0" - xtend "^4.0.0" - -stream-shift@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/stream-shift/-/stream-shift-1.0.0.tgz#d5c752825e5367e786f78e18e445ea223a155952" - integrity sha1-1cdSgl5TZ+eG944Y5EXqIjoVWVI= - -strict-event-emitter-types@^1.2.0: - version "1.2.0" - resolved "https://registry.yarnpkg.com/strict-event-emitter-types/-/strict-event-emitter-types-1.2.0.tgz#00c413587c0cf7d5b7acb70ce9aa75526b36601c" - integrity sha512-KqQQvQapOVn99SI/L6tEnW2mDXWddzlr+D1AAmiaXqI7Annq2hbfac8XnZzZHXOV50dCKtUsw1OCNjCezFHAMw== - -string-width@^1.0.1: - version "1.0.2" - resolved "https://registry.yarnpkg.com/string-width/-/string-width-1.0.2.tgz#118bdf5b8cdc51a2a7e70d211e07e2b0b9b107d3" - integrity sha1-EYvfW4zcUaKn5w0hHgfisLmxB9M= - dependencies: - code-point-at "^1.0.0" - is-fullwidth-code-point "^1.0.0" - strip-ansi "^3.0.0" - -"string-width@^1.0.2 || 2": - version "2.1.1" - resolved "https://registry.yarnpkg.com/string-width/-/string-width-2.1.1.tgz#ab93f27a8dc13d28cac815c462143a6d9012ae9e" - integrity sha512-nOqH59deCq9SRHlxq1Aw85Jnt4w6KvLKqWVik6oA9ZklXLNIOlqg4F2yrT1MVaTjAqvVwdfeZ7w7aCvJD7ugkw== - dependencies: - is-fullwidth-code-point "^2.0.0" - strip-ansi "^4.0.0" - -string-width@^3.0.0, string-width@^3.1.0: - version "3.1.0" - resolved "https://registry.yarnpkg.com/string-width/-/string-width-3.1.0.tgz#22767be21b62af1081574306f69ac51b62203961" - integrity sha512-vafcv6KjVZKSgz06oM/H6GDBrAtz8vdhQakGjFIvNrHA6y3HCF1CInLy+QLq8dTJPQ1b+KDUqDFctkdRW44e1w== - dependencies: - emoji-regex "^7.0.1" - is-fullwidth-code-point "^2.0.0" - strip-ansi "^5.1.0" - -string_decoder@^1.0.0: - version "1.3.0" - resolved "https://registry.yarnpkg.com/string_decoder/-/string_decoder-1.3.0.tgz#42f114594a46cf1a8e30b0a84f56c78c3edac21e" - integrity sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA== - dependencies: - safe-buffer "~5.2.0" - -string_decoder@~1.1.1: - version "1.1.1" - resolved "https://registry.yarnpkg.com/string_decoder/-/string_decoder-1.1.1.tgz#9cf1611ba62685d7030ae9e4ba34149c3af03fc8" - integrity sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg== - dependencies: - safe-buffer "~5.1.0" - -strip-ansi@^3.0.0, strip-ansi@^3.0.1: - version "3.0.1" - resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-3.0.1.tgz#6a385fb8853d952d5ff05d0e8aaf94278dc63dcf" - integrity sha1-ajhfuIU9lS1f8F0Oiq+UJ43GPc8= - dependencies: - ansi-regex "^2.0.0" - -strip-ansi@^4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-4.0.0.tgz#a8479022eb1ac368a871389b635262c505ee368f" - integrity sha1-qEeQIusaw2iocTibY1JixQXuNo8= - dependencies: - ansi-regex "^3.0.0" - -strip-ansi@^5.0.0, strip-ansi@^5.1.0, strip-ansi@^5.2.0: - version "5.2.0" - resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-5.2.0.tgz#8c9a536feb6afc962bdfa5b104a5091c1ad9c0ae" - integrity sha512-DuRs1gKbBqsMKIZlrffwlug8MHkcnpjs5VPmL1PAh+mA30U0DTotfDZ0d2UUsXpPmPmMMJ6W773MaA3J+lbiWA== - dependencies: - ansi-regex "^4.1.0" - -strip-bom@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/strip-bom/-/strip-bom-3.0.0.tgz#2334c18e9c759f7bdd56fdef7e9ae3d588e68ed3" - integrity sha1-IzTBjpx1n3vdVv3vfprj1YjmjtM= - -strip-eof@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/strip-eof/-/strip-eof-1.0.0.tgz#bb43ff5598a6eb05d89b59fcd129c983313606bf" - integrity sha1-u0P/VZim6wXYm1n80SnJgzE2Br8= - -strip-json-comments@^3.0.1: - version "3.0.1" - resolved "https://registry.yarnpkg.com/strip-json-comments/-/strip-json-comments-3.0.1.tgz#85713975a91fb87bf1b305cca77395e40d2a64a7" - integrity sha512-VTyMAUfdm047mwKl+u79WIdrZxtFtn+nBxHeb844XBQ9uMNTuTHdx2hc5RiAJYqwTj3wc/xe5HLSdJSkJ+WfZw== - -strip-json-comments@~2.0.1: - version "2.0.1" - resolved "https://registry.yarnpkg.com/strip-json-comments/-/strip-json-comments-2.0.1.tgz#3c531942e908c2697c0ec344858c286c7ca0a60a" - integrity sha1-PFMZQukIwml8DsNEhYwobHygpgo= - -supports-color@6.1.0, supports-color@^6.1.0: - version "6.1.0" - resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-6.1.0.tgz#0764abc69c63d5ac842dd4867e8d025e880df8f3" - integrity sha512-qe1jfm1Mg7Nq/NSh6XE24gPXROEVsWHxC1LIx//XNlD9iw7YZQGjZNjYN7xGaEG6iKdA8EtNFW6R0gjnVXp+wQ== - dependencies: - has-flag "^3.0.0" - -supports-color@^5.3.0: - version "5.5.0" - resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-5.5.0.tgz#e2e69a44ac8772f78a1ec0b35b689df6530efc8f" - integrity sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow== - dependencies: - has-flag "^3.0.0" - -taffydb@2.6.2: - version "2.6.2" - resolved "https://registry.yarnpkg.com/taffydb/-/taffydb-2.6.2.tgz#7cbcb64b5a141b6a2efc2c5d2c67b4e150b2a268" - integrity sha1-fLy2S1oUG2ou/CxdLGe04VCyomg= - -tap-mocha-reporter@^3.0.9: - version "3.0.9" - resolved "https://registry.yarnpkg.com/tap-mocha-reporter/-/tap-mocha-reporter-3.0.9.tgz#ea41e741149a94c278d106cbcccc37fec2dfeeaa" - integrity sha512-VO07vhC9EG27EZdOe7bWBj1ldbK+DL9TnRadOgdQmiQOVZjFpUEQuuqO7+rNSO2kfmkq5hWeluYXDWNG/ytXTQ== - dependencies: - color-support "^1.1.0" - debug "^2.1.3" - diff "^1.3.2" - escape-string-regexp "^1.0.3" - glob "^7.0.5" - js-yaml "^3.3.1" - tap-parser "^5.1.0" - unicode-length "^1.0.0" - optionalDependencies: - readable-stream "^2.1.5" - -tap-parser@^5.1.0: - version "5.4.0" - resolved "https://registry.yarnpkg.com/tap-parser/-/tap-parser-5.4.0.tgz#6907e89725d7b7fa6ae41ee2c464c3db43188aec" - integrity sha512-BIsIaGqv7uTQgTW1KLTMNPSEQf4zDDPgYOBRdgOfuB+JFOLRBfEu6cLa/KvMvmqggu1FKXDfitjLwsq4827RvA== - dependencies: - events-to-array "^1.0.1" - js-yaml "^3.2.7" - optionalDependencies: - readable-stream "^2" - -tap-parser@^7.0.0: - version "7.0.0" - resolved "https://registry.yarnpkg.com/tap-parser/-/tap-parser-7.0.0.tgz#54db35302fda2c2ccc21954ad3be22b2cba42721" - integrity sha512-05G8/LrzqOOFvZhhAk32wsGiPZ1lfUrl+iV7+OkKgfofZxiceZWMHkKmow71YsyVQ8IvGBP2EjcIjE5gL4l5lA== - dependencies: - events-to-array "^1.0.1" - js-yaml "^3.2.7" - minipass "^2.2.0" - -tap@^12.0.1: - version "12.7.0" - resolved "https://registry.yarnpkg.com/tap/-/tap-12.7.0.tgz#6e0c40eb7ec1347a9311aa3ce9dee098dc41b566" - integrity sha512-SjglJmRv0pqrQQ7d5ZBEY8ZOqv3nYDBXEX51oyycOH7piuhn82JKT/yDNewwmOsodTD/RZL9MccA96EjDgK+Eg== - dependencies: - bind-obj-methods "^2.0.0" - browser-process-hrtime "^1.0.0" - capture-stack-trace "^1.0.0" - clean-yaml-object "^0.1.0" - color-support "^1.1.0" - coveralls "^3.0.2" - domain-browser "^1.2.0" - esm "^3.2.5" - foreground-child "^1.3.3" - fs-exists-cached "^1.0.0" - function-loop "^1.0.1" - glob "^7.1.3" - isexe "^2.0.0" - js-yaml "^3.13.1" - minipass "^2.3.5" - mkdirp "^0.5.1" - nyc "^14.0.0" - opener "^1.5.1" - os-homedir "^1.0.2" - own-or "^1.0.0" - own-or-env "^1.0.1" - rimraf "^2.6.3" - signal-exit "^3.0.0" - source-map-support "^0.5.10" - stack-utils "^1.0.2" - tap-mocha-reporter "^3.0.9" - tap-parser "^7.0.0" - tmatch "^4.0.0" - trivial-deferred "^1.0.1" - ts-node "^8.0.2" - tsame "^2.0.1" - typescript "^3.3.3" - write-file-atomic "^2.4.2" - yapool "^1.0.0" - -tapable@^1.0.0, tapable@^1.1.3: - version "1.1.3" - resolved "https://registry.yarnpkg.com/tapable/-/tapable-1.1.3.tgz#a1fccc06b58db61fd7a45da2da44f5f3a3e67ba2" - integrity sha512-4WK/bYZmj8xLr+HUCODHGF1ZFzsYffasLUgEiMBY4fgtltdO6B4WJtlSbPaDTLpYTcGVwM2qLnFTICEcNxs3kA== - -tar@^4: - version "4.4.13" - resolved "https://registry.yarnpkg.com/tar/-/tar-4.4.13.tgz#43b364bc52888d555298637b10d60790254ab525" - integrity sha512-w2VwSrBoHa5BsSyH+KxEqeQBAllHhccyMFVHtGtdMpF4W7IRWfZjFiQceJPChOeTsSDVUpER2T8FA93pr0L+QA== - dependencies: - chownr "^1.1.1" - fs-minipass "^1.2.5" - minipass "^2.8.6" - minizlib "^1.2.1" - mkdirp "^0.5.0" - safe-buffer "^5.1.2" - yallist "^3.0.3" - -terser-webpack-plugin@^1.4.1: - version "1.4.1" - resolved "https://registry.yarnpkg.com/terser-webpack-plugin/-/terser-webpack-plugin-1.4.1.tgz#61b18e40eaee5be97e771cdbb10ed1280888c2b4" - integrity sha512-ZXmmfiwtCLfz8WKZyYUuuHf3dMYEjg8NrjHMb0JqHVHVOSkzp3cW2/XG1fP3tRhqEqSzMwzzRQGtAPbs4Cncxg== - dependencies: - cacache "^12.0.2" - find-cache-dir "^2.1.0" - is-wsl "^1.1.0" - schema-utils "^1.0.0" - serialize-javascript "^1.7.0" - source-map "^0.6.1" - terser "^4.1.2" - webpack-sources "^1.4.0" - worker-farm "^1.7.0" - -terser@^4.1.2: - version "4.3.9" - resolved "https://registry.yarnpkg.com/terser/-/terser-4.3.9.tgz#e4be37f80553d02645668727777687dad26bbca8" - integrity sha512-NFGMpHjlzmyOtPL+fDw3G7+6Ueh/sz4mkaUYa4lJCxOPTNzd0Uj0aZJOmsDYoSQyfuVoWDMSWTPU3huyOm2zdA== - dependencies: - commander "^2.20.0" - source-map "~0.6.1" - source-map-support "~0.5.12" - -test-exclude@^5.2.3: - version "5.2.3" - resolved "https://registry.yarnpkg.com/test-exclude/-/test-exclude-5.2.3.tgz#c3d3e1e311eb7ee405e092dac10aefd09091eac0" - integrity sha512-M+oxtseCFO3EDtAaGH7iiej3CBkzXqFMbzqYAACdzKui4eZA+pq3tZEwChvOdNfa7xxy8BfbmgJSIr43cC/+2g== - dependencies: - glob "^7.1.3" - minimatch "^3.0.4" - read-pkg-up "^4.0.0" - require-main-filename "^2.0.0" - -through2@^2.0.0: - version "2.0.5" - resolved "https://registry.yarnpkg.com/through2/-/through2-2.0.5.tgz#01c1e39eb31d07cb7d03a96a70823260b23132cd" - integrity sha512-/mrRod8xqpA+IHSLyGCQ2s8SPHiCDEeQJSep1jqLYeEUClOFG2Qsh+4FU6G9VeqpZnGW/Su8LQGc4YKni5rYSQ== - dependencies: - readable-stream "~2.3.6" - xtend "~4.0.1" - -timers-browserify@^2.0.4: - version "2.0.11" - resolved "https://registry.yarnpkg.com/timers-browserify/-/timers-browserify-2.0.11.tgz#800b1f3eee272e5bc53ee465a04d0e804c31211f" - integrity sha512-60aV6sgJ5YEbzUdn9c8kYGIqOubPoUdqQCul3SBAsRCZ40s6Y5cMcrW4dt3/k/EsbLVJNl9n6Vz3fTc+k2GeKQ== - dependencies: - setimmediate "^1.0.4" - -tmatch@^4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/tmatch/-/tmatch-4.0.0.tgz#ba178007f30bf6a70f37c643fca5045fb2f8c448" - integrity sha512-Ynn2Gsp+oCvYScQXeV+cCs7citRDilq0qDXA6tuvFwDgiYyyaq7D5vKUlAPezzZR5NDobc/QMeN6e5guOYmvxg== - -to-arraybuffer@^1.0.0: - version "1.0.1" - resolved "https://registry.yarnpkg.com/to-arraybuffer/-/to-arraybuffer-1.0.1.tgz#7d229b1fcc637e466ca081180836a7aabff83f43" - integrity sha1-fSKbH8xjfkZsoIEYCDanqr/4P0M= - -to-fast-properties@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/to-fast-properties/-/to-fast-properties-2.0.0.tgz#dc5e698cbd079265bc73e0377681a4e4e83f616e" - integrity sha1-3F5pjL0HkmW8c+A3doGk5Og/YW4= - -to-object-path@^0.3.0: - version "0.3.0" - resolved "https://registry.yarnpkg.com/to-object-path/-/to-object-path-0.3.0.tgz#297588b7b0e7e0ac08e04e672f85c1f4999e17af" - integrity sha1-KXWIt7Dn4KwI4E5nL4XB9JmeF68= - dependencies: - kind-of "^3.0.2" - -to-regex-range@^2.1.0: - version "2.1.1" - resolved "https://registry.yarnpkg.com/to-regex-range/-/to-regex-range-2.1.1.tgz#7c80c17b9dfebe599e27367e0d4dd5590141db38" - integrity sha1-fIDBe53+vlmeJzZ+DU3VWQFB2zg= - dependencies: - is-number "^3.0.0" - repeat-string "^1.6.1" - -to-regex@^3.0.1, to-regex@^3.0.2: - version "3.0.2" - resolved "https://registry.yarnpkg.com/to-regex/-/to-regex-3.0.2.tgz#13cfdd9b336552f30b51f33a8ae1b42a7a7599ce" - integrity sha512-FWtleNAtZ/Ki2qtqej2CXTOayOH9bHDQF+Q48VpWyDXjbYxA4Yz8iDB31zXOBUlOHHKidDbqGVrTUvQMPmBGBw== - dependencies: - define-property "^2.0.2" - extend-shallow "^3.0.2" - regex-not "^1.0.2" - safe-regex "^1.1.0" - -tough-cookie@~2.4.3: - version "2.4.3" - resolved "https://registry.yarnpkg.com/tough-cookie/-/tough-cookie-2.4.3.tgz#53f36da3f47783b0925afa06ff9f3b165280f781" - integrity sha512-Q5srk/4vDM54WJsJio3XNn6K2sCG+CQ8G5Wz6bZhRZoAe/+TxjWB/GlFAnYEbkYVlON9FMk/fE3h2RLpPXo4lQ== - dependencies: - psl "^1.1.24" - punycode "^1.4.1" - -trivial-deferred@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/trivial-deferred/-/trivial-deferred-1.0.1.tgz#376d4d29d951d6368a6f7a0ae85c2f4d5e0658f3" - integrity sha1-N21NKdlR1jaKb3oK6FwvTV4GWPM= - -ts-node@^8.0.2: - version "8.4.1" - resolved "https://registry.yarnpkg.com/ts-node/-/ts-node-8.4.1.tgz#270b0dba16e8723c9fa4f9b4775d3810fd994b4f" - integrity sha512-5LpRN+mTiCs7lI5EtbXmF/HfMeCjzt7DH9CZwtkr6SywStrNQC723wG+aOWFiLNn7zT3kD/RnFqi3ZUfr4l5Qw== - dependencies: - arg "^4.1.0" - diff "^4.0.1" - make-error "^1.1.1" - source-map-support "^0.5.6" - yn "^3.0.0" - -tsame@^2.0.1: - version "2.0.1" - resolved "https://registry.yarnpkg.com/tsame/-/tsame-2.0.1.tgz#70410ddbefcd29c61e2d68549b3347b0444d613f" - integrity sha512-jxyxgKVKa4Bh5dPcO42TJL22lIvfd9LOVJwdovKOnJa4TLLrHxquK+DlGm4rkGmrcur+GRx+x4oW00O2pY/fFw== - -tslib@^1.9.0: - version "1.10.0" - resolved "https://registry.yarnpkg.com/tslib/-/tslib-1.10.0.tgz#c3c19f95973fb0a62973fb09d90d961ee43e5c8a" - integrity sha512-qOebF53frne81cf0S9B41ByenJ3/IuH8yJKngAX35CmiZySA0khhkovshKK+jGCaMnVomla7gVlIcc3EvKPbTQ== - -tty-browserify@0.0.0: - version "0.0.0" - resolved "https://registry.yarnpkg.com/tty-browserify/-/tty-browserify-0.0.0.tgz#a157ba402da24e9bf957f9aa69d524eed42901a6" - integrity sha1-oVe6QC2iTpv5V/mqadUk7tQpAaY= - -tunnel-agent@^0.6.0: - version "0.6.0" - resolved "https://registry.yarnpkg.com/tunnel-agent/-/tunnel-agent-0.6.0.tgz#27a5dea06b36b04a0a9966774b290868f0fc40fd" - integrity sha1-J6XeoGs2sEoKmWZ3SykIaPD8QP0= - dependencies: - safe-buffer "^5.0.1" - -tweetnacl@^0.14.3, tweetnacl@~0.14.0: - version "0.14.5" - resolved "https://registry.yarnpkg.com/tweetnacl/-/tweetnacl-0.14.5.tgz#5ae68177f192d4456269d108afa93ff8743f4f64" - integrity sha1-WuaBd/GS1EViadEIr6k/+HQ/T2Q= - -typedarray@^0.0.6: - version "0.0.6" - resolved "https://registry.yarnpkg.com/typedarray/-/typedarray-0.0.6.tgz#867ac74e3864187b1d3d47d996a78ec5c8830777" - integrity sha1-hnrHTjhkGHsdPUfZlqeOxciDB3c= - -typescript@^3.3.3: - version "3.6.4" - resolved "https://registry.yarnpkg.com/typescript/-/typescript-3.6.4.tgz#b18752bb3792bc1a0281335f7f6ebf1bbfc5b91d" - integrity sha512-unoCll1+l+YK4i4F8f22TaNVPRHcD9PA3yCuZ8g5e0qGqlVlJ/8FSateOLLSagn+Yg5+ZwuPkL8LFUc0Jcvksg== - -uc.micro@^1.0.1, uc.micro@^1.0.5: - version "1.0.6" - resolved "https://registry.yarnpkg.com/uc.micro/-/uc.micro-1.0.6.tgz#9c411a802a409a91fc6cf74081baba34b24499ac" - integrity sha512-8Y75pvTYkLJW2hWQHXxoqRgV7qb9B+9vFEtidML+7koHUFapnVJAZ6cKs+Qjz5Aw3aZWHMC6u0wJE3At+nSGwA== - -uglify-js@^3.1.4: - version "3.6.6" - resolved "https://registry.yarnpkg.com/uglify-js/-/uglify-js-3.6.6.tgz#7ec28c92c7131c6a096b69cd48722600cc534207" - integrity sha512-q3Zusqd028P8MdbarqL0I1snTZ7+IbIWiKUXVZyXMVdOSxOG2FFqLXyGlgYSqYu46SR7tR3Sk0xqN1VtvxGWnQ== - dependencies: - commander "~2.20.3" - source-map "~0.6.1" - -underscore@~1.9.1: - version "1.9.1" - resolved "https://registry.yarnpkg.com/underscore/-/underscore-1.9.1.tgz#06dce34a0e68a7babc29b365b8e74b8925203961" - integrity sha512-5/4etnCkd9c8gwgowi5/om/mYO5ajCaOgdzj/oW+0eQV9WxKBDZw5+ycmKmeaTXjInS/W0BzpGLo2xR2aBwZdg== - -unicode-length@^1.0.0: - version "1.0.3" - resolved "https://registry.yarnpkg.com/unicode-length/-/unicode-length-1.0.3.tgz#5ada7a7fed51841a418a328cf149478ac8358abb" - integrity sha1-Wtp6f+1RhBpBijKM8UlHisg1irs= - dependencies: - punycode "^1.3.2" - strip-ansi "^3.0.1" - -union-value@^1.0.0: - version "1.0.1" - resolved "https://registry.yarnpkg.com/union-value/-/union-value-1.0.1.tgz#0b6fe7b835aecda61c6ea4d4f02c14221e109847" - integrity sha512-tJfXmxMeWYnczCVs7XAEvIV7ieppALdyepWMkHkwciRpZraG/xwT+s2JN8+pr1+8jCRf80FFzvr+MpQeeoF4Xg== - dependencies: - arr-union "^3.1.0" - get-value "^2.0.6" - is-extendable "^0.1.1" - set-value "^2.0.1" - -unique-filename@^1.1.1: - version "1.1.1" - resolved "https://registry.yarnpkg.com/unique-filename/-/unique-filename-1.1.1.tgz#1d69769369ada0583103a1e6ae87681b56573230" - integrity sha512-Vmp0jIp2ln35UTXuryvjzkjGdRyf9b2lTXuSYUiPmzRcl3FDtYqAwOnTJkAngD9SWhnoJzDbTKwaOrZ+STtxNQ== - dependencies: - unique-slug "^2.0.0" - -unique-slug@^2.0.0: - version "2.0.2" - resolved "https://registry.yarnpkg.com/unique-slug/-/unique-slug-2.0.2.tgz#baabce91083fc64e945b0f3ad613e264f7cd4e6c" - integrity sha512-zoWr9ObaxALD3DOPfjPSqxt4fnZiWblxHIgeWqW8x7UqDzEtHEQLzji2cuJYQFCU6KmoJikOYAZlrTHHebjx2w== - dependencies: - imurmurhash "^0.1.4" - -unset-value@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/unset-value/-/unset-value-1.0.0.tgz#8376873f7d2335179ffb1e6fc3a8ed0dfc8ab559" - integrity sha1-g3aHP30jNRef+x5vw6jtDfyKtVk= - dependencies: - has-value "^0.3.1" - isobject "^3.0.0" - -upath@^1.1.1: - version "1.2.0" - resolved "https://registry.yarnpkg.com/upath/-/upath-1.2.0.tgz#8f66dbcd55a883acdae4408af8b035a5044c1894" - integrity sha512-aZwGpamFO61g3OlfT7OQCHqhGnW43ieH9WZeP7QxN/G/jS4jfqUkZxoryvJgVPEcrl5NL/ggHsSmLMHuH64Lhg== - -uri-js@^4.2.2: - version "4.2.2" - resolved "https://registry.yarnpkg.com/uri-js/-/uri-js-4.2.2.tgz#94c540e1ff772956e2299507c010aea6c8838eb0" - integrity sha512-KY9Frmirql91X2Qgjry0Wd4Y+YTdrdZheS8TFwvkbLWf/G5KNJDCh6pKL5OZctEW4+0Baa5idK2ZQuELRwPznQ== - dependencies: - punycode "^2.1.0" - -urix@^0.1.0: - version "0.1.0" - resolved "https://registry.yarnpkg.com/urix/-/urix-0.1.0.tgz#da937f7a62e21fec1fd18d49b35c2935067a6c72" - integrity sha1-2pN/emLiH+wf0Y1Js1wpNQZ6bHI= - -url@^0.11.0: - version "0.11.0" - resolved "https://registry.yarnpkg.com/url/-/url-0.11.0.tgz#3838e97cfc60521eb73c525a8e55bfdd9e2e28f1" - integrity sha1-ODjpfPxgUh63PFJajlW/3Z4uKPE= - dependencies: - punycode "1.3.2" - querystring "0.2.0" - -use@^3.1.0: - version "3.1.1" - resolved "https://registry.yarnpkg.com/use/-/use-3.1.1.tgz#d50c8cac79a19fbc20f2911f56eb973f4e10070f" - integrity sha512-cwESVXlO3url9YWlFW/TA9cshCEhtu7IKJ/p5soJ/gGpj7vbvFrAY/eIioQ6Dw23KjZhYgiIo8HOs1nQ2vr/oQ== - -util-deprecate@~1.0.1: - version "1.0.2" - resolved "https://registry.yarnpkg.com/util-deprecate/-/util-deprecate-1.0.2.tgz#450d4dc9fa70de732762fbd2d4a28981419a0ccf" - integrity sha1-RQ1Nyfpw3nMnYvvS1KKJgUGaDM8= - -util@0.10.3: - version "0.10.3" - resolved "https://registry.yarnpkg.com/util/-/util-0.10.3.tgz#7afb1afe50805246489e3db7fe0ed379336ac0f9" - integrity sha1-evsa/lCAUkZInj23/g7TeTNqwPk= - dependencies: - inherits "2.0.1" - -util@^0.11.0: - version "0.11.1" - resolved "https://registry.yarnpkg.com/util/-/util-0.11.1.tgz#3236733720ec64bb27f6e26f421aaa2e1b588d61" - integrity sha512-HShAsny+zS2TZfaXxD9tYj4HQGlBezXZMZuM/S5PKLLoZkShZiGk9o5CzukI1LVHZvjdvZ2Sj1aW/Ndn2NB/HQ== - dependencies: - inherits "2.0.3" - -uuid@^3.0.1, uuid@^3.3.2: - version "3.3.3" - resolved "https://registry.yarnpkg.com/uuid/-/uuid-3.3.3.tgz#4568f0216e78760ee1dbf3a4d2cf53e224112866" - integrity sha512-pW0No1RGHgzlpHJO1nsVrHKpOEIxkGg1xB+v0ZmdNH5OAeAwzAVrCnI2/6Mtx+Uys6iaylxa+D3g4j63IKKjSQ== - -v8-compile-cache@2.0.3: - version "2.0.3" - resolved "https://registry.yarnpkg.com/v8-compile-cache/-/v8-compile-cache-2.0.3.tgz#00f7494d2ae2b688cfe2899df6ed2c54bef91dbe" - integrity sha512-CNmdbwQMBjwr9Gsmohvm0pbL954tJrNzf6gWL3K+QMQf00PF7ERGrEiLgjuU3mKreLC2MeGhUsNV9ybTbLgd3w== - -validate-npm-package-license@^3.0.1: - version "3.0.4" - resolved "https://registry.yarnpkg.com/validate-npm-package-license/-/validate-npm-package-license-3.0.4.tgz#fc91f6b9c7ba15c857f4cb2c5defeec39d4f410a" - integrity sha512-DpKm2Ui/xN7/HQKCtpZxoRWBhZ9Z0kqtygG8XCgNQ8ZlDnxuQmWhj566j8fN4Cu3/JmbhsDo7fcAJq4s9h27Ew== - dependencies: - spdx-correct "^3.0.0" - spdx-expression-parse "^3.0.0" - -verror@1.10.0: - version "1.10.0" - resolved "https://registry.yarnpkg.com/verror/-/verror-1.10.0.tgz#3a105ca17053af55d6e270c1f8288682e18da400" - integrity sha1-OhBcoXBTr1XW4nDB+CiGguGNpAA= - dependencies: - assert-plus "^1.0.0" - core-util-is "1.0.2" - extsprintf "^1.2.0" - -vm-browserify@^1.0.1: - version "1.1.0" - resolved "https://registry.yarnpkg.com/vm-browserify/-/vm-browserify-1.1.0.tgz#bd76d6a23323e2ca8ffa12028dc04559c75f9019" - integrity sha512-iq+S7vZJE60yejDYM0ek6zg308+UZsdtPExWP9VZoCFCz1zkJoXFnAX7aZfd/ZwrkidzdUZL0C/ryW+JwAiIGw== - -watchpack@^1.6.0: - version "1.6.0" - resolved "https://registry.yarnpkg.com/watchpack/-/watchpack-1.6.0.tgz#4bc12c2ebe8aa277a71f1d3f14d685c7b446cd00" - integrity sha512-i6dHe3EyLjMmDlU1/bGQpEw25XSjkJULPuAVKCbNRefQVq48yXKUpwg538F7AZTf9kyr57zj++pQFltUa5H7yA== - dependencies: - chokidar "^2.0.2" - graceful-fs "^4.1.2" - neo-async "^2.5.0" - -webpack-cli@^3.3.10: - version "3.3.10" - resolved "https://registry.yarnpkg.com/webpack-cli/-/webpack-cli-3.3.10.tgz#17b279267e9b4fb549023fae170da8e6e766da13" - integrity sha512-u1dgND9+MXaEt74sJR4PR7qkPxXUSQ0RXYq8x1L6Jg1MYVEmGPrH6Ah6C4arD4r0J1P5HKjRqpab36k0eIzPqg== - dependencies: - chalk "2.4.2" - cross-spawn "6.0.5" - enhanced-resolve "4.1.0" - findup-sync "3.0.0" - global-modules "2.0.0" - import-local "2.0.0" - interpret "1.2.0" - loader-utils "1.2.3" - supports-color "6.1.0" - v8-compile-cache "2.0.3" - yargs "13.2.4" - -webpack-sources@^1.4.0, webpack-sources@^1.4.1: - version "1.4.3" - resolved "https://registry.yarnpkg.com/webpack-sources/-/webpack-sources-1.4.3.tgz#eedd8ec0b928fbf1cbfe994e22d2d890f330a933" - integrity sha512-lgTS3Xhv1lCOKo7SA5TjKXMjpSM4sBjNV5+q2bqesbSPs5FjGmU6jjtBSkX9b4qW87vDIsCIlUPOEhbZrMdjeQ== - dependencies: - source-list-map "^2.0.0" - source-map "~0.6.1" - -webpack@^4.41.2: - version "4.41.2" - resolved "https://registry.yarnpkg.com/webpack/-/webpack-4.41.2.tgz#c34ec76daa3a8468c9b61a50336d8e3303dce74e" - integrity sha512-Zhw69edTGfbz9/8JJoyRQ/pq8FYUoY0diOXqW0T6yhgdhCv6wr0hra5DwwWexNRns2Z2+gsnrNcbe9hbGBgk/A== - dependencies: - "@webassemblyjs/ast" "1.8.5" - "@webassemblyjs/helper-module-context" "1.8.5" - "@webassemblyjs/wasm-edit" "1.8.5" - "@webassemblyjs/wasm-parser" "1.8.5" - acorn "^6.2.1" - ajv "^6.10.2" - ajv-keywords "^3.4.1" - chrome-trace-event "^1.0.2" - enhanced-resolve "^4.1.0" - eslint-scope "^4.0.3" - json-parse-better-errors "^1.0.2" - loader-runner "^2.4.0" - loader-utils "^1.2.3" - memory-fs "^0.4.1" - micromatch "^3.1.10" - mkdirp "^0.5.1" - neo-async "^2.6.1" - node-libs-browser "^2.2.1" - schema-utils "^1.0.0" - tapable "^1.1.3" - terser-webpack-plugin "^1.4.1" - watchpack "^1.6.0" - webpack-sources "^1.4.1" - -which-module@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/which-module/-/which-module-2.0.0.tgz#d9ef07dce77b9902b8a3a8fa4b31c3e3f7e6e87a" - integrity sha1-2e8H3Od7mQK4o6j6SzHD4/fm6Ho= - -which@^1.2.14, which@^1.2.9, which@^1.3.0, which@^1.3.1: - version "1.3.1" - resolved "https://registry.yarnpkg.com/which/-/which-1.3.1.tgz#a45043d54f5805316da8d62f9f50918d3da70b0a" - integrity sha512-HxJdYWq1MTIQbJ3nw0cqssHoTNU267KlrDuGZ1WYlxDStUtKUhOaJmh112/TZmHxxUfuJqPXSOm7tDyas0OSIQ== - dependencies: - isexe "^2.0.0" - -wide-align@^1.1.0: - version "1.1.3" - resolved "https://registry.yarnpkg.com/wide-align/-/wide-align-1.1.3.tgz#ae074e6bdc0c14a431e804e624549c633b000457" - integrity sha512-QGkOQc8XL6Bt5PwnsExKBPuMKBxnGxWWW3fU55Xt4feHozMUhdUMaBCk290qpm/wG5u/RSKzwdAC4i51YigihA== - dependencies: - string-width "^1.0.2 || 2" - -wordwrap@~0.0.2: - version "0.0.3" - resolved "https://registry.yarnpkg.com/wordwrap/-/wordwrap-0.0.3.tgz#a3d5da6cd5c0bc0008d37234bbaf1bed63059107" - integrity sha1-o9XabNXAvAAI03I0u68b7WMFkQc= - -worker-farm@^1.7.0: - version "1.7.0" - resolved "https://registry.yarnpkg.com/worker-farm/-/worker-farm-1.7.0.tgz#26a94c5391bbca926152002f69b84a4bf772e5a8" - integrity sha512-rvw3QTZc8lAxyVrqcSGVm5yP/IJ2UcB3U0graE3LCFoZ0Yn2x4EoVSqJKdB/T5M+FLcRPjz4TDacRf3OCfNUzw== - dependencies: - errno "~0.1.7" - -wrap-ansi@^5.1.0: - version "5.1.0" - resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-5.1.0.tgz#1fd1f67235d5b6d0fee781056001bfb694c03b09" - integrity sha512-QC1/iN/2/RPVJ5jYK8BGttj5z83LmSKmvbvrXPNCLZSEb32KKVDJDl/MOt2N01qU2H/FkzEa9PKto1BqDjtd7Q== - dependencies: - ansi-styles "^3.2.0" - string-width "^3.0.0" - strip-ansi "^5.0.0" - -wrappy@1: - version "1.0.2" - resolved "https://registry.yarnpkg.com/wrappy/-/wrappy-1.0.2.tgz#b5243d8f3ec1aa35f1364605bc0d1036e30ab69f" - integrity sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8= - -write-file-atomic@^2.4.2: - version "2.4.3" - resolved "https://registry.yarnpkg.com/write-file-atomic/-/write-file-atomic-2.4.3.tgz#1fd2e9ae1df3e75b8d8c367443c692d4ca81f481" - integrity sha512-GaETH5wwsX+GcnzhPgKcKjJ6M2Cq3/iZp1WyY/X1CSqrW+jVNM9Y7D8EC2sM4ZG/V8wZlSniJnCKWPmBYAucRQ== - dependencies: - graceful-fs "^4.1.11" - imurmurhash "^0.1.4" - signal-exit "^3.0.2" - -xmlcreate@^2.0.0: - version "2.0.1" - resolved "https://registry.yarnpkg.com/xmlcreate/-/xmlcreate-2.0.1.tgz#2ec38bd7b708d213fd1a90e2431c4af9c09f6a52" - integrity sha512-MjGsXhKG8YjTKrDCXseFo3ClbMGvUD4en29H2Cev1dv4P/chlpw6KdYmlCWDkhosBVKRDjM836+3e3pm1cBNJA== - -xtend@^4.0.0, xtend@~4.0.1: - version "4.0.2" - resolved "https://registry.yarnpkg.com/xtend/-/xtend-4.0.2.tgz#bb72779f5fa465186b1f438f674fa347fdb5db54" - integrity sha512-LKYU1iAXJXUgAXn9URjiu+MWhyUXHsvfp7mcuYm9dSUKK0/CjtrUwFAxD82/mCWbtLsGjFIad0wIsod4zrTAEQ== - -y18n@^4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/y18n/-/y18n-4.0.0.tgz#95ef94f85ecc81d007c264e190a120f0a3c8566b" - integrity sha512-r9S/ZyXu/Xu9q1tYlpsLIsa3EeLXXk0VwlxqTcFRfg9EhMW+17kbt9G0NrgCmhGb5vT2hyhJZLfDGx+7+5Uj/w== - -yallist@^2.1.2: - version "2.1.2" - resolved "https://registry.yarnpkg.com/yallist/-/yallist-2.1.2.tgz#1c11f9218f076089a47dd512f93c6699a6a81d52" - integrity sha1-HBH5IY8HYImkfdUS+TxmmaaoHVI= - -yallist@^3.0.0, yallist@^3.0.2, yallist@^3.0.3: - version "3.1.1" - resolved "https://registry.yarnpkg.com/yallist/-/yallist-3.1.1.tgz#dbb7daf9bfd8bac9ab45ebf602b8cbad0d5d08fd" - integrity sha512-a4UGQaWPH59mOXUYnAG2ewncQS4i4F43Tv3JoAM+s2VDAmS9NsK8GpDMLrCHPksFT7h3K6TOoUNn2pb7RoXx4g== - -yapool@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/yapool/-/yapool-1.0.0.tgz#f693f29a315b50d9a9da2646a7a6645c96985b6a" - integrity sha1-9pPymjFbUNmp2iZGp6ZkXJaYW2o= - -yargs-parser@^13.0.0, yargs-parser@^13.1.0, yargs-parser@^13.1.1: - version "13.1.1" - resolved "https://registry.yarnpkg.com/yargs-parser/-/yargs-parser-13.1.1.tgz#d26058532aa06d365fe091f6a1fc06b2f7e5eca0" - integrity sha512-oVAVsHz6uFrg3XQheFII8ESO2ssAf9luWuAd6Wexsu4F3OtIW0o8IribPXYrD4WC24LWtPrJlGy87y5udK+dxQ== - dependencies: - camelcase "^5.0.0" - decamelize "^1.2.0" - -yargs@13.2.4: - version "13.2.4" - resolved "https://registry.yarnpkg.com/yargs/-/yargs-13.2.4.tgz#0b562b794016eb9651b98bd37acf364aa5d6dc83" - integrity sha512-HG/DWAJa1PAnHT9JAhNa8AbAv3FPaiLzioSjCcmuXXhP8MlpHO5vwls4g4j6n30Z74GVQj8Xa62dWVx1QCGklg== - dependencies: - cliui "^5.0.0" - find-up "^3.0.0" - get-caller-file "^2.0.1" - os-locale "^3.1.0" - require-directory "^2.1.1" - require-main-filename "^2.0.0" - set-blocking "^2.0.0" - string-width "^3.0.0" - which-module "^2.0.0" - y18n "^4.0.0" - yargs-parser "^13.1.0" - -yargs@^13.2.2: - version "13.3.0" - resolved "https://registry.yarnpkg.com/yargs/-/yargs-13.3.0.tgz#4c657a55e07e5f2cf947f8a366567c04a0dedc83" - integrity sha512-2eehun/8ALW8TLoIl7MVaRUrg+yCnenu8B4kBlRxj3GJGDKU1Og7sMXPNm1BYyM1DOJmTZ4YeN/Nwxv+8XJsUA== - dependencies: - cliui "^5.0.0" - find-up "^3.0.0" - get-caller-file "^2.0.1" - require-directory "^2.1.1" - require-main-filename "^2.0.0" - set-blocking "^2.0.0" - string-width "^3.0.0" - which-module "^2.0.0" - y18n "^4.0.0" - yargs-parser "^13.1.1" - -yn@^3.0.0: - version "3.1.1" - resolved "https://registry.yarnpkg.com/yn/-/yn-3.1.1.tgz#1e87401a09d767c1d5eab26a6e4c185182d2eb50" - integrity sha512-Ux4ygGWsu2c7isFWe8Yu1YluJmqVhxqK2cLXNQA5AcC3QfbGNpM7fu0Y8b/z16pXLnFxZYvWhd3fhBY9DLmC6Q==