├── README.md ├── action.yml ├── dist ├── index.js └── licenses.txt ├── img └── flat-graph.png ├── index.js ├── package-lock.json └── package.json /README.md: -------------------------------------------------------------------------------- 1 |

2 | 3 |

4 | 5 |

6 | 7 |

8 | 9 | # Flat Graph GitHub Action 10 | 11 | Flat Graph is a GitHub action designed to be a companion to the [Flat Data GitHub action](https://octo.github.com/projects/flat-data) for regularly scraping data from a URL and enables import into a Neo4j graph database using on Cypher. 12 | 13 | ## Why would I want to use this? 14 | 15 | To periodically import data into Neo4j from a JSON file. 16 | 17 | ## Examples 18 | 19 | Coming soon 20 | 21 | ## Usage 22 | 23 | Create a GitHub Actions workflow yml file, `.github/workflows/flat.yml`. This example will use the Flat Data GitHub action to fetch the latest submissions to the Lobste.rs site every 60 minutes, then using the Flat Graph GitHub action import this data into Neo4j. Be sure to use GitHub secrets to avoid exposing credentials. 24 | 25 | ```yaml 26 | name: Flat Graph for Neo4j 27 | 28 | on: 29 | push: 30 | paths: 31 | - .github/workflows/flat.yml 32 | workflow_dispatch: 33 | schedule: 34 | - cron: '*/60 * * * *' 35 | 36 | jobs: 37 | scheduled: 38 | runs-on: ubuntu-latest 39 | steps: 40 | - name: Check out repo 41 | uses: actions/checkout@v2 42 | - name: Setup deno 43 | uses: denoland/setup-deno@main 44 | with: 45 | deno-version: v1.x 46 | - name: Fetch newest 47 | uses: githubocto/flat@v2 48 | with: 49 | http_url: https://lobste.rs/newest.json 50 | downloaded_filename: newest.json 51 | - name: Neo4j import 52 | uses: johnymontana/flat-graph@v1.1 53 | with: 54 | neo4j-user: ${{secrets.NEO4J_USER}} 55 | neo4j-password: ${{secrets.NEO4J_PASSWORD}} 56 | neo4j-uri: ${{secrets.NEO4J_URI}} 57 | filename: 'newest.json' 58 | cypher-query: > 59 | UNWIND $value AS article 60 | MERGE (u:User {username: article.submitter_user.username}) 61 | MERGE (a:Article {id: article.short_id}) 62 | SET a.url = article.url, 63 | a.id_url = article.short_id_url, 64 | a.created_at = article.created_at, 65 | a.title = article.title, 66 | a.score = article.score, 67 | a.flags = article.flags, 68 | a.comment_count = article.comment_count, 69 | a.description = article.description, 70 | a.comments_url = article.comments_url 71 | MERGE (u)-[:SUBMITTED]->(a) 72 | WITH article, a 73 | UNWIND article.tags AS tag 74 | MERGE (t:Tag {name: tag}) 75 | MERGE (a)-[:HAS_TAG]->(t) 76 | ``` 77 | 78 | ## Inputs 79 | 80 | 81 | ### `neo4j-user` 82 | 83 | The username for your Neo4j instance 84 | 85 | ### `neo4j-password` 86 | 87 | The password for your Neo4j user 88 | 89 | ### `neo4j-uri` 90 | 91 | The connection string for your Neo4j instance 92 | 93 | ### `filename` 94 | 95 | The name of the file to be loaded. Currently only JSON is supported. This file will be passed as a parameter to the specified Cypher query. 96 | 97 | ### `cypher-query` 98 | 99 | The Cypher query to run. Your JSON file will be passed in a variable `$value` 100 | 101 | -------------------------------------------------------------------------------- /action.yml: -------------------------------------------------------------------------------- 1 | name: "Flat Graph" 2 | description: "Load data into Neo4j using Cypher. Designed to work with the Flat Data GitHub action" 3 | inputs: 4 | neo4j-user: 5 | description: "Username for Neo4j" 6 | required: true 7 | default: "neo4j" 8 | neo4j-password: 9 | description: "Password for Neo4j" 10 | required: true 11 | default: "letmein" 12 | neo4j-uri: 13 | description: "Connection string for Neo4j" 14 | required: true 15 | default: "bolt://localhost:7687" 16 | filename: 17 | description: "The name of the flat file to load" 18 | required: true 19 | default: data.json 20 | cypher-query: 21 | description: "The Cypher query to run. Your JSON file will be passed in a variable $value" 22 | required: true 23 | outputs: 24 | records: 25 | description: "The number of records" 26 | runs: 27 | using: "node12" 28 | main: "dist/index.js" 29 | author: "William Lyon" 30 | branding: 31 | icon: "database" 32 | color: "blue" 33 | -------------------------------------------------------------------------------- /dist/licenses.txt: -------------------------------------------------------------------------------- 1 | @actions/core 2 | MIT 3 | The MIT License (MIT) 4 | 5 | Copyright 2019 GitHub 6 | 7 | Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: 8 | 9 | The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. 10 | 11 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 12 | 13 | @actions/github 14 | MIT 15 | The MIT License (MIT) 16 | 17 | Copyright 2019 GitHub 18 | 19 | Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: 20 | 21 | The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. 22 | 23 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 24 | 25 | @actions/http-client 26 | MIT 27 | Actions Http Client for Node.js 28 | 29 | Copyright (c) GitHub, Inc. 30 | 31 | All rights reserved. 32 | 33 | MIT License 34 | 35 | Permission is hereby granted, free of charge, to any person obtaining a copy of this software and 36 | associated documentation files (the "Software"), to deal in the Software without restriction, 37 | including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, 38 | and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, 39 | subject to the following conditions: 40 | 41 | The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. 42 | 43 | THE SOFTWARE IS PROVIDED *AS IS*, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT 44 | LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN 45 | NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, 46 | WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE 47 | SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 48 | 49 | 50 | @babel/runtime 51 | MIT 52 | MIT License 53 | 54 | Copyright (c) 2014-present Sebastian McKenzie and other contributors 55 | 56 | Permission is hereby granted, free of charge, to any person obtaining 57 | a copy of this software and associated documentation files (the 58 | "Software"), to deal in the Software without restriction, including 59 | without limitation the rights to use, copy, modify, merge, publish, 60 | distribute, sublicense, and/or sell copies of the Software, and to 61 | permit persons to whom the Software is furnished to do so, subject to 62 | the following conditions: 63 | 64 | The above copyright notice and this permission notice shall be 65 | included in all copies or substantial portions of the Software. 66 | 67 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 68 | EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 69 | MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 70 | NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE 71 | LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION 72 | OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION 73 | WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 74 | 75 | 76 | @octokit/auth-token 77 | MIT 78 | The MIT License 79 | 80 | Copyright (c) 2019 Octokit contributors 81 | 82 | Permission is hereby granted, free of charge, to any person obtaining a copy 83 | of this software and associated documentation files (the "Software"), to deal 84 | in the Software without restriction, including without limitation the rights 85 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 86 | copies of the Software, and to permit persons to whom the Software is 87 | furnished to do so, subject to the following conditions: 88 | 89 | The above copyright notice and this permission notice shall be included in 90 | all copies or substantial portions of the Software. 91 | 92 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 93 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 94 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 95 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 96 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 97 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 98 | THE SOFTWARE. 99 | 100 | 101 | @octokit/core 102 | MIT 103 | The MIT License 104 | 105 | Copyright (c) 2019 Octokit contributors 106 | 107 | Permission is hereby granted, free of charge, to any person obtaining a copy 108 | of this software and associated documentation files (the "Software"), to deal 109 | in the Software without restriction, including without limitation the rights 110 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 111 | copies of the Software, and to permit persons to whom the Software is 112 | furnished to do so, subject to the following conditions: 113 | 114 | The above copyright notice and this permission notice shall be included in 115 | all copies or substantial portions of the Software. 116 | 117 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 118 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 119 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 120 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 121 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 122 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 123 | THE SOFTWARE. 124 | 125 | 126 | @octokit/endpoint 127 | MIT 128 | The MIT License 129 | 130 | Copyright (c) 2018 Octokit contributors 131 | 132 | Permission is hereby granted, free of charge, to any person obtaining a copy 133 | of this software and associated documentation files (the "Software"), to deal 134 | in the Software without restriction, including without limitation the rights 135 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 136 | copies of the Software, and to permit persons to whom the Software is 137 | furnished to do so, subject to the following conditions: 138 | 139 | The above copyright notice and this permission notice shall be included in 140 | all copies or substantial portions of the Software. 141 | 142 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 143 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 144 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 145 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 146 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 147 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 148 | THE SOFTWARE. 149 | 150 | 151 | @octokit/graphql 152 | MIT 153 | The MIT License 154 | 155 | Copyright (c) 2018 Octokit contributors 156 | 157 | Permission is hereby granted, free of charge, to any person obtaining a copy 158 | of this software and associated documentation files (the "Software"), to deal 159 | in the Software without restriction, including without limitation the rights 160 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 161 | copies of the Software, and to permit persons to whom the Software is 162 | furnished to do so, subject to the following conditions: 163 | 164 | The above copyright notice and this permission notice shall be included in 165 | all copies or substantial portions of the Software. 166 | 167 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 168 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 169 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 170 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 171 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 172 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 173 | THE SOFTWARE. 174 | 175 | 176 | @octokit/plugin-paginate-rest 177 | MIT 178 | MIT License Copyright (c) 2019 Octokit contributors 179 | 180 | Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: 181 | 182 | The above copyright notice and this permission notice (including the next paragraph) shall be included in all copies or substantial portions of the Software. 183 | 184 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 185 | 186 | 187 | @octokit/plugin-rest-endpoint-methods 188 | MIT 189 | MIT License Copyright (c) 2019 Octokit contributors 190 | 191 | Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: 192 | 193 | The above copyright notice and this permission notice (including the next paragraph) shall be included in all copies or substantial portions of the Software. 194 | 195 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 196 | 197 | 198 | @octokit/request 199 | MIT 200 | The MIT License 201 | 202 | Copyright (c) 2018 Octokit contributors 203 | 204 | Permission is hereby granted, free of charge, to any person obtaining a copy 205 | of this software and associated documentation files (the "Software"), to deal 206 | in the Software without restriction, including without limitation the rights 207 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 208 | copies of the Software, and to permit persons to whom the Software is 209 | furnished to do so, subject to the following conditions: 210 | 211 | The above copyright notice and this permission notice shall be included in 212 | all copies or substantial portions of the Software. 213 | 214 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 215 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 216 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 217 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 218 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 219 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 220 | THE SOFTWARE. 221 | 222 | 223 | @octokit/request-error 224 | MIT 225 | The MIT License 226 | 227 | Copyright (c) 2019 Octokit contributors 228 | 229 | Permission is hereby granted, free of charge, to any person obtaining a copy 230 | of this software and associated documentation files (the "Software"), to deal 231 | in the Software without restriction, including without limitation the rights 232 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 233 | copies of the Software, and to permit persons to whom the Software is 234 | furnished to do so, subject to the following conditions: 235 | 236 | The above copyright notice and this permission notice shall be included in 237 | all copies or substantial portions of the Software. 238 | 239 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 240 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 241 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 242 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 243 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 244 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 245 | THE SOFTWARE. 246 | 247 | 248 | @vercel/ncc 249 | MIT 250 | Copyright 2018 ZEIT, Inc. 251 | 252 | Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: 253 | 254 | The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. 255 | 256 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 257 | 258 | before-after-hook 259 | Apache-2.0 260 | Apache License 261 | Version 2.0, January 2004 262 | http://www.apache.org/licenses/ 263 | 264 | TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION 265 | 266 | 1. Definitions. 267 | 268 | "License" shall mean the terms and conditions for use, reproduction, 269 | and distribution as defined by Sections 1 through 9 of this document. 270 | 271 | "Licensor" shall mean the copyright owner or entity authorized by 272 | the copyright owner that is granting the License. 273 | 274 | "Legal Entity" shall mean the union of the acting entity and all 275 | other entities that control, are controlled by, or are under common 276 | control with that entity. For the purposes of this definition, 277 | "control" means (i) the power, direct or indirect, to cause the 278 | direction or management of such entity, whether by contract or 279 | otherwise, or (ii) ownership of fifty percent (50%) or more of the 280 | outstanding shares, or (iii) beneficial ownership of such entity. 281 | 282 | "You" (or "Your") shall mean an individual or Legal Entity 283 | exercising permissions granted by this License. 284 | 285 | "Source" form shall mean the preferred form for making modifications, 286 | including but not limited to software source code, documentation 287 | source, and configuration files. 288 | 289 | "Object" form shall mean any form resulting from mechanical 290 | transformation or translation of a Source form, including but 291 | not limited to compiled object code, generated documentation, 292 | and conversions to other media types. 293 | 294 | "Work" shall mean the work of authorship, whether in Source or 295 | Object form, made available under the License, as indicated by a 296 | copyright notice that is included in or attached to the work 297 | (an example is provided in the Appendix below). 298 | 299 | "Derivative Works" shall mean any work, whether in Source or Object 300 | form, that is based on (or derived from) the Work and for which the 301 | editorial revisions, annotations, elaborations, or other modifications 302 | represent, as a whole, an original work of authorship. For the purposes 303 | of this License, Derivative Works shall not include works that remain 304 | separable from, or merely link (or bind by name) to the interfaces of, 305 | the Work and Derivative Works thereof. 306 | 307 | "Contribution" shall mean any work of authorship, including 308 | the original version of the Work and any modifications or additions 309 | to that Work or Derivative Works thereof, that is intentionally 310 | submitted to Licensor for inclusion in the Work by the copyright owner 311 | or by an individual or Legal Entity authorized to submit on behalf of 312 | the copyright owner. For the purposes of this definition, "submitted" 313 | means any form of electronic, verbal, or written communication sent 314 | to the Licensor or its representatives, including but not limited to 315 | communication on electronic mailing lists, source code control systems, 316 | and issue tracking systems that are managed by, or on behalf of, the 317 | Licensor for the purpose of discussing and improving the Work, but 318 | excluding communication that is conspicuously marked or otherwise 319 | designated in writing by the copyright owner as "Not a Contribution." 320 | 321 | "Contributor" shall mean Licensor and any individual or Legal Entity 322 | on behalf of whom a Contribution has been received by Licensor and 323 | subsequently incorporated within the Work. 324 | 325 | 2. Grant of Copyright License. Subject to the terms and conditions of 326 | this License, each Contributor hereby grants to You a perpetual, 327 | worldwide, non-exclusive, no-charge, royalty-free, irrevocable 328 | copyright license to reproduce, prepare Derivative Works of, 329 | publicly display, publicly perform, sublicense, and distribute the 330 | Work and such Derivative Works in Source or Object form. 331 | 332 | 3. Grant of Patent License. Subject to the terms and conditions of 333 | this License, each Contributor hereby grants to You a perpetual, 334 | worldwide, non-exclusive, no-charge, royalty-free, irrevocable 335 | (except as stated in this section) patent license to make, have made, 336 | use, offer to sell, sell, import, and otherwise transfer the Work, 337 | where such license applies only to those patent claims licensable 338 | by such Contributor that are necessarily infringed by their 339 | Contribution(s) alone or by combination of their Contribution(s) 340 | with the Work to which such Contribution(s) was submitted. If You 341 | institute patent litigation against any entity (including a 342 | cross-claim or counterclaim in a lawsuit) alleging that the Work 343 | or a Contribution incorporated within the Work constitutes direct 344 | or contributory patent infringement, then any patent licenses 345 | granted to You under this License for that Work shall terminate 346 | as of the date such litigation is filed. 347 | 348 | 4. Redistribution. You may reproduce and distribute copies of the 349 | Work or Derivative Works thereof in any medium, with or without 350 | modifications, and in Source or Object form, provided that You 351 | meet the following conditions: 352 | 353 | (a) You must give any other recipients of the Work or 354 | Derivative Works a copy of this License; and 355 | 356 | (b) You must cause any modified files to carry prominent notices 357 | stating that You changed the files; and 358 | 359 | (c) You must retain, in the Source form of any Derivative Works 360 | that You distribute, all copyright, patent, trademark, and 361 | attribution notices from the Source form of the Work, 362 | excluding those notices that do not pertain to any part of 363 | the Derivative Works; and 364 | 365 | (d) If the Work includes a "NOTICE" text file as part of its 366 | distribution, then any Derivative Works that You distribute must 367 | include a readable copy of the attribution notices contained 368 | within such NOTICE file, excluding those notices that do not 369 | pertain to any part of the Derivative Works, in at least one 370 | of the following places: within a NOTICE text file distributed 371 | as part of the Derivative Works; within the Source form or 372 | documentation, if provided along with the Derivative Works; or, 373 | within a display generated by the Derivative Works, if and 374 | wherever such third-party notices normally appear. The contents 375 | of the NOTICE file are for informational purposes only and 376 | do not modify the License. You may add Your own attribution 377 | notices within Derivative Works that You distribute, alongside 378 | or as an addendum to the NOTICE text from the Work, provided 379 | that such additional attribution notices cannot be construed 380 | as modifying the License. 381 | 382 | You may add Your own copyright statement to Your modifications and 383 | may provide additional or different license terms and conditions 384 | for use, reproduction, or distribution of Your modifications, or 385 | for any such Derivative Works as a whole, provided Your use, 386 | reproduction, and distribution of the Work otherwise complies with 387 | the conditions stated in this License. 388 | 389 | 5. Submission of Contributions. Unless You explicitly state otherwise, 390 | any Contribution intentionally submitted for inclusion in the Work 391 | by You to the Licensor shall be under the terms and conditions of 392 | this License, without any additional terms or conditions. 393 | Notwithstanding the above, nothing herein shall supersede or modify 394 | the terms of any separate license agreement you may have executed 395 | with Licensor regarding such Contributions. 396 | 397 | 6. Trademarks. This License does not grant permission to use the trade 398 | names, trademarks, service marks, or product names of the Licensor, 399 | except as required for reasonable and customary use in describing the 400 | origin of the Work and reproducing the content of the NOTICE file. 401 | 402 | 7. Disclaimer of Warranty. Unless required by applicable law or 403 | agreed to in writing, Licensor provides the Work (and each 404 | Contributor provides its Contributions) on an "AS IS" BASIS, 405 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or 406 | implied, including, without limitation, any warranties or conditions 407 | of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A 408 | PARTICULAR PURPOSE. You are solely responsible for determining the 409 | appropriateness of using or redistributing the Work and assume any 410 | risks associated with Your exercise of permissions under this License. 411 | 412 | 8. Limitation of Liability. In no event and under no legal theory, 413 | whether in tort (including negligence), contract, or otherwise, 414 | unless required by applicable law (such as deliberate and grossly 415 | negligent acts) or agreed to in writing, shall any Contributor be 416 | liable to You for damages, including any direct, indirect, special, 417 | incidental, or consequential damages of any character arising as a 418 | result of this License or out of the use or inability to use the 419 | Work (including but not limited to damages for loss of goodwill, 420 | work stoppage, computer failure or malfunction, or any and all 421 | other commercial damages or losses), even if such Contributor 422 | has been advised of the possibility of such damages. 423 | 424 | 9. Accepting Warranty or Additional Liability. While redistributing 425 | the Work or Derivative Works thereof, You may choose to offer, 426 | and charge a fee for, acceptance of support, warranty, indemnity, 427 | or other liability obligations and/or rights consistent with this 428 | License. However, in accepting such obligations, You may act only 429 | on Your own behalf and on Your sole responsibility, not on behalf 430 | of any other Contributor, and only if You agree to indemnify, 431 | defend, and hold each Contributor harmless for any liability 432 | incurred by, or claims asserted against, such Contributor by reason 433 | of your accepting any such warranty or additional liability. 434 | 435 | END OF TERMS AND CONDITIONS 436 | 437 | APPENDIX: How to apply the Apache License to your work. 438 | 439 | To apply the Apache License to your work, attach the following 440 | boilerplate notice, with the fields enclosed by brackets "{}" 441 | replaced with your own identifying information. (Don't include 442 | the brackets!) The text should be enclosed in the appropriate 443 | comment syntax for the file format. We also recommend that a 444 | file or class name and description of purpose be included on the 445 | same "printed page" as the copyright notice for easier 446 | identification within third-party archives. 447 | 448 | Copyright 2018 Gregor Martynus and other contributors. 449 | 450 | Licensed under the Apache License, Version 2.0 (the "License"); 451 | you may not use this file except in compliance with the License. 452 | You may obtain a copy of the License at 453 | 454 | http://www.apache.org/licenses/LICENSE-2.0 455 | 456 | Unless required by applicable law or agreed to in writing, software 457 | distributed under the License is distributed on an "AS IS" BASIS, 458 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 459 | See the License for the specific language governing permissions and 460 | limitations under the License. 461 | 462 | 463 | deprecation 464 | ISC 465 | The ISC License 466 | 467 | Copyright (c) Gregor Martynus and contributors 468 | 469 | Permission to use, copy, modify, and/or distribute this software for any 470 | purpose with or without fee is hereby granted, provided that the above 471 | copyright notice and this permission notice appear in all copies. 472 | 473 | THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES 474 | WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF 475 | MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR 476 | ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES 477 | WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN 478 | ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR 479 | IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 480 | 481 | 482 | is-plain-object 483 | MIT 484 | The MIT License (MIT) 485 | 486 | Copyright (c) 2014-2017, Jon Schlinkert. 487 | 488 | Permission is hereby granted, free of charge, to any person obtaining a copy 489 | of this software and associated documentation files (the "Software"), to deal 490 | in the Software without restriction, including without limitation the rights 491 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 492 | copies of the Software, and to permit persons to whom the Software is 493 | furnished to do so, subject to the following conditions: 494 | 495 | The above copyright notice and this permission notice shall be included in 496 | all copies or substantial portions of the Software. 497 | 498 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 499 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 500 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 501 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 502 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 503 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 504 | THE SOFTWARE. 505 | 506 | 507 | neo4j-driver 508 | Apache-2.0 509 | Apache License 510 | Version 2.0, January 2004 511 | http://www.apache.org/licenses/ 512 | 513 | TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION 514 | 515 | 1. Definitions. 516 | 517 | "License" shall mean the terms and conditions for use, reproduction, 518 | and distribution as defined by Sections 1 through 9 of this document. 519 | 520 | "Licensor" shall mean the copyright owner or entity authorized by 521 | the copyright owner that is granting the License. 522 | 523 | "Legal Entity" shall mean the union of the acting entity and all 524 | other entities that control, are controlled by, or are under common 525 | control with that entity. For the purposes of this definition, 526 | "control" means (i) the power, direct or indirect, to cause the 527 | direction or management of such entity, whether by contract or 528 | otherwise, or (ii) ownership of fifty percent (50%) or more of the 529 | outstanding shares, or (iii) beneficial ownership of such entity. 530 | 531 | "You" (or "Your") shall mean an individual or Legal Entity 532 | exercising permissions granted by this License. 533 | 534 | "Source" form shall mean the preferred form for making modifications, 535 | including but not limited to software source code, documentation 536 | source, and configuration files. 537 | 538 | "Object" form shall mean any form resulting from mechanical 539 | transformation or translation of a Source form, including but 540 | not limited to compiled object code, generated documentation, 541 | and conversions to other media types. 542 | 543 | "Work" shall mean the work of authorship, whether in Source or 544 | Object form, made available under the License, as indicated by a 545 | copyright notice that is included in or attached to the work 546 | (an example is provided in the Appendix below). 547 | 548 | "Derivative Works" shall mean any work, whether in Source or Object 549 | form, that is based on (or derived from) the Work and for which the 550 | editorial revisions, annotations, elaborations, or other modifications 551 | represent, as a whole, an original work of authorship. For the purposes 552 | of this License, Derivative Works shall not include works that remain 553 | separable from, or merely link (or bind by name) to the interfaces of, 554 | the Work and Derivative Works thereof. 555 | 556 | "Contribution" shall mean any work of authorship, including 557 | the original version of the Work and any modifications or additions 558 | to that Work or Derivative Works thereof, that is intentionally 559 | submitted to Licensor for inclusion in the Work by the copyright owner 560 | or by an individual or Legal Entity authorized to submit on behalf of 561 | the copyright owner. For the purposes of this definition, "submitted" 562 | means any form of electronic, verbal, or written communication sent 563 | to the Licensor or its representatives, including but not limited to 564 | communication on electronic mailing lists, source code control systems, 565 | and issue tracking systems that are managed by, or on behalf of, the 566 | Licensor for the purpose of discussing and improving the Work, but 567 | excluding communication that is conspicuously marked or otherwise 568 | designated in writing by the copyright owner as "Not a Contribution." 569 | 570 | "Contributor" shall mean Licensor and any individual or Legal Entity 571 | on behalf of whom a Contribution has been received by Licensor and 572 | subsequently incorporated within the Work. 573 | 574 | 2. Grant of Copyright License. Subject to the terms and conditions of 575 | this License, each Contributor hereby grants to You a perpetual, 576 | worldwide, non-exclusive, no-charge, royalty-free, irrevocable 577 | copyright license to reproduce, prepare Derivative Works of, 578 | publicly display, publicly perform, sublicense, and distribute the 579 | Work and such Derivative Works in Source or Object form. 580 | 581 | 3. Grant of Patent License. Subject to the terms and conditions of 582 | this License, each Contributor hereby grants to You a perpetual, 583 | worldwide, non-exclusive, no-charge, royalty-free, irrevocable 584 | (except as stated in this section) patent license to make, have made, 585 | use, offer to sell, sell, import, and otherwise transfer the Work, 586 | where such license applies only to those patent claims licensable 587 | by such Contributor that are necessarily infringed by their 588 | Contribution(s) alone or by combination of their Contribution(s) 589 | with the Work to which such Contribution(s) was submitted. If You 590 | institute patent litigation against any entity (including a 591 | cross-claim or counterclaim in a lawsuit) alleging that the Work 592 | or a Contribution incorporated within the Work constitutes direct 593 | or contributory patent infringement, then any patent licenses 594 | granted to You under this License for that Work shall terminate 595 | as of the date such litigation is filed. 596 | 597 | 4. Redistribution. You may reproduce and distribute copies of the 598 | Work or Derivative Works thereof in any medium, with or without 599 | modifications, and in Source or Object form, provided that You 600 | meet the following conditions: 601 | 602 | (a) You must give any other recipients of the Work or 603 | Derivative Works a copy of this License; and 604 | 605 | (b) You must cause any modified files to carry prominent notices 606 | stating that You changed the files; and 607 | 608 | (c) You must retain, in the Source form of any Derivative Works 609 | that You distribute, all copyright, patent, trademark, and 610 | attribution notices from the Source form of the Work, 611 | excluding those notices that do not pertain to any part of 612 | the Derivative Works; and 613 | 614 | (d) If the Work includes a "NOTICE" text file as part of its 615 | distribution, then any Derivative Works that You distribute must 616 | include a readable copy of the attribution notices contained 617 | within such NOTICE file, excluding those notices that do not 618 | pertain to any part of the Derivative Works, in at least one 619 | of the following places: within a NOTICE text file distributed 620 | as part of the Derivative Works; within the Source form or 621 | documentation, if provided along with the Derivative Works; or, 622 | within a display generated by the Derivative Works, if and 623 | wherever such third-party notices normally appear. The contents 624 | of the NOTICE file are for informational purposes only and 625 | do not modify the License. You may add Your own attribution 626 | notices within Derivative Works that You distribute, alongside 627 | or as an addendum to the NOTICE text from the Work, provided 628 | that such additional attribution notices cannot be construed 629 | as modifying the License. 630 | 631 | You may add Your own copyright statement to Your modifications and 632 | may provide additional or different license terms and conditions 633 | for use, reproduction, or distribution of Your modifications, or 634 | for any such Derivative Works as a whole, provided Your use, 635 | reproduction, and distribution of the Work otherwise complies with 636 | the conditions stated in this License. 637 | 638 | 5. Submission of Contributions. Unless You explicitly state otherwise, 639 | any Contribution intentionally submitted for inclusion in the Work 640 | by You to the Licensor shall be under the terms and conditions of 641 | this License, without any additional terms or conditions. 642 | Notwithstanding the above, nothing herein shall supersede or modify 643 | the terms of any separate license agreement you may have executed 644 | with Licensor regarding such Contributions. 645 | 646 | 6. Trademarks. This License does not grant permission to use the trade 647 | names, trademarks, service marks, or product names of the Licensor, 648 | except as required for reasonable and customary use in describing the 649 | origin of the Work and reproducing the content of the NOTICE file. 650 | 651 | 7. Disclaimer of Warranty. Unless required by applicable law or 652 | agreed to in writing, Licensor provides the Work (and each 653 | Contributor provides its Contributions) on an "AS IS" BASIS, 654 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or 655 | implied, including, without limitation, any warranties or conditions 656 | of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A 657 | PARTICULAR PURPOSE. You are solely responsible for determining the 658 | appropriateness of using or redistributing the Work and assume any 659 | risks associated with Your exercise of permissions under this License. 660 | 661 | 8. Limitation of Liability. In no event and under no legal theory, 662 | whether in tort (including negligence), contract, or otherwise, 663 | unless required by applicable law (such as deliberate and grossly 664 | negligent acts) or agreed to in writing, shall any Contributor be 665 | liable to You for damages, including any direct, indirect, special, 666 | incidental, or consequential damages of any character arising as a 667 | result of this License or out of the use or inability to use the 668 | Work (including but not limited to damages for loss of goodwill, 669 | work stoppage, computer failure or malfunction, or any and all 670 | other commercial damages or losses), even if such Contributor 671 | has been advised of the possibility of such damages. 672 | 673 | 9. Accepting Warranty or Additional Liability. While redistributing 674 | the Work or Derivative Works thereof, You may choose to offer, 675 | and charge a fee for, acceptance of support, warranty, indemnity, 676 | or other liability obligations and/or rights consistent with this 677 | License. However, in accepting such obligations, You may act only 678 | on Your own behalf and on Your sole responsibility, not on behalf 679 | of any other Contributor, and only if You agree to indemnify, 680 | defend, and hold each Contributor harmless for any liability 681 | incurred by, or claims asserted against, such Contributor by reason 682 | of your accepting any such warranty or additional liability. 683 | 684 | END OF TERMS AND CONDITIONS 685 | 686 | APPENDIX: How to apply the Apache License to your work. 687 | 688 | To apply the Apache License to your work, attach the following 689 | boilerplate notice, with the fields enclosed by brackets "{}" 690 | replaced with your own identifying information. (Don't include 691 | the brackets!) The text should be enclosed in the appropriate 692 | comment syntax for the file format. We also recommend that a 693 | file or class name and description of purpose be included on the 694 | same "printed page" as the copyright notice for easier 695 | identification within third-party archives. 696 | 697 | Copyright {yyyy} {name of copyright owner} 698 | 699 | Licensed under the Apache License, Version 2.0 (the "License"); 700 | you may not use this file except in compliance with the License. 701 | You may obtain a copy of the License at 702 | 703 | http://www.apache.org/licenses/LICENSE-2.0 704 | 705 | Unless required by applicable law or agreed to in writing, software 706 | distributed under the License is distributed on an "AS IS" BASIS, 707 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 708 | See the License for the specific language governing permissions and 709 | limitations under the License. 710 | 711 | 712 | 713 | neo4j-driver-bolt-connection 714 | Apache-2.0 715 | 716 | neo4j-driver-core 717 | Apache-2.0 718 | 719 | node-fetch 720 | MIT 721 | The MIT License (MIT) 722 | 723 | Copyright (c) 2016 David Frank 724 | 725 | Permission is hereby granted, free of charge, to any person obtaining a copy 726 | of this software and associated documentation files (the "Software"), to deal 727 | in the Software without restriction, including without limitation the rights 728 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 729 | copies of the Software, and to permit persons to whom the Software is 730 | furnished to do so, subject to the following conditions: 731 | 732 | The above copyright notice and this permission notice shall be included in all 733 | copies or substantial portions of the Software. 734 | 735 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 736 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 737 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 738 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 739 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 740 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 741 | SOFTWARE. 742 | 743 | 744 | 745 | once 746 | ISC 747 | The ISC License 748 | 749 | Copyright (c) Isaac Z. Schlueter and Contributors 750 | 751 | Permission to use, copy, modify, and/or distribute this software for any 752 | purpose with or without fee is hereby granted, provided that the above 753 | copyright notice and this permission notice appear in all copies. 754 | 755 | THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES 756 | WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF 757 | MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR 758 | ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES 759 | WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN 760 | ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR 761 | IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 762 | 763 | 764 | rxjs 765 | Apache-2.0 766 | Apache License 767 | Version 2.0, January 2004 768 | http://www.apache.org/licenses/ 769 | 770 | TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION 771 | 772 | 1. Definitions. 773 | 774 | "License" shall mean the terms and conditions for use, reproduction, 775 | and distribution as defined by Sections 1 through 9 of this document. 776 | 777 | "Licensor" shall mean the copyright owner or entity authorized by 778 | the copyright owner that is granting the License. 779 | 780 | "Legal Entity" shall mean the union of the acting entity and all 781 | other entities that control, are controlled by, or are under common 782 | control with that entity. For the purposes of this definition, 783 | "control" means (i) the power, direct or indirect, to cause the 784 | direction or management of such entity, whether by contract or 785 | otherwise, or (ii) ownership of fifty percent (50%) or more of the 786 | outstanding shares, or (iii) beneficial ownership of such entity. 787 | 788 | "You" (or "Your") shall mean an individual or Legal Entity 789 | exercising permissions granted by this License. 790 | 791 | "Source" form shall mean the preferred form for making modifications, 792 | including but not limited to software source code, documentation 793 | source, and configuration files. 794 | 795 | "Object" form shall mean any form resulting from mechanical 796 | transformation or translation of a Source form, including but 797 | not limited to compiled object code, generated documentation, 798 | and conversions to other media types. 799 | 800 | "Work" shall mean the work of authorship, whether in Source or 801 | Object form, made available under the License, as indicated by a 802 | copyright notice that is included in or attached to the work 803 | (an example is provided in the Appendix below). 804 | 805 | "Derivative Works" shall mean any work, whether in Source or Object 806 | form, that is based on (or derived from) the Work and for which the 807 | editorial revisions, annotations, elaborations, or other modifications 808 | represent, as a whole, an original work of authorship. For the purposes 809 | of this License, Derivative Works shall not include works that remain 810 | separable from, or merely link (or bind by name) to the interfaces of, 811 | the Work and Derivative Works thereof. 812 | 813 | "Contribution" shall mean any work of authorship, including 814 | the original version of the Work and any modifications or additions 815 | to that Work or Derivative Works thereof, that is intentionally 816 | submitted to Licensor for inclusion in the Work by the copyright owner 817 | or by an individual or Legal Entity authorized to submit on behalf of 818 | the copyright owner. For the purposes of this definition, "submitted" 819 | means any form of electronic, verbal, or written communication sent 820 | to the Licensor or its representatives, including but not limited to 821 | communication on electronic mailing lists, source code control systems, 822 | and issue tracking systems that are managed by, or on behalf of, the 823 | Licensor for the purpose of discussing and improving the Work, but 824 | excluding communication that is conspicuously marked or otherwise 825 | designated in writing by the copyright owner as "Not a Contribution." 826 | 827 | "Contributor" shall mean Licensor and any individual or Legal Entity 828 | on behalf of whom a Contribution has been received by Licensor and 829 | subsequently incorporated within the Work. 830 | 831 | 2. Grant of Copyright License. Subject to the terms and conditions of 832 | this License, each Contributor hereby grants to You a perpetual, 833 | worldwide, non-exclusive, no-charge, royalty-free, irrevocable 834 | copyright license to reproduce, prepare Derivative Works of, 835 | publicly display, publicly perform, sublicense, and distribute the 836 | Work and such Derivative Works in Source or Object form. 837 | 838 | 3. Grant of Patent License. Subject to the terms and conditions of 839 | this License, each Contributor hereby grants to You a perpetual, 840 | worldwide, non-exclusive, no-charge, royalty-free, irrevocable 841 | (except as stated in this section) patent license to make, have made, 842 | use, offer to sell, sell, import, and otherwise transfer the Work, 843 | where such license applies only to those patent claims licensable 844 | by such Contributor that are necessarily infringed by their 845 | Contribution(s) alone or by combination of their Contribution(s) 846 | with the Work to which such Contribution(s) was submitted. If You 847 | institute patent litigation against any entity (including a 848 | cross-claim or counterclaim in a lawsuit) alleging that the Work 849 | or a Contribution incorporated within the Work constitutes direct 850 | or contributory patent infringement, then any patent licenses 851 | granted to You under this License for that Work shall terminate 852 | as of the date such litigation is filed. 853 | 854 | 4. Redistribution. You may reproduce and distribute copies of the 855 | Work or Derivative Works thereof in any medium, with or without 856 | modifications, and in Source or Object form, provided that You 857 | meet the following conditions: 858 | 859 | (a) You must give any other recipients of the Work or 860 | Derivative Works a copy of this License; and 861 | 862 | (b) You must cause any modified files to carry prominent notices 863 | stating that You changed the files; and 864 | 865 | (c) You must retain, in the Source form of any Derivative Works 866 | that You distribute, all copyright, patent, trademark, and 867 | attribution notices from the Source form of the Work, 868 | excluding those notices that do not pertain to any part of 869 | the Derivative Works; and 870 | 871 | (d) If the Work includes a "NOTICE" text file as part of its 872 | distribution, then any Derivative Works that You distribute must 873 | include a readable copy of the attribution notices contained 874 | within such NOTICE file, excluding those notices that do not 875 | pertain to any part of the Derivative Works, in at least one 876 | of the following places: within a NOTICE text file distributed 877 | as part of the Derivative Works; within the Source form or 878 | documentation, if provided along with the Derivative Works; or, 879 | within a display generated by the Derivative Works, if and 880 | wherever such third-party notices normally appear. The contents 881 | of the NOTICE file are for informational purposes only and 882 | do not modify the License. You may add Your own attribution 883 | notices within Derivative Works that You distribute, alongside 884 | or as an addendum to the NOTICE text from the Work, provided 885 | that such additional attribution notices cannot be construed 886 | as modifying the License. 887 | 888 | You may add Your own copyright statement to Your modifications and 889 | may provide additional or different license terms and conditions 890 | for use, reproduction, or distribution of Your modifications, or 891 | for any such Derivative Works as a whole, provided Your use, 892 | reproduction, and distribution of the Work otherwise complies with 893 | the conditions stated in this License. 894 | 895 | 5. Submission of Contributions. Unless You explicitly state otherwise, 896 | any Contribution intentionally submitted for inclusion in the Work 897 | by You to the Licensor shall be under the terms and conditions of 898 | this License, without any additional terms or conditions. 899 | Notwithstanding the above, nothing herein shall supersede or modify 900 | the terms of any separate license agreement you may have executed 901 | with Licensor regarding such Contributions. 902 | 903 | 6. Trademarks. This License does not grant permission to use the trade 904 | names, trademarks, service marks, or product names of the Licensor, 905 | except as required for reasonable and customary use in describing the 906 | origin of the Work and reproducing the content of the NOTICE file. 907 | 908 | 7. Disclaimer of Warranty. Unless required by applicable law or 909 | agreed to in writing, Licensor provides the Work (and each 910 | Contributor provides its Contributions) on an "AS IS" BASIS, 911 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or 912 | implied, including, without limitation, any warranties or conditions 913 | of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A 914 | PARTICULAR PURPOSE. You are solely responsible for determining the 915 | appropriateness of using or redistributing the Work and assume any 916 | risks associated with Your exercise of permissions under this License. 917 | 918 | 8. Limitation of Liability. In no event and under no legal theory, 919 | whether in tort (including negligence), contract, or otherwise, 920 | unless required by applicable law (such as deliberate and grossly 921 | negligent acts) or agreed to in writing, shall any Contributor be 922 | liable to You for damages, including any direct, indirect, special, 923 | incidental, or consequential damages of any character arising as a 924 | result of this License or out of the use or inability to use the 925 | Work (including but not limited to damages for loss of goodwill, 926 | work stoppage, computer failure or malfunction, or any and all 927 | other commercial damages or losses), even if such Contributor 928 | has been advised of the possibility of such damages. 929 | 930 | 9. Accepting Warranty or Additional Liability. While redistributing 931 | the Work or Derivative Works thereof, You may choose to offer, 932 | and charge a fee for, acceptance of support, warranty, indemnity, 933 | or other liability obligations and/or rights consistent with this 934 | License. However, in accepting such obligations, You may act only 935 | on Your own behalf and on Your sole responsibility, not on behalf 936 | of any other Contributor, and only if You agree to indemnify, 937 | defend, and hold each Contributor harmless for any liability 938 | incurred by, or claims asserted against, such Contributor by reason 939 | of your accepting any such warranty or additional liability. 940 | 941 | END OF TERMS AND CONDITIONS 942 | 943 | APPENDIX: How to apply the Apache License to your work. 944 | 945 | To apply the Apache License to your work, attach the following 946 | boilerplate notice, with the fields enclosed by brackets "[]" 947 | replaced with your own identifying information. (Don't include 948 | the brackets!) The text should be enclosed in the appropriate 949 | comment syntax for the file format. We also recommend that a 950 | file or class name and description of purpose be included on the 951 | same "printed page" as the copyright notice for easier 952 | identification within third-party archives. 953 | 954 | Copyright (c) 2015-2018 Google, Inc., Netflix, Inc., Microsoft Corp. and contributors 955 | 956 | Licensed under the Apache License, Version 2.0 (the "License"); 957 | you may not use this file except in compliance with the License. 958 | You may obtain a copy of the License at 959 | 960 | http://www.apache.org/licenses/LICENSE-2.0 961 | 962 | Unless required by applicable law or agreed to in writing, software 963 | distributed under the License is distributed on an "AS IS" BASIS, 964 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 965 | See the License for the specific language governing permissions and 966 | limitations under the License. 967 | 968 | 969 | 970 | rxjs/operators 971 | 972 | tunnel 973 | MIT 974 | The MIT License (MIT) 975 | 976 | Copyright (c) 2012 Koichi Kobayashi 977 | 978 | Permission is hereby granted, free of charge, to any person obtaining a copy 979 | of this software and associated documentation files (the "Software"), to deal 980 | in the Software without restriction, including without limitation the rights 981 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 982 | copies of the Software, and to permit persons to whom the Software is 983 | furnished to do so, subject to the following conditions: 984 | 985 | The above copyright notice and this permission notice shall be included in 986 | all copies or substantial portions of the Software. 987 | 988 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 989 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 990 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 991 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 992 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 993 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 994 | THE SOFTWARE. 995 | 996 | 997 | universal-user-agent 998 | ISC 999 | # [ISC License](https://spdx.org/licenses/ISC) 1000 | 1001 | Copyright (c) 2018, Gregor Martynus (https://github.com/gr2m) 1002 | 1003 | Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. 1004 | 1005 | THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 1006 | 1007 | 1008 | wrappy 1009 | ISC 1010 | The ISC License 1011 | 1012 | Copyright (c) Isaac Z. Schlueter and Contributors 1013 | 1014 | Permission to use, copy, modify, and/or distribute this software for any 1015 | purpose with or without fee is hereby granted, provided that the above 1016 | copyright notice and this permission notice appear in all copies. 1017 | 1018 | THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES 1019 | WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF 1020 | MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR 1021 | ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES 1022 | WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN 1023 | ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR 1024 | IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 1025 | -------------------------------------------------------------------------------- /img/flat-graph.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnymontana/flat-graph/678e508f182dccc9f67fa63c588e4b3d476609b1/img/flat-graph.png -------------------------------------------------------------------------------- /index.js: -------------------------------------------------------------------------------- 1 | const core = require("@actions/core"); 2 | const github = require("@actions/github"); 3 | const fs = require("fs"); 4 | const neo4j = require("neo4j-driver"); 5 | 6 | const NEO4J_URI = core.getInput("neo4j-uri"); 7 | const NEO4J_USER = core.getInput("neo4j-user"); 8 | const NEO4J_PASSWORD = core.getInput("neo4j-password"); 9 | const FILENAME = core.getInput("filename"); 10 | const CYPHER_QUERY = core.getInput("cypher-query"); 11 | 12 | const driver = neo4j.driver( 13 | NEO4J_URI, 14 | neo4j.auth.basic(NEO4J_USER, NEO4J_PASSWORD) 15 | ); 16 | 17 | const loadData = async () => { 18 | const session = driver.session({ defaultAccessMode: neo4j.session.WRITE }); 19 | try { 20 | const jsonData = JSON.parse(fs.readFileSync(FILENAME)); 21 | 22 | const tx = session.beginTransaction(); 23 | 24 | const result = await tx.run(CYPHER_QUERY, { value: jsonData }); 25 | result.records.forEach((record) => console.log(record)); 26 | await tx.commit(); 27 | } catch (error) { 28 | core.setFailed(error.message); 29 | } finally { 30 | await session.close(); 31 | await driver.close(); 32 | } 33 | }; 34 | 35 | loadData(); 36 | -------------------------------------------------------------------------------- /package-lock.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "flat-graph", 3 | "version": "1.0.0", 4 | "lockfileVersion": 1, 5 | "requires": true, 6 | "dependencies": { 7 | "@actions/core": { 8 | "version": "1.3.0", 9 | "resolved": "https://registry.npmjs.org/@actions/core/-/core-1.3.0.tgz", 10 | "integrity": "sha512-xxtX0Cwdhb8LcgatfJkokqT8KzPvcIbwL9xpLU09nOwBzaStbfm0dNncsP0M4us+EpoPdWy7vbzU5vSOH7K6pg==" 11 | }, 12 | "@actions/github": { 13 | "version": "5.0.0", 14 | "resolved": "https://registry.npmjs.org/@actions/github/-/github-5.0.0.tgz", 15 | "integrity": "sha512-QvE9eAAfEsS+yOOk0cylLBIO/d6WyWIOvsxxzdrPFaud39G6BOkUwScXZn1iBzQzHyu9SBkkLSWlohDWdsasAQ==", 16 | "requires": { 17 | "@actions/http-client": "^1.0.11", 18 | "@octokit/core": "^3.4.0", 19 | "@octokit/plugin-paginate-rest": "^2.13.3", 20 | "@octokit/plugin-rest-endpoint-methods": "^5.1.1" 21 | } 22 | }, 23 | "@actions/http-client": { 24 | "version": "1.0.11", 25 | "resolved": "https://registry.npmjs.org/@actions/http-client/-/http-client-1.0.11.tgz", 26 | "integrity": "sha512-VRYHGQV1rqnROJqdMvGUbY/Kn8vriQe/F9HR2AlYHzmKuM/p3kjNuXhmdBfcVgsvRWTz5C5XW5xvndZrVBuAYg==", 27 | "requires": { 28 | "tunnel": "0.0.6" 29 | } 30 | }, 31 | "@babel/runtime": { 32 | "version": "7.14.0", 33 | "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.14.0.tgz", 34 | "integrity": "sha512-JELkvo/DlpNdJ7dlyw/eY7E0suy5i5GQH+Vlxaq1nsNJ+H7f4Vtv3jMeCEgRhZZQFXTjldYfQgv2qmM6M1v5wA==", 35 | "requires": { 36 | "regenerator-runtime": "^0.13.4" 37 | } 38 | }, 39 | "@octokit/auth-token": { 40 | "version": "2.4.5", 41 | "resolved": "https://registry.npmjs.org/@octokit/auth-token/-/auth-token-2.4.5.tgz", 42 | "integrity": "sha512-BpGYsPgJt05M7/L/5FoE1PiAbdxXFZkX/3kDYcsvd1v6UhlnE5e96dTDr0ezX/EFwciQxf3cNV0loipsURU+WA==", 43 | "requires": { 44 | "@octokit/types": "^6.0.3" 45 | } 46 | }, 47 | "@octokit/core": { 48 | "version": "3.4.0", 49 | "resolved": "https://registry.npmjs.org/@octokit/core/-/core-3.4.0.tgz", 50 | "integrity": "sha512-6/vlKPP8NF17cgYXqucdshWqmMZGXkuvtcrWCgU5NOI0Pl2GjlmZyWgBMrU8zJ3v2MJlM6++CiB45VKYmhiWWg==", 51 | "requires": { 52 | "@octokit/auth-token": "^2.4.4", 53 | "@octokit/graphql": "^4.5.8", 54 | "@octokit/request": "^5.4.12", 55 | "@octokit/request-error": "^2.0.5", 56 | "@octokit/types": "^6.0.3", 57 | "before-after-hook": "^2.2.0", 58 | "universal-user-agent": "^6.0.0" 59 | } 60 | }, 61 | "@octokit/endpoint": { 62 | "version": "6.0.11", 63 | "resolved": "https://registry.npmjs.org/@octokit/endpoint/-/endpoint-6.0.11.tgz", 64 | "integrity": "sha512-fUIPpx+pZyoLW4GCs3yMnlj2LfoXTWDUVPTC4V3MUEKZm48W+XYpeWSZCv+vYF1ZABUm2CqnDVf1sFtIYrj7KQ==", 65 | "requires": { 66 | "@octokit/types": "^6.0.3", 67 | "is-plain-object": "^5.0.0", 68 | "universal-user-agent": "^6.0.0" 69 | } 70 | }, 71 | "@octokit/graphql": { 72 | "version": "4.6.2", 73 | "resolved": "https://registry.npmjs.org/@octokit/graphql/-/graphql-4.6.2.tgz", 74 | "integrity": "sha512-WmsIR1OzOr/3IqfG9JIczI8gMJUMzzyx5j0XXQ4YihHtKlQc+u35VpVoOXhlKAlaBntvry1WpAzPl/a+s3n89Q==", 75 | "requires": { 76 | "@octokit/request": "^5.3.0", 77 | "@octokit/types": "^6.0.3", 78 | "universal-user-agent": "^6.0.0" 79 | } 80 | }, 81 | "@octokit/openapi-types": { 82 | "version": "7.2.3", 83 | "resolved": "https://registry.npmjs.org/@octokit/openapi-types/-/openapi-types-7.2.3.tgz", 84 | "integrity": "sha512-V1ycxkR19jqbIl3evf2RQiMRBvTNRi+Iy9h20G5OP5dPfEF6GJ1DPlUeiZRxo2HJxRr+UA4i0H1nn4btBDPFrw==" 85 | }, 86 | "@octokit/plugin-paginate-rest": { 87 | "version": "2.13.3", 88 | "resolved": "https://registry.npmjs.org/@octokit/plugin-paginate-rest/-/plugin-paginate-rest-2.13.3.tgz", 89 | "integrity": "sha512-46lptzM9lTeSmIBt/sVP/FLSTPGx6DCzAdSX3PfeJ3mTf4h9sGC26WpaQzMEq/Z44cOcmx8VsOhO+uEgE3cjYg==", 90 | "requires": { 91 | "@octokit/types": "^6.11.0" 92 | } 93 | }, 94 | "@octokit/plugin-rest-endpoint-methods": { 95 | "version": "5.3.1", 96 | "resolved": "https://registry.npmjs.org/@octokit/plugin-rest-endpoint-methods/-/plugin-rest-endpoint-methods-5.3.1.tgz", 97 | "integrity": "sha512-3B2iguGmkh6bQQaVOtCsS0gixrz8Lg0v4JuXPqBcFqLKuJtxAUf3K88RxMEf/naDOI73spD+goJ/o7Ie7Cvdjg==", 98 | "requires": { 99 | "@octokit/types": "^6.16.2", 100 | "deprecation": "^2.3.1" 101 | } 102 | }, 103 | "@octokit/request": { 104 | "version": "5.4.15", 105 | "resolved": "https://registry.npmjs.org/@octokit/request/-/request-5.4.15.tgz", 106 | "integrity": "sha512-6UnZfZzLwNhdLRreOtTkT9n57ZwulCve8q3IT/Z477vThu6snfdkBuhxnChpOKNGxcQ71ow561Qoa6uqLdPtag==", 107 | "requires": { 108 | "@octokit/endpoint": "^6.0.1", 109 | "@octokit/request-error": "^2.0.0", 110 | "@octokit/types": "^6.7.1", 111 | "is-plain-object": "^5.0.0", 112 | "node-fetch": "^2.6.1", 113 | "universal-user-agent": "^6.0.0" 114 | } 115 | }, 116 | "@octokit/request-error": { 117 | "version": "2.0.5", 118 | "resolved": "https://registry.npmjs.org/@octokit/request-error/-/request-error-2.0.5.tgz", 119 | "integrity": "sha512-T/2wcCFyM7SkXzNoyVNWjyVlUwBvW3igM3Btr/eKYiPmucXTtkxt2RBsf6gn3LTzaLSLTQtNmvg+dGsOxQrjZg==", 120 | "requires": { 121 | "@octokit/types": "^6.0.3", 122 | "deprecation": "^2.0.0", 123 | "once": "^1.4.0" 124 | } 125 | }, 126 | "@octokit/types": { 127 | "version": "6.16.2", 128 | "resolved": "https://registry.npmjs.org/@octokit/types/-/types-6.16.2.tgz", 129 | "integrity": "sha512-wWPSynU4oLy3i4KGyk+J1BLwRKyoeW2TwRHgwbDz17WtVFzSK2GOErGliruIx8c+MaYtHSYTx36DSmLNoNbtgA==", 130 | "requires": { 131 | "@octokit/openapi-types": "^7.2.3" 132 | } 133 | }, 134 | "before-after-hook": { 135 | "version": "2.2.1", 136 | "resolved": "https://registry.npmjs.org/before-after-hook/-/before-after-hook-2.2.1.tgz", 137 | "integrity": "sha512-/6FKxSTWoJdbsLDF8tdIjaRiFXiE6UHsEHE3OPI/cwPURCVi1ukP0gmLn7XWEiFk5TcwQjjY5PWsU+j+tgXgmw==" 138 | }, 139 | "deprecation": { 140 | "version": "2.3.1", 141 | "resolved": "https://registry.npmjs.org/deprecation/-/deprecation-2.3.1.tgz", 142 | "integrity": "sha512-xmHIy4F3scKVwMsQ4WnVaS8bHOx0DmVwRywosKhaILI0ywMDWPtBSku2HNxRvF7jtwDRsoEwYQSfbxj8b7RlJQ==" 143 | }, 144 | "is-plain-object": { 145 | "version": "5.0.0", 146 | "resolved": "https://registry.npmjs.org/is-plain-object/-/is-plain-object-5.0.0.tgz", 147 | "integrity": "sha512-VRSzKkbMm5jMDoKLbltAkFQ5Qr7VDiTFGXxYFXXowVj387GeGNOCsOH6Msy00SGZ3Fp84b1Naa1psqgcCIEP5Q==" 148 | }, 149 | "neo4j-driver": { 150 | "version": "4.3.0", 151 | "resolved": "https://registry.npmjs.org/neo4j-driver/-/neo4j-driver-4.3.0.tgz", 152 | "integrity": "sha512-vG+KsKQXTAIwhspMQw4pFVJ+Mr8XrBC2vPw19C+WVUR2qx5w+zynB2WxOyFI+9oxya9B5xCWxgQ4I5KyMDtElw==", 153 | "requires": { 154 | "@babel/runtime": "^7.5.5", 155 | "neo4j-driver-bolt-connection": "^4.3.0", 156 | "neo4j-driver-core": "^4.3.0", 157 | "rxjs": "^6.6.3" 158 | } 159 | }, 160 | "neo4j-driver-bolt-connection": { 161 | "version": "4.3.0", 162 | "resolved": "https://registry.npmjs.org/neo4j-driver-bolt-connection/-/neo4j-driver-bolt-connection-4.3.0.tgz", 163 | "integrity": "sha512-MTzixvHoZNmYbWgUeggXFUhgetr5BlVZ9hY5pWCnkttoTwS21D/ygs+oDyn3tJKvNd8INRsrwKh4dG3izvp2Xg==", 164 | "requires": { 165 | "neo4j-driver-core": "^4.3.0", 166 | "text-encoding-utf-8": "^1.0.2" 167 | } 168 | }, 169 | "neo4j-driver-core": { 170 | "version": "4.3.0", 171 | "resolved": "https://registry.npmjs.org/neo4j-driver-core/-/neo4j-driver-core-4.3.0.tgz", 172 | "integrity": "sha512-XJULrmfeTtDKonchufDqTpf5qQ93RI5vbyOxZ/S4VospfKGeWsl6KmwXvp3fY1nCKWTny/Ekm4hw1vod2XyZEA==" 173 | }, 174 | "node-fetch": { 175 | "version": "2.6.1", 176 | "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.1.tgz", 177 | "integrity": "sha512-V4aYg89jEoVRxRb2fJdAg8FHvI7cEyYdVAh94HH0UIK8oJxUfkjlDQN9RbMx+bEjP7+ggMiFRprSti032Oipxw==" 178 | }, 179 | "once": { 180 | "version": "1.4.0", 181 | "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", 182 | "integrity": "sha1-WDsap3WWHUsROsF9nFC6753Xa9E=", 183 | "requires": { 184 | "wrappy": "1" 185 | } 186 | }, 187 | "regenerator-runtime": { 188 | "version": "0.13.7", 189 | "resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.13.7.tgz", 190 | "integrity": "sha512-a54FxoJDIr27pgf7IgeQGxmqUNYrcV338lf/6gH456HZ/PhX+5BcwHXG9ajESmwe6WRO0tAzRUrRmNONWgkrew==" 191 | }, 192 | "rxjs": { 193 | "version": "6.6.7", 194 | "resolved": "https://registry.npmjs.org/rxjs/-/rxjs-6.6.7.tgz", 195 | "integrity": "sha512-hTdwr+7yYNIT5n4AMYp85KA6yw2Va0FLa3Rguvbpa4W3I5xynaBZo41cM3XM+4Q6fRMj3sBYIR1VAmZMXYJvRQ==", 196 | "requires": { 197 | "tslib": "^1.9.0" 198 | } 199 | }, 200 | "text-encoding-utf-8": { 201 | "version": "1.0.2", 202 | "resolved": "https://registry.npmjs.org/text-encoding-utf-8/-/text-encoding-utf-8-1.0.2.tgz", 203 | "integrity": "sha512-8bw4MY9WjdsD2aMtO0OzOCY3pXGYNx2d2FfHRVUKkiCPDWjKuOlhLVASS+pD7VkLTVjW268LYJHwsnPFlBpbAg==" 204 | }, 205 | "tslib": { 206 | "version": "1.14.1", 207 | "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz", 208 | "integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==" 209 | }, 210 | "tunnel": { 211 | "version": "0.0.6", 212 | "resolved": "https://registry.npmjs.org/tunnel/-/tunnel-0.0.6.tgz", 213 | "integrity": "sha512-1h/Lnq9yajKY2PEbBadPXj3VxsDDu844OnaAo52UVmIzIvwwtBPIuNvkjuzBlTWpfJyUbG3ez0KSBibQkj4ojg==" 214 | }, 215 | "universal-user-agent": { 216 | "version": "6.0.0", 217 | "resolved": "https://registry.npmjs.org/universal-user-agent/-/universal-user-agent-6.0.0.tgz", 218 | "integrity": "sha512-isyNax3wXoKaulPDZWHQqbmIx1k2tb9fb3GGDBRxCscfYV2Ch7WxPArBsFEG8s/safwXTT7H4QGhaIkTp9447w==" 219 | }, 220 | "wrappy": { 221 | "version": "1.0.2", 222 | "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", 223 | "integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8=" 224 | } 225 | } 226 | } 227 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "flat-graph", 3 | "version": "1.0.0", 4 | "description": "", 5 | "main": "index.js", 6 | "scripts": { 7 | "test": "echo \"Error: no test specified\" && exit 1", 8 | "build": "ncc build index.js --license licenses.txt" 9 | }, 10 | "repository": { 11 | "type": "git", 12 | "url": "git+https://github.com/johnymontana/flat-graph.git" 13 | }, 14 | "keywords": [], 15 | "author": "", 16 | "license": "ISC", 17 | "bugs": { 18 | "url": "https://github.com/johnymontana/flat-graph/issues" 19 | }, 20 | "homepage": "https://github.com/johnymontana/flat-graph#readme", 21 | "dependencies": { 22 | "@actions/core": "^1.3.0", 23 | "@actions/github": "^5.0.0", 24 | "neo4j-driver": "^4.3.0" 25 | } 26 | } 27 | --------------------------------------------------------------------------------