├── .eslintignore ├── .eslintrc.js ├── .gitignore ├── .travis.yml ├── CONTRIBUTING.md ├── LICENSE ├── MAINTAINERS.md ├── README.md ├── application ├── .gitignore ├── config.json ├── enrollAdmin.js ├── invoke-transactions.js ├── mychannel_blockchain-network_profile.json ├── package-lock.json └── package.json └── contract ├── .vscode └── settings.json ├── index.js ├── lib └── my-contract.js ├── package-lock.json └── package.json /.eslintignore: -------------------------------------------------------------------------------- 1 | node_modules -------------------------------------------------------------------------------- /.eslintrc.js: -------------------------------------------------------------------------------- 1 | /* 2 | * SPDX-License-Identifier: Apache-2.0 3 | */ 4 | 5 | module.exports = { 6 | env: { 7 | node: true, 8 | mocha: true 9 | }, 10 | parserOptions: { 11 | ecmaVersion: 8, 12 | sourceType: 'script' 13 | }, 14 | extends: "eslint:recommended", 15 | rules: { 16 | indent: ['error', 4], 17 | quotes: ['error', 'single'], 18 | semi: ['error', 'always'], 19 | 'no-unused-vars': ['error', { args: 'none' }], 20 | 'no-console': 'off', 21 | curly: 'error', 22 | eqeqeq: 'error', 23 | 'no-throw-literal': 'error', 24 | strict: 'error', 25 | 'no-var': 'error', 26 | 'dot-notation': 'error', 27 | 'no-tabs': 'error', 28 | 'no-trailing-spaces': 'error', 29 | 'no-use-before-define': 'error', 30 | 'no-useless-call': 'error', 31 | 'no-with': 'error', 32 | 'operator-linebreak': 'error', 33 | yoda: 'error', 34 | 'quote-props': ['error', 'as-needed'] 35 | } 36 | }; -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # Mac files. 2 | **/.DS_Store 3 | .DS_Store 4 | 5 | node_modules/ 6 | npm-debug.log 7 | .npm 8 | 9 | ./application/mychannel_blockchain-network_profile.json 10 | ./application/mychannel_bnnetwork_profile.json 11 | 12 | bnnetwork@0.0.1.cds 13 | blockchain-network@0.0.1.cds 14 | 15 | ./contract/.vscode/ -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - "8" 4 | 5 | script: 6 | - cd contract && npm install && npm run lint && cd ../application && npm install && npm run lint 7 | -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- 1 | # Contributing 2 | 3 | This is an open source project, and we appreciate your help! 4 | 5 | We use the GitHub issue tracker to discuss new features and non-trivial bugs. 6 | 7 | In addition to the issue tracker, [#ibmcode on 8 | Slack](https://dwopen.slack.com) is the best way to get into contact with the 9 | project's maintainers. 10 | 11 | To contribute code, documentation, or tests, please submit a pull request to 12 | the GitHub repository. Generally, we expect two maintainers to review your pull 13 | request before it is approved for merging. For more details, see the 14 | [MAINTAINERS](MAINTAINERS.md) page. 15 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | Apache License 2 | Version 2.0, January 2004 3 | http://www.apache.org/licenses/ 4 | 5 | TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION 6 | 7 | 1. Definitions. 8 | 9 | "License" shall mean the terms and conditions for use, reproduction, 10 | and distribution as defined by Sections 1 through 9 of this document. 11 | 12 | "Licensor" shall mean the copyright owner or entity authorized by 13 | the copyright owner that is granting the License. 14 | 15 | "Legal Entity" shall mean the union of the acting entity and all 16 | other entities that control, are controlled by, or are under common 17 | control with that entity. For the purposes of this definition, 18 | "control" means (i) the power, direct or indirect, to cause the 19 | direction or management of such entity, whether by contract or 20 | otherwise, or (ii) ownership of fifty percent (50%) or more of the 21 | outstanding shares, or (iii) beneficial ownership of such entity. 22 | 23 | "You" (or "Your") shall mean an individual or Legal Entity 24 | exercising permissions granted by this License. 25 | 26 | "Source" form shall mean the preferred form for making modifications, 27 | including but not limited to software source code, documentation 28 | source, and configuration files. 29 | 30 | "Object" form shall mean any form resulting from mechanical 31 | transformation or translation of a Source form, including but 32 | not limited to compiled object code, generated documentation, 33 | and conversions to other media types. 34 | 35 | "Work" shall mean the work of authorship, whether in Source or 36 | Object form, made available under the License, as indicated by a 37 | copyright notice that is included in or attached to the work 38 | (an example is provided in the Appendix below). 39 | 40 | "Derivative Works" shall mean any work, whether in Source or Object 41 | form, that is based on (or derived from) the Work and for which the 42 | editorial revisions, annotations, elaborations, or other modifications 43 | represent, as a whole, an original work of authorship. For the purposes 44 | of this License, Derivative Works shall not include works that remain 45 | separable from, or merely link (or bind by name) to the interfaces of, 46 | the Work and Derivative Works thereof. 47 | 48 | "Contribution" shall mean any work of authorship, including 49 | the original version of the Work and any modifications or additions 50 | to that Work or Derivative Works thereof, that is intentionally 51 | submitted to Licensor for inclusion in the Work by the copyright owner 52 | or by an individual or Legal Entity authorized to submit on behalf of 53 | the copyright owner. For the purposes of this definition, "submitted" 54 | means any form of electronic, verbal, or written communication sent 55 | to the Licensor or its representatives, including but not limited to 56 | communication on electronic mailing lists, source code control systems, 57 | and issue tracking systems that are managed by, or on behalf of, the 58 | Licensor for the purpose of discussing and improving the Work, but 59 | excluding communication that is conspicuously marked or otherwise 60 | designated in writing by the copyright owner as "Not a Contribution." 61 | 62 | "Contributor" shall mean Licensor and any individual or Legal Entity 63 | on behalf of whom a Contribution has been received by Licensor and 64 | subsequently incorporated within the Work. 65 | 66 | 2. Grant of Copyright License. Subject to the terms and conditions of 67 | this License, each Contributor hereby grants to You a perpetual, 68 | worldwide, non-exclusive, no-charge, royalty-free, irrevocable 69 | copyright license to reproduce, prepare Derivative Works of, 70 | publicly display, publicly perform, sublicense, and distribute the 71 | Work and such Derivative Works in Source or Object form. 72 | 73 | 3. Grant of Patent License. Subject to the terms and conditions of 74 | this License, each Contributor hereby grants to You a perpetual, 75 | worldwide, non-exclusive, no-charge, royalty-free, irrevocable 76 | (except as stated in this section) patent license to make, have made, 77 | use, offer to sell, sell, import, and otherwise transfer the Work, 78 | where such license applies only to those patent claims licensable 79 | by such Contributor that are necessarily infringed by their 80 | Contribution(s) alone or by combination of their Contribution(s) 81 | with the Work to which such Contribution(s) was submitted. If You 82 | institute patent litigation against any entity (including a 83 | cross-claim or counterclaim in a lawsuit) alleging that the Work 84 | or a Contribution incorporated within the Work constitutes direct 85 | or contributory patent infringement, then any patent licenses 86 | granted to You under this License for that Work shall terminate 87 | as of the date such litigation is filed. 88 | 89 | 4. Redistribution. You may reproduce and distribute copies of the 90 | Work or Derivative Works thereof in any medium, with or without 91 | modifications, and in Source or Object form, provided that You 92 | meet the following conditions: 93 | 94 | (a) You must give any other recipients of the Work or 95 | Derivative Works a copy of this License; and 96 | 97 | (b) You must cause any modified files to carry prominent notices 98 | stating that You changed the files; and 99 | 100 | (c) You must retain, in the Source form of any Derivative Works 101 | that You distribute, all copyright, patent, trademark, and 102 | attribution notices from the Source form of the Work, 103 | excluding those notices that do not pertain to any part of 104 | the Derivative Works; and 105 | 106 | (d) If the Work includes a "NOTICE" text file as part of its 107 | distribution, then any Derivative Works that You distribute must 108 | include a readable copy of the attribution notices contained 109 | within such NOTICE file, excluding those notices that do not 110 | pertain to any part of the Derivative Works, in at least one 111 | of the following places: within a NOTICE text file distributed 112 | as part of the Derivative Works; within the Source form or 113 | documentation, if provided along with the Derivative Works; or, 114 | within a display generated by the Derivative Works, if and 115 | wherever such third-party notices normally appear. The contents 116 | of the NOTICE file are for informational purposes only and 117 | do not modify the License. You may add Your own attribution 118 | notices within Derivative Works that You distribute, alongside 119 | or as an addendum to the NOTICE text from the Work, provided 120 | that such additional attribution notices cannot be construed 121 | as modifying the License. 122 | 123 | You may add Your own copyright statement to Your modifications and 124 | may provide additional or different license terms and conditions 125 | for use, reproduction, or distribution of Your modifications, or 126 | for any such Derivative Works as a whole, provided Your use, 127 | reproduction, and distribution of the Work otherwise complies with 128 | the conditions stated in this License. 129 | 130 | 5. Submission of Contributions. Unless You explicitly state otherwise, 131 | any Contribution intentionally submitted for inclusion in the Work 132 | by You to the Licensor shall be under the terms and conditions of 133 | this License, without any additional terms or conditions. 134 | Notwithstanding the above, nothing herein shall supersede or modify 135 | the terms of any separate license agreement you may have executed 136 | with Licensor regarding such Contributions. 137 | 138 | 6. Trademarks. This License does not grant permission to use the trade 139 | names, trademarks, service marks, or product names of the Licensor, 140 | except as required for reasonable and customary use in describing the 141 | origin of the Work and reproducing the content of the NOTICE file. 142 | 143 | 7. Disclaimer of Warranty. Unless required by applicable law or 144 | agreed to in writing, Licensor provides the Work (and each 145 | Contributor provides its Contributions) on an "AS IS" BASIS, 146 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or 147 | implied, including, without limitation, any warranties or conditions 148 | of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A 149 | PARTICULAR PURPOSE. You are solely responsible for determining the 150 | appropriateness of using or redistributing the Work and assume any 151 | risks associated with Your exercise of permissions under this License. 152 | 153 | 8. Limitation of Liability. In no event and under no legal theory, 154 | whether in tort (including negligence), contract, or otherwise, 155 | unless required by applicable law (such as deliberate and grossly 156 | negligent acts) or agreed to in writing, shall any Contributor be 157 | liable to You for damages, including any direct, indirect, special, 158 | incidental, or consequential damages of any character arising as a 159 | result of this License or out of the use or inability to use the 160 | Work (including but not limited to damages for loss of goodwill, 161 | work stoppage, computer failure or malfunction, or any and all 162 | other commercial damages or losses), even if such Contributor 163 | has been advised of the possibility of such damages. 164 | 165 | 9. Accepting Warranty or Additional Liability. While redistributing 166 | the Work or Derivative Works thereof, You may choose to offer, 167 | and charge a fee for, acceptance of support, warranty, indemnity, 168 | or other liability obligations and/or rights consistent with this 169 | License. However, in accepting such obligations, You may act only 170 | on Your own behalf and on Your sole responsibility, not on behalf 171 | of any other Contributor, and only if You agree to indemnify, 172 | defend, and hold each Contributor harmless for any liability 173 | incurred by, or claims asserted against, such Contributor by reason 174 | of your accepting any such warranty or additional liability. 175 | 176 | END OF TERMS AND CONDITIONS 177 | 178 | APPENDIX: How to apply the Apache License to your work. 179 | 180 | To apply the Apache License to your work, attach the following 181 | boilerplate notice, with the fields enclosed by brackets "{}" 182 | replaced with your own identifying information. (Don't include 183 | the brackets!) The text should be enclosed in the appropriate 184 | comment syntax for the file format. We also recommend that a 185 | file or class name and description of purpose be included on the 186 | same "printed page" as the copyright notice for easier 187 | identification within third-party archives. 188 | 189 | Copyright {yyyy} {name of copyright owner} 190 | 191 | Licensed under the Apache License, Version 2.0 (the "License"); 192 | you may not use this file except in compliance with the License. 193 | You may obtain a copy of the License at 194 | 195 | http://www.apache.org/licenses/LICENSE-2.0 196 | 197 | Unless required by applicable law or agreed to in writing, software 198 | distributed under the License is distributed on an "AS IS" BASIS, 199 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 200 | See the License for the specific language governing permissions and 201 | limitations under the License. 202 | 203 | -------------------------------------------------------------------------------- /MAINTAINERS.md: -------------------------------------------------------------------------------- 1 | ## Maintainers Guide 2 | 3 | This guide is intended for maintainers — anybody with commit access to one or 4 | more Developer Journey repositories. 5 | 6 | ## Methodology: 7 | 8 | A master branch. This branch MUST be releasable at all times. Commits and 9 | merges against this branch MUST contain only bugfixes and/or security fixes. 10 | Maintenance releases are tagged against master. 11 | 12 | A develop branch. This branch contains your proposed changes. 13 | 14 | The remainder of this document details how to merge pull requests to the 15 | repositories. 16 | 17 | ## Merge approval 18 | 19 | The project maintainers use LGTM (Looks Good To Me) in comments on the code 20 | review to indicate acceptance. A change requires LGTMs from two of the members 21 | of the [eti-journey-admins](https://github.com/orgs/IBM/teams/eti-journey-admins/members) 22 | team. If the code is written by a member, the change only requires one more 23 | LGTM. 24 | 25 | ## Reviewing Pull Requests 26 | 27 | We recommend reviewing pull requests directly within GitHub. This allows a 28 | public commentary on changes, providing transparency for all users. When 29 | providing feedback be civil, courteous, and kind. Disagreement is fine, so 30 | long as the discourse is carried out politely. If we see a record of uncivil 31 | or abusive comments, we will revoke your commit privileges and invite you to 32 | leave the project. 33 | 34 | During your review, consider the following points: 35 | 36 | ### Does the change have impact? 37 | 38 | While fixing typos is nice as it adds to the overall quality of the project, 39 | merging a typo fix at a time can be a waste of effort. 40 | (Merging many typo fixes because somebody reviewed the entire component, 41 | however, is useful!) Other examples to be wary of: 42 | 43 | Changes in variable names. Ask whether or not the change will make 44 | understanding the code easier, or if it could simply a personal preference 45 | on the part of the author. 46 | 47 | Essentially: feel free to close issues that do not have impact. 48 | 49 | ### Do the changes make sense? 50 | 51 | If you do not understand what the changes are or what they accomplish, 52 | ask the author for clarification. Ask the author to add comments and/or 53 | clarify test case names to make the intentions clear. 54 | 55 | At times, such clarification will reveal that the author may not be using 56 | the code correctly, or is unaware of features that accommodate their needs. 57 | If you feel this is the case, work up a code sample that would address the 58 | issue for them, and feel free to close the issue once they confirm. 59 | 60 | ### Is this a new feature? If so: 61 | 62 | Does the issue contain narrative indicating the need for the feature? If not, 63 | ask them to provide that information. Since the issue will be linked in the 64 | changelog, this will often be a user's first introduction to it. 65 | 66 | Are new unit tests in place that test all new behaviors introduced? If not, do 67 | not merge the feature until they are! 68 | Is documentation in place for the new feature? (See the documentation 69 | guidelines). If not do not merge the feature until it is! 70 | Is the feature necessary for general use cases? Try and keep the scope of any 71 | given component narrow. If a proposed feature does not fit that scope, 72 | recommend to the user that they maintain the feature on their own, and close 73 | the request. You may also recommend that they see if the feature gains traction 74 | amongst other users, and suggest they re-submit when they can show such support. 75 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | [![Build Status](https://travis-ci.org/IBM/Create-BlockchainNetwork-IBPV20.svg?branch=master)](https://travis-ci.org/IBM/Create-BlockchainNetwork-IBPV20) 2 | 3 | 4 | # Create-BlockchainNetwork-IBPV20 5 | Creating a basic Blockchain network using the IBM Blockchain Platform 6 | 7 | 8 | Welcome to the first in a series of building a Blockchain application using the IBM Blockchain Platform. **Part 1** will show you how to set up your Blockchain network on the IBM Cloud. This will be the "Hello World" of Hyperledger samples using the IBM Blockchain Platform - so beginner developers should be able to manage this. This pattern shows you how to test your network by packaging your smart contract using the IBM Blockchain Platform extension on VS Code and then deploying it onto the network. The network uses Hyperledger Fabric V1.4. 9 | 10 | Hyperledger Fabric is a blockchain framework implementation and one of the Hyperledger projects hosted by The Linux Foundation. Intended as a foundation for developing applications or solutions with a modular architecture, Hyperledger Fabric allows components, such as consensus and membership services, to be plug-and-play. 11 | 12 | In [Part 2](https://github.com/IBM/SmartContractTrading-wFabric1-4-VSCodeExt), we will explore more about creating a complex network with multiple participants and using Access Control Rules (ACL) to provide them network access permissions. In this journey, you will run Hyperledger Fabric on the Cloud. 13 | 14 | When you have completed this code pattern, you will understand how to: 15 | 16 | * Package the smart contract using IBM Blockchain Platform Extension for VS Code. 17 | * Setup a Hyperledger Fabric network on IBM Blockchain Platform. 18 | * Install and instantiate smart contract package onto the IBM Blockchain Platform. 19 | * Interact with the contract and execute transactions using the SDK. 20 | 21 | 22 | # Architecture flow 23 | 24 |

25 | 26 |

27 | 28 | 1. The developer develops a smart contract using Node.js. 29 | 2. Use the IBM Blockchain Platform Extension for VS Code to package the smart contract. 30 | 3. Setup and launch the IBM Blockchain Platform service. 31 | 4. The IBM Blockchain Platform enables the creation of a network onto a IBM Cloud Kubernetes Service, enabling installation and instantiation of the smart contract on the network. 32 | 5. The Node.js application uses the Fabic SDK to interact with the deployed network on IBM Blockchain Platform and issues transactions. 33 | 34 | 35 | # Included components 36 | * [IBM Blockchain Platform](https://www.ibm.com/cloud/blockchain-platform) gives you total control of your blockchain network with a user interface that can simplify and accelerate your journey to deploy and manage blockchain components on the IBM Cloud Kubernetes Service. 37 | * [IBM Cloud Kubernetes Service](https://www.ibm.com/cloud/container-service) creates a cluster of compute hosts and deploys highly available containers. A Kubernetes cluster lets you securely manage the resources that you need to quickly deploy, update, and scale applications. 38 | * [IBM Blockchain Platform Extension for VS Code](https://marketplace.visualstudio.com/items?itemName=IBMBlockchain.ibm-blockchain-platform) is designed to assist users in developing, testing, and deploying smart contracts - including connecting to Hyperledger Fabric environments. 39 | 40 | 41 | ## Featured technologies 42 | * [Hyperledger Fabric v1.4](https://hyperledger-fabric.readthedocs.io) is a platform for distributed ledger solutions, underpinned by a modular architecture that delivers high degrees of confidentiality, resiliency, flexibility, and scalability. 43 | * [Node.js](https://nodejs.org/en/) is an open source, cross-platform JavaScript run-time environment that executes server-side JavaScript code. 44 | 45 | 46 | ### Prerequisites 47 | 48 | * [IBM Cloud account](https://cloud.ibm.com/registration/?target=%2Fdashboard%2Fapps) 49 | * [Node v8.x or v10.x and npm v6.x or greater](https://nodejs.org/en/download/) 50 | * [VSCode version 1.38.0 or greater](https://code.visualstudio.com) 51 | * [IBM Blockchain Platform Extension for VSCode](https://marketplace.visualstudio.com/items?itemName=IBMBlockchain.ibm-blockchain-platform) 52 | 53 | # Running the application 54 | 55 | Follow these steps to set up and run this code pattern. The steps are described in detail below. 56 | 57 | ### Steps 58 | 59 | 1. [Clone the repo](#1-clone-the-repo) 60 | 2. [Package the smart contract](#2-package-the-smart-contract) 61 | 3. [Create IBM Cloud services](#3-create-ibm-cloud-services) 62 | 4. [Build a network](#4-build-a-network) 63 | 5. [Deploy Blockchain-network Smart Contract on the network](#5-deploy-blockchain-network-smart-contract-on-the-network) 64 | 6. [Connect application to the network](#6-connect-application-to-the-network) 65 | 7. [Run the application](#7-run-the-application) 66 | 67 | 68 | ## 1. Clone the repo 69 | 70 | Clone this repository in a folder your choice: 71 | 72 | ``` 73 | git clone https://github.com/IBM/Create-BlockchainNetwork-IBPV20 74 | ``` 75 | 76 | 77 | ## 2. Package the smart contract 78 | 79 | We will use the IBM Blockchain Platform extension on VS Code to package the smart contract. 80 | 81 | If you have not done so already, you will need to install the IBM Blockchain Platform VSCode extension — you’ll also need to install the latest version of VSCode to do this. To see if you have the latest version go to Help -> Check for updates. If VSCode exits at this point, it likely means you don’t have the latest version. If so, update your VSCode (using the link provided earlier) and once you’re done, click on extensions in the sidebar on the left side of your screen. At the top, search the extensions marketplace for IBM Blockchain Platform and click on Install. You should see a status of “Installing” and eventually “Installed” — then click on reload. 82 | 83 | * Open Visual Studio code and open the `contract` folder from `Create-BlockchainNetwork` repository that was cloned earlier. 84 | **It is important that you are opening the `contract` folder and not the entire `Create-BlockchainNetwork` directory; otherwise you will see an error that states that it doesn't understand what programming language you are using.** 85 | 86 | * Press the `F1` key to see the different VS code options. Choose `IBM Blockchain Platform: Package Open Project`. 87 | 88 |

89 | 90 |

91 | 92 | * Click the `IBM Blockchain Platform` extension button on the left. This will show the packaged contracts on top and the blockchain connections on the bottom. 93 | 94 |

95 | 96 |

97 | 98 | * Next, right click on the packaged contract (in this case, select blockchain-network@0.0.1) to export it and choose `Export Package`. 99 | 100 | * Choose a location on your machine and save the `.cds` file. We will use this packaged smart contract later to deploy on the IBM Blockchain Platform service. 101 | 102 | Now, we will start setting up the different services required for configuring our Hyperledger Fabric network on the IBM Cloud and for running our application using this network. 103 | 104 | 105 | ## 3. Create IBM Cloud services 106 | 107 | * Create the [IBM Cloud Kubernetes Service](https://cloud.ibm.com/kubernetes/catalog/cluster). You can find the service in the `Catalog`. For this code pattern, we can use the `Free` cluster, and give it a name. Note, that the IBM Cloud allows one instance of a free cluster which expires after 30 days. **Note: it could take 20 minutes for the IBM Cloud Kubernetes Service setup to complete**. 108 | 109 |
110 |

111 | 112 |

113 |
114 | 115 | * Create the [IBM Blockchain Platform](https://cloud.ibm.com/catalog/services/blockchain-platform) service on the IBM Cloud. You can find the service in the `Catalog`, and give it a name. 116 | 117 |
118 |

119 | 120 |

121 |
122 | 123 | * After your kubernetes cluster is up and running, you can deploy your IBM Blockchain Platform on the cluster. Again - wait for the IBM Cloud Kubernetes service to indicate it was deployed. The IBM Blockchain Platform service walks through few steps and finds your cluster on the IBM Cloud to deploy the service on. 124 | 125 |
126 |

127 | 128 |

129 |
130 | 131 | * Once the Blockchain Platform is deployed on the Kubernetes cluster, you can launch the console to start configuring your blockchain network. 132 | 133 | 134 | ## 4. Build a network 135 | 136 | We will build a network as provided by the IBM Blockchain Platform [documentation](https://cloud.ibm.com/docs/services/blockchain/howto?topic=blockchain-ibp-console-build-network#ibp-console-build-network). This will include creating a channel with a single peer organization with its own MSP and CA (Certificate Authority), and an orderer organization with its own MSP and CA. We will create the respective identities to deploy peers and operate nodes. 137 | 138 | 139 | #### Create your peer organization CA 140 | - Navigate to the Nodes tab in the left navigation and click Add Certificate Authority. 141 | - Click Create an IBM Cloud Certificate Authority and Next. 142 | - Give it a CA display name of `Org1 CA` and click Next. 143 | - Specify an CA Administrator Enroll ID of `admin` and CA Administrator Enroll Secret of `adminpw`, then click Next. 144 | - Review the summary and click Add Certificate Authority. 145 | 146 |
147 |

148 | 149 |

150 |
151 | 152 | 153 | #### Associate the peer organization CA admin identity 154 | - In the Nodes tab, select the Org1 CA once it is running (indicated by the green box in the tile). 155 | - Click Associate identity on the CA overview panel. 156 | - On the side panel, select Enroll ID. 157 | - Provide an Enroll ID of `admin` and an Enroll secret of `adminpw`. Use the default value of `Org1 CA Identity` for the Identity display name. 158 | - Click Associate identity to add the identity into your wallet and associate the admin identity with the Org1 CA. 159 | 160 |
161 |

162 | 163 |

164 |
165 | 166 | 167 | #### Use peer organization CA to register the peer and org1 admin identities 168 | - Select the Org1 CA Certificate Authority and ensure the `admin` identity that was created for the CA is visible in the table. 169 | - We will register an admin for our organization "org1". Click on the Register User button. Give an Enroll ID of `org1admin`, and Enroll Secret of `org1adminpw`. Set the Type for this identity as `client`. We can specify to Use root affiliation or uncheck this field and select from any of the affiliated organizations from the drop-down list. We will leave the Maximum enrollments field blank. Click Next. 170 | - We will not be adding any attributes to this user. Click Register user. 171 | - We will repeat the process to create an identity of the peer. Click on the Register User button. Give an Enroll ID of `peer1`, and Enroll Secret of `peer1pw`. Set the Type for this identity as `peer`. We can specify to Use root affiliation or uncheck this field and select from any of the affiliated organizations from the drop-down list. Click Next. 172 | - We will not be adding any attributes to this user. Click Register user. 173 | 174 |
175 |

176 | 177 |

178 |
179 | 180 | 181 | #### Create the peer organization MSP definition 182 | - Navigate to the Organizations tab in the left navigation and click Create MSP definition. 183 | - Enter the MSP Display name as `Org1MSP` and an MSP ID of `Org1MSP`. 184 | - Under Root Certificate Authority details, specify the peer CA that we created `Org1 CA` as the root CA for the organization. 185 | - Give the Enroll ID and Enroll secret for your organization admin, `org1admin` and `org1adminpw`. Then, give the Identity name as `Org1 Admin`. 186 | - Click the Generate button to enroll this identity as the admin of your organization and export the identity to the wallet. Click Export to export the admin certificates to your file system. Finally click Create MSP definition. 187 | 188 |
189 |

190 | 191 |

192 |
193 | 194 | 195 | #### Create a peer 196 | - Navigate to the Nodes tab in the left navigation and click Add peer. 197 | - Click Create an IBM Cloud peer and then click Next. 198 | - Give the Peer display name as `Peer Org1` and click Next. 199 | - On the next screen, select `Org1 CA` as the Certificate Authority. Then, give the Peer enroll ID and Peer enroll secret for the peer identity that you created for your peer, that is, `peer1`, and `peer1pw`. Select the Organization MSP as `Org1MSP`, from the drop-down list. Leave the TLS CSR hostname blank. Click Next. 200 | - The next step is to Associate an identity with this peer to make it the admin of your peer. Select your peer admin identity `Org1 Admin` and click Next. 201 | - Review the summary and click Add peer. 202 | 203 |
204 |

205 | 206 |

207 |
208 | 209 | 210 | #### Create your orderer organization CA 211 | - Navigate to the Nodes tab in the left navigation and click Add Certificate Authority. 212 | - Click Create an IBM Cloud Certificate Authority and Next. 213 | - Give it a CA display name of `Orderer CA` and click Next. 214 | - Specify an CA Administrator Enroll ID of `admin` and CA Administrator Enroll Secret of `adminpw`, then click Next. 215 | - Review the summary and click Add Certificate Authority. 216 | 217 |
218 |

219 | 220 |

221 |
222 | 223 | 224 | #### Associate the orderer organization CA admin identity 225 | - In the Nodes tab, select the Orderer CA once it is running (indicated by the green box in the tile). 226 | - Click Associate identity on the CA overview panel. 227 | - On the side panel, select Enroll ID. 228 | - Provide an Enroll ID of `admin` and an Enroll secret of `adminpw`. Use the default value of `Orderer CA Identity` for the Identity display name. 229 | - Click Associate identity to add the identity into your wallet and associate the admin identity with the Orderer CA. 230 | 231 |
232 |

233 | 234 |

235 |
236 | 237 | 238 | #### Use orderer organization CA to register orderer and orderer admin identities 239 | - Select the Orderer CA Certificate Authority and ensure the `admin` identity that was created for the CA is visible in the table. 240 | - We will register an admin for the "orderer" organization. Click on the Register User button. Give an Enroll ID of `ordereradmin`, and Enroll Secret of `ordereradminpw`. Set the Type for this identity as `client`. We can specify to Use root affiliation or uncheck this field and select from any of the affiliated organizations from the drop-down list. We will leave the Maximum enrollments field blank. Click Next. 241 | - We will not be adding any attributes to this user. Click Register user. 242 | - We will repeat the process to create an identity of the orderer. Click on the Register User button. Give an Enroll ID of `orderer1`, and Enroll Secret of `orderer1pw`. Set the Type for this identity as `orderer`. We can specify to Use root affiliation or uncheck this field and select from any of the affiliated organizations from the drop-down list. Click Next. 243 | - We will not be adding any attributes to this user. Click Register user. 244 | 245 |
246 |

247 | 248 |

249 |
250 | 251 | 252 | #### Create the orderer organization MSP definition 253 | - Navigate to the Organizations tab in the left navigation and click Create MSP definition. 254 | - Enter the MSP Display name as `OrdererMSP` and an MSP ID of `OrdererMSP`. 255 | - Under Root Certificate Authority details, specify the peer CA that we created `Orderer CA` as the root CA for the organization. 256 | - Give the Enroll ID and Enroll secret for your organization admin, `ordereradmin` and `ordereradminpw`. Then, give the Identity name as `Orderer Admin`. 257 | - Click the Generate button to enroll this identity as the admin of your organization and export the identity to the wallet. Click Export to export the admin certificates to your file system. Finally click Create MSP definition. 258 | 259 |
260 |

261 | 262 |

263 |
264 | 265 | 266 | #### Create an orderer 267 | 268 | - Navigate to the Nodes tab in the left navigation and click Add ordering service. 269 | - Click Create an IBM Cloud Ordering service and then click Next. 270 | - Give the Ordering service display name as `Orderer` and click Next. 271 | - On the next screen, select `Orderer CA` as the Certificate Authority. Then, give the Ordering service enroll ID and Ordering service enroll secret for the peer identity that you created for your orderer, that is, `orderer1`, and `orderer1pw`. Select the Organization MSP as `OrdererMSP`, from the drop-down list. Leave the TLS CSR hostname blank. Click Next. 272 | - The next step is to Associate an identity with this peer to make it the admin of your peer. Select your peer admin identity `Orderer Admin` and click Next. 273 | - Review the summary and click Add ordering service. 274 | 275 |
276 |

277 | 278 |

279 |
280 | 281 | 282 | #### Add organization as Consortium Member on the orderer to transact 283 | - Navigate to the Nodes tab, and click on the Orderer that we created. 284 | - Under Consortium Members, click Add organization. 285 | - From the drop-down list, select `Org1MSP`, as this is the MSP that represents the peer's organization "Org1". 286 | - Click Add organization. 287 | 288 |
289 |

290 | 291 |

292 |
293 | 294 | 295 | #### Create the channel 296 | - Navigate to the Channels tab in the left navigation and click Create channel. 297 | - Give the Channel name as `mychannel`. 298 | - Select the orderer you created, `Orderer` from the Ordering service drop-down list. 299 | - Under Organizations, select `Org1MSP (Org1MSP)` from the drop-down list to add the organization "Org1" as a member of this channel. Click Add button. Set the permissions for this member as Operator. 300 | - Scroll down to the Channel creator organization section and select `Org1MSP (Org1MSP)` from the dropdown as the Channel creator MSP and select `Org1 Admin` from the dropdown under Identity. 301 | - Click Create channel. 302 | 303 |
304 |

305 | 306 |

307 |
308 | 309 | 310 | #### Join your peer to the channel 311 | - Click Join channel to add a peer to the channel. 312 | - Select your `Orderer` as the Ordering service and click Next. 313 | - Enter the name of the Channel as `mychannel` and click Next. 314 | - Next we need to select which peers should be added to the channel. In our case, we just want to add the peer we created under "Org1". Select `Peer Org1` . 315 | - Click Join channel. 316 | 317 |
318 |

319 | 320 |

321 |
322 | 323 | 324 | ## 5. Deploy Blockchain Network Smart Contract on the network 325 | 326 | 327 | #### Install a smart contract 328 | - Navigate to the Smart contracts tab in the left navigation and click Install smart contract. 329 | - Browse to the location of the Blockchain Network smart contract package file (it is probably named `blockchain-network@0.0.1.cds`), which we packaged earlier using the IBM Blockchain Platform extension for Visual Studio code. 330 | - Click on Add file and find your packaged smart contract. 331 | - Once the contract is uploaded, click Install smart contract. 332 | 333 |
334 |

335 | 336 |

337 |
338 | 339 | #### Instantiate smart contract 340 | - Under Installed smart contracts, find the smart contract from the list (**Note: ours is called blockchain-network**) installed on our peer and click Instantiate from the overflow menu on the right side of the row. 341 | - On the side panel that opens, select the channel, `mychannel` on which to instantiate the smart contract. Click Next. 342 | - Select the organization members to be included in the endorsement policy. In our case, we need to select `Org1MSP`. Click Next. 343 | - We can skip the Setup private data collection step and simply click Next. 344 | - Give the Function name of `instantiate` and leave Arguments blank. **Note: `instantiate` is the method in the `my-contract.js` contract file that initiates the smart contracts on the peer. Some may name this `initLedger`**. 345 | - Click Instantiate. 346 | 347 |
348 |

349 | 350 |

351 |
352 | 353 | 354 | ## 6. Connect application to the network 355 | 356 | #### Connect with sdk through connection profile 357 | - Scroll down to the Instantiated smart contracts section and find the "blockchain-network" contract in the list. Click on `Connect with SDK` from the overflow menu on the right side of the row. 358 | - From the dropdown for MSP for connection choose `Org1MSP`. 359 | - From the dropdown for Certificate Authority choose `Org1 CA`. 360 | - Download the connection profile by scrolling down and clicking Download Connection Profile. This will download the connection json which we will use to establish a connection between the Node.js web application and the Blockchain Network. 361 | - You can click Close once the download completes. 362 | 363 |
364 |

365 | 366 |

367 |
368 | 369 | #### Create an application admin 370 | - Navigate to the Nodes tab in the left navigation, and under Certificate Authorities, choose your organization CA, Org1 CA. 371 | - Click on Register user. 372 | - Give an Enroll ID of `app-admin` and Enroll Secret of `app-adminpw`. Set the Type for this identity as `client`. We can specify to Use root affiliation or uncheck this field and select from any of the affiliated organizations from the drop-down list. We will leave the Maximum enrollments field blank. Click Next. 373 | - Under Attributes, click on Add attribute. Give attribute as `hf.Registrar.Roles` = `*`. This will allow this identity to act as a registrar and issue identities for our app. Click Add attribute. 374 | - Click Register user. 375 | 376 |
377 |

378 | 379 |

380 |
381 | 382 | #### Update application connection 383 | - Copy the connection profile you downloaded into the [application folder](application). 384 | - Update the [config.json](application/config.json) file with: 385 | - The connection json file name you downloaded. 386 | - The enroll id and enroll secret for your app admin, which we earlier provided as `app-admin` and `app-adminpw`. 387 | - The orgMSP ID, which we provided as `Org1MSP`. 388 | - The caName, which can be found in your connection json file under "organization" -> "Org1MSP" -> certificateAuthorities". This would be like an IP address and a port. 389 | - The username you would like to register. 390 | - Update gateway discovery to `{ enabled: true, asLocalhost: false }` to connect to IBM Blockchain Platform. 391 | 392 | ```bash 393 | { 394 | "connection_file": "mychannel_blockchain-network_profile.json", 395 | "channel_name": "mychannel", 396 | "smart_contract_name": "blockchain-network", 397 | "appAdmin": "app-admin", 398 | "appAdminSecret": "app-adminpw", 399 | "orgMSPID": "org1msp", 400 | "caName": "169.46.208.151:30404", 401 | "userName": "user1", 402 | "gatewayDiscovery": { "enabled": true, "asLocalhost": false } 403 | } 404 | ``` 405 | 406 | 407 | ## 7. Run the application 408 | 409 | #### Enroll admin 410 | - First, navigate to the `application` directory, and install the node dependencies. 411 | 412 | ```bash 413 | cd application 414 | npm install 415 | ``` 416 | 417 | - Run the `enrollAdmin.js` script 418 | 419 | ```bash 420 | node enrollAdmin.js 421 | ``` 422 | 423 | - You should see the following in the terminal: 424 | 425 | ```bash 426 | msg: Successfully enrolled admin user app-admin and imported it into the wallet 427 | ``` 428 | 429 | 430 | - Run the `invoke-transactions.js` script to execute the transactions on the smart contract 431 | 432 | ```bash 433 | node invoke-transactions.js 434 | ``` 435 | 436 | - You should see the following in the terminal: 437 | 438 | ```bash 439 | Wallet path: /Users/snyk/CognitiveApps/code-patterns/Create-BlockchainNetwork-IBPV20/Create-BlockchainNetwork-IBPV20/application/wallet 440 | 441 | Submit AddTrader transaction. 442 | addTraderAResponse: 443 | {"traderId":"traderA","firstName":"Carlos","lastName":"Roca"} 444 | addTraderAResponse_JSON.parse: 445 | { traderId: 'traderA', firstName: 'Carlos', lastName: 'Roca' } 446 | 447 | Submit AddTrader transaction. 448 | addTraderBResponse: 449 | {"traderId":"traderB","firstName":"Lisa","lastName":"Smith"} 450 | addTraderBResponse_JSON.parse: 451 | { traderId: 'traderB', firstName: 'Lisa', lastName: 'Smith' } 452 | 453 | Submit AddCommodity transaction. 454 | addCommodityResponse: 455 | {"tradingSymbol":"commodityA","description":"farm-commodity","traderId":"traderA"} 456 | addCommodityResponse_JSON.parse: 457 | { tradingSymbol: 'commodityA', 458 | description: 'farm-commodity', 459 | traderId: 'traderA' } 460 | 461 | Submit Commodity trade transaction. 462 | commodityTradeResponse: 463 | {"description":"farm-commodity","traderId":"traderB","tradingSymbol":"commodityA"} 464 | commodityTradeResponse_JSON.parse: 465 | { description: 'farm-commodity', 466 | traderId: 'traderB', 467 | tradingSymbol: 'commodityA' } 468 | ``` 469 | 470 | 471 | ## Troubleshooting 472 | 473 | * If you receive the following error on submitting transaction: 474 | `error: [Client.js]: Channel not found for name mychannel` 475 | 476 | It is safe to ignore this error because the IBM Blockchain Platform service has service discovery enabled by default. (In order to use service discovery to find other peers, please define anchor peers for your channel in the UI). If you really want the message to go away you can add the channels section to the connection profile, but it is a warning rather than a true error telling the user the channel is found but not in the connection profile. 477 | 478 | As an example you can manually add the following json and update the IP address and ports manually: 479 | 480 | ``` 481 | "channels": { 482 | "mychannel": { 483 | "orderers": [ 484 | "169.46.208.151:32078" 485 | ], 486 | "peers": { 487 | "169.46.208.151:31017": {} 488 | } 489 | } 490 | }, 491 | ``` 492 | 493 | 494 | ## Extending the code pattern 495 | This application can be expanded in a couple of ways: 496 | * Create a wallet for every member and use the member's wallet to interact with the application. 497 | * Add a UI application in place of the `invoke.js` node application to execute the transactions. 498 | 499 | 500 | ## Links 501 | * [Hyperledger Fabric Docs](http://hyperledger-fabric.readthedocs.io/en/latest/) 502 | * [Zero to Blockchain](https://www.redbooks.ibm.com/Redbooks.nsf/RedbookAbstracts/crse0401.html?Open) 503 | * [IBM Code Patterns for Blockchain](https://developer.ibm.com/patterns/category/blockchain/) 504 | 505 | 506 | ## License 507 | This code pattern is licensed under the Apache Software License, Version 2. Separate third-party code objects invoked within this code pattern are licensed by their respective providers pursuant to their own separate licenses. Contributions are subject to the [Developer Certificate of Origin, Version 1.1 (DCO)](https://developercertificate.org/) and the [Apache Software License, Version 2](https://www.apache.org/licenses/LICENSE-2.0.txt). 508 | 509 | [Apache Software License (ASL) FAQ](https://www.apache.org/foundation/license-faq.html#WhatDoesItMEAN) 510 | -------------------------------------------------------------------------------- /application/.gitignore: -------------------------------------------------------------------------------- 1 | node_modules/ 2 | -------------------------------------------------------------------------------- /application/config.json: -------------------------------------------------------------------------------- 1 | { 2 | "channel_name": "mychannel", 3 | "smart_contract_name": "blockchain-network", 4 | "connection_file": "mychannel_blockchain-network_profile.json", 5 | "appAdmin": "app-admin", 6 | "appAdminSecret": "app-adminpw", 7 | "orgMSPID": "org1msp", 8 | "caName": "173.193.79.114:31853", 9 | "userName": "user1", 10 | "gatewayDiscovery": { "enabled": true, "asLocalhost": false } 11 | } 12 | -------------------------------------------------------------------------------- /application/enrollAdmin.js: -------------------------------------------------------------------------------- 1 | /* 2 | * SPDX-License-Identifier: Apache-2.0 3 | */ 4 | 5 | 'use strict'; 6 | 7 | const FabricCAServices = require('fabric-ca-client'); 8 | const { FileSystemWallet, X509WalletMixin } = require('fabric-network'); 9 | const fs = require('fs'); 10 | const path = require('path'); 11 | 12 | // capture network variables from config.json 13 | const configPath = path.join(process.cwd(), 'config.json'); 14 | const configJSON = fs.readFileSync(configPath, 'utf8'); 15 | const config = JSON.parse(configJSON); 16 | let connection_file = config.connection_file; 17 | let appAdmin = config.appAdmin; 18 | let appAdminSecret = config.appAdminSecret; 19 | let orgMSPID = config.orgMSPID; 20 | let caName = config.caName; 21 | 22 | const ccpPath = path.join(process.cwd(), connection_file); 23 | const ccpJSON = fs.readFileSync(ccpPath, 'utf8'); 24 | const ccp = JSON.parse(ccpJSON); 25 | 26 | 27 | async function main() { 28 | try { 29 | 30 | // Create a new CA client for interacting with the CA. 31 | const caURL = ccp.certificateAuthorities[caName].url; 32 | const ca = new FabricCAServices(caURL); 33 | 34 | // Create a new file system based wallet for managing identities. 35 | const walletPath = path.join(process.cwd(), 'wallet'); 36 | const wallet = new FileSystemWallet(walletPath); 37 | console.log(`Wallet path: ${walletPath}`); 38 | 39 | // Check to see if we've already enrolled the admin user. 40 | const adminExists = await wallet.exists(appAdmin); 41 | if (adminExists) { 42 | console.log(`An identity for the admin user ${appAdmin} already exists in the wallet`); 43 | return; 44 | } 45 | 46 | // Enroll the admin user, and import the new identity into the wallet. 47 | const enrollment = await ca.enroll({ enrollmentID: appAdmin, enrollmentSecret: appAdminSecret }); 48 | const identity = X509WalletMixin.createIdentity(orgMSPID, enrollment.certificate, enrollment.key.toBytes()); 49 | wallet.import(appAdmin, identity); 50 | console.log(`msg: Successfully enrolled admin user ${appAdmin} and imported it into the wallet`); 51 | 52 | } catch (error) { 53 | console.error(`Failed to enroll admin user ${appAdmin}: ${error}`); 54 | process.exit(1); 55 | } 56 | } 57 | 58 | main(); 59 | -------------------------------------------------------------------------------- /application/invoke-transactions.js: -------------------------------------------------------------------------------- 1 | /* 2 | * SPDX-License-Identifier: Apache-2.0 3 | */ 4 | 5 | 'use strict'; 6 | 7 | const { FileSystemWallet, Gateway } = require('fabric-network'); 8 | const fs = require('fs'); 9 | const path = require('path'); 10 | const configPath = path.join(process.cwd(), 'config.json'); 11 | const configJSON = fs.readFileSync(configPath, 'utf8'); 12 | const config = JSON.parse(configJSON); 13 | 14 | let ccpPath = config.connection_file; 15 | let appAdmin = config.appAdmin; 16 | let channelName = config.channel_name; 17 | let smartContractName = config.smart_contract_name; 18 | const ccpJSON = fs.readFileSync(ccpPath, 'utf8'); 19 | const ccp = JSON.parse(ccpJSON); 20 | 21 | async function main() { 22 | try { 23 | 24 | // Create a new file system based wallet for managing identities. 25 | const walletPath = path.join(process.cwd(), 'wallet'); 26 | const wallet = new FileSystemWallet(walletPath); 27 | console.log(`Wallet path: ${walletPath}`); 28 | 29 | // Check to see if we've already enrolled the user. 30 | const userExists = await wallet.exists(appAdmin); 31 | if (!userExists) { 32 | console.log(`An identity for the user ${appAdmin} does not exist in the wallet`); 33 | console.log('Run the enrollAdmin.js application before retrying'); 34 | return; 35 | } 36 | 37 | // Create a new gateway for connecting to our peer node. 38 | const gateway = new Gateway(); 39 | await gateway.connect(ccp, { wallet, identity: appAdmin , discovery: {enabled: true, asLocalhost:false }}); 40 | 41 | // Get the network (channel) our contract is deployed to. 42 | const network = await gateway.getNetwork(channelName); 43 | 44 | // Get the contract from the network. 45 | const contract = network.getContract(smartContractName); 46 | 47 | 48 | //Begin submitting transactions 49 | 50 | //Submit create a trader transaction 51 | console.log('\nSubmit AddTrader transaction.'); 52 | let traderId = 'traderA'; 53 | let firstName = 'Carlos'; 54 | let lastName = 'Roca'; 55 | const addTraderAResponse = await contract.submitTransaction('AddTrader', traderId, firstName, lastName); 56 | console.log('addTraderAResponse: '); 57 | console.log(addTraderAResponse.toString('utf8')); 58 | console.log('addTraderAResponse_JSON.parse: '); 59 | console.log(JSON.parse(addTraderAResponse.toString())); 60 | 61 | 62 | //Submit create a second trader transaction 63 | console.log('\nSubmit AddTrader transaction.'); 64 | traderId = 'traderB'; 65 | firstName = 'Lisa'; 66 | lastName = 'Smith'; 67 | const addTraderBResponse = await contract.submitTransaction('AddTrader', traderId, firstName, lastName); 68 | console.log('addTraderBResponse: '); 69 | console.log(addTraderBResponse.toString('utf8')); 70 | console.log('addTraderBResponse_JSON.parse: '); 71 | console.log(JSON.parse(addTraderBResponse.toString())); 72 | 73 | 74 | //Submit create a commodity transaction 75 | console.log('\nSubmit AddCommodity transaction.'); 76 | let tradingSymbol = 'commodityA'; 77 | let description = 'farm-commodity'; 78 | traderId = 'traderA'; 79 | const addCommodityResponse = await contract.submitTransaction('AddCommodity', tradingSymbol, description, traderId); 80 | console.log('addCommodityResponse: '); 81 | console.log(addCommodityResponse.toString('utf8')); 82 | console.log('addCommodityResponse_JSON.parse: '); 83 | console.log(JSON.parse(addCommodityResponse.toString())); 84 | 85 | 86 | //Submit create transaction to reassign the owner of the commodity - hence simulating a trade 87 | console.log('\nSubmit Commodity trade transaction.'); 88 | tradingSymbol = 'commodityA'; 89 | traderId = 'traderB'; 90 | const commodityTradeResponse = await contract.submitTransaction('commodityTrade', tradingSymbol, traderId); 91 | console.log('commodityTradeResponse: '); 92 | console.log(commodityTradeResponse.toString('utf8')); 93 | console.log('commodityTradeResponse_JSON.parse: '); 94 | console.log(JSON.parse(commodityTradeResponse.toString())); 95 | 96 | 97 | // Disconnect from the gateway. 98 | await gateway.disconnect(); 99 | 100 | } catch (error) { 101 | console.error(`Failed to submit transaction: ${error}`); 102 | process.exit(1); 103 | } 104 | } 105 | 106 | main(); -------------------------------------------------------------------------------- /application/mychannel_blockchain-network_profile.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "mychannel", 3 | "description": "Network on IBP v2", 4 | "version": "1.0.0", 5 | "client": { 6 | "organization": "org1msp" 7 | }, 8 | "organizations": { 9 | "org1msp": { 10 | "mspid": "org1msp", 11 | "peers": [ 12 | "173.193.79.114:30141" 13 | ], 14 | "certificateAuthorities": [ 15 | "173.193.79.114:31853" 16 | ] 17 | } 18 | }, 19 | "orderers": { 20 | "173.193.79.114:31680": { 21 | "url": "grpcs://173.193.79.114:31680", 22 | "tlsCACerts": { 23 | "pem": "-----BEGIN CERTIFICATE-----\nMIICFzCCAb6gAwIBAgIUcZ3vAkIi1SP0yDQmDHFQlToInBgwCgYIKoZIzj0EAwIw\nXTELMAkGA1UEBhMCVVMxFzAVBgNVBAgTDk5vcnRoIENhcm9saW5hMRQwEgYDVQQK\nEwtIeXBlcmxlZGdlcjEPMA0GA1UECxMGRmFicmljMQ4wDAYDVQQDEwV0bHNjYTAe\nFw0xOTAzMDMyMjA0MDBaFw0zNDAyMjcyMjA0MDBaMF0xCzAJBgNVBAYTAlVTMRcw\nFQYDVQQIEw5Ob3J0aCBDYXJvbGluYTEUMBIGA1UEChMLSHlwZXJsZWRnZXIxDzAN\nBgNVBAsTBkZhYnJpYzEOMAwGA1UEAxMFdGxzY2EwWTATBgcqhkjOPQIBBggqhkjO\nPQMBBwNCAATF2joyx3WMqPD48jaqfXMUfRGB1e3kYXwszGk6fwSh4FoHZ/tzOUDG\neZ7F+tqrU45XXK56dySGysQVaBAh0T2so1wwWjAOBgNVHQ8BAf8EBAMCAQYwEgYD\nVR0TAQH/BAgwBgEB/wIBATAdBgNVHQ4EFgQUY7G4CP5R+BQIGl4jaxTN7ftfu2Qw\nFQYDVR0RBA4wDIcErcFPcocECkxESzAKBggqhkjOPQQDAgNHADBEAiAU8r8NXFEy\nUC8dnHhxvftYvCAXsx/u4G5B34Sx3twN8wIgd7bzR+uN9+VHQVHrZQoi0Tb+iKYS\nyZ8+02z3AhAabK8=\n-----END CERTIFICATE-----\n" 24 | } 25 | } 26 | }, 27 | "peers": { 28 | "173.193.79.114:30141": { 29 | "url": "grpcs://173.193.79.114:30141", 30 | "tlsCACerts": { 31 | "pem": "-----BEGIN CERTIFICATE-----\nMIICGDCCAb6gAwIBAgIUXTBfQWYzXaN3drHh+pBnv9IN5kYwCgYIKoZIzj0EAwIw\nXTELMAkGA1UEBhMCVVMxFzAVBgNVBAgTDk5vcnRoIENhcm9saW5hMRQwEgYDVQQK\nEwtIeXBlcmxlZGdlcjEPMA0GA1UECxMGRmFicmljMQ4wDAYDVQQDEwV0bHNjYTAe\nFw0xOTAzMDMyMTUwMDBaFw0zNDAyMjcyMTUwMDBaMF0xCzAJBgNVBAYTAlVTMRcw\nFQYDVQQIEw5Ob3J0aCBDYXJvbGluYTEUMBIGA1UEChMLSHlwZXJsZWRnZXIxDzAN\nBgNVBAsTBkZhYnJpYzEOMAwGA1UEAxMFdGxzY2EwWTATBgcqhkjOPQIBBggqhkjO\nPQMBBwNCAAS+SBvwfqcv1wgeLtBO+a3tocrZwWq9UCwH8gE7AHLP8cdhmNFw8cm6\n/WZL2r53hvRhMbZIP385QphZNjs2bdDEo1wwWjAOBgNVHQ8BAf8EBAMCAQYwEgYD\nVR0TAQH/BAgwBgEB/wIBATAdBgNVHQ4EFgQUtBGRTeNFsFPpqndg1Zs44DLIwiMw\nFQYDVR0RBA4wDIcErcFPcocECkxESzAKBggqhkjOPQQDAgNIADBFAiEAwgY9SSaL\niJkO1KztwUQ0dvfAX+5lHmr5IUDgASgHl1sCIDT3Bh8GdWc9b7LwF0SZfGNrnnnq\n6g6OIMNploDnmnjP\n-----END CERTIFICATE-----\n" 32 | }, 33 | "grpcOptions": { 34 | "ssl-target-name-override": "173.193.79.114" 35 | } 36 | } 37 | }, 38 | "certificateAuthorities": { 39 | "173.193.79.114:31853": { 40 | "url": "https://173.193.79.114:31853", 41 | "caName": "ca", 42 | "tlsCACerts": { 43 | "pem": "-----BEGIN CERTIFICATE-----\r\nMIICeTCCAeKgAwIBAgIJaI7ejI0Oy4X/MA0GCSqGSIb3DQEBBQUAMHQxFzAVBgNV\r\nBAMTDjE3My4xOTMuNzkuMTE0MQswCQYDVQQGEwJVUzEXMBUGA1UECBMOTm9ydGgg\r\nQ2Fyb2xpbmExEDAOBgNVBAcTB1JhbGVpZ2gxDDAKBgNVBAoTA0lCTTETMBEGA1UE\r\nCxMKQmxvY2tjaGFpbjAeFw0xOTAzMDMyMTU0NDNaFw0yMDAzMDIyMTU0NDNaMHQx\r\nFzAVBgNVBAMTDjE3My4xOTMuNzkuMTE0MQswCQYDVQQGEwJVUzEXMBUGA1UECBMO\r\nTm9ydGggQ2Fyb2xpbmExEDAOBgNVBAcTB1JhbGVpZ2gxDDAKBgNVBAoTA0lCTTET\r\nMBEGA1UECxMKQmxvY2tjaGFpbjCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEA\r\njssljVxA0KXRn6iqOkFkoGyvwcKKWDm+4EdG2COz1M68Ns+DKmxHrgqdNM2+64IJ\r\ngG2plRtU4o3XJPjUhtvEbZyj4TbCySYHt3CXAv/4rUzW28tgGh/0v1nLx3vlrl3F\r\nmF941/2c06+rpZxipvV4sqAC790YWJY2XFK0NQZbFaMCAwEAAaMTMBEwDwYDVR0R\r\nBAgwBocErcFPcjANBgkqhkiG9w0BAQUFAAOBgQAg/se95RzsDxFh3smyQqYg+PUM\r\ng8mJX3x8+d8RX6FkPlNk9JRpe/U/qr/vET8uvE9phK+ep+W6JjuZGKUhzsowakl9\r\nHELfecDyzfpyAJsDfS23PLccihHyc28fot1IiWW+5sHgqLpxNqmEHHigW/+IOrV4\r\n+qowSRtYzvgUAK+zZA==\r\n-----END CERTIFICATE-----\r\n" 44 | } 45 | } 46 | } 47 | } -------------------------------------------------------------------------------- /application/package-lock.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "application", 3 | "version": "1.0.0", 4 | "lockfileVersion": 1, 5 | "requires": true, 6 | "dependencies": { 7 | "@babel/code-frame": { 8 | "version": "7.8.3", 9 | "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.8.3.tgz", 10 | "integrity": "sha512-a9gxpmdXtZEInkCSHUJDLHZVBgb1QS0jhss4cPP93EW7s+uC5bikET2twEF3KV+7rDblJcmNvTR7VJejqd2C2g==", 11 | "dev": true, 12 | "requires": { 13 | "@babel/highlight": "^7.8.3" 14 | } 15 | }, 16 | "@babel/highlight": { 17 | "version": "7.8.3", 18 | "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.8.3.tgz", 19 | "integrity": "sha512-PX4y5xQUvy0fnEVHrYOarRPXVWafSjTW9T0Hab8gVIawpl2Sj0ORyrygANq+KjcNlSSTw0YCLSNA8OyZ1I4yEg==", 20 | "dev": true, 21 | "requires": { 22 | "chalk": "^2.0.0", 23 | "esutils": "^2.0.2", 24 | "js-tokens": "^4.0.0" 25 | } 26 | }, 27 | "@types/bytebuffer": { 28 | "version": "5.0.40", 29 | "resolved": "https://registry.npmjs.org/@types/bytebuffer/-/bytebuffer-5.0.40.tgz", 30 | "integrity": "sha512-h48dyzZrPMz25K6Q4+NCwWaxwXany2FhQg/ErOcdZS1ZpsaDnDMZg8JYLMTGz7uvXKrcKGJUZJlZObyfgdaN9g==", 31 | "requires": { 32 | "@types/long": "*", 33 | "@types/node": "*" 34 | } 35 | }, 36 | "@types/long": { 37 | "version": "4.0.0", 38 | "resolved": "https://registry.npmjs.org/@types/long/-/long-4.0.0.tgz", 39 | "integrity": "sha512-1w52Nyx4Gq47uuu0EVcsHBxZFJgurQ+rTKS3qMHxR1GY2T8c2AJYd6vZoZ9q1rupaDjU0yT+Jc2XTyXkjeMA+Q==" 40 | }, 41 | "@types/node": { 42 | "version": "13.1.7", 43 | "resolved": "https://registry.npmjs.org/@types/node/-/node-13.1.7.tgz", 44 | "integrity": "sha512-HU0q9GXazqiKwviVxg9SI/+t/nAsGkvLDkIdxz+ObejG2nX6Si00TeLqHMoS+a/1tjH7a8YpKVQwtgHuMQsldg==" 45 | }, 46 | "abbrev": { 47 | "version": "1.1.1", 48 | "resolved": "https://registry.npmjs.org/abbrev/-/abbrev-1.1.1.tgz", 49 | "integrity": "sha512-nne9/IiQ/hzIhY6pdDnbBtz7DjPTKrY00P/zvPSm5pOFkl6xuGrGnXn/VtTNNfNtAfZ9/1RtehkszU9qcTii0Q==" 50 | }, 51 | "accepts": { 52 | "version": "1.3.7", 53 | "resolved": "https://registry.npmjs.org/accepts/-/accepts-1.3.7.tgz", 54 | "integrity": "sha512-Il80Qs2WjYlJIBNzNkK6KYqlVMTbZLXgHx2oT0pU/fjRHyEp+PEfEPY0R3WCwAGVOtauxh1hOxNgIf5bv7dQpA==", 55 | "requires": { 56 | "mime-types": "~2.1.24", 57 | "negotiator": "0.6.2" 58 | } 59 | }, 60 | "acorn": { 61 | "version": "7.1.1", 62 | "resolved": "https://registry.npmjs.org/acorn/-/acorn-7.1.1.tgz", 63 | "integrity": "sha512-add7dgA5ppRPxCFJoAGfMDi7PIBXq1RtGo7BhbLaxwrXPOmw8gq48Y9ozT01hUKy9byMjlR20EJhu5zlkErEkg==", 64 | "dev": true 65 | }, 66 | "acorn-jsx": { 67 | "version": "5.1.0", 68 | "resolved": "https://registry.npmjs.org/acorn-jsx/-/acorn-jsx-5.1.0.tgz", 69 | "integrity": "sha512-tMUqwBWfLFbJbizRmEcWSLw6HnFzfdJs2sOJEOwwtVPMoH/0Ay+E703oZz78VSXZiiDcZrQ5XKjPIUQixhmgVw==", 70 | "dev": true 71 | }, 72 | "ajv": { 73 | "version": "6.10.0", 74 | "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.10.0.tgz", 75 | "integrity": "sha512-nffhOpkymDECQyR0mnsUtoCE8RlX38G0rYP+wgLWFyZuUyuuojSSvi/+euOiQBIn63whYwYVIIH1TvE3tu4OEg==", 76 | "requires": { 77 | "fast-deep-equal": "^2.0.1", 78 | "fast-json-stable-stringify": "^2.0.0", 79 | "json-schema-traverse": "^0.4.1", 80 | "uri-js": "^4.2.2" 81 | } 82 | }, 83 | "ansi-align": { 84 | "version": "2.0.0", 85 | "resolved": "https://registry.npmjs.org/ansi-align/-/ansi-align-2.0.0.tgz", 86 | "integrity": "sha1-w2rsy6VjuJzrVW82kPCx2eNUf38=", 87 | "requires": { 88 | "string-width": "^2.0.0" 89 | }, 90 | "dependencies": { 91 | "ansi-regex": { 92 | "version": "3.0.0", 93 | "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-3.0.0.tgz", 94 | "integrity": "sha1-7QMXwyIGT3lGbAKWa922Bas32Zg=" 95 | }, 96 | "is-fullwidth-code-point": { 97 | "version": "2.0.0", 98 | "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-2.0.0.tgz", 99 | "integrity": "sha1-o7MKXE8ZkYMWeqq5O+764937ZU8=" 100 | }, 101 | "string-width": { 102 | "version": "2.1.1", 103 | "resolved": "https://registry.npmjs.org/string-width/-/string-width-2.1.1.tgz", 104 | "integrity": "sha512-nOqH59deCq9SRHlxq1Aw85Jnt4w6KvLKqWVik6oA9ZklXLNIOlqg4F2yrT1MVaTjAqvVwdfeZ7w7aCvJD7ugkw==", 105 | "requires": { 106 | "is-fullwidth-code-point": "^2.0.0", 107 | "strip-ansi": "^4.0.0" 108 | } 109 | }, 110 | "strip-ansi": { 111 | "version": "4.0.0", 112 | "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-4.0.0.tgz", 113 | "integrity": "sha1-qEeQIusaw2iocTibY1JixQXuNo8=", 114 | "requires": { 115 | "ansi-regex": "^3.0.0" 116 | } 117 | } 118 | } 119 | }, 120 | "ansi-escapes": { 121 | "version": "4.3.0", 122 | "resolved": "https://registry.npmjs.org/ansi-escapes/-/ansi-escapes-4.3.0.tgz", 123 | "integrity": "sha512-EiYhwo0v255HUL6eDyuLrXEkTi7WwVCLAw+SeOQ7M7qdun1z1pum4DEm/nuqIVbPvi9RPPc9k9LbyBv6H0DwVg==", 124 | "dev": true, 125 | "requires": { 126 | "type-fest": "^0.8.1" 127 | } 128 | }, 129 | "ansi-regex": { 130 | "version": "2.1.1", 131 | "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-2.1.1.tgz", 132 | "integrity": "sha1-w7M6te42DYbg5ijwRorn7yfWVN8=" 133 | }, 134 | "ansi-styles": { 135 | "version": "3.2.1", 136 | "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", 137 | "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", 138 | "requires": { 139 | "color-convert": "^1.9.0" 140 | } 141 | }, 142 | "anymatch": { 143 | "version": "3.1.1", 144 | "resolved": "https://registry.npmjs.org/anymatch/-/anymatch-3.1.1.tgz", 145 | "integrity": "sha512-mM8522psRCqzV+6LhomX5wgp25YVibjh8Wj23I5RPkPppSVSjyKD2A2mBJmWGa+KN7f2D6LNh9jkBCeyLktzjg==", 146 | "requires": { 147 | "normalize-path": "^3.0.0", 148 | "picomatch": "^2.0.4" 149 | } 150 | }, 151 | "argparse": { 152 | "version": "1.0.10", 153 | "resolved": "https://registry.npmjs.org/argparse/-/argparse-1.0.10.tgz", 154 | "integrity": "sha512-o5Roy6tNG4SL/FOkCAN6RzjiakZS25RLYFrcMttJqbdd8BWrnA+fGz57iN5Pb06pvBGvl5gQ0B48dJlslXvoTg==", 155 | "requires": { 156 | "sprintf-js": "~1.0.2" 157 | } 158 | }, 159 | "array-flatten": { 160 | "version": "1.1.1", 161 | "resolved": "https://registry.npmjs.org/array-flatten/-/array-flatten-1.1.1.tgz", 162 | "integrity": "sha1-ml9pkFGx5wczKPKgCJaLZOopVdI=" 163 | }, 164 | "ascli": { 165 | "version": "1.0.1", 166 | "resolved": "https://registry.npmjs.org/ascli/-/ascli-1.0.1.tgz", 167 | "integrity": "sha1-vPpZdKYvGOgcq660lzKrSoj5Brw=", 168 | "requires": { 169 | "colour": "~0.7.1", 170 | "optjs": "~3.2.2" 171 | } 172 | }, 173 | "asn1": { 174 | "version": "0.2.4", 175 | "resolved": "https://registry.npmjs.org/asn1/-/asn1-0.2.4.tgz", 176 | "integrity": "sha512-jxwzQpLQjSmWXgwaCZE9Nz+glAG01yF1QnWgbhGwHI5A6FRIEY6IVqtHhIepHqI7/kyEyQEagBC5mBEFlIYvdg==", 177 | "requires": { 178 | "safer-buffer": "~2.1.0" 179 | } 180 | }, 181 | "assert-plus": { 182 | "version": "1.0.0", 183 | "resolved": "https://registry.npmjs.org/assert-plus/-/assert-plus-1.0.0.tgz", 184 | "integrity": "sha1-8S4PPF13sLHN2RRpQuTpbB5N1SU=" 185 | }, 186 | "astral-regex": { 187 | "version": "1.0.0", 188 | "resolved": "https://registry.npmjs.org/astral-regex/-/astral-regex-1.0.0.tgz", 189 | "integrity": "sha512-+Ryf6g3BKoRc7jfp7ad8tM4TtMiaWvbF/1/sQcZPkkS7ag3D5nMBCe2UfOTONtAkaG0tO0ij3C5Lwmf1EiyjHg==", 190 | "dev": true 191 | }, 192 | "async": { 193 | "version": "1.5.2", 194 | "resolved": "https://registry.npmjs.org/async/-/async-1.5.2.tgz", 195 | "integrity": "sha1-7GphrlZIDAw8skHJVhjiCJL5Zyo=" 196 | }, 197 | "asynckit": { 198 | "version": "0.4.0", 199 | "resolved": "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz", 200 | "integrity": "sha1-x57Zf380y48robyXkLzDZkdLS3k=" 201 | }, 202 | "aws-sign2": { 203 | "version": "0.7.0", 204 | "resolved": "https://registry.npmjs.org/aws-sign2/-/aws-sign2-0.7.0.tgz", 205 | "integrity": "sha1-tG6JCTSpWR8tL2+G1+ap8bP+dqg=" 206 | }, 207 | "aws4": { 208 | "version": "1.9.1", 209 | "resolved": "https://registry.npmjs.org/aws4/-/aws4-1.9.1.tgz", 210 | "integrity": "sha512-wMHVg2EOHaMRxbzgFJ9gtjOOCrI80OHLG14rxi28XwOW8ux6IiEbRCGGGqCtdAIg4FQCbW20k9RsT4y3gJlFug==" 211 | }, 212 | "balanced-match": { 213 | "version": "1.0.0", 214 | "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.0.tgz", 215 | "integrity": "sha1-ibTRmasr7kneFk6gK4nORi1xt2c=" 216 | }, 217 | "basic-auth": { 218 | "version": "2.0.1", 219 | "resolved": "https://registry.npmjs.org/basic-auth/-/basic-auth-2.0.1.tgz", 220 | "integrity": "sha512-NF+epuEdnUYVlGuhaxbbq+dvJttwLnGY+YixlXlME5KpQ5W3CnXA5cVTneY3SPbPDRkcjMbifrwmFYcClgOZeg==", 221 | "requires": { 222 | "safe-buffer": "5.1.2" 223 | } 224 | }, 225 | "bcrypt-pbkdf": { 226 | "version": "1.0.2", 227 | "resolved": "https://registry.npmjs.org/bcrypt-pbkdf/-/bcrypt-pbkdf-1.0.2.tgz", 228 | "integrity": "sha1-pDAdOJtqQ/m2f/PKEaP2Y342Dp4=", 229 | "requires": { 230 | "tweetnacl": "^0.14.3" 231 | } 232 | }, 233 | "binary-extensions": { 234 | "version": "2.0.0", 235 | "resolved": "https://registry.npmjs.org/binary-extensions/-/binary-extensions-2.0.0.tgz", 236 | "integrity": "sha512-Phlt0plgpIIBOGTT/ehfFnbNlfsDEiqmzE2KRXoX1bLIlir4X/MR+zSyBEkL05ffWgnRSf/DXv+WrUAVr93/ow==" 237 | }, 238 | "bl": { 239 | "version": "1.2.2", 240 | "resolved": "https://registry.npmjs.org/bl/-/bl-1.2.2.tgz", 241 | "integrity": "sha512-e8tQYnZodmebYDWGH7KMRvtzKXaJHx3BbilrgZCfvyLUYdKpK1t5PSPmpkny/SgiTSCnjfLW7v5rlONXVFkQEA==", 242 | "requires": { 243 | "readable-stream": "^2.3.5", 244 | "safe-buffer": "^5.1.1" 245 | } 246 | }, 247 | "bn.js": { 248 | "version": "4.11.8", 249 | "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.11.8.tgz", 250 | "integrity": "sha512-ItfYfPLkWHUjckQCk8xC+LwxgK8NYcXywGigJgSwOP8Y2iyWT4f2vsZnoOXTTbo+o5yXmIUJ4gn5538SO5S3gA==" 251 | }, 252 | "body-parser": { 253 | "version": "1.19.0", 254 | "resolved": "https://registry.npmjs.org/body-parser/-/body-parser-1.19.0.tgz", 255 | "integrity": "sha512-dhEPs72UPbDnAQJ9ZKMNTP6ptJaionhP5cBb541nXPlW60Jepo9RV/a4fX4XWW9CuFNK22krhrj1+rgzifNCsw==", 256 | "requires": { 257 | "bytes": "3.1.0", 258 | "content-type": "~1.0.4", 259 | "debug": "2.6.9", 260 | "depd": "~1.1.2", 261 | "http-errors": "1.7.2", 262 | "iconv-lite": "0.4.24", 263 | "on-finished": "~2.3.0", 264 | "qs": "6.7.0", 265 | "raw-body": "2.4.0", 266 | "type-is": "~1.6.17" 267 | } 268 | }, 269 | "boxen": { 270 | "version": "1.3.0", 271 | "resolved": "https://registry.npmjs.org/boxen/-/boxen-1.3.0.tgz", 272 | "integrity": "sha512-TNPjfTr432qx7yOjQyaXm3dSR0MH9vXp7eT1BFSl/C51g+EFnOR9hTg1IreahGBmDNCehscshe45f+C1TBZbLw==", 273 | "requires": { 274 | "ansi-align": "^2.0.0", 275 | "camelcase": "^4.0.0", 276 | "chalk": "^2.0.1", 277 | "cli-boxes": "^1.0.0", 278 | "string-width": "^2.0.0", 279 | "term-size": "^1.2.0", 280 | "widest-line": "^2.0.0" 281 | }, 282 | "dependencies": { 283 | "ansi-regex": { 284 | "version": "3.0.0", 285 | "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-3.0.0.tgz", 286 | "integrity": "sha1-7QMXwyIGT3lGbAKWa922Bas32Zg=" 287 | }, 288 | "camelcase": { 289 | "version": "4.1.0", 290 | "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-4.1.0.tgz", 291 | "integrity": "sha1-1UVjW+HjPFQmScaRc+Xeas+uNN0=" 292 | }, 293 | "is-fullwidth-code-point": { 294 | "version": "2.0.0", 295 | "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-2.0.0.tgz", 296 | "integrity": "sha1-o7MKXE8ZkYMWeqq5O+764937ZU8=" 297 | }, 298 | "string-width": { 299 | "version": "2.1.1", 300 | "resolved": "https://registry.npmjs.org/string-width/-/string-width-2.1.1.tgz", 301 | "integrity": "sha512-nOqH59deCq9SRHlxq1Aw85Jnt4w6KvLKqWVik6oA9ZklXLNIOlqg4F2yrT1MVaTjAqvVwdfeZ7w7aCvJD7ugkw==", 302 | "requires": { 303 | "is-fullwidth-code-point": "^2.0.0", 304 | "strip-ansi": "^4.0.0" 305 | } 306 | }, 307 | "strip-ansi": { 308 | "version": "4.0.0", 309 | "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-4.0.0.tgz", 310 | "integrity": "sha1-qEeQIusaw2iocTibY1JixQXuNo8=", 311 | "requires": { 312 | "ansi-regex": "^3.0.0" 313 | } 314 | } 315 | } 316 | }, 317 | "brace-expansion": { 318 | "version": "1.1.11", 319 | "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", 320 | "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", 321 | "requires": { 322 | "balanced-match": "^1.0.0", 323 | "concat-map": "0.0.1" 324 | } 325 | }, 326 | "braces": { 327 | "version": "3.0.2", 328 | "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.2.tgz", 329 | "integrity": "sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A==", 330 | "requires": { 331 | "fill-range": "^7.0.1" 332 | } 333 | }, 334 | "brorand": { 335 | "version": "1.1.0", 336 | "resolved": "https://registry.npmjs.org/brorand/-/brorand-1.1.0.tgz", 337 | "integrity": "sha1-EsJe/kCkXjwyPrhnWgoM5XsiNx8=" 338 | }, 339 | "browser-request": { 340 | "version": "0.3.3", 341 | "resolved": "https://registry.npmjs.org/browser-request/-/browser-request-0.3.3.tgz", 342 | "integrity": "sha1-ns5bWsqJopkyJC4Yv5M975h2zBc=" 343 | }, 344 | "buffer-alloc": { 345 | "version": "1.2.0", 346 | "resolved": "https://registry.npmjs.org/buffer-alloc/-/buffer-alloc-1.2.0.tgz", 347 | "integrity": "sha512-CFsHQgjtW1UChdXgbyJGtnm+O/uLQeZdtbDo8mfUgYXCHSM1wgrVxXm6bSyrUuErEb+4sYVGCzASBRot7zyrow==", 348 | "requires": { 349 | "buffer-alloc-unsafe": "^1.1.0", 350 | "buffer-fill": "^1.0.0" 351 | } 352 | }, 353 | "buffer-alloc-unsafe": { 354 | "version": "1.1.0", 355 | "resolved": "https://registry.npmjs.org/buffer-alloc-unsafe/-/buffer-alloc-unsafe-1.1.0.tgz", 356 | "integrity": "sha512-TEM2iMIEQdJ2yjPJoSIsldnleVaAk1oW3DBVUykyOLsEsFmEc9kn+SFFPz+gl54KQNxlDnAwCXosOS9Okx2xAg==" 357 | }, 358 | "buffer-fill": { 359 | "version": "1.0.0", 360 | "resolved": "https://registry.npmjs.org/buffer-fill/-/buffer-fill-1.0.0.tgz", 361 | "integrity": "sha1-+PeLdniYiO858gXNY39o5wISKyw=" 362 | }, 363 | "bytebuffer": { 364 | "version": "5.0.1", 365 | "resolved": "https://registry.npmjs.org/bytebuffer/-/bytebuffer-5.0.1.tgz", 366 | "integrity": "sha1-WC7qSxqHO20CCkjVjfhfC7ps/d0=", 367 | "requires": { 368 | "long": "~3" 369 | }, 370 | "dependencies": { 371 | "long": { 372 | "version": "3.2.0", 373 | "resolved": "https://registry.npmjs.org/long/-/long-3.2.0.tgz", 374 | "integrity": "sha1-2CG3E4yhy1gcFymQ7xTbIAtcR0s=" 375 | } 376 | } 377 | }, 378 | "bytes": { 379 | "version": "3.1.0", 380 | "resolved": "https://registry.npmjs.org/bytes/-/bytes-3.1.0.tgz", 381 | "integrity": "sha512-zauLjrfCG+xvoyaqLoV8bLVXXNGC4JqlxFCutSDWA6fJrTo2ZuvLYTqZ7aHBLZSMOopbzwv8f+wZcVzfVTI2Dg==" 382 | }, 383 | "callsite": { 384 | "version": "1.0.0", 385 | "resolved": "https://registry.npmjs.org/callsite/-/callsite-1.0.0.tgz", 386 | "integrity": "sha1-KAOY5dZkvXQDi28JBRU+borxvCA=" 387 | }, 388 | "callsites": { 389 | "version": "3.1.0", 390 | "resolved": "https://registry.npmjs.org/callsites/-/callsites-3.1.0.tgz", 391 | "integrity": "sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==", 392 | "dev": true 393 | }, 394 | "camelcase": { 395 | "version": "2.1.1", 396 | "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-2.1.1.tgz", 397 | "integrity": "sha1-fB0W1nmhu+WcoCys7PsBHiAfWh8=" 398 | }, 399 | "capture-stack-trace": { 400 | "version": "1.0.1", 401 | "resolved": "https://registry.npmjs.org/capture-stack-trace/-/capture-stack-trace-1.0.1.tgz", 402 | "integrity": "sha512-mYQLZnx5Qt1JgB1WEiMCf2647plpGeQ2NMR/5L0HNZzGQo4fuSPnK+wjfPnKZV0aiJDgzmWqqkV/g7JD+DW0qw==" 403 | }, 404 | "caseless": { 405 | "version": "0.12.0", 406 | "resolved": "https://registry.npmjs.org/caseless/-/caseless-0.12.0.tgz", 407 | "integrity": "sha1-G2gcIf+EAzyCZUMJBolCDRhxUdw=" 408 | }, 409 | "chalk": { 410 | "version": "2.4.2", 411 | "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", 412 | "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", 413 | "requires": { 414 | "ansi-styles": "^3.2.1", 415 | "escape-string-regexp": "^1.0.5", 416 | "supports-color": "^5.3.0" 417 | } 418 | }, 419 | "chardet": { 420 | "version": "0.7.0", 421 | "resolved": "https://registry.npmjs.org/chardet/-/chardet-0.7.0.tgz", 422 | "integrity": "sha512-mT8iDcrh03qDGRRmoA2hmBJnxpllMR+0/0qlzjqZES6NdiWDcZkCNAk4rPFZ9Q85r27unkiNNg8ZOiwZXBHwcA==", 423 | "dev": true 424 | }, 425 | "chokidar": { 426 | "version": "3.3.1", 427 | "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-3.3.1.tgz", 428 | "integrity": "sha512-4QYCEWOcK3OJrxwvyyAOxFuhpvOVCYkr33LPfFNBjAD/w3sEzWsp2BUOkI4l9bHvWioAd0rc6NlHUOEaWkTeqg==", 429 | "requires": { 430 | "anymatch": "~3.1.1", 431 | "braces": "~3.0.2", 432 | "fsevents": "~2.1.2", 433 | "glob-parent": "~5.1.0", 434 | "is-binary-path": "~2.1.0", 435 | "is-glob": "~4.0.1", 436 | "normalize-path": "~3.0.0", 437 | "readdirp": "~3.3.0" 438 | } 439 | }, 440 | "ci-info": { 441 | "version": "1.6.0", 442 | "resolved": "https://registry.npmjs.org/ci-info/-/ci-info-1.6.0.tgz", 443 | "integrity": "sha512-vsGdkwSCDpWmP80ncATX7iea5DWQemg1UgCW5J8tqjU3lYw4FBYuj89J0CTVomA7BEfvSZd84GmHko+MxFQU2A==" 444 | }, 445 | "cli-boxes": { 446 | "version": "1.0.0", 447 | "resolved": "https://registry.npmjs.org/cli-boxes/-/cli-boxes-1.0.0.tgz", 448 | "integrity": "sha1-T6kXw+WclKAEzWH47lCdplFocUM=" 449 | }, 450 | "cli-cursor": { 451 | "version": "3.1.0", 452 | "resolved": "https://registry.npmjs.org/cli-cursor/-/cli-cursor-3.1.0.tgz", 453 | "integrity": "sha512-I/zHAwsKf9FqGoXM4WWRACob9+SNukZTd94DWF57E4toouRulbCxcUh6RKUEOQlYTHJnzkPMySvPNaaSLNfLZw==", 454 | "dev": true, 455 | "requires": { 456 | "restore-cursor": "^3.1.0" 457 | } 458 | }, 459 | "cli-width": { 460 | "version": "2.2.0", 461 | "resolved": "https://registry.npmjs.org/cli-width/-/cli-width-2.2.0.tgz", 462 | "integrity": "sha1-/xnt6Kml5XkyQUewwR8PvLq+1jk=", 463 | "dev": true 464 | }, 465 | "cliui": { 466 | "version": "3.2.0", 467 | "resolved": "https://registry.npmjs.org/cliui/-/cliui-3.2.0.tgz", 468 | "integrity": "sha1-EgYBU3qRbSmUD5NNo7SNWFo5IT0=", 469 | "requires": { 470 | "string-width": "^1.0.1", 471 | "strip-ansi": "^3.0.1", 472 | "wrap-ansi": "^2.0.0" 473 | } 474 | }, 475 | "cloudant-follow": { 476 | "version": "0.17.0", 477 | "resolved": "https://registry.npmjs.org/cloudant-follow/-/cloudant-follow-0.17.0.tgz", 478 | "integrity": "sha512-JQ1xvKAHh8rsnSVBjATLCjz/vQw1sWBGadxr2H69yFMwD7hShUGDwwEefdypaxroUJ/w6t1cSwilp/hRUxEW8w==", 479 | "requires": { 480 | "browser-request": "~0.3.0", 481 | "debug": "^3.0.0", 482 | "request": "^2.83.0" 483 | }, 484 | "dependencies": { 485 | "debug": { 486 | "version": "3.2.6", 487 | "resolved": "https://registry.npmjs.org/debug/-/debug-3.2.6.tgz", 488 | "integrity": "sha512-mel+jf7nrtEl5Pn1Qx46zARXKDpBbvzezse7p7LqINmdoIk8PYP5SySaxEmYv6TZ0JyEKA1hsCId6DIhgITtWQ==", 489 | "requires": { 490 | "ms": "^2.1.1" 491 | } 492 | }, 493 | "ms": { 494 | "version": "2.1.2", 495 | "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", 496 | "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==" 497 | } 498 | } 499 | }, 500 | "code-point-at": { 501 | "version": "1.1.0", 502 | "resolved": "https://registry.npmjs.org/code-point-at/-/code-point-at-1.1.0.tgz", 503 | "integrity": "sha1-DQcLTQQ6W+ozovGkDi7bPZpMz3c=" 504 | }, 505 | "color-convert": { 506 | "version": "1.9.3", 507 | "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", 508 | "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", 509 | "requires": { 510 | "color-name": "1.1.3" 511 | } 512 | }, 513 | "color-name": { 514 | "version": "1.1.3", 515 | "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", 516 | "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=" 517 | }, 518 | "colors": { 519 | "version": "1.0.3", 520 | "resolved": "https://registry.npmjs.org/colors/-/colors-1.0.3.tgz", 521 | "integrity": "sha1-BDP0TYCWgP3rYO0mDxsMJi6CpAs=" 522 | }, 523 | "colour": { 524 | "version": "0.7.1", 525 | "resolved": "https://registry.npmjs.org/colour/-/colour-0.7.1.tgz", 526 | "integrity": "sha1-nLFpkX7F0SwHNtPoaFdG3xyt93g=" 527 | }, 528 | "combined-stream": { 529 | "version": "1.0.8", 530 | "resolved": "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.8.tgz", 531 | "integrity": "sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==", 532 | "requires": { 533 | "delayed-stream": "~1.0.0" 534 | } 535 | }, 536 | "concat-map": { 537 | "version": "0.0.1", 538 | "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", 539 | "integrity": "sha1-2Klr13/Wjfd5OnMDajug1UBdR3s=" 540 | }, 541 | "configstore": { 542 | "version": "3.1.2", 543 | "resolved": "https://registry.npmjs.org/configstore/-/configstore-3.1.2.tgz", 544 | "integrity": "sha512-vtv5HtGjcYUgFrXc6Kx747B83MRRVS5R1VTEQoXvuP+kMI+if6uywV0nDGoiydJRy4yk7h9od5Og0kxx4zUXmw==", 545 | "requires": { 546 | "dot-prop": "^4.1.0", 547 | "graceful-fs": "^4.1.2", 548 | "make-dir": "^1.0.0", 549 | "unique-string": "^1.0.0", 550 | "write-file-atomic": "^2.0.0", 551 | "xdg-basedir": "^3.0.0" 552 | } 553 | }, 554 | "content-disposition": { 555 | "version": "0.5.3", 556 | "resolved": "https://registry.npmjs.org/content-disposition/-/content-disposition-0.5.3.tgz", 557 | "integrity": "sha512-ExO0774ikEObIAEV9kDo50o+79VCUdEB6n6lzKgGwupcVeRlhrj3qGAfwq8G6uBJjkqLrhT0qEYFcWng8z1z0g==", 558 | "requires": { 559 | "safe-buffer": "5.1.2" 560 | } 561 | }, 562 | "content-type": { 563 | "version": "1.0.4", 564 | "resolved": "https://registry.npmjs.org/content-type/-/content-type-1.0.4.tgz", 565 | "integrity": "sha512-hIP3EEPs8tB9AT1L+NUqtwOAps4mk2Zob89MWXMHjHWg9milF/j4osnnQLXBCBFBk/tvIG/tUc9mOUJiPBhPXA==" 566 | }, 567 | "cookie": { 568 | "version": "0.4.0", 569 | "resolved": "https://registry.npmjs.org/cookie/-/cookie-0.4.0.tgz", 570 | "integrity": "sha512-+Hp8fLp57wnUSt0tY0tHEXh4voZRDnoIrZPqlo3DPiI4y9lwg/jqx+1Om94/W6ZaPDOUbnjOt/99w66zk+l1Xg==" 571 | }, 572 | "cookie-signature": { 573 | "version": "1.0.6", 574 | "resolved": "https://registry.npmjs.org/cookie-signature/-/cookie-signature-1.0.6.tgz", 575 | "integrity": "sha1-4wOogrNCzD7oylE6eZmXNNqzriw=" 576 | }, 577 | "core-util-is": { 578 | "version": "1.0.2", 579 | "resolved": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.2.tgz", 580 | "integrity": "sha1-tf1UIgqivFq1eqtxQMlAdUUDwac=" 581 | }, 582 | "cors": { 583 | "version": "2.8.5", 584 | "resolved": "https://registry.npmjs.org/cors/-/cors-2.8.5.tgz", 585 | "integrity": "sha512-KIHbLJqu73RGr/hnbrO9uBeixNGuvSQjul/jdFvS/KFSIH1hWVd1ng7zOHx+YrEfInLG7q4n6GHQ9cDtxv/P6g==", 586 | "requires": { 587 | "object-assign": "^4", 588 | "vary": "^1" 589 | } 590 | }, 591 | "create-error-class": { 592 | "version": "3.0.2", 593 | "resolved": "https://registry.npmjs.org/create-error-class/-/create-error-class-3.0.2.tgz", 594 | "integrity": "sha1-Br56vvlHo/FKMP1hBnHUAbyot7Y=", 595 | "requires": { 596 | "capture-stack-trace": "^1.0.0" 597 | } 598 | }, 599 | "cross-spawn": { 600 | "version": "5.1.0", 601 | "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-5.1.0.tgz", 602 | "integrity": "sha1-6L0O/uWPz/b4+UUQoKVUu/ojVEk=", 603 | "requires": { 604 | "lru-cache": "^4.0.1", 605 | "shebang-command": "^1.2.0", 606 | "which": "^1.2.9" 607 | } 608 | }, 609 | "crypto-random-string": { 610 | "version": "1.0.0", 611 | "resolved": "https://registry.npmjs.org/crypto-random-string/-/crypto-random-string-1.0.0.tgz", 612 | "integrity": "sha1-ojD2T1aDEOFJgAmUB5DsmVRbyn4=" 613 | }, 614 | "cycle": { 615 | "version": "1.0.3", 616 | "resolved": "https://registry.npmjs.org/cycle/-/cycle-1.0.3.tgz", 617 | "integrity": "sha1-IegLK+hYD5i0aPN5QwZisEbDStI=" 618 | }, 619 | "dashdash": { 620 | "version": "1.14.1", 621 | "resolved": "https://registry.npmjs.org/dashdash/-/dashdash-1.14.1.tgz", 622 | "integrity": "sha1-hTz6D3y+L+1d4gMmuN1YEDX24vA=", 623 | "requires": { 624 | "assert-plus": "^1.0.0" 625 | } 626 | }, 627 | "debug": { 628 | "version": "2.6.9", 629 | "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", 630 | "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", 631 | "requires": { 632 | "ms": "2.0.0" 633 | } 634 | }, 635 | "decamelize": { 636 | "version": "1.2.0", 637 | "resolved": "https://registry.npmjs.org/decamelize/-/decamelize-1.2.0.tgz", 638 | "integrity": "sha1-9lNNFRSCabIDUue+4m9QH5oZEpA=" 639 | }, 640 | "deep-extend": { 641 | "version": "0.6.0", 642 | "resolved": "https://registry.npmjs.org/deep-extend/-/deep-extend-0.6.0.tgz", 643 | "integrity": "sha512-LOHxIOaPYdHlJRtCQfDIVZtfw/ufM8+rVj649RIHzcm/vGwQRXFt6OPqIFWsm2XEMrNIEtWR64sY1LEKD2vAOA==" 644 | }, 645 | "deep-is": { 646 | "version": "0.1.3", 647 | "resolved": "https://registry.npmjs.org/deep-is/-/deep-is-0.1.3.tgz", 648 | "integrity": "sha1-s2nW+128E+7PUk+RsHD+7cNXzzQ=", 649 | "dev": true 650 | }, 651 | "delayed-stream": { 652 | "version": "1.0.0", 653 | "resolved": "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz", 654 | "integrity": "sha1-3zrhmayt+31ECqrgsp4icrJOxhk=" 655 | }, 656 | "depd": { 657 | "version": "1.1.2", 658 | "resolved": "https://registry.npmjs.org/depd/-/depd-1.1.2.tgz", 659 | "integrity": "sha1-m81S4UwJd2PnSbJ0xDRu0uVgtak=" 660 | }, 661 | "destroy": { 662 | "version": "1.0.4", 663 | "resolved": "https://registry.npmjs.org/destroy/-/destroy-1.0.4.tgz", 664 | "integrity": "sha1-l4hXRCxEdJ5CBmE+N5RiBYJqvYA=" 665 | }, 666 | "doctrine": { 667 | "version": "3.0.0", 668 | "resolved": "https://registry.npmjs.org/doctrine/-/doctrine-3.0.0.tgz", 669 | "integrity": "sha512-yS+Q5i3hBf7GBkd4KG8a7eBNNWNGLTaEwwYWUijIYM7zrlYDM0BFXHjjPWlWZ1Rg7UaddZeIDmi9jF3HmqiQ2w==", 670 | "dev": true, 671 | "requires": { 672 | "esutils": "^2.0.2" 673 | } 674 | }, 675 | "dot-prop": { 676 | "version": "4.2.0", 677 | "resolved": "https://registry.npmjs.org/dot-prop/-/dot-prop-4.2.0.tgz", 678 | "integrity": "sha512-tUMXrxlExSW6U2EXiiKGSBVdYgtV8qlHL+C10TsW4PURY/ic+eaysnSkwB4kA/mBlCyy/IKDJ+Lc3wbWeaXtuQ==", 679 | "requires": { 680 | "is-obj": "^1.0.0" 681 | } 682 | }, 683 | "duplexer3": { 684 | "version": "0.1.4", 685 | "resolved": "https://registry.npmjs.org/duplexer3/-/duplexer3-0.1.4.tgz", 686 | "integrity": "sha1-7gHdHKwO08vH/b6jfcCo8c4ALOI=" 687 | }, 688 | "ecc-jsbn": { 689 | "version": "0.1.2", 690 | "resolved": "https://registry.npmjs.org/ecc-jsbn/-/ecc-jsbn-0.1.2.tgz", 691 | "integrity": "sha1-OoOpBOVDUyh4dMVkt1SThoSamMk=", 692 | "requires": { 693 | "jsbn": "~0.1.0", 694 | "safer-buffer": "^2.1.0" 695 | } 696 | }, 697 | "ee-first": { 698 | "version": "1.1.1", 699 | "resolved": "https://registry.npmjs.org/ee-first/-/ee-first-1.1.1.tgz", 700 | "integrity": "sha1-WQxhFWsK4vTwJVcyoViyZrxWsh0=" 701 | }, 702 | "elliptic": { 703 | "version": "6.5.2", 704 | "resolved": "https://registry.npmjs.org/elliptic/-/elliptic-6.5.2.tgz", 705 | "integrity": "sha512-f4x70okzZbIQl/NSRLkI/+tteV/9WqL98zx+SQ69KbXxmVrmjwsNUPn/gYJJ0sHvEak24cZgHIPegRePAtA/xw==", 706 | "requires": { 707 | "bn.js": "^4.4.0", 708 | "brorand": "^1.0.1", 709 | "hash.js": "^1.0.0", 710 | "hmac-drbg": "^1.0.0", 711 | "inherits": "^2.0.1", 712 | "minimalistic-assert": "^1.0.0", 713 | "minimalistic-crypto-utils": "^1.0.0" 714 | } 715 | }, 716 | "emoji-regex": { 717 | "version": "8.0.0", 718 | "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", 719 | "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==", 720 | "dev": true 721 | }, 722 | "encodeurl": { 723 | "version": "1.0.2", 724 | "resolved": "https://registry.npmjs.org/encodeurl/-/encodeurl-1.0.2.tgz", 725 | "integrity": "sha1-rT/0yG7C0CkyL1oCw6mmBslbP1k=" 726 | }, 727 | "end-of-stream": { 728 | "version": "1.4.4", 729 | "resolved": "https://registry.npmjs.org/end-of-stream/-/end-of-stream-1.4.4.tgz", 730 | "integrity": "sha512-+uw1inIHVPQoaVuHzRyXd21icM+cnt4CzD5rW+NC1wjOUSTOs+Te7FOv7AhN7vS9x/oIyhLP5PR1H+phQAHu5Q==", 731 | "requires": { 732 | "once": "^1.4.0" 733 | } 734 | }, 735 | "errs": { 736 | "version": "0.3.2", 737 | "resolved": "https://registry.npmjs.org/errs/-/errs-0.3.2.tgz", 738 | "integrity": "sha1-eYCZstvTfKK8dJ5TinwTB9C1BJk=" 739 | }, 740 | "escape-html": { 741 | "version": "1.0.3", 742 | "resolved": "https://registry.npmjs.org/escape-html/-/escape-html-1.0.3.tgz", 743 | "integrity": "sha1-Aljq5NPQwJdN4cFpGI7wBR0dGYg=" 744 | }, 745 | "escape-string-regexp": { 746 | "version": "1.0.5", 747 | "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz", 748 | "integrity": "sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ=" 749 | }, 750 | "eslint": { 751 | "version": "6.8.0", 752 | "resolved": "https://registry.npmjs.org/eslint/-/eslint-6.8.0.tgz", 753 | "integrity": "sha512-K+Iayyo2LtyYhDSYwz5D5QdWw0hCacNzyq1Y821Xna2xSJj7cijoLLYmLxTQgcgZ9mC61nryMy9S7GRbYpI5Ig==", 754 | "dev": true, 755 | "requires": { 756 | "@babel/code-frame": "^7.0.0", 757 | "ajv": "^6.10.0", 758 | "chalk": "^2.1.0", 759 | "cross-spawn": "^6.0.5", 760 | "debug": "^4.0.1", 761 | "doctrine": "^3.0.0", 762 | "eslint-scope": "^5.0.0", 763 | "eslint-utils": "^1.4.3", 764 | "eslint-visitor-keys": "^1.1.0", 765 | "espree": "^6.1.2", 766 | "esquery": "^1.0.1", 767 | "esutils": "^2.0.2", 768 | "file-entry-cache": "^5.0.1", 769 | "functional-red-black-tree": "^1.0.1", 770 | "glob-parent": "^5.0.0", 771 | "globals": "^12.1.0", 772 | "ignore": "^4.0.6", 773 | "import-fresh": "^3.0.0", 774 | "imurmurhash": "^0.1.4", 775 | "inquirer": "^7.0.0", 776 | "is-glob": "^4.0.0", 777 | "js-yaml": "^3.13.1", 778 | "json-stable-stringify-without-jsonify": "^1.0.1", 779 | "levn": "^0.3.0", 780 | "lodash": "^4.17.14", 781 | "minimatch": "^3.0.4", 782 | "mkdirp": "^0.5.1", 783 | "natural-compare": "^1.4.0", 784 | "optionator": "^0.8.3", 785 | "progress": "^2.0.0", 786 | "regexpp": "^2.0.1", 787 | "semver": "^6.1.2", 788 | "strip-ansi": "^5.2.0", 789 | "strip-json-comments": "^3.0.1", 790 | "table": "^5.2.3", 791 | "text-table": "^0.2.0", 792 | "v8-compile-cache": "^2.0.3" 793 | }, 794 | "dependencies": { 795 | "ansi-regex": { 796 | "version": "4.1.0", 797 | "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-4.1.0.tgz", 798 | "integrity": "sha512-1apePfXM1UOSqw0o9IiFAovVz9M5S1Dg+4TrDwfMewQ6p/rmMueb7tWZjQ1rx4Loy1ArBggoqGpfqqdI4rondg==", 799 | "dev": true 800 | }, 801 | "cross-spawn": { 802 | "version": "6.0.5", 803 | "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-6.0.5.tgz", 804 | "integrity": "sha512-eTVLrBSt7fjbDygz805pMnstIs2VTBNkRm0qxZd+M7A5XDdxVRWO5MxGBXZhjY4cqLYLdtrGqRf8mBPmzwSpWQ==", 805 | "dev": true, 806 | "requires": { 807 | "nice-try": "^1.0.4", 808 | "path-key": "^2.0.1", 809 | "semver": "^5.5.0", 810 | "shebang-command": "^1.2.0", 811 | "which": "^1.2.9" 812 | }, 813 | "dependencies": { 814 | "semver": { 815 | "version": "5.7.1", 816 | "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz", 817 | "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==", 818 | "dev": true 819 | } 820 | } 821 | }, 822 | "debug": { 823 | "version": "4.1.1", 824 | "resolved": "https://registry.npmjs.org/debug/-/debug-4.1.1.tgz", 825 | "integrity": "sha512-pYAIzeRo8J6KPEaJ0VWOh5Pzkbw/RetuzehGM7QRRX5he4fPHx2rdKMB256ehJCkX+XRQm16eZLqLNS8RSZXZw==", 826 | "dev": true, 827 | "requires": { 828 | "ms": "^2.1.1" 829 | } 830 | }, 831 | "ms": { 832 | "version": "2.1.2", 833 | "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", 834 | "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==", 835 | "dev": true 836 | }, 837 | "semver": { 838 | "version": "6.3.0", 839 | "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz", 840 | "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==", 841 | "dev": true 842 | }, 843 | "strip-ansi": { 844 | "version": "5.2.0", 845 | "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-5.2.0.tgz", 846 | "integrity": "sha512-DuRs1gKbBqsMKIZlrffwlug8MHkcnpjs5VPmL1PAh+mA30U0DTotfDZ0d2UUsXpPmPmMMJ6W773MaA3J+lbiWA==", 847 | "dev": true, 848 | "requires": { 849 | "ansi-regex": "^4.1.0" 850 | } 851 | }, 852 | "strip-json-comments": { 853 | "version": "3.0.1", 854 | "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-3.0.1.tgz", 855 | "integrity": "sha512-VTyMAUfdm047mwKl+u79WIdrZxtFtn+nBxHeb844XBQ9uMNTuTHdx2hc5RiAJYqwTj3wc/xe5HLSdJSkJ+WfZw==", 856 | "dev": true 857 | } 858 | } 859 | }, 860 | "eslint-scope": { 861 | "version": "5.0.0", 862 | "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-5.0.0.tgz", 863 | "integrity": "sha512-oYrhJW7S0bxAFDvWqzvMPRm6pcgcnWc4QnofCAqRTRfQC0JcwenzGglTtsLyIuuWFfkqDG9vz67cnttSd53djw==", 864 | "dev": true, 865 | "requires": { 866 | "esrecurse": "^4.1.0", 867 | "estraverse": "^4.1.1" 868 | } 869 | }, 870 | "eslint-utils": { 871 | "version": "1.4.3", 872 | "resolved": "https://registry.npmjs.org/eslint-utils/-/eslint-utils-1.4.3.tgz", 873 | "integrity": "sha512-fbBN5W2xdY45KulGXmLHZ3c3FHfVYmKg0IrAKGOkT/464PQsx2UeIzfz1RmEci+KLm1bBaAzZAh8+/E+XAeZ8Q==", 874 | "dev": true, 875 | "requires": { 876 | "eslint-visitor-keys": "^1.1.0" 877 | } 878 | }, 879 | "eslint-visitor-keys": { 880 | "version": "1.1.0", 881 | "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-1.1.0.tgz", 882 | "integrity": "sha512-8y9YjtM1JBJU/A9Kc+SbaOV4y29sSWckBwMHa+FGtVj5gN/sbnKDf6xJUl+8g7FAij9LVaP8C24DUiH/f/2Z9A==", 883 | "dev": true 884 | }, 885 | "espree": { 886 | "version": "6.1.2", 887 | "resolved": "https://registry.npmjs.org/espree/-/espree-6.1.2.tgz", 888 | "integrity": "sha512-2iUPuuPP+yW1PZaMSDM9eyVf8D5P0Hi8h83YtZ5bPc/zHYjII5khoixIUTMO794NOY8F/ThF1Bo8ncZILarUTA==", 889 | "dev": true, 890 | "requires": { 891 | "acorn": "^7.1.0", 892 | "acorn-jsx": "^5.1.0", 893 | "eslint-visitor-keys": "^1.1.0" 894 | } 895 | }, 896 | "esprima": { 897 | "version": "4.0.1", 898 | "resolved": "https://registry.npmjs.org/esprima/-/esprima-4.0.1.tgz", 899 | "integrity": "sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A==" 900 | }, 901 | "esquery": { 902 | "version": "1.0.1", 903 | "resolved": "https://registry.npmjs.org/esquery/-/esquery-1.0.1.tgz", 904 | "integrity": "sha512-SmiyZ5zIWH9VM+SRUReLS5Q8a7GxtRdxEBVZpm98rJM7Sb+A9DVCndXfkeFUd3byderg+EbDkfnevfCwynWaNA==", 905 | "dev": true, 906 | "requires": { 907 | "estraverse": "^4.0.0" 908 | } 909 | }, 910 | "esrecurse": { 911 | "version": "4.2.1", 912 | "resolved": "https://registry.npmjs.org/esrecurse/-/esrecurse-4.2.1.tgz", 913 | "integrity": "sha512-64RBB++fIOAXPw3P9cy89qfMlvZEXZkqqJkjqqXIvzP5ezRZjW+lPWjw35UX/3EhUPFYbg5ER4JYgDw4007/DQ==", 914 | "dev": true, 915 | "requires": { 916 | "estraverse": "^4.1.0" 917 | } 918 | }, 919 | "estraverse": { 920 | "version": "4.3.0", 921 | "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-4.3.0.tgz", 922 | "integrity": "sha512-39nnKffWz8xN1BU/2c79n9nB9HDzo0niYUqx6xyqUnyoAnQyyWpOTdZEeiCch8BBu515t4wp9ZmgVfVhn9EBpw==", 923 | "dev": true 924 | }, 925 | "esutils": { 926 | "version": "2.0.3", 927 | "resolved": "https://registry.npmjs.org/esutils/-/esutils-2.0.3.tgz", 928 | "integrity": "sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g==", 929 | "dev": true 930 | }, 931 | "etag": { 932 | "version": "1.8.1", 933 | "resolved": "https://registry.npmjs.org/etag/-/etag-1.8.1.tgz", 934 | "integrity": "sha1-Qa4u62XvpiJorr/qg6x9eSmbCIc=" 935 | }, 936 | "execa": { 937 | "version": "0.7.0", 938 | "resolved": "https://registry.npmjs.org/execa/-/execa-0.7.0.tgz", 939 | "integrity": "sha1-lEvs00zEHuMqY6n68nrVpl/Fl3c=", 940 | "requires": { 941 | "cross-spawn": "^5.0.1", 942 | "get-stream": "^3.0.0", 943 | "is-stream": "^1.1.0", 944 | "npm-run-path": "^2.0.0", 945 | "p-finally": "^1.0.0", 946 | "signal-exit": "^3.0.0", 947 | "strip-eof": "^1.0.0" 948 | } 949 | }, 950 | "express": { 951 | "version": "4.17.1", 952 | "resolved": "https://registry.npmjs.org/express/-/express-4.17.1.tgz", 953 | "integrity": "sha512-mHJ9O79RqluphRrcw2X/GTh3k9tVv8YcoyY4Kkh4WDMUYKRZUq0h1o0w2rrrxBqM7VoeUVqgb27xlEMXTnYt4g==", 954 | "requires": { 955 | "accepts": "~1.3.7", 956 | "array-flatten": "1.1.1", 957 | "body-parser": "1.19.0", 958 | "content-disposition": "0.5.3", 959 | "content-type": "~1.0.4", 960 | "cookie": "0.4.0", 961 | "cookie-signature": "1.0.6", 962 | "debug": "2.6.9", 963 | "depd": "~1.1.2", 964 | "encodeurl": "~1.0.2", 965 | "escape-html": "~1.0.3", 966 | "etag": "~1.8.1", 967 | "finalhandler": "~1.1.2", 968 | "fresh": "0.5.2", 969 | "merge-descriptors": "1.0.1", 970 | "methods": "~1.1.2", 971 | "on-finished": "~2.3.0", 972 | "parseurl": "~1.3.3", 973 | "path-to-regexp": "0.1.7", 974 | "proxy-addr": "~2.0.5", 975 | "qs": "6.7.0", 976 | "range-parser": "~1.2.1", 977 | "safe-buffer": "5.1.2", 978 | "send": "0.17.1", 979 | "serve-static": "1.14.1", 980 | "setprototypeof": "1.1.1", 981 | "statuses": "~1.5.0", 982 | "type-is": "~1.6.18", 983 | "utils-merge": "1.0.1", 984 | "vary": "~1.1.2" 985 | } 986 | }, 987 | "extend": { 988 | "version": "3.0.2", 989 | "resolved": "https://registry.npmjs.org/extend/-/extend-3.0.2.tgz", 990 | "integrity": "sha512-fjquC59cD7CyW6urNXK0FBufkZcoiGG80wTuPujX590cB5Ttln20E2UB4S/WARVqhXffZl2LNgS+gQdPIIim/g==" 991 | }, 992 | "external-editor": { 993 | "version": "3.1.0", 994 | "resolved": "https://registry.npmjs.org/external-editor/-/external-editor-3.1.0.tgz", 995 | "integrity": "sha512-hMQ4CX1p1izmuLYyZqLMO/qGNw10wSv9QDCPfzXfyFrOaCSSoRfqE1Kf1s5an66J5JZC62NewG+mK49jOCtQew==", 996 | "dev": true, 997 | "requires": { 998 | "chardet": "^0.7.0", 999 | "iconv-lite": "^0.4.24", 1000 | "tmp": "^0.0.33" 1001 | } 1002 | }, 1003 | "extsprintf": { 1004 | "version": "1.3.0", 1005 | "resolved": "https://registry.npmjs.org/extsprintf/-/extsprintf-1.3.0.tgz", 1006 | "integrity": "sha1-lpGEQOMEGnpBT4xS48V06zw+HgU=" 1007 | }, 1008 | "eyes": { 1009 | "version": "0.1.8", 1010 | "resolved": "https://registry.npmjs.org/eyes/-/eyes-0.1.8.tgz", 1011 | "integrity": "sha1-Ys8SAjTGg3hdkCNIqADvPgzCC8A=" 1012 | }, 1013 | "fabric-ca-client": { 1014 | "version": "1.4.5", 1015 | "resolved": "https://registry.npmjs.org/fabric-ca-client/-/fabric-ca-client-1.4.5.tgz", 1016 | "integrity": "sha512-6/5HUTalGmdlp+hPhMW4Kup++UFP22RH5oGd1TXQMc5PFJWiR0soa8/ewbT+dT6wpJSYtoCoZPSAnwgsWICFag==", 1017 | "requires": { 1018 | "@types/bytebuffer": "^5.0.34", 1019 | "bn.js": "^4.11.3", 1020 | "elliptic": "^6.2.3", 1021 | "fs-extra": "^6.0.1", 1022 | "grpc": "1.23.3", 1023 | "js-sha3": "^0.7.0", 1024 | "jsrsasign": "^7.2.2", 1025 | "jssha": "^2.1.0", 1026 | "long": "^4.0.0", 1027 | "nconf": "^0.10.0", 1028 | "sjcl": "1.0.7", 1029 | "url": "^0.11.0", 1030 | "util": "^0.10.3", 1031 | "winston": "^2.2.0" 1032 | } 1033 | }, 1034 | "fabric-client": { 1035 | "version": "1.4.5", 1036 | "resolved": "https://registry.npmjs.org/fabric-client/-/fabric-client-1.4.5.tgz", 1037 | "integrity": "sha512-AQtDyQkwCYOgx4ZLOMSDHQn/sGrDz/fbeMJfUrE1Ym4EG6Mj8YngUFhf5+n2IYGIqpw0Bu1DHjkSPaZx8Ijgdw==", 1038 | "requires": { 1039 | "@types/bytebuffer": "^5.0.34", 1040 | "bn.js": "^4.11.3", 1041 | "callsite": "^1.0.0", 1042 | "elliptic": "^6.2.3", 1043 | "fabric-ca-client": "^1.4.5", 1044 | "fs-extra": "^6.0.1", 1045 | "grpc": "1.23.3", 1046 | "hoek": "^4.2.1", 1047 | "ignore-walk": "^3.0.0", 1048 | "js-sha3": "^0.7.0", 1049 | "js-yaml": "^3.9.0", 1050 | "jsrsasign": "^7.2.2", 1051 | "jssha": "^2.1.0", 1052 | "klaw": "^2.0.0", 1053 | "long": "^4.0.0", 1054 | "nano": "^6.4.4", 1055 | "nconf": "^0.10.0", 1056 | "pkcs11js": "^1.0.6", 1057 | "promise-settle": "^0.3.0", 1058 | "protobufjs": "5.0.3", 1059 | "sjcl": "1.0.7", 1060 | "tar-stream": "1.6.1", 1061 | "url": "^0.11.0", 1062 | "winston": "^2.2.0" 1063 | }, 1064 | "dependencies": { 1065 | "fabric-ca-client": { 1066 | "version": "1.4.5", 1067 | "resolved": "https://registry.npmjs.org/fabric-ca-client/-/fabric-ca-client-1.4.5.tgz", 1068 | "integrity": "sha512-6/5HUTalGmdlp+hPhMW4Kup++UFP22RH5oGd1TXQMc5PFJWiR0soa8/ewbT+dT6wpJSYtoCoZPSAnwgsWICFag==", 1069 | "requires": { 1070 | "@types/bytebuffer": "^5.0.34", 1071 | "bn.js": "^4.11.3", 1072 | "elliptic": "^6.2.3", 1073 | "fs-extra": "^6.0.1", 1074 | "grpc": "1.23.3", 1075 | "js-sha3": "^0.7.0", 1076 | "jsrsasign": "^7.2.2", 1077 | "jssha": "^2.1.0", 1078 | "long": "^4.0.0", 1079 | "nconf": "^0.10.0", 1080 | "sjcl": "1.0.7", 1081 | "url": "^0.11.0", 1082 | "util": "^0.10.3", 1083 | "winston": "^2.2.0" 1084 | } 1085 | } 1086 | } 1087 | }, 1088 | "fabric-network": { 1089 | "version": "1.4.5", 1090 | "resolved": "https://registry.npmjs.org/fabric-network/-/fabric-network-1.4.5.tgz", 1091 | "integrity": "sha512-6YMtx4/wVjKDu+Ln+1VgfDGjMo06SzGcpzcEFNYwP8NYpH68qLlcdkLTYWG1ESyEVBfB7lf/dAn7/duK3ysplA==", 1092 | "requires": { 1093 | "fabric-ca-client": "^1.4.5", 1094 | "fabric-client": "^1.4.5", 1095 | "nano": "^6.4.4", 1096 | "rimraf": "^2.6.2", 1097 | "uuid": "^3.2.1" 1098 | }, 1099 | "dependencies": { 1100 | "fabric-ca-client": { 1101 | "version": "1.4.5", 1102 | "resolved": "https://registry.npmjs.org/fabric-ca-client/-/fabric-ca-client-1.4.5.tgz", 1103 | "integrity": "sha512-6/5HUTalGmdlp+hPhMW4Kup++UFP22RH5oGd1TXQMc5PFJWiR0soa8/ewbT+dT6wpJSYtoCoZPSAnwgsWICFag==", 1104 | "requires": { 1105 | "@types/bytebuffer": "^5.0.34", 1106 | "bn.js": "^4.11.3", 1107 | "elliptic": "^6.2.3", 1108 | "fs-extra": "^6.0.1", 1109 | "grpc": "1.23.3", 1110 | "js-sha3": "^0.7.0", 1111 | "jsrsasign": "^7.2.2", 1112 | "jssha": "^2.1.0", 1113 | "long": "^4.0.0", 1114 | "nconf": "^0.10.0", 1115 | "sjcl": "1.0.7", 1116 | "url": "^0.11.0", 1117 | "util": "^0.10.3", 1118 | "winston": "^2.2.0" 1119 | } 1120 | } 1121 | } 1122 | }, 1123 | "fast-deep-equal": { 1124 | "version": "2.0.1", 1125 | "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-2.0.1.tgz", 1126 | "integrity": "sha1-ewUhjd+WZ79/Nwv3/bLLFf3Qqkk=" 1127 | }, 1128 | "fast-json-stable-stringify": { 1129 | "version": "2.0.0", 1130 | "resolved": "https://registry.npmjs.org/fast-json-stable-stringify/-/fast-json-stable-stringify-2.0.0.tgz", 1131 | "integrity": "sha1-1RQsDK7msRifh9OnYREGT4bIu/I=" 1132 | }, 1133 | "fast-levenshtein": { 1134 | "version": "2.0.6", 1135 | "resolved": "https://registry.npmjs.org/fast-levenshtein/-/fast-levenshtein-2.0.6.tgz", 1136 | "integrity": "sha1-PYpcZog6FqMMqGQ+hR8Zuqd5eRc=", 1137 | "dev": true 1138 | }, 1139 | "figures": { 1140 | "version": "3.1.0", 1141 | "resolved": "https://registry.npmjs.org/figures/-/figures-3.1.0.tgz", 1142 | "integrity": "sha512-ravh8VRXqHuMvZt/d8GblBeqDMkdJMBdv/2KntFH+ra5MXkO7nxNKpzQ3n6QD/2da1kH0aWmNISdvhM7gl2gVg==", 1143 | "dev": true, 1144 | "requires": { 1145 | "escape-string-regexp": "^1.0.5" 1146 | } 1147 | }, 1148 | "file-entry-cache": { 1149 | "version": "5.0.1", 1150 | "resolved": "https://registry.npmjs.org/file-entry-cache/-/file-entry-cache-5.0.1.tgz", 1151 | "integrity": "sha512-bCg29ictuBaKUwwArK4ouCaqDgLZcysCFLmM/Yn/FDoqndh/9vNuQfXRDvTuXKLxfD/JtZQGKFT8MGcJBK644g==", 1152 | "dev": true, 1153 | "requires": { 1154 | "flat-cache": "^2.0.1" 1155 | } 1156 | }, 1157 | "fill-range": { 1158 | "version": "7.0.1", 1159 | "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.0.1.tgz", 1160 | "integrity": "sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ==", 1161 | "requires": { 1162 | "to-regex-range": "^5.0.1" 1163 | } 1164 | }, 1165 | "finalhandler": { 1166 | "version": "1.1.2", 1167 | "resolved": "https://registry.npmjs.org/finalhandler/-/finalhandler-1.1.2.tgz", 1168 | "integrity": "sha512-aAWcW57uxVNrQZqFXjITpW3sIUQmHGG3qSb9mUah9MgMC4NeWhNOlNjXEYq3HjRAvL6arUviZGGJsBg6z0zsWA==", 1169 | "requires": { 1170 | "debug": "2.6.9", 1171 | "encodeurl": "~1.0.2", 1172 | "escape-html": "~1.0.3", 1173 | "on-finished": "~2.3.0", 1174 | "parseurl": "~1.3.3", 1175 | "statuses": "~1.5.0", 1176 | "unpipe": "~1.0.0" 1177 | } 1178 | }, 1179 | "flat-cache": { 1180 | "version": "2.0.1", 1181 | "resolved": "https://registry.npmjs.org/flat-cache/-/flat-cache-2.0.1.tgz", 1182 | "integrity": "sha512-LoQe6yDuUMDzQAEH8sgmh4Md6oZnc/7PjtwjNFSzveXqSHt6ka9fPBuso7IGf9Rz4uqnSnWiFH2B/zj24a5ReA==", 1183 | "dev": true, 1184 | "requires": { 1185 | "flatted": "^2.0.0", 1186 | "rimraf": "2.6.3", 1187 | "write": "1.0.3" 1188 | } 1189 | }, 1190 | "flatted": { 1191 | "version": "2.0.1", 1192 | "resolved": "https://registry.npmjs.org/flatted/-/flatted-2.0.1.tgz", 1193 | "integrity": "sha512-a1hQMktqW9Nmqr5aktAux3JMNqaucxGcjtjWnZLHX7yyPCmlSV3M54nGYbqT8K+0GhF3NBgmJCc3ma+WOgX8Jg==", 1194 | "dev": true 1195 | }, 1196 | "forever-agent": { 1197 | "version": "0.6.1", 1198 | "resolved": "https://registry.npmjs.org/forever-agent/-/forever-agent-0.6.1.tgz", 1199 | "integrity": "sha1-+8cfDEGt6zf5bFd60e1C2P2sypE=" 1200 | }, 1201 | "form-data": { 1202 | "version": "2.3.3", 1203 | "resolved": "https://registry.npmjs.org/form-data/-/form-data-2.3.3.tgz", 1204 | "integrity": "sha512-1lLKB2Mu3aGP1Q/2eCOx0fNbRMe7XdwktwOruhfqqd0rIJWwN4Dh+E3hrPSlDCXnSR7UtZ1N38rVXm+6+MEhJQ==", 1205 | "requires": { 1206 | "asynckit": "^0.4.0", 1207 | "combined-stream": "^1.0.6", 1208 | "mime-types": "^2.1.12" 1209 | } 1210 | }, 1211 | "forwarded": { 1212 | "version": "0.1.2", 1213 | "resolved": "https://registry.npmjs.org/forwarded/-/forwarded-0.1.2.tgz", 1214 | "integrity": "sha1-mMI9qxF1ZXuMBXPozszZGw/xjIQ=" 1215 | }, 1216 | "fresh": { 1217 | "version": "0.5.2", 1218 | "resolved": "https://registry.npmjs.org/fresh/-/fresh-0.5.2.tgz", 1219 | "integrity": "sha1-PYyt2Q2XZWn6g1qx+OSyOhBWBac=" 1220 | }, 1221 | "fs-constants": { 1222 | "version": "1.0.0", 1223 | "resolved": "https://registry.npmjs.org/fs-constants/-/fs-constants-1.0.0.tgz", 1224 | "integrity": "sha512-y6OAwoSIf7FyjMIv94u+b5rdheZEjzR63GTyZJm5qh4Bi+2YgwLCcI/fPFZkL5PSixOt6ZNKm+w+Hfp/Bciwow==" 1225 | }, 1226 | "fs-extra": { 1227 | "version": "6.0.1", 1228 | "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-6.0.1.tgz", 1229 | "integrity": "sha512-GnyIkKhhzXZUWFCaJzvyDLEEgDkPfb4/TPvJCJVuS8MWZgoSsErf++QpiAlDnKFcqhRlm+tIOcencCjyJE6ZCA==", 1230 | "requires": { 1231 | "graceful-fs": "^4.1.2", 1232 | "jsonfile": "^4.0.0", 1233 | "universalify": "^0.1.0" 1234 | } 1235 | }, 1236 | "fs.realpath": { 1237 | "version": "1.0.0", 1238 | "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz", 1239 | "integrity": "sha1-FQStJSMVjKpA20onh8sBQRmU6k8=" 1240 | }, 1241 | "fsevents": { 1242 | "version": "2.1.2", 1243 | "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.1.2.tgz", 1244 | "integrity": "sha512-R4wDiBwZ0KzpgOWetKDug1FZcYhqYnUYKtfZYt4mD5SBz76q0KR4Q9o7GIPamsVPGmW3EYPPJ0dOOjvx32ldZA==", 1245 | "optional": true 1246 | }, 1247 | "functional-red-black-tree": { 1248 | "version": "1.0.1", 1249 | "resolved": "https://registry.npmjs.org/functional-red-black-tree/-/functional-red-black-tree-1.0.1.tgz", 1250 | "integrity": "sha1-GwqzvVU7Kg1jmdKcDj6gslIHgyc=", 1251 | "dev": true 1252 | }, 1253 | "get-stream": { 1254 | "version": "3.0.0", 1255 | "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-3.0.0.tgz", 1256 | "integrity": "sha1-jpQ9E1jcN1VQVOy+LtsFqhdO3hQ=" 1257 | }, 1258 | "getpass": { 1259 | "version": "0.1.7", 1260 | "resolved": "https://registry.npmjs.org/getpass/-/getpass-0.1.7.tgz", 1261 | "integrity": "sha1-Xv+OPmhNVprkyysSgmBOi6YhSfo=", 1262 | "requires": { 1263 | "assert-plus": "^1.0.0" 1264 | } 1265 | }, 1266 | "glob": { 1267 | "version": "7.1.4", 1268 | "resolved": "https://registry.npmjs.org/glob/-/glob-7.1.4.tgz", 1269 | "integrity": "sha512-hkLPepehmnKk41pUGm3sYxoFs/umurYfYJCerbXEyFIWcAzvpipAgVkBqqT9RBKMGjnq6kMuyYwha6csxbiM1A==", 1270 | "requires": { 1271 | "fs.realpath": "^1.0.0", 1272 | "inflight": "^1.0.4", 1273 | "inherits": "2", 1274 | "minimatch": "^3.0.4", 1275 | "once": "^1.3.0", 1276 | "path-is-absolute": "^1.0.0" 1277 | } 1278 | }, 1279 | "glob-parent": { 1280 | "version": "5.1.0", 1281 | "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.0.tgz", 1282 | "integrity": "sha512-qjtRgnIVmOfnKUE3NJAQEdk+lKrxfw8t5ke7SXtfMTHcjsBfOfWXCQfdb30zfDoZQ2IRSIiidmjtbHZPZ++Ihw==", 1283 | "requires": { 1284 | "is-glob": "^4.0.1" 1285 | } 1286 | }, 1287 | "global-dirs": { 1288 | "version": "0.1.1", 1289 | "resolved": "https://registry.npmjs.org/global-dirs/-/global-dirs-0.1.1.tgz", 1290 | "integrity": "sha1-sxnA3UYH81PzvpzKTHL8FIxJ9EU=", 1291 | "requires": { 1292 | "ini": "^1.3.4" 1293 | } 1294 | }, 1295 | "globals": { 1296 | "version": "12.3.0", 1297 | "resolved": "https://registry.npmjs.org/globals/-/globals-12.3.0.tgz", 1298 | "integrity": "sha512-wAfjdLgFsPZsklLJvOBUBmzYE8/CwhEqSBEMRXA3qxIiNtyqvjYurAtIfDh6chlEPUfmTY3MnZh5Hfh4q0UlIw==", 1299 | "dev": true, 1300 | "requires": { 1301 | "type-fest": "^0.8.1" 1302 | } 1303 | }, 1304 | "got": { 1305 | "version": "6.7.1", 1306 | "resolved": "https://registry.npmjs.org/got/-/got-6.7.1.tgz", 1307 | "integrity": "sha1-JAzQV4WpoY5WHcG0S0HHY+8ejbA=", 1308 | "requires": { 1309 | "create-error-class": "^3.0.0", 1310 | "duplexer3": "^0.1.4", 1311 | "get-stream": "^3.0.0", 1312 | "is-redirect": "^1.0.0", 1313 | "is-retry-allowed": "^1.0.0", 1314 | "is-stream": "^1.0.0", 1315 | "lowercase-keys": "^1.0.0", 1316 | "safe-buffer": "^5.0.1", 1317 | "timed-out": "^4.0.0", 1318 | "unzip-response": "^2.0.1", 1319 | "url-parse-lax": "^1.0.0" 1320 | } 1321 | }, 1322 | "graceful-fs": { 1323 | "version": "4.2.3", 1324 | "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.3.tgz", 1325 | "integrity": "sha512-a30VEBm4PEdx1dRB7MFK7BejejvCvBronbLjht+sHuGYj8PHs7M/5Z+rt5lw551vZ7yfTCj4Vuyy3mSJytDWRQ==" 1326 | }, 1327 | "grpc": { 1328 | "version": "1.23.3", 1329 | "resolved": "https://registry.npmjs.org/grpc/-/grpc-1.23.3.tgz", 1330 | "integrity": "sha512-7vdzxPw9s5UYch4aUn4hyM5tMaouaxUUkwkgJlwbR4AXMxiYZJOv19N2ps2eKiuUbJovo5fnGF9hg/X91gWYjw==", 1331 | "requires": { 1332 | "@types/bytebuffer": "^5.0.40", 1333 | "lodash.camelcase": "^4.3.0", 1334 | "lodash.clone": "^4.5.0", 1335 | "nan": "^2.13.2", 1336 | "node-pre-gyp": "^0.13.0", 1337 | "protobufjs": "^5.0.3" 1338 | }, 1339 | "dependencies": { 1340 | "abbrev": { 1341 | "version": "1.1.1", 1342 | "bundled": true 1343 | }, 1344 | "ansi-regex": { 1345 | "version": "2.1.1", 1346 | "bundled": true 1347 | }, 1348 | "aproba": { 1349 | "version": "1.2.0", 1350 | "bundled": true 1351 | }, 1352 | "are-we-there-yet": { 1353 | "version": "1.1.5", 1354 | "bundled": true, 1355 | "requires": { 1356 | "delegates": "^1.0.0", 1357 | "readable-stream": "^2.0.6" 1358 | } 1359 | }, 1360 | "balanced-match": { 1361 | "version": "1.0.0", 1362 | "bundled": true 1363 | }, 1364 | "brace-expansion": { 1365 | "version": "1.1.11", 1366 | "bundled": true, 1367 | "requires": { 1368 | "balanced-match": "^1.0.0", 1369 | "concat-map": "0.0.1" 1370 | } 1371 | }, 1372 | "chownr": { 1373 | "version": "1.1.2", 1374 | "bundled": true 1375 | }, 1376 | "code-point-at": { 1377 | "version": "1.1.0", 1378 | "bundled": true 1379 | }, 1380 | "concat-map": { 1381 | "version": "0.0.1", 1382 | "bundled": true 1383 | }, 1384 | "console-control-strings": { 1385 | "version": "1.1.0", 1386 | "bundled": true 1387 | }, 1388 | "core-util-is": { 1389 | "version": "1.0.2", 1390 | "bundled": true 1391 | }, 1392 | "debug": { 1393 | "version": "3.2.6", 1394 | "bundled": true, 1395 | "requires": { 1396 | "ms": "^2.1.1" 1397 | } 1398 | }, 1399 | "deep-extend": { 1400 | "version": "0.6.0", 1401 | "bundled": true 1402 | }, 1403 | "delegates": { 1404 | "version": "1.0.0", 1405 | "bundled": true 1406 | }, 1407 | "detect-libc": { 1408 | "version": "1.0.3", 1409 | "bundled": true 1410 | }, 1411 | "fs-minipass": { 1412 | "version": "1.2.6", 1413 | "bundled": true, 1414 | "requires": { 1415 | "minipass": "^2.2.1" 1416 | } 1417 | }, 1418 | "fs.realpath": { 1419 | "version": "1.0.0", 1420 | "bundled": true 1421 | }, 1422 | "gauge": { 1423 | "version": "2.7.4", 1424 | "bundled": true, 1425 | "requires": { 1426 | "aproba": "^1.0.3", 1427 | "console-control-strings": "^1.0.0", 1428 | "has-unicode": "^2.0.0", 1429 | "object-assign": "^4.1.0", 1430 | "signal-exit": "^3.0.0", 1431 | "string-width": "^1.0.1", 1432 | "strip-ansi": "^3.0.1", 1433 | "wide-align": "^1.1.0" 1434 | } 1435 | }, 1436 | "glob": { 1437 | "version": "7.1.4", 1438 | "bundled": true, 1439 | "requires": { 1440 | "fs.realpath": "^1.0.0", 1441 | "inflight": "^1.0.4", 1442 | "inherits": "2", 1443 | "minimatch": "^3.0.4", 1444 | "once": "^1.3.0", 1445 | "path-is-absolute": "^1.0.0" 1446 | } 1447 | }, 1448 | "has-unicode": { 1449 | "version": "2.0.1", 1450 | "bundled": true 1451 | }, 1452 | "iconv-lite": { 1453 | "version": "0.4.24", 1454 | "bundled": true, 1455 | "requires": { 1456 | "safer-buffer": ">= 2.1.2 < 3" 1457 | } 1458 | }, 1459 | "ignore-walk": { 1460 | "version": "3.0.1", 1461 | "bundled": true, 1462 | "requires": { 1463 | "minimatch": "^3.0.4" 1464 | } 1465 | }, 1466 | "inflight": { 1467 | "version": "1.0.6", 1468 | "bundled": true, 1469 | "requires": { 1470 | "once": "^1.3.0", 1471 | "wrappy": "1" 1472 | } 1473 | }, 1474 | "inherits": { 1475 | "version": "2.0.4", 1476 | "bundled": true 1477 | }, 1478 | "ini": { 1479 | "version": "1.3.5", 1480 | "bundled": true 1481 | }, 1482 | "is-fullwidth-code-point": { 1483 | "version": "1.0.0", 1484 | "bundled": true, 1485 | "requires": { 1486 | "number-is-nan": "^1.0.0" 1487 | } 1488 | }, 1489 | "isarray": { 1490 | "version": "1.0.0", 1491 | "bundled": true 1492 | }, 1493 | "minimatch": { 1494 | "version": "3.0.4", 1495 | "bundled": true, 1496 | "requires": { 1497 | "brace-expansion": "^1.1.7" 1498 | } 1499 | }, 1500 | "minimist": { 1501 | "version": "1.2.0", 1502 | "bundled": true 1503 | }, 1504 | "minipass": { 1505 | "version": "2.3.5", 1506 | "bundled": true, 1507 | "requires": { 1508 | "safe-buffer": "^5.1.2", 1509 | "yallist": "^3.0.0" 1510 | } 1511 | }, 1512 | "minizlib": { 1513 | "version": "1.2.1", 1514 | "bundled": true, 1515 | "requires": { 1516 | "minipass": "^2.2.1" 1517 | } 1518 | }, 1519 | "mkdirp": { 1520 | "version": "0.5.1", 1521 | "bundled": true, 1522 | "requires": { 1523 | "minimist": "0.0.8" 1524 | }, 1525 | "dependencies": { 1526 | "minimist": { 1527 | "version": "0.0.8", 1528 | "bundled": true 1529 | } 1530 | } 1531 | }, 1532 | "ms": { 1533 | "version": "2.1.2", 1534 | "bundled": true 1535 | }, 1536 | "needle": { 1537 | "version": "2.4.0", 1538 | "bundled": true, 1539 | "requires": { 1540 | "debug": "^3.2.6", 1541 | "iconv-lite": "^0.4.4", 1542 | "sax": "^1.2.4" 1543 | } 1544 | }, 1545 | "node-pre-gyp": { 1546 | "version": "0.13.0", 1547 | "bundled": true, 1548 | "requires": { 1549 | "detect-libc": "^1.0.2", 1550 | "mkdirp": "^0.5.1", 1551 | "needle": "^2.2.1", 1552 | "nopt": "^4.0.1", 1553 | "npm-packlist": "^1.1.6", 1554 | "npmlog": "^4.0.2", 1555 | "rc": "^1.2.7", 1556 | "rimraf": "^2.6.1", 1557 | "semver": "^5.3.0", 1558 | "tar": "^4" 1559 | } 1560 | }, 1561 | "nopt": { 1562 | "version": "4.0.1", 1563 | "bundled": true, 1564 | "requires": { 1565 | "abbrev": "1", 1566 | "osenv": "^0.1.4" 1567 | } 1568 | }, 1569 | "npm-bundled": { 1570 | "version": "1.0.6", 1571 | "bundled": true 1572 | }, 1573 | "npm-packlist": { 1574 | "version": "1.4.4", 1575 | "bundled": true, 1576 | "requires": { 1577 | "ignore-walk": "^3.0.1", 1578 | "npm-bundled": "^1.0.1" 1579 | } 1580 | }, 1581 | "npmlog": { 1582 | "version": "4.1.2", 1583 | "bundled": true, 1584 | "requires": { 1585 | "are-we-there-yet": "~1.1.2", 1586 | "console-control-strings": "~1.1.0", 1587 | "gauge": "~2.7.3", 1588 | "set-blocking": "~2.0.0" 1589 | } 1590 | }, 1591 | "number-is-nan": { 1592 | "version": "1.0.1", 1593 | "bundled": true 1594 | }, 1595 | "object-assign": { 1596 | "version": "4.1.1", 1597 | "bundled": true 1598 | }, 1599 | "once": { 1600 | "version": "1.4.0", 1601 | "bundled": true, 1602 | "requires": { 1603 | "wrappy": "1" 1604 | } 1605 | }, 1606 | "os-homedir": { 1607 | "version": "1.0.2", 1608 | "bundled": true 1609 | }, 1610 | "os-tmpdir": { 1611 | "version": "1.0.2", 1612 | "bundled": true 1613 | }, 1614 | "osenv": { 1615 | "version": "0.1.5", 1616 | "bundled": true, 1617 | "requires": { 1618 | "os-homedir": "^1.0.0", 1619 | "os-tmpdir": "^1.0.0" 1620 | } 1621 | }, 1622 | "path-is-absolute": { 1623 | "version": "1.0.1", 1624 | "bundled": true 1625 | }, 1626 | "process-nextick-args": { 1627 | "version": "2.0.1", 1628 | "bundled": true 1629 | }, 1630 | "rc": { 1631 | "version": "1.2.8", 1632 | "bundled": true, 1633 | "requires": { 1634 | "deep-extend": "^0.6.0", 1635 | "ini": "~1.3.0", 1636 | "minimist": "^1.2.0", 1637 | "strip-json-comments": "~2.0.1" 1638 | } 1639 | }, 1640 | "readable-stream": { 1641 | "version": "2.3.6", 1642 | "bundled": true, 1643 | "requires": { 1644 | "core-util-is": "~1.0.0", 1645 | "inherits": "~2.0.3", 1646 | "isarray": "~1.0.0", 1647 | "process-nextick-args": "~2.0.0", 1648 | "safe-buffer": "~5.1.1", 1649 | "string_decoder": "~1.1.1", 1650 | "util-deprecate": "~1.0.1" 1651 | } 1652 | }, 1653 | "rimraf": { 1654 | "version": "2.7.1", 1655 | "bundled": true, 1656 | "requires": { 1657 | "glob": "^7.1.3" 1658 | } 1659 | }, 1660 | "safe-buffer": { 1661 | "version": "5.1.2", 1662 | "bundled": true 1663 | }, 1664 | "safer-buffer": { 1665 | "version": "2.1.2", 1666 | "bundled": true 1667 | }, 1668 | "sax": { 1669 | "version": "1.2.4", 1670 | "bundled": true 1671 | }, 1672 | "semver": { 1673 | "version": "5.7.1", 1674 | "bundled": true 1675 | }, 1676 | "set-blocking": { 1677 | "version": "2.0.0", 1678 | "bundled": true 1679 | }, 1680 | "signal-exit": { 1681 | "version": "3.0.2", 1682 | "bundled": true 1683 | }, 1684 | "string-width": { 1685 | "version": "1.0.2", 1686 | "bundled": true, 1687 | "requires": { 1688 | "code-point-at": "^1.0.0", 1689 | "is-fullwidth-code-point": "^1.0.0", 1690 | "strip-ansi": "^3.0.0" 1691 | } 1692 | }, 1693 | "string_decoder": { 1694 | "version": "1.1.1", 1695 | "bundled": true, 1696 | "requires": { 1697 | "safe-buffer": "~5.1.0" 1698 | } 1699 | }, 1700 | "strip-ansi": { 1701 | "version": "3.0.1", 1702 | "bundled": true, 1703 | "requires": { 1704 | "ansi-regex": "^2.0.0" 1705 | } 1706 | }, 1707 | "strip-json-comments": { 1708 | "version": "2.0.1", 1709 | "bundled": true 1710 | }, 1711 | "tar": { 1712 | "version": "4.4.10", 1713 | "bundled": true, 1714 | "requires": { 1715 | "chownr": "^1.1.1", 1716 | "fs-minipass": "^1.2.5", 1717 | "minipass": "^2.3.5", 1718 | "minizlib": "^1.2.1", 1719 | "mkdirp": "^0.5.0", 1720 | "safe-buffer": "^5.1.2", 1721 | "yallist": "^3.0.3" 1722 | } 1723 | }, 1724 | "util-deprecate": { 1725 | "version": "1.0.2", 1726 | "bundled": true 1727 | }, 1728 | "wide-align": { 1729 | "version": "1.1.3", 1730 | "bundled": true, 1731 | "requires": { 1732 | "string-width": "^1.0.2 || 2" 1733 | } 1734 | }, 1735 | "wrappy": { 1736 | "version": "1.0.2", 1737 | "bundled": true 1738 | }, 1739 | "yallist": { 1740 | "version": "3.0.3", 1741 | "bundled": true 1742 | } 1743 | } 1744 | }, 1745 | "har-schema": { 1746 | "version": "2.0.0", 1747 | "resolved": "https://registry.npmjs.org/har-schema/-/har-schema-2.0.0.tgz", 1748 | "integrity": "sha1-qUwiJOvKwEeCoNkDVSHyRzW37JI=" 1749 | }, 1750 | "har-validator": { 1751 | "version": "5.1.3", 1752 | "resolved": "https://registry.npmjs.org/har-validator/-/har-validator-5.1.3.tgz", 1753 | "integrity": "sha512-sNvOCzEQNr/qrvJgc3UG/kD4QtlHycrzwS+6mfTrrSq97BvaYcPZZI1ZSqGSPR73Cxn4LKTD4PttRwfU7jWq5g==", 1754 | "requires": { 1755 | "ajv": "^6.5.5", 1756 | "har-schema": "^2.0.0" 1757 | } 1758 | }, 1759 | "has-flag": { 1760 | "version": "3.0.0", 1761 | "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", 1762 | "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=" 1763 | }, 1764 | "hash.js": { 1765 | "version": "1.1.7", 1766 | "resolved": "https://registry.npmjs.org/hash.js/-/hash.js-1.1.7.tgz", 1767 | "integrity": "sha512-taOaskGt4z4SOANNseOviYDvjEJinIkRgmp7LbKP2YTTmVxWBl87s/uzK9r+44BclBSp2X7K1hqeNfz9JbBeXA==", 1768 | "requires": { 1769 | "inherits": "^2.0.3", 1770 | "minimalistic-assert": "^1.0.1" 1771 | } 1772 | }, 1773 | "hmac-drbg": { 1774 | "version": "1.0.1", 1775 | "resolved": "https://registry.npmjs.org/hmac-drbg/-/hmac-drbg-1.0.1.tgz", 1776 | "integrity": "sha1-0nRXAQJabHdabFRXk+1QL8DGSaE=", 1777 | "requires": { 1778 | "hash.js": "^1.0.3", 1779 | "minimalistic-assert": "^1.0.0", 1780 | "minimalistic-crypto-utils": "^1.0.1" 1781 | } 1782 | }, 1783 | "hoek": { 1784 | "version": "4.2.1", 1785 | "resolved": "https://registry.npmjs.org/hoek/-/hoek-4.2.1.tgz", 1786 | "integrity": "sha512-QLg82fGkfnJ/4iy1xZ81/9SIJiq1NGFUMGs6ParyjBZr6jW2Ufj/snDqTHixNlHdPNwN2RLVD0Pi3igeK9+JfA==" 1787 | }, 1788 | "http-errors": { 1789 | "version": "1.7.2", 1790 | "resolved": "https://registry.npmjs.org/http-errors/-/http-errors-1.7.2.tgz", 1791 | "integrity": "sha512-uUQBt3H/cSIVfch6i1EuPNy/YsRSOUBXTVfZ+yR7Zjez3qjBz6i9+i4zjNaoqcoFVI4lQJ5plg63TvGfRSDCRg==", 1792 | "requires": { 1793 | "depd": "~1.1.2", 1794 | "inherits": "2.0.3", 1795 | "setprototypeof": "1.1.1", 1796 | "statuses": ">= 1.5.0 < 2", 1797 | "toidentifier": "1.0.0" 1798 | } 1799 | }, 1800 | "http-signature": { 1801 | "version": "1.2.0", 1802 | "resolved": "https://registry.npmjs.org/http-signature/-/http-signature-1.2.0.tgz", 1803 | "integrity": "sha1-muzZJRFHcvPZW2WmCruPfBj7rOE=", 1804 | "requires": { 1805 | "assert-plus": "^1.0.0", 1806 | "jsprim": "^1.2.2", 1807 | "sshpk": "^1.7.0" 1808 | } 1809 | }, 1810 | "iconv-lite": { 1811 | "version": "0.4.24", 1812 | "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.24.tgz", 1813 | "integrity": "sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==", 1814 | "requires": { 1815 | "safer-buffer": ">= 2.1.2 < 3" 1816 | } 1817 | }, 1818 | "ignore": { 1819 | "version": "4.0.6", 1820 | "resolved": "https://registry.npmjs.org/ignore/-/ignore-4.0.6.tgz", 1821 | "integrity": "sha512-cyFDKrqc/YdcWFniJhzI42+AzS+gNwmUzOSFcRCQYwySuBBBy/KjuxWLZ/FHEH6Moq1NizMOBWyTcv8O4OZIMg==", 1822 | "dev": true 1823 | }, 1824 | "ignore-by-default": { 1825 | "version": "1.0.1", 1826 | "resolved": "https://registry.npmjs.org/ignore-by-default/-/ignore-by-default-1.0.1.tgz", 1827 | "integrity": "sha1-SMptcvbGo68Aqa1K5odr44ieKwk=" 1828 | }, 1829 | "ignore-walk": { 1830 | "version": "3.0.3", 1831 | "resolved": "https://registry.npmjs.org/ignore-walk/-/ignore-walk-3.0.3.tgz", 1832 | "integrity": "sha512-m7o6xuOaT1aqheYHKf8W6J5pYH85ZI9w077erOzLje3JsB1gkafkAhHHY19dqjulgIZHFm32Cp5uNZgcQqdJKw==", 1833 | "requires": { 1834 | "minimatch": "^3.0.4" 1835 | } 1836 | }, 1837 | "import-fresh": { 1838 | "version": "3.2.1", 1839 | "resolved": "https://registry.npmjs.org/import-fresh/-/import-fresh-3.2.1.tgz", 1840 | "integrity": "sha512-6e1q1cnWP2RXD9/keSkxHScg508CdXqXWgWBaETNhyuBFz+kUZlKboh+ISK+bU++DmbHimVBrOz/zzPe0sZ3sQ==", 1841 | "dev": true, 1842 | "requires": { 1843 | "parent-module": "^1.0.0", 1844 | "resolve-from": "^4.0.0" 1845 | } 1846 | }, 1847 | "import-lazy": { 1848 | "version": "2.1.0", 1849 | "resolved": "https://registry.npmjs.org/import-lazy/-/import-lazy-2.1.0.tgz", 1850 | "integrity": "sha1-BWmOPUXIjo1+nZLLBYTnfwlvPkM=" 1851 | }, 1852 | "imurmurhash": { 1853 | "version": "0.1.4", 1854 | "resolved": "https://registry.npmjs.org/imurmurhash/-/imurmurhash-0.1.4.tgz", 1855 | "integrity": "sha1-khi5srkoojixPcT7a21XbyMUU+o=" 1856 | }, 1857 | "inflight": { 1858 | "version": "1.0.6", 1859 | "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz", 1860 | "integrity": "sha1-Sb1jMdfQLQwJvJEKEHW6gWW1bfk=", 1861 | "requires": { 1862 | "once": "^1.3.0", 1863 | "wrappy": "1" 1864 | } 1865 | }, 1866 | "inherits": { 1867 | "version": "2.0.3", 1868 | "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.3.tgz", 1869 | "integrity": "sha1-Yzwsg+PaQqUC9SRmAiSA9CCCYd4=" 1870 | }, 1871 | "ini": { 1872 | "version": "1.3.5", 1873 | "resolved": "https://registry.npmjs.org/ini/-/ini-1.3.5.tgz", 1874 | "integrity": "sha512-RZY5huIKCMRWDUqZlEi72f/lmXKMvuszcMBduliQ3nnWbx9X/ZBQO7DijMEYS9EhHBb2qacRUMtC7svLwe0lcw==" 1875 | }, 1876 | "inquirer": { 1877 | "version": "7.0.3", 1878 | "resolved": "https://registry.npmjs.org/inquirer/-/inquirer-7.0.3.tgz", 1879 | "integrity": "sha512-+OiOVeVydu4hnCGLCSX+wedovR/Yzskv9BFqUNNKq9uU2qg7LCcCo3R86S2E7WLo0y/x2pnEZfZe1CoYnORUAw==", 1880 | "dev": true, 1881 | "requires": { 1882 | "ansi-escapes": "^4.2.1", 1883 | "chalk": "^2.4.2", 1884 | "cli-cursor": "^3.1.0", 1885 | "cli-width": "^2.0.0", 1886 | "external-editor": "^3.0.3", 1887 | "figures": "^3.0.0", 1888 | "lodash": "^4.17.15", 1889 | "mute-stream": "0.0.8", 1890 | "run-async": "^2.2.0", 1891 | "rxjs": "^6.5.3", 1892 | "string-width": "^4.1.0", 1893 | "strip-ansi": "^5.1.0", 1894 | "through": "^2.3.6" 1895 | }, 1896 | "dependencies": { 1897 | "ansi-regex": { 1898 | "version": "5.0.0", 1899 | "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.0.tgz", 1900 | "integrity": "sha512-bY6fj56OUQ0hU1KjFNDQuJFezqKdrAyFdIevADiqrWHwSlbmBNMHp5ak2f40Pm8JTFyM2mqxkG6ngkHO11f/lg==", 1901 | "dev": true 1902 | }, 1903 | "is-fullwidth-code-point": { 1904 | "version": "3.0.0", 1905 | "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz", 1906 | "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==", 1907 | "dev": true 1908 | }, 1909 | "string-width": { 1910 | "version": "4.2.0", 1911 | "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.0.tgz", 1912 | "integrity": "sha512-zUz5JD+tgqtuDjMhwIg5uFVV3dtqZ9yQJlZVfq4I01/K5Paj5UHj7VyrQOJvzawSVlKpObApbfD0Ed6yJc+1eg==", 1913 | "dev": true, 1914 | "requires": { 1915 | "emoji-regex": "^8.0.0", 1916 | "is-fullwidth-code-point": "^3.0.0", 1917 | "strip-ansi": "^6.0.0" 1918 | }, 1919 | "dependencies": { 1920 | "strip-ansi": { 1921 | "version": "6.0.0", 1922 | "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.0.tgz", 1923 | "integrity": "sha512-AuvKTrTfQNYNIctbR1K/YGTR1756GycPsg7b9bdV9Duqur4gv6aKqHXah67Z8ImS7WEz5QVcOtlfW2rZEugt6w==", 1924 | "dev": true, 1925 | "requires": { 1926 | "ansi-regex": "^5.0.0" 1927 | } 1928 | } 1929 | } 1930 | }, 1931 | "strip-ansi": { 1932 | "version": "5.2.0", 1933 | "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-5.2.0.tgz", 1934 | "integrity": "sha512-DuRs1gKbBqsMKIZlrffwlug8MHkcnpjs5VPmL1PAh+mA30U0DTotfDZ0d2UUsXpPmPmMMJ6W773MaA3J+lbiWA==", 1935 | "dev": true, 1936 | "requires": { 1937 | "ansi-regex": "^4.1.0" 1938 | }, 1939 | "dependencies": { 1940 | "ansi-regex": { 1941 | "version": "4.1.0", 1942 | "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-4.1.0.tgz", 1943 | "integrity": "sha512-1apePfXM1UOSqw0o9IiFAovVz9M5S1Dg+4TrDwfMewQ6p/rmMueb7tWZjQ1rx4Loy1ArBggoqGpfqqdI4rondg==", 1944 | "dev": true 1945 | } 1946 | } 1947 | } 1948 | } 1949 | }, 1950 | "invert-kv": { 1951 | "version": "1.0.0", 1952 | "resolved": "https://registry.npmjs.org/invert-kv/-/invert-kv-1.0.0.tgz", 1953 | "integrity": "sha1-EEqOSqym09jNFXqO+L+rLXo//bY=" 1954 | }, 1955 | "ipaddr.js": { 1956 | "version": "1.9.0", 1957 | "resolved": "https://registry.npmjs.org/ipaddr.js/-/ipaddr.js-1.9.0.tgz", 1958 | "integrity": "sha512-M4Sjn6N/+O6/IXSJseKqHoFc+5FdGJ22sXqnjTpdZweHK64MzEPAyQZyEU3R/KRv2GLoa7nNtg/C2Ev6m7z+eA==" 1959 | }, 1960 | "is-binary-path": { 1961 | "version": "2.1.0", 1962 | "resolved": "https://registry.npmjs.org/is-binary-path/-/is-binary-path-2.1.0.tgz", 1963 | "integrity": "sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw==", 1964 | "requires": { 1965 | "binary-extensions": "^2.0.0" 1966 | } 1967 | }, 1968 | "is-ci": { 1969 | "version": "1.2.1", 1970 | "resolved": "https://registry.npmjs.org/is-ci/-/is-ci-1.2.1.tgz", 1971 | "integrity": "sha512-s6tfsaQaQi3JNciBH6shVqEDvhGut0SUXr31ag8Pd8BBbVVlcGfWhpPmEOoM6RJ5TFhbypvf5yyRw/VXW1IiWg==", 1972 | "requires": { 1973 | "ci-info": "^1.5.0" 1974 | } 1975 | }, 1976 | "is-extglob": { 1977 | "version": "2.1.1", 1978 | "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz", 1979 | "integrity": "sha1-qIwCU1eR8C7TfHahueqXc8gz+MI=" 1980 | }, 1981 | "is-fullwidth-code-point": { 1982 | "version": "1.0.0", 1983 | "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-1.0.0.tgz", 1984 | "integrity": "sha1-754xOG8DGn8NZDr4L95QxFfvAMs=", 1985 | "requires": { 1986 | "number-is-nan": "^1.0.0" 1987 | } 1988 | }, 1989 | "is-glob": { 1990 | "version": "4.0.1", 1991 | "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.1.tgz", 1992 | "integrity": "sha512-5G0tKtBTFImOqDnLB2hG6Bp2qcKEFduo4tZu9MT/H6NQv/ghhy30o55ufafxJ/LdH79LLs2Kfrn85TLKyA7BUg==", 1993 | "requires": { 1994 | "is-extglob": "^2.1.1" 1995 | } 1996 | }, 1997 | "is-installed-globally": { 1998 | "version": "0.1.0", 1999 | "resolved": "https://registry.npmjs.org/is-installed-globally/-/is-installed-globally-0.1.0.tgz", 2000 | "integrity": "sha1-Df2Y9akRFxbdU13aZJL2e/PSWoA=", 2001 | "requires": { 2002 | "global-dirs": "^0.1.0", 2003 | "is-path-inside": "^1.0.0" 2004 | } 2005 | }, 2006 | "is-npm": { 2007 | "version": "1.0.0", 2008 | "resolved": "https://registry.npmjs.org/is-npm/-/is-npm-1.0.0.tgz", 2009 | "integrity": "sha1-8vtjpl5JBbQGyGBydloaTceTufQ=" 2010 | }, 2011 | "is-number": { 2012 | "version": "7.0.0", 2013 | "resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz", 2014 | "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==" 2015 | }, 2016 | "is-obj": { 2017 | "version": "1.0.1", 2018 | "resolved": "https://registry.npmjs.org/is-obj/-/is-obj-1.0.1.tgz", 2019 | "integrity": "sha1-PkcprB9f3gJc19g6iW2rn09n2w8=" 2020 | }, 2021 | "is-path-inside": { 2022 | "version": "1.0.1", 2023 | "resolved": "https://registry.npmjs.org/is-path-inside/-/is-path-inside-1.0.1.tgz", 2024 | "integrity": "sha1-jvW33lBDej/cprToZe96pVy0gDY=", 2025 | "requires": { 2026 | "path-is-inside": "^1.0.1" 2027 | } 2028 | }, 2029 | "is-promise": { 2030 | "version": "2.1.0", 2031 | "resolved": "https://registry.npmjs.org/is-promise/-/is-promise-2.1.0.tgz", 2032 | "integrity": "sha1-eaKp7OfwlugPNtKy87wWwf9L8/o=", 2033 | "dev": true 2034 | }, 2035 | "is-redirect": { 2036 | "version": "1.0.0", 2037 | "resolved": "https://registry.npmjs.org/is-redirect/-/is-redirect-1.0.0.tgz", 2038 | "integrity": "sha1-HQPd7VO9jbDzDCbk+V02/HyH3CQ=" 2039 | }, 2040 | "is-retry-allowed": { 2041 | "version": "1.2.0", 2042 | "resolved": "https://registry.npmjs.org/is-retry-allowed/-/is-retry-allowed-1.2.0.tgz", 2043 | "integrity": "sha512-RUbUeKwvm3XG2VYamhJL1xFktgjvPzL0Hq8C+6yrWIswDy3BIXGqCxhxkc30N9jqK311gVU137K8Ei55/zVJRg==" 2044 | }, 2045 | "is-stream": { 2046 | "version": "1.1.0", 2047 | "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-1.1.0.tgz", 2048 | "integrity": "sha1-EtSj3U5o4Lec6428hBc66A2RykQ=" 2049 | }, 2050 | "is-typedarray": { 2051 | "version": "1.0.0", 2052 | "resolved": "https://registry.npmjs.org/is-typedarray/-/is-typedarray-1.0.0.tgz", 2053 | "integrity": "sha1-5HnICFjfDBsR3dppQPlgEfzaSpo=" 2054 | }, 2055 | "isarray": { 2056 | "version": "1.0.0", 2057 | "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", 2058 | "integrity": "sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE=" 2059 | }, 2060 | "isexe": { 2061 | "version": "2.0.0", 2062 | "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz", 2063 | "integrity": "sha1-6PvzdNxVb/iUehDcsFctYz8s+hA=" 2064 | }, 2065 | "isstream": { 2066 | "version": "0.1.2", 2067 | "resolved": "https://registry.npmjs.org/isstream/-/isstream-0.1.2.tgz", 2068 | "integrity": "sha1-R+Y/evVa+m+S4VAOaQ64uFKcCZo=" 2069 | }, 2070 | "js-sha3": { 2071 | "version": "0.7.0", 2072 | "resolved": "https://registry.npmjs.org/js-sha3/-/js-sha3-0.7.0.tgz", 2073 | "integrity": "sha512-Wpks3yBDm0UcL5qlVhwW9Jr9n9i4FfeWBFOOXP5puDS/SiudJGhw7DPyBqn3487qD4F0lsC0q3zxink37f7zeA==" 2074 | }, 2075 | "js-tokens": { 2076 | "version": "4.0.0", 2077 | "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz", 2078 | "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==", 2079 | "dev": true 2080 | }, 2081 | "js-yaml": { 2082 | "version": "3.13.1", 2083 | "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-3.13.1.tgz", 2084 | "integrity": "sha512-YfbcO7jXDdyj0DGxYVSlSeQNHbD7XPWvrVWeVUujrQEoZzWJIRrCPoyk6kL6IAjAG2IolMK4T0hNUe0HOUs5Jw==", 2085 | "requires": { 2086 | "argparse": "^1.0.7", 2087 | "esprima": "^4.0.0" 2088 | } 2089 | }, 2090 | "jsbn": { 2091 | "version": "0.1.1", 2092 | "resolved": "https://registry.npmjs.org/jsbn/-/jsbn-0.1.1.tgz", 2093 | "integrity": "sha1-peZUwuWi3rXyAdls77yoDA7y9RM=" 2094 | }, 2095 | "json-schema": { 2096 | "version": "0.2.3", 2097 | "resolved": "https://registry.npmjs.org/json-schema/-/json-schema-0.2.3.tgz", 2098 | "integrity": "sha1-tIDIkuWaLwWVTOcnvT8qTogvnhM=" 2099 | }, 2100 | "json-schema-traverse": { 2101 | "version": "0.4.1", 2102 | "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz", 2103 | "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==" 2104 | }, 2105 | "json-stable-stringify-without-jsonify": { 2106 | "version": "1.0.1", 2107 | "resolved": "https://registry.npmjs.org/json-stable-stringify-without-jsonify/-/json-stable-stringify-without-jsonify-1.0.1.tgz", 2108 | "integrity": "sha1-nbe1lJatPzz+8wp1FC0tkwrXJlE=", 2109 | "dev": true 2110 | }, 2111 | "json-stringify-safe": { 2112 | "version": "5.0.1", 2113 | "resolved": "https://registry.npmjs.org/json-stringify-safe/-/json-stringify-safe-5.0.1.tgz", 2114 | "integrity": "sha1-Epai1Y/UXxmg9s4B1lcB4sc1tus=" 2115 | }, 2116 | "jsonfile": { 2117 | "version": "4.0.0", 2118 | "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-4.0.0.tgz", 2119 | "integrity": "sha1-h3Gq4HmbZAdrdmQPygWPnBDjPss=", 2120 | "requires": { 2121 | "graceful-fs": "^4.1.6" 2122 | } 2123 | }, 2124 | "jsprim": { 2125 | "version": "1.4.1", 2126 | "resolved": "https://registry.npmjs.org/jsprim/-/jsprim-1.4.1.tgz", 2127 | "integrity": "sha1-MT5mvB5cwG5Di8G3SZwuXFastqI=", 2128 | "requires": { 2129 | "assert-plus": "1.0.0", 2130 | "extsprintf": "1.3.0", 2131 | "json-schema": "0.2.3", 2132 | "verror": "1.10.0" 2133 | } 2134 | }, 2135 | "jsrsasign": { 2136 | "version": "7.2.2", 2137 | "resolved": "https://registry.npmjs.org/jsrsasign/-/jsrsasign-7.2.2.tgz", 2138 | "integrity": "sha1-rlIwy1V0RRu5eanMaXQoxg9ZjSA=" 2139 | }, 2140 | "jssha": { 2141 | "version": "2.3.1", 2142 | "resolved": "https://registry.npmjs.org/jssha/-/jssha-2.3.1.tgz", 2143 | "integrity": "sha1-FHshJTaQNcpLL30hDcU58Amz3po=" 2144 | }, 2145 | "klaw": { 2146 | "version": "2.1.1", 2147 | "resolved": "https://registry.npmjs.org/klaw/-/klaw-2.1.1.tgz", 2148 | "integrity": "sha1-QrdolHARacyRD9DRnOZ3tfs3ivE=", 2149 | "requires": { 2150 | "graceful-fs": "^4.1.9" 2151 | } 2152 | }, 2153 | "latest-version": { 2154 | "version": "3.1.0", 2155 | "resolved": "https://registry.npmjs.org/latest-version/-/latest-version-3.1.0.tgz", 2156 | "integrity": "sha1-ogU4P+oyKzO1rjsYq+4NwvNW7hU=", 2157 | "requires": { 2158 | "package-json": "^4.0.0" 2159 | } 2160 | }, 2161 | "lcid": { 2162 | "version": "1.0.0", 2163 | "resolved": "https://registry.npmjs.org/lcid/-/lcid-1.0.0.tgz", 2164 | "integrity": "sha1-MIrMr6C8SDo4Z7S28rlQYlHRuDU=", 2165 | "requires": { 2166 | "invert-kv": "^1.0.0" 2167 | } 2168 | }, 2169 | "levn": { 2170 | "version": "0.3.0", 2171 | "resolved": "https://registry.npmjs.org/levn/-/levn-0.3.0.tgz", 2172 | "integrity": "sha1-OwmSTt+fCDwEkP3UwLxEIeBHZO4=", 2173 | "dev": true, 2174 | "requires": { 2175 | "prelude-ls": "~1.1.2", 2176 | "type-check": "~0.3.2" 2177 | } 2178 | }, 2179 | "lodash": { 2180 | "version": "4.17.15", 2181 | "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.15.tgz", 2182 | "integrity": "sha512-8xOcRHvCjnocdS5cpwXQXVzmmh5e5+saE2QGoeQmbKmRS6J3VQppPOIt0MnmE+4xlZoumy0GPG0D0MVIQbNA1A==", 2183 | "dev": true 2184 | }, 2185 | "lodash.camelcase": { 2186 | "version": "4.3.0", 2187 | "resolved": "https://registry.npmjs.org/lodash.camelcase/-/lodash.camelcase-4.3.0.tgz", 2188 | "integrity": "sha1-soqmKIorn8ZRA1x3EfZathkDMaY=" 2189 | }, 2190 | "lodash.clone": { 2191 | "version": "4.5.0", 2192 | "resolved": "https://registry.npmjs.org/lodash.clone/-/lodash.clone-4.5.0.tgz", 2193 | "integrity": "sha1-GVhwRQ9aExkkeN9Lw9I9LeoZB7Y=" 2194 | }, 2195 | "lodash.isempty": { 2196 | "version": "4.4.0", 2197 | "resolved": "https://registry.npmjs.org/lodash.isempty/-/lodash.isempty-4.4.0.tgz", 2198 | "integrity": "sha1-b4bL7di+TsmHvpqvM8loTbGzHn4=" 2199 | }, 2200 | "long": { 2201 | "version": "4.0.0", 2202 | "resolved": "https://registry.npmjs.org/long/-/long-4.0.0.tgz", 2203 | "integrity": "sha512-XsP+KhQif4bjX1kbuSiySJFNAehNxgLb6hPRGJ9QsUr8ajHkuXGdrHmFUTUUXhDwVX2R5bY4JNZEwbUiMhV+MA==" 2204 | }, 2205 | "lowercase-keys": { 2206 | "version": "1.0.1", 2207 | "resolved": "https://registry.npmjs.org/lowercase-keys/-/lowercase-keys-1.0.1.tgz", 2208 | "integrity": "sha512-G2Lj61tXDnVFFOi8VZds+SoQjtQC3dgokKdDG2mTm1tx4m50NUHBOZSBwQQHyy0V12A0JTG4icfZQH+xPyh8VA==" 2209 | }, 2210 | "lru-cache": { 2211 | "version": "4.1.5", 2212 | "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-4.1.5.tgz", 2213 | "integrity": "sha512-sWZlbEP2OsHNkXrMl5GYk/jKk70MBng6UU4YI/qGDYbgf6YbP4EvmqISbXCoJiRKs+1bSpFHVgQxvJ17F2li5g==", 2214 | "requires": { 2215 | "pseudomap": "^1.0.2", 2216 | "yallist": "^2.1.2" 2217 | } 2218 | }, 2219 | "make-dir": { 2220 | "version": "1.3.0", 2221 | "resolved": "https://registry.npmjs.org/make-dir/-/make-dir-1.3.0.tgz", 2222 | "integrity": "sha512-2w31R7SJtieJJnQtGc7RVL2StM2vGYVfqUOvUDxH6bC6aJTxPxTF0GnIgCyu7tjockiUWAYQRbxa7vKn34s5sQ==", 2223 | "requires": { 2224 | "pify": "^3.0.0" 2225 | } 2226 | }, 2227 | "media-typer": { 2228 | "version": "0.3.0", 2229 | "resolved": "https://registry.npmjs.org/media-typer/-/media-typer-0.3.0.tgz", 2230 | "integrity": "sha1-hxDXrwqmJvj/+hzgAWhUUmMlV0g=" 2231 | }, 2232 | "merge-descriptors": { 2233 | "version": "1.0.1", 2234 | "resolved": "https://registry.npmjs.org/merge-descriptors/-/merge-descriptors-1.0.1.tgz", 2235 | "integrity": "sha1-sAqqVW3YtEVoFQ7J0blT8/kMu2E=" 2236 | }, 2237 | "methods": { 2238 | "version": "1.1.2", 2239 | "resolved": "https://registry.npmjs.org/methods/-/methods-1.1.2.tgz", 2240 | "integrity": "sha1-VSmk1nZUE07cxSZmVoNbD4Ua/O4=" 2241 | }, 2242 | "mime": { 2243 | "version": "1.6.0", 2244 | "resolved": "https://registry.npmjs.org/mime/-/mime-1.6.0.tgz", 2245 | "integrity": "sha512-x0Vn8spI+wuJ1O6S7gnbaQg8Pxh4NNHb7KSINmEWKiPE4RKOplvijn+NkmYmmRgP68mc70j2EbeTFRsrswaQeg==" 2246 | }, 2247 | "mime-db": { 2248 | "version": "1.40.0", 2249 | "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.40.0.tgz", 2250 | "integrity": "sha512-jYdeOMPy9vnxEqFRRo6ZvTZ8d9oPb+k18PKoYNYUe2stVEBPPwsln/qWzdbmaIvnhZ9v2P+CuecK+fpUfsV2mA==" 2251 | }, 2252 | "mime-types": { 2253 | "version": "2.1.24", 2254 | "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.24.tgz", 2255 | "integrity": "sha512-WaFHS3MCl5fapm3oLxU4eYDw77IQM2ACcxQ9RIxfaC3ooc6PFuBMGZZsYpvoXS5D5QTWPieo1jjLdAm3TBP3cQ==", 2256 | "requires": { 2257 | "mime-db": "1.40.0" 2258 | } 2259 | }, 2260 | "mimic-fn": { 2261 | "version": "2.1.0", 2262 | "resolved": "https://registry.npmjs.org/mimic-fn/-/mimic-fn-2.1.0.tgz", 2263 | "integrity": "sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg==", 2264 | "dev": true 2265 | }, 2266 | "minimalistic-assert": { 2267 | "version": "1.0.1", 2268 | "resolved": "https://registry.npmjs.org/minimalistic-assert/-/minimalistic-assert-1.0.1.tgz", 2269 | "integrity": "sha512-UtJcAD4yEaGtjPezWuO9wC4nwUnVH/8/Im3yEHQP4b67cXlD/Qr9hdITCU1xDbSEXg2XKNaP8jsReV7vQd00/A==" 2270 | }, 2271 | "minimalistic-crypto-utils": { 2272 | "version": "1.0.1", 2273 | "resolved": "https://registry.npmjs.org/minimalistic-crypto-utils/-/minimalistic-crypto-utils-1.0.1.tgz", 2274 | "integrity": "sha1-9sAMHAsIIkblxNmd+4x8CDsrWCo=" 2275 | }, 2276 | "minimatch": { 2277 | "version": "3.0.4", 2278 | "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.0.4.tgz", 2279 | "integrity": "sha512-yJHVQEhyqPLUTgt9B83PXu6W3rx4MvvHvSUvToogpwoGDOUQ+yDrR0HRot+yOCdCO7u4hX3pWft6kWBBcqh0UA==", 2280 | "requires": { 2281 | "brace-expansion": "^1.1.7" 2282 | } 2283 | }, 2284 | "minimist": { 2285 | "version": "1.2.0", 2286 | "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.0.tgz", 2287 | "integrity": "sha1-o1AIsg9BOD7sH7kU9M1d95omQoQ=" 2288 | }, 2289 | "mkdirp": { 2290 | "version": "0.5.1", 2291 | "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.1.tgz", 2292 | "integrity": "sha1-MAV0OOrGz3+MR2fzhkjWaX11yQM=", 2293 | "dev": true, 2294 | "requires": { 2295 | "minimist": "0.0.8" 2296 | }, 2297 | "dependencies": { 2298 | "minimist": { 2299 | "version": "0.0.8", 2300 | "resolved": "https://registry.npmjs.org/minimist/-/minimist-0.0.8.tgz", 2301 | "integrity": "sha1-hX/Kv8M5fSYluCKCYuhqp6ARsF0=", 2302 | "dev": true 2303 | } 2304 | } 2305 | }, 2306 | "morgan": { 2307 | "version": "1.9.1", 2308 | "resolved": "https://registry.npmjs.org/morgan/-/morgan-1.9.1.tgz", 2309 | "integrity": "sha512-HQStPIV4y3afTiCYVxirakhlCfGkI161c76kKFca7Fk1JusM//Qeo1ej2XaMniiNeaZklMVrh3vTtIzpzwbpmA==", 2310 | "requires": { 2311 | "basic-auth": "~2.0.0", 2312 | "debug": "2.6.9", 2313 | "depd": "~1.1.2", 2314 | "on-finished": "~2.3.0", 2315 | "on-headers": "~1.0.1" 2316 | } 2317 | }, 2318 | "ms": { 2319 | "version": "2.0.0", 2320 | "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", 2321 | "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=" 2322 | }, 2323 | "mute-stream": { 2324 | "version": "0.0.8", 2325 | "resolved": "https://registry.npmjs.org/mute-stream/-/mute-stream-0.0.8.tgz", 2326 | "integrity": "sha512-nnbWWOkoWyUsTjKrhgD0dcz22mdkSnpYqbEjIm2nhwhuxlSkpywJmBo8h0ZqJdkp73mb90SssHkN4rsRaBAfAA==", 2327 | "dev": true 2328 | }, 2329 | "nan": { 2330 | "version": "2.14.0", 2331 | "resolved": "https://registry.npmjs.org/nan/-/nan-2.14.0.tgz", 2332 | "integrity": "sha512-INOFj37C7k3AfaNTtX8RhsTw7qRy7eLET14cROi9+5HAVbbHuIWUHEauBv5qT4Av2tWasiTY1Jw6puUNqRJXQg==" 2333 | }, 2334 | "nano": { 2335 | "version": "6.4.4", 2336 | "resolved": "https://registry.npmjs.org/nano/-/nano-6.4.4.tgz", 2337 | "integrity": "sha512-7sldMrZI1ZH8QE29PnzohxLfR67WNVzMKLa7EMl3x9Hr+0G+YpOUCq50qZ9G66APrjcb0Of2BTOZLNBCutZGag==", 2338 | "requires": { 2339 | "cloudant-follow": "~0.17.0", 2340 | "debug": "^2.2.0", 2341 | "errs": "^0.3.2", 2342 | "lodash.isempty": "^4.4.0", 2343 | "request": "^2.85.0" 2344 | } 2345 | }, 2346 | "natural-compare": { 2347 | "version": "1.4.0", 2348 | "resolved": "https://registry.npmjs.org/natural-compare/-/natural-compare-1.4.0.tgz", 2349 | "integrity": "sha1-Sr6/7tdUHywnrPspvbvRXI1bpPc=", 2350 | "dev": true 2351 | }, 2352 | "nconf": { 2353 | "version": "0.10.0", 2354 | "resolved": "https://registry.npmjs.org/nconf/-/nconf-0.10.0.tgz", 2355 | "integrity": "sha512-fKiXMQrpP7CYWJQzKkPPx9hPgmq+YLDyxcG9N8RpiE9FoCkCbzD0NyW0YhE3xn3Aupe7nnDeIx4PFzYehpHT9Q==", 2356 | "requires": { 2357 | "async": "^1.4.0", 2358 | "ini": "^1.3.0", 2359 | "secure-keys": "^1.0.0", 2360 | "yargs": "^3.19.0" 2361 | } 2362 | }, 2363 | "negotiator": { 2364 | "version": "0.6.2", 2365 | "resolved": "https://registry.npmjs.org/negotiator/-/negotiator-0.6.2.tgz", 2366 | "integrity": "sha512-hZXc7K2e+PgeI1eDBe/10Ard4ekbfrrqG8Ep+8Jmf4JID2bNg7NvCPOZN+kfF574pFQI7mum2AUqDidoKqcTOw==" 2367 | }, 2368 | "nice-try": { 2369 | "version": "1.0.5", 2370 | "resolved": "https://registry.npmjs.org/nice-try/-/nice-try-1.0.5.tgz", 2371 | "integrity": "sha512-1nh45deeb5olNY7eX82BkPO7SSxR5SSYJiPTrTdFUVYwAl8CKMA5N9PjTYkHiRjisVcxcQ1HXdLhx2qxxJzLNQ==", 2372 | "dev": true 2373 | }, 2374 | "nodemon": { 2375 | "version": "2.0.2", 2376 | "resolved": "https://registry.npmjs.org/nodemon/-/nodemon-2.0.2.tgz", 2377 | "integrity": "sha512-GWhYPMfde2+M0FsHnggIHXTqPDHXia32HRhh6H0d75Mt9FKUoCBvumNHr7LdrpPBTKxsWmIEOjoN+P4IU6Hcaw==", 2378 | "requires": { 2379 | "chokidar": "^3.2.2", 2380 | "debug": "^3.2.6", 2381 | "ignore-by-default": "^1.0.1", 2382 | "minimatch": "^3.0.4", 2383 | "pstree.remy": "^1.1.7", 2384 | "semver": "^5.7.1", 2385 | "supports-color": "^5.5.0", 2386 | "touch": "^3.1.0", 2387 | "undefsafe": "^2.0.2", 2388 | "update-notifier": "^2.5.0" 2389 | }, 2390 | "dependencies": { 2391 | "debug": { 2392 | "version": "3.2.6", 2393 | "resolved": "https://registry.npmjs.org/debug/-/debug-3.2.6.tgz", 2394 | "integrity": "sha512-mel+jf7nrtEl5Pn1Qx46zARXKDpBbvzezse7p7LqINmdoIk8PYP5SySaxEmYv6TZ0JyEKA1hsCId6DIhgITtWQ==", 2395 | "requires": { 2396 | "ms": "^2.1.1" 2397 | } 2398 | }, 2399 | "ms": { 2400 | "version": "2.1.2", 2401 | "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", 2402 | "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==" 2403 | } 2404 | } 2405 | }, 2406 | "nopt": { 2407 | "version": "1.0.10", 2408 | "resolved": "https://registry.npmjs.org/nopt/-/nopt-1.0.10.tgz", 2409 | "integrity": "sha1-bd0hvSoxQXuScn3Vhfim83YI6+4=", 2410 | "requires": { 2411 | "abbrev": "1" 2412 | } 2413 | }, 2414 | "normalize-path": { 2415 | "version": "3.0.0", 2416 | "resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-3.0.0.tgz", 2417 | "integrity": "sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==" 2418 | }, 2419 | "npm-run-path": { 2420 | "version": "2.0.2", 2421 | "resolved": "https://registry.npmjs.org/npm-run-path/-/npm-run-path-2.0.2.tgz", 2422 | "integrity": "sha1-NakjLfo11wZ7TLLd8jV7GHFTbF8=", 2423 | "requires": { 2424 | "path-key": "^2.0.0" 2425 | } 2426 | }, 2427 | "number-is-nan": { 2428 | "version": "1.0.1", 2429 | "resolved": "https://registry.npmjs.org/number-is-nan/-/number-is-nan-1.0.1.tgz", 2430 | "integrity": "sha1-CXtgK1NCKlIsGvuHkDGDNpQaAR0=" 2431 | }, 2432 | "oauth-sign": { 2433 | "version": "0.9.0", 2434 | "resolved": "https://registry.npmjs.org/oauth-sign/-/oauth-sign-0.9.0.tgz", 2435 | "integrity": "sha512-fexhUFFPTGV8ybAtSIGbV6gOkSv8UtRbDBnAyLQw4QPKkgNlsH2ByPGtMUqdWkos6YCRmAqViwgZrJc/mRDzZQ==" 2436 | }, 2437 | "object-assign": { 2438 | "version": "4.1.1", 2439 | "resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz", 2440 | "integrity": "sha1-IQmtx5ZYh8/AXLvUQsrIv7s2CGM=" 2441 | }, 2442 | "on-finished": { 2443 | "version": "2.3.0", 2444 | "resolved": "https://registry.npmjs.org/on-finished/-/on-finished-2.3.0.tgz", 2445 | "integrity": "sha1-IPEzZIGwg811M3mSoWlxqi2QaUc=", 2446 | "requires": { 2447 | "ee-first": "1.1.1" 2448 | } 2449 | }, 2450 | "on-headers": { 2451 | "version": "1.0.2", 2452 | "resolved": "https://registry.npmjs.org/on-headers/-/on-headers-1.0.2.tgz", 2453 | "integrity": "sha512-pZAE+FJLoyITytdqK0U5s+FIpjN0JP3OzFi/u8Rx+EV5/W+JTWGXG8xFzevE7AjBfDqHv/8vL8qQsIhHnqRkrA==" 2454 | }, 2455 | "once": { 2456 | "version": "1.4.0", 2457 | "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", 2458 | "integrity": "sha1-WDsap3WWHUsROsF9nFC6753Xa9E=", 2459 | "requires": { 2460 | "wrappy": "1" 2461 | } 2462 | }, 2463 | "onetime": { 2464 | "version": "5.1.0", 2465 | "resolved": "https://registry.npmjs.org/onetime/-/onetime-5.1.0.tgz", 2466 | "integrity": "sha512-5NcSkPHhwTVFIQN+TUqXoS5+dlElHXdpAWu9I0HP20YOtIi+aZ0Ct82jdlILDxjLEAWwvm+qj1m6aEtsDVmm6Q==", 2467 | "dev": true, 2468 | "requires": { 2469 | "mimic-fn": "^2.1.0" 2470 | } 2471 | }, 2472 | "optionator": { 2473 | "version": "0.8.3", 2474 | "resolved": "https://registry.npmjs.org/optionator/-/optionator-0.8.3.tgz", 2475 | "integrity": "sha512-+IW9pACdk3XWmmTXG8m3upGUJst5XRGzxMRjXzAuJ1XnIFNvfhjjIuYkDvysnPQ7qzqVzLt78BCruntqRhWQbA==", 2476 | "dev": true, 2477 | "requires": { 2478 | "deep-is": "~0.1.3", 2479 | "fast-levenshtein": "~2.0.6", 2480 | "levn": "~0.3.0", 2481 | "prelude-ls": "~1.1.2", 2482 | "type-check": "~0.3.2", 2483 | "word-wrap": "~1.2.3" 2484 | } 2485 | }, 2486 | "optjs": { 2487 | "version": "3.2.2", 2488 | "resolved": "https://registry.npmjs.org/optjs/-/optjs-3.2.2.tgz", 2489 | "integrity": "sha1-aabOicRCpEQDFBrS+bNwvVu29O4=" 2490 | }, 2491 | "os-locale": { 2492 | "version": "1.4.0", 2493 | "resolved": "https://registry.npmjs.org/os-locale/-/os-locale-1.4.0.tgz", 2494 | "integrity": "sha1-IPnxeuKe00XoveWDsT0gCYA8FNk=", 2495 | "requires": { 2496 | "lcid": "^1.0.0" 2497 | } 2498 | }, 2499 | "os-tmpdir": { 2500 | "version": "1.0.2", 2501 | "resolved": "https://registry.npmjs.org/os-tmpdir/-/os-tmpdir-1.0.2.tgz", 2502 | "integrity": "sha1-u+Z0BseaqFxc/sdm/lc0VV36EnQ=", 2503 | "dev": true 2504 | }, 2505 | "p-finally": { 2506 | "version": "1.0.0", 2507 | "resolved": "https://registry.npmjs.org/p-finally/-/p-finally-1.0.0.tgz", 2508 | "integrity": "sha1-P7z7FbiZpEEjs0ttzBi3JDNqLK4=" 2509 | }, 2510 | "package-json": { 2511 | "version": "4.0.1", 2512 | "resolved": "https://registry.npmjs.org/package-json/-/package-json-4.0.1.tgz", 2513 | "integrity": "sha1-iGmgQBJTZhxMTKPabCEh7VVfXu0=", 2514 | "requires": { 2515 | "got": "^6.7.1", 2516 | "registry-auth-token": "^3.0.1", 2517 | "registry-url": "^3.0.3", 2518 | "semver": "^5.1.0" 2519 | } 2520 | }, 2521 | "parent-module": { 2522 | "version": "1.0.1", 2523 | "resolved": "https://registry.npmjs.org/parent-module/-/parent-module-1.0.1.tgz", 2524 | "integrity": "sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g==", 2525 | "dev": true, 2526 | "requires": { 2527 | "callsites": "^3.0.0" 2528 | } 2529 | }, 2530 | "parseurl": { 2531 | "version": "1.3.3", 2532 | "resolved": "https://registry.npmjs.org/parseurl/-/parseurl-1.3.3.tgz", 2533 | "integrity": "sha512-CiyeOxFT/JZyN5m0z9PfXw4SCBJ6Sygz1Dpl0wqjlhDEGGBP1GnsUVEL0p63hoG1fcj3fHynXi9NYO4nWOL+qQ==" 2534 | }, 2535 | "path-is-absolute": { 2536 | "version": "1.0.1", 2537 | "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz", 2538 | "integrity": "sha1-F0uSaHNVNP+8es5r9TpanhtcX18=" 2539 | }, 2540 | "path-is-inside": { 2541 | "version": "1.0.2", 2542 | "resolved": "https://registry.npmjs.org/path-is-inside/-/path-is-inside-1.0.2.tgz", 2543 | "integrity": "sha1-NlQX3t5EQw0cEa9hAn+s8HS9/FM=" 2544 | }, 2545 | "path-key": { 2546 | "version": "2.0.1", 2547 | "resolved": "https://registry.npmjs.org/path-key/-/path-key-2.0.1.tgz", 2548 | "integrity": "sha1-QRyttXTFoUDTpLGRDUDYDMn0C0A=" 2549 | }, 2550 | "path-to-regexp": { 2551 | "version": "0.1.7", 2552 | "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-0.1.7.tgz", 2553 | "integrity": "sha1-32BBeABfUi8V60SQ5yR6G/qmf4w=" 2554 | }, 2555 | "performance-now": { 2556 | "version": "2.1.0", 2557 | "resolved": "https://registry.npmjs.org/performance-now/-/performance-now-2.1.0.tgz", 2558 | "integrity": "sha1-Ywn04OX6kT7BxpMHrjZLSzd8nns=" 2559 | }, 2560 | "picomatch": { 2561 | "version": "2.2.1", 2562 | "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.2.1.tgz", 2563 | "integrity": "sha512-ISBaA8xQNmwELC7eOjqFKMESB2VIqt4PPDD0nsS95b/9dZXvVKOlz9keMSnoGGKcOHXfTvDD6WMaRoSc9UuhRA==" 2564 | }, 2565 | "pify": { 2566 | "version": "3.0.0", 2567 | "resolved": "https://registry.npmjs.org/pify/-/pify-3.0.0.tgz", 2568 | "integrity": "sha1-5aSs0sEB/fPZpNB/DbxNtJ3SgXY=" 2569 | }, 2570 | "pkcs11js": { 2571 | "version": "1.0.19", 2572 | "resolved": "https://registry.npmjs.org/pkcs11js/-/pkcs11js-1.0.19.tgz", 2573 | "integrity": "sha512-BThNeWreqDXbMAZOTtG8PodY4WAS0HNHsXtsVbDBX4L4C58AvxIIXjjZrsBadXUagbjTllmZwsZHkebVUTpwcA==", 2574 | "optional": true, 2575 | "requires": { 2576 | "nan": "^2.14.0" 2577 | } 2578 | }, 2579 | "prelude-ls": { 2580 | "version": "1.1.2", 2581 | "resolved": "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.1.2.tgz", 2582 | "integrity": "sha1-IZMqVJ9eUv/ZqCf1cOBL5iqX2lQ=", 2583 | "dev": true 2584 | }, 2585 | "prepend-http": { 2586 | "version": "1.0.4", 2587 | "resolved": "https://registry.npmjs.org/prepend-http/-/prepend-http-1.0.4.tgz", 2588 | "integrity": "sha1-1PRWKwzjaW5BrFLQ4ALlemNdxtw=" 2589 | }, 2590 | "process-nextick-args": { 2591 | "version": "2.0.1", 2592 | "resolved": "https://registry.npmjs.org/process-nextick-args/-/process-nextick-args-2.0.1.tgz", 2593 | "integrity": "sha512-3ouUOpQhtgrbOa17J7+uxOTpITYWaGP7/AhoR3+A+/1e9skrzelGi/dXzEYyvbxubEF6Wn2ypscTKiKJFFn1ag==" 2594 | }, 2595 | "progress": { 2596 | "version": "2.0.3", 2597 | "resolved": "https://registry.npmjs.org/progress/-/progress-2.0.3.tgz", 2598 | "integrity": "sha512-7PiHtLll5LdnKIMw100I+8xJXR5gW2QwWYkT6iJva0bXitZKa/XMrSbdmg3r2Xnaidz9Qumd0VPaMrZlF9V9sA==", 2599 | "dev": true 2600 | }, 2601 | "promise-settle": { 2602 | "version": "0.3.0", 2603 | "resolved": "https://registry.npmjs.org/promise-settle/-/promise-settle-0.3.0.tgz", 2604 | "integrity": "sha1-tO/VcqHrdM95T4KM00naQKCOTpY=" 2605 | }, 2606 | "protobufjs": { 2607 | "version": "5.0.3", 2608 | "resolved": "https://registry.npmjs.org/protobufjs/-/protobufjs-5.0.3.tgz", 2609 | "integrity": "sha512-55Kcx1MhPZX0zTbVosMQEO5R6/rikNXd9b6RQK4KSPcrSIIwoXTtebIczUrXlwaSrbz4x8XUVThGPob1n8I4QA==", 2610 | "requires": { 2611 | "ascli": "~1", 2612 | "bytebuffer": "~5", 2613 | "glob": "^7.0.5", 2614 | "yargs": "^3.10.0" 2615 | } 2616 | }, 2617 | "proxy-addr": { 2618 | "version": "2.0.5", 2619 | "resolved": "https://registry.npmjs.org/proxy-addr/-/proxy-addr-2.0.5.tgz", 2620 | "integrity": "sha512-t/7RxHXPH6cJtP0pRG6smSr9QJidhB+3kXu0KgXnbGYMgzEnUxRQ4/LDdfOwZEMyIh3/xHb8PX3t+lfL9z+YVQ==", 2621 | "requires": { 2622 | "forwarded": "~0.1.2", 2623 | "ipaddr.js": "1.9.0" 2624 | } 2625 | }, 2626 | "pseudomap": { 2627 | "version": "1.0.2", 2628 | "resolved": "https://registry.npmjs.org/pseudomap/-/pseudomap-1.0.2.tgz", 2629 | "integrity": "sha1-8FKijacOYYkX7wqKw0wa5aaChrM=" 2630 | }, 2631 | "psl": { 2632 | "version": "1.7.0", 2633 | "resolved": "https://registry.npmjs.org/psl/-/psl-1.7.0.tgz", 2634 | "integrity": "sha512-5NsSEDv8zY70ScRnOTn7bK7eanl2MvFrOrS/R6x+dBt5g1ghnj9Zv90kO8GwT8gxcu2ANyFprnFYB85IogIJOQ==" 2635 | }, 2636 | "pstree.remy": { 2637 | "version": "1.1.7", 2638 | "resolved": "https://registry.npmjs.org/pstree.remy/-/pstree.remy-1.1.7.tgz", 2639 | "integrity": "sha512-xsMgrUwRpuGskEzBFkH8NmTimbZ5PcPup0LA8JJkHIm2IMUbQcpo3yeLNWVrufEYjh8YwtSVh0xz6UeWc5Oh5A==" 2640 | }, 2641 | "punycode": { 2642 | "version": "1.3.2", 2643 | "resolved": "https://registry.npmjs.org/punycode/-/punycode-1.3.2.tgz", 2644 | "integrity": "sha1-llOgNvt8HuQjQvIyXM7v6jkmxI0=" 2645 | }, 2646 | "qs": { 2647 | "version": "6.7.0", 2648 | "resolved": "https://registry.npmjs.org/qs/-/qs-6.7.0.tgz", 2649 | "integrity": "sha512-VCdBRNFTX1fyE7Nb6FYoURo/SPe62QCaAyzJvUjwRaIsc+NePBEniHlvxFmmX56+HZphIGtV0XeCirBtpDrTyQ==" 2650 | }, 2651 | "querystring": { 2652 | "version": "0.2.0", 2653 | "resolved": "https://registry.npmjs.org/querystring/-/querystring-0.2.0.tgz", 2654 | "integrity": "sha1-sgmEkgO7Jd+CDadW50cAWHhSFiA=" 2655 | }, 2656 | "range-parser": { 2657 | "version": "1.2.1", 2658 | "resolved": "https://registry.npmjs.org/range-parser/-/range-parser-1.2.1.tgz", 2659 | "integrity": "sha512-Hrgsx+orqoygnmhFbKaHE6c296J+HTAQXoxEF6gNupROmmGJRoyzfG3ccAveqCBrwr/2yxQ5BVd/GTl5agOwSg==" 2660 | }, 2661 | "raw-body": { 2662 | "version": "2.4.0", 2663 | "resolved": "https://registry.npmjs.org/raw-body/-/raw-body-2.4.0.tgz", 2664 | "integrity": "sha512-4Oz8DUIwdvoa5qMJelxipzi/iJIi40O5cGV1wNYp5hvZP8ZN0T+jiNkL0QepXs+EsQ9XJ8ipEDoiH70ySUJP3Q==", 2665 | "requires": { 2666 | "bytes": "3.1.0", 2667 | "http-errors": "1.7.2", 2668 | "iconv-lite": "0.4.24", 2669 | "unpipe": "1.0.0" 2670 | } 2671 | }, 2672 | "rc": { 2673 | "version": "1.2.8", 2674 | "resolved": "https://registry.npmjs.org/rc/-/rc-1.2.8.tgz", 2675 | "integrity": "sha512-y3bGgqKj3QBdxLbLkomlohkvsA8gdAiUQlSBJnBhfn+BPxg4bc62d8TcBW15wavDfgexCgccckhcZvywyQYPOw==", 2676 | "requires": { 2677 | "deep-extend": "^0.6.0", 2678 | "ini": "~1.3.0", 2679 | "minimist": "^1.2.0", 2680 | "strip-json-comments": "~2.0.1" 2681 | } 2682 | }, 2683 | "readable-stream": { 2684 | "version": "2.3.7", 2685 | "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.7.tgz", 2686 | "integrity": "sha512-Ebho8K4jIbHAxnuxi7o42OrZgF/ZTNcsZj6nRKyUmkhLFq8CHItp/fy6hQZuZmP/n3yZ9VBUbp4zz/mX8hmYPw==", 2687 | "requires": { 2688 | "core-util-is": "~1.0.0", 2689 | "inherits": "~2.0.3", 2690 | "isarray": "~1.0.0", 2691 | "process-nextick-args": "~2.0.0", 2692 | "safe-buffer": "~5.1.1", 2693 | "string_decoder": "~1.1.1", 2694 | "util-deprecate": "~1.0.1" 2695 | } 2696 | }, 2697 | "readdirp": { 2698 | "version": "3.3.0", 2699 | "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-3.3.0.tgz", 2700 | "integrity": "sha512-zz0pAkSPOXXm1viEwygWIPSPkcBYjW1xU5j/JBh5t9bGCJwa6f9+BJa6VaB2g+b55yVrmXzqkyLf4xaWYM0IkQ==", 2701 | "requires": { 2702 | "picomatch": "^2.0.7" 2703 | } 2704 | }, 2705 | "regexpp": { 2706 | "version": "2.0.1", 2707 | "resolved": "https://registry.npmjs.org/regexpp/-/regexpp-2.0.1.tgz", 2708 | "integrity": "sha512-lv0M6+TkDVniA3aD1Eg0DVpfU/booSu7Eev3TDO/mZKHBfVjgCGTV4t4buppESEYDtkArYFOxTJWv6S5C+iaNw==", 2709 | "dev": true 2710 | }, 2711 | "registry-auth-token": { 2712 | "version": "3.4.0", 2713 | "resolved": "https://registry.npmjs.org/registry-auth-token/-/registry-auth-token-3.4.0.tgz", 2714 | "integrity": "sha512-4LM6Fw8eBQdwMYcES4yTnn2TqIasbXuwDx3um+QRs7S55aMKCBKBxvPXl2RiUjHwuJLTyYfxSpmfSAjQpcuP+A==", 2715 | "requires": { 2716 | "rc": "^1.1.6", 2717 | "safe-buffer": "^5.0.1" 2718 | } 2719 | }, 2720 | "registry-url": { 2721 | "version": "3.1.0", 2722 | "resolved": "https://registry.npmjs.org/registry-url/-/registry-url-3.1.0.tgz", 2723 | "integrity": "sha1-PU74cPc93h138M+aOBQyRE4XSUI=", 2724 | "requires": { 2725 | "rc": "^1.0.1" 2726 | } 2727 | }, 2728 | "request": { 2729 | "version": "2.88.0", 2730 | "resolved": "https://registry.npmjs.org/request/-/request-2.88.0.tgz", 2731 | "integrity": "sha512-NAqBSrijGLZdM0WZNsInLJpkJokL72XYjUpnB0iwsRgxh7dB6COrHnTBNwN0E+lHDAJzu7kLAkDeY08z2/A0hg==", 2732 | "requires": { 2733 | "aws-sign2": "~0.7.0", 2734 | "aws4": "^1.8.0", 2735 | "caseless": "~0.12.0", 2736 | "combined-stream": "~1.0.6", 2737 | "extend": "~3.0.2", 2738 | "forever-agent": "~0.6.1", 2739 | "form-data": "~2.3.2", 2740 | "har-validator": "~5.1.0", 2741 | "http-signature": "~1.2.0", 2742 | "is-typedarray": "~1.0.0", 2743 | "isstream": "~0.1.2", 2744 | "json-stringify-safe": "~5.0.1", 2745 | "mime-types": "~2.1.19", 2746 | "oauth-sign": "~0.9.0", 2747 | "performance-now": "^2.1.0", 2748 | "qs": "~6.5.2", 2749 | "safe-buffer": "^5.1.2", 2750 | "tough-cookie": "~2.4.3", 2751 | "tunnel-agent": "^0.6.0", 2752 | "uuid": "^3.3.2" 2753 | }, 2754 | "dependencies": { 2755 | "qs": { 2756 | "version": "6.5.2", 2757 | "resolved": "https://registry.npmjs.org/qs/-/qs-6.5.2.tgz", 2758 | "integrity": "sha512-N5ZAX4/LxJmF+7wN74pUD6qAh9/wnvdQcjq9TZjevvXzSUo7bfmw91saqMjzGS2xq91/odN2dW/WOl7qQHNDGA==" 2759 | } 2760 | } 2761 | }, 2762 | "resolve-from": { 2763 | "version": "4.0.0", 2764 | "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-4.0.0.tgz", 2765 | "integrity": "sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g==", 2766 | "dev": true 2767 | }, 2768 | "restore-cursor": { 2769 | "version": "3.1.0", 2770 | "resolved": "https://registry.npmjs.org/restore-cursor/-/restore-cursor-3.1.0.tgz", 2771 | "integrity": "sha512-l+sSefzHpj5qimhFSE5a8nufZYAM3sBSVMAPtYkmC+4EH2anSGaEMXSD0izRQbu9nfyQ9y5JrVmp7E8oZrUjvA==", 2772 | "dev": true, 2773 | "requires": { 2774 | "onetime": "^5.1.0", 2775 | "signal-exit": "^3.0.2" 2776 | } 2777 | }, 2778 | "rimraf": { 2779 | "version": "2.6.3", 2780 | "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-2.6.3.tgz", 2781 | "integrity": "sha512-mwqeW5XsA2qAejG46gYdENaxXjx9onRNCfn7L0duuP4hCuTIi/QO7PDK07KJfp1d+izWPrzEJDcSqBa0OZQriA==", 2782 | "requires": { 2783 | "glob": "^7.1.3" 2784 | } 2785 | }, 2786 | "run-async": { 2787 | "version": "2.3.0", 2788 | "resolved": "https://registry.npmjs.org/run-async/-/run-async-2.3.0.tgz", 2789 | "integrity": "sha1-A3GrSuC91yDUFm19/aZP96RFpsA=", 2790 | "dev": true, 2791 | "requires": { 2792 | "is-promise": "^2.1.0" 2793 | } 2794 | }, 2795 | "rxjs": { 2796 | "version": "6.5.4", 2797 | "resolved": "https://registry.npmjs.org/rxjs/-/rxjs-6.5.4.tgz", 2798 | "integrity": "sha512-naMQXcgEo3csAEGvw/NydRA0fuS2nDZJiw1YUWFKU7aPPAPGZEsD4Iimit96qwCieH6y614MCLYwdkrWx7z/7Q==", 2799 | "dev": true, 2800 | "requires": { 2801 | "tslib": "^1.9.0" 2802 | } 2803 | }, 2804 | "safe-buffer": { 2805 | "version": "5.1.2", 2806 | "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", 2807 | "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==" 2808 | }, 2809 | "safer-buffer": { 2810 | "version": "2.1.2", 2811 | "resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz", 2812 | "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==" 2813 | }, 2814 | "secure-keys": { 2815 | "version": "1.0.0", 2816 | "resolved": "https://registry.npmjs.org/secure-keys/-/secure-keys-1.0.0.tgz", 2817 | "integrity": "sha1-8MgtmKOxOah3aogIBQuCRDEIf8o=" 2818 | }, 2819 | "semver": { 2820 | "version": "5.7.1", 2821 | "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz", 2822 | "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==" 2823 | }, 2824 | "semver-diff": { 2825 | "version": "2.1.0", 2826 | "resolved": "https://registry.npmjs.org/semver-diff/-/semver-diff-2.1.0.tgz", 2827 | "integrity": "sha1-S7uEN8jTfksM8aaP1ybsbWRdbTY=", 2828 | "requires": { 2829 | "semver": "^5.0.3" 2830 | } 2831 | }, 2832 | "send": { 2833 | "version": "0.17.1", 2834 | "resolved": "https://registry.npmjs.org/send/-/send-0.17.1.tgz", 2835 | "integrity": "sha512-BsVKsiGcQMFwT8UxypobUKyv7irCNRHk1T0G680vk88yf6LBByGcZJOTJCrTP2xVN6yI+XjPJcNuE3V4fT9sAg==", 2836 | "requires": { 2837 | "debug": "2.6.9", 2838 | "depd": "~1.1.2", 2839 | "destroy": "~1.0.4", 2840 | "encodeurl": "~1.0.2", 2841 | "escape-html": "~1.0.3", 2842 | "etag": "~1.8.1", 2843 | "fresh": "0.5.2", 2844 | "http-errors": "~1.7.2", 2845 | "mime": "1.6.0", 2846 | "ms": "2.1.1", 2847 | "on-finished": "~2.3.0", 2848 | "range-parser": "~1.2.1", 2849 | "statuses": "~1.5.0" 2850 | }, 2851 | "dependencies": { 2852 | "ms": { 2853 | "version": "2.1.1", 2854 | "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.1.tgz", 2855 | "integrity": "sha512-tgp+dl5cGk28utYktBsrFqA7HKgrhgPsg6Z/EfhWI4gl1Hwq8B/GmY/0oXZ6nF8hDVesS/FpnYaD/kOWhYQvyg==" 2856 | } 2857 | } 2858 | }, 2859 | "serve-static": { 2860 | "version": "1.14.1", 2861 | "resolved": "https://registry.npmjs.org/serve-static/-/serve-static-1.14.1.tgz", 2862 | "integrity": "sha512-JMrvUwE54emCYWlTI+hGrGv5I8dEwmco/00EvkzIIsR7MqrHonbD9pO2MOfFnpFntl7ecpZs+3mW+XbQZu9QCg==", 2863 | "requires": { 2864 | "encodeurl": "~1.0.2", 2865 | "escape-html": "~1.0.3", 2866 | "parseurl": "~1.3.3", 2867 | "send": "0.17.1" 2868 | } 2869 | }, 2870 | "setprototypeof": { 2871 | "version": "1.1.1", 2872 | "resolved": "https://registry.npmjs.org/setprototypeof/-/setprototypeof-1.1.1.tgz", 2873 | "integrity": "sha512-JvdAWfbXeIGaZ9cILp38HntZSFSo3mWg6xGcJJsd+d4aRMOqauag1C63dJfDw7OaMYwEbHMOxEZ1lqVRYP2OAw==" 2874 | }, 2875 | "shebang-command": { 2876 | "version": "1.2.0", 2877 | "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-1.2.0.tgz", 2878 | "integrity": "sha1-RKrGW2lbAzmJaMOfNj/uXer98eo=", 2879 | "requires": { 2880 | "shebang-regex": "^1.0.0" 2881 | } 2882 | }, 2883 | "shebang-regex": { 2884 | "version": "1.0.0", 2885 | "resolved": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-1.0.0.tgz", 2886 | "integrity": "sha1-2kL0l0DAtC2yypcoVxyxkMmO/qM=" 2887 | }, 2888 | "signal-exit": { 2889 | "version": "3.0.2", 2890 | "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.2.tgz", 2891 | "integrity": "sha1-tf3AjxKH6hF4Yo5BXiUTK3NkbG0=" 2892 | }, 2893 | "sjcl": { 2894 | "version": "1.0.7", 2895 | "resolved": "https://registry.npmjs.org/sjcl/-/sjcl-1.0.7.tgz", 2896 | "integrity": "sha1-MrNlpQ3Ju6JriLo8nfjqNCF9n0U=" 2897 | }, 2898 | "slice-ansi": { 2899 | "version": "2.1.0", 2900 | "resolved": "https://registry.npmjs.org/slice-ansi/-/slice-ansi-2.1.0.tgz", 2901 | "integrity": "sha512-Qu+VC3EwYLldKa1fCxuuvULvSJOKEgk9pi8dZeCVK7TqBfUNTH4sFkk4joj8afVSfAYgJoSOetjx9QWOJ5mYoQ==", 2902 | "dev": true, 2903 | "requires": { 2904 | "ansi-styles": "^3.2.0", 2905 | "astral-regex": "^1.0.0", 2906 | "is-fullwidth-code-point": "^2.0.0" 2907 | }, 2908 | "dependencies": { 2909 | "is-fullwidth-code-point": { 2910 | "version": "2.0.0", 2911 | "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-2.0.0.tgz", 2912 | "integrity": "sha1-o7MKXE8ZkYMWeqq5O+764937ZU8=", 2913 | "dev": true 2914 | } 2915 | } 2916 | }, 2917 | "sprintf-js": { 2918 | "version": "1.0.3", 2919 | "resolved": "https://registry.npmjs.org/sprintf-js/-/sprintf-js-1.0.3.tgz", 2920 | "integrity": "sha1-BOaSb2YolTVPPdAVIDYzuFcpfiw=" 2921 | }, 2922 | "sshpk": { 2923 | "version": "1.16.1", 2924 | "resolved": "https://registry.npmjs.org/sshpk/-/sshpk-1.16.1.tgz", 2925 | "integrity": "sha512-HXXqVUq7+pcKeLqqZj6mHFUMvXtOJt1uoUx09pFW6011inTMxqI8BA8PM95myrIyyKwdnzjdFjLiE6KBPVtJIg==", 2926 | "requires": { 2927 | "asn1": "~0.2.3", 2928 | "assert-plus": "^1.0.0", 2929 | "bcrypt-pbkdf": "^1.0.0", 2930 | "dashdash": "^1.12.0", 2931 | "ecc-jsbn": "~0.1.1", 2932 | "getpass": "^0.1.1", 2933 | "jsbn": "~0.1.0", 2934 | "safer-buffer": "^2.0.2", 2935 | "tweetnacl": "~0.14.0" 2936 | } 2937 | }, 2938 | "stack-trace": { 2939 | "version": "0.0.10", 2940 | "resolved": "https://registry.npmjs.org/stack-trace/-/stack-trace-0.0.10.tgz", 2941 | "integrity": "sha1-VHxws0fo0ytOEI6hoqFZ5f3eGcA=" 2942 | }, 2943 | "statuses": { 2944 | "version": "1.5.0", 2945 | "resolved": "https://registry.npmjs.org/statuses/-/statuses-1.5.0.tgz", 2946 | "integrity": "sha1-Fhx9rBd2Wf2YEfQ3cfqZOBR4Yow=" 2947 | }, 2948 | "string-width": { 2949 | "version": "1.0.2", 2950 | "resolved": "https://registry.npmjs.org/string-width/-/string-width-1.0.2.tgz", 2951 | "integrity": "sha1-EYvfW4zcUaKn5w0hHgfisLmxB9M=", 2952 | "requires": { 2953 | "code-point-at": "^1.0.0", 2954 | "is-fullwidth-code-point": "^1.0.0", 2955 | "strip-ansi": "^3.0.0" 2956 | } 2957 | }, 2958 | "string_decoder": { 2959 | "version": "1.1.1", 2960 | "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz", 2961 | "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==", 2962 | "requires": { 2963 | "safe-buffer": "~5.1.0" 2964 | } 2965 | }, 2966 | "strip-ansi": { 2967 | "version": "3.0.1", 2968 | "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-3.0.1.tgz", 2969 | "integrity": "sha1-ajhfuIU9lS1f8F0Oiq+UJ43GPc8=", 2970 | "requires": { 2971 | "ansi-regex": "^2.0.0" 2972 | } 2973 | }, 2974 | "strip-eof": { 2975 | "version": "1.0.0", 2976 | "resolved": "https://registry.npmjs.org/strip-eof/-/strip-eof-1.0.0.tgz", 2977 | "integrity": "sha1-u0P/VZim6wXYm1n80SnJgzE2Br8=" 2978 | }, 2979 | "strip-json-comments": { 2980 | "version": "2.0.1", 2981 | "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-2.0.1.tgz", 2982 | "integrity": "sha1-PFMZQukIwml8DsNEhYwobHygpgo=" 2983 | }, 2984 | "supports-color": { 2985 | "version": "5.5.0", 2986 | "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", 2987 | "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", 2988 | "requires": { 2989 | "has-flag": "^3.0.0" 2990 | } 2991 | }, 2992 | "table": { 2993 | "version": "5.4.6", 2994 | "resolved": "https://registry.npmjs.org/table/-/table-5.4.6.tgz", 2995 | "integrity": "sha512-wmEc8m4fjnob4gt5riFRtTu/6+4rSe12TpAELNSqHMfF3IqnA+CH37USM6/YR3qRZv7e56kAEAtd6nKZaxe0Ug==", 2996 | "dev": true, 2997 | "requires": { 2998 | "ajv": "^6.10.2", 2999 | "lodash": "^4.17.14", 3000 | "slice-ansi": "^2.1.0", 3001 | "string-width": "^3.0.0" 3002 | }, 3003 | "dependencies": { 3004 | "ajv": { 3005 | "version": "6.10.2", 3006 | "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.10.2.tgz", 3007 | "integrity": "sha512-TXtUUEYHuaTEbLZWIKUr5pmBuhDLy+8KYtPYdcV8qC+pOZL+NKqYwvWSRrVXHn+ZmRRAu8vJTAznH7Oag6RVRw==", 3008 | "dev": true, 3009 | "requires": { 3010 | "fast-deep-equal": "^2.0.1", 3011 | "fast-json-stable-stringify": "^2.0.0", 3012 | "json-schema-traverse": "^0.4.1", 3013 | "uri-js": "^4.2.2" 3014 | } 3015 | }, 3016 | "ansi-regex": { 3017 | "version": "4.1.0", 3018 | "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-4.1.0.tgz", 3019 | "integrity": "sha512-1apePfXM1UOSqw0o9IiFAovVz9M5S1Dg+4TrDwfMewQ6p/rmMueb7tWZjQ1rx4Loy1ArBggoqGpfqqdI4rondg==", 3020 | "dev": true 3021 | }, 3022 | "emoji-regex": { 3023 | "version": "7.0.3", 3024 | "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-7.0.3.tgz", 3025 | "integrity": "sha512-CwBLREIQ7LvYFB0WyRvwhq5N5qPhc6PMjD6bYggFlI5YyDgl+0vxq5VHbMOFqLg7hfWzmu8T5Z1QofhmTIhItA==", 3026 | "dev": true 3027 | }, 3028 | "is-fullwidth-code-point": { 3029 | "version": "2.0.0", 3030 | "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-2.0.0.tgz", 3031 | "integrity": "sha1-o7MKXE8ZkYMWeqq5O+764937ZU8=", 3032 | "dev": true 3033 | }, 3034 | "string-width": { 3035 | "version": "3.1.0", 3036 | "resolved": "https://registry.npmjs.org/string-width/-/string-width-3.1.0.tgz", 3037 | "integrity": "sha512-vafcv6KjVZKSgz06oM/H6GDBrAtz8vdhQakGjFIvNrHA6y3HCF1CInLy+QLq8dTJPQ1b+KDUqDFctkdRW44e1w==", 3038 | "dev": true, 3039 | "requires": { 3040 | "emoji-regex": "^7.0.1", 3041 | "is-fullwidth-code-point": "^2.0.0", 3042 | "strip-ansi": "^5.1.0" 3043 | } 3044 | }, 3045 | "strip-ansi": { 3046 | "version": "5.2.0", 3047 | "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-5.2.0.tgz", 3048 | "integrity": "sha512-DuRs1gKbBqsMKIZlrffwlug8MHkcnpjs5VPmL1PAh+mA30U0DTotfDZ0d2UUsXpPmPmMMJ6W773MaA3J+lbiWA==", 3049 | "dev": true, 3050 | "requires": { 3051 | "ansi-regex": "^4.1.0" 3052 | } 3053 | } 3054 | } 3055 | }, 3056 | "tar-stream": { 3057 | "version": "1.6.1", 3058 | "resolved": "https://registry.npmjs.org/tar-stream/-/tar-stream-1.6.1.tgz", 3059 | "integrity": "sha512-IFLM5wp3QrJODQFPm6/to3LJZrONdBY/otxcvDIQzu217zKye6yVR3hhi9lAjrC2Z+m/j5oDxMPb1qcd8cIvpA==", 3060 | "requires": { 3061 | "bl": "^1.0.0", 3062 | "buffer-alloc": "^1.1.0", 3063 | "end-of-stream": "^1.0.0", 3064 | "fs-constants": "^1.0.0", 3065 | "readable-stream": "^2.3.0", 3066 | "to-buffer": "^1.1.0", 3067 | "xtend": "^4.0.0" 3068 | } 3069 | }, 3070 | "term-size": { 3071 | "version": "1.2.0", 3072 | "resolved": "https://registry.npmjs.org/term-size/-/term-size-1.2.0.tgz", 3073 | "integrity": "sha1-RYuDiH8oj8Vtb/+/rSYuJmOO+mk=", 3074 | "requires": { 3075 | "execa": "^0.7.0" 3076 | } 3077 | }, 3078 | "text-table": { 3079 | "version": "0.2.0", 3080 | "resolved": "https://registry.npmjs.org/text-table/-/text-table-0.2.0.tgz", 3081 | "integrity": "sha1-f17oI66AUgfACvLfSoTsP8+lcLQ=", 3082 | "dev": true 3083 | }, 3084 | "through": { 3085 | "version": "2.3.8", 3086 | "resolved": "https://registry.npmjs.org/through/-/through-2.3.8.tgz", 3087 | "integrity": "sha1-DdTJ/6q8NXlgsbckEV1+Doai4fU=", 3088 | "dev": true 3089 | }, 3090 | "timed-out": { 3091 | "version": "4.0.1", 3092 | "resolved": "https://registry.npmjs.org/timed-out/-/timed-out-4.0.1.tgz", 3093 | "integrity": "sha1-8y6srFoXW+ol1/q1Zas+2HQe9W8=" 3094 | }, 3095 | "tmp": { 3096 | "version": "0.0.33", 3097 | "resolved": "https://registry.npmjs.org/tmp/-/tmp-0.0.33.tgz", 3098 | "integrity": "sha512-jRCJlojKnZ3addtTOjdIqoRuPEKBvNXcGYqzO6zWZX8KfKEpnGY5jfggJQ3EjKuu8D4bJRr0y+cYJFmYbImXGw==", 3099 | "dev": true, 3100 | "requires": { 3101 | "os-tmpdir": "~1.0.2" 3102 | } 3103 | }, 3104 | "to-buffer": { 3105 | "version": "1.1.1", 3106 | "resolved": "https://registry.npmjs.org/to-buffer/-/to-buffer-1.1.1.tgz", 3107 | "integrity": "sha512-lx9B5iv7msuFYE3dytT+KE5tap+rNYw+K4jVkb9R/asAb+pbBSM17jtunHplhBe6RRJdZx3Pn2Jph24O32mOVg==" 3108 | }, 3109 | "to-regex-range": { 3110 | "version": "5.0.1", 3111 | "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz", 3112 | "integrity": "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==", 3113 | "requires": { 3114 | "is-number": "^7.0.0" 3115 | } 3116 | }, 3117 | "toidentifier": { 3118 | "version": "1.0.0", 3119 | "resolved": "https://registry.npmjs.org/toidentifier/-/toidentifier-1.0.0.tgz", 3120 | "integrity": "sha512-yaOH/Pk/VEhBWWTlhI+qXxDFXlejDGcQipMlyxda9nthulaxLZUNcUqFxokp0vcYnvteJln5FNQDRrxj3YcbVw==" 3121 | }, 3122 | "touch": { 3123 | "version": "3.1.0", 3124 | "resolved": "https://registry.npmjs.org/touch/-/touch-3.1.0.tgz", 3125 | "integrity": "sha512-WBx8Uy5TLtOSRtIq+M03/sKDrXCLHxwDcquSP2c43Le03/9serjQBIztjRz6FkJez9D/hleyAXTBGLwwZUw9lA==", 3126 | "requires": { 3127 | "nopt": "~1.0.10" 3128 | } 3129 | }, 3130 | "tough-cookie": { 3131 | "version": "2.4.3", 3132 | "resolved": "https://registry.npmjs.org/tough-cookie/-/tough-cookie-2.4.3.tgz", 3133 | "integrity": "sha512-Q5srk/4vDM54WJsJio3XNn6K2sCG+CQ8G5Wz6bZhRZoAe/+TxjWB/GlFAnYEbkYVlON9FMk/fE3h2RLpPXo4lQ==", 3134 | "requires": { 3135 | "psl": "^1.1.24", 3136 | "punycode": "^1.4.1" 3137 | }, 3138 | "dependencies": { 3139 | "punycode": { 3140 | "version": "1.4.1", 3141 | "resolved": "https://registry.npmjs.org/punycode/-/punycode-1.4.1.tgz", 3142 | "integrity": "sha1-wNWmOycYgArY4esPpSachN1BhF4=" 3143 | } 3144 | } 3145 | }, 3146 | "tslib": { 3147 | "version": "1.10.0", 3148 | "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.10.0.tgz", 3149 | "integrity": "sha512-qOebF53frne81cf0S9B41ByenJ3/IuH8yJKngAX35CmiZySA0khhkovshKK+jGCaMnVomla7gVlIcc3EvKPbTQ==", 3150 | "dev": true 3151 | }, 3152 | "tunnel-agent": { 3153 | "version": "0.6.0", 3154 | "resolved": "https://registry.npmjs.org/tunnel-agent/-/tunnel-agent-0.6.0.tgz", 3155 | "integrity": "sha1-J6XeoGs2sEoKmWZ3SykIaPD8QP0=", 3156 | "requires": { 3157 | "safe-buffer": "^5.0.1" 3158 | } 3159 | }, 3160 | "tweetnacl": { 3161 | "version": "0.14.5", 3162 | "resolved": "https://registry.npmjs.org/tweetnacl/-/tweetnacl-0.14.5.tgz", 3163 | "integrity": "sha1-WuaBd/GS1EViadEIr6k/+HQ/T2Q=" 3164 | }, 3165 | "type-check": { 3166 | "version": "0.3.2", 3167 | "resolved": "https://registry.npmjs.org/type-check/-/type-check-0.3.2.tgz", 3168 | "integrity": "sha1-WITKtRLPHTVeP7eE8wgEsrUg23I=", 3169 | "dev": true, 3170 | "requires": { 3171 | "prelude-ls": "~1.1.2" 3172 | } 3173 | }, 3174 | "type-fest": { 3175 | "version": "0.8.1", 3176 | "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.8.1.tgz", 3177 | "integrity": "sha512-4dbzIzqvjtgiM5rw1k5rEHtBANKmdudhGyBEajN01fEyhaAIhsoKNy6y7+IN93IfpFtwY9iqi7kD+xwKhQsNJA==", 3178 | "dev": true 3179 | }, 3180 | "type-is": { 3181 | "version": "1.6.18", 3182 | "resolved": "https://registry.npmjs.org/type-is/-/type-is-1.6.18.tgz", 3183 | "integrity": "sha512-TkRKr9sUTxEH8MdfuCSP7VizJyzRNMjj2J2do2Jr3Kym598JVdEksuzPQCnlFPW4ky9Q+iA+ma9BGm06XQBy8g==", 3184 | "requires": { 3185 | "media-typer": "0.3.0", 3186 | "mime-types": "~2.1.24" 3187 | } 3188 | }, 3189 | "undefsafe": { 3190 | "version": "2.0.2", 3191 | "resolved": "https://registry.npmjs.org/undefsafe/-/undefsafe-2.0.2.tgz", 3192 | "integrity": "sha1-Il9rngM3Zj4Njnz9aG/Cg2zKznY=", 3193 | "requires": { 3194 | "debug": "^2.2.0" 3195 | } 3196 | }, 3197 | "unique-string": { 3198 | "version": "1.0.0", 3199 | "resolved": "https://registry.npmjs.org/unique-string/-/unique-string-1.0.0.tgz", 3200 | "integrity": "sha1-nhBXzKhRq7kzmPizOuGHuZyuwRo=", 3201 | "requires": { 3202 | "crypto-random-string": "^1.0.0" 3203 | } 3204 | }, 3205 | "universalify": { 3206 | "version": "0.1.2", 3207 | "resolved": "https://registry.npmjs.org/universalify/-/universalify-0.1.2.tgz", 3208 | "integrity": "sha512-rBJeI5CXAlmy1pV+617WB9J63U6XcazHHF2f2dbJix4XzpUF0RS3Zbj0FGIOCAva5P/d/GBOYaACQ1w+0azUkg==" 3209 | }, 3210 | "unpipe": { 3211 | "version": "1.0.0", 3212 | "resolved": "https://registry.npmjs.org/unpipe/-/unpipe-1.0.0.tgz", 3213 | "integrity": "sha1-sr9O6FFKrmFltIF4KdIbLvSZBOw=" 3214 | }, 3215 | "unzip-response": { 3216 | "version": "2.0.1", 3217 | "resolved": "https://registry.npmjs.org/unzip-response/-/unzip-response-2.0.1.tgz", 3218 | "integrity": "sha1-0vD3N9FrBhXnKmk17QQhRXLVb5c=" 3219 | }, 3220 | "update-notifier": { 3221 | "version": "2.5.0", 3222 | "resolved": "https://registry.npmjs.org/update-notifier/-/update-notifier-2.5.0.tgz", 3223 | "integrity": "sha512-gwMdhgJHGuj/+wHJJs9e6PcCszpxR1b236igrOkUofGhqJuG+amlIKwApH1IW1WWl7ovZxsX49lMBWLxSdm5Dw==", 3224 | "requires": { 3225 | "boxen": "^1.2.1", 3226 | "chalk": "^2.0.1", 3227 | "configstore": "^3.0.0", 3228 | "import-lazy": "^2.1.0", 3229 | "is-ci": "^1.0.10", 3230 | "is-installed-globally": "^0.1.0", 3231 | "is-npm": "^1.0.0", 3232 | "latest-version": "^3.0.0", 3233 | "semver-diff": "^2.0.0", 3234 | "xdg-basedir": "^3.0.0" 3235 | } 3236 | }, 3237 | "uri-js": { 3238 | "version": "4.2.2", 3239 | "resolved": "https://registry.npmjs.org/uri-js/-/uri-js-4.2.2.tgz", 3240 | "integrity": "sha512-KY9Frmirql91X2Qgjry0Wd4Y+YTdrdZheS8TFwvkbLWf/G5KNJDCh6pKL5OZctEW4+0Baa5idK2ZQuELRwPznQ==", 3241 | "requires": { 3242 | "punycode": "^2.1.0" 3243 | }, 3244 | "dependencies": { 3245 | "punycode": { 3246 | "version": "2.1.1", 3247 | "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.1.1.tgz", 3248 | "integrity": "sha512-XRsRjdf+j5ml+y/6GKHPZbrF/8p2Yga0JPtdqTIY2Xe5ohJPD9saDJJLPvp9+NSBprVvevdXZybnj2cv8OEd0A==" 3249 | } 3250 | } 3251 | }, 3252 | "url": { 3253 | "version": "0.11.0", 3254 | "resolved": "https://registry.npmjs.org/url/-/url-0.11.0.tgz", 3255 | "integrity": "sha1-ODjpfPxgUh63PFJajlW/3Z4uKPE=", 3256 | "requires": { 3257 | "punycode": "1.3.2", 3258 | "querystring": "0.2.0" 3259 | } 3260 | }, 3261 | "url-parse-lax": { 3262 | "version": "1.0.0", 3263 | "resolved": "https://registry.npmjs.org/url-parse-lax/-/url-parse-lax-1.0.0.tgz", 3264 | "integrity": "sha1-evjzA2Rem9eaJy56FKxovAYJ2nM=", 3265 | "requires": { 3266 | "prepend-http": "^1.0.1" 3267 | } 3268 | }, 3269 | "util": { 3270 | "version": "0.10.4", 3271 | "resolved": "https://registry.npmjs.org/util/-/util-0.10.4.tgz", 3272 | "integrity": "sha512-0Pm9hTQ3se5ll1XihRic3FDIku70C+iHUdT/W926rSgHV5QgXsYbKZN8MSC3tJtSkhuROzvsQjAaFENRXr+19A==", 3273 | "requires": { 3274 | "inherits": "2.0.3" 3275 | } 3276 | }, 3277 | "util-deprecate": { 3278 | "version": "1.0.2", 3279 | "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz", 3280 | "integrity": "sha1-RQ1Nyfpw3nMnYvvS1KKJgUGaDM8=" 3281 | }, 3282 | "utils-merge": { 3283 | "version": "1.0.1", 3284 | "resolved": "https://registry.npmjs.org/utils-merge/-/utils-merge-1.0.1.tgz", 3285 | "integrity": "sha1-n5VxD1CiZ5R7LMwSR0HBAoQn5xM=" 3286 | }, 3287 | "uuid": { 3288 | "version": "3.4.0", 3289 | "resolved": "https://registry.npmjs.org/uuid/-/uuid-3.4.0.tgz", 3290 | "integrity": "sha512-HjSDRw6gZE5JMggctHBcjVak08+KEVhSIiDzFnT9S9aegmp85S/bReBVTb4QTFaRNptJ9kuYaNhnbNEOkbKb/A==" 3291 | }, 3292 | "v8-compile-cache": { 3293 | "version": "2.1.0", 3294 | "resolved": "https://registry.npmjs.org/v8-compile-cache/-/v8-compile-cache-2.1.0.tgz", 3295 | "integrity": "sha512-usZBT3PW+LOjM25wbqIlZwPeJV+3OSz3M1k1Ws8snlW39dZyYL9lOGC5FgPVHfk0jKmjiDV8Z0mIbVQPiwFs7g==", 3296 | "dev": true 3297 | }, 3298 | "vary": { 3299 | "version": "1.1.2", 3300 | "resolved": "https://registry.npmjs.org/vary/-/vary-1.1.2.tgz", 3301 | "integrity": "sha1-IpnwLG3tMNSllhsLn3RSShj2NPw=" 3302 | }, 3303 | "verror": { 3304 | "version": "1.10.0", 3305 | "resolved": "https://registry.npmjs.org/verror/-/verror-1.10.0.tgz", 3306 | "integrity": "sha1-OhBcoXBTr1XW4nDB+CiGguGNpAA=", 3307 | "requires": { 3308 | "assert-plus": "^1.0.0", 3309 | "core-util-is": "1.0.2", 3310 | "extsprintf": "^1.2.0" 3311 | } 3312 | }, 3313 | "which": { 3314 | "version": "1.3.1", 3315 | "resolved": "https://registry.npmjs.org/which/-/which-1.3.1.tgz", 3316 | "integrity": "sha512-HxJdYWq1MTIQbJ3nw0cqssHoTNU267KlrDuGZ1WYlxDStUtKUhOaJmh112/TZmHxxUfuJqPXSOm7tDyas0OSIQ==", 3317 | "requires": { 3318 | "isexe": "^2.0.0" 3319 | } 3320 | }, 3321 | "widest-line": { 3322 | "version": "2.0.1", 3323 | "resolved": "https://registry.npmjs.org/widest-line/-/widest-line-2.0.1.tgz", 3324 | "integrity": "sha512-Ba5m9/Fa4Xt9eb2ELXt77JxVDV8w7qQrH0zS/TWSJdLyAwQjWoOzpzj5lwVftDz6n/EOu3tNACS84v509qwnJA==", 3325 | "requires": { 3326 | "string-width": "^2.1.1" 3327 | }, 3328 | "dependencies": { 3329 | "ansi-regex": { 3330 | "version": "3.0.0", 3331 | "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-3.0.0.tgz", 3332 | "integrity": "sha1-7QMXwyIGT3lGbAKWa922Bas32Zg=" 3333 | }, 3334 | "is-fullwidth-code-point": { 3335 | "version": "2.0.0", 3336 | "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-2.0.0.tgz", 3337 | "integrity": "sha1-o7MKXE8ZkYMWeqq5O+764937ZU8=" 3338 | }, 3339 | "string-width": { 3340 | "version": "2.1.1", 3341 | "resolved": "https://registry.npmjs.org/string-width/-/string-width-2.1.1.tgz", 3342 | "integrity": "sha512-nOqH59deCq9SRHlxq1Aw85Jnt4w6KvLKqWVik6oA9ZklXLNIOlqg4F2yrT1MVaTjAqvVwdfeZ7w7aCvJD7ugkw==", 3343 | "requires": { 3344 | "is-fullwidth-code-point": "^2.0.0", 3345 | "strip-ansi": "^4.0.0" 3346 | } 3347 | }, 3348 | "strip-ansi": { 3349 | "version": "4.0.0", 3350 | "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-4.0.0.tgz", 3351 | "integrity": "sha1-qEeQIusaw2iocTibY1JixQXuNo8=", 3352 | "requires": { 3353 | "ansi-regex": "^3.0.0" 3354 | } 3355 | } 3356 | } 3357 | }, 3358 | "window-size": { 3359 | "version": "0.1.4", 3360 | "resolved": "https://registry.npmjs.org/window-size/-/window-size-0.1.4.tgz", 3361 | "integrity": "sha1-+OGqHuWlPsW/FR/6CXQqatdpeHY=" 3362 | }, 3363 | "winston": { 3364 | "version": "2.4.4", 3365 | "resolved": "https://registry.npmjs.org/winston/-/winston-2.4.4.tgz", 3366 | "integrity": "sha512-NBo2Pepn4hK4V01UfcWcDlmiVTs7VTB1h7bgnB0rgP146bYhMxX0ypCz3lBOfNxCO4Zuek7yeT+y/zM1OfMw4Q==", 3367 | "requires": { 3368 | "async": "~1.0.0", 3369 | "colors": "1.0.x", 3370 | "cycle": "1.0.x", 3371 | "eyes": "0.1.x", 3372 | "isstream": "0.1.x", 3373 | "stack-trace": "0.0.x" 3374 | }, 3375 | "dependencies": { 3376 | "async": { 3377 | "version": "1.0.0", 3378 | "resolved": "https://registry.npmjs.org/async/-/async-1.0.0.tgz", 3379 | "integrity": "sha1-+PwEyjoTeErenhZBr5hXjPvWR6k=" 3380 | } 3381 | } 3382 | }, 3383 | "word-wrap": { 3384 | "version": "1.2.3", 3385 | "resolved": "https://registry.npmjs.org/word-wrap/-/word-wrap-1.2.3.tgz", 3386 | "integrity": "sha512-Hz/mrNwitNRh/HUAtM/VT/5VH+ygD6DV7mYKZAtHOrbs8U7lvPS6xf7EJKMF0uW1KJCl0H701g3ZGus+muE5vQ==", 3387 | "dev": true 3388 | }, 3389 | "wrap-ansi": { 3390 | "version": "2.1.0", 3391 | "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-2.1.0.tgz", 3392 | "integrity": "sha1-2Pw9KE3QV5T+hJc8rs3Rz4JP3YU=", 3393 | "requires": { 3394 | "string-width": "^1.0.1", 3395 | "strip-ansi": "^3.0.1" 3396 | } 3397 | }, 3398 | "wrappy": { 3399 | "version": "1.0.2", 3400 | "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", 3401 | "integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8=" 3402 | }, 3403 | "write": { 3404 | "version": "1.0.3", 3405 | "resolved": "https://registry.npmjs.org/write/-/write-1.0.3.tgz", 3406 | "integrity": "sha512-/lg70HAjtkUgWPVZhZcm+T4hkL8Zbtp1nFNOn3lRrxnlv50SRBv7cR7RqR+GMsd3hUXy9hWBo4CHTbFTcOYwig==", 3407 | "dev": true, 3408 | "requires": { 3409 | "mkdirp": "^0.5.1" 3410 | } 3411 | }, 3412 | "write-file-atomic": { 3413 | "version": "2.4.3", 3414 | "resolved": "https://registry.npmjs.org/write-file-atomic/-/write-file-atomic-2.4.3.tgz", 3415 | "integrity": "sha512-GaETH5wwsX+GcnzhPgKcKjJ6M2Cq3/iZp1WyY/X1CSqrW+jVNM9Y7D8EC2sM4ZG/V8wZlSniJnCKWPmBYAucRQ==", 3416 | "requires": { 3417 | "graceful-fs": "^4.1.11", 3418 | "imurmurhash": "^0.1.4", 3419 | "signal-exit": "^3.0.2" 3420 | } 3421 | }, 3422 | "xdg-basedir": { 3423 | "version": "3.0.0", 3424 | "resolved": "https://registry.npmjs.org/xdg-basedir/-/xdg-basedir-3.0.0.tgz", 3425 | "integrity": "sha1-SWsswQnsqNus/i3HK2A8F8WHCtQ=" 3426 | }, 3427 | "xtend": { 3428 | "version": "4.0.2", 3429 | "resolved": "https://registry.npmjs.org/xtend/-/xtend-4.0.2.tgz", 3430 | "integrity": "sha512-LKYU1iAXJXUgAXn9URjiu+MWhyUXHsvfp7mcuYm9dSUKK0/CjtrUwFAxD82/mCWbtLsGjFIad0wIsod4zrTAEQ==" 3431 | }, 3432 | "y18n": { 3433 | "version": "3.2.1", 3434 | "resolved": "https://registry.npmjs.org/y18n/-/y18n-3.2.1.tgz", 3435 | "integrity": "sha1-bRX7qITAhnnA136I53WegR4H+kE=" 3436 | }, 3437 | "yallist": { 3438 | "version": "2.1.2", 3439 | "resolved": "https://registry.npmjs.org/yallist/-/yallist-2.1.2.tgz", 3440 | "integrity": "sha1-HBH5IY8HYImkfdUS+TxmmaaoHVI=" 3441 | }, 3442 | "yargs": { 3443 | "version": "3.32.0", 3444 | "resolved": "https://registry.npmjs.org/yargs/-/yargs-3.32.0.tgz", 3445 | "integrity": "sha1-AwiOnr+edWtpdRYR0qXvWRSCyZU=", 3446 | "requires": { 3447 | "camelcase": "^2.0.1", 3448 | "cliui": "^3.0.3", 3449 | "decamelize": "^1.1.1", 3450 | "os-locale": "^1.4.0", 3451 | "string-width": "^1.0.1", 3452 | "window-size": "^0.1.4", 3453 | "y18n": "^3.2.0" 3454 | } 3455 | } 3456 | } 3457 | } 3458 | -------------------------------------------------------------------------------- /application/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "application", 3 | "version": "1.0.0", 4 | "description": "", 5 | "main": "index.js", 6 | "scripts": { 7 | "start": "./node_modules/nodemon/bin/nodemon.js src/app.js", 8 | "test": "echo \"Error: no test specified\" && exit 1", 9 | "lint": "eslint --ignore-path ../.eslintignore ." 10 | }, 11 | "dependencies": { 12 | "body-parser": "^1.19.0", 13 | "cors": "^2.8.5", 14 | "express": "^4.17.1", 15 | "fabric-ca-client": "^1.4.5", 16 | "fabric-network": "^1.4.5", 17 | "morgan": "^1.9.1", 18 | "nodemon": "^2.0.2" 19 | }, 20 | "devDependencies": { 21 | "eslint": "^6.8.0" 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /contract/.vscode/settings.json: -------------------------------------------------------------------------------- 1 | { 2 | "git.ignoreLimitWarning": true 3 | } -------------------------------------------------------------------------------- /contract/index.js: -------------------------------------------------------------------------------- 1 | /* 2 | * SPDX-License-Identifier: Apache-2.0 3 | */ 4 | 5 | 'use strict'; 6 | 7 | const MyContract = require('./lib/my-contract'); 8 | 9 | module.exports.MyContract = MyContract; 10 | module.exports.contracts = [ MyContract ]; 11 | -------------------------------------------------------------------------------- /contract/lib/my-contract.js: -------------------------------------------------------------------------------- 1 | /* 2 | * SPDX-License-Identifier: Apache-2.0 3 | */ 4 | 5 | 'use strict'; 6 | 7 | const { Contract } = require('fabric-contract-api'); 8 | 9 | 10 | //Standard class to instantiate for creating a smart contract 11 | class MyContract extends Contract { 12 | 13 | 14 | async instantiate(ctx) { 15 | console.info('instantiate'); 16 | 17 | // Define participant 18 | let emptyList = []; 19 | await ctx.stub.putState('traders', Buffer.from(JSON.stringify(emptyList))); 20 | } 21 | 22 | 23 | // define participant function 24 | async AddTrader(ctx, traderId, firstName, lastName) { 25 | 26 | let trader = { 27 | traderId: traderId, 28 | firstName: firstName, 29 | lastName: lastName 30 | }; 31 | 32 | 33 | await ctx.stub.putState(traderId, Buffer.from(JSON.stringify(trader))); 34 | 35 | //add traderId to 'trader' key 36 | const data = await ctx.stub.getState('traders'); 37 | let traders = JSON.parse(data.toString()); 38 | traders.push(traderId); 39 | await ctx.stub.putState('traders', Buffer.from(JSON.stringify(traders))); 40 | 41 | return JSON.stringify(trader); 42 | } 43 | 44 | // define creating the asset function 45 | async AddCommodity(ctx, tradingSymbol, description, traderId) { 46 | 47 | // verify trader id exists and retrieve it 48 | let traderData = await ctx.stub.getState(traderId); 49 | let trader; 50 | if (traderData) { 51 | trader = JSON.parse(traderData.toString()); 52 | if (trader.traderId !== traderId) { 53 | throw new Error('trader not identified'); 54 | } 55 | } else { 56 | throw new Error('trader not found'); 57 | } 58 | 59 | let commodity = { 60 | tradingSymbol: tradingSymbol, 61 | description: description, 62 | traderId: traderId 63 | }; 64 | 65 | 66 | await ctx.stub.putState(tradingSymbol, Buffer.from(JSON.stringify(commodity))); 67 | 68 | 69 | return JSON.stringify(commodity); 70 | } 71 | 72 | 73 | 74 | 75 | // Define performing a trade where a new owner of the asset is assigned 76 | async commodityTrade(ctx, tradingSymbol, traderId) { 77 | 78 | // verify id 79 | let traderData = await ctx.stub.getState(traderId); 80 | if (!traderData) //{ 81 | {throw new Error('trader not found');} 82 | 83 | //update owner of Trade/Commodity 84 | const commodityData = await ctx.stub.getState(tradingSymbol); 85 | let commodity; 86 | if (commodityData) { 87 | commodity = JSON.parse(commodityData.toString()); 88 | commodity.traderId = traderId; 89 | } 90 | else { 91 | throw new Error('commodity not found'); 92 | } 93 | 94 | await ctx.stub.putState(tradingSymbol, Buffer.from(JSON.stringify(commodity))); 95 | 96 | return JSON.stringify(commodity); 97 | 98 | } 99 | 100 | // get the state from key 101 | async GetState(ctx, key) { 102 | 103 | const data = await ctx.stub.getState(key); 104 | let jsonData = JSON.parse(data.toString()); 105 | return JSON.stringify(jsonData); 106 | 107 | } 108 | 109 | } 110 | 111 | module.exports = MyContract; 112 | -------------------------------------------------------------------------------- /contract/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "blockchain-network", 3 | "version": "0.0.1", 4 | "description": "Build a Blockchain Network", 5 | "main": "index.js", 6 | "engines": { 7 | "node": ">=8", 8 | "npm": ">=5" 9 | }, 10 | "scripts": { 11 | "start": "fabric-chaincode-node start", 12 | "lint": "eslint --ignore-path ../.eslintignore ." 13 | }, 14 | "engineStrict": true, 15 | "author": "Laura Bennett", 16 | "license": "Apache-2.0", 17 | "dependencies": { 18 | "fabric-contract-api": "^1.4.4", 19 | "fabric-shim": "^1.4.4" 20 | }, 21 | "devDependencies": { 22 | "eslint": "^6.8.0" 23 | } 24 | } 25 | --------------------------------------------------------------------------------